Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-28 23:59:03.657126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-28 23:59:12.798870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_19_2658.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_23_3542.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_26_2617.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_28_2648.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_32_3684.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_35_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_19_2658.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_23_3542.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_26_2617.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_28_2648.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_32_3684.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_35_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396778352","1396778433","1396778307","1396778270","1396778389","1396778230"],"photo_ids_order":["1396778230","1396778270","1396778307","1396778352","1396778389","1396778433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78b6df4dbeef23172fbfa523005f2561.jpg","text":"TemporaryFile(/tmp/multipartBody4066089746135666899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370817163,"filename":"image_25112025_16_57_28_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ebeb297d441f59ba34fa4ee5e93dc47.jpg","text":"TemporaryFile(/tmp/multipartBody909691076777781670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370817163,"filename":"image_25112025_16_57_35_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9086569ea46272bde626ac11e285b7cc.jpg","text":"TemporaryFile(/tmp/multipartBody6206613053200450238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370817163,"filename":"image_25112025_16_57_26_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a3064349896c4dd805b05c9ea1e9ade.jpg","text":"TemporaryFile(/tmp/multipartBody1031968215793384784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370817163,"filename":"image_25112025_16_57_23_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2322091ed6ce777837added4fe72fc1.jpg","text":"TemporaryFile(/tmp/multipartBody7623924588810088785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370817163,"filename":"image_25112025_16_57_32_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adc9f612ea12ae7505915a9b8fdd1bac.jpg","text":"TemporaryFile(/tmp/multipartBody2336481451509235129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370817163,"filename":"image_25112025_16_57_19_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396778307","file1":"1396778270","file0":"1396778230","file4":"1396778389","file5":"1396778433","file3":"1396778352"},"map_files_photo_id_array":[{"photo_id":"1396778433","filename":"file5"},{"photo_id":"1396778307","filename":"file2"},{"photo_id":"1396778389","filename":"file4"},{"photo_id":"1396778270","filename":"file1"},{"photo_id":"1396778230","filename":"file0"},{"photo_id":"1396778352","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396778352":["hashtag1","hashtag2"]},{"1396778433":["hashtag1","hashtag2"]},{"1396778307":["hashtag1","hashtag2"]},{"1396778270":["hashtag1","hashtag2"]},{"1396778389":["hashtag1","hashtag2"]},{"1396778230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396778352, 1396778433, 1396778307, 1396778270, 1396778389, 1396778230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.45179510116577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:00:02.192167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_37_2600.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_41_3712.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_44_2646.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_46_2757.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_50_3489.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_52_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_37_2600.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_41_3712.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_44_2646.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_46_2757.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_50_3489.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_52_2519.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.553889274597168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:00:11.816968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_37_2600.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_41_3712.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_44_2646.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_46_2757.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_50_3489.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_52_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_37_2600.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_41_3712.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_44_2646.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_46_2757.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_50_3489.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_52_2519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396778874","1396778844","1396778733","1396778774","1396778810","1396778695"],"photo_ids_order":["1396778695","1396778733","1396778774","1396778810","1396778844","1396778874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3b4049bd72216721960ceafa0ef7197.jpg","text":"TemporaryFile(/tmp/multipartBody1877700864817561592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370873857,"filename":"image_25112025_16_57_52_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3123f5fbf0e2be6ec0131cd3fb2d8f3f.jpg","text":"TemporaryFile(/tmp/multipartBody970940861439372611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370873857,"filename":"image_25112025_16_57_50_3489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fefb7c25fe8b9481b606157a4354b3fc.jpg","text":"TemporaryFile(/tmp/multipartBody1046531358514694000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370873857,"filename":"image_25112025_16_57_41_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78abf70cbb1f73af85493fa428408250.jpg","text":"TemporaryFile(/tmp/multipartBody7912186727368427368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370873857,"filename":"image_25112025_16_57_44_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c43b8458c51ffbedcfefc5e3b9d825ec.jpg","text":"TemporaryFile(/tmp/multipartBody4405535939858101258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370873857,"filename":"image_25112025_16_57_46_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea9a0d31f12e267764935e1e2b50fb65.jpg","text":"TemporaryFile(/tmp/multipartBody8650170735440018585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370873857,"filename":"image_25112025_16_57_37_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396778774","file1":"1396778733","file0":"1396778695","file4":"1396778844","file5":"1396778874","file3":"1396778810"},"map_files_photo_id_array":[{"photo_id":"1396778874","filename":"file5"},{"photo_id":"1396778774","filename":"file2"},{"photo_id":"1396778844","filename":"file4"},{"photo_id":"1396778733","filename":"file1"},{"photo_id":"1396778695","filename":"file0"},{"photo_id":"1396778810","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396778874":["hashtag1","hashtag2"]},{"1396778844":["hashtag1","hashtag2"]},{"1396778733":["hashtag1","hashtag2"]},{"1396778774":["hashtag1","hashtag2"]},{"1396778810":["hashtag1","hashtag2"]},{"1396778695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396778874, 1396778844, 1396778733, 1396778774, 1396778810, 1396778695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16053509712219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:01:02.653098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_56_3772.jpg', '/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_59_2644.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_01_2703.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_04_2723.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_08_3608.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_10_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_56_3772.jpg
/home/pi/Desktop/images/25112025/16/57/image_25112025_16_57_59_2644.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_01_2703.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_04_2723.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_08_3608.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_10_2747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396778928","1396779047","1396778966","1396779139","1396779001","1396779231"],"photo_ids_order":["1396778928","1396778966","1396779001","1396779047","1396779139","1396779231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd04354457f410665b684868e542e584.jpg","text":"TemporaryFile(/tmp/multipartBody6131871928831099657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370924358,"filename":"image_25112025_16_57_56_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9aa46528f4e8f0be757890ecdb952cac.jpg","text":"TemporaryFile(/tmp/multipartBody1417772852586410375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370924358,"filename":"image_25112025_16_58_04_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b419481ee56794e5a3682a432fc8c651.jpg","text":"TemporaryFile(/tmp/multipartBody1383012824226353402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370924358,"filename":"image_25112025_16_57_59_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27705e332a156bee5f816cffbe7dd9fa.jpg","text":"TemporaryFile(/tmp/multipartBody7270420059398210790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370924358,"filename":"image_25112025_16_58_08_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa7d435e29cd62d83ec4c7d9b932760e.jpg","text":"TemporaryFile(/tmp/multipartBody7011699527351638791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370924358,"filename":"image_25112025_16_58_01_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8bfa867eb7c3e376049ca0d527fc53b7.jpg","text":"TemporaryFile(/tmp/multipartBody1847308022784372181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370924358,"filename":"image_25112025_16_58_10_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396779001","file1":"1396778966","file0":"1396778928","file4":"1396779139","file5":"1396779231","file3":"1396779047"},"map_files_photo_id_array":[{"photo_id":"1396779231","filename":"file5"},{"photo_id":"1396779001","filename":"file2"},{"photo_id":"1396779139","filename":"file4"},{"photo_id":"1396778966","filename":"file1"},{"photo_id":"1396778928","filename":"file0"},{"photo_id":"1396779047","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396778928":["hashtag1","hashtag2"]},{"1396779047":["hashtag1","hashtag2"]},{"1396778966":["hashtag1","hashtag2"]},{"1396779139":["hashtag1","hashtag2"]},{"1396779001":["hashtag1","hashtag2"]},{"1396779231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396778928, 1396779047, 1396778966, 1396779139, 1396779001, 1396779231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.888651847839355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:02:02.621624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_13_2649.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_17_3586.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_19_2652.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_22_2716.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_26_3704.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_28_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_13_2649.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_17_3586.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_19_2652.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_22_2716.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_26_3704.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_28_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396780050","1396780458","1396780199","1396780286","1396780130","1396780387"],"photo_ids_order":["1396780050","1396780130","1396780199","1396780286","1396780387","1396780458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c57c2b4c6ef6283d863df7cf529078b5.jpg","text":"TemporaryFile(/tmp/multipartBody4204175379848646977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370984347,"filename":"image_25112025_16_58_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/11/29/be8f71e43516cb9bcf0a56784030ae21.jpg","text":"TemporaryFile(/tmp/multipartBody6457407520874563295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370984347,"filename":"image_25112025_16_58_28_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9765504c11dd870859f0ac2f3c118ad1.jpg","text":"TemporaryFile(/tmp/multipartBody1730361803388594626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370984347,"filename":"image_25112025_16_58_19_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98a64b795c354da22f372ae23b7d0633.jpg","text":"TemporaryFile(/tmp/multipartBody8916201798509039607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370984347,"filename":"image_25112025_16_58_22_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c76dfb54a797987328cbfc5c11ddb3d9.jpg","text":"TemporaryFile(/tmp/multipartBody2662928129550962346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370984347,"filename":"image_25112025_16_58_17_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4951fdf951d82f37b1d456515a6706da.jpg","text":"TemporaryFile(/tmp/multipartBody8563426747125470195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764370984347,"filename":"image_25112025_16_58_26_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396780199","file1":"1396780130","file0":"1396780050","file4":"1396780387","file5":"1396780458","file3":"1396780286"},"map_files_photo_id_array":[{"photo_id":"1396780458","filename":"file5"},{"photo_id":"1396780199","filename":"file2"},{"photo_id":"1396780387","filename":"file4"},{"photo_id":"1396780130","filename":"file1"},{"photo_id":"1396780050","filename":"file0"},{"photo_id":"1396780286","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396780050":["hashtag1","hashtag2"]},{"1396780458":["hashtag1","hashtag2"]},{"1396780199":["hashtag1","hashtag2"]},{"1396780286":["hashtag1","hashtag2"]},{"1396780130":["hashtag1","hashtag2"]},{"1396780387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396780050, 1396780458, 1396780199, 1396780286, 1396780130, 1396780387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13845682144165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:02:42.130140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_28_2731.jpg', '/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_31_2707.jpg', '/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_34_2567.jpg', '/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_37_3663.jpg', '/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_40_2793.jpg', '/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_43_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/08/10/image_31102025_08_10_28_2731.jpg
/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_31_2707.jpg
/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_34_2567.jpg
/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_37_3663.jpg
/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_40_2793.jpg
/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_43_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":["1396781087","1396780982","1396781194","1396780828","1396780899","1396780761"],"photo_ids_order":["1396780761","1396780828","1396780899","1396780982","1396781087","1396781194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24807062aa46a91703dd620a77fee0da.jpg","text":"TemporaryFile(/tmp/multipartBody115594507517973374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371023281,"filename":"image_31102025_08_10_40_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3dc3019d3d066eb4b6890751a35ce6d7.jpg","text":"TemporaryFile(/tmp/multipartBody6951263769999522717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371023281,"filename":"image_31102025_08_10_37_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6cd54091a8bdd7371babea771639f7f.jpg","text":"TemporaryFile(/tmp/multipartBody8555359134862286721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371023281,"filename":"image_31102025_08_10_43_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47c2d7b4a96fe03412aadbf093d60d06.jpg","text":"TemporaryFile(/tmp/multipartBody4846328421211155787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371023281,"filename":"image_31102025_08_10_31_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7196d20f3e3af87af1d0f89e980092b.jpg","text":"TemporaryFile(/tmp/multipartBody2355561774678404544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371023281,"filename":"image_31102025_08_10_34_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf30e190b9f0bfdbf1c58f67b517fc56.jpg","text":"TemporaryFile(/tmp/multipartBody5240563136145552284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371023281,"filename":"image_31102025_08_10_28_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396780899","file1":"1396780828","file0":"1396780761","file4":"1396781087","file5":"1396781194","file3":"1396780982"},"map_files_photo_id_array":[{"photo_id":"1396781194","filename":"file5"},{"photo_id":"1396780899","filename":"file2"},{"photo_id":"1396781087","filename":"file4"},{"photo_id":"1396780828","filename":"file1"},{"photo_id":"1396780761","filename":"file0"},{"photo_id":"1396780982","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396781087":["hashtag1","hashtag2"]},{"1396780982":["hashtag1","hashtag2"]},{"1396781194":["hashtag1","hashtag2"]},{"1396780828":["hashtag1","hashtag2"]},{"1396780899":["hashtag1","hashtag2"]},{"1396780761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396781087, 1396780982, 1396781194, 1396780828, 1396780899, 1396780761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53860354423523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:03:22.298643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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_29112025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29016624, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1764371062000}
4219
4139382
4219
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/28112025/23/59/image_29112025_00_00_04_9702.jpg', '/home/pi/Desktop/images/29112025/00/02/image_29112025_00_02_25_10857.jpg', '/home/pi/Desktop/images/29112025/00/02/image_29112025_00_02_54_9731.jpg', '/home/pi/Desktop/images/29112025/00/03/image_29112025_00_03_14_9835.jpg', '/home/pi/Desktop/images/29112025/00/03/image_29112025_00_03_24_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/28112025/23/59/image_29112025_00_00_04_9702.jpg
/home/pi/Desktop/images/29112025/00/02/image_29112025_00_02_25_10857.jpg
/home/pi/Desktop/images/29112025/00/02/image_29112025_00_02_54_9731.jpg
/home/pi/Desktop/images/29112025/00/03/image_29112025_00_03_14_9835.jpg
/home/pi/Desktop/images/29112025/00/03/image_29112025_00_03_24_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":["1396781603","1396781752","1396781674","1396781713","1396781787"],"photo_ids_order":["1396781603","1396781674","1396781713","1396781752","1396781787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac62a37091ce3d6c2c68f41052ab5721.jpg","text":"TemporaryFile(/tmp/multipartBody7528572538489026070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371064008,"filename":"image_29112025_00_00_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/11/29/a40f4c227ac9802cacd2720842dcd147.jpg","text":"TemporaryFile(/tmp/multipartBody1239388275363656979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371064008,"filename":"image_29112025_00_03_14_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05f6d5b6caaa8008dc781b8ffcbbc884.jpg","text":"TemporaryFile(/tmp/multipartBody2704605446433512603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371064008,"filename":"image_29112025_00_02_25_10857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53ecd2db5e709d52eb6007e8b7a02af1.jpg","text":"TemporaryFile(/tmp/multipartBody7134970581393119149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371064008,"filename":"image_29112025_00_02_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/11/29/a4239c31ea9d93284c89c415e99e599f.jpg","text":"TemporaryFile(/tmp/multipartBody2653424737802147762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371064008,"filename":"image_29112025_00_03_24_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396781713","file1":"1396781674","file0":"1396781603","file4":"1396781787","file3":"1396781752"},"map_files_photo_id_array":[{"photo_id":"1396781713","filename":"file2"},{"photo_id":"1396781787","filename":"file4"},{"photo_id":"1396781674","filename":"file1"},{"photo_id":"1396781603","filename":"file0"},{"photo_id":"1396781752","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396781603":["hashtag1","hashtag2"]},{"1396781752":["hashtag1","hashtag2"]},{"1396781674":["hashtag1","hashtag2"]},{"1396781713":["hashtag1","hashtag2"]},{"1396781787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396781603, 1396781752, 1396781674, 1396781713, 1396781787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.398040533065796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:04:03.406342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_31_2591.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_35_3910.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_38_2605.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_40_2681.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_44_3533.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_47_2740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_31_2591.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_35_3910.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_38_2605.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_40_2681.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_44_3533.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_47_2740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396782359","1396782218","1396782125","1396782286","1396782390","1396782392"],"photo_ids_order":["1396782125","1396782218","1396782286","1396782359","1396782390","1396782392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1d246aa737c0020373d46313543e62c.jpg","text":"TemporaryFile(/tmp/multipartBody1668802200146277466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371106460,"filename":"image_25112025_16_58_40_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/770d8bec8a085c638d2d3dff3142a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody781311414056933559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371106460,"filename":"image_25112025_16_58_35_3910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/142f4b85159e20b2d06b80c8586937ed.jpg","text":"TemporaryFile(/tmp/multipartBody8676154925229744596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371106460,"filename":"image_25112025_16_58_31_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bca6ba4e6411810e0ba267e922f3b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5688258716099473469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371106460,"filename":"image_25112025_16_58_38_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2567ef743446d7587031dd4bc6f7ddb.jpg","text":"TemporaryFile(/tmp/multipartBody3594116737249335734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371106460,"filename":"image_25112025_16_58_44_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3734c0053bc39a31b5ea2aea5774d0ca.jpg","text":"TemporaryFile(/tmp/multipartBody571685064087051126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371106460,"filename":"image_25112025_16_58_47_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396782286","file1":"1396782218","file0":"1396782125","file4":"1396782390","file5":"1396782392","file3":"1396782359"},"map_files_photo_id_array":[{"photo_id":"1396782392","filename":"file5"},{"photo_id":"1396782286","filename":"file2"},{"photo_id":"1396782390","filename":"file4"},{"photo_id":"1396782218","filename":"file1"},{"photo_id":"1396782125","filename":"file0"},{"photo_id":"1396782359","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396782359":["hashtag1","hashtag2"]},{"1396782218":["hashtag1","hashtag2"]},{"1396782125":["hashtag1","hashtag2"]},{"1396782286":["hashtag1","hashtag2"]},{"1396782390":["hashtag1","hashtag2"]},{"1396782392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396782359, 1396782218, 1396782125, 1396782286, 1396782390, 1396782392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34789443016052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:04:42.736605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_46_3630.jpg', '/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_49_2661.jpg', '/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_52_2716.jpg', '/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_56_3803.jpg', '/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_58_2635.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_01_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/08/10/image_31102025_08_10_46_3630.jpg
/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_49_2661.jpg
/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_52_2716.jpg
/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_56_3803.jpg
/home/pi/Desktop/images/31102025/08/10/image_31102025_08_10_58_2635.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_01_2571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396782685","1396782598","1396782724","1396782651","1396782513","1396782470"],"photo_ids_order":["1396782470","1396782513","1396782598","1396782651","1396782685","1396782724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81a0d9f004cbf9c1adc3cd01e50af2d2.jpg","text":"TemporaryFile(/tmp/multipartBody5691208047181687246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371143932,"filename":"image_31102025_08_10_58_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3562e2cf094f0e37bb4b1321c11c8594.jpg","text":"TemporaryFile(/tmp/multipartBody4441349073414583341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371143932,"filename":"image_31102025_08_10_52_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c53963b5cba55685a9889e03c61fbaeb.jpg","text":"TemporaryFile(/tmp/multipartBody2425926535376842511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371143932,"filename":"image_31102025_08_11_01_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce9d919bb369cb0d0bf7a51d65c06c1a.jpg","text":"TemporaryFile(/tmp/multipartBody6198324875335060315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371143932,"filename":"image_31102025_08_10_56_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b993b8c0bec7d95207d36b8078ab3f4.jpg","text":"TemporaryFile(/tmp/multipartBody1638779331538323512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371143932,"filename":"image_31102025_08_10_49_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70a7b9d8e1c8cdb211eda994cbc99fef.jpg","text":"TemporaryFile(/tmp/multipartBody5528357899178754972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371143932,"filename":"image_31102025_08_10_46_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396782598","file1":"1396782513","file0":"1396782470","file4":"1396782685","file5":"1396782724","file3":"1396782651"},"map_files_photo_id_array":[{"photo_id":"1396782724","filename":"file5"},{"photo_id":"1396782598","filename":"file2"},{"photo_id":"1396782685","filename":"file4"},{"photo_id":"1396782513","filename":"file1"},{"photo_id":"1396782470","filename":"file0"},{"photo_id":"1396782651","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396782685":["hashtag1","hashtag2"]},{"1396782598":["hashtag1","hashtag2"]},{"1396782724":["hashtag1","hashtag2"]},{"1396782651":["hashtag1","hashtag2"]},{"1396782513":["hashtag1","hashtag2"]},{"1396782470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396782685, 1396782598, 1396782724, 1396782651, 1396782513, 1396782470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77411413192749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:05:21.883102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/03/image_29112025_00_03_54_9844.jpg', '/home/pi/Desktop/images/29112025/00/04/image_29112025_00_04_14_10572.jpg', '/home/pi/Desktop/images/29112025/00/04/image_29112025_00_04_34_9803.jpg', '/home/pi/Desktop/images/29112025/00/04/image_29112025_00_04_44_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/03/image_29112025_00_03_54_9844.jpg
/home/pi/Desktop/images/29112025/00/04/image_29112025_00_04_14_10572.jpg
/home/pi/Desktop/images/29112025/00/04/image_29112025_00_04_34_9803.jpg
/home/pi/Desktop/images/29112025/00/04/image_29112025_00_04_44_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396782847","1396782802","1396782808","1396782858"],"photo_ids_order":["1396782802","1396782808","1396782847","1396782858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bef9e82d4c2625119212ae87304708e.jpg","text":"TemporaryFile(/tmp/multipartBody6353421219760400304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371182597,"filename":"image_29112025_00_04_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/11/29/1a8b63d9ee9bfc15f52f2fb1384c2cfc.jpg","text":"TemporaryFile(/tmp/multipartBody6858189027723329277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371182597,"filename":"image_29112025_00_03_54_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be5270c5ced11a5252d25a722bd17879.jpg","text":"TemporaryFile(/tmp/multipartBody7336009041563558802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371182597,"filename":"image_29112025_00_04_14_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30d4f62f0f96f9a41fd137ecdb97f32d.jpg","text":"TemporaryFile(/tmp/multipartBody6340211827928992658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371182597,"filename":"image_29112025_00_04_44_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396782847","file1":"1396782808","file0":"1396782802","file3":"1396782858"},"map_files_photo_id_array":[{"photo_id":"1396782847","filename":"file2"},{"photo_id":"1396782808","filename":"file1"},{"photo_id":"1396782802","filename":"file0"},{"photo_id":"1396782858","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396782847":["hashtag1","hashtag2"]},{"1396782802":["hashtag1","hashtag2"]},{"1396782808":["hashtag1","hashtag2"]},{"1396782858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396782847, 1396782802, 1396782808, 1396782858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.21744966506958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:06:02.668087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_49_2553.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_53_3663.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_55_2641.jpg', '/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_58_2607.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_02_3838.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_05_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_49_2553.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_53_3663.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_55_2641.jpg
/home/pi/Desktop/images/25112025/16/58/image_25112025_16_58_58_2607.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_02_3838.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_05_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396782917","1396782914","1396782922","1396782916","1396782919","1396782912"],"photo_ids_order":["1396782912","1396782914","1396782916","1396782917","1396782919","1396782922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c04c13f5e51c6dbedb6281c9075c084f.jpg","text":"TemporaryFile(/tmp/multipartBody3081547915912455898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371224317,"filename":"image_25112025_16_58_58_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da0d4eed212dfab58b0cc0ce74aa46b6.jpg","text":"TemporaryFile(/tmp/multipartBody6276280116519495637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371224317,"filename":"image_25112025_16_58_53_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18851b15e9f7495ae158b228df88a63d.jpg","text":"TemporaryFile(/tmp/multipartBody6545229830092965151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371224317,"filename":"image_25112025_16_59_05_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bfd20d7a0d7f84043d2e1bc94436be35.jpg","text":"TemporaryFile(/tmp/multipartBody2757034044023314328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371224317,"filename":"image_25112025_16_58_55_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7174cd56caadc1cb091fc5c83befee95.jpg","text":"TemporaryFile(/tmp/multipartBody6073973451976182264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371224317,"filename":"image_25112025_16_59_02_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/613b414b9b31bcc5df7715e8ee79a5f0.jpg","text":"TemporaryFile(/tmp/multipartBody7211981728367686117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371224317,"filename":"image_25112025_16_58_49_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396782916","file1":"1396782914","file0":"1396782912","file4":"1396782919","file5":"1396782922","file3":"1396782917"},"map_files_photo_id_array":[{"photo_id":"1396782922","filename":"file5"},{"photo_id":"1396782916","filename":"file2"},{"photo_id":"1396782919","filename":"file4"},{"photo_id":"1396782914","filename":"file1"},{"photo_id":"1396782912","filename":"file0"},{"photo_id":"1396782917","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396782917":["hashtag1","hashtag2"]},{"1396782914":["hashtag1","hashtag2"]},{"1396782922":["hashtag1","hashtag2"]},{"1396782916":["hashtag1","hashtag2"]},{"1396782919":["hashtag1","hashtag2"]},{"1396782912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396782917, 1396782914, 1396782922, 1396782916, 1396782919, 1396782912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.499377489089966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:06:42.303378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_04_2835.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_07_3788.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_10_2718.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_13_2672.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_16_2951.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_19_3388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_04_2835.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_07_3788.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_10_2718.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_13_2672.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_16_2951.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_19_3388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396782941","1396782935","1396782940","1396782937","1396782939","1396782933"],"photo_ids_order":["1396782933","1396782935","1396782937","1396782939","1396782940","1396782941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dccac8a231d585e15b70df4c41ad6893.jpg","text":"TemporaryFile(/tmp/multipartBody564610564233052504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371263405,"filename":"image_31102025_08_11_19_3388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3bf81250426b87610574ad02fc19cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6316964115357994702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371263405,"filename":"image_31102025_08_11_07_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90e0365adafded22ed02784e8a3d481f.jpg","text":"TemporaryFile(/tmp/multipartBody185939989476967816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371263405,"filename":"image_31102025_08_11_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/11/29/391e84dcdce9c60ff79928113acdf027.jpg","text":"TemporaryFile(/tmp/multipartBody3119938551889838802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371263405,"filename":"image_31102025_08_11_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/11/29/ea1120a7a009bb8567cb2e20f720fd8c.jpg","text":"TemporaryFile(/tmp/multipartBody8327604322628706756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371263405,"filename":"image_31102025_08_11_13_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9eb7432f79899d61b2bd84da0c2e174.jpg","text":"TemporaryFile(/tmp/multipartBody8090244737980137066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371263405,"filename":"image_31102025_08_11_04_2835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396782937","file1":"1396782935","file0":"1396782933","file4":"1396782940","file5":"1396782941","file3":"1396782939"},"map_files_photo_id_array":[{"photo_id":"1396782941","filename":"file5"},{"photo_id":"1396782937","filename":"file2"},{"photo_id":"1396782940","filename":"file4"},{"photo_id":"1396782935","filename":"file1"},{"photo_id":"1396782933","filename":"file0"},{"photo_id":"1396782939","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396782941":["hashtag1","hashtag2"]},{"1396782935":["hashtag1","hashtag2"]},{"1396782940":["hashtag1","hashtag2"]},{"1396782937":["hashtag1","hashtag2"]},{"1396782939":["hashtag1","hashtag2"]},{"1396782933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396782941, 1396782935, 1396782940, 1396782937, 1396782939, 1396782933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34817337989807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:07:22.470553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/05/image_29112025_00_05_24_9611.jpg', '/home/pi/Desktop/images/29112025/00/06/image_29112025_00_06_14_9753.jpg', '/home/pi/Desktop/images/29112025/00/06/image_29112025_00_06_25_10867.jpg', '/home/pi/Desktop/images/29112025/00/06/image_29112025_00_06_35_10004.jpg', '/home/pi/Desktop/images/29112025/00/06/image_29112025_00_07_05_10669.jpg', '/home/pi/Desktop/images/29112025/00/07/image_29112025_00_07_14_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/05/image_29112025_00_05_24_9611.jpg
/home/pi/Desktop/images/29112025/00/06/image_29112025_00_06_14_9753.jpg
/home/pi/Desktop/images/29112025/00/06/image_29112025_00_06_25_10867.jpg
/home/pi/Desktop/images/29112025/00/06/image_29112025_00_06_35_10004.jpg
/home/pi/Desktop/images/29112025/00/06/image_29112025_00_07_05_10669.jpg
/home/pi/Desktop/images/29112025/00/07/image_29112025_00_07_14_9540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783103","1396783138","1396783105","1396783074","1396783101","1396783163"],"photo_ids_order":["1396783074","1396783101","1396783103","1396783105","1396783138","1396783163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f879056db572a1abef0cd9433fb7aa0.jpg","text":"TemporaryFile(/tmp/multipartBody3243726134347386580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371303253,"filename":"image_29112025_00_06_25_10867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/557d8dde84648156ce887d800ac9239c.jpg","text":"TemporaryFile(/tmp/multipartBody462814888952981493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371303253,"filename":"image_29112025_00_07_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/11/29/e459406cf958816ea23b9d606807f30e.jpg","text":"TemporaryFile(/tmp/multipartBody9092317806481056522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371303253,"filename":"image_29112025_00_06_35_10004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/867c6dbe864da61af30652e30d1bdc4c.jpg","text":"TemporaryFile(/tmp/multipartBody1583944073304361465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371303253,"filename":"image_29112025_00_05_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/11/29/5a87fd93b2e1395a64d5fbc93388791a.jpg","text":"TemporaryFile(/tmp/multipartBody768011014973313190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371303253,"filename":"image_29112025_00_06_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/11/29/9fb07df76445efaac53e9125930223c5.jpg","text":"TemporaryFile(/tmp/multipartBody6764427399471823046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371303253,"filename":"image_29112025_00_07_14_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783103","file1":"1396783101","file0":"1396783074","file4":"1396783138","file5":"1396783163","file3":"1396783105"},"map_files_photo_id_array":[{"photo_id":"1396783163","filename":"file5"},{"photo_id":"1396783103","filename":"file2"},{"photo_id":"1396783138","filename":"file4"},{"photo_id":"1396783101","filename":"file1"},{"photo_id":"1396783074","filename":"file0"},{"photo_id":"1396783105","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396783103":["hashtag1","hashtag2"]},{"1396783138":["hashtag1","hashtag2"]},{"1396783105":["hashtag1","hashtag2"]},{"1396783074":["hashtag1","hashtag2"]},{"1396783101":["hashtag1","hashtag2"]},{"1396783163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396783103, 1396783138, 1396783105, 1396783074, 1396783101, 1396783163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.358916997909546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:08:03.438789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/07/image_29112025_00_07_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/07/image_29112025_00_07_44_9631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783182"],"photo_id":"1396783182","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27e1abbf1a42e495bcff6c5a21c20615.jpg","text":"TemporaryFile(/tmp/multipartBody826500876551416375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371344005,"filename":"image_29112025_00_07_44_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396783182"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396783182"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.751073122024536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:08:22.820123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/07/image_29112025_00_07_54_9630.jpg', '/home/pi/Desktop/images/29112025/00/07/image_29112025_00_08_04_10626.jpg', '/home/pi/Desktop/images/29112025/00/08/image_29112025_00_08_44_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/07/image_29112025_00_07_54_9630.jpg
/home/pi/Desktop/images/29112025/00/07/image_29112025_00_08_04_10626.jpg
/home/pi/Desktop/images/29112025/00/08/image_29112025_00_08_44_9676.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5127115249633789 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:08:32.983841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_07_2599.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_11_3551.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_13_2678.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_16_2605.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_20_3655.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_22_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_07_2599.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_11_3551.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_13_2678.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_16_2605.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_20_3655.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_22_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":["1396783211","1396783208","1396783201","1396783197","1396783212","1396783200"],"photo_ids_order":["1396783197","1396783200","1396783201","1396783208","1396783211","1396783212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cf35de41a50ac0aabbff56673aee20c.jpg","text":"TemporaryFile(/tmp/multipartBody7927511797174753549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371375248,"filename":"image_25112025_16_59_20_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca63a67262486cdf050b4ebbb616b4db.jpg","text":"TemporaryFile(/tmp/multipartBody4946569531661205419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371375248,"filename":"image_25112025_16_59_16_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d36f05a53e033ddec8be7355a946233.jpg","text":"TemporaryFile(/tmp/multipartBody2654945099972718419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371375248,"filename":"image_25112025_16_59_13_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/863c3cfd6f0b935417c1e975f12d981f.jpg","text":"TemporaryFile(/tmp/multipartBody1601950369822956749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371375248,"filename":"image_25112025_16_59_07_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d32c1b1ef994ac1fe06cb5a6cc5ec76.jpg","text":"TemporaryFile(/tmp/multipartBody3844173618230877534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371375248,"filename":"image_25112025_16_59_22_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29fa89c392a8ab0a6d51ce790d821ac9.jpg","text":"TemporaryFile(/tmp/multipartBody6658357833984718938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371375248,"filename":"image_25112025_16_59_11_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783201","file1":"1396783200","file0":"1396783197","file4":"1396783211","file5":"1396783212","file3":"1396783208"},"map_files_photo_id_array":[{"photo_id":"1396783212","filename":"file5"},{"photo_id":"1396783201","filename":"file2"},{"photo_id":"1396783211","filename":"file4"},{"photo_id":"1396783200","filename":"file1"},{"photo_id":"1396783197","filename":"file0"},{"photo_id":"1396783208","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396783211":["hashtag1","hashtag2"]},{"1396783208":["hashtag1","hashtag2"]},{"1396783201":["hashtag1","hashtag2"]},{"1396783197":["hashtag1","hashtag2"]},{"1396783212":["hashtag1","hashtag2"]},{"1396783200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396783211, 1396783208, 1396783201, 1396783197, 1396783212, 1396783200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.297481060028076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:09:11.967796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_26_3667.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_28_2637.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_31_2684.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_35_3676.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_37_2546.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_40_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_26_3667.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_28_2637.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_31_2684.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_35_3676.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_37_2546.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_40_2861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783282","1396783276","1396783234","1396783236","1396783259","1396783268"],"photo_ids_order":["1396783234","1396783236","1396783259","1396783268","1396783276","1396783282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28be242a39f48581311a8e54d6729f17.jpg","text":"TemporaryFile(/tmp/multipartBody5710163516684448786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371414087,"filename":"image_25112025_16_59_40_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/548630d49bbf2fa3752982f829e450b4.jpg","text":"TemporaryFile(/tmp/multipartBody1831895678570279038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371414087,"filename":"image_25112025_16_59_37_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b440473f32a2ea233b2832f041deec5.jpg","text":"TemporaryFile(/tmp/multipartBody2166827364710350146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371414087,"filename":"image_25112025_16_59_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/11/29/9b22c767a542d4d68a6f115e88864769.jpg","text":"TemporaryFile(/tmp/multipartBody8191506210935382735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371414087,"filename":"image_25112025_16_59_28_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/896a7a2a1f237c624725929387d48afd.jpg","text":"TemporaryFile(/tmp/multipartBody7868829384042994635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371414087,"filename":"image_25112025_16_59_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/11/29/27af8201e7b2a45b77ffb4f75395cffd.jpg","text":"TemporaryFile(/tmp/multipartBody2963178541552672925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371414087,"filename":"image_25112025_16_59_35_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783259","file1":"1396783236","file0":"1396783234","file4":"1396783276","file5":"1396783282","file3":"1396783268"},"map_files_photo_id_array":[{"photo_id":"1396783282","filename":"file5"},{"photo_id":"1396783259","filename":"file2"},{"photo_id":"1396783276","filename":"file4"},{"photo_id":"1396783236","filename":"file1"},{"photo_id":"1396783234","filename":"file0"},{"photo_id":"1396783268","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396783282":["hashtag1","hashtag2"]},{"1396783276":["hashtag1","hashtag2"]},{"1396783234":["hashtag1","hashtag2"]},{"1396783236":["hashtag1","hashtag2"]},{"1396783259":["hashtag1","hashtag2"]},{"1396783268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396783282, 1396783276, 1396783234, 1396783236, 1396783259, 1396783268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03691267967224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:10:02.804170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/07/image_29112025_00_07_54_9630.jpg', '/home/pi/Desktop/images/29112025/00/07/image_29112025_00_08_04_10626.jpg', '/home/pi/Desktop/images/29112025/00/08/image_29112025_00_08_44_9676.jpg', '/home/pi/Desktop/images/29112025/00/08/image_29112025_00_08_54_9670.jpg', '/home/pi/Desktop/images/29112025/00/09/image_29112025_00_09_14_9672.jpg', '/home/pi/Desktop/images/29112025/00/09/image_29112025_00_09_35_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/07/image_29112025_00_07_54_9630.jpg
/home/pi/Desktop/images/29112025/00/07/image_29112025_00_08_04_10626.jpg
/home/pi/Desktop/images/29112025/00/08/image_29112025_00_08_44_9676.jpg
/home/pi/Desktop/images/29112025/00/08/image_29112025_00_08_54_9670.jpg
/home/pi/Desktop/images/29112025/00/09/image_29112025_00_09_14_9672.jpg
/home/pi/Desktop/images/29112025/00/09/image_29112025_00_09_35_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783291","1396783294","1396783297","1396783290","1396783287","1396783289"],"photo_ids_order":["1396783287","1396783289","1396783290","1396783291","1396783294","1396783297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44fea69fd1d616ee2cceffa9a0122097.jpg","text":"TemporaryFile(/tmp/multipartBody809081292622804228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371463659,"filename":"image_29112025_00_08_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/11/29/42d912cc2ecb59c47e74a6637c2346cf.jpg","text":"TemporaryFile(/tmp/multipartBody2143326862850860414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371463659,"filename":"image_29112025_00_09_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b2e70ce2e3d93355e3c939fb15d93ad.jpg","text":"TemporaryFile(/tmp/multipartBody8006577039284697040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371463659,"filename":"image_29112025_00_09_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/11/29/b4fc6560985d058983c96b822799aaba.jpg","text":"TemporaryFile(/tmp/multipartBody5195459713339278719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371463659,"filename":"image_29112025_00_08_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3489433962f61b32bd64a1596230da44.jpg","text":"TemporaryFile(/tmp/multipartBody8755185869623733442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371463659,"filename":"image_29112025_00_07_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f63c3ce4f5d3c750b168e7cf280a6181.jpg","text":"TemporaryFile(/tmp/multipartBody1938783244230152323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371463659,"filename":"image_29112025_00_08_04_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783290","file1":"1396783289","file0":"1396783287","file4":"1396783294","file5":"1396783297","file3":"1396783291"},"map_files_photo_id_array":[{"photo_id":"1396783297","filename":"file5"},{"photo_id":"1396783290","filename":"file2"},{"photo_id":"1396783294","filename":"file4"},{"photo_id":"1396783289","filename":"file1"},{"photo_id":"1396783287","filename":"file0"},{"photo_id":"1396783291","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396783291":["hashtag1","hashtag2"]},{"1396783294":["hashtag1","hashtag2"]},{"1396783297":["hashtag1","hashtag2"]},{"1396783290":["hashtag1","hashtag2"]},{"1396783287":["hashtag1","hashtag2"]},{"1396783289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396783291, 1396783294, 1396783297, 1396783290, 1396783287, 1396783289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12258839607239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:10:42.257281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_23_4360.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_25_1716.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_28_2701.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_31_2700.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_34_3722.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_37_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_23_4360.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_25_1716.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_28_2701.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_31_2700.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_34_3722.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_37_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783306","1396783309","1396783303","1396783305","1396783308","1396783307"],"photo_ids_order":["1396783303","1396783305","1396783306","1396783307","1396783308","1396783309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ff47191b5b18fdebf57fcc62f45e473.jpg","text":"TemporaryFile(/tmp/multipartBody2866354715874822031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371503350,"filename":"image_31102025_08_11_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/11/29/96a2ef4a99d7c6477deaf8b82f4c9622.jpg","text":"TemporaryFile(/tmp/multipartBody4718141612652614187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371503350,"filename":"image_31102025_08_11_37_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b465a42c76fe8a7acd99394c0637d99a.jpg","text":"TemporaryFile(/tmp/multipartBody7722393833776161844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371503350,"filename":"image_31102025_08_11_23_4360.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bb08d496cfa38264c328e720ec8c7b0.jpg","text":"TemporaryFile(/tmp/multipartBody8094930282400831207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371503350,"filename":"image_31102025_08_11_25_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1eb0e1d316fe31ddfc6cf35d865ae40.jpg","text":"TemporaryFile(/tmp/multipartBody3491837168872354725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371503350,"filename":"image_31102025_08_11_34_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efafda6bc8757999f9727ab330905fcb.jpg","text":"TemporaryFile(/tmp/multipartBody9000137120131062538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371503350,"filename":"image_31102025_08_11_31_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783306","file1":"1396783305","file0":"1396783303","file4":"1396783308","file5":"1396783309","file3":"1396783307"},"map_files_photo_id_array":[{"photo_id":"1396783309","filename":"file5"},{"photo_id":"1396783306","filename":"file2"},{"photo_id":"1396783308","filename":"file4"},{"photo_id":"1396783305","filename":"file1"},{"photo_id":"1396783303","filename":"file0"},{"photo_id":"1396783307","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396783306":["hashtag1","hashtag2"]},{"1396783309":["hashtag1","hashtag2"]},{"1396783303":["hashtag1","hashtag2"]},{"1396783305":["hashtag1","hashtag2"]},{"1396783308":["hashtag1","hashtag2"]},{"1396783307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396783306, 1396783309, 1396783303, 1396783305, 1396783308, 1396783307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70100545883179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:11:22.384352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/09/image_29112025_00_09_54_9674.jpg', '/home/pi/Desktop/images/29112025/00/10/image_29112025_00_10_14_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/09/image_29112025_00_09_54_9674.jpg
/home/pi/Desktop/images/29112025/00/10/image_29112025_00_10_14_9632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783331","1396783328"],"photo_ids_order":["1396783328","1396783331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a63ba329715463578b32d841483e21f4.jpg","text":"TemporaryFile(/tmp/multipartBody6630328230773140506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371543006,"filename":"image_29112025_00_10_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/11/29/5d1597cbcedbede4ad6a9df6ed8c9734.jpg","text":"TemporaryFile(/tmp/multipartBody5489400601863772262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371543006,"filename":"image_29112025_00_09_54_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396783331","file0":"1396783328"},"map_files_photo_id_array":[{"photo_id":"1396783331","filename":"file1"},{"photo_id":"1396783328","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396783331":["hashtag1","hashtag2"]},{"1396783328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396783331, 1396783328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.37486720085144 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-11-29 00:12:03.078418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_43_2776.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_47_3620.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_49_2523.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_53_3602.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_55_2673.jpg', '/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_58_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_43_2776.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_47_3620.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_49_2523.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_53_3602.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_55_2673.jpg
/home/pi/Desktop/images/25112025/16/59/image_25112025_16_59_58_2744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783535","1396783502","1396783561","1396783461","1396783565","1396783559"],"photo_ids_order":["1396783461","1396783502","1396783535","1396783559","1396783561","1396783565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9f242a7013d97c31787900ae7681545.jpg","text":"TemporaryFile(/tmp/multipartBody6956152512198916225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371584872,"filename":"image_25112025_16_59_49_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98843853ea6088594def37440841c206.jpg","text":"TemporaryFile(/tmp/multipartBody6027233111651520323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371584872,"filename":"image_25112025_16_59_47_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7f8abaea132ae6cd03093f97885a414.jpg","text":"TemporaryFile(/tmp/multipartBody7277200043062182485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371584872,"filename":"image_25112025_16_59_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/11/29/75840e4a9b2fe031d3e79a36277d18ec.jpg","text":"TemporaryFile(/tmp/multipartBody4478504142752062719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371584872,"filename":"image_25112025_16_59_43_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50b71f6f63febe3b614aef994a6363f1.jpg","text":"TemporaryFile(/tmp/multipartBody6572873379632061293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371584872,"filename":"image_25112025_16_59_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/11/29/79f4b3c254faee9cffb2ec0604d8ef2d.jpg","text":"TemporaryFile(/tmp/multipartBody3851287892665896906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371584872,"filename":"image_25112025_16_59_53_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783535","file1":"1396783502","file0":"1396783461","file4":"1396783561","file5":"1396783565","file3":"1396783559"},"map_files_photo_id_array":[{"photo_id":"1396783565","filename":"file5"},{"photo_id":"1396783535","filename":"file2"},{"photo_id":"1396783561","filename":"file4"},{"photo_id":"1396783502","filename":"file1"},{"photo_id":"1396783461","filename":"file0"},{"photo_id":"1396783559","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396783535":["hashtag1","hashtag2"]},{"1396783502":["hashtag1","hashtag2"]},{"1396783561":["hashtag1","hashtag2"]},{"1396783461":["hashtag1","hashtag2"]},{"1396783565":["hashtag1","hashtag2"]},{"1396783559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396783535, 1396783502, 1396783561, 1396783461, 1396783565, 1396783559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40505599975586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:12:42.743047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_40_2758.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_43_3700.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_46_2788.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_49_2679.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_52_2770.jpg', '/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_55_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/08/11/image_31102025_08_11_40_2758.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_43_3700.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_46_2788.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_49_2679.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_52_2770.jpg
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_55_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":["1396783570","1396783573","1396783576","1396783575","1396783572","1396783574"],"photo_ids_order":["1396783570","1396783572","1396783573","1396783574","1396783575","1396783576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/171394346b62b6ef056a50b793b7bbce.jpg","text":"TemporaryFile(/tmp/multipartBody8984917063357392900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371623833,"filename":"image_31102025_08_11_40_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b06b0a0a7000d63821f72ed610166b14.jpg","text":"TemporaryFile(/tmp/multipartBody4553551453799839396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371623833,"filename":"image_31102025_08_11_46_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ad5fd267621f1603f6bcc970ed79bfa.jpg","text":"TemporaryFile(/tmp/multipartBody3148517396269862773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371623833,"filename":"image_31102025_08_11_55_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6ce8ea0d23c4cf0e549eb06aedec4d9.jpg","text":"TemporaryFile(/tmp/multipartBody6612947035238251809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371623833,"filename":"image_31102025_08_11_52_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1c0dbcc643415e05d5d7357fc6e9c5a.jpg","text":"TemporaryFile(/tmp/multipartBody7930010231662164523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371623833,"filename":"image_31102025_08_11_43_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa3c69f458c90bc6f1164d88d28cfe6a.jpg","text":"TemporaryFile(/tmp/multipartBody2053911304995268986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371623833,"filename":"image_31102025_08_11_49_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783573","file1":"1396783572","file0":"1396783570","file4":"1396783575","file5":"1396783576","file3":"1396783574"},"map_files_photo_id_array":[{"photo_id":"1396783576","filename":"file5"},{"photo_id":"1396783573","filename":"file2"},{"photo_id":"1396783575","filename":"file4"},{"photo_id":"1396783572","filename":"file1"},{"photo_id":"1396783570","filename":"file0"},{"photo_id":"1396783574","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396783570":["hashtag1","hashtag2"]},{"1396783573":["hashtag1","hashtag2"]},{"1396783576":["hashtag1","hashtag2"]},{"1396783575":["hashtag1","hashtag2"]},{"1396783572":["hashtag1","hashtag2"]},{"1396783574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396783570, 1396783573, 1396783576, 1396783575, 1396783572, 1396783574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00572633743286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:13:21.962629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/10/image_29112025_00_10_44_9565.jpg', '/home/pi/Desktop/images/29112025/00/11/image_29112025_00_12_04_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/10/image_29112025_00_10_44_9565.jpg
/home/pi/Desktop/images/29112025/00/11/image_29112025_00_12_04_9814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783582","1396783578"],"photo_ids_order":["1396783578","1396783582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b56d15c2103ed9e4fbd4f391420bf617.jpg","text":"TemporaryFile(/tmp/multipartBody7301784298927369155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371662562,"filename":"image_29112025_00_12_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/11/29/19a4c015635daf0a54d92ebc4e1a5768.jpg","text":"TemporaryFile(/tmp/multipartBody1243544395063793854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371662562,"filename":"image_29112025_00_10_44_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396783582","file0":"1396783578"},"map_files_photo_id_array":[{"photo_id":"1396783582","filename":"file1"},{"photo_id":"1396783578","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396783582":["hashtag1","hashtag2"]},{"1396783578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396783582, 1396783578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.66908049583435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:13:41.950706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_58_2604.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_01_2863.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_04_3568.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_07_2720.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_10_2779.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_14_4425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/11/image_31102025_08_11_58_2604.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_01_2863.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_04_3568.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_07_2720.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_10_2779.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_14_4425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783591","1396783594","1396783593","1396783592","1396783595","1396783589"],"photo_ids_order":["1396783589","1396783591","1396783592","1396783593","1396783594","1396783595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d8c826b8efac246ee8b1ddaea970653.jpg","text":"TemporaryFile(/tmp/multipartBody417456495360495734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371683052,"filename":"image_31102025_08_12_01_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8e3a1d1224f81d20af7dc0d8a13f00b.jpg","text":"TemporaryFile(/tmp/multipartBody5517918267597592686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371683052,"filename":"image_31102025_08_12_10_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1200371d1ddfd4b19e2eb54b173e4ab.jpg","text":"TemporaryFile(/tmp/multipartBody2449527358603485766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371683052,"filename":"image_31102025_08_12_07_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b75b7f9c3d09c4885daef2d50b7ae5f9.jpg","text":"TemporaryFile(/tmp/multipartBody4164568022066028753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371683052,"filename":"image_31102025_08_12_04_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/265fc4f3810dfdd0caf66e05a9ab88d9.jpg","text":"TemporaryFile(/tmp/multipartBody6120511767848624261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371683052,"filename":"image_31102025_08_12_14_4425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de2e597d1e04ec4e0c980b1c88c087b8.jpg","text":"TemporaryFile(/tmp/multipartBody4575342575076417581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371683052,"filename":"image_31102025_08_11_58_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783592","file1":"1396783591","file0":"1396783589","file4":"1396783594","file5":"1396783595","file3":"1396783593"},"map_files_photo_id_array":[{"photo_id":"1396783595","filename":"file5"},{"photo_id":"1396783592","filename":"file2"},{"photo_id":"1396783594","filename":"file4"},{"photo_id":"1396783591","filename":"file1"},{"photo_id":"1396783589","filename":"file0"},{"photo_id":"1396783593","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396783591":["hashtag1","hashtag2"]},{"1396783594":["hashtag1","hashtag2"]},{"1396783593":["hashtag1","hashtag2"]},{"1396783592":["hashtag1","hashtag2"]},{"1396783595":["hashtag1","hashtag2"]},{"1396783589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396783591, 1396783594, 1396783593, 1396783592, 1396783595, 1396783589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63458824157715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:14:22.136294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/13/image_29112025_00_13_34_9637.jpg', '/home/pi/Desktop/images/29112025/00/13/image_29112025_00_14_04_9727.jpg', '/home/pi/Desktop/images/29112025/00/14/image_29112025_00_14_14_9834.jpg', '/home/pi/Desktop/images/29112025/00/14/image_29112025_00_14_34_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/13/image_29112025_00_13_34_9637.jpg
/home/pi/Desktop/images/29112025/00/13/image_29112025_00_14_04_9727.jpg
/home/pi/Desktop/images/29112025/00/14/image_29112025_00_14_14_9834.jpg
/home/pi/Desktop/images/29112025/00/14/image_29112025_00_14_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":["1396783601","1396783609","1396783611","1396783604"],"photo_ids_order":["1396783601","1396783604","1396783609","1396783611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db32c288366901b068560dff95e6bfca.jpg","text":"TemporaryFile(/tmp/multipartBody8354420049942657636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371722866,"filename":"image_29112025_00_13_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/11/29/8230b7a4f93c7274b02bdfb224e13bdd.jpg","text":"TemporaryFile(/tmp/multipartBody4938872704085530940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371722866,"filename":"image_29112025_00_14_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/00253ac03bbdaa0f683b47cc1868cc8f.jpg","text":"TemporaryFile(/tmp/multipartBody5831394148614553512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371722866,"filename":"image_29112025_00_14_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/11/29/bc6bd73c03a7bbb73e8fe1e22f6c0de7.jpg","text":"TemporaryFile(/tmp/multipartBody5981516766262033704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371722866,"filename":"image_29112025_00_14_04_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783609","file1":"1396783604","file0":"1396783601","file3":"1396783611"},"map_files_photo_id_array":[{"photo_id":"1396783609","filename":"file2"},{"photo_id":"1396783604","filename":"file1"},{"photo_id":"1396783601","filename":"file0"},{"photo_id":"1396783611","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396783601":["hashtag1","hashtag2"]},{"1396783609":["hashtag1","hashtag2"]},{"1396783611":["hashtag1","hashtag2"]},{"1396783604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396783601, 1396783609, 1396783611, 1396783604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.005417108535767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:15:03.047871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_08_3010.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_11_3529.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_14_2685.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_18_3663.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_20_2531.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_23_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_08_3010.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_11_3529.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_14_2685.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_18_3663.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_20_2531.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_23_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783616","1396783621","1396783615","1396783618","1396783626","1396783614"],"photo_ids_order":["1396783614","1396783615","1396783616","1396783618","1396783621","1396783626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5aa5a20b79ccdae8f19fcf7d8174236c.jpg","text":"TemporaryFile(/tmp/multipartBody4433299583095566253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371765729,"filename":"image_25112025_17_00_14_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f351a76a95a23ca2dfb3da6cdfa22dc2.jpg","text":"TemporaryFile(/tmp/multipartBody5156976981860384845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371765729,"filename":"image_25112025_17_00_20_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5cf356520b853d509014ba48d529b674.jpg","text":"TemporaryFile(/tmp/multipartBody1155320469118046763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371765729,"filename":"image_25112025_17_00_11_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e216d6acfc7cd200ef338578b6a72616.jpg","text":"TemporaryFile(/tmp/multipartBody3634029375434627852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371765729,"filename":"image_25112025_17_00_18_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f24bd9f2eacd3ff1151c987fa03aa25c.jpg","text":"TemporaryFile(/tmp/multipartBody3197370835264583922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371765729,"filename":"image_25112025_17_00_23_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e63d315821cba3de4666d4b8953546a3.jpg","text":"TemporaryFile(/tmp/multipartBody6968328278899280556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371765729,"filename":"image_25112025_17_00_08_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783616","file1":"1396783615","file0":"1396783614","file4":"1396783621","file5":"1396783626","file3":"1396783618"},"map_files_photo_id_array":[{"photo_id":"1396783626","filename":"file5"},{"photo_id":"1396783616","filename":"file2"},{"photo_id":"1396783621","filename":"file4"},{"photo_id":"1396783615","filename":"file1"},{"photo_id":"1396783614","filename":"file0"},{"photo_id":"1396783618","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396783616":["hashtag1","hashtag2"]},{"1396783621":["hashtag1","hashtag2"]},{"1396783615":["hashtag1","hashtag2"]},{"1396783618":["hashtag1","hashtag2"]},{"1396783626":["hashtag1","hashtag2"]},{"1396783614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396783616, 1396783621, 1396783615, 1396783618, 1396783626, 1396783614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5654456615448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:16:03.096201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/14/image_29112025_00_14_54_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/14/image_29112025_00_14_54_9577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783662"],"photo_id":"1396783662","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/165fc398a401a15e7c787426c22fdf54.jpg","text":"TemporaryFile(/tmp/multipartBody7919436932921889712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371823690,"filename":"image_29112025_00_14_54_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396783662"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396783662"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.39561653137207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:16:22.682235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/14/image_29112025_00_15_04_10735.jpg', '/home/pi/Desktop/images/29112025/00/15/image_29112025_00_16_04_9712.jpg', '/home/pi/Desktop/images/29112025/00/16/image_29112025_00_16_44_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/14/image_29112025_00_15_04_10735.jpg
/home/pi/Desktop/images/29112025/00/15/image_29112025_00_16_04_9712.jpg
/home/pi/Desktop/images/29112025/00/16/image_29112025_00_16_44_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783700","1396783695","1396783698"],"photo_ids_order":["1396783695","1396783698","1396783700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccc874665745499036529d811b4ea41f.jpg","text":"TemporaryFile(/tmp/multipartBody1497648530064112847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371843356,"filename":"image_29112025_00_16_44_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6647803f5df8d3f992b3bee8ea6d8019.jpg","text":"TemporaryFile(/tmp/multipartBody1321944385354960843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371843356,"filename":"image_29112025_00_15_04_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b53f2f9b75182f22bedb7c45dca01bd.jpg","text":"TemporaryFile(/tmp/multipartBody8226717352258009835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371843356,"filename":"image_29112025_00_16_04_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783700","file1":"1396783698","file0":"1396783695"},"map_files_photo_id_array":[{"photo_id":"1396783700","filename":"file2"},{"photo_id":"1396783698","filename":"file1"},{"photo_id":"1396783695","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396783700":["hashtag1","hashtag2"]},{"1396783695":["hashtag1","hashtag2"]},{"1396783698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396783700, 1396783695, 1396783698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.416699171066284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:17:03.400040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_26_3608.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_29_2572.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_33_3566.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_35_2683.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_38_2760.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_42_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_26_3608.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_29_2572.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_33_3566.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_35_2683.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_38_2760.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_42_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783706","1396783709","1396783708","1396783713","1396783707","1396783716"],"photo_ids_order":["1396783706","1396783707","1396783708","1396783709","1396783713","1396783716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86731954cff3351bd21a9c3991f4ae56.jpg","text":"TemporaryFile(/tmp/multipartBody618919013640329200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371885137,"filename":"image_25112025_17_00_26_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2a40bb337f5bebf8aa331c80c1aec07.jpg","text":"TemporaryFile(/tmp/multipartBody1302932972633937339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371885137,"filename":"image_25112025_17_00_35_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e4fbbcc6aa485ee330f5c259f387298a.jpg","text":"TemporaryFile(/tmp/multipartBody6132899162178294073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371885137,"filename":"image_25112025_17_00_33_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/617ad44775769465d07055f01d34b1cc.jpg","text":"TemporaryFile(/tmp/multipartBody2538778574696665217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371885137,"filename":"image_25112025_17_00_38_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d707214bd45dd8e6a9b96a278a8c1446.jpg","text":"TemporaryFile(/tmp/multipartBody681620540999944895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371885137,"filename":"image_25112025_17_00_29_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ca6753eaf71a2f80c4ad1a0350f512d.jpg","text":"TemporaryFile(/tmp/multipartBody7181810935541667767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371885137,"filename":"image_25112025_17_00_42_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783708","file1":"1396783707","file0":"1396783706","file4":"1396783713","file5":"1396783716","file3":"1396783709"},"map_files_photo_id_array":[{"photo_id":"1396783716","filename":"file5"},{"photo_id":"1396783708","filename":"file2"},{"photo_id":"1396783713","filename":"file4"},{"photo_id":"1396783707","filename":"file1"},{"photo_id":"1396783706","filename":"file0"},{"photo_id":"1396783709","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396783706":["hashtag1","hashtag2"]},{"1396783709":["hashtag1","hashtag2"]},{"1396783708":["hashtag1","hashtag2"]},{"1396783713":["hashtag1","hashtag2"]},{"1396783707":["hashtag1","hashtag2"]},{"1396783716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396783706, 1396783709, 1396783708, 1396783713, 1396783707, 1396783716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.155763149261475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:18:02.546586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/16/image_29112025_00_16_54_9734.jpg', '/home/pi/Desktop/images/29112025/00/17/image_29112025_00_17_15_10752.jpg', '/home/pi/Desktop/images/29112025/00/17/image_29112025_00_17_34_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/16/image_29112025_00_16_54_9734.jpg
/home/pi/Desktop/images/29112025/00/17/image_29112025_00_17_15_10752.jpg
/home/pi/Desktop/images/29112025/00/17/image_29112025_00_17_34_9822.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5539040565490723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:18:12.065043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_44_2498.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_47_2668.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_50_3521.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_53_2733.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_56_2673.jpg', '/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_59_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_44_2498.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_47_2668.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_50_3521.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_53_2733.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_56_2673.jpg
/home/pi/Desktop/images/25112025/17/00/image_25112025_17_00_59_3598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783755","1396783740","1396783728","1396783748","1396783751","1396783745"],"photo_ids_order":["1396783728","1396783740","1396783745","1396783748","1396783751","1396783755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47d571bc69ff87a1fc0bc86d96f204b1.jpg","text":"TemporaryFile(/tmp/multipartBody3128895536622722360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371954207,"filename":"image_25112025_17_00_59_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/374333680acd5797b68f64bc697e011f.jpg","text":"TemporaryFile(/tmp/multipartBody1433527776994431280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371954207,"filename":"image_25112025_17_00_47_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/589203049fd5aed7991467c6a0b0e584.jpg","text":"TemporaryFile(/tmp/multipartBody2622834182245393366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371954207,"filename":"image_25112025_17_00_44_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c872f7f7153450b850c930fd9a0b6714.jpg","text":"TemporaryFile(/tmp/multipartBody4816888796231319496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371954207,"filename":"image_25112025_17_00_53_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc5764c49f61b68236adadc6f8002979.jpg","text":"TemporaryFile(/tmp/multipartBody416442951909840852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371954207,"filename":"image_25112025_17_00_56_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0dcd61bacb70d0b60f1f472256421b0f.jpg","text":"TemporaryFile(/tmp/multipartBody1406556749494774125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764371954207,"filename":"image_25112025_17_00_50_3521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783745","file1":"1396783740","file0":"1396783728","file4":"1396783751","file5":"1396783755","file3":"1396783748"},"map_files_photo_id_array":[{"photo_id":"1396783755","filename":"file5"},{"photo_id":"1396783745","filename":"file2"},{"photo_id":"1396783751","filename":"file4"},{"photo_id":"1396783740","filename":"file1"},{"photo_id":"1396783728","filename":"file0"},{"photo_id":"1396783748","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396783755":["hashtag1","hashtag2"]},{"1396783740":["hashtag1","hashtag2"]},{"1396783728":["hashtag1","hashtag2"]},{"1396783748":["hashtag1","hashtag2"]},{"1396783751":["hashtag1","hashtag2"]},{"1396783745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396783755, 1396783740, 1396783728, 1396783748, 1396783751, 1396783745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.786431074142456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:19:03.085338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/16/image_29112025_00_16_54_9734.jpg', '/home/pi/Desktop/images/29112025/00/17/image_29112025_00_17_15_10752.jpg', '/home/pi/Desktop/images/29112025/00/17/image_29112025_00_17_34_9822.jpg', '/home/pi/Desktop/images/29112025/00/17/image_29112025_00_17_54_10614.jpg', '/home/pi/Desktop/images/29112025/00/18/image_29112025_00_18_14_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/16/image_29112025_00_16_54_9734.jpg
/home/pi/Desktop/images/29112025/00/17/image_29112025_00_17_15_10752.jpg
/home/pi/Desktop/images/29112025/00/17/image_29112025_00_17_34_9822.jpg
/home/pi/Desktop/images/29112025/00/17/image_29112025_00_17_54_10614.jpg
/home/pi/Desktop/images/29112025/00/18/image_29112025_00_18_14_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783762","1396783759","1396783764","1396783758","1396783760"],"photo_ids_order":["1396783758","1396783759","1396783760","1396783762","1396783764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce4b56f999495f4af60da36bdf7bcaf9.jpg","text":"TemporaryFile(/tmp/multipartBody7337418503770344560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372004101,"filename":"image_29112025_00_17_54_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74f2088612280bc394290e1b5f07b5ef.jpg","text":"TemporaryFile(/tmp/multipartBody5259247818738355398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372004101,"filename":"image_29112025_00_17_15_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5de1658dd01c3ce7f2c28a22aec16378.jpg","text":"TemporaryFile(/tmp/multipartBody39285249839155448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372004101,"filename":"image_29112025_00_18_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/11/29/6b6d8f83b3bacb310bae2901b40a371f.jpg","text":"TemporaryFile(/tmp/multipartBody7910089192192006792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372004101,"filename":"image_29112025_00_16_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/11/29/7896a325999042d2be5c037c73cafa38.jpg","text":"TemporaryFile(/tmp/multipartBody885180577779809351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372004101,"filename":"image_29112025_00_17_34_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783760","file1":"1396783759","file0":"1396783758","file4":"1396783764","file3":"1396783762"},"map_files_photo_id_array":[{"photo_id":"1396783760","filename":"file2"},{"photo_id":"1396783764","filename":"file4"},{"photo_id":"1396783759","filename":"file1"},{"photo_id":"1396783758","filename":"file0"},{"photo_id":"1396783762","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396783762":["hashtag1","hashtag2"]},{"1396783759":["hashtag1","hashtag2"]},{"1396783764":["hashtag1","hashtag2"]},{"1396783758":["hashtag1","hashtag2"]},{"1396783760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396783762, 1396783759, 1396783764, 1396783758, 1396783760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.0685498714447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:19:42.221468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_16_1737.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_19_2556.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_22_3645.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_25_2587.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_28_3541.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_33_4782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_16_1737.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_19_2556.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_22_3645.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_25_2587.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_28_3541.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_33_4782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783777","1396783771","1396783774","1396783773","1396783776","1396783775"],"photo_ids_order":["1396783771","1396783773","1396783774","1396783775","1396783776","1396783777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/512eb9e7dbebce7adb8d0cb49f3d8b82.jpg","text":"TemporaryFile(/tmp/multipartBody7904263493204355507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372043333,"filename":"image_31102025_08_12_33_4782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09dc7b2caab91f1b66b831566495749d.jpg","text":"TemporaryFile(/tmp/multipartBody784051559679113941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372043333,"filename":"image_31102025_08_12_16_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5556bbda6b741a00b1fceb6491f5213a.jpg","text":"TemporaryFile(/tmp/multipartBody5092316015061820887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372043333,"filename":"image_31102025_08_12_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/11/29/f18b7215aae466d95279dc1069b03c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1144814131757721174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372043333,"filename":"image_31102025_08_12_19_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a618fb674394582648b131a6c8d2677.jpg","text":"TemporaryFile(/tmp/multipartBody6287067189926236625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372043333,"filename":"image_31102025_08_12_28_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f70d6c943bc3136966b43196090fa6b9.jpg","text":"TemporaryFile(/tmp/multipartBody58774881466974499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372043333,"filename":"image_31102025_08_12_25_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783774","file1":"1396783773","file0":"1396783771","file4":"1396783776","file5":"1396783777","file3":"1396783775"},"map_files_photo_id_array":[{"photo_id":"1396783777","filename":"file5"},{"photo_id":"1396783774","filename":"file2"},{"photo_id":"1396783776","filename":"file4"},{"photo_id":"1396783773","filename":"file1"},{"photo_id":"1396783771","filename":"file0"},{"photo_id":"1396783775","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396783777":["hashtag1","hashtag2"]},{"1396783771":["hashtag1","hashtag2"]},{"1396783774":["hashtag1","hashtag2"]},{"1396783773":["hashtag1","hashtag2"]},{"1396783776":["hashtag1","hashtag2"]},{"1396783775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396783777, 1396783771, 1396783774, 1396783773, 1396783776, 1396783775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29270339012146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:20:22.400987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/18/image_29112025_00_18_34_9655.jpg', '/home/pi/Desktop/images/29112025/00/18/image_29112025_00_19_04_9718.jpg', '/home/pi/Desktop/images/29112025/00/19/image_29112025_00_19_14_9657.jpg', '/home/pi/Desktop/images/29112025/00/19/image_29112025_00_19_24_10655.jpg', '/home/pi/Desktop/images/29112025/00/19/image_29112025_00_19_34_9768.jpg', '/home/pi/Desktop/images/29112025/00/20/image_29112025_00_20_24_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/18/image_29112025_00_18_34_9655.jpg
/home/pi/Desktop/images/29112025/00/18/image_29112025_00_19_04_9718.jpg
/home/pi/Desktop/images/29112025/00/19/image_29112025_00_19_14_9657.jpg
/home/pi/Desktop/images/29112025/00/19/image_29112025_00_19_24_10655.jpg
/home/pi/Desktop/images/29112025/00/19/image_29112025_00_19_34_9768.jpg
/home/pi/Desktop/images/29112025/00/20/image_29112025_00_20_24_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396783919","1396783890","1396783918","1396783869","1396783877","1396783916"],"photo_ids_order":["1396783869","1396783877","1396783890","1396783916","1396783918","1396783919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e73a8864192e553d417a539f9646816.jpg","text":"TemporaryFile(/tmp/multipartBody5350599969029391644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372083204,"filename":"image_29112025_00_20_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/11/29/8b871b1cbb8d8802d08a09eb8e4cea3a.jpg","text":"TemporaryFile(/tmp/multipartBody3690277528498625550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372083204,"filename":"image_29112025_00_19_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/11/29/0eb261b970135be39211d4450236c76b.jpg","text":"TemporaryFile(/tmp/multipartBody8525016331072269627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372083204,"filename":"image_29112025_00_19_34_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f883d40bd3e9b44b1efebffc0a26c115.jpg","text":"TemporaryFile(/tmp/multipartBody2878686412641761395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372083204,"filename":"image_29112025_00_18_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/11/29/2d132bcd1b15e467d603435d92f2a612.jpg","text":"TemporaryFile(/tmp/multipartBody8912467093963158049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372083204,"filename":"image_29112025_00_19_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/11/29/e3948157c7abcc7f2816fb74813761c3.jpg","text":"TemporaryFile(/tmp/multipartBody3219244494610844402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372083204,"filename":"image_29112025_00_19_24_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783890","file1":"1396783877","file0":"1396783869","file4":"1396783918","file5":"1396783919","file3":"1396783916"},"map_files_photo_id_array":[{"photo_id":"1396783919","filename":"file5"},{"photo_id":"1396783890","filename":"file2"},{"photo_id":"1396783918","filename":"file4"},{"photo_id":"1396783877","filename":"file1"},{"photo_id":"1396783869","filename":"file0"},{"photo_id":"1396783916","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396783919":["hashtag1","hashtag2"]},{"1396783890":["hashtag1","hashtag2"]},{"1396783918":["hashtag1","hashtag2"]},{"1396783869":["hashtag1","hashtag2"]},{"1396783877":["hashtag1","hashtag2"]},{"1396783916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396783919, 1396783890, 1396783918, 1396783869, 1396783877, 1396783916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57365822792053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:21:03.202740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_02_2704.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_05_3522.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_08_2630.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_11_2587.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_14_3578.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_17_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_02_2704.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_05_3522.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_08_2630.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_11_2587.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_14_3578.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_17_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396784119","1396783990","1396783951","1396784073","1396783936","1396784031"],"photo_ids_order":["1396783936","1396783951","1396783990","1396784031","1396784073","1396784119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f985771cd8551820b26a734763b0d926.jpg","text":"TemporaryFile(/tmp/multipartBody86464173245322791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372124975,"filename":"image_25112025_17_01_17_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2219cbda84c564476bf51e4459e2cfc1.jpg","text":"TemporaryFile(/tmp/multipartBody4010613474593101448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372124975,"filename":"image_25112025_17_01_08_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8b7a9669e0f7c821bf01685321e3416.jpg","text":"TemporaryFile(/tmp/multipartBody1902985848002854715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372124975,"filename":"image_25112025_17_01_05_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/526da08fa60677c04de4694df2f787c6.jpg","text":"TemporaryFile(/tmp/multipartBody2462155227196932272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372124975,"filename":"image_25112025_17_01_14_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4369a9976eb75e9c4ecdeb935d28f5a0.jpg","text":"TemporaryFile(/tmp/multipartBody3489854122119376725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372124975,"filename":"image_25112025_17_01_02_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a60a1d448b40dcbf3d38a3a3ef736df.jpg","text":"TemporaryFile(/tmp/multipartBody6309174924984272362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372124975,"filename":"image_25112025_17_01_11_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396783990","file1":"1396783951","file0":"1396783936","file4":"1396784073","file5":"1396784119","file3":"1396784031"},"map_files_photo_id_array":[{"photo_id":"1396784119","filename":"file5"},{"photo_id":"1396783990","filename":"file2"},{"photo_id":"1396784073","filename":"file4"},{"photo_id":"1396783951","filename":"file1"},{"photo_id":"1396783936","filename":"file0"},{"photo_id":"1396784031","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396784119":["hashtag1","hashtag2"]},{"1396783990":["hashtag1","hashtag2"]},{"1396783951":["hashtag1","hashtag2"]},{"1396784073":["hashtag1","hashtag2"]},{"1396783936":["hashtag1","hashtag2"]},{"1396784031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396784119, 1396783990, 1396783951, 1396784073, 1396783936, 1396784031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.278881311416626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:22:03.235551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/20/image_29112025_00_20_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/20/image_29112025_00_20_54_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396784403"],"photo_id":"1396784403","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84648a636b701f2625a9620420e1fd48.jpg","text":"TemporaryFile(/tmp/multipartBody6645641951914839198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372183836,"filename":"image_29112025_00_20_54_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396784403"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396784403"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.834858894348145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:22:22.815597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/21/image_29112025_00_21_34_10709.jpg', '/home/pi/Desktop/images/29112025/00/21/image_29112025_00_22_04_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/21/image_29112025_00_21_34_10709.jpg
/home/pi/Desktop/images/29112025/00/21/image_29112025_00_22_04_9694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396784560","1396784596"],"photo_ids_order":["1396784560","1396784596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13d5bced735035945ac8b419582106eb.jpg","text":"TemporaryFile(/tmp/multipartBody1683756105382532004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372203443,"filename":"image_29112025_00_21_34_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f87cbff80888cf7e92c72a297a27305.jpg","text":"TemporaryFile(/tmp/multipartBody6384076098943813125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372203443,"filename":"image_29112025_00_22_04_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396784596","file0":"1396784560"},"map_files_photo_id_array":[{"photo_id":"1396784596","filename":"file1"},{"photo_id":"1396784560","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396784560":["hashtag1","hashtag2"]},{"1396784596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396784560, 1396784596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.602881908416748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:22:42.916500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_35_1700.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_37_1656.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_40_3742.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_43_2693.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_46_2731.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_49_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/08/12/image_31102025_08_12_35_1700.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_37_1656.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_40_3742.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_43_2693.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_46_2731.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_49_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":["1396784626","1396784623","1396784625","1396784627","1396784621","1396784624"],"photo_ids_order":["1396784621","1396784623","1396784624","1396784625","1396784626","1396784627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e42427e17107a4f3cc062481f9a385c.jpg","text":"TemporaryFile(/tmp/multipartBody2835001810713483333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372224036,"filename":"image_31102025_08_12_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/11/29/9d9579d29754fc11a6099cef18a03e0e.jpg","text":"TemporaryFile(/tmp/multipartBody2755652536088095065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372224036,"filename":"image_31102025_08_12_37_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d102471ab252df49047c95e6faa5d45.jpg","text":"TemporaryFile(/tmp/multipartBody3193437807936631722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372224036,"filename":"image_31102025_08_12_43_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7492f8b8d3d825ed739ebd4cf2deca8.jpg","text":"TemporaryFile(/tmp/multipartBody4826247835493964759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372224036,"filename":"image_31102025_08_12_49_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a4d23ca20151d648eea405c9261595d.jpg","text":"TemporaryFile(/tmp/multipartBody6594566006750329487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372224036,"filename":"image_31102025_08_12_35_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74adb56276f6dcb52cdb4876a8bd2f04.jpg","text":"TemporaryFile(/tmp/multipartBody4276315490024933956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372224036,"filename":"image_31102025_08_12_40_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396784624","file1":"1396784623","file0":"1396784621","file4":"1396784626","file5":"1396784627","file3":"1396784625"},"map_files_photo_id_array":[{"photo_id":"1396784627","filename":"file5"},{"photo_id":"1396784624","filename":"file2"},{"photo_id":"1396784626","filename":"file4"},{"photo_id":"1396784623","filename":"file1"},{"photo_id":"1396784621","filename":"file0"},{"photo_id":"1396784625","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396784626":["hashtag1","hashtag2"]},{"1396784623":["hashtag1","hashtag2"]},{"1396784625":["hashtag1","hashtag2"]},{"1396784627":["hashtag1","hashtag2"]},{"1396784621":["hashtag1","hashtag2"]},{"1396784624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396784626, 1396784623, 1396784625, 1396784627, 1396784621, 1396784624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.036519050598145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:23:22.194036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/22/image_29112025_00_22_44_9868.jpg', '/home/pi/Desktop/images/29112025/00/22/image_29112025_00_23_04_9798.jpg', '/home/pi/Desktop/images/29112025/00/23/image_29112025_00_23_45_10848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/22/image_29112025_00_22_44_9868.jpg
/home/pi/Desktop/images/29112025/00/22/image_29112025_00_23_04_9798.jpg
/home/pi/Desktop/images/29112025/00/23/image_29112025_00_23_45_10848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396784764","1396784728","1396784804"],"photo_ids_order":["1396784728","1396784764","1396784804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90bf1677420a001670e36bc09f1faf39.jpg","text":"TemporaryFile(/tmp/multipartBody6227155008760844985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372262867,"filename":"image_29112025_00_23_04_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5e7ebbb681adfae74d8f0cb271eaa9c.jpg","text":"TemporaryFile(/tmp/multipartBody8748014665863415289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372262867,"filename":"image_29112025_00_22_44_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9232c9a203b7b75a594922f5c8467ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2678684255391258477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372262867,"filename":"image_29112025_00_23_45_10848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396784804","file1":"1396784764","file0":"1396784728"},"map_files_photo_id_array":[{"photo_id":"1396784804","filename":"file2"},{"photo_id":"1396784764","filename":"file1"},{"photo_id":"1396784728","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396784764":["hashtag1","hashtag2"]},{"1396784728":["hashtag1","hashtag2"]},{"1396784804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396784764, 1396784728, 1396784804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.10237145423889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:24:02.948835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_21_3516.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_23_2626.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_26_2560.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_29_3754.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_32_2636.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_35_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_21_3516.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_23_2626.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_26_2560.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_29_3754.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_32_2636.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_35_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396785285","1396785194","1396785245","1396785289","1396785280","1396785128"],"photo_ids_order":["1396785128","1396785194","1396785245","1396785280","1396785285","1396785289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e07b9e7106d7a809c36de5273b674a2.jpg","text":"TemporaryFile(/tmp/multipartBody5449479583105930445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372304713,"filename":"image_25112025_17_01_32_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/554cb627da3e9ad7f09d1abe2379515e.jpg","text":"TemporaryFile(/tmp/multipartBody1883279004116054549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372304713,"filename":"image_25112025_17_01_23_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02ca6b7d2e96217fdd5722d55dccb8f1.jpg","text":"TemporaryFile(/tmp/multipartBody5803500096828045182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372304713,"filename":"image_25112025_17_01_26_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/566d8fb1bdd16e28159f0a6b17110fe2.jpg","text":"TemporaryFile(/tmp/multipartBody1525745848139793848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372304713,"filename":"image_25112025_17_01_35_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4146c5dc333ae64a9b9e2e16966367e7.jpg","text":"TemporaryFile(/tmp/multipartBody2339445861952621696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372304713,"filename":"image_25112025_17_01_29_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e304549b28bac4685aafc673b3adf7c.jpg","text":"TemporaryFile(/tmp/multipartBody1857134566245231144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372304713,"filename":"image_25112025_17_01_21_3516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396785245","file1":"1396785194","file0":"1396785128","file4":"1396785285","file5":"1396785289","file3":"1396785280"},"map_files_photo_id_array":[{"photo_id":"1396785289","filename":"file5"},{"photo_id":"1396785245","filename":"file2"},{"photo_id":"1396785285","filename":"file4"},{"photo_id":"1396785194","filename":"file1"},{"photo_id":"1396785128","filename":"file0"},{"photo_id":"1396785280","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396785285":["hashtag1","hashtag2"]},{"1396785194":["hashtag1","hashtag2"]},{"1396785245":["hashtag1","hashtag2"]},{"1396785289":["hashtag1","hashtag2"]},{"1396785280":["hashtag1","hashtag2"]},{"1396785128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396785285, 1396785194, 1396785245, 1396785289, 1396785280, 1396785128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0680410861969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:24:42.309737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_51_2151.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_55_3723.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_58_2559.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_13_01_3606.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_04_2696.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_07_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_51_2151.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_55_3723.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_58_2559.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_13_01_3606.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_04_2696.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_07_2522.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0975747108459473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:25:03.105806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/23/image_29112025_00_23_54_9646.jpg', '/home/pi/Desktop/images/29112025/00/24/image_29112025_00_24_14_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/23/image_29112025_00_23_54_9646.jpg
/home/pi/Desktop/images/29112025/00/24/image_29112025_00_24_14_9746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396785536","1396785574"],"photo_ids_order":["1396785536","1396785574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d58f4eae06de9f3344e29112a974f9a.jpg","text":"TemporaryFile(/tmp/multipartBody757549462812867642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372363791,"filename":"image_29112025_00_23_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3b3114ee264374d12069c8b6ca96197.jpg","text":"TemporaryFile(/tmp/multipartBody2407953592097320389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372363791,"filename":"image_29112025_00_24_14_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396785574","file0":"1396785536"},"map_files_photo_id_array":[{"photo_id":"1396785574","filename":"file1"},{"photo_id":"1396785536","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396785536":["hashtag1","hashtag2"]},{"1396785574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396785536, 1396785574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.90263843536377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:25:22.527954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/24/image_29112025_00_24_34_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/24/image_29112025_00_24_34_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396785692"],"photo_id":"1396785692","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9617306344409e611a19b9d8c7ca986.jpg","text":"TemporaryFile(/tmp/multipartBody5186343737271383635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372383194,"filename":"image_29112025_00_24_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396785692"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396785692"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.333120584487915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:25:42.480146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_51_2151.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_55_3723.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_58_2559.jpg', '/home/pi/Desktop/images/31102025/08/12/image_31102025_08_13_01_3606.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_04_2696.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_07_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_51_2151.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_55_3723.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_12_58_2559.jpg
/home/pi/Desktop/images/31102025/08/12/image_31102025_08_13_01_3606.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_04_2696.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_07_2522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786091","1396786055","1396785980","1396785892","1396786018","1396785943"],"photo_ids_order":["1396785892","1396785943","1396785980","1396786018","1396786055","1396786091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a2fa826173a81c8c6b13f52e9436fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4340847120391192813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372403519,"filename":"image_31102025_08_13_07_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/310254446043d130912e74eb9083b305.jpg","text":"TemporaryFile(/tmp/multipartBody1120568502421748556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372403519,"filename":"image_31102025_08_13_04_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65874e9b0bdef3ba86f18c14a92aa765.jpg","text":"TemporaryFile(/tmp/multipartBody2729553472121539205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372403519,"filename":"image_31102025_08_12_58_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d56c64d572be125d6d7cccf3b4a00589.jpg","text":"TemporaryFile(/tmp/multipartBody597501987583544999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372403519,"filename":"image_31102025_08_12_51_2151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba12ecea692117c62f8258c2bdc425ad.jpg","text":"TemporaryFile(/tmp/multipartBody2913887076278061145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372403519,"filename":"image_31102025_08_13_01_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0e00c37a1c9215c92b504a2ab67c83b.jpg","text":"TemporaryFile(/tmp/multipartBody5133936734426457660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372403519,"filename":"image_31102025_08_12_55_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396785980","file1":"1396785943","file0":"1396785892","file4":"1396786055","file5":"1396786091","file3":"1396786018"},"map_files_photo_id_array":[{"photo_id":"1396786091","filename":"file5"},{"photo_id":"1396785980","filename":"file2"},{"photo_id":"1396786055","filename":"file4"},{"photo_id":"1396785943","filename":"file1"},{"photo_id":"1396785892","filename":"file0"},{"photo_id":"1396786018","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396786091":["hashtag1","hashtag2"]},{"1396786055":["hashtag1","hashtag2"]},{"1396785980":["hashtag1","hashtag2"]},{"1396785892":["hashtag1","hashtag2"]},{"1396786018":["hashtag1","hashtag2"]},{"1396785943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396786091, 1396786055, 1396785980, 1396785892, 1396786018, 1396785943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41379141807556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:26:22.660806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/25/image_29112025_00_25_34_9756.jpg', '/home/pi/Desktop/images/29112025/00/26/image_29112025_00_26_14_9760.jpg', '/home/pi/Desktop/images/29112025/00/26/image_29112025_00_26_24_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/25/image_29112025_00_25_34_9756.jpg
/home/pi/Desktop/images/29112025/00/26/image_29112025_00_26_14_9760.jpg
/home/pi/Desktop/images/29112025/00/26/image_29112025_00_26_24_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786136","1396786139","1396786141"],"photo_ids_order":["1396786136","1396786139","1396786141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01b9cc3c5ae21d2fb696d1d4299f2777.jpg","text":"TemporaryFile(/tmp/multipartBody4636319309662667930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372443343,"filename":"image_29112025_00_25_34_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a98d2e9085ca5de7c902d5526984eb7c.jpg","text":"TemporaryFile(/tmp/multipartBody151201500728644978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372443343,"filename":"image_29112025_00_26_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/11/29/788f588858ead4b4e1b52177b5ab33d3.jpg","text":"TemporaryFile(/tmp/multipartBody4967121002132156976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372443343,"filename":"image_29112025_00_26_24_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786141","file1":"1396786139","file0":"1396786136"},"map_files_photo_id_array":[{"photo_id":"1396786141","filename":"file2"},{"photo_id":"1396786139","filename":"file1"},{"photo_id":"1396786136","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396786136":["hashtag1","hashtag2"]},{"1396786139":["hashtag1","hashtag2"]},{"1396786141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396786136, 1396786139, 1396786141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.328665733337402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:27:02.673577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_38_3539.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_41_2578.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_44_2665.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_47_3739.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_50_2753.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_53_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_38_3539.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_41_2578.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_44_2665.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_47_3739.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_50_2753.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_53_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786224","1396786146","1396786262","1396786301","1396786156","1396786191"],"photo_ids_order":["1396786146","1396786156","1396786191","1396786224","1396786262","1396786301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d89d4b8ebf59d8735843a75686a1388.jpg","text":"TemporaryFile(/tmp/multipartBody6578627181349895618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372484419,"filename":"image_25112025_17_01_47_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49f6e0a321105b00004463f7dc1daddd.jpg","text":"TemporaryFile(/tmp/multipartBody2502370155909698463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372484419,"filename":"image_25112025_17_01_38_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edde8d83ec02f5c3ab5e4db68ee7cb11.jpg","text":"TemporaryFile(/tmp/multipartBody4185316621854144186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372484419,"filename":"image_25112025_17_01_50_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c410bfa1651e9364afff498113de508.jpg","text":"TemporaryFile(/tmp/multipartBody549725712544002865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372484419,"filename":"image_25112025_17_01_53_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd445c9149f6480cd51a64560a5cd8cb.jpg","text":"TemporaryFile(/tmp/multipartBody7665034879105678087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372484419,"filename":"image_25112025_17_01_41_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b5c209ecde28fa45d8eec81e144b992.jpg","text":"TemporaryFile(/tmp/multipartBody5851165328017441949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372484419,"filename":"image_25112025_17_01_44_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786191","file1":"1396786156","file0":"1396786146","file4":"1396786262","file5":"1396786301","file3":"1396786224"},"map_files_photo_id_array":[{"photo_id":"1396786301","filename":"file5"},{"photo_id":"1396786191","filename":"file2"},{"photo_id":"1396786262","filename":"file4"},{"photo_id":"1396786156","filename":"file1"},{"photo_id":"1396786146","filename":"file0"},{"photo_id":"1396786224","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396786224":["hashtag1","hashtag2"]},{"1396786146":["hashtag1","hashtag2"]},{"1396786262":["hashtag1","hashtag2"]},{"1396786301":["hashtag1","hashtag2"]},{"1396786156":["hashtag1","hashtag2"]},{"1396786191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396786224, 1396786146, 1396786262, 1396786301, 1396786156, 1396786191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.518430948257446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:27:42.013291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_10_3584.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_13_2764.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_16_2700.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_19_3624.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_22_2793.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_25_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/08/13/image_31102025_08_13_10_3584.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_13_2764.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_16_2700.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_19_3624.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_22_2793.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_25_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":["1396786512","1396786463","1396786477","1396786462","1396786438","1396786464"],"photo_ids_order":["1396786438","1396786462","1396786463","1396786464","1396786477","1396786512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60fd1f3a6721ebdc642c0ce00421b4a5.jpg","text":"TemporaryFile(/tmp/multipartBody420085473017402841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372523178,"filename":"image_31102025_08_13_25_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/367bfcc1da118de61993d86a9e43c95f.jpg","text":"TemporaryFile(/tmp/multipartBody7527791216668830802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372523178,"filename":"image_31102025_08_13_16_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b645fcf8b657d1ca245fec657f000d13.jpg","text":"TemporaryFile(/tmp/multipartBody709622826226879855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372523178,"filename":"image_31102025_08_13_22_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/093cf06ce2d2b902be9987a3e8b2ce0a.jpg","text":"TemporaryFile(/tmp/multipartBody3544834152857158452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372523178,"filename":"image_31102025_08_13_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/11/29/21070f2dd495ff79fb0e2d33b443de47.jpg","text":"TemporaryFile(/tmp/multipartBody13409045892169427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372523178,"filename":"image_31102025_08_13_10_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0b64edd6646b4059fe27febdc702a4b.jpg","text":"TemporaryFile(/tmp/multipartBody3119213194628668152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372523178,"filename":"image_31102025_08_13_19_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786463","file1":"1396786462","file0":"1396786438","file4":"1396786477","file5":"1396786512","file3":"1396786464"},"map_files_photo_id_array":[{"photo_id":"1396786512","filename":"file5"},{"photo_id":"1396786463","filename":"file2"},{"photo_id":"1396786477","filename":"file4"},{"photo_id":"1396786462","filename":"file1"},{"photo_id":"1396786438","filename":"file0"},{"photo_id":"1396786464","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396786512":["hashtag1","hashtag2"]},{"1396786463":["hashtag1","hashtag2"]},{"1396786477":["hashtag1","hashtag2"]},{"1396786462":["hashtag1","hashtag2"]},{"1396786438":["hashtag1","hashtag2"]},{"1396786464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396786512, 1396786463, 1396786477, 1396786462, 1396786438, 1396786464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56675386428833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:28:22.187581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/26/image_29112025_00_26_35_10641.jpg', '/home/pi/Desktop/images/29112025/00/26/image_29112025_00_27_05_10700.jpg', '/home/pi/Desktop/images/29112025/00/27/image_29112025_00_27_35_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/26/image_29112025_00_26_35_10641.jpg
/home/pi/Desktop/images/29112025/00/26/image_29112025_00_27_05_10700.jpg
/home/pi/Desktop/images/29112025/00/27/image_29112025_00_27_35_10726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786602","1396786593","1396786578"],"photo_ids_order":["1396786578","1396786593","1396786602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7033a7e20eacb5caebd6f2d14c1d602a.jpg","text":"TemporaryFile(/tmp/multipartBody6480169489255993501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372562873,"filename":"image_29112025_00_27_35_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9871721d3aa170c11b4515b5fe8fc83c.jpg","text":"TemporaryFile(/tmp/multipartBody7462758157627624228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372562873,"filename":"image_29112025_00_27_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc740b8fe1a794083cab586b1f7cf7dd.jpg","text":"TemporaryFile(/tmp/multipartBody6915172971552847110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372562873,"filename":"image_29112025_00_26_35_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786602","file1":"1396786593","file0":"1396786578"},"map_files_photo_id_array":[{"photo_id":"1396786602","filename":"file2"},{"photo_id":"1396786593","filename":"file1"},{"photo_id":"1396786578","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396786602":["hashtag1","hashtag2"]},{"1396786593":["hashtag1","hashtag2"]},{"1396786578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396786602, 1396786593, 1396786578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 31.735232830047607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:29:03.467403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_56_3585.jpg', '/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_59_2522.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_02_2736.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_05_3570.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_08_2604.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_11_3717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_56_3585.jpg
/home/pi/Desktop/images/25112025/17/01/image_25112025_17_01_59_2522.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_02_2736.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_05_3570.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_08_2604.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_11_3717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786620","1396786610","1396786607","1396786615","1396786609","1396786612"],"photo_ids_order":["1396786607","1396786609","1396786610","1396786612","1396786615","1396786620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9b6aa0f5ea605aa1ee223b2c64a7d57.jpg","text":"TemporaryFile(/tmp/multipartBody3423025086612699478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372605396,"filename":"image_25112025_17_02_11_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/532165fa09cacd3fe42587daecc18f78.jpg","text":"TemporaryFile(/tmp/multipartBody1072892948250935835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372605396,"filename":"image_25112025_17_02_02_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6a259f5d10fa78bd1f468176d998a49.jpg","text":"TemporaryFile(/tmp/multipartBody7140060652040141722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372605396,"filename":"image_25112025_17_01_56_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d50e23ff4b8d065286cf6bf53c2c74d8.jpg","text":"TemporaryFile(/tmp/multipartBody1104494969296637266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372605396,"filename":"image_25112025_17_02_08_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27dc6de72d9bf95598db410120acb3bb.jpg","text":"TemporaryFile(/tmp/multipartBody8529979850346774909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372605396,"filename":"image_25112025_17_01_59_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf3ec6595e6018d8035e016d6dffce67.jpg","text":"TemporaryFile(/tmp/multipartBody2119044277992943632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372605396,"filename":"image_25112025_17_02_05_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786610","file1":"1396786609","file0":"1396786607","file4":"1396786615","file5":"1396786620","file3":"1396786612"},"map_files_photo_id_array":[{"photo_id":"1396786620","filename":"file5"},{"photo_id":"1396786610","filename":"file2"},{"photo_id":"1396786615","filename":"file4"},{"photo_id":"1396786609","filename":"file1"},{"photo_id":"1396786607","filename":"file0"},{"photo_id":"1396786612","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396786620":["hashtag1","hashtag2"]},{"1396786610":["hashtag1","hashtag2"]},{"1396786607":["hashtag1","hashtag2"]},{"1396786615":["hashtag1","hashtag2"]},{"1396786609":["hashtag1","hashtag2"]},{"1396786612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396786620, 1396786610, 1396786607, 1396786615, 1396786609, 1396786612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90374207496643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:29:42.501534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_27_2739.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_31_3663.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_34_2714.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_36_2740.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_40_3584.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_43_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/08/13/image_31102025_08_13_27_2739.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_31_3663.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_34_2714.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_36_2740.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_40_3584.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_43_2632.jpg
 val : 1 : upload photos 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":["1396786713","1396786721","1396786724","1396786703","1396786714","1396786711"],"photo_ids_order":["1396786703","1396786711","1396786713","1396786714","1396786721","1396786724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ca4a7a5a5dfb32f6fe54b984d485bb1.jpg","text":"TemporaryFile(/tmp/multipartBody3300826886745609316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372643626,"filename":"image_31102025_08_13_34_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0767427ab81354a33b1b5697a4d3b284.jpg","text":"TemporaryFile(/tmp/multipartBody4413214245140506950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372643626,"filename":"image_31102025_08_13_40_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/577585044c488b805cb50349db8e30e8.jpg","text":"TemporaryFile(/tmp/multipartBody3836060036014536112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372643626,"filename":"image_31102025_08_13_43_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/644914e8e2856e1e548b5966eb534dcb.jpg","text":"TemporaryFile(/tmp/multipartBody1374985384344851538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372643626,"filename":"image_31102025_08_13_27_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fb9b40cb0225a1c93daf46834f42c0d.jpg","text":"TemporaryFile(/tmp/multipartBody7055961344170711440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372643626,"filename":"image_31102025_08_13_36_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0818edf48a1faaba163c76af1eeed6c1.jpg","text":"TemporaryFile(/tmp/multipartBody9196427094697183058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372643626,"filename":"image_31102025_08_13_31_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786713","file1":"1396786711","file0":"1396786703","file4":"1396786721","file5":"1396786724","file3":"1396786714"},"map_files_photo_id_array":[{"photo_id":"1396786724","filename":"file5"},{"photo_id":"1396786713","filename":"file2"},{"photo_id":"1396786721","filename":"file4"},{"photo_id":"1396786711","filename":"file1"},{"photo_id":"1396786703","filename":"file0"},{"photo_id":"1396786714","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396786713":["hashtag1","hashtag2"]},{"1396786721":["hashtag1","hashtag2"]},{"1396786724":["hashtag1","hashtag2"]},{"1396786703":["hashtag1","hashtag2"]},{"1396786714":["hashtag1","hashtag2"]},{"1396786711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396786713, 1396786721, 1396786724, 1396786703, 1396786714, 1396786711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.42176699638367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:31:05.994479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/28/image_29112025_00_28_15_10710.jpg', '/home/pi/Desktop/images/29112025/00/30/image_29112025_00_30_14_9693.jpg', '/home/pi/Desktop/images/29112025/00/30/image_29112025_00_30_45_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/28/image_29112025_00_28_15_10710.jpg
/home/pi/Desktop/images/29112025/00/30/image_29112025_00_30_14_9693.jpg
/home/pi/Desktop/images/29112025/00/30/image_29112025_00_30_45_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786731","1396786730","1396786732"],"photo_ids_order":["1396786730","1396786731","1396786732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/533bc2c6712fc6d33c75e8271f7ed5c9.jpg","text":"TemporaryFile(/tmp/multipartBody3474708134236174852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372726730,"filename":"image_29112025_00_30_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f3442ee4d43b51321b44bf9f7bc4e7e.jpg","text":"TemporaryFile(/tmp/multipartBody7640440276731303625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372726730,"filename":"image_29112025_00_28_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7238a6170cce3da66a4253fc9473a0e2.jpg","text":"TemporaryFile(/tmp/multipartBody4294136474759919695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372726730,"filename":"image_29112025_00_30_45_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786732","file1":"1396786731","file0":"1396786730"},"map_files_photo_id_array":[{"photo_id":"1396786732","filename":"file2"},{"photo_id":"1396786731","filename":"file1"},{"photo_id":"1396786730","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396786731":["hashtag1","hashtag2"]},{"1396786730":["hashtag1","hashtag2"]},{"1396786732":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396786731, 1396786730, 1396786732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.158824682235718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:31:35.451734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_14_2586.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_17_2666.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_20_3623.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_23_2555.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_26_3497.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_29_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_14_2586.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_17_2666.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_20_3623.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_23_2555.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_26_3497.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_29_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":["1396786746","1396786742","1396786745","1396786744","1396786747","1396786740"],"photo_ids_order":["1396786740","1396786742","1396786744","1396786745","1396786746","1396786747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad77a83aa074e35adf43e2d23a6cbe7a.jpg","text":"TemporaryFile(/tmp/multipartBody2259121408982885189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372757687,"filename":"image_25112025_17_02_26_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef7d45fdeb59b8178fd129ea705a8322.jpg","text":"TemporaryFile(/tmp/multipartBody4676465085866804507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372757687,"filename":"image_25112025_17_02_17_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2cd9ba5667dda4f2cd4d5adbe69fe65b.jpg","text":"TemporaryFile(/tmp/multipartBody2742238626044762832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372757687,"filename":"image_25112025_17_02_23_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c4a6a5ec56469107205bebe4e7170a6.jpg","text":"TemporaryFile(/tmp/multipartBody7907982943644159692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372757687,"filename":"image_25112025_17_02_20_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c01df3b3d8dd116a625f8fec8d8466c.jpg","text":"TemporaryFile(/tmp/multipartBody7615361622418365138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372757687,"filename":"image_25112025_17_02_29_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85b3eb65f2817aa67ae5e88cf2ac0dad.jpg","text":"TemporaryFile(/tmp/multipartBody5774272094489994100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372757687,"filename":"image_25112025_17_02_14_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786744","file1":"1396786742","file0":"1396786740","file4":"1396786746","file5":"1396786747","file3":"1396786745"},"map_files_photo_id_array":[{"photo_id":"1396786747","filename":"file5"},{"photo_id":"1396786744","filename":"file2"},{"photo_id":"1396786746","filename":"file4"},{"photo_id":"1396786742","filename":"file1"},{"photo_id":"1396786740","filename":"file0"},{"photo_id":"1396786745","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396786746":["hashtag1","hashtag2"]},{"1396786742":["hashtag1","hashtag2"]},{"1396786745":["hashtag1","hashtag2"]},{"1396786744":["hashtag1","hashtag2"]},{"1396786747":["hashtag1","hashtag2"]},{"1396786740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396786746, 1396786742, 1396786745, 1396786744, 1396786747, 1396786740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.417280435562134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:32:22.603897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/30/image_29112025_00_30_54_9693.jpg', '/home/pi/Desktop/images/29112025/00/31/image_29112025_00_31_45_10635.jpg', '/home/pi/Desktop/images/29112025/00/32/image_29112025_00_32_15_10684.jpg', '/home/pi/Desktop/images/29112025/00/32/image_29112025_00_32_34_9598.jpg', '/home/pi/Desktop/images/29112025/00/32/image_29112025_00_32_44_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/30/image_29112025_00_30_54_9693.jpg
/home/pi/Desktop/images/29112025/00/31/image_29112025_00_31_45_10635.jpg
/home/pi/Desktop/images/29112025/00/32/image_29112025_00_32_15_10684.jpg
/home/pi/Desktop/images/29112025/00/32/image_29112025_00_32_34_9598.jpg
/home/pi/Desktop/images/29112025/00/32/image_29112025_00_32_44_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786751","1396786754","1396786756","1396786759","1396786761"],"photo_ids_order":["1396786751","1396786754","1396786756","1396786759","1396786761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b23bb0d6069dbda2fd0e846d975703c6.jpg","text":"TemporaryFile(/tmp/multipartBody2679855610721332113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372803357,"filename":"image_29112025_00_30_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/11/29/7324779d8c9feaaf1167d98bf7fc30af.jpg","text":"TemporaryFile(/tmp/multipartBody7607227746427745159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372803357,"filename":"image_29112025_00_31_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/11/29/32cb02dad688f6ea8353328bea3e7b7c.jpg","text":"TemporaryFile(/tmp/multipartBody3820445284830061886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372803357,"filename":"image_29112025_00_32_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21deba931acd90e62780ea2f0f0a8f4b.jpg","text":"TemporaryFile(/tmp/multipartBody7203669989985573084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372803357,"filename":"image_29112025_00_32_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/11/29/f678acc43977e470aef79850411f2392.jpg","text":"TemporaryFile(/tmp/multipartBody3707366919666586673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372803357,"filename":"image_29112025_00_32_44_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786756","file1":"1396786754","file0":"1396786751","file4":"1396786761","file3":"1396786759"},"map_files_photo_id_array":[{"photo_id":"1396786756","filename":"file2"},{"photo_id":"1396786761","filename":"file4"},{"photo_id":"1396786754","filename":"file1"},{"photo_id":"1396786751","filename":"file0"},{"photo_id":"1396786759","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396786751":["hashtag1","hashtag2"]},{"1396786754":["hashtag1","hashtag2"]},{"1396786756":["hashtag1","hashtag2"]},{"1396786759":["hashtag1","hashtag2"]},{"1396786761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396786751, 1396786754, 1396786756, 1396786759, 1396786761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.85650610923767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:33:03.446645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_32_2572.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_35_3768.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_38_2773.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_41_2600.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_43_2736.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_47_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_32_2572.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_35_3768.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_38_2773.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_41_2600.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_43_2736.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_47_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":["1396786779","1396786772","1396786781","1396786774","1396786773","1396786776"],"photo_ids_order":["1396786772","1396786773","1396786774","1396786776","1396786779","1396786781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a5bbfc47363bb2e5698328e2904e233.jpg","text":"TemporaryFile(/tmp/multipartBody1121016613874394951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372845164,"filename":"image_25112025_17_02_43_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbf1a30a916216369a160b60b45520e9.jpg","text":"TemporaryFile(/tmp/multipartBody4150205223218182218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372845164,"filename":"image_25112025_17_02_32_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90337fbf9221607b789ae65c9ff0d31d.jpg","text":"TemporaryFile(/tmp/multipartBody2459975303544155503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372845164,"filename":"image_25112025_17_02_47_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d19f108956fb8fc667237c96eb92ca3.jpg","text":"TemporaryFile(/tmp/multipartBody4809773237062590194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372845164,"filename":"image_25112025_17_02_38_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c5a44a9832b4c80e9e39018e44a1ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5342946144411901604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372845164,"filename":"image_25112025_17_02_35_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f1fa423415c50384a40af20352a62b9.jpg","text":"TemporaryFile(/tmp/multipartBody8246077496080076370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372845164,"filename":"image_25112025_17_02_41_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786774","file1":"1396786773","file0":"1396786772","file4":"1396786779","file5":"1396786781","file3":"1396786776"},"map_files_photo_id_array":[{"photo_id":"1396786781","filename":"file5"},{"photo_id":"1396786774","filename":"file2"},{"photo_id":"1396786779","filename":"file4"},{"photo_id":"1396786773","filename":"file1"},{"photo_id":"1396786772","filename":"file0"},{"photo_id":"1396786776","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396786779":["hashtag1","hashtag2"]},{"1396786772":["hashtag1","hashtag2"]},{"1396786781":["hashtag1","hashtag2"]},{"1396786774":["hashtag1","hashtag2"]},{"1396786773":["hashtag1","hashtag2"]},{"1396786776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396786779, 1396786772, 1396786781, 1396786774, 1396786773, 1396786776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39822053909302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:33:42.760391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_45_2617.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_49_3658.jpg', '/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_52_2659.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_01_9014.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_02_1776.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_09_6953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_45_2617.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_49_3658.jpg
/home/pi/Desktop/images/31102025/08/13/image_31102025_08_13_52_2659.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_01_9014.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_02_1776.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_09_6953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786827","1396786829","1396786826","1396786808","1396786825","1396786828"],"photo_ids_order":["1396786808","1396786825","1396786826","1396786827","1396786828","1396786829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ebf02d7bac9ca95ad587d1bb579cd07.jpg","text":"TemporaryFile(/tmp/multipartBody8080155304079683828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372883862,"filename":"image_31102025_08_14_01_9014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a031f16810dcc7ed6627ab41ea528b8c.jpg","text":"TemporaryFile(/tmp/multipartBody7428594352317096261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372883862,"filename":"image_31102025_08_14_09_6953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/345bff2fd3ef2e9cd647fb316aef7cdb.jpg","text":"TemporaryFile(/tmp/multipartBody3431901957514958244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372883862,"filename":"image_31102025_08_13_52_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d86d4b0f07fc24d0f914d3970503aa7e.jpg","text":"TemporaryFile(/tmp/multipartBody2652164018306240163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372883862,"filename":"image_31102025_08_13_45_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b90a54fe5fe08bc3e6908d9b0ff48774.jpg","text":"TemporaryFile(/tmp/multipartBody5220607589063590580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372883862,"filename":"image_31102025_08_13_49_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/096d3b7767b62b5d203360731b1ee97b.jpg","text":"TemporaryFile(/tmp/multipartBody3482101745269869212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372883862,"filename":"image_31102025_08_14_02_1776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786826","file1":"1396786825","file0":"1396786808","file4":"1396786828","file5":"1396786829","file3":"1396786827"},"map_files_photo_id_array":[{"photo_id":"1396786829","filename":"file5"},{"photo_id":"1396786826","filename":"file2"},{"photo_id":"1396786828","filename":"file4"},{"photo_id":"1396786825","filename":"file1"},{"photo_id":"1396786808","filename":"file0"},{"photo_id":"1396786827","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396786827":["hashtag1","hashtag2"]},{"1396786829":["hashtag1","hashtag2"]},{"1396786826":["hashtag1","hashtag2"]},{"1396786808":["hashtag1","hashtag2"]},{"1396786825":["hashtag1","hashtag2"]},{"1396786828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396786827, 1396786829, 1396786826, 1396786808, 1396786825, 1396786828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.141103744506836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:34:22.021870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/32/image_29112025_00_32_55_10740.jpg', '/home/pi/Desktop/images/29112025/00/34/image_29112025_00_34_24_9623.jpg', '/home/pi/Desktop/images/29112025/00/34/image_29112025_00_34_45_10775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/32/image_29112025_00_32_55_10740.jpg
/home/pi/Desktop/images/29112025/00/34/image_29112025_00_34_24_9623.jpg
/home/pi/Desktop/images/29112025/00/34/image_29112025_00_34_45_10775.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5148165225982666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:34:31.899662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_50_2648.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_53_3566.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_56_2524.jpg', '/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_58_2654.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_02_3678.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_05_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_50_2648.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_53_3566.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_56_2524.jpg
/home/pi/Desktop/images/25112025/17/02/image_25112025_17_02_58_2654.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_02_3678.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_05_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786842","1396786845","1396786839","1396786841","1396786844","1396786846"],"photo_ids_order":["1396786839","1396786841","1396786842","1396786844","1396786845","1396786846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4fa16140cc2079080cdc7a704a9dcc6.jpg","text":"TemporaryFile(/tmp/multipartBody834099641744892987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372934170,"filename":"image_25112025_17_02_56_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f931f69bdea859417e2ad38874ada5b4.jpg","text":"TemporaryFile(/tmp/multipartBody4998265833364729255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372934170,"filename":"image_25112025_17_03_02_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab8963744b56d586207e3e201b484cb1.jpg","text":"TemporaryFile(/tmp/multipartBody3877158186248127955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372934170,"filename":"image_25112025_17_02_50_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c2847e06dec6fc41cda1f93cbc242b7.jpg","text":"TemporaryFile(/tmp/multipartBody8394778337326064794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372934170,"filename":"image_25112025_17_02_53_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02f1df2808fe7d4502202763754a1568.jpg","text":"TemporaryFile(/tmp/multipartBody5173051304816969222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372934170,"filename":"image_25112025_17_02_58_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6796538d96161103fca9905933d7cda2.jpg","text":"TemporaryFile(/tmp/multipartBody6096541054734548095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372934170,"filename":"image_25112025_17_03_05_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786842","file1":"1396786841","file0":"1396786839","file4":"1396786845","file5":"1396786846","file3":"1396786844"},"map_files_photo_id_array":[{"photo_id":"1396786846","filename":"file5"},{"photo_id":"1396786842","filename":"file2"},{"photo_id":"1396786845","filename":"file4"},{"photo_id":"1396786841","filename":"file1"},{"photo_id":"1396786839","filename":"file0"},{"photo_id":"1396786844","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396786842":["hashtag1","hashtag2"]},{"1396786845":["hashtag1","hashtag2"]},{"1396786839":["hashtag1","hashtag2"]},{"1396786841":["hashtag1","hashtag2"]},{"1396786844":["hashtag1","hashtag2"]},{"1396786846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396786842, 1396786845, 1396786839, 1396786841, 1396786844, 1396786846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89074993133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:35:12.052187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_08_3603.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_11_2782.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_14_2611.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_16_2698.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_20_3558.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_23_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_08_3603.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_11_2782.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_14_2611.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_16_2698.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_20_3558.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_23_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786871","1396786853","1396786873","1396786866","1396786869","1396786848"],"photo_ids_order":["1396786848","1396786853","1396786866","1396786869","1396786871","1396786873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b98d8fcc9cf0288df4decc3fd90c114d.jpg","text":"TemporaryFile(/tmp/multipartBody1326643180976110490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372975648,"filename":"image_25112025_17_03_20_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/375fcaa85e60bc8d054597e8b0fe93e3.jpg","text":"TemporaryFile(/tmp/multipartBody1513670150982504761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372975648,"filename":"image_25112025_17_03_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/11/29/30ce42985bc00be3a0c4d2acb0627570.jpg","text":"TemporaryFile(/tmp/multipartBody5321107376819655710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372975648,"filename":"image_25112025_17_03_23_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ce5d68ba3f85fcb840b3099c4e8e402.jpg","text":"TemporaryFile(/tmp/multipartBody6049205472989903950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372975648,"filename":"image_25112025_17_03_14_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a0163e7a6ea8ec5e804c194f73c8169.jpg","text":"TemporaryFile(/tmp/multipartBody486789946184294249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372975648,"filename":"image_25112025_17_03_16_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d374d966884aaf121eb46baf3e5b012.jpg","text":"TemporaryFile(/tmp/multipartBody8019874785591490154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764372975648,"filename":"image_25112025_17_03_08_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786866","file1":"1396786853","file0":"1396786848","file4":"1396786871","file5":"1396786873","file3":"1396786869"},"map_files_photo_id_array":[{"photo_id":"1396786873","filename":"file5"},{"photo_id":"1396786866","filename":"file2"},{"photo_id":"1396786871","filename":"file4"},{"photo_id":"1396786853","filename":"file1"},{"photo_id":"1396786848","filename":"file0"},{"photo_id":"1396786869","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396786871":["hashtag1","hashtag2"]},{"1396786853":["hashtag1","hashtag2"]},{"1396786873":["hashtag1","hashtag2"]},{"1396786866":["hashtag1","hashtag2"]},{"1396786869":["hashtag1","hashtag2"]},{"1396786848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396786871, 1396786853, 1396786873, 1396786866, 1396786869, 1396786848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11098623275757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:36:02.693961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/32/image_29112025_00_32_55_10740.jpg', '/home/pi/Desktop/images/29112025/00/34/image_29112025_00_34_24_9623.jpg', '/home/pi/Desktop/images/29112025/00/34/image_29112025_00_34_45_10775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/32/image_29112025_00_32_55_10740.jpg
/home/pi/Desktop/images/29112025/00/34/image_29112025_00_34_24_9623.jpg
/home/pi/Desktop/images/29112025/00/34/image_29112025_00_34_45_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":["1396786895","1396786898","1396786894"],"photo_ids_order":["1396786894","1396786895","1396786898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf2c50731d60271053d78287d0844921.jpg","text":"TemporaryFile(/tmp/multipartBody4220289505658217907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373023376,"filename":"image_29112025_00_34_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/11/29/bc912eb7492e0b6d40a98fc276d3e97c.jpg","text":"TemporaryFile(/tmp/multipartBody6273282298681760254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373023376,"filename":"image_29112025_00_34_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/11/29/3b260d7c71b0765e3eebb31852191a47.jpg","text":"TemporaryFile(/tmp/multipartBody6212435166009230711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373023376,"filename":"image_29112025_00_32_55_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786898","file1":"1396786895","file0":"1396786894"},"map_files_photo_id_array":[{"photo_id":"1396786898","filename":"file2"},{"photo_id":"1396786895","filename":"file1"},{"photo_id":"1396786894","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396786895":["hashtag1","hashtag2"]},{"1396786898":["hashtag1","hashtag2"]},{"1396786894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396786895, 1396786898, 1396786894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.238096475601196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:36:32.286733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_26_3680.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_29_2574.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_31_2591.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_35_3631.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_38_2687.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_41_3528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_26_3680.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_29_2574.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_31_2591.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_35_3631.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_38_2687.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_41_3528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786911","1396786913","1396786910","1396786912","1396786906","1396786909"],"photo_ids_order":["1396786906","1396786909","1396786910","1396786911","1396786912","1396786913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6a5738c628b3a8f4f19cc5b6de3691c.jpg","text":"TemporaryFile(/tmp/multipartBody1422407087600477287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373054507,"filename":"image_25112025_17_03_35_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6e1ff30252d523969f15869d5099960.jpg","text":"TemporaryFile(/tmp/multipartBody8130357525178026151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373054507,"filename":"image_25112025_17_03_41_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e06ca6f47d2783d1f1c7e176f7b7131.jpg","text":"TemporaryFile(/tmp/multipartBody7774043809550086240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373054507,"filename":"image_25112025_17_03_31_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19e342174c7210074154848c551bb441.jpg","text":"TemporaryFile(/tmp/multipartBody1952577337096775591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373054507,"filename":"image_25112025_17_03_38_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e379c1996b542f65d3fd579b542670af.jpg","text":"TemporaryFile(/tmp/multipartBody2698077892796510422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373054507,"filename":"image_25112025_17_03_26_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d2a8a5d5f62c83d22adaf01fac7c62c.jpg","text":"TemporaryFile(/tmp/multipartBody5146550062782098235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373054507,"filename":"image_25112025_17_03_29_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786910","file1":"1396786909","file0":"1396786906","file4":"1396786912","file5":"1396786913","file3":"1396786911"},"map_files_photo_id_array":[{"photo_id":"1396786913","filename":"file5"},{"photo_id":"1396786910","filename":"file2"},{"photo_id":"1396786912","filename":"file4"},{"photo_id":"1396786909","filename":"file1"},{"photo_id":"1396786906","filename":"file0"},{"photo_id":"1396786911","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396786911":["hashtag1","hashtag2"]},{"1396786913":["hashtag1","hashtag2"]},{"1396786910":["hashtag1","hashtag2"]},{"1396786912":["hashtag1","hashtag2"]},{"1396786906":["hashtag1","hashtag2"]},{"1396786909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396786911, 1396786913, 1396786910, 1396786912, 1396786906, 1396786909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.653589963912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:37:12.461581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_44_2545.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_46_2678.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_50_3574.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_53_2747.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_55_2572.jpg', '/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_59_3632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_44_2545.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_46_2678.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_50_3574.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_53_2747.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_55_2572.jpg
/home/pi/Desktop/images/25112025/17/03/image_25112025_17_03_59_3632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786920","1396786914","1396786922","1396786916","1396786919","1396786924"],"photo_ids_order":["1396786914","1396786916","1396786919","1396786920","1396786922","1396786924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94d183c824906b25f3f47853b9af5330.jpg","text":"TemporaryFile(/tmp/multipartBody8575315895819121407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373094641,"filename":"image_25112025_17_03_53_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba89977924080bc0d5703b2a957835be.jpg","text":"TemporaryFile(/tmp/multipartBody3333704513180157248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373094641,"filename":"image_25112025_17_03_44_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/129bea530ce379c30058d063ae1bfc0f.jpg","text":"TemporaryFile(/tmp/multipartBody4095603873381741269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373094641,"filename":"image_25112025_17_03_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/11/29/323f91212e84dd214ed0e553e64c8ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8557648710646730310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373094641,"filename":"image_25112025_17_03_46_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3380d6c051392591ce7522ffb6fe7ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8729762820786955182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373094641,"filename":"image_25112025_17_03_50_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63833810ce1067c6a5ebe6316da0ba83.jpg","text":"TemporaryFile(/tmp/multipartBody7072692496480066822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373094641,"filename":"image_25112025_17_03_59_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786919","file1":"1396786916","file0":"1396786914","file4":"1396786922","file5":"1396786924","file3":"1396786920"},"map_files_photo_id_array":[{"photo_id":"1396786924","filename":"file5"},{"photo_id":"1396786919","filename":"file2"},{"photo_id":"1396786922","filename":"file4"},{"photo_id":"1396786916","filename":"file1"},{"photo_id":"1396786914","filename":"file0"},{"photo_id":"1396786920","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396786920":["hashtag1","hashtag2"]},{"1396786914":["hashtag1","hashtag2"]},{"1396786922":["hashtag1","hashtag2"]},{"1396786916":["hashtag1","hashtag2"]},{"1396786919":["hashtag1","hashtag2"]},{"1396786924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396786920, 1396786914, 1396786922, 1396786916, 1396786919, 1396786924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11870813369751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:38:03.119000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/34/image_29112025_00_34_54_9746.jpg', '/home/pi/Desktop/images/29112025/00/36/image_29112025_00_37_04_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/34/image_29112025_00_34_54_9746.jpg
/home/pi/Desktop/images/29112025/00/36/image_29112025_00_37_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":["1396786929","1396786928"],"photo_ids_order":["1396786928","1396786929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/954d4b8019eb9be3d5d4ea542632b6da.jpg","text":"TemporaryFile(/tmp/multipartBody5897354012523144022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373143735,"filename":"image_29112025_00_37_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39318f905066adb1401cbd268383708f.jpg","text":"TemporaryFile(/tmp/multipartBody3369097292245465269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373143735,"filename":"image_29112025_00_34_54_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396786929","file0":"1396786928"},"map_files_photo_id_array":[{"photo_id":"1396786929","filename":"file1"},{"photo_id":"1396786928","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396786929":["hashtag1","hashtag2"]},{"1396786928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396786929, 1396786928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.049390077590942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:38:32.676451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_02_2585.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_05_3591.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_08_2672.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_11_2680.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_13_2766.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_17_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_02_2585.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_05_3591.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_08_2672.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_11_2680.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_13_2766.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_17_3719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786941","1396786938","1396786940","1396786943","1396786942","1396786936"],"photo_ids_order":["1396786936","1396786938","1396786940","1396786941","1396786942","1396786943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb68e2a06fdc72c2625e4e92325b5b7e.jpg","text":"TemporaryFile(/tmp/multipartBody2385259770575093587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373174916,"filename":"image_25112025_17_04_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/11/29/bf3a3764f4329d3139fc4fb1db42dfeb.jpg","text":"TemporaryFile(/tmp/multipartBody3917359267044085975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373174916,"filename":"image_25112025_17_04_05_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a4be7c1a10722a9e7e6f3a5a38d4fda.jpg","text":"TemporaryFile(/tmp/multipartBody2301943454643139990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373174916,"filename":"image_25112025_17_04_08_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cdc0a2ab233e1aba2023b41edf21b15.jpg","text":"TemporaryFile(/tmp/multipartBody7149817194619320281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373174916,"filename":"image_25112025_17_04_17_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/414c9522168fe25a7c6f70845a10dc40.jpg","text":"TemporaryFile(/tmp/multipartBody6337376698515058514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373174916,"filename":"image_25112025_17_04_13_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f926ce9ae745bf59bdff1761d2fded99.jpg","text":"TemporaryFile(/tmp/multipartBody7146918668705438054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373174916,"filename":"image_25112025_17_04_02_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786940","file1":"1396786938","file0":"1396786936","file4":"1396786942","file5":"1396786943","file3":"1396786941"},"map_files_photo_id_array":[{"photo_id":"1396786943","filename":"file5"},{"photo_id":"1396786940","filename":"file2"},{"photo_id":"1396786942","filename":"file4"},{"photo_id":"1396786938","filename":"file1"},{"photo_id":"1396786936","filename":"file0"},{"photo_id":"1396786941","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396786941":["hashtag1","hashtag2"]},{"1396786938":["hashtag1","hashtag2"]},{"1396786940":["hashtag1","hashtag2"]},{"1396786943":["hashtag1","hashtag2"]},{"1396786942":["hashtag1","hashtag2"]},{"1396786936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396786941, 1396786938, 1396786940, 1396786943, 1396786942, 1396786936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61839938163757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:39:12.813244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_20_2710.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_23_3544.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_26_3049.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_29_2689.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_32_3039.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_35_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_20_2710.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_23_3544.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_26_3049.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_29_2689.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_32_3039.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_35_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":["1396786959","1396786944","1396786946","1396786949","1396786951","1396786953"],"photo_ids_order":["1396786944","1396786946","1396786949","1396786951","1396786953","1396786959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d11480be4afb1fccbea8fefac0b162e.jpg","text":"TemporaryFile(/tmp/multipartBody4213583746725410023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373214961,"filename":"image_25112025_17_04_35_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f2833c767cf8ce5747ba0a9c30d7a95.jpg","text":"TemporaryFile(/tmp/multipartBody5150803622244524248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373214961,"filename":"image_25112025_17_04_20_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/217d53b13febded96c6c1d0d38f6343b.jpg","text":"TemporaryFile(/tmp/multipartBody8919066466745870727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373214961,"filename":"image_25112025_17_04_23_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8670eeed2e4de48749961f8c01bf9b81.jpg","text":"TemporaryFile(/tmp/multipartBody5391252594909350900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373214961,"filename":"image_25112025_17_04_26_3049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/647ca69ae6302915f8a759d5d64815b2.jpg","text":"TemporaryFile(/tmp/multipartBody3754138243007855741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373214961,"filename":"image_25112025_17_04_29_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd4a3a9047bf3bd50938d686f04e0ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5475065530351224661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373214961,"filename":"image_25112025_17_04_32_3039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786949","file1":"1396786946","file0":"1396786944","file4":"1396786953","file5":"1396786959","file3":"1396786951"},"map_files_photo_id_array":[{"photo_id":"1396786959","filename":"file5"},{"photo_id":"1396786949","filename":"file2"},{"photo_id":"1396786953","filename":"file4"},{"photo_id":"1396786946","filename":"file1"},{"photo_id":"1396786944","filename":"file0"},{"photo_id":"1396786951","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396786959":["hashtag1","hashtag2"]},{"1396786944":["hashtag1","hashtag2"]},{"1396786946":["hashtag1","hashtag2"]},{"1396786949":["hashtag1","hashtag2"]},{"1396786951":["hashtag1","hashtag2"]},{"1396786953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396786959, 1396786944, 1396786946, 1396786949, 1396786951, 1396786953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14163136482239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:40:02.465702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/37/image_29112025_00_37_25_10600.jpg', '/home/pi/Desktop/images/29112025/00/38/image_29112025_00_38_44_9679.jpg', '/home/pi/Desktop/images/29112025/00/39/image_29112025_00_39_14_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/37/image_29112025_00_37_25_10600.jpg
/home/pi/Desktop/images/29112025/00/38/image_29112025_00_38_44_9679.jpg
/home/pi/Desktop/images/29112025/00/39/image_29112025_00_39_14_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396786991","1396786990","1396786989"],"photo_ids_order":["1396786989","1396786990","1396786991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/33de281af1be875e2eba5fcdb2e3aa51.jpg","text":"TemporaryFile(/tmp/multipartBody8441630263549962661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373263126,"filename":"image_29112025_00_39_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/11/29/4d68f93fa30e4b58b4ad45c68216dae9.jpg","text":"TemporaryFile(/tmp/multipartBody7712873775637374154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373263126,"filename":"image_29112025_00_38_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d71b6b5ad100790789b2fcbc9a531a7c.jpg","text":"TemporaryFile(/tmp/multipartBody5162128938622351910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373263126,"filename":"image_29112025_00_37_25_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396786991","file1":"1396786990","file0":"1396786989"},"map_files_photo_id_array":[{"photo_id":"1396786991","filename":"file2"},{"photo_id":"1396786990","filename":"file1"},{"photo_id":"1396786989","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396786991":["hashtag1","hashtag2"]},{"1396786990":["hashtag1","hashtag2"]},{"1396786989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396786991, 1396786990, 1396786989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.251099109649658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:40:32.169601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_37_2569.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_41_3599.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_43_2577.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_47_3641.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_50_2630.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_52_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_37_2569.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_41_3599.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_43_2577.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_47_3641.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_50_2630.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_52_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787010","1396787007","1396787009","1396787005","1396787008","1396787002"],"photo_ids_order":["1396787002","1396787005","1396787007","1396787008","1396787009","1396787010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bb5a82a7abc38f0e8ae08cd7e49d656.jpg","text":"TemporaryFile(/tmp/multipartBody4366506754858122511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373294421,"filename":"image_25112025_17_04_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/11/29/d7e9731b7377f32078febb86be7f2330.jpg","text":"TemporaryFile(/tmp/multipartBody3203716135289340863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373294421,"filename":"image_25112025_17_04_43_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75f87ac989a21ccaac1a22b4546175f2.jpg","text":"TemporaryFile(/tmp/multipartBody954026012024491100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373294421,"filename":"image_25112025_17_04_50_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/552bf6caed6295aab4aa29294a2c60b0.jpg","text":"TemporaryFile(/tmp/multipartBody9191531739270083450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373294421,"filename":"image_25112025_17_04_41_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30c7988102f99943419607653d178e0b.jpg","text":"TemporaryFile(/tmp/multipartBody6648042724530400410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373294421,"filename":"image_25112025_17_04_47_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07db4d7c3f85db218cd226013fae9580.jpg","text":"TemporaryFile(/tmp/multipartBody1867088870145630545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373294421,"filename":"image_25112025_17_04_37_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787007","file1":"1396787005","file0":"1396787002","file4":"1396787009","file5":"1396787010","file3":"1396787008"},"map_files_photo_id_array":[{"photo_id":"1396787010","filename":"file5"},{"photo_id":"1396787007","filename":"file2"},{"photo_id":"1396787009","filename":"file4"},{"photo_id":"1396787005","filename":"file1"},{"photo_id":"1396787002","filename":"file0"},{"photo_id":"1396787008","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787010":["hashtag1","hashtag2"]},{"1396787007":["hashtag1","hashtag2"]},{"1396787009":["hashtag1","hashtag2"]},{"1396787005":["hashtag1","hashtag2"]},{"1396787008":["hashtag1","hashtag2"]},{"1396787002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787010, 1396787007, 1396787009, 1396787005, 1396787008, 1396787002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.454840421676636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:41:12.361921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_55_2760.jpg', '/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_59_3544.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_07_3010.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_11_3506.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_13_2722.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_17_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_55_2760.jpg
/home/pi/Desktop/images/25112025/17/04/image_25112025_17_04_59_3544.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_07_3010.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_11_3506.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_13_2722.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_17_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787019","1396787013","1396787021","1396787023","1396787011","1396787016"],"photo_ids_order":["1396787011","1396787013","1396787016","1396787019","1396787021","1396787023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74ba550ac05e8141ea0ecffa981fdba5.jpg","text":"TemporaryFile(/tmp/multipartBody3279903736971335883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373334503,"filename":"image_25112025_17_05_11_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb51a59078790c329adc326dfdfb04fb.jpg","text":"TemporaryFile(/tmp/multipartBody4985632802363829529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373334503,"filename":"image_25112025_17_04_59_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a32106152fec4363e002b542981c00f1.jpg","text":"TemporaryFile(/tmp/multipartBody8218313352328334973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373334503,"filename":"image_25112025_17_05_13_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53066b80089e7ff3e3489a16ff32871c.jpg","text":"TemporaryFile(/tmp/multipartBody69780284181765454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373334503,"filename":"image_25112025_17_05_17_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3305db6b12f89d38f961747f8b102f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7703594987470245774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373334503,"filename":"image_25112025_17_04_55_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2cadcd0e35f2fa3938b70a2ffc7f089.jpg","text":"TemporaryFile(/tmp/multipartBody2287606454975702447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373334503,"filename":"image_25112025_17_05_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787016","file1":"1396787013","file0":"1396787011","file4":"1396787021","file5":"1396787023","file3":"1396787019"},"map_files_photo_id_array":[{"photo_id":"1396787023","filename":"file5"},{"photo_id":"1396787016","filename":"file2"},{"photo_id":"1396787021","filename":"file4"},{"photo_id":"1396787013","filename":"file1"},{"photo_id":"1396787011","filename":"file0"},{"photo_id":"1396787019","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787019":["hashtag1","hashtag2"]},{"1396787013":["hashtag1","hashtag2"]},{"1396787021":["hashtag1","hashtag2"]},{"1396787023":["hashtag1","hashtag2"]},{"1396787011":["hashtag1","hashtag2"]},{"1396787016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787019, 1396787013, 1396787021, 1396787023, 1396787011, 1396787016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37698221206665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:42:02.879637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/39/image_29112025_00_39_44_9709.jpg', '/home/pi/Desktop/images/29112025/00/40/image_29112025_00_41_04_9751.jpg', '/home/pi/Desktop/images/29112025/00/41/image_29112025_00_41_14_9852.jpg', '/home/pi/Desktop/images/29112025/00/41/image_29112025_00_41_24_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/39/image_29112025_00_39_44_9709.jpg
/home/pi/Desktop/images/29112025/00/40/image_29112025_00_41_04_9751.jpg
/home/pi/Desktop/images/29112025/00/41/image_29112025_00_41_14_9852.jpg
/home/pi/Desktop/images/29112025/00/41/image_29112025_00_41_24_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":["1396787027","1396787024","1396787026","1396787028"],"photo_ids_order":["1396787024","1396787026","1396787027","1396787028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4ca774d1c6f7d527073d7fb90e6154f.jpg","text":"TemporaryFile(/tmp/multipartBody1265520211905549553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373383604,"filename":"image_29112025_00_41_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/11/29/3476cb4ddfbed93686eb8138ca35dfbd.jpg","text":"TemporaryFile(/tmp/multipartBody6532680954990692771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373383604,"filename":"image_29112025_00_39_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ab4c626faf8e9a1bd81f11bebccc400.jpg","text":"TemporaryFile(/tmp/multipartBody2228941326319080283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373383604,"filename":"image_29112025_00_41_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/11/29/b10fe1c36341a9654459c732f71bef2e.jpg","text":"TemporaryFile(/tmp/multipartBody1343256555345114654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373383604,"filename":"image_29112025_00_41_24_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787027","file1":"1396787026","file0":"1396787024","file3":"1396787028"},"map_files_photo_id_array":[{"photo_id":"1396787027","filename":"file2"},{"photo_id":"1396787026","filename":"file1"},{"photo_id":"1396787024","filename":"file0"},{"photo_id":"1396787028","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787027":["hashtag1","hashtag2"]},{"1396787024":["hashtag1","hashtag2"]},{"1396787026":["hashtag1","hashtag2"]},{"1396787028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787027, 1396787024, 1396787026, 1396787028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.56194043159485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:42:32.351260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_20_2667.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_22_2733.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_26_3611.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_29_2736.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_31_2541.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_35_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_20_2667.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_22_2733.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_26_3611.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_29_2736.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_31_2541.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_35_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787048","1396787050","1396787038","1396787046","1396787049","1396787043"],"photo_ids_order":["1396787038","1396787043","1396787046","1396787048","1396787049","1396787050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e2646fa4606ac25a24115e10a6fa5b0.jpg","text":"TemporaryFile(/tmp/multipartBody1100224802001593471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373414580,"filename":"image_25112025_17_05_29_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18a16563e3c5195d267df56f5dd96909.jpg","text":"TemporaryFile(/tmp/multipartBody1510994057036263114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373414580,"filename":"image_25112025_17_05_35_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd35915b601d8ca4e07ee06cf082931d.jpg","text":"TemporaryFile(/tmp/multipartBody1127594008543729091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373414580,"filename":"image_25112025_17_05_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/11/29/8e1e1f1ca5dd8d8d57ff0c28601a8e76.jpg","text":"TemporaryFile(/tmp/multipartBody1807989358882264910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373414580,"filename":"image_25112025_17_05_26_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77c9f2a7bf0e6c8a555e08118a305aa2.jpg","text":"TemporaryFile(/tmp/multipartBody3252583702059872577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373414580,"filename":"image_25112025_17_05_31_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/783d86729a51a7486370c95088dc6ea1.jpg","text":"TemporaryFile(/tmp/multipartBody5504682271435396972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373414580,"filename":"image_25112025_17_05_22_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787046","file1":"1396787043","file0":"1396787038","file4":"1396787049","file5":"1396787050","file3":"1396787048"},"map_files_photo_id_array":[{"photo_id":"1396787050","filename":"file5"},{"photo_id":"1396787046","filename":"file2"},{"photo_id":"1396787049","filename":"file4"},{"photo_id":"1396787043","filename":"file1"},{"photo_id":"1396787038","filename":"file0"},{"photo_id":"1396787048","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787048":["hashtag1","hashtag2"]},{"1396787050":["hashtag1","hashtag2"]},{"1396787038":["hashtag1","hashtag2"]},{"1396787046":["hashtag1","hashtag2"]},{"1396787049":["hashtag1","hashtag2"]},{"1396787043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787048, 1396787050, 1396787038, 1396787046, 1396787049, 1396787043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95998978614807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:43:12.480066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_38_2690.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_40_2642.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_44_3667.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_46_2528.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_49_2714.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_53_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_38_2690.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_40_2642.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_44_3667.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_46_2528.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_49_2714.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_53_3748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787051","1396787053","1396787064","1396787061","1396787055","1396787058"],"photo_ids_order":["1396787051","1396787053","1396787055","1396787058","1396787061","1396787064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8167929b072fdecf49ea0ae46859b1cb.jpg","text":"TemporaryFile(/tmp/multipartBody4798210759305003996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373454602,"filename":"image_25112025_17_05_38_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2313f82e625579d5f2d54f1e746963d.jpg","text":"TemporaryFile(/tmp/multipartBody7732534103783622883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373454602,"filename":"image_25112025_17_05_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/11/29/27c199f42882a29b547675b7ade59b5b.jpg","text":"TemporaryFile(/tmp/multipartBody1927383712256049354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373454602,"filename":"image_25112025_17_05_53_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccac8a0f168947c717bc2acb66f9072d.jpg","text":"TemporaryFile(/tmp/multipartBody5680665832368683641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373454602,"filename":"image_25112025_17_05_49_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11d2bc4b703d825d230637a18d35752e.jpg","text":"TemporaryFile(/tmp/multipartBody3334513263842107800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373454602,"filename":"image_25112025_17_05_44_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e9a4a5a9132cd52ad3f3602c395b1f4.jpg","text":"TemporaryFile(/tmp/multipartBody1277388512897794257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373454602,"filename":"image_25112025_17_05_46_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787055","file1":"1396787053","file0":"1396787051","file4":"1396787061","file5":"1396787064","file3":"1396787058"},"map_files_photo_id_array":[{"photo_id":"1396787064","filename":"file5"},{"photo_id":"1396787055","filename":"file2"},{"photo_id":"1396787061","filename":"file4"},{"photo_id":"1396787053","filename":"file1"},{"photo_id":"1396787051","filename":"file0"},{"photo_id":"1396787058","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787051":["hashtag1","hashtag2"]},{"1396787053":["hashtag1","hashtag2"]},{"1396787064":["hashtag1","hashtag2"]},{"1396787061":["hashtag1","hashtag2"]},{"1396787055":["hashtag1","hashtag2"]},{"1396787058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787051, 1396787053, 1396787064, 1396787061, 1396787055, 1396787058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25999617576599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:44:03.358562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_56_2654.jpg', '/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_58_2803.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_02_3656.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_05_2741.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_07_2680.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_10_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_56_2654.jpg
/home/pi/Desktop/images/25112025/17/05/image_25112025_17_05_58_2803.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_02_3656.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_05_2741.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_07_2680.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_10_2757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787075","1396787072","1396787120","1396787098","1396787092","1396787101"],"photo_ids_order":["1396787072","1396787075","1396787092","1396787098","1396787101","1396787120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f13e3395dbadbec9e5fc1a74556e7a5d.jpg","text":"TemporaryFile(/tmp/multipartBody3869456052152197615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373505036,"filename":"image_25112025_17_05_58_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e120056eac303c55a0b1b1c366a2ae3e.jpg","text":"TemporaryFile(/tmp/multipartBody7996368979334919564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373505036,"filename":"image_25112025_17_05_56_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f41ce02ad306e284837bd6dfced0c272.jpg","text":"TemporaryFile(/tmp/multipartBody5071737630590349679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373505036,"filename":"image_25112025_17_06_10_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/510a8e397ee93fecd9a69daa6922d6b2.jpg","text":"TemporaryFile(/tmp/multipartBody4780376489010274142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373505036,"filename":"image_25112025_17_06_05_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f3f625f5af11d4911008800163a3278.jpg","text":"TemporaryFile(/tmp/multipartBody8312511053924377568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373505036,"filename":"image_25112025_17_06_02_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b240310cda9ef396844c9633c0135908.jpg","text":"TemporaryFile(/tmp/multipartBody3854623256066640142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373505036,"filename":"image_25112025_17_06_07_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787092","file1":"1396787075","file0":"1396787072","file4":"1396787101","file5":"1396787120","file3":"1396787098"},"map_files_photo_id_array":[{"photo_id":"1396787120","filename":"file5"},{"photo_id":"1396787092","filename":"file2"},{"photo_id":"1396787101","filename":"file4"},{"photo_id":"1396787075","filename":"file1"},{"photo_id":"1396787072","filename":"file0"},{"photo_id":"1396787098","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787075":["hashtag1","hashtag2"]},{"1396787072":["hashtag1","hashtag2"]},{"1396787120":["hashtag1","hashtag2"]},{"1396787098":["hashtag1","hashtag2"]},{"1396787092":["hashtag1","hashtag2"]},{"1396787101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787075, 1396787072, 1396787120, 1396787098, 1396787092, 1396787101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46420669555664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:44:42.739643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_11_1808.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_13_1719.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_15_1746.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_16_1612.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_18_1596.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_26_8060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_11_1808.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_13_1719.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_15_1746.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_16_1612.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_18_1596.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_26_8060.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9576332569122314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:45:02.483797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/41/image_29112025_00_41_44_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/41/image_29112025_00_41_44_9684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787133"],"photo_id":"1396787133","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b911120577e18819de8f4972e7cb35e7.jpg","text":"TemporaryFile(/tmp/multipartBody4460783837837988386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373563077,"filename":"image_29112025_00_41_44_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396787133"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396787133"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.446958065032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:45:21.977469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/44/image_29112025_00_44_54_9697.jpg', '/home/pi/Desktop/images/29112025/00/45/image_29112025_00_45_24_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/44/image_29112025_00_44_54_9697.jpg
/home/pi/Desktop/images/29112025/00/45/image_29112025_00_45_24_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787138","1396787137"],"photo_ids_order":["1396787137","1396787138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f83ab893c6de9372abe395fc89705f59.jpg","text":"TemporaryFile(/tmp/multipartBody4655412092696248513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373582568,"filename":"image_29112025_00_45_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/11/29/a89cc93172f8cc657a4d9661e5d99023.jpg","text":"TemporaryFile(/tmp/multipartBody3580345537499266271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373582568,"filename":"image_29112025_00_44_54_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396787138","file0":"1396787137"},"map_files_photo_id_array":[{"photo_id":"1396787138","filename":"file1"},{"photo_id":"1396787137","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787138":["hashtag1","hashtag2"]},{"1396787137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787138, 1396787137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.089601278305054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:45:41.927021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_11_1808.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_13_1719.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_15_1746.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_16_1612.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_18_1596.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_26_8060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_11_1808.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_13_1719.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_15_1746.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_16_1612.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_18_1596.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_26_8060.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787144","1396787147","1396787143","1396787146","1396787145","1396787148"],"photo_ids_order":["1396787143","1396787144","1396787145","1396787146","1396787147","1396787148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92653105015efd0df5c26443ada409ef.jpg","text":"TemporaryFile(/tmp/multipartBody2799366109142732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373602875,"filename":"image_31102025_08_14_13_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bc758d1b5f5e2ff21b10e1a70c384d9.jpg","text":"TemporaryFile(/tmp/multipartBody6976713735913951499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373602875,"filename":"image_31102025_08_14_18_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14fd5d247da581d004521c19da13fd0c.jpg","text":"TemporaryFile(/tmp/multipartBody6733977692956516472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373602875,"filename":"image_31102025_08_14_11_1808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20927e360dc6e23c6d8de6db1b9a6175.jpg","text":"TemporaryFile(/tmp/multipartBody118482393668668213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373602875,"filename":"image_31102025_08_14_16_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f044c9246ceb9c4d0debf29f4a3ca27f.jpg","text":"TemporaryFile(/tmp/multipartBody6434851742716396021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373602875,"filename":"image_31102025_08_14_15_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af2d77856ea212e8a5e00c4b7dd89fec.jpg","text":"TemporaryFile(/tmp/multipartBody2829792201033060626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373602875,"filename":"image_31102025_08_14_26_8060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787145","file1":"1396787144","file0":"1396787143","file4":"1396787147","file5":"1396787148","file3":"1396787146"},"map_files_photo_id_array":[{"photo_id":"1396787148","filename":"file5"},{"photo_id":"1396787145","filename":"file2"},{"photo_id":"1396787147","filename":"file4"},{"photo_id":"1396787144","filename":"file1"},{"photo_id":"1396787143","filename":"file0"},{"photo_id":"1396787146","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787144":["hashtag1","hashtag2"]},{"1396787147":["hashtag1","hashtag2"]},{"1396787143":["hashtag1","hashtag2"]},{"1396787146":["hashtag1","hashtag2"]},{"1396787145":["hashtag1","hashtag2"]},{"1396787148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787144, 1396787147, 1396787143, 1396787146, 1396787145, 1396787148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7177312374115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:46:22.104146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/45/image_29112025_00_45_44_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/45/image_29112025_00_45_44_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787152"],"photo_id":"1396787152","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82480f73e69aa0705199ba47fb20b794.jpg","text":"TemporaryFile(/tmp/multipartBody845745492694882636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373642657,"filename":"image_29112025_00_45_44_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396787152"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396787152"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.293892860412598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:46:42.202976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_28_1664.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_29_1608.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_31_1620.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_33_1815.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_34_1575.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_37_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/08/14/image_31102025_08_14_28_1664.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_29_1608.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_31_1620.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_33_1815.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_34_1575.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_37_2617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787174","1396787162","1396787165","1396787164","1396787172","1396787175"],"photo_ids_order":["1396787162","1396787164","1396787165","1396787172","1396787174","1396787175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d442dbb2ee2a981c7ae7f4e544f0760f.jpg","text":"TemporaryFile(/tmp/multipartBody1383710443694838975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373663326,"filename":"image_31102025_08_14_34_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f9ea5bc1eee7a74aa01fafd19b25e64.jpg","text":"TemporaryFile(/tmp/multipartBody3625139511832000881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373663326,"filename":"image_31102025_08_14_28_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92bd019ed95774aafab640b57632a6f3.jpg","text":"TemporaryFile(/tmp/multipartBody350152967288637937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373663326,"filename":"image_31102025_08_14_31_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adc1af009ee75cccaf5d8f333290ac02.jpg","text":"TemporaryFile(/tmp/multipartBody6122729551554703381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373663326,"filename":"image_31102025_08_14_29_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/715e701f65ef89b5467747d67804a164.jpg","text":"TemporaryFile(/tmp/multipartBody4727186556114167326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373663326,"filename":"image_31102025_08_14_33_1815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3ccc78fa069a9771fb6a0d5445a64cd.jpg","text":"TemporaryFile(/tmp/multipartBody9066616024611766674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373663326,"filename":"image_31102025_08_14_37_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787165","file1":"1396787164","file0":"1396787162","file4":"1396787174","file5":"1396787175","file3":"1396787172"},"map_files_photo_id_array":[{"photo_id":"1396787175","filename":"file5"},{"photo_id":"1396787165","filename":"file2"},{"photo_id":"1396787174","filename":"file4"},{"photo_id":"1396787164","filename":"file1"},{"photo_id":"1396787162","filename":"file0"},{"photo_id":"1396787172","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787174":["hashtag1","hashtag2"]},{"1396787162":["hashtag1","hashtag2"]},{"1396787165":["hashtag1","hashtag2"]},{"1396787164":["hashtag1","hashtag2"]},{"1396787172":["hashtag1","hashtag2"]},{"1396787175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787174, 1396787162, 1396787165, 1396787164, 1396787172, 1396787175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17769765853882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:47:22.370471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/45/image_29112025_00_46_04_9630.jpg', '/home/pi/Desktop/images/29112025/00/47/image_29112025_00_47_14_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/45/image_29112025_00_46_04_9630.jpg
/home/pi/Desktop/images/29112025/00/47/image_29112025_00_47_14_9756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787182","1396787184"],"photo_ids_order":["1396787182","1396787184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa172e3767ae6990065d223eed2fe0e3.jpg","text":"TemporaryFile(/tmp/multipartBody5181184156808372433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373702973,"filename":"image_29112025_00_46_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70ae3b5637356e61c7f4c3c5474cf30c.jpg","text":"TemporaryFile(/tmp/multipartBody3098859735750835206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373702973,"filename":"image_29112025_00_47_14_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396787184","file0":"1396787182"},"map_files_photo_id_array":[{"photo_id":"1396787184","filename":"file1"},{"photo_id":"1396787182","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787182":["hashtag1","hashtag2"]},{"1396787184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787182, 1396787184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.350731372833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:47:42.533842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_39_2636.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_43_3602.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_46_2775.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_48_2615.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_52_3666.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_55_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/08/14/image_31102025_08_14_39_2636.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_43_3602.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_46_2775.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_48_2615.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_52_3666.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_55_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":["1396787192","1396787191","1396787194","1396787188","1396787190","1396787193"],"photo_ids_order":["1396787188","1396787190","1396787191","1396787192","1396787193","1396787194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3c6a87096e2c3b0b543784ef3ab3735.jpg","text":"TemporaryFile(/tmp/multipartBody5914321072872569649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373723660,"filename":"image_31102025_08_14_48_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d51cf55691f244cd13c23288656e5b7f.jpg","text":"TemporaryFile(/tmp/multipartBody4363084084200443575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373723660,"filename":"image_31102025_08_14_46_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83ff0d36f5f90753cf4ce151acc318f5.jpg","text":"TemporaryFile(/tmp/multipartBody2278355172810122391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373723660,"filename":"image_31102025_08_14_55_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de7a56e5d1f8a91f13520cd94df0b898.jpg","text":"TemporaryFile(/tmp/multipartBody6401991182229230807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373723660,"filename":"image_31102025_08_14_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/11/29/628adf45634a7bbe14f78906f92ec201.jpg","text":"TemporaryFile(/tmp/multipartBody4441536390290121898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373723660,"filename":"image_31102025_08_14_43_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/456bd1e46493b5ac8994a0929fdad495.jpg","text":"TemporaryFile(/tmp/multipartBody7189961596683402810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373723660,"filename":"image_31102025_08_14_52_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787191","file1":"1396787190","file0":"1396787188","file4":"1396787193","file5":"1396787194","file3":"1396787192"},"map_files_photo_id_array":[{"photo_id":"1396787194","filename":"file5"},{"photo_id":"1396787191","filename":"file2"},{"photo_id":"1396787193","filename":"file4"},{"photo_id":"1396787190","filename":"file1"},{"photo_id":"1396787188","filename":"file0"},{"photo_id":"1396787192","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787192":["hashtag1","hashtag2"]},{"1396787191":["hashtag1","hashtag2"]},{"1396787194":["hashtag1","hashtag2"]},{"1396787188":["hashtag1","hashtag2"]},{"1396787190":["hashtag1","hashtag2"]},{"1396787193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787192, 1396787191, 1396787194, 1396787188, 1396787190, 1396787193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70436954498291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:48:22.681932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_14_3641.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_16_2561.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_20_3572.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_25_2670.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_29_3659.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_32_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_14_3641.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_16_2561.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_20_3572.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_25_2670.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_29_3659.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_32_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":["1396787205","1396787198","1396787207","1396787201","1396787203","1396787209"],"photo_ids_order":["1396787198","1396787201","1396787203","1396787205","1396787207","1396787209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ffb82bbe1be30d41fd973d9f23884dc.jpg","text":"TemporaryFile(/tmp/multipartBody4822866317440520405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373765076,"filename":"image_25112025_17_06_25_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0cb1e1f84e0428e4b58465ea19382256.jpg","text":"TemporaryFile(/tmp/multipartBody3988646213057798663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373765076,"filename":"image_25112025_17_06_14_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b3d184a1e9a8467baecab5542c72f78.jpg","text":"TemporaryFile(/tmp/multipartBody590259581387737113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373765076,"filename":"image_25112025_17_06_29_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2cb6dfbfdeb39f34b9ee473ea0bcb7a.jpg","text":"TemporaryFile(/tmp/multipartBody6430271071549762329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373765076,"filename":"image_25112025_17_06_16_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/583a9e2315245d1962e27315b8b53a69.jpg","text":"TemporaryFile(/tmp/multipartBody4402384650027695293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373765076,"filename":"image_25112025_17_06_20_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2d39151a27b3414bb2d1ff6d6dbcaaf.jpg","text":"TemporaryFile(/tmp/multipartBody5679912849840699556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373765076,"filename":"image_25112025_17_06_32_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787203","file1":"1396787201","file0":"1396787198","file4":"1396787207","file5":"1396787209","file3":"1396787205"},"map_files_photo_id_array":[{"photo_id":"1396787209","filename":"file5"},{"photo_id":"1396787203","filename":"file2"},{"photo_id":"1396787207","filename":"file4"},{"photo_id":"1396787201","filename":"file1"},{"photo_id":"1396787198","filename":"file0"},{"photo_id":"1396787205","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787205":["hashtag1","hashtag2"]},{"1396787198":["hashtag1","hashtag2"]},{"1396787207":["hashtag1","hashtag2"]},{"1396787201":["hashtag1","hashtag2"]},{"1396787203":["hashtag1","hashtag2"]},{"1396787209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787205, 1396787198, 1396787207, 1396787201, 1396787203, 1396787209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03101849555969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:49:02.972175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_34_2626.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_37_2804.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_41_3706.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_43_2502.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_46_2769.jpg', '/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_56_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_34_2626.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_37_2804.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_41_3706.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_43_2502.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_46_2769.jpg
/home/pi/Desktop/images/25112025/17/06/image_25112025_17_06_56_3733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787217","1396787211","1396787219","1396787210","1396787212","1396787214"],"photo_ids_order":["1396787210","1396787211","1396787212","1396787214","1396787217","1396787219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0dc8a5fd9c26f83ce937241d3846eb4.jpg","text":"TemporaryFile(/tmp/multipartBody7136923207369116154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373804692,"filename":"image_25112025_17_06_46_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de5cffe5c0719b959597b9a77a0f0489.jpg","text":"TemporaryFile(/tmp/multipartBody1373975187619796374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373804692,"filename":"image_25112025_17_06_37_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4858d2c530bb57ce9501122e9ab47c4.jpg","text":"TemporaryFile(/tmp/multipartBody3778657215995458346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373804692,"filename":"image_25112025_17_06_56_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a71e2e7d9c6836cd6aed559611162d1e.jpg","text":"TemporaryFile(/tmp/multipartBody6075998427825662781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373804692,"filename":"image_25112025_17_06_34_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83062566a5f6978cbd9ef9441ad06c89.jpg","text":"TemporaryFile(/tmp/multipartBody5583411494152379295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373804692,"filename":"image_25112025_17_06_41_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0be156257da71961f0fcbd9c22430ba.jpg","text":"TemporaryFile(/tmp/multipartBody9148359787180333959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373804692,"filename":"image_25112025_17_06_43_2502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787212","file1":"1396787211","file0":"1396787210","file4":"1396787217","file5":"1396787219","file3":"1396787214"},"map_files_photo_id_array":[{"photo_id":"1396787219","filename":"file5"},{"photo_id":"1396787212","filename":"file2"},{"photo_id":"1396787217","filename":"file4"},{"photo_id":"1396787211","filename":"file1"},{"photo_id":"1396787210","filename":"file0"},{"photo_id":"1396787214","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787217":["hashtag1","hashtag2"]},{"1396787211":["hashtag1","hashtag2"]},{"1396787219":["hashtag1","hashtag2"]},{"1396787210":["hashtag1","hashtag2"]},{"1396787212":["hashtag1","hashtag2"]},{"1396787214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787217, 1396787211, 1396787219, 1396787210, 1396787212, 1396787214)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.28937220573425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:50:02.547793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/47/image_29112025_00_47_35_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/47/image_29112025_00_47_35_10768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787226"],"photo_id":"1396787226","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b11880bec1ef49381607d886a634a897.jpg","text":"TemporaryFile(/tmp/multipartBody6818329995038147673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373863113,"filename":"image_29112025_00_47_35_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396787226"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396787226"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.791135549545288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:50:22.095583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/49/image_29112025_00_49_15_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/49/image_29112025_00_49_15_10639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787228"],"photo_id":"1396787228","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/383605fe959c8484f197d246ae24f937.jpg","text":"TemporaryFile(/tmp/multipartBody8789479081433198430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373882647,"filename":"image_29112025_00_49_15_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396787228"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396787228"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.134835720062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:50:42.085927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/14/image_31102025_08_14_57_2669.jpg', '/home/pi/Desktop/images/31102025/08/14/image_31102025_08_15_01_3716.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_04_2577.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_06_2657.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_09_2750.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_13_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/08/14/image_31102025_08_14_57_2669.jpg
/home/pi/Desktop/images/31102025/08/14/image_31102025_08_15_01_3716.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_04_2577.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_06_2657.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_09_2750.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_13_3550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787240","1396787243","1396787242","1396787245","1396787238","1396787241"],"photo_ids_order":["1396787238","1396787240","1396787241","1396787242","1396787243","1396787245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/155e277238790297063774fcd5c62f64.jpg","text":"TemporaryFile(/tmp/multipartBody3482122882467971534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373903199,"filename":"image_31102025_08_15_01_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9fb9a317b30a4e32efb9222c5357024d.jpg","text":"TemporaryFile(/tmp/multipartBody4890306229881863561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373903199,"filename":"image_31102025_08_15_09_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b2f16a8169bd93eda757ffdc8db923a.jpg","text":"TemporaryFile(/tmp/multipartBody421964644470535135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373903199,"filename":"image_31102025_08_15_06_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ae98bb02619c2892dc9414638d69d4c.jpg","text":"TemporaryFile(/tmp/multipartBody2242546845593147568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373903199,"filename":"image_31102025_08_15_13_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5423d09c77c6a477a734346091d9fe5.jpg","text":"TemporaryFile(/tmp/multipartBody551590971063239587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373903199,"filename":"image_31102025_08_14_57_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6daac5370930c948417659cdf2ed836.jpg","text":"TemporaryFile(/tmp/multipartBody6474537221757477866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373903199,"filename":"image_31102025_08_15_04_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787241","file1":"1396787240","file0":"1396787238","file4":"1396787243","file5":"1396787245","file3":"1396787242"},"map_files_photo_id_array":[{"photo_id":"1396787245","filename":"file5"},{"photo_id":"1396787241","filename":"file2"},{"photo_id":"1396787243","filename":"file4"},{"photo_id":"1396787240","filename":"file1"},{"photo_id":"1396787238","filename":"file0"},{"photo_id":"1396787242","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787240":["hashtag1","hashtag2"]},{"1396787243":["hashtag1","hashtag2"]},{"1396787242":["hashtag1","hashtag2"]},{"1396787245":["hashtag1","hashtag2"]},{"1396787238":["hashtag1","hashtag2"]},{"1396787241":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787240, 1396787243, 1396787242, 1396787245, 1396787238, 1396787241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01839065551758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:51:22.263812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/50/image_29112025_00_50_44_9645.jpg', '/home/pi/Desktop/images/29112025/00/51/image_29112025_00_51_34_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/50/image_29112025_00_50_44_9645.jpg
/home/pi/Desktop/images/29112025/00/51/image_29112025_00_51_34_9875.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787250","1396787253"],"photo_ids_order":["1396787250","1396787253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfef8b4c63846ce6fa42054b9a9426c9.jpg","text":"TemporaryFile(/tmp/multipartBody9041596597271035550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373942861,"filename":"image_29112025_00_50_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80a56d96d09376fac2c70607f559ac1e.jpg","text":"TemporaryFile(/tmp/multipartBody7332441770613617621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373942861,"filename":"image_29112025_00_51_34_9875.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396787253","file0":"1396787250"},"map_files_photo_id_array":[{"photo_id":"1396787253","filename":"file1"},{"photo_id":"1396787250","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787250":["hashtag1","hashtag2"]},{"1396787253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787250, 1396787253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.386953830718994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:51:42.324753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_15_2610.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_19_3775.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_22_2653.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_25_2902.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_27_2654.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_31_3802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_15_2610.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_19_3775.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_22_2653.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_25_2902.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_27_2654.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_31_3802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787261","1396787258","1396787260","1396787263","1396787262","1396787259"],"photo_ids_order":["1396787258","1396787259","1396787260","1396787261","1396787262","1396787263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89fbc8723a5043da2c85ed14fa512c69.jpg","text":"TemporaryFile(/tmp/multipartBody3768018941121167785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373963428,"filename":"image_31102025_08_15_25_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/399fa453449bc8d779cf128fbd59eddb.jpg","text":"TemporaryFile(/tmp/multipartBody9152052043330686839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373963428,"filename":"image_31102025_08_15_15_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/961f1c89c10e062f58c506508e2c9d68.jpg","text":"TemporaryFile(/tmp/multipartBody6091930834444251055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373963428,"filename":"image_31102025_08_15_22_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/094a35f4ea404ba4ac5032ddf06d99a1.jpg","text":"TemporaryFile(/tmp/multipartBody4717050095614897086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373963428,"filename":"image_31102025_08_15_31_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7b24bacd0c37d08877160860f41e2d7.jpg","text":"TemporaryFile(/tmp/multipartBody6775880893573630667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373963428,"filename":"image_31102025_08_15_27_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13882361bf0ff6618056cecd885d44ef.jpg","text":"TemporaryFile(/tmp/multipartBody4532777406196021212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764373963428,"filename":"image_31102025_08_15_19_3775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787260","file1":"1396787259","file0":"1396787258","file4":"1396787262","file5":"1396787263","file3":"1396787261"},"map_files_photo_id_array":[{"photo_id":"1396787263","filename":"file5"},{"photo_id":"1396787260","filename":"file2"},{"photo_id":"1396787262","filename":"file4"},{"photo_id":"1396787259","filename":"file1"},{"photo_id":"1396787258","filename":"file0"},{"photo_id":"1396787261","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787261":["hashtag1","hashtag2"]},{"1396787258":["hashtag1","hashtag2"]},{"1396787260":["hashtag1","hashtag2"]},{"1396787263":["hashtag1","hashtag2"]},{"1396787262":["hashtag1","hashtag2"]},{"1396787259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787261, 1396787258, 1396787260, 1396787263, 1396787262, 1396787259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11017107963562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:52:22.488139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/51/image_29112025_00_51_54_10676.jpg', '/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_14_9658.jpg', '/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_24_10619.jpg', '/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_34_9733.jpg', '/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_44_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/51/image_29112025_00_51_54_10676.jpg
/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_14_9658.jpg
/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_24_10619.jpg
/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_34_9733.jpg
/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_44_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787267","1396787276","1396787279","1396787270","1396787271"],"photo_ids_order":["1396787267","1396787270","1396787271","1396787276","1396787279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/772bdc3d7fb502355628750226ef1134.jpg","text":"TemporaryFile(/tmp/multipartBody3184858586808481814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374003225,"filename":"image_29112025_00_51_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/11/29/521a00e0d262ec5604b953dc12d36a54.jpg","text":"TemporaryFile(/tmp/multipartBody1461611533997938103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374003225,"filename":"image_29112025_00_52_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/11/29/869a5956641be6ab253c2233d3f8af9a.jpg","text":"TemporaryFile(/tmp/multipartBody9144812898145046830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374003225,"filename":"image_29112025_00_52_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/11/29/dd4ec8e69954784e0416e995d205d34c.jpg","text":"TemporaryFile(/tmp/multipartBody4454281087224743599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374003225,"filename":"image_29112025_00_52_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/11/29/fab2c52ed8c8a5fcbbdbe1ef84683e38.jpg","text":"TemporaryFile(/tmp/multipartBody524760802335151778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374003225,"filename":"image_29112025_00_52_24_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787271","file1":"1396787270","file0":"1396787267","file4":"1396787279","file3":"1396787276"},"map_files_photo_id_array":[{"photo_id":"1396787271","filename":"file2"},{"photo_id":"1396787279","filename":"file4"},{"photo_id":"1396787270","filename":"file1"},{"photo_id":"1396787267","filename":"file0"},{"photo_id":"1396787276","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787267":["hashtag1","hashtag2"]},{"1396787276":["hashtag1","hashtag2"]},{"1396787279":["hashtag1","hashtag2"]},{"1396787270":["hashtag1","hashtag2"]},{"1396787271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787267, 1396787276, 1396787279, 1396787270, 1396787271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.293479204177856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:53:03.206922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/10/image_25112025_17_10_55_2567.jpg', '/home/pi/Desktop/images/25112025/17/11/image_25112025_17_11_55_2655.jpg', '/home/pi/Desktop/images/25112025/17/12/image_25112025_17_12_23_3663.jpg', '/home/pi/Desktop/images/25112025/17/12/image_25112025_17_12_29_3587.jpg', '/home/pi/Desktop/images/25112025/17/12/image_25112025_17_12_35_2655.jpg', '/home/pi/Desktop/images/25112025/17/13/image_25112025_17_13_23_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/10/image_25112025_17_10_55_2567.jpg
/home/pi/Desktop/images/25112025/17/11/image_25112025_17_11_55_2655.jpg
/home/pi/Desktop/images/25112025/17/12/image_25112025_17_12_23_3663.jpg
/home/pi/Desktop/images/25112025/17/12/image_25112025_17_12_29_3587.jpg
/home/pi/Desktop/images/25112025/17/12/image_25112025_17_12_35_2655.jpg
/home/pi/Desktop/images/25112025/17/13/image_25112025_17_13_23_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787291","1396787285","1396787284","1396787287","1396787289","1396787283"],"photo_ids_order":["1396787283","1396787284","1396787285","1396787287","1396787289","1396787291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5526cfe356b14a112e5903a130fd2f96.jpg","text":"TemporaryFile(/tmp/multipartBody5552208248721026985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374044911,"filename":"image_25112025_17_13_23_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98d7afa1d96aedf2a48ba748099ec639.jpg","text":"TemporaryFile(/tmp/multipartBody3600597029190758978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374044911,"filename":"image_25112025_17_12_23_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78f6a236846fcf413cc76abc22ced08b.jpg","text":"TemporaryFile(/tmp/multipartBody1191058653716388618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374044911,"filename":"image_25112025_17_11_55_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84fb573768297ab90c68689e35cbeb77.jpg","text":"TemporaryFile(/tmp/multipartBody209160746390125822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374044911,"filename":"image_25112025_17_12_29_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40942028e1d98e17a36f64cfb31a0538.jpg","text":"TemporaryFile(/tmp/multipartBody2202909937297854307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374044911,"filename":"image_25112025_17_12_35_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/397cb4161eb3b9b9526e1bf51a490fbf.jpg","text":"TemporaryFile(/tmp/multipartBody1739783572529243326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374044911,"filename":"image_25112025_17_10_55_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787285","file1":"1396787284","file0":"1396787283","file4":"1396787289","file5":"1396787291","file3":"1396787287"},"map_files_photo_id_array":[{"photo_id":"1396787291","filename":"file5"},{"photo_id":"1396787285","filename":"file2"},{"photo_id":"1396787289","filename":"file4"},{"photo_id":"1396787284","filename":"file1"},{"photo_id":"1396787283","filename":"file0"},{"photo_id":"1396787287","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787291":["hashtag1","hashtag2"]},{"1396787285":["hashtag1","hashtag2"]},{"1396787284":["hashtag1","hashtag2"]},{"1396787287":["hashtag1","hashtag2"]},{"1396787289":["hashtag1","hashtag2"]},{"1396787283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787291, 1396787285, 1396787284, 1396787287, 1396787289, 1396787283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.478798389434814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:53:42.764939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_34_2647.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_36_2549.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_40_3652.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_43_2624.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_45_2809.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_49_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_34_2647.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_36_2549.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_40_3652.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_43_2624.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_45_2809.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_49_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787301","1396787296","1396787300","1396787299","1396787302","1396787298"],"photo_ids_order":["1396787296","1396787298","1396787299","1396787300","1396787301","1396787302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4350e8365189ac75e72ddb710cf74c7c.jpg","text":"TemporaryFile(/tmp/multipartBody8655846004615659078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374083872,"filename":"image_31102025_08_15_45_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64d8919887d01bcccebcbe97ab94bef2.jpg","text":"TemporaryFile(/tmp/multipartBody8821034735822705205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374083872,"filename":"image_31102025_08_15_34_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60340eea108afa3afb5338be00ef7269.jpg","text":"TemporaryFile(/tmp/multipartBody682161928625039172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374083872,"filename":"image_31102025_08_15_43_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf814986d51260279e967a5b77072839.jpg","text":"TemporaryFile(/tmp/multipartBody3922978542102838666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374083872,"filename":"image_31102025_08_15_40_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec653eae5acc8216662b93b09b5eddd6.jpg","text":"TemporaryFile(/tmp/multipartBody42034696276180554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374083872,"filename":"image_31102025_08_15_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/11/29/2c73ed2de633c2fee7cf3cf40b727208.jpg","text":"TemporaryFile(/tmp/multipartBody6868061908372573202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374083872,"filename":"image_31102025_08_15_36_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787299","file1":"1396787298","file0":"1396787296","file4":"1396787301","file5":"1396787302","file3":"1396787300"},"map_files_photo_id_array":[{"photo_id":"1396787302","filename":"file5"},{"photo_id":"1396787299","filename":"file2"},{"photo_id":"1396787301","filename":"file4"},{"photo_id":"1396787298","filename":"file1"},{"photo_id":"1396787296","filename":"file0"},{"photo_id":"1396787300","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787301":["hashtag1","hashtag2"]},{"1396787296":["hashtag1","hashtag2"]},{"1396787300":["hashtag1","hashtag2"]},{"1396787299":["hashtag1","hashtag2"]},{"1396787302":["hashtag1","hashtag2"]},{"1396787298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787301, 1396787296, 1396787300, 1396787299, 1396787302, 1396787298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38919115066528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 00:54:22.032179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_54_10585.jpg', '/home/pi/Desktop/images/29112025/00/53/image_29112025_00_53_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_54_10585.jpg
/home/pi/Desktop/images/29112025/00/53/image_29112025_00_53_54_9627.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4728426933288574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:54:31.915273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/13/image_25112025_17_13_26_2663.jpg', '/home/pi/Desktop/images/25112025/17/13/image_25112025_17_13_28_2781.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_02_2545.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_10_2507.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_13_2652.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_22_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/13/image_25112025_17_13_26_2663.jpg
/home/pi/Desktop/images/25112025/17/13/image_25112025_17_13_28_2781.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_02_2545.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_10_2507.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_13_2652.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_22_2786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787318","1396787315","1396787317","1396787311","1396787319","1396787313"],"photo_ids_order":["1396787311","1396787313","1396787315","1396787317","1396787318","1396787319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ce650bd87803057e5270a06eec97ddd.jpg","text":"TemporaryFile(/tmp/multipartBody4057090967377296046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374134165,"filename":"image_25112025_17_14_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/11/29/e678431ec6d64acd4285586c5d6378cb.jpg","text":"TemporaryFile(/tmp/multipartBody6808658876854591340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374134165,"filename":"image_25112025_17_14_02_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d99cfc3f7b09492eab58d1acb1f014fb.jpg","text":"TemporaryFile(/tmp/multipartBody7971172481266040141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374134165,"filename":"image_25112025_17_14_10_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cb7d3ab087f6f1c726cd3fba16fe738.jpg","text":"TemporaryFile(/tmp/multipartBody7304933374298118647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374134165,"filename":"image_25112025_17_13_26_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/678be5bc47d614436b6a2f25a9c3f2fe.jpg","text":"TemporaryFile(/tmp/multipartBody3004389379032630290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374134165,"filename":"image_25112025_17_14_22_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5252e4b2d9040eb4bdbf6aa2bd88cfa9.jpg","text":"TemporaryFile(/tmp/multipartBody1243392665991601102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374134165,"filename":"image_25112025_17_13_28_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787315","file1":"1396787313","file0":"1396787311","file4":"1396787318","file5":"1396787319","file3":"1396787317"},"map_files_photo_id_array":[{"photo_id":"1396787319","filename":"file5"},{"photo_id":"1396787315","filename":"file2"},{"photo_id":"1396787318","filename":"file4"},{"photo_id":"1396787313","filename":"file1"},{"photo_id":"1396787311","filename":"file0"},{"photo_id":"1396787317","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787318":["hashtag1","hashtag2"]},{"1396787315":["hashtag1","hashtag2"]},{"1396787317":["hashtag1","hashtag2"]},{"1396787311":["hashtag1","hashtag2"]},{"1396787319":["hashtag1","hashtag2"]},{"1396787313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787318, 1396787315, 1396787317, 1396787311, 1396787319, 1396787313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50109362602234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:55:12.106063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_25_2753.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_29_3710.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_31_2647.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_40_2692.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_44_3591.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_49_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_25_2753.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_29_3710.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_31_2647.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_40_2692.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_44_3591.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_49_2820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787321","1396787320","1396787331","1396787325","1396787334","1396787328"],"photo_ids_order":["1396787320","1396787321","1396787325","1396787328","1396787331","1396787334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8db72bdf951c1c162639aa8bcd02c24a.jpg","text":"TemporaryFile(/tmp/multipartBody3768249124668157825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374174220,"filename":"image_25112025_17_14_29_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/511365f5048f1f97bf4df755c51e0179.jpg","text":"TemporaryFile(/tmp/multipartBody797438276627497334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374174220,"filename":"image_25112025_17_14_25_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c36fd6f5abe034b79e401fc986edeb1e.jpg","text":"TemporaryFile(/tmp/multipartBody5596686257996229333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374174220,"filename":"image_25112025_17_14_44_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42a4bbd867b78f13345858cbf9f4fbf5.jpg","text":"TemporaryFile(/tmp/multipartBody6428970893161774778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374174220,"filename":"image_25112025_17_14_31_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93b9f4a9837f90e3859702a71bc9ab22.jpg","text":"TemporaryFile(/tmp/multipartBody4217903099725109282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374174220,"filename":"image_25112025_17_14_49_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edc2eef3c26d10aaff5833b42dd3e09b.jpg","text":"TemporaryFile(/tmp/multipartBody7555158136772391579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374174220,"filename":"image_25112025_17_14_40_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787325","file1":"1396787321","file0":"1396787320","file4":"1396787331","file5":"1396787334","file3":"1396787328"},"map_files_photo_id_array":[{"photo_id":"1396787334","filename":"file5"},{"photo_id":"1396787325","filename":"file2"},{"photo_id":"1396787331","filename":"file4"},{"photo_id":"1396787321","filename":"file1"},{"photo_id":"1396787320","filename":"file0"},{"photo_id":"1396787328","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787321":["hashtag1","hashtag2"]},{"1396787320":["hashtag1","hashtag2"]},{"1396787331":["hashtag1","hashtag2"]},{"1396787325":["hashtag1","hashtag2"]},{"1396787334":["hashtag1","hashtag2"]},{"1396787328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787321, 1396787320, 1396787331, 1396787325, 1396787334, 1396787328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.829527139663696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:56:02.724958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_54_10585.jpg', '/home/pi/Desktop/images/29112025/00/53/image_29112025_00_53_54_9627.jpg', '/home/pi/Desktop/images/29112025/00/53/image_29112025_00_54_05_10833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_54_10585.jpg
/home/pi/Desktop/images/29112025/00/53/image_29112025_00_53_54_9627.jpg
/home/pi/Desktop/images/29112025/00/53/image_29112025_00_54_05_10833.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5357928276062012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 00:56:12.289169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_53_3558.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_55_2507.jpg', '/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_58_2725.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_07_3017.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_11_3584.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_13_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_53_3558.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_55_2507.jpg
/home/pi/Desktop/images/25112025/17/14/image_25112025_17_14_58_2725.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_07_3017.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_11_3584.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_13_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787348","1396787339","1396787350","1396787341","1396787344","1396787346"],"photo_ids_order":["1396787339","1396787341","1396787344","1396787346","1396787348","1396787350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdd3e73218d0d91706f67a9ce73eb854.jpg","text":"TemporaryFile(/tmp/multipartBody6814961438923651123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374234419,"filename":"image_25112025_17_15_11_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71dc257e24babb83335d0fede9f1e073.jpg","text":"TemporaryFile(/tmp/multipartBody4351283147415022254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374234419,"filename":"image_25112025_17_14_53_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c95fb6b70a76e6f34c858ad23acf88c4.jpg","text":"TemporaryFile(/tmp/multipartBody4291677880437065147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374234419,"filename":"image_25112025_17_15_13_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcb401418ca1d984ad929354ed891a6d.jpg","text":"TemporaryFile(/tmp/multipartBody7964671911677934200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374234419,"filename":"image_25112025_17_14_55_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e6d831250c6ada1210e9e1901e20353.jpg","text":"TemporaryFile(/tmp/multipartBody5903730354930120700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374234419,"filename":"image_25112025_17_14_58_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/23beb86fc7033dd3317390eed17b55b7.jpg","text":"TemporaryFile(/tmp/multipartBody4589126391762639518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374234419,"filename":"image_25112025_17_15_07_3017.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787344","file1":"1396787341","file0":"1396787339","file4":"1396787348","file5":"1396787350","file3":"1396787346"},"map_files_photo_id_array":[{"photo_id":"1396787350","filename":"file5"},{"photo_id":"1396787344","filename":"file2"},{"photo_id":"1396787348","filename":"file4"},{"photo_id":"1396787341","filename":"file1"},{"photo_id":"1396787339","filename":"file0"},{"photo_id":"1396787346","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787348":["hashtag1","hashtag2"]},{"1396787339":["hashtag1","hashtag2"]},{"1396787350":["hashtag1","hashtag2"]},{"1396787341":["hashtag1","hashtag2"]},{"1396787344":["hashtag1","hashtag2"]},{"1396787346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787348, 1396787339, 1396787350, 1396787341, 1396787344, 1396787346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.023123025894165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:57:03.118336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_54_10585.jpg', '/home/pi/Desktop/images/29112025/00/53/image_29112025_00_53_54_9627.jpg', '/home/pi/Desktop/images/29112025/00/53/image_29112025_00_54_05_10833.jpg', '/home/pi/Desktop/images/29112025/00/55/image_29112025_00_55_24_9667.jpg', '/home/pi/Desktop/images/29112025/00/56/image_29112025_00_56_24_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/52/image_29112025_00_52_54_10585.jpg
/home/pi/Desktop/images/29112025/00/53/image_29112025_00_53_54_9627.jpg
/home/pi/Desktop/images/29112025/00/53/image_29112025_00_54_05_10833.jpg
/home/pi/Desktop/images/29112025/00/55/image_29112025_00_55_24_9667.jpg
/home/pi/Desktop/images/29112025/00/56/image_29112025_00_56_24_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":["1396787354","1396787359","1396787353","1396787356","1396787355"],"photo_ids_order":["1396787353","1396787354","1396787355","1396787356","1396787359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6377e114bd590854632809cf0710c050.jpg","text":"TemporaryFile(/tmp/multipartBody4286529630964813209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374283926,"filename":"image_29112025_00_53_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/11/29/508ae42071adde9de9a9d8516820fa7f.jpg","text":"TemporaryFile(/tmp/multipartBody8731453698796893808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374283926,"filename":"image_29112025_00_56_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/11/29/dc7239ec699b06b6e77362c342d1a9a7.jpg","text":"TemporaryFile(/tmp/multipartBody6252241280967856463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374283926,"filename":"image_29112025_00_52_54_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf2f4de3125dfdd956263dd6d0432640.jpg","text":"TemporaryFile(/tmp/multipartBody7744900322407685885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374283926,"filename":"image_29112025_00_55_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/11/29/66183decc51202deaf9bb12fae2283df.jpg","text":"TemporaryFile(/tmp/multipartBody633608144184721364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374283926,"filename":"image_29112025_00_54_05_10833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787355","file1":"1396787354","file0":"1396787353","file4":"1396787359","file3":"1396787356"},"map_files_photo_id_array":[{"photo_id":"1396787355","filename":"file2"},{"photo_id":"1396787359","filename":"file4"},{"photo_id":"1396787354","filename":"file1"},{"photo_id":"1396787353","filename":"file0"},{"photo_id":"1396787356","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787354":["hashtag1","hashtag2"]},{"1396787359":["hashtag1","hashtag2"]},{"1396787353":["hashtag1","hashtag2"]},{"1396787356":["hashtag1","hashtag2"]},{"1396787355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787354, 1396787359, 1396787353, 1396787356, 1396787355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.26658034324646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:57:42.471234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_52_2569.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_55_2954.jpg', '/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_57_2554.jpg', '/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_03_6226.jpg', '/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_21_17217.jpg', '/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_44_23530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_52_2569.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_55_2954.jpg
/home/pi/Desktop/images/31102025/08/15/image_31102025_08_15_57_2554.jpg
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_03_6226.jpg
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_21_17217.jpg
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_44_23530.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787372","1396787371","1396787374","1396787368","1396787373","1396787370"],"photo_ids_order":["1396787368","1396787370","1396787371","1396787372","1396787373","1396787374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd1071503cf783ef1ae8c1ffbfd7d0ba.jpg","text":"TemporaryFile(/tmp/multipartBody6607927133030227366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374323589,"filename":"image_31102025_08_16_03_6226.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c964b76bbe1b0a14bda34e964c105f1.jpg","text":"TemporaryFile(/tmp/multipartBody8067065356426856986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374323589,"filename":"image_31102025_08_15_57_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/faa35f6ac706c6fa49f8018aef13caf3.jpg","text":"TemporaryFile(/tmp/multipartBody143043359873986650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374323589,"filename":"image_31102025_08_16_44_23530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c3a6df2fc181e23cfbc79a82a432814.jpg","text":"TemporaryFile(/tmp/multipartBody2313444727893832101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374323589,"filename":"image_31102025_08_15_52_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/433bcee4414c5f3052a4d4a723d61899.jpg","text":"TemporaryFile(/tmp/multipartBody353934618411695205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374323589,"filename":"image_31102025_08_16_21_17217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42e24d5f3e012cac0b75589633714ecf.jpg","text":"TemporaryFile(/tmp/multipartBody1484458514656251451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374323589,"filename":"image_31102025_08_15_55_2954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787371","file1":"1396787370","file0":"1396787368","file4":"1396787373","file5":"1396787374","file3":"1396787372"},"map_files_photo_id_array":[{"photo_id":"1396787374","filename":"file5"},{"photo_id":"1396787371","filename":"file2"},{"photo_id":"1396787373","filename":"file4"},{"photo_id":"1396787370","filename":"file1"},{"photo_id":"1396787368","filename":"file0"},{"photo_id":"1396787372","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787372":["hashtag1","hashtag2"]},{"1396787371":["hashtag1","hashtag2"]},{"1396787374":["hashtag1","hashtag2"]},{"1396787368":["hashtag1","hashtag2"]},{"1396787373":["hashtag1","hashtag2"]},{"1396787370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787372, 1396787371, 1396787374, 1396787368, 1396787373, 1396787370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28529167175293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 00:59:03.817336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/56/image_29112025_00_56_54_9723.jpg', '/home/pi/Desktop/images/29112025/00/56/image_29112025_00_57_04_10684.jpg', '/home/pi/Desktop/images/29112025/00/57/image_29112025_00_57_14_9742.jpg', '/home/pi/Desktop/images/29112025/00/57/image_29112025_00_57_24_9807.jpg', '/home/pi/Desktop/images/29112025/00/57/image_29112025_00_57_54_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/56/image_29112025_00_56_54_9723.jpg
/home/pi/Desktop/images/29112025/00/56/image_29112025_00_57_04_10684.jpg
/home/pi/Desktop/images/29112025/00/57/image_29112025_00_57_14_9742.jpg
/home/pi/Desktop/images/29112025/00/57/image_29112025_00_57_24_9807.jpg
/home/pi/Desktop/images/29112025/00/57/image_29112025_00_57_54_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787384","1396787377","1396787386","1396787380","1396787388"],"photo_ids_order":["1396787377","1396787380","1396787384","1396787386","1396787388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a22a1cdfbf242bd5f2798343ce553f7.jpg","text":"TemporaryFile(/tmp/multipartBody4609232272340073157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374404779,"filename":"image_29112025_00_57_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2cbcf0dc6b38673b425ef0fdc3b035d3.jpg","text":"TemporaryFile(/tmp/multipartBody8945846023330710340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374404779,"filename":"image_29112025_00_56_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/11/29/994be2d15509765a36f24466337cc058.jpg","text":"TemporaryFile(/tmp/multipartBody3629333495643576487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374404779,"filename":"image_29112025_00_57_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26f5f273fb0cfdc1e9f8fc63fe9b8a62.jpg","text":"TemporaryFile(/tmp/multipartBody1148430792190531578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374404779,"filename":"image_29112025_00_57_04_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc987ba94b32dc54a2ae45f176938d10.jpg","text":"TemporaryFile(/tmp/multipartBody67171195286609892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374404779,"filename":"image_29112025_00_57_54_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787384","file1":"1396787380","file0":"1396787377","file4":"1396787388","file3":"1396787386"},"map_files_photo_id_array":[{"photo_id":"1396787384","filename":"file2"},{"photo_id":"1396787388","filename":"file4"},{"photo_id":"1396787380","filename":"file1"},{"photo_id":"1396787377","filename":"file0"},{"photo_id":"1396787386","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787384":["hashtag1","hashtag2"]},{"1396787377":["hashtag1","hashtag2"]},{"1396787386":["hashtag1","hashtag2"]},{"1396787380":["hashtag1","hashtag2"]},{"1396787388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787384, 1396787377, 1396787386, 1396787380, 1396787388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.55398654937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 00:59:42.784921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_46_1783.jpg', '/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_47_1566.jpg', '/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_49_1622.jpg', '/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_51_1809.jpg', '/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_53_1715.jpg', '/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_54_1720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_46_1783.jpg
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_47_1566.jpg
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_49_1622.jpg
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_51_1809.jpg
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_53_1715.jpg
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_54_1720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787420","1396787423","1396787413","1396787443","1396787410","1396787397"],"photo_ids_order":["1396787397","1396787410","1396787413","1396787420","1396787423","1396787443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3c8072d306f2dca1ddc45efce15f134.jpg","text":"TemporaryFile(/tmp/multipartBody2921392604568114183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374443899,"filename":"image_31102025_08_16_51_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76bbd48bd54b844875ad6a7287799f7d.jpg","text":"TemporaryFile(/tmp/multipartBody8593320041755645385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374443899,"filename":"image_31102025_08_16_53_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2393eaabef15e791b4aef71a7337a369.jpg","text":"TemporaryFile(/tmp/multipartBody6295472147752604077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374443899,"filename":"image_31102025_08_16_49_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3683b2f7207303e08d08421927c1f6b.jpg","text":"TemporaryFile(/tmp/multipartBody6546366008700881977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374443899,"filename":"image_31102025_08_16_54_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34eee3cbee9fd12d9c6678178ec77e2c.jpg","text":"TemporaryFile(/tmp/multipartBody254061291292389318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374443899,"filename":"image_31102025_08_16_47_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5dafadc2e54cfe7ac7c0ee2e3c9ffaf0.jpg","text":"TemporaryFile(/tmp/multipartBody574998056181542259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374443899,"filename":"image_31102025_08_16_46_1783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787413","file1":"1396787410","file0":"1396787397","file4":"1396787423","file5":"1396787443","file3":"1396787420"},"map_files_photo_id_array":[{"photo_id":"1396787443","filename":"file5"},{"photo_id":"1396787413","filename":"file2"},{"photo_id":"1396787423","filename":"file4"},{"photo_id":"1396787410","filename":"file1"},{"photo_id":"1396787397","filename":"file0"},{"photo_id":"1396787420","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787420":["hashtag1","hashtag2"]},{"1396787423":["hashtag1","hashtag2"]},{"1396787413":["hashtag1","hashtag2"]},{"1396787443":["hashtag1","hashtag2"]},{"1396787410":["hashtag1","hashtag2"]},{"1396787397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787420, 1396787423, 1396787413, 1396787443, 1396787410, 1396787397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13892483711243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:00:22.019020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/00/58/image_29112025_00_58_15_10673.jpg', '/home/pi/Desktop/images/29112025/00/59/image_29112025_00_59_24_9707.jpg', '/home/pi/Desktop/images/29112025/00/59/image_29112025_00_59_34_9649.jpg', '/home/pi/Desktop/images/29112025/00/59/image_29112025_00_59_55_10754.jpg', '/home/pi/Desktop/images/29112025/00/59/image_29112025_01_00_04_9730.jpg', '/home/pi/Desktop/images/29112025/01/00/image_29112025_01_00_25_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/00/58/image_29112025_00_58_15_10673.jpg
/home/pi/Desktop/images/29112025/00/59/image_29112025_00_59_24_9707.jpg
/home/pi/Desktop/images/29112025/00/59/image_29112025_00_59_34_9649.jpg
/home/pi/Desktop/images/29112025/00/59/image_29112025_00_59_55_10754.jpg
/home/pi/Desktop/images/29112025/00/59/image_29112025_01_00_04_9730.jpg
/home/pi/Desktop/images/29112025/01/00/image_29112025_01_00_25_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":["1396787462","1396787458","1396787455","1396787460","1396787463","1396787451"],"photo_ids_order":["1396787451","1396787455","1396787458","1396787460","1396787462","1396787463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89dbb2b8ba17a0b5cbbc0e8047c837e4.jpg","text":"TemporaryFile(/tmp/multipartBody3988301904303673188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374482794,"filename":"image_29112025_01_00_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/11/29/23690f684f4678decf807289d85da9b3.jpg","text":"TemporaryFile(/tmp/multipartBody949288383814266121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374482794,"filename":"image_29112025_00_59_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/11/29/daca7e3bcc04960e38c2cfc46eddf737.jpg","text":"TemporaryFile(/tmp/multipartBody7351167607973990686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374482794,"filename":"image_29112025_00_59_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d100bf065839722db4b0e3632223b01.jpg","text":"TemporaryFile(/tmp/multipartBody1097438471799052858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374482794,"filename":"image_29112025_00_59_55_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0bfbafede7f6ce1d708eb3556b7e7212.jpg","text":"TemporaryFile(/tmp/multipartBody3787953887326533483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374482794,"filename":"image_29112025_01_00_25_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/257d443cd162a51730a03e0db4e97b01.jpg","text":"TemporaryFile(/tmp/multipartBody2836645778960257062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374482794,"filename":"image_29112025_00_58_15_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787458","file1":"1396787455","file0":"1396787451","file4":"1396787462","file5":"1396787463","file3":"1396787460"},"map_files_photo_id_array":[{"photo_id":"1396787463","filename":"file5"},{"photo_id":"1396787458","filename":"file2"},{"photo_id":"1396787462","filename":"file4"},{"photo_id":"1396787455","filename":"file1"},{"photo_id":"1396787451","filename":"file0"},{"photo_id":"1396787460","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787462":["hashtag1","hashtag2"]},{"1396787458":["hashtag1","hashtag2"]},{"1396787455":["hashtag1","hashtag2"]},{"1396787460":["hashtag1","hashtag2"]},{"1396787463":["hashtag1","hashtag2"]},{"1396787451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787462, 1396787458, 1396787455, 1396787460, 1396787463, 1396787451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13529896736145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:01:02.730912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_16_2883.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_20_3593.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_23_2557.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_26_3668.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_29_2715.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_32_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_16_2883.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_20_3593.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_23_2557.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_26_3668.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_29_2715.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_32_2816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787465","1396787467","1396787472","1396787475","1396787469","1396787466"],"photo_ids_order":["1396787465","1396787466","1396787467","1396787469","1396787472","1396787475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a3cc8e26a6fdf4fa33d5b9c78583a41.jpg","text":"TemporaryFile(/tmp/multipartBody6692091318891563485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374527063,"filename":"image_25112025_17_15_16_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9d17613c45de925cb01e22913725abf.jpg","text":"TemporaryFile(/tmp/multipartBody6704294041098163647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374527063,"filename":"image_25112025_17_15_23_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee720ade1b4da88a4e9b6730a19167e4.jpg","text":"TemporaryFile(/tmp/multipartBody3862673865543096135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374527063,"filename":"image_25112025_17_15_29_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a9a96ca17cef65d35d6158a3a04f5b4.jpg","text":"TemporaryFile(/tmp/multipartBody4704825150866395527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374527063,"filename":"image_25112025_17_15_32_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d6cdbbd422492088707e9637511f3666.jpg","text":"TemporaryFile(/tmp/multipartBody5138768656573055550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374527063,"filename":"image_25112025_17_15_26_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a216a2fd29277ec6dc9a43d1d30d5513.jpg","text":"TemporaryFile(/tmp/multipartBody4946897110437825800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374527063,"filename":"image_25112025_17_15_20_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787467","file1":"1396787466","file0":"1396787465","file4":"1396787472","file5":"1396787475","file3":"1396787469"},"map_files_photo_id_array":[{"photo_id":"1396787475","filename":"file5"},{"photo_id":"1396787467","filename":"file2"},{"photo_id":"1396787472","filename":"file4"},{"photo_id":"1396787466","filename":"file1"},{"photo_id":"1396787465","filename":"file0"},{"photo_id":"1396787469","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787465":["hashtag1","hashtag2"]},{"1396787467":["hashtag1","hashtag2"]},{"1396787472":["hashtag1","hashtag2"]},{"1396787475":["hashtag1","hashtag2"]},{"1396787469":["hashtag1","hashtag2"]},{"1396787466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787465, 1396787467, 1396787472, 1396787475, 1396787469, 1396787466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.57520508766174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:02:02.647639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/00/image_29112025_01_00_34_9565.jpg', '/home/pi/Desktop/images/29112025/01/01/image_29112025_01_01_24_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/00/image_29112025_01_00_34_9565.jpg
/home/pi/Desktop/images/29112025/01/01/image_29112025_01_01_24_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787480","1396787481"],"photo_ids_order":["1396787480","1396787481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3276252117f213c3d370e8e741ea8f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2088961875570791757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374583259,"filename":"image_29112025_01_00_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/11/29/5327b5e2162f35584912ddb0b6dde19d.jpg","text":"TemporaryFile(/tmp/multipartBody464839856830280426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374583259,"filename":"image_29112025_01_01_24_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396787481","file0":"1396787480"},"map_files_photo_id_array":[{"photo_id":"1396787481","filename":"file1"},{"photo_id":"1396787480","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787480":["hashtag1","hashtag2"]},{"1396787481":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787480, 1396787481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.986311674118042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:02:32.277405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_34_2595.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_38_3561.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_41_2660.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_44_3695.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_47_2580.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_49_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_34_2595.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_38_3561.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_41_2660.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_44_3695.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_47_2580.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_49_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787498","1396787492","1396787489","1396787497","1396787499","1396787496"],"photo_ids_order":["1396787489","1396787492","1396787496","1396787497","1396787498","1396787499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8d4337c58229b64b67f57db214fff73.jpg","text":"TemporaryFile(/tmp/multipartBody7262304452229166881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374614542,"filename":"image_25112025_17_15_47_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a252c793ab49883721657f7ca6ee7ed8.jpg","text":"TemporaryFile(/tmp/multipartBody6818719802307784523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374614542,"filename":"image_25112025_17_15_38_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5c146f22af91cd91f3b9eba8816aed8.jpg","text":"TemporaryFile(/tmp/multipartBody5875530793359402002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374614542,"filename":"image_25112025_17_15_34_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1e60a6ce4c12ceb4dfb70c048d4edde.jpg","text":"TemporaryFile(/tmp/multipartBody5749660739666615913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374614542,"filename":"image_25112025_17_15_44_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d81c9d8abb680f0426cb03a893082cbe.jpg","text":"TemporaryFile(/tmp/multipartBody1467439957741895824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374614542,"filename":"image_25112025_17_15_49_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/522d78e0dd86422cafe3cecdde1f0e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7473672645455654986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374614542,"filename":"image_25112025_17_15_41_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787496","file1":"1396787492","file0":"1396787489","file4":"1396787498","file5":"1396787499","file3":"1396787497"},"map_files_photo_id_array":[{"photo_id":"1396787499","filename":"file5"},{"photo_id":"1396787496","filename":"file2"},{"photo_id":"1396787498","filename":"file4"},{"photo_id":"1396787492","filename":"file1"},{"photo_id":"1396787489","filename":"file0"},{"photo_id":"1396787497","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787498":["hashtag1","hashtag2"]},{"1396787492":["hashtag1","hashtag2"]},{"1396787489":["hashtag1","hashtag2"]},{"1396787497":["hashtag1","hashtag2"]},{"1396787499":["hashtag1","hashtag2"]},{"1396787496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787498, 1396787492, 1396787489, 1396787497, 1396787499, 1396787496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.41041111946106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:03:22.443144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/01/image_29112025_01_01_44_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/01/image_29112025_01_01_44_9625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787501"],"photo_id":"1396787501","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/251838a78589c6e08f2504ca41025ed8.jpg","text":"TemporaryFile(/tmp/multipartBody2984800774453273889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374662994,"filename":"image_29112025_01_01_44_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396787501"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396787501"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.116411924362183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:03:42.467830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_56_1705.jpg', '/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_58_1724.jpg', '/home/pi/Desktop/images/31102025/08/16/image_31102025_08_17_00_1784.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_01_1800.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_03_1753.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_05_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_56_1705.jpg
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_16_58_1724.jpg
/home/pi/Desktop/images/31102025/08/16/image_31102025_08_17_00_1784.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_01_1800.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_03_1753.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_05_1594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787514","1396787516","1396787510","1396787513","1396787512","1396787515"],"photo_ids_order":["1396787510","1396787512","1396787513","1396787514","1396787515","1396787516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab42f99425350688bcd97d31ab8c15c1.jpg","text":"TemporaryFile(/tmp/multipartBody2905273836816822849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374683564,"filename":"image_31102025_08_17_01_1800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3b55dfb156eccf0a09dcb1db2cfcdb3.jpg","text":"TemporaryFile(/tmp/multipartBody1704760705637303973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374683564,"filename":"image_31102025_08_17_05_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b121d2ff91388c726a614f67f9d335b.jpg","text":"TemporaryFile(/tmp/multipartBody4172722361560925863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374683564,"filename":"image_31102025_08_16_56_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfcb635de66008b5512b920721774c38.jpg","text":"TemporaryFile(/tmp/multipartBody939620174192669196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374683564,"filename":"image_31102025_08_17_00_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3a99e41a9fde20a2e586248a5fd890b.jpg","text":"TemporaryFile(/tmp/multipartBody8772234498735428547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374683564,"filename":"image_31102025_08_16_58_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6fc58b83f8ffcd746d2a9717c2f9c50.jpg","text":"TemporaryFile(/tmp/multipartBody5987358517813179599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374683564,"filename":"image_31102025_08_17_03_1753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787513","file1":"1396787512","file0":"1396787510","file4":"1396787515","file5":"1396787516","file3":"1396787514"},"map_files_photo_id_array":[{"photo_id":"1396787516","filename":"file5"},{"photo_id":"1396787513","filename":"file2"},{"photo_id":"1396787515","filename":"file4"},{"photo_id":"1396787512","filename":"file1"},{"photo_id":"1396787510","filename":"file0"},{"photo_id":"1396787514","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787514":["hashtag1","hashtag2"]},{"1396787516":["hashtag1","hashtag2"]},{"1396787510":["hashtag1","hashtag2"]},{"1396787513":["hashtag1","hashtag2"]},{"1396787512":["hashtag1","hashtag2"]},{"1396787515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787514, 1396787516, 1396787510, 1396787513, 1396787512, 1396787515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.205201387405396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:04:22.698204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/02/image_29112025_01_02_35_10694.jpg', '/home/pi/Desktop/images/29112025/01/04/image_29112025_01_04_14_9709.jpg', '/home/pi/Desktop/images/29112025/01/04/image_29112025_01_04_34_9712.jpg', '/home/pi/Desktop/images/29112025/01/04/image_29112025_01_04_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/02/image_29112025_01_02_35_10694.jpg
/home/pi/Desktop/images/29112025/01/04/image_29112025_01_04_14_9709.jpg
/home/pi/Desktop/images/29112025/01/04/image_29112025_01_04_34_9712.jpg
/home/pi/Desktop/images/29112025/01/04/image_29112025_01_04_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":["1396787534","1396787542","1396787556","1396787544"],"photo_ids_order":["1396787534","1396787542","1396787544","1396787556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6be540bac2170f9ccdc23542f9e0101b.jpg","text":"TemporaryFile(/tmp/multipartBody6119829389346206226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374723388,"filename":"image_29112025_01_02_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/11/29/9e7d7edf125f5bac2437013e4e42dcf6.jpg","text":"TemporaryFile(/tmp/multipartBody7509195506002334251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374723388,"filename":"image_29112025_01_04_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/11/29/2eea5eef05d3f4138ffe392891813cd1.jpg","text":"TemporaryFile(/tmp/multipartBody2676730556304732578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374723388,"filename":"image_29112025_01_04_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e381558a49886c1319aa661bc939221d.jpg","text":"TemporaryFile(/tmp/multipartBody5543029516326559660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374723388,"filename":"image_29112025_01_04_34_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787544","file1":"1396787542","file0":"1396787534","file3":"1396787556"},"map_files_photo_id_array":[{"photo_id":"1396787544","filename":"file2"},{"photo_id":"1396787542","filename":"file1"},{"photo_id":"1396787534","filename":"file0"},{"photo_id":"1396787556","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787534":["hashtag1","hashtag2"]},{"1396787542":["hashtag1","hashtag2"]},{"1396787556":["hashtag1","hashtag2"]},{"1396787544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787534, 1396787542, 1396787556, 1396787544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.870827198028564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:05:03.484156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_53_3714.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_56_2582.jpg', '/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_58_2629.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_02_3700.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_05_2638.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_07_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_53_3714.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_56_2582.jpg
/home/pi/Desktop/images/25112025/17/15/image_25112025_17_15_58_2629.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_02_3700.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_05_2638.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_07_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787576","1396787578","1396787586","1396787580","1396787583","1396787577"],"photo_ids_order":["1396787576","1396787577","1396787578","1396787580","1396787583","1396787586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/caa8e0da133d184580c707b218c2462c.jpg","text":"TemporaryFile(/tmp/multipartBody2563743611278991697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374765193,"filename":"image_25112025_17_15_53_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03d9aa18cba971d344bb90c285c7bb1d.jpg","text":"TemporaryFile(/tmp/multipartBody7446449774868470889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374765193,"filename":"image_25112025_17_15_58_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/402c9d96c7b2b58f43fe71e314a3dd91.jpg","text":"TemporaryFile(/tmp/multipartBody4634712614014557937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374765193,"filename":"image_25112025_17_16_07_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4783d93b09d30290edeb8b7338ac2d61.jpg","text":"TemporaryFile(/tmp/multipartBody2005262184442549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374765193,"filename":"image_25112025_17_16_02_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99b9e174eee7475e7edcc6b90d77e5fd.jpg","text":"TemporaryFile(/tmp/multipartBody5965470524703080539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374765193,"filename":"image_25112025_17_16_05_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eec5d64e60c38f473e33bf7bba6f4ad7.jpg","text":"TemporaryFile(/tmp/multipartBody886817293565107945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374765193,"filename":"image_25112025_17_15_56_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787578","file1":"1396787577","file0":"1396787576","file4":"1396787583","file5":"1396787586","file3":"1396787580"},"map_files_photo_id_array":[{"photo_id":"1396787586","filename":"file5"},{"photo_id":"1396787578","filename":"file2"},{"photo_id":"1396787583","filename":"file4"},{"photo_id":"1396787577","filename":"file1"},{"photo_id":"1396787576","filename":"file0"},{"photo_id":"1396787580","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787576":["hashtag1","hashtag2"]},{"1396787578":["hashtag1","hashtag2"]},{"1396787586":["hashtag1","hashtag2"]},{"1396787580":["hashtag1","hashtag2"]},{"1396787583":["hashtag1","hashtag2"]},{"1396787577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787576, 1396787578, 1396787586, 1396787580, 1396787583, 1396787577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18647217750549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:06:02.479468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/04/image_29112025_01_04_55_10695.jpg', '/home/pi/Desktop/images/29112025/01/05/image_29112025_01_05_14_9703.jpg', '/home/pi/Desktop/images/29112025/01/05/image_29112025_01_05_24_10049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/04/image_29112025_01_04_55_10695.jpg
/home/pi/Desktop/images/29112025/01/05/image_29112025_01_05_14_9703.jpg
/home/pi/Desktop/images/29112025/01/05/image_29112025_01_05_24_10049.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787593","1396787592","1396787594"],"photo_ids_order":["1396787592","1396787593","1396787594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02d62dd646bb6ac337f8a50362ff7ac7.jpg","text":"TemporaryFile(/tmp/multipartBody4848474485834112697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374823132,"filename":"image_29112025_01_05_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/11/29/b90ad465adce492d80ff39f288706bd4.jpg","text":"TemporaryFile(/tmp/multipartBody2294013288906641265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374823132,"filename":"image_29112025_01_04_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e70fd430b3e09ff670e920cfa9bb0287.jpg","text":"TemporaryFile(/tmp/multipartBody6417467145805969738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374823132,"filename":"image_29112025_01_05_24_10049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787594","file1":"1396787593","file0":"1396787592"},"map_files_photo_id_array":[{"photo_id":"1396787594","filename":"file2"},{"photo_id":"1396787593","filename":"file1"},{"photo_id":"1396787592","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787593":["hashtag1","hashtag2"]},{"1396787592":["hashtag1","hashtag2"]},{"1396787594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787593, 1396787592, 1396787594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.54156517982483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:06:32.030382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_11_3704.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_14_2544.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_16_2679.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_20_3798.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_23_2698.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_26_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_11_3704.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_14_2544.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_16_2679.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_20_3798.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_23_2698.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_26_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":["1396787607","1396787609","1396787605","1396787608","1396787602","1396787610"],"photo_ids_order":["1396787602","1396787605","1396787607","1396787608","1396787609","1396787610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84d4c7352f2cf06d20b87c12e4ad69d6.jpg","text":"TemporaryFile(/tmp/multipartBody2819213757057207877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374854246,"filename":"image_25112025_17_16_16_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e14c39b2b219018e05e765f3143fcbac.jpg","text":"TemporaryFile(/tmp/multipartBody7587715352448236807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374854246,"filename":"image_25112025_17_16_23_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/030a9ba8e9eaa989cfa8a81d409f13c6.jpg","text":"TemporaryFile(/tmp/multipartBody6457117110748719478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374854246,"filename":"image_25112025_17_16_14_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d7d346b7018c3ff0d982c6b2a553e14.jpg","text":"TemporaryFile(/tmp/multipartBody1791333689158853163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374854246,"filename":"image_25112025_17_16_20_3798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5eca33c9c71525a67f66dd6b75bd396e.jpg","text":"TemporaryFile(/tmp/multipartBody7667837453793138908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374854246,"filename":"image_25112025_17_16_11_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51f1648348cb938276a1f959508d90b2.jpg","text":"TemporaryFile(/tmp/multipartBody2669474454579267865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374854246,"filename":"image_25112025_17_16_26_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787607","file1":"1396787605","file0":"1396787602","file4":"1396787609","file5":"1396787610","file3":"1396787608"},"map_files_photo_id_array":[{"photo_id":"1396787610","filename":"file5"},{"photo_id":"1396787607","filename":"file2"},{"photo_id":"1396787609","filename":"file4"},{"photo_id":"1396787605","filename":"file1"},{"photo_id":"1396787602","filename":"file0"},{"photo_id":"1396787608","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787607":["hashtag1","hashtag2"]},{"1396787609":["hashtag1","hashtag2"]},{"1396787605":["hashtag1","hashtag2"]},{"1396787608":["hashtag1","hashtag2"]},{"1396787602":["hashtag1","hashtag2"]},{"1396787610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787607, 1396787609, 1396787605, 1396787608, 1396787602, 1396787610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77477192878723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:07:12.217996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_28_2668.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_32_3585.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_34_2590.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_38_3567.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_41_2607.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_43_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_28_2668.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_32_3585.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_34_2590.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_38_3567.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_41_2607.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_43_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787613","1396787611","1396787622","1396787616","1396787625","1396787619"],"photo_ids_order":["1396787611","1396787613","1396787616","1396787619","1396787622","1396787625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97677565aa4dd22b344e78d1c04c271c.jpg","text":"TemporaryFile(/tmp/multipartBody1116151114281612669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374894341,"filename":"image_25112025_17_16_32_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e96d29900c69c7d42bee75b418d8e1e.jpg","text":"TemporaryFile(/tmp/multipartBody843067093636228614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374894341,"filename":"image_25112025_17_16_28_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0dd9130c7201cb39271c9bb96ed276c4.jpg","text":"TemporaryFile(/tmp/multipartBody9102534170271052892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374894341,"filename":"image_25112025_17_16_41_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/160989b61ddff6ee5fde4c4f24f0d95f.jpg","text":"TemporaryFile(/tmp/multipartBody4847201476807649346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374894341,"filename":"image_25112025_17_16_34_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ba70e98eccbed0e7cb06608fba28c31.jpg","text":"TemporaryFile(/tmp/multipartBody2502263311609068266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374894341,"filename":"image_25112025_17_16_43_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a2eae3fa99dec280b0dbad8661b56c9.jpg","text":"TemporaryFile(/tmp/multipartBody5270161064094870801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374894341,"filename":"image_25112025_17_16_38_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787616","file1":"1396787613","file0":"1396787611","file4":"1396787622","file5":"1396787625","file3":"1396787619"},"map_files_photo_id_array":[{"photo_id":"1396787625","filename":"file5"},{"photo_id":"1396787616","filename":"file2"},{"photo_id":"1396787622","filename":"file4"},{"photo_id":"1396787613","filename":"file1"},{"photo_id":"1396787611","filename":"file0"},{"photo_id":"1396787619","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787613":["hashtag1","hashtag2"]},{"1396787611":["hashtag1","hashtag2"]},{"1396787622":["hashtag1","hashtag2"]},{"1396787616":["hashtag1","hashtag2"]},{"1396787625":["hashtag1","hashtag2"]},{"1396787619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787613, 1396787611, 1396787622, 1396787616, 1396787625, 1396787619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30110168457031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:08:02.773947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/05/image_29112025_01_05_34_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/05/image_29112025_01_05_34_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787626"],"photo_id":"1396787626","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5acd412545923a74fc4cc3b0782895d5.jpg","text":"TemporaryFile(/tmp/multipartBody8173811521400739008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374943326,"filename":"image_29112025_01_05_34_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396787626"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396787626"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.745479822158813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:08:22.450740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/05/image_29112025_01_06_04_9764.jpg', '/home/pi/Desktop/images/29112025/01/08/image_29112025_01_08_44_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/05/image_29112025_01_06_04_9764.jpg
/home/pi/Desktop/images/29112025/01/08/image_29112025_01_08_44_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787633","1396787630"],"photo_ids_order":["1396787630","1396787633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8aec68b0d1619171a71616c8e1aa95a6.jpg","text":"TemporaryFile(/tmp/multipartBody4469115230853340699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374963034,"filename":"image_29112025_01_08_44_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b48c4581a3bf018b2467f2530fd2a1de.jpg","text":"TemporaryFile(/tmp/multipartBody5987952025536732970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374963034,"filename":"image_29112025_01_06_04_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396787633","file0":"1396787630"},"map_files_photo_id_array":[{"photo_id":"1396787633","filename":"file1"},{"photo_id":"1396787630","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787633":["hashtag1","hashtag2"]},{"1396787630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787633, 1396787630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.822674036026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:08:42.386909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_06_1619.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_08_1854.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_10_1694.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_12_1642.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_13_1632.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_15_1566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_06_1619.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_08_1854.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_10_1694.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_12_1642.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_13_1632.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_15_1566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787645","1396787642","1396787641","1396787644","1396787640","1396787643"],"photo_ids_order":["1396787640","1396787641","1396787642","1396787643","1396787644","1396787645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79dd7f3db57738a8faf3eeb3998e05c1.jpg","text":"TemporaryFile(/tmp/multipartBody6256078674749761400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374983454,"filename":"image_31102025_08_17_15_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2efc07bc0758ed7647fddbcd972b5060.jpg","text":"TemporaryFile(/tmp/multipartBody5231186491392575474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374983454,"filename":"image_31102025_08_17_10_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e4f529727bbc869196576b93568ebb7e.jpg","text":"TemporaryFile(/tmp/multipartBody7350681771462943427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374983454,"filename":"image_31102025_08_17_08_1854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fadfe44d9e924acafd4811614afc3ff.jpg","text":"TemporaryFile(/tmp/multipartBody3384488867570745105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374983454,"filename":"image_31102025_08_17_13_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b005967a65824c6b1964af2ca6ec3684.jpg","text":"TemporaryFile(/tmp/multipartBody3061211472584778599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374983454,"filename":"image_31102025_08_17_06_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a276d3377b329cd6ce7f0646d20439d.jpg","text":"TemporaryFile(/tmp/multipartBody2027594082924117250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764374983454,"filename":"image_31102025_08_17_12_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787642","file1":"1396787641","file0":"1396787640","file4":"1396787644","file5":"1396787645","file3":"1396787643"},"map_files_photo_id_array":[{"photo_id":"1396787645","filename":"file5"},{"photo_id":"1396787642","filename":"file2"},{"photo_id":"1396787644","filename":"file4"},{"photo_id":"1396787641","filename":"file1"},{"photo_id":"1396787640","filename":"file0"},{"photo_id":"1396787643","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787645":["hashtag1","hashtag2"]},{"1396787642":["hashtag1","hashtag2"]},{"1396787641":["hashtag1","hashtag2"]},{"1396787644":["hashtag1","hashtag2"]},{"1396787640":["hashtag1","hashtag2"]},{"1396787643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787645, 1396787642, 1396787641, 1396787644, 1396787640, 1396787643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.834630727767944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:09:22.633151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/08/image_29112025_01_08_54_9722.jpg', '/home/pi/Desktop/images/29112025/01/09/image_29112025_01_09_14_10757.jpg', '/home/pi/Desktop/images/29112025/01/09/image_29112025_01_09_24_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/08/image_29112025_01_08_54_9722.jpg
/home/pi/Desktop/images/29112025/01/09/image_29112025_01_09_14_10757.jpg
/home/pi/Desktop/images/29112025/01/09/image_29112025_01_09_24_9568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787651","1396787653","1396787649"],"photo_ids_order":["1396787649","1396787651","1396787653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69f44a84b29e26eaf380b569b1528459.jpg","text":"TemporaryFile(/tmp/multipartBody8069330060064963124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375023260,"filename":"image_29112025_01_09_14_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/024765b45700aff14f823e8d8232331c.jpg","text":"TemporaryFile(/tmp/multipartBody7344610748092493610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375023260,"filename":"image_29112025_01_09_24_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2960176123ba7ba7d1326aa58ec27a3f.jpg","text":"TemporaryFile(/tmp/multipartBody3889928842527625924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375023260,"filename":"image_29112025_01_08_54_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787653","file1":"1396787651","file0":"1396787649"},"map_files_photo_id_array":[{"photo_id":"1396787653","filename":"file2"},{"photo_id":"1396787651","filename":"file1"},{"photo_id":"1396787649","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787651":["hashtag1","hashtag2"]},{"1396787653":["hashtag1","hashtag2"]},{"1396787649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787651, 1396787653, 1396787649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 27.136418342590332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:10:03.332549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_47_3662.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_50_2647.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_52_2686.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_56_3629.jpg', '/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_58_2569.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_01_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_47_3662.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_50_2647.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_52_2686.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_56_3629.jpg
/home/pi/Desktop/images/25112025/17/16/image_25112025_17_16_58_2569.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_01_2765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787657","1396787659","1396787667","1396787661","1396787664","1396787658"],"photo_ids_order":["1396787657","1396787658","1396787659","1396787661","1396787664","1396787667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a739ddcc4eb2132b6b21150a314c3393.jpg","text":"TemporaryFile(/tmp/multipartBody105769179990079628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375064968,"filename":"image_25112025_17_16_47_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9965ab29390f3c2e1892033a390d2bd6.jpg","text":"TemporaryFile(/tmp/multipartBody5117729781698416542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375064968,"filename":"image_25112025_17_16_52_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8112c9f61054fbaec91a0fb8dd4f73a5.jpg","text":"TemporaryFile(/tmp/multipartBody299079642844654739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375064968,"filename":"image_25112025_17_17_01_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecf873e782412770ff10e260564893c2.jpg","text":"TemporaryFile(/tmp/multipartBody520301633947745945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375064968,"filename":"image_25112025_17_16_56_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a10e7f0b6bed8210eedde5ea76f279d8.jpg","text":"TemporaryFile(/tmp/multipartBody7752731571298943805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375064968,"filename":"image_25112025_17_16_58_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6cd715b8913782085639aebeb8f1a4c5.jpg","text":"TemporaryFile(/tmp/multipartBody8608039790715538600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375064968,"filename":"image_25112025_17_16_50_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787659","file1":"1396787658","file0":"1396787657","file4":"1396787664","file5":"1396787667","file3":"1396787661"},"map_files_photo_id_array":[{"photo_id":"1396787667","filename":"file5"},{"photo_id":"1396787659","filename":"file2"},{"photo_id":"1396787664","filename":"file4"},{"photo_id":"1396787658","filename":"file1"},{"photo_id":"1396787657","filename":"file0"},{"photo_id":"1396787661","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396787657":["hashtag1","hashtag2"]},{"1396787659":["hashtag1","hashtag2"]},{"1396787667":["hashtag1","hashtag2"]},{"1396787661":["hashtag1","hashtag2"]},{"1396787664":["hashtag1","hashtag2"]},{"1396787658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396787657, 1396787659, 1396787667, 1396787661, 1396787664, 1396787658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9821081161499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:10:42.876073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_16_1618.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_18_1495.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_39_21618.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_41_1560.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_43_1639.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_44_1741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_16_1618.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_18_1495.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_39_21618.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_41_1560.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_43_1639.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_44_1741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787674","1396787677","1396787707","1396787781","1396787676","1396787742"],"photo_ids_order":["1396787674","1396787676","1396787677","1396787707","1396787742","1396787781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2683c6822ed59c4407ceaa186fc255ca.jpg","text":"TemporaryFile(/tmp/multipartBody4964017315657008422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375103950,"filename":"image_31102025_08_17_16_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62293950fe5b02d34a8fab68cfe3487e.jpg","text":"TemporaryFile(/tmp/multipartBody3085744900820754523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375103950,"filename":"image_31102025_08_17_39_21618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dda8f10ffdb522d6cd5cf6e40de2db4d.jpg","text":"TemporaryFile(/tmp/multipartBody4662307581180315623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375103950,"filename":"image_31102025_08_17_41_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a682579d8da9e8d88ed67734050f14a7.jpg","text":"TemporaryFile(/tmp/multipartBody8982994136067346849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375103950,"filename":"image_31102025_08_17_44_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d066f21f77cfff7c08b98c3ec9c4ee5.jpg","text":"TemporaryFile(/tmp/multipartBody6119155072253150232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375103950,"filename":"image_31102025_08_17_18_1495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b05ff1aac1ff305c5ac0bf42f5890f2f.jpg","text":"TemporaryFile(/tmp/multipartBody4915660926793855538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375103950,"filename":"image_31102025_08_17_43_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787677","file1":"1396787676","file0":"1396787674","file4":"1396787742","file5":"1396787781","file3":"1396787707"},"map_files_photo_id_array":[{"photo_id":"1396787781","filename":"file5"},{"photo_id":"1396787677","filename":"file2"},{"photo_id":"1396787742","filename":"file4"},{"photo_id":"1396787676","filename":"file1"},{"photo_id":"1396787674","filename":"file0"},{"photo_id":"1396787707","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396787674":["hashtag1","hashtag2"]},{"1396787677":["hashtag1","hashtag2"]},{"1396787707":["hashtag1","hashtag2"]},{"1396787781":["hashtag1","hashtag2"]},{"1396787676":["hashtag1","hashtag2"]},{"1396787742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396787674, 1396787677, 1396787707, 1396787781, 1396787676, 1396787742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.938720703125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:11:22.071560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/09/image_29112025_01_09_54_9665.jpg', '/home/pi/Desktop/images/29112025/01/10/image_29112025_01_10_14_9774.jpg', '/home/pi/Desktop/images/29112025/01/10/image_29112025_01_10_24_9786.jpg', '/home/pi/Desktop/images/29112025/01/10/image_29112025_01_11_04_9940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/09/image_29112025_01_09_54_9665.jpg
/home/pi/Desktop/images/29112025/01/10/image_29112025_01_10_14_9774.jpg
/home/pi/Desktop/images/29112025/01/10/image_29112025_01_10_24_9786.jpg
/home/pi/Desktop/images/29112025/01/10/image_29112025_01_11_04_9940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396787945","1396787986","1396787902","1396788021"],"photo_ids_order":["1396787902","1396787945","1396787986","1396788021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c53c429ef4b9f98ec26fe78310c3bd0f.jpg","text":"TemporaryFile(/tmp/multipartBody777146408220214865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375142748,"filename":"image_29112025_01_10_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/11/29/98c179c7023731f8bfeb5a06481af800.jpg","text":"TemporaryFile(/tmp/multipartBody5540190176696327778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375142748,"filename":"image_29112025_01_10_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/11/29/ed1876c31ea0ef5846c0a3ee591c7e3d.jpg","text":"TemporaryFile(/tmp/multipartBody8657473426322210888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375142748,"filename":"image_29112025_01_09_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/11/29/c2d6956f40e9616a7472c6faf2285a74.jpg","text":"TemporaryFile(/tmp/multipartBody3388433105840009304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375142748,"filename":"image_29112025_01_11_04_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396787986","file1":"1396787945","file0":"1396787902","file3":"1396788021"},"map_files_photo_id_array":[{"photo_id":"1396787986","filename":"file2"},{"photo_id":"1396787945","filename":"file1"},{"photo_id":"1396787902","filename":"file0"},{"photo_id":"1396788021","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396787945":["hashtag1","hashtag2"]},{"1396787986":["hashtag1","hashtag2"]},{"1396787902":["hashtag1","hashtag2"]},{"1396788021":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396787945, 1396787986, 1396787902, 1396788021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.7984516620636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:12:02.719994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_05_3615.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_07_2666.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_11_3552.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_14_2699.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_16_2635.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_20_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_05_3615.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_07_2666.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_11_3552.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_14_2699.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_16_2635.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_20_3548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396788353","1396788428","1396788391","1396788271","1396788310","1396788232"],"photo_ids_order":["1396788232","1396788271","1396788310","1396788353","1396788391","1396788428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7161e84edeb47b7e888a3f5fdb743b64.jpg","text":"TemporaryFile(/tmp/multipartBody1345652549332015568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375184377,"filename":"image_25112025_17_17_14_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a466a6c9af34867da4b2548be06c9a8e.jpg","text":"TemporaryFile(/tmp/multipartBody1452473335344466927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375184377,"filename":"image_25112025_17_17_20_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94d7684032ee7223228e26c6a86e0ac1.jpg","text":"TemporaryFile(/tmp/multipartBody1594795436087833504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375184377,"filename":"image_25112025_17_17_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/11/29/f752ffe090c7a5a5da4dd257e0d883ae.jpg","text":"TemporaryFile(/tmp/multipartBody3945576742862715326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375184377,"filename":"image_25112025_17_17_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/11/29/64edb1ec4346f887703223cb7f48751f.jpg","text":"TemporaryFile(/tmp/multipartBody4128487269663305505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375184377,"filename":"image_25112025_17_17_11_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb59509f7eb41b0a9e8c880275d8e246.jpg","text":"TemporaryFile(/tmp/multipartBody2805131830159990147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375184377,"filename":"image_25112025_17_17_05_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396788310","file1":"1396788271","file0":"1396788232","file4":"1396788391","file5":"1396788428","file3":"1396788353"},"map_files_photo_id_array":[{"photo_id":"1396788428","filename":"file5"},{"photo_id":"1396788310","filename":"file2"},{"photo_id":"1396788391","filename":"file4"},{"photo_id":"1396788271","filename":"file1"},{"photo_id":"1396788232","filename":"file0"},{"photo_id":"1396788353","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396788353":["hashtag1","hashtag2"]},{"1396788428":["hashtag1","hashtag2"]},{"1396788391":["hashtag1","hashtag2"]},{"1396788271":["hashtag1","hashtag2"]},{"1396788310":["hashtag1","hashtag2"]},{"1396788232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396788353, 1396788428, 1396788391, 1396788271, 1396788310, 1396788232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.816725730895996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:12:42.365123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_48_1645.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_49_1607.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_51_1667.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_53_1742.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_54_1697.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_56_1620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_48_1645.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_49_1607.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_51_1667.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_53_1742.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_54_1697.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_56_1620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396788650","1396788649","1396788550","1396788651","1396788624","1396788587"],"photo_ids_order":["1396788550","1396788587","1396788624","1396788649","1396788650","1396788651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e03d7841468afdbaa3c20c647923461.jpg","text":"TemporaryFile(/tmp/multipartBody1421237715414615725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375223457,"filename":"image_31102025_08_17_54_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d1ba4ea3192142a25869e9375eac152.jpg","text":"TemporaryFile(/tmp/multipartBody7107393086474125762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375223457,"filename":"image_31102025_08_17_53_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e369acb950e975e1f48e1995fb3b98c7.jpg","text":"TemporaryFile(/tmp/multipartBody3772697176062866575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375223457,"filename":"image_31102025_08_17_48_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d116cc6a7342f687951b86232b6ab354.jpg","text":"TemporaryFile(/tmp/multipartBody4377944520267273608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375223457,"filename":"image_31102025_08_17_56_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bbdaa4b6d1dba12f02d726bb8d9681b.jpg","text":"TemporaryFile(/tmp/multipartBody3247936428827505719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375223457,"filename":"image_31102025_08_17_51_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f4d7570205f535e643aae3f4d8fd6a2.jpg","text":"TemporaryFile(/tmp/multipartBody4713642845200571458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375223457,"filename":"image_31102025_08_17_49_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396788624","file1":"1396788587","file0":"1396788550","file4":"1396788650","file5":"1396788651","file3":"1396788649"},"map_files_photo_id_array":[{"photo_id":"1396788651","filename":"file5"},{"photo_id":"1396788624","filename":"file2"},{"photo_id":"1396788650","filename":"file4"},{"photo_id":"1396788587","filename":"file1"},{"photo_id":"1396788550","filename":"file0"},{"photo_id":"1396788649","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396788650":["hashtag1","hashtag2"]},{"1396788649":["hashtag1","hashtag2"]},{"1396788550":["hashtag1","hashtag2"]},{"1396788651":["hashtag1","hashtag2"]},{"1396788624":["hashtag1","hashtag2"]},{"1396788587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396788650, 1396788649, 1396788550, 1396788651, 1396788624, 1396788587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74820375442505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:13:22.502731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/11/image_29112025_01_11_44_9635.jpg', '/home/pi/Desktop/images/29112025/01/11/image_29112025_01_12_04_10718.jpg', '/home/pi/Desktop/images/29112025/01/12/image_29112025_01_12_35_10599.jpg', '/home/pi/Desktop/images/29112025/01/12/image_29112025_01_12_54_9713.jpg', '/home/pi/Desktop/images/29112025/01/12/image_29112025_01_13_05_10722.jpg', '/home/pi/Desktop/images/29112025/01/13/image_29112025_01_13_14_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/11/image_29112025_01_11_44_9635.jpg
/home/pi/Desktop/images/29112025/01/11/image_29112025_01_12_04_10718.jpg
/home/pi/Desktop/images/29112025/01/12/image_29112025_01_12_35_10599.jpg
/home/pi/Desktop/images/29112025/01/12/image_29112025_01_12_54_9713.jpg
/home/pi/Desktop/images/29112025/01/12/image_29112025_01_13_05_10722.jpg
/home/pi/Desktop/images/29112025/01/13/image_29112025_01_13_14_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396788665","1396788661","1396788655","1396788658","1396788663","1396788666"],"photo_ids_order":["1396788655","1396788658","1396788661","1396788663","1396788665","1396788666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afef809fd297737c3e266855a553760e.jpg","text":"TemporaryFile(/tmp/multipartBody8247921225090048297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375263300,"filename":"image_29112025_01_13_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05ad81631e66bdacad2e50b158a84d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3094984744346133974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375263300,"filename":"image_29112025_01_12_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/11/29/47da31c9b9791822954210d6b9e963fb.jpg","text":"TemporaryFile(/tmp/multipartBody8882396361415037739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375263300,"filename":"image_29112025_01_11_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/11/29/624f132105e5039264bbbf2d6a6ab73f.jpg","text":"TemporaryFile(/tmp/multipartBody3716538334892507988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375263300,"filename":"image_29112025_01_12_04_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e0e1194f0a77300b914ad7d1fc97b62.jpg","text":"TemporaryFile(/tmp/multipartBody5759445645957678653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375263300,"filename":"image_29112025_01_12_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bcf93b6982fb32ca76f205f58759a76.jpg","text":"TemporaryFile(/tmp/multipartBody6330415656596693334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375263300,"filename":"image_29112025_01_13_14_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396788661","file1":"1396788658","file0":"1396788655","file4":"1396788665","file5":"1396788666","file3":"1396788663"},"map_files_photo_id_array":[{"photo_id":"1396788666","filename":"file5"},{"photo_id":"1396788661","filename":"file2"},{"photo_id":"1396788665","filename":"file4"},{"photo_id":"1396788658","filename":"file1"},{"photo_id":"1396788655","filename":"file0"},{"photo_id":"1396788663","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396788665":["hashtag1","hashtag2"]},{"1396788661":["hashtag1","hashtag2"]},{"1396788655":["hashtag1","hashtag2"]},{"1396788658":["hashtag1","hashtag2"]},{"1396788663":["hashtag1","hashtag2"]},{"1396788666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396788665, 1396788661, 1396788655, 1396788658, 1396788663, 1396788666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03260779380798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:14:02.521264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_23_2602.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_25_2629.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_29_3546.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_31_2691.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_35_3653.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_38_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_23_2602.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_25_2629.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_29_3546.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_31_2691.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_35_3653.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_38_2722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396788670","1396788667","1396788724","1396788759","1396788669","1396788686"],"photo_ids_order":["1396788667","1396788669","1396788670","1396788686","1396788724","1396788759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7bf62442b31ea8b9fdda0960089efa9.jpg","text":"TemporaryFile(/tmp/multipartBody8302234152808414555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375304197,"filename":"image_25112025_17_17_29_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1febd04e58020f28eef047617b76daca.jpg","text":"TemporaryFile(/tmp/multipartBody4884863636976183771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375304197,"filename":"image_25112025_17_17_23_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee7af216f5d0c4ddd7db182da540dd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3566119618423645472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375304197,"filename":"image_25112025_17_17_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/11/29/26b3e4df099a5c8bc812be88f1a492aa.jpg","text":"TemporaryFile(/tmp/multipartBody2326832810898176803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375304197,"filename":"image_25112025_17_17_38_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c475f8ab75284f71ba07da0ff1c6d2aa.jpg","text":"TemporaryFile(/tmp/multipartBody3494734542033503274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375304197,"filename":"image_25112025_17_17_25_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/115ac350233f792be3f6a1b993842b46.jpg","text":"TemporaryFile(/tmp/multipartBody8838705875574378038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375304197,"filename":"image_25112025_17_17_31_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396788670","file1":"1396788669","file0":"1396788667","file4":"1396788724","file5":"1396788759","file3":"1396788686"},"map_files_photo_id_array":[{"photo_id":"1396788759","filename":"file5"},{"photo_id":"1396788670","filename":"file2"},{"photo_id":"1396788724","filename":"file4"},{"photo_id":"1396788669","filename":"file1"},{"photo_id":"1396788667","filename":"file0"},{"photo_id":"1396788686","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396788670":["hashtag1","hashtag2"]},{"1396788667":["hashtag1","hashtag2"]},{"1396788724":["hashtag1","hashtag2"]},{"1396788759":["hashtag1","hashtag2"]},{"1396788669":["hashtag1","hashtag2"]},{"1396788686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396788670, 1396788667, 1396788724, 1396788759, 1396788669, 1396788686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.663697481155396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:14:41.835598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_57_1542.jpg', '/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_59_1585.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_01_1775.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_02_1583.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_04_1802.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_06_1770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_57_1542.jpg
/home/pi/Desktop/images/31102025/08/17/image_31102025_08_17_59_1585.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_01_1775.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_02_1583.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_04_1802.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_06_1770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396788935","1396789003","1396788969","1396789076","1396789040","1396788893"],"photo_ids_order":["1396788893","1396788935","1396788969","1396789003","1396789040","1396789076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/598297d5b0833ef944aada9089057a7c.jpg","text":"TemporaryFile(/tmp/multipartBody599032894144790560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375342944,"filename":"image_31102025_08_17_59_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efd9b3dba0f5bb5ab9d57257790a6cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7007284824978884915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375342944,"filename":"image_31102025_08_18_02_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8965bd0c7464be77ecadc4598b4bea7f.jpg","text":"TemporaryFile(/tmp/multipartBody6155099146608382633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375342944,"filename":"image_31102025_08_18_01_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/718085a4a819be5644080af8a46f1ac6.jpg","text":"TemporaryFile(/tmp/multipartBody5793200813971621713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375342944,"filename":"image_31102025_08_18_06_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/453bd8325eaa8b513db1967df887ee68.jpg","text":"TemporaryFile(/tmp/multipartBody5525839807702821548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375342944,"filename":"image_31102025_08_18_04_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb6f7f2c7376b237dbe0e76f4723c351.jpg","text":"TemporaryFile(/tmp/multipartBody2865159514729490246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375342944,"filename":"image_31102025_08_17_57_1542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396788969","file1":"1396788935","file0":"1396788893","file4":"1396789040","file5":"1396789076","file3":"1396789003"},"map_files_photo_id_array":[{"photo_id":"1396789076","filename":"file5"},{"photo_id":"1396788969","filename":"file2"},{"photo_id":"1396789040","filename":"file4"},{"photo_id":"1396788935","filename":"file1"},{"photo_id":"1396788893","filename":"file0"},{"photo_id":"1396789003","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396788935":["hashtag1","hashtag2"]},{"1396789003":["hashtag1","hashtag2"]},{"1396788969":["hashtag1","hashtag2"]},{"1396789076":["hashtag1","hashtag2"]},{"1396789040":["hashtag1","hashtag2"]},{"1396788893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396788935, 1396789003, 1396788969, 1396789076, 1396789040, 1396788893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30672740936279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:15:22.016238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/13/image_29112025_01_13_34_9827.jpg', '/home/pi/Desktop/images/29112025/01/14/image_29112025_01_14_54_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/13/image_29112025_01_13_34_9827.jpg
/home/pi/Desktop/images/29112025/01/14/image_29112025_01_14_54_9781.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4687154293060303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:15:32.030857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_40_2675.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_43_2621.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_47_3880.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_50_2668.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_52_2611.jpg', '/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_56_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_40_2675.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_43_2621.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_47_3880.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_50_2668.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_52_2611.jpg
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_56_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":["1396789432","1396789170","1396789215","1396789256","1396789370","1396789313"],"photo_ids_order":["1396789170","1396789215","1396789256","1396789313","1396789370","1396789432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80cace0b9fc25c7297b1cdd9de7346a0.jpg","text":"TemporaryFile(/tmp/multipartBody4468232309881319285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375394246,"filename":"image_25112025_17_17_56_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2ded88231984c69b809803c395f902f.jpg","text":"TemporaryFile(/tmp/multipartBody2951645744768310012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375394246,"filename":"image_25112025_17_17_40_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08d918f391ca80e34a030f1e0b994a05.jpg","text":"TemporaryFile(/tmp/multipartBody5550628954332986197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375394246,"filename":"image_25112025_17_17_43_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7d99a28bbe7050fe641f2e8e9f98b8f.jpg","text":"TemporaryFile(/tmp/multipartBody6705115723759482501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375394246,"filename":"image_25112025_17_17_47_3880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b378e1574fa9d3ab6aecc5e9240dac0c.jpg","text":"TemporaryFile(/tmp/multipartBody1268865317411926178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375394246,"filename":"image_25112025_17_17_52_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80f6e6685bc37134f67eb8c098afb61d.jpg","text":"TemporaryFile(/tmp/multipartBody8749609846369106098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375394246,"filename":"image_25112025_17_17_50_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396789256","file1":"1396789215","file0":"1396789170","file4":"1396789370","file5":"1396789432","file3":"1396789313"},"map_files_photo_id_array":[{"photo_id":"1396789432","filename":"file5"},{"photo_id":"1396789256","filename":"file2"},{"photo_id":"1396789370","filename":"file4"},{"photo_id":"1396789215","filename":"file1"},{"photo_id":"1396789170","filename":"file0"},{"photo_id":"1396789313","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396789432":["hashtag1","hashtag2"]},{"1396789170":["hashtag1","hashtag2"]},{"1396789215":["hashtag1","hashtag2"]},{"1396789256":["hashtag1","hashtag2"]},{"1396789370":["hashtag1","hashtag2"]},{"1396789313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396789432, 1396789170, 1396789215, 1396789256, 1396789370, 1396789313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.480138063430786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:16:12.128483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_59_2628.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_01_2556.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_05_3551.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_07_2621.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_11_3558.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_13_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/17/image_25112025_17_17_59_2628.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_01_2556.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_05_3551.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_07_2621.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_11_3558.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_13_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":["1396789706","1396789585","1396789621","1396789749","1396789661","1396789808"],"photo_ids_order":["1396789585","1396789621","1396789661","1396789706","1396789749","1396789808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/250f8e4be080ac856f635704cb18cc2e.jpg","text":"TemporaryFile(/tmp/multipartBody2359552480862519222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375434222,"filename":"image_25112025_17_18_07_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6312f069aa13dc3e1cac2bcaef94c8b0.jpg","text":"TemporaryFile(/tmp/multipartBody1091138734076033682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375434222,"filename":"image_25112025_17_17_59_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f50bffd71b1da57c7df6fae787c45741.jpg","text":"TemporaryFile(/tmp/multipartBody4842627795556571292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375434222,"filename":"image_25112025_17_18_01_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/951d1886321ed4c4a64cf4ebdd7a04e4.jpg","text":"TemporaryFile(/tmp/multipartBody6350889976812881941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375434222,"filename":"image_25112025_17_18_11_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6c37ccea7dcb8905ecd0aefee51b3d6.jpg","text":"TemporaryFile(/tmp/multipartBody5778724775269114966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375434222,"filename":"image_25112025_17_18_05_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e7c15589887fb696aea49031ffd1fd6.jpg","text":"TemporaryFile(/tmp/multipartBody3219539793483215676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375434222,"filename":"image_25112025_17_18_13_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396789661","file1":"1396789621","file0":"1396789585","file4":"1396789749","file5":"1396789808","file3":"1396789706"},"map_files_photo_id_array":[{"photo_id":"1396789808","filename":"file5"},{"photo_id":"1396789661","filename":"file2"},{"photo_id":"1396789749","filename":"file4"},{"photo_id":"1396789621","filename":"file1"},{"photo_id":"1396789585","filename":"file0"},{"photo_id":"1396789706","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396789706":["hashtag1","hashtag2"]},{"1396789585":["hashtag1","hashtag2"]},{"1396789621":["hashtag1","hashtag2"]},{"1396789749":["hashtag1","hashtag2"]},{"1396789661":["hashtag1","hashtag2"]},{"1396789808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396789706, 1396789585, 1396789621, 1396789749, 1396789661, 1396789808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.047935962677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:17:03.000079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/13/image_29112025_01_13_34_9827.jpg', '/home/pi/Desktop/images/29112025/01/14/image_29112025_01_14_54_9781.jpg', '/home/pi/Desktop/images/29112025/01/15/image_29112025_01_15_24_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/13/image_29112025_01_13_34_9827.jpg
/home/pi/Desktop/images/29112025/01/14/image_29112025_01_14_54_9781.jpg
/home/pi/Desktop/images/29112025/01/15/image_29112025_01_15_24_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":["1396790094","1396790049","1396790013"],"photo_ids_order":["1396790013","1396790049","1396790094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1e76a39e534c4c870659d24fe61fb4a.jpg","text":"TemporaryFile(/tmp/multipartBody6223239792854413504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375483691,"filename":"image_29112025_01_15_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/11/29/ba914407a6cc4e24e17148de6946cafc.jpg","text":"TemporaryFile(/tmp/multipartBody5851349933394090783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375483691,"filename":"image_29112025_01_14_54_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db4f1cb01e9e00cdcbb7626d9a77666b.jpg","text":"TemporaryFile(/tmp/multipartBody5573425006848505823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375483691,"filename":"image_29112025_01_13_34_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396790094","file1":"1396790049","file0":"1396790013"},"map_files_photo_id_array":[{"photo_id":"1396790094","filename":"file2"},{"photo_id":"1396790049","filename":"file1"},{"photo_id":"1396790013","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396790094":["hashtag1","hashtag2"]},{"1396790049":["hashtag1","hashtag2"]},{"1396790013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396790094, 1396790049, 1396790013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.405437469482422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:17:32.288004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_16_2714.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_20_3665.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_23_2732.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_25_2670.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_29_3612.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_32_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_16_2714.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_20_3665.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_23_2732.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_25_2670.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_29_3612.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_32_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":["1396790446","1396790512","1396790655","1396790724","1396790789","1396790588"],"photo_ids_order":["1396790446","1396790512","1396790588","1396790655","1396790724","1396790789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bbcf821892316c032fd0bdbac3fc0f32.jpg","text":"TemporaryFile(/tmp/multipartBody4423726081844885074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375514528,"filename":"image_25112025_17_18_16_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c231f9a976223f94a41b2fce89f9d866.jpg","text":"TemporaryFile(/tmp/multipartBody7967879982363354318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375514528,"filename":"image_25112025_17_18_20_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1233a595da7d59ce29af9c2acda54ac8.jpg","text":"TemporaryFile(/tmp/multipartBody4073378640299055516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375514528,"filename":"image_25112025_17_18_25_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29b241b55d8027dd0ec3d8c74cda0f2c.jpg","text":"TemporaryFile(/tmp/multipartBody8646595290107915903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375514528,"filename":"image_25112025_17_18_29_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fa8c00b63a438781280aaa1759b6b52.jpg","text":"TemporaryFile(/tmp/multipartBody4242678458216467946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375514528,"filename":"image_25112025_17_18_32_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30cf4129644f23d31015d8f5239e643d.jpg","text":"TemporaryFile(/tmp/multipartBody3602658729887477436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375514528,"filename":"image_25112025_17_18_23_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396790588","file1":"1396790512","file0":"1396790446","file4":"1396790724","file5":"1396790789","file3":"1396790655"},"map_files_photo_id_array":[{"photo_id":"1396790789","filename":"file5"},{"photo_id":"1396790588","filename":"file2"},{"photo_id":"1396790724","filename":"file4"},{"photo_id":"1396790512","filename":"file1"},{"photo_id":"1396790446","filename":"file0"},{"photo_id":"1396790655","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396790446":["hashtag1","hashtag2"]},{"1396790512":["hashtag1","hashtag2"]},{"1396790655":["hashtag1","hashtag2"]},{"1396790724":["hashtag1","hashtag2"]},{"1396790789":["hashtag1","hashtag2"]},{"1396790588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396790446, 1396790512, 1396790655, 1396790724, 1396790789, 1396790588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60901689529419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:18:12.637120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_34_2685.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_37_2830.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_41_3831.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_44_2801.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_46_2555.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_50_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_34_2685.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_37_2830.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_41_3831.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_44_2801.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_46_2555.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_50_3602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396791184","1396791219","1396791060","1396791098","1396791024","1396791143"],"photo_ids_order":["1396791024","1396791060","1396791098","1396791143","1396791184","1396791219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9597c502b66a93134e7389804c2e88d.jpg","text":"TemporaryFile(/tmp/multipartBody3939606774071755881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375554713,"filename":"image_25112025_17_18_46_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efe93c9d30b4a0603b9d91c597c66245.jpg","text":"TemporaryFile(/tmp/multipartBody5876054049216282758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375554713,"filename":"image_25112025_17_18_50_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/675365c4df15b9504089a8fc7785ade0.jpg","text":"TemporaryFile(/tmp/multipartBody9030374183806793307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375554713,"filename":"image_25112025_17_18_37_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/23e18cf7c0bda2f06686f1ebfbc58e52.jpg","text":"TemporaryFile(/tmp/multipartBody2925334663373372563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375554713,"filename":"image_25112025_17_18_41_3831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57f5ce202f2e58b17c7569c902b1c780.jpg","text":"TemporaryFile(/tmp/multipartBody183951895039310951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375554713,"filename":"image_25112025_17_18_34_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97e65bc693023d6fdc815b67f1fb065c.jpg","text":"TemporaryFile(/tmp/multipartBody6996700353592794569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375554713,"filename":"image_25112025_17_18_44_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396791098","file1":"1396791060","file0":"1396791024","file4":"1396791184","file5":"1396791219","file3":"1396791143"},"map_files_photo_id_array":[{"photo_id":"1396791219","filename":"file5"},{"photo_id":"1396791098","filename":"file2"},{"photo_id":"1396791184","filename":"file4"},{"photo_id":"1396791060","filename":"file1"},{"photo_id":"1396791024","filename":"file0"},{"photo_id":"1396791143","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396791184":["hashtag1","hashtag2"]},{"1396791219":["hashtag1","hashtag2"]},{"1396791060":["hashtag1","hashtag2"]},{"1396791098":["hashtag1","hashtag2"]},{"1396791024":["hashtag1","hashtag2"]},{"1396791143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396791184, 1396791219, 1396791060, 1396791098, 1396791024, 1396791143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.723384380340576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:19:02.776573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_52_2626.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_55_2621.jpg', '/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_59_3769.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_02_2806.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_04_2596.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_08_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_52_2626.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_55_2621.jpg
/home/pi/Desktop/images/25112025/17/18/image_25112025_17_18_59_3769.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_02_2806.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_04_2596.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_08_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":["1396791503","1396791498","1396791468","1396791497","1396791434","1396791500"],"photo_ids_order":["1396791434","1396791468","1396791497","1396791498","1396791500","1396791503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e546bf1434382cda7d4c4708ee6abc2.jpg","text":"TemporaryFile(/tmp/multipartBody6787052949238587234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375604549,"filename":"image_25112025_17_19_08_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a55a2f9b3bdb9b1e7fbcdb951f1c5c1b.jpg","text":"TemporaryFile(/tmp/multipartBody7359630550838526105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375604549,"filename":"image_25112025_17_19_02_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18274c043ae32fdb2c1930223e42b90e.jpg","text":"TemporaryFile(/tmp/multipartBody3745828581379337421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375604549,"filename":"image_25112025_17_18_55_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2309ebb4bad3362fe217de8862b35667.jpg","text":"TemporaryFile(/tmp/multipartBody4044302593244611558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375604549,"filename":"image_25112025_17_18_59_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7782ab1febe288acd2f0ad7989c73d8.jpg","text":"TemporaryFile(/tmp/multipartBody6162866502644363009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375604549,"filename":"image_25112025_17_18_52_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a00575dca471ca42e36f6c6463e0b13a.jpg","text":"TemporaryFile(/tmp/multipartBody5084692343117073255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375604549,"filename":"image_25112025_17_19_04_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396791497","file1":"1396791468","file0":"1396791434","file4":"1396791500","file5":"1396791503","file3":"1396791498"},"map_files_photo_id_array":[{"photo_id":"1396791503","filename":"file5"},{"photo_id":"1396791497","filename":"file2"},{"photo_id":"1396791500","filename":"file4"},{"photo_id":"1396791468","filename":"file1"},{"photo_id":"1396791434","filename":"file0"},{"photo_id":"1396791498","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396791503":["hashtag1","hashtag2"]},{"1396791498":["hashtag1","hashtag2"]},{"1396791468":["hashtag1","hashtag2"]},{"1396791497":["hashtag1","hashtag2"]},{"1396791434":["hashtag1","hashtag2"]},{"1396791500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396791503, 1396791498, 1396791468, 1396791497, 1396791434, 1396791500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21403932571411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:19:41.878921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_08_1527.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_09_1816.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_11_1765.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_13_1542.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_14_1590.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_16_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_08_1527.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_09_1816.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_11_1765.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_13_1542.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_14_1590.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_16_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396791762","1396791864","1396791660","1396791587","1396791531","1396791510"],"photo_ids_order":["1396791510","1396791531","1396791587","1396791660","1396791762","1396791864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c93fb22d299c90e71b9d4761997c5767.jpg","text":"TemporaryFile(/tmp/multipartBody4242550137291464669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375642943,"filename":"image_31102025_08_18_14_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c5a46ddda9fbf8c98bbb7800fee3aa5.jpg","text":"TemporaryFile(/tmp/multipartBody4322590553543258545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375642943,"filename":"image_31102025_08_18_16_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/189222b250126611c80ffac8a826e6ae.jpg","text":"TemporaryFile(/tmp/multipartBody3978669617094849098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375642943,"filename":"image_31102025_08_18_13_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b93a81d8cba9e2f11439325a825a54e.jpg","text":"TemporaryFile(/tmp/multipartBody6786585792639108800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375642943,"filename":"image_31102025_08_18_11_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/831e4874a69fab739eebaf00a425070a.jpg","text":"TemporaryFile(/tmp/multipartBody3225640877301864481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375642943,"filename":"image_31102025_08_18_09_1816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46ee9ae315e793fbaf57f813d8874ed9.jpg","text":"TemporaryFile(/tmp/multipartBody3630368872951513961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375642943,"filename":"image_31102025_08_18_08_1527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396791587","file1":"1396791531","file0":"1396791510","file4":"1396791762","file5":"1396791864","file3":"1396791660"},"map_files_photo_id_array":[{"photo_id":"1396791864","filename":"file5"},{"photo_id":"1396791587","filename":"file2"},{"photo_id":"1396791762","filename":"file4"},{"photo_id":"1396791531","filename":"file1"},{"photo_id":"1396791510","filename":"file0"},{"photo_id":"1396791660","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396791762":["hashtag1","hashtag2"]},{"1396791864":["hashtag1","hashtag2"]},{"1396791660":["hashtag1","hashtag2"]},{"1396791587":["hashtag1","hashtag2"]},{"1396791531":["hashtag1","hashtag2"]},{"1396791510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396791762, 1396791864, 1396791660, 1396791587, 1396791531, 1396791510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.078078508377075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:20:22.040251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/16/image_29112025_01_16_55_10694.jpg', '/home/pi/Desktop/images/29112025/01/18/image_29112025_01_19_05_10707.jpg', '/home/pi/Desktop/images/29112025/01/19/image_29112025_01_19_14_9645.jpg', '/home/pi/Desktop/images/29112025/01/19/image_29112025_01_19_24_9825.jpg', '/home/pi/Desktop/images/29112025/01/20/image_29112025_01_20_34_9744.jpg', '/home/pi/Desktop/images/29112025/01/20/image_29112025_01_20_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/16/image_29112025_01_16_55_10694.jpg
/home/pi/Desktop/images/29112025/01/18/image_29112025_01_19_05_10707.jpg
/home/pi/Desktop/images/29112025/01/19/image_29112025_01_19_14_9645.jpg
/home/pi/Desktop/images/29112025/01/19/image_29112025_01_19_24_9825.jpg
/home/pi/Desktop/images/29112025/01/20/image_29112025_01_20_34_9744.jpg
/home/pi/Desktop/images/29112025/01/20/image_29112025_01_20_44_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396792363","1396792735","1396792525","1396792434","1396792635","1396792288"],"photo_ids_order":["1396792288","1396792363","1396792434","1396792525","1396792635","1396792735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dbb95df925a0684734141d245d9af72a.jpg","text":"TemporaryFile(/tmp/multipartBody4952910014595734029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375682809,"filename":"image_29112025_01_19_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b322905e9c3e0daeba800152744498b7.jpg","text":"TemporaryFile(/tmp/multipartBody4085260841011527412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375682809,"filename":"image_29112025_01_20_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/11/29/20b1953d7ed471ecc04e49b6af3442c0.jpg","text":"TemporaryFile(/tmp/multipartBody2379284751803593844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375682809,"filename":"image_29112025_01_19_24_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5603079e446d571268b1a851d95c46a8.jpg","text":"TemporaryFile(/tmp/multipartBody5334621024670967205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375682809,"filename":"image_29112025_01_19_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/11/29/f8eac2ca20db96e40836240d78c6f2cc.jpg","text":"TemporaryFile(/tmp/multipartBody747456845632702359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375682809,"filename":"image_29112025_01_20_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/11/29/930cc5b66e09befbcf5db54d9b37080e.jpg","text":"TemporaryFile(/tmp/multipartBody929199538893575213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375682809,"filename":"image_29112025_01_16_55_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396792434","file1":"1396792363","file0":"1396792288","file4":"1396792635","file5":"1396792735","file3":"1396792525"},"map_files_photo_id_array":[{"photo_id":"1396792735","filename":"file5"},{"photo_id":"1396792434","filename":"file2"},{"photo_id":"1396792635","filename":"file4"},{"photo_id":"1396792363","filename":"file1"},{"photo_id":"1396792288","filename":"file0"},{"photo_id":"1396792525","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396792363":["hashtag1","hashtag2"]},{"1396792735":["hashtag1","hashtag2"]},{"1396792525":["hashtag1","hashtag2"]},{"1396792434":["hashtag1","hashtag2"]},{"1396792635":["hashtag1","hashtag2"]},{"1396792288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396792363, 1396792735, 1396792525, 1396792434, 1396792635, 1396792288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45898103713989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:21:02.933987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_10_2671.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_13_2598.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_17_3535.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_19_2605.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_23_3679.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_26_2898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_10_2671.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_13_2598.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_17_3535.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_19_2605.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_23_3679.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_26_2898.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396793206","1396793130","1396793285","1396793375","1396793561","1396793476"],"photo_ids_order":["1396793130","1396793206","1396793285","1396793375","1396793476","1396793561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7196943c3cdcc3f2f824bc502c855468.jpg","text":"TemporaryFile(/tmp/multipartBody2946877710347727379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375724610,"filename":"image_25112025_17_19_13_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f7b041a292f62cadcc0042c15e0ecf1.jpg","text":"TemporaryFile(/tmp/multipartBody7249363621484343104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375724610,"filename":"image_25112025_17_19_10_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac922579fb769db4f63c5497fe39950a.jpg","text":"TemporaryFile(/tmp/multipartBody2908387601353578993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375724610,"filename":"image_25112025_17_19_17_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d6514b4d626f9baba5974fdaa655c682.jpg","text":"TemporaryFile(/tmp/multipartBody1135134529197114018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375724610,"filename":"image_25112025_17_19_19_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0c9a43c50cec5464f253de2172036b5.jpg","text":"TemporaryFile(/tmp/multipartBody765508134431080802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375724610,"filename":"image_25112025_17_19_26_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f141c36acf2922a26361dfddfd02a13d.jpg","text":"TemporaryFile(/tmp/multipartBody243261614385262513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375724610,"filename":"image_25112025_17_19_23_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396793285","file1":"1396793206","file0":"1396793130","file4":"1396793476","file5":"1396793561","file3":"1396793375"},"map_files_photo_id_array":[{"photo_id":"1396793561","filename":"file5"},{"photo_id":"1396793285","filename":"file2"},{"photo_id":"1396793476","filename":"file4"},{"photo_id":"1396793206","filename":"file1"},{"photo_id":"1396793130","filename":"file0"},{"photo_id":"1396793375","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396793206":["hashtag1","hashtag2"]},{"1396793130":["hashtag1","hashtag2"]},{"1396793285":["hashtag1","hashtag2"]},{"1396793375":["hashtag1","hashtag2"]},{"1396793561":["hashtag1","hashtag2"]},{"1396793476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396793206, 1396793130, 1396793285, 1396793375, 1396793561, 1396793476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.933542251586914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:21:42.178755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_19_2699.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_21_2793.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_24_2843.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_27_2855.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_31_3624.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_33_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/08/18/image_31102025_08_18_19_2699.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_21_2793.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_24_2843.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_27_2855.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_31_3624.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_33_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":["1396794033","1396793814","1396793744","1396794008","1396793947","1396793889"],"photo_ids_order":["1396793744","1396793814","1396793889","1396793947","1396794008","1396794033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2ff9bc583424df36dcb9946692b636c.jpg","text":"TemporaryFile(/tmp/multipartBody4435483034286056538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375763272,"filename":"image_31102025_08_18_33_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17edbbce34cec7364974a6556ebe4dc9.jpg","text":"TemporaryFile(/tmp/multipartBody4780409899310648415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375763272,"filename":"image_31102025_08_18_21_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f23716aee0db8f22c229bb6a688b4dfc.jpg","text":"TemporaryFile(/tmp/multipartBody8909431244471208023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375763272,"filename":"image_31102025_08_18_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/11/29/f2475896932586eff1ab171d4c51d84d.jpg","text":"TemporaryFile(/tmp/multipartBody3782285995171274051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375763272,"filename":"image_31102025_08_18_31_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f42c64fe072b04be09a449ff1c7be3c1.jpg","text":"TemporaryFile(/tmp/multipartBody2992037300033054589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375763272,"filename":"image_31102025_08_18_27_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de97df1b3a4df05200e1aa099559c261.jpg","text":"TemporaryFile(/tmp/multipartBody6872104113217553024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375763272,"filename":"image_31102025_08_18_24_2843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396793889","file1":"1396793814","file0":"1396793744","file4":"1396794008","file5":"1396794033","file3":"1396793947"},"map_files_photo_id_array":[{"photo_id":"1396794033","filename":"file5"},{"photo_id":"1396793889","filename":"file2"},{"photo_id":"1396794008","filename":"file4"},{"photo_id":"1396793814","filename":"file1"},{"photo_id":"1396793744","filename":"file0"},{"photo_id":"1396793947","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396794033":["hashtag1","hashtag2"]},{"1396793814":["hashtag1","hashtag2"]},{"1396793744":["hashtag1","hashtag2"]},{"1396794008":["hashtag1","hashtag2"]},{"1396793947":["hashtag1","hashtag2"]},{"1396793889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396794033, 1396793814, 1396793744, 1396794008, 1396793947, 1396793889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83143854141235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:22:22.372852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/20/image_29112025_01_20_55_10580.jpg', '/home/pi/Desktop/images/29112025/01/20/image_29112025_01_21_04_9796.jpg', '/home/pi/Desktop/images/29112025/01/21/image_29112025_01_21_14_9722.jpg', '/home/pi/Desktop/images/29112025/01/21/image_29112025_01_21_35_10811.jpg', '/home/pi/Desktop/images/29112025/01/21/image_29112025_01_21_44_9726.jpg', '/home/pi/Desktop/images/29112025/01/21/image_29112025_01_22_05_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/20/image_29112025_01_20_55_10580.jpg
/home/pi/Desktop/images/29112025/01/20/image_29112025_01_21_04_9796.jpg
/home/pi/Desktop/images/29112025/01/21/image_29112025_01_21_14_9722.jpg
/home/pi/Desktop/images/29112025/01/21/image_29112025_01_21_35_10811.jpg
/home/pi/Desktop/images/29112025/01/21/image_29112025_01_21_44_9726.jpg
/home/pi/Desktop/images/29112025/01/21/image_29112025_01_22_05_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396794120","1396794117","1396794119","1396794113","1396794107","1396794115"],"photo_ids_order":["1396794107","1396794113","1396794115","1396794117","1396794119","1396794120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de344be21ee62b878d18f5e139c46c39.jpg","text":"TemporaryFile(/tmp/multipartBody3268110805346115058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375803137,"filename":"image_29112025_01_22_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7f58582bca4408515468e278f6fcbe2.jpg","text":"TemporaryFile(/tmp/multipartBody1286508904655574686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375803137,"filename":"image_29112025_01_21_35_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9594242a4792768961cb2365663f129.jpg","text":"TemporaryFile(/tmp/multipartBody1620909108523678713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375803137,"filename":"image_29112025_01_21_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/11/29/fc5ecb658f058d340ae55dc146d0fa46.jpg","text":"TemporaryFile(/tmp/multipartBody7950759381795889879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375803137,"filename":"image_29112025_01_21_04_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ab29f4bac4e7144d8e92a43928f8486.jpg","text":"TemporaryFile(/tmp/multipartBody6601261033364854137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375803137,"filename":"image_29112025_01_20_55_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7fe4d9cab6a596c15bbf1987b07a781.jpg","text":"TemporaryFile(/tmp/multipartBody773516355657310944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375803137,"filename":"image_29112025_01_21_14_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396794115","file1":"1396794113","file0":"1396794107","file4":"1396794119","file5":"1396794120","file3":"1396794117"},"map_files_photo_id_array":[{"photo_id":"1396794120","filename":"file5"},{"photo_id":"1396794115","filename":"file2"},{"photo_id":"1396794119","filename":"file4"},{"photo_id":"1396794113","filename":"file1"},{"photo_id":"1396794107","filename":"file0"},{"photo_id":"1396794117","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396794120":["hashtag1","hashtag2"]},{"1396794117":["hashtag1","hashtag2"]},{"1396794119":["hashtag1","hashtag2"]},{"1396794113":["hashtag1","hashtag2"]},{"1396794107":["hashtag1","hashtag2"]},{"1396794115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396794120, 1396794117, 1396794119, 1396794113, 1396794107, 1396794115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.97068929672241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:23:22.511040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/22/image_29112025_01_22_14_9965.jpg', '/home/pi/Desktop/images/29112025/01/22/image_29112025_01_22_54_10636.jpg', '/home/pi/Desktop/images/29112025/01/22/image_29112025_01_23_04_9716.jpg', '/home/pi/Desktop/images/29112025/01/23/image_29112025_01_23_24_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/22/image_29112025_01_22_14_9965.jpg
/home/pi/Desktop/images/29112025/01/22/image_29112025_01_22_54_10636.jpg
/home/pi/Desktop/images/29112025/01/22/image_29112025_01_23_04_9716.jpg
/home/pi/Desktop/images/29112025/01/23/image_29112025_01_23_24_9943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396794336","1396794371","1396794242","1396794298"],"photo_ids_order":["1396794242","1396794298","1396794336","1396794371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8055e5067f069f97da7cfc57e22d6c0a.jpg","text":"TemporaryFile(/tmp/multipartBody3280911569052217785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375863180,"filename":"image_29112025_01_23_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/11/29/1168743627c156a4268aa19330c21278.jpg","text":"TemporaryFile(/tmp/multipartBody5827756387924311567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375863180,"filename":"image_29112025_01_23_24_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3a2993eaa4a3942be71baf0a3051434.jpg","text":"TemporaryFile(/tmp/multipartBody4916182201352052429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375863180,"filename":"image_29112025_01_22_14_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16282960c395db25dcb8d96faf44fff9.jpg","text":"TemporaryFile(/tmp/multipartBody7917198122150234480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375863180,"filename":"image_29112025_01_22_54_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396794336","file1":"1396794298","file0":"1396794242","file3":"1396794371"},"map_files_photo_id_array":[{"photo_id":"1396794336","filename":"file2"},{"photo_id":"1396794298","filename":"file1"},{"photo_id":"1396794242","filename":"file0"},{"photo_id":"1396794371","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396794336":["hashtag1","hashtag2"]},{"1396794371":["hashtag1","hashtag2"]},{"1396794242":["hashtag1","hashtag2"]},{"1396794298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396794336, 1396794371, 1396794242, 1396794298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.88664102554321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:24:03.552075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_28_2538.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_31_2589.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_35_3742.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_37_2719.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_40_2655.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_44_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_28_2538.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_31_2589.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_35_3742.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_37_2719.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_40_2655.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_44_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396794549","1396794603","1396794623","1396794548","1396794547","1396794567"],"photo_ids_order":["1396794547","1396794548","1396794549","1396794567","1396794603","1396794623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d4db4bc73bcbc43c4a4531589d2fe0f.jpg","text":"TemporaryFile(/tmp/multipartBody1128934813092003792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375905194,"filename":"image_25112025_17_19_35_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25f91a98d56881eafa9c9f957096c546.jpg","text":"TemporaryFile(/tmp/multipartBody5545697213665913381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375905194,"filename":"image_25112025_17_19_40_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5948dc7a9d0f0a1e0cbaa098b6e9f56e.jpg","text":"TemporaryFile(/tmp/multipartBody7516955541255454064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375905194,"filename":"image_25112025_17_19_44_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd3dffaff6e525c469f94560b28d98ef.jpg","text":"TemporaryFile(/tmp/multipartBody7737402493920447307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375905194,"filename":"image_25112025_17_19_31_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ecc481d47142e8cc97dccf06e8dbbd6.jpg","text":"TemporaryFile(/tmp/multipartBody468941310014026652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375905194,"filename":"image_25112025_17_19_28_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab2501a61659a823a802e14e918ea95d.jpg","text":"TemporaryFile(/tmp/multipartBody8720636603812702602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375905194,"filename":"image_25112025_17_19_37_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396794549","file1":"1396794548","file0":"1396794547","file4":"1396794603","file5":"1396794623","file3":"1396794567"},"map_files_photo_id_array":[{"photo_id":"1396794623","filename":"file5"},{"photo_id":"1396794549","filename":"file2"},{"photo_id":"1396794603","filename":"file4"},{"photo_id":"1396794548","filename":"file1"},{"photo_id":"1396794547","filename":"file0"},{"photo_id":"1396794567","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396794549":["hashtag1","hashtag2"]},{"1396794603":["hashtag1","hashtag2"]},{"1396794623":["hashtag1","hashtag2"]},{"1396794548":["hashtag1","hashtag2"]},{"1396794547":["hashtag1","hashtag2"]},{"1396794567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396794549, 1396794603, 1396794623, 1396794548, 1396794547, 1396794567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68916964530945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:24:42.722141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_36_2735.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_39_2886.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_42_3653.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_45_2608.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_49_3712.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_51_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/08/18/image_31102025_08_18_36_2735.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_39_2886.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_42_3653.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_45_2608.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_49_3712.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_51_2651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396794671","1396794689","1396794670","1396794667","1396794669","1396794672"],"photo_ids_order":["1396794667","1396794669","1396794670","1396794671","1396794672","1396794689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/394bb10820bb3aa6c7c2888135d475e4.jpg","text":"TemporaryFile(/tmp/multipartBody121734696433422475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375943775,"filename":"image_31102025_08_18_45_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bc035fbd5f26f2f0f8686c9261878aa.jpg","text":"TemporaryFile(/tmp/multipartBody5452903100729299059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375943775,"filename":"image_31102025_08_18_51_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83f980e59ad4ab3d94b76ea325b7c55d.jpg","text":"TemporaryFile(/tmp/multipartBody3720676980047644702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375943775,"filename":"image_31102025_08_18_42_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b4356d4caec8652f01c4fc9d8a172b4.jpg","text":"TemporaryFile(/tmp/multipartBody1789489133402317022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375943775,"filename":"image_31102025_08_18_36_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc6e9e0f501877b51c67ee51753f83a9.jpg","text":"TemporaryFile(/tmp/multipartBody2909799243800390123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375943775,"filename":"image_31102025_08_18_39_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb5131a91b2b8a4fda4c8b2e03258bb8.jpg","text":"TemporaryFile(/tmp/multipartBody7542659115994662634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764375943775,"filename":"image_31102025_08_18_49_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396794670","file1":"1396794669","file0":"1396794667","file4":"1396794672","file5":"1396794689","file3":"1396794671"},"map_files_photo_id_array":[{"photo_id":"1396794689","filename":"file5"},{"photo_id":"1396794670","filename":"file2"},{"photo_id":"1396794672","filename":"file4"},{"photo_id":"1396794669","filename":"file1"},{"photo_id":"1396794667","filename":"file0"},{"photo_id":"1396794671","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396794671":["hashtag1","hashtag2"]},{"1396794689":["hashtag1","hashtag2"]},{"1396794670":["hashtag1","hashtag2"]},{"1396794667":["hashtag1","hashtag2"]},{"1396794669":["hashtag1","hashtag2"]},{"1396794672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396794671, 1396794689, 1396794670, 1396794667, 1396794669, 1396794672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.18109917640686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:25:41.978157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_54_2768.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_57_2625.jpg', '/home/pi/Desktop/images/31102025/08/18/image_31102025_08_19_00_3601.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_03_2718.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_07_3597.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_09_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/08/18/image_31102025_08_18_54_2768.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_18_57_2625.jpg
/home/pi/Desktop/images/31102025/08/18/image_31102025_08_19_00_3601.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_03_2718.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_07_3597.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_09_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":["1396795008","1396794927","1396795013","1396794962","1396795015","1396794996"],"photo_ids_order":["1396794927","1396794962","1396794996","1396795008","1396795013","1396795015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3196bc1832c928100349466c8685ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1379037242322910998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376003040,"filename":"image_31102025_08_19_03_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/688edbed36da71541a09271a9e875724.jpg","text":"TemporaryFile(/tmp/multipartBody2812557562061603375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376003040,"filename":"image_31102025_08_18_54_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/352169e26b3db6e644ed63d0178c7767.jpg","text":"TemporaryFile(/tmp/multipartBody7370108570227026530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376003040,"filename":"image_31102025_08_19_07_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88809bab9efc0fc43eb3753f9c747f88.jpg","text":"TemporaryFile(/tmp/multipartBody4750686907982324033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376003040,"filename":"image_31102025_08_18_57_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e784f18bf03a9d4482559cc950d77b8.jpg","text":"TemporaryFile(/tmp/multipartBody8171699290728586364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376003040,"filename":"image_31102025_08_19_09_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9a91d5b3084a0e38d4ead7b08ffc667.jpg","text":"TemporaryFile(/tmp/multipartBody212524925601390235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376003040,"filename":"image_31102025_08_19_00_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396794996","file1":"1396794962","file0":"1396794927","file4":"1396795013","file5":"1396795015","file3":"1396795008"},"map_files_photo_id_array":[{"photo_id":"1396795015","filename":"file5"},{"photo_id":"1396794996","filename":"file2"},{"photo_id":"1396795013","filename":"file4"},{"photo_id":"1396794962","filename":"file1"},{"photo_id":"1396794927","filename":"file0"},{"photo_id":"1396795008","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396795008":["hashtag1","hashtag2"]},{"1396794927":["hashtag1","hashtag2"]},{"1396795013":["hashtag1","hashtag2"]},{"1396794962":["hashtag1","hashtag2"]},{"1396795015":["hashtag1","hashtag2"]},{"1396794996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396795008, 1396794927, 1396795013, 1396794962, 1396795015, 1396794996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38190960884094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:26:22.186721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/23/image_29112025_01_23_34_10627.jpg', '/home/pi/Desktop/images/29112025/01/25/image_29112025_01_25_14_10020.jpg', '/home/pi/Desktop/images/29112025/01/25/image_29112025_01_25_24_10586.jpg', '/home/pi/Desktop/images/29112025/01/25/image_29112025_01_25_34_9687.jpg', '/home/pi/Desktop/images/29112025/01/25/image_29112025_01_25_44_9602.jpg', '/home/pi/Desktop/images/29112025/01/26/image_29112025_01_26_14_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/23/image_29112025_01_23_34_10627.jpg
/home/pi/Desktop/images/29112025/01/25/image_29112025_01_25_14_10020.jpg
/home/pi/Desktop/images/29112025/01/25/image_29112025_01_25_24_10586.jpg
/home/pi/Desktop/images/29112025/01/25/image_29112025_01_25_34_9687.jpg
/home/pi/Desktop/images/29112025/01/25/image_29112025_01_25_44_9602.jpg
/home/pi/Desktop/images/29112025/01/26/image_29112025_01_26_14_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795025","1396795027","1396795021","1396795029","1396795023","1396795032"],"photo_ids_order":["1396795021","1396795023","1396795025","1396795027","1396795029","1396795032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a3a9f96a70a91ee5cc38a4990faeb81.jpg","text":"TemporaryFile(/tmp/multipartBody2023221303681075736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376042987,"filename":"image_29112025_01_25_24_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e55671c1ed7247b36affffd28eb41879.jpg","text":"TemporaryFile(/tmp/multipartBody4646294724688983880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376042987,"filename":"image_29112025_01_25_34_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/713181cb92be1092196efeb683da3cf8.jpg","text":"TemporaryFile(/tmp/multipartBody2478036573330274887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376042987,"filename":"image_29112025_01_23_34_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0802b411fad4b06dd53e3f2807adb118.jpg","text":"TemporaryFile(/tmp/multipartBody2481773546893886864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376042987,"filename":"image_29112025_01_25_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/11/29/d4ca6d2a7135c7217050f3acac447c6b.jpg","text":"TemporaryFile(/tmp/multipartBody309465907286959035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376042987,"filename":"image_29112025_01_25_14_10020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd25a6d5e5478f6acdcc83ba43c5c66d.jpg","text":"TemporaryFile(/tmp/multipartBody6919391780542304861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376042987,"filename":"image_29112025_01_26_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795025","file1":"1396795023","file0":"1396795021","file4":"1396795029","file5":"1396795032","file3":"1396795027"},"map_files_photo_id_array":[{"photo_id":"1396795032","filename":"file5"},{"photo_id":"1396795025","filename":"file2"},{"photo_id":"1396795029","filename":"file4"},{"photo_id":"1396795023","filename":"file1"},{"photo_id":"1396795021","filename":"file0"},{"photo_id":"1396795027","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396795025":["hashtag1","hashtag2"]},{"1396795027":["hashtag1","hashtag2"]},{"1396795021":["hashtag1","hashtag2"]},{"1396795029":["hashtag1","hashtag2"]},{"1396795023":["hashtag1","hashtag2"]},{"1396795032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396795025, 1396795027, 1396795021, 1396795029, 1396795023, 1396795032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.073203802108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:27:03.202391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/26/image_29112025_01_26_25_10723.jpg', '/home/pi/Desktop/images/29112025/01/26/image_29112025_01_26_34_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/26/image_29112025_01_26_25_10723.jpg
/home/pi/Desktop/images/29112025/01/26/image_29112025_01_26_34_9815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795041","1396795038"],"photo_ids_order":["1396795038","1396795041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60c68ffb2207c825f6c0aaf1a110b980.jpg","text":"TemporaryFile(/tmp/multipartBody3899511412747637792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376083839,"filename":"image_29112025_01_26_34_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e6b7ce40b5092e2622648137526e800.jpg","text":"TemporaryFile(/tmp/multipartBody6002090036080492375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376083839,"filename":"image_29112025_01_26_25_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396795041","file0":"1396795038"},"map_files_photo_id_array":[{"photo_id":"1396795041","filename":"file1"},{"photo_id":"1396795038","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396795041":["hashtag1","hashtag2"]},{"1396795038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396795041, 1396795038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.08288598060608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:27:22.342087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/26/image_29112025_01_26_44_9561.jpg', '/home/pi/Desktop/images/29112025/01/27/image_29112025_01_27_35_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/26/image_29112025_01_26_44_9561.jpg
/home/pi/Desktop/images/29112025/01/27/image_29112025_01_27_35_10714.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.46994757652282715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:27:32.350322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_46_2688.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_49_2794.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_53_3549.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_55_2620.jpg', '/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_58_2720.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_46_2688.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_49_2794.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_53_3549.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_55_2620.jpg
/home/pi/Desktop/images/25112025/17/19/image_25112025_17_19_58_2720.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_07_3011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795079","1396795073","1396795049","1396795057","1396795051","1396795062"],"photo_ids_order":["1396795049","1396795051","1396795057","1396795062","1396795073","1396795079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/487cb6d2df03cb999e936fabfab6724c.jpg","text":"TemporaryFile(/tmp/multipartBody729377758869592262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376114625,"filename":"image_25112025_17_20_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13165483aaa1223fb4313569075536c7.jpg","text":"TemporaryFile(/tmp/multipartBody4378281699146047841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376114625,"filename":"image_25112025_17_19_58_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85a7a0c9875971468636a0ec04092c4d.jpg","text":"TemporaryFile(/tmp/multipartBody399097606140003964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376114625,"filename":"image_25112025_17_19_46_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3c9fab2caa4c7b5b46ecfc54351d8f7.jpg","text":"TemporaryFile(/tmp/multipartBody6891295179444519404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376114625,"filename":"image_25112025_17_19_53_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ace8f418509501a4531ffc7abd074c88.jpg","text":"TemporaryFile(/tmp/multipartBody2089296894458933020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376114625,"filename":"image_25112025_17_19_49_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d52697c6f7879d1bd38857db579af2c2.jpg","text":"TemporaryFile(/tmp/multipartBody6798983397698960075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376114625,"filename":"image_25112025_17_19_55_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795057","file1":"1396795051","file0":"1396795049","file4":"1396795073","file5":"1396795079","file3":"1396795062"},"map_files_photo_id_array":[{"photo_id":"1396795079","filename":"file5"},{"photo_id":"1396795057","filename":"file2"},{"photo_id":"1396795073","filename":"file4"},{"photo_id":"1396795051","filename":"file1"},{"photo_id":"1396795049","filename":"file0"},{"photo_id":"1396795062","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396795079":["hashtag1","hashtag2"]},{"1396795073":["hashtag1","hashtag2"]},{"1396795049":["hashtag1","hashtag2"]},{"1396795057":["hashtag1","hashtag2"]},{"1396795051":["hashtag1","hashtag2"]},{"1396795062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396795079, 1396795073, 1396795049, 1396795057, 1396795051, 1396795062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.320998191833496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:28:12.477842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_11_3728.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_14_2732.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_17_2751.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_20_3661.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_23_2595.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_26_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_11_3728.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_14_2732.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_17_2751.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_20_3661.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_23_2595.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_26_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795082","1396795088","1396795090","1396795084","1396795092","1396795080"],"photo_ids_order":["1396795080","1396795082","1396795084","1396795088","1396795090","1396795092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ade5c3cbbac6f03be34ea979c5569736.jpg","text":"TemporaryFile(/tmp/multipartBody6689477975092365210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376154599,"filename":"image_25112025_17_20_14_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28d28b53a07431c9125ea5fabc886554.jpg","text":"TemporaryFile(/tmp/multipartBody6190139334906872171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376154599,"filename":"image_25112025_17_20_20_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d82c7b0838d02e151f7057cc2c7451e0.jpg","text":"TemporaryFile(/tmp/multipartBody9135204574495167502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376154599,"filename":"image_25112025_17_20_23_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f18626cd02ab669224842aba81a8b0c2.jpg","text":"TemporaryFile(/tmp/multipartBody8807422427737847350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376154599,"filename":"image_25112025_17_20_17_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a923da0f66eb93a6ed2536dd134da1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1449875207516893175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376154599,"filename":"image_25112025_17_20_26_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab745d8946deda1c4e8627eaf31f2d1a.jpg","text":"TemporaryFile(/tmp/multipartBody8063042566001730428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376154599,"filename":"image_25112025_17_20_11_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795084","file1":"1396795082","file0":"1396795080","file4":"1396795090","file5":"1396795092","file3":"1396795088"},"map_files_photo_id_array":[{"photo_id":"1396795092","filename":"file5"},{"photo_id":"1396795084","filename":"file2"},{"photo_id":"1396795090","filename":"file4"},{"photo_id":"1396795082","filename":"file1"},{"photo_id":"1396795080","filename":"file0"},{"photo_id":"1396795088","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396795082":["hashtag1","hashtag2"]},{"1396795088":["hashtag1","hashtag2"]},{"1396795090":["hashtag1","hashtag2"]},{"1396795084":["hashtag1","hashtag2"]},{"1396795092":["hashtag1","hashtag2"]},{"1396795080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396795082, 1396795088, 1396795090, 1396795084, 1396795092, 1396795080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26523947715759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:29:03.411790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/26/image_29112025_01_26_44_9561.jpg', '/home/pi/Desktop/images/29112025/01/27/image_29112025_01_27_35_10714.jpg', '/home/pi/Desktop/images/29112025/01/27/image_29112025_01_27_54_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/26/image_29112025_01_26_44_9561.jpg
/home/pi/Desktop/images/29112025/01/27/image_29112025_01_27_35_10714.jpg
/home/pi/Desktop/images/29112025/01/27/image_29112025_01_27_54_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795097","1396795098","1396795095"],"photo_ids_order":["1396795095","1396795097","1396795098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5c46275dfe107375d190389ed02e246.jpg","text":"TemporaryFile(/tmp/multipartBody8035624423099096861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376204289,"filename":"image_29112025_01_27_35_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e17a47deb836090c1b5e284777f02647.jpg","text":"TemporaryFile(/tmp/multipartBody4007235497670039964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376204289,"filename":"image_29112025_01_27_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/11/29/d2caa44c13a69be92a917b887d9fb304.jpg","text":"TemporaryFile(/tmp/multipartBody5586322010733424485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376204289,"filename":"image_29112025_01_26_44_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795098","file1":"1396795097","file0":"1396795095"},"map_files_photo_id_array":[{"photo_id":"1396795098","filename":"file2"},{"photo_id":"1396795097","filename":"file1"},{"photo_id":"1396795095","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396795097":["hashtag1","hashtag2"]},{"1396795098":["hashtag1","hashtag2"]},{"1396795095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396795097, 1396795098, 1396795095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.76782202720642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:29:32.633617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_29_3696.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_32_2572.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_35_2780.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_38_3596.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_41_2667.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_44_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_29_3696.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_32_2572.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_35_2780.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_38_3596.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_41_2667.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_44_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 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>8bhd8a29g</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>8bhd8a29g</strong>.
uploaded 0 photos
time to upload: 55.1684455871582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:30:31.860380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_29_3696.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_32_2572.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_35_2780.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_38_3596.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_41_2667.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_44_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_29_3696.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_32_2572.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_35_2780.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_38_3596.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_41_2667.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_44_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795130","1396795127","1396795124","1396795132","1396795129","1396795131"],"photo_ids_order":["1396795124","1396795127","1396795129","1396795130","1396795131","1396795132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78245b973154d87439a49a0811cdc6f5.jpg","text":"TemporaryFile(/tmp/multipartBody6356626785683808129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376293984,"filename":"image_25112025_17_20_38_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0608974808ca03523272ed97dc9f6a9c.jpg","text":"TemporaryFile(/tmp/multipartBody629064087253316257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376293984,"filename":"image_25112025_17_20_32_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbe869812e77023677d885a1a70711dd.jpg","text":"TemporaryFile(/tmp/multipartBody2432036975274997892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376293984,"filename":"image_25112025_17_20_29_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3cac398f76b1167cf8236795b5bcf729.jpg","text":"TemporaryFile(/tmp/multipartBody1921327765572098806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376293984,"filename":"image_25112025_17_20_44_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4397defdde50d18c58e376d1054bdb49.jpg","text":"TemporaryFile(/tmp/multipartBody1784190442676694421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376293984,"filename":"image_25112025_17_20_35_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adfe0fa6426e962d19ef8a8f376c85eb.jpg","text":"TemporaryFile(/tmp/multipartBody8629398293754597065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376293984,"filename":"image_25112025_17_20_41_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795129","file1":"1396795127","file0":"1396795124","file4":"1396795131","file5":"1396795132","file3":"1396795130"},"map_files_photo_id_array":[{"photo_id":"1396795132","filename":"file5"},{"photo_id":"1396795129","filename":"file2"},{"photo_id":"1396795131","filename":"file4"},{"photo_id":"1396795127","filename":"file1"},{"photo_id":"1396795124","filename":"file0"},{"photo_id":"1396795130","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396795130":["hashtag1","hashtag2"]},{"1396795127":["hashtag1","hashtag2"]},{"1396795124":["hashtag1","hashtag2"]},{"1396795132":["hashtag1","hashtag2"]},{"1396795129":["hashtag1","hashtag2"]},{"1396795131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396795130, 1396795127, 1396795124, 1396795132, 1396795129, 1396795131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10430335998535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:31:11.961496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_47_3633.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_50_2549.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_53_3566.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_56_2509.jpg', '/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_59_3496.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_02_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_47_3633.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_50_2549.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_53_3566.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_56_2509.jpg
/home/pi/Desktop/images/25112025/17/20/image_25112025_17_20_59_3496.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_02_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795151","1396795136","1396795168","1396795155","1396795134","1396795143"],"photo_ids_order":["1396795134","1396795136","1396795143","1396795151","1396795155","1396795168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7b5bb79b6f976bd17626dd319b821f7.jpg","text":"TemporaryFile(/tmp/multipartBody5989153708229747741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376334091,"filename":"image_25112025_17_20_56_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc1ea98191c838acb4a23a0c75a5b71c.jpg","text":"TemporaryFile(/tmp/multipartBody8689995231970930866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376334091,"filename":"image_25112025_17_20_50_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c05d3b5dd8fbb20848e147d1f2140e4d.jpg","text":"TemporaryFile(/tmp/multipartBody941461021429690831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376334091,"filename":"image_25112025_17_21_02_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3da6dcb1ff41c4353ab0c4c714cd0093.jpg","text":"TemporaryFile(/tmp/multipartBody3955899266230710554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376334091,"filename":"image_25112025_17_20_59_3496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9d16a502e65c4d084f0a9792a998691.jpg","text":"TemporaryFile(/tmp/multipartBody4672753428972201416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376334091,"filename":"image_25112025_17_20_47_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b2d39f713cbd1f11ca4c74c770b5a7e.jpg","text":"TemporaryFile(/tmp/multipartBody3791073777745894813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376334091,"filename":"image_25112025_17_20_53_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795143","file1":"1396795136","file0":"1396795134","file4":"1396795155","file5":"1396795168","file3":"1396795151"},"map_files_photo_id_array":[{"photo_id":"1396795168","filename":"file5"},{"photo_id":"1396795143","filename":"file2"},{"photo_id":"1396795155","filename":"file4"},{"photo_id":"1396795136","filename":"file1"},{"photo_id":"1396795134","filename":"file0"},{"photo_id":"1396795151","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396795151":["hashtag1","hashtag2"]},{"1396795136":["hashtag1","hashtag2"]},{"1396795168":["hashtag1","hashtag2"]},{"1396795155":["hashtag1","hashtag2"]},{"1396795134":["hashtag1","hashtag2"]},{"1396795143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396795151, 1396795136, 1396795168, 1396795155, 1396795134, 1396795143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13696050643921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:32:02.716113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/28/image_29112025_01_28_24_9705.jpg', '/home/pi/Desktop/images/29112025/01/29/image_29112025_01_29_34_9860.jpg', '/home/pi/Desktop/images/29112025/01/29/image_29112025_01_29_44_9625.jpg', '/home/pi/Desktop/images/29112025/01/29/image_29112025_01_29_54_9701.jpg', '/home/pi/Desktop/images/29112025/01/29/image_29112025_01_30_05_10778.jpg', '/home/pi/Desktop/images/29112025/01/30/image_29112025_01_30_14_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/28/image_29112025_01_28_24_9705.jpg
/home/pi/Desktop/images/29112025/01/29/image_29112025_01_29_34_9860.jpg
/home/pi/Desktop/images/29112025/01/29/image_29112025_01_29_44_9625.jpg
/home/pi/Desktop/images/29112025/01/29/image_29112025_01_29_54_9701.jpg
/home/pi/Desktop/images/29112025/01/29/image_29112025_01_30_05_10778.jpg
/home/pi/Desktop/images/29112025/01/30/image_29112025_01_30_14_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795175","1396795169","1396795178","1396795172","1396795171","1396795170"],"photo_ids_order":["1396795169","1396795170","1396795171","1396795172","1396795175","1396795178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/733274ba8af1f64ac38ca7d7a74f0b48.jpg","text":"TemporaryFile(/tmp/multipartBody3241547369086921262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376384258,"filename":"image_29112025_01_30_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/11/29/7ed4b6265c535c0ba5b67bbf60775be1.jpg","text":"TemporaryFile(/tmp/multipartBody3377034900876057934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376384258,"filename":"image_29112025_01_28_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/11/29/0ca66b90646995a68a8abafde2ce2579.jpg","text":"TemporaryFile(/tmp/multipartBody4310063095228380550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376384258,"filename":"image_29112025_01_30_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fcf5ddf5b6657394a5260db4e54afc7.jpg","text":"TemporaryFile(/tmp/multipartBody6036370407667310018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376384258,"filename":"image_29112025_01_29_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/11/29/d204fb8134711f62e9357abc0e7ea7e0.jpg","text":"TemporaryFile(/tmp/multipartBody3472088248661197207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376384258,"filename":"image_29112025_01_29_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/11/29/e057216fbb93932edc08e2bf6c0030b9.jpg","text":"TemporaryFile(/tmp/multipartBody9165069595066098276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376384258,"filename":"image_29112025_01_29_34_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795171","file1":"1396795170","file0":"1396795169","file4":"1396795175","file5":"1396795178","file3":"1396795172"},"map_files_photo_id_array":[{"photo_id":"1396795178","filename":"file5"},{"photo_id":"1396795171","filename":"file2"},{"photo_id":"1396795175","filename":"file4"},{"photo_id":"1396795170","filename":"file1"},{"photo_id":"1396795169","filename":"file0"},{"photo_id":"1396795172","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396795175":["hashtag1","hashtag2"]},{"1396795169":["hashtag1","hashtag2"]},{"1396795178":["hashtag1","hashtag2"]},{"1396795172":["hashtag1","hashtag2"]},{"1396795171":["hashtag1","hashtag2"]},{"1396795170":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396795175, 1396795169, 1396795178, 1396795172, 1396795171, 1396795170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56333947181702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:32:42.214202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_12_2903.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_15_2542.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_19_3713.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_21_2629.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_24_2676.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_27_2892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_12_2903.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_15_2542.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_19_3713.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_21_2629.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_24_2676.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_27_2892.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795196","1396795198","1396795195","1396795197","1396795185","1396795194"],"photo_ids_order":["1396795185","1396795194","1396795195","1396795196","1396795197","1396795198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de72343131aaf28cb02a8435cf8df8b1.jpg","text":"TemporaryFile(/tmp/multipartBody5030465390157433441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376423276,"filename":"image_31102025_08_19_21_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8679b9987737b075244f363562adf07.jpg","text":"TemporaryFile(/tmp/multipartBody8236958749696179048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376423276,"filename":"image_31102025_08_19_27_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/161d2ef74f7f4afc885bbf86d7af74f4.jpg","text":"TemporaryFile(/tmp/multipartBody823580552428796931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376423276,"filename":"image_31102025_08_19_19_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e1a23faccaf215ef538515d8b39931f.jpg","text":"TemporaryFile(/tmp/multipartBody7566244646857535420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376423276,"filename":"image_31102025_08_19_24_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f386b635a5359c41674dbb4c49515986.jpg","text":"TemporaryFile(/tmp/multipartBody268747168477704902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376423276,"filename":"image_31102025_08_19_12_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92e2b2326a7344c7071ddc542b3ad63d.jpg","text":"TemporaryFile(/tmp/multipartBody3533558415384932366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376423276,"filename":"image_31102025_08_19_15_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795195","file1":"1396795194","file0":"1396795185","file4":"1396795197","file5":"1396795198","file3":"1396795196"},"map_files_photo_id_array":[{"photo_id":"1396795198","filename":"file5"},{"photo_id":"1396795195","filename":"file2"},{"photo_id":"1396795197","filename":"file4"},{"photo_id":"1396795194","filename":"file1"},{"photo_id":"1396795185","filename":"file0"},{"photo_id":"1396795196","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396795196":["hashtag1","hashtag2"]},{"1396795198":["hashtag1","hashtag2"]},{"1396795195":["hashtag1","hashtag2"]},{"1396795197":["hashtag1","hashtag2"]},{"1396795185":["hashtag1","hashtag2"]},{"1396795194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396795196, 1396795198, 1396795195, 1396795197, 1396795185, 1396795194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22167468070984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:33:22.423391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/30/image_29112025_01_30_35_10749.jpg', '/home/pi/Desktop/images/29112025/01/31/image_29112025_01_31_54_9678.jpg', '/home/pi/Desktop/images/29112025/01/32/image_29112025_01_32_15_10659.jpg', '/home/pi/Desktop/images/29112025/01/32/image_29112025_01_32_25_9823.jpg', '/home/pi/Desktop/images/29112025/01/33/image_29112025_01_33_35_10854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/30/image_29112025_01_30_35_10749.jpg
/home/pi/Desktop/images/29112025/01/31/image_29112025_01_31_54_9678.jpg
/home/pi/Desktop/images/29112025/01/32/image_29112025_01_32_15_10659.jpg
/home/pi/Desktop/images/29112025/01/32/image_29112025_01_32_25_9823.jpg
/home/pi/Desktop/images/29112025/01/33/image_29112025_01_33_35_10854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795206","1396795211","1396795213","1396795209","1396795203"],"photo_ids_order":["1396795203","1396795206","1396795209","1396795211","1396795213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1834519db5ccf510da951cbf73ed6d4.jpg","text":"TemporaryFile(/tmp/multipartBody127916653551890104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376463176,"filename":"image_29112025_01_31_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/11/29/0147bd4c221a7cdebf85c4c925438b75.jpg","text":"TemporaryFile(/tmp/multipartBody200004996756642904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376463176,"filename":"image_29112025_01_32_25_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92ec023304705410e7af20d8164bc69e.jpg","text":"TemporaryFile(/tmp/multipartBody3287958963291121891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376463176,"filename":"image_29112025_01_33_35_10854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/921d0405e728066f0aa14ec1797c1d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6732727134579108832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376463176,"filename":"image_29112025_01_32_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe045e2ddb2636dfd9c88bae51a05846.jpg","text":"TemporaryFile(/tmp/multipartBody2863003357563189515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376463176,"filename":"image_29112025_01_30_35_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795209","file1":"1396795206","file0":"1396795203","file4":"1396795213","file3":"1396795211"},"map_files_photo_id_array":[{"photo_id":"1396795209","filename":"file2"},{"photo_id":"1396795213","filename":"file4"},{"photo_id":"1396795206","filename":"file1"},{"photo_id":"1396795203","filename":"file0"},{"photo_id":"1396795211","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396795206":["hashtag1","hashtag2"]},{"1396795211":["hashtag1","hashtag2"]},{"1396795213":["hashtag1","hashtag2"]},{"1396795209":["hashtag1","hashtag2"]},{"1396795203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396795206, 1396795211, 1396795213, 1396795209, 1396795203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.968973636627197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:34:03.416030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_05_2672.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_08_3578.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_11_2652.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_14_2666.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_17_3627.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_20_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_05_2672.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_08_3578.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_11_2652.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_14_2666.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_17_3627.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_20_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795220","1396795214","1396795217","1396795222","1396795216","1396795218"],"photo_ids_order":["1396795214","1396795216","1396795217","1396795218","1396795220","1396795222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e731465a428424af042a7c9721cb269.jpg","text":"TemporaryFile(/tmp/multipartBody4762721980814109275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376505087,"filename":"image_25112025_17_21_17_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65946af86c8a646d0aa3fab48471d7dc.jpg","text":"TemporaryFile(/tmp/multipartBody2882266176859281428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376505087,"filename":"image_25112025_17_21_05_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8890abe7766f79d3e92ddc5c2197c4d.jpg","text":"TemporaryFile(/tmp/multipartBody3342058589469158618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376505087,"filename":"image_25112025_17_21_11_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06f6e716bb9620dd1cf284f2dafc7bd0.jpg","text":"TemporaryFile(/tmp/multipartBody4599326924554474366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376505087,"filename":"image_25112025_17_21_20_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2ab7ef4c6e9e4c1a296ecfe3c939044.jpg","text":"TemporaryFile(/tmp/multipartBody7134503700272375946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376505087,"filename":"image_25112025_17_21_08_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73654198e416a4081fc08308ce342bc4.jpg","text":"TemporaryFile(/tmp/multipartBody4192137753280789467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376505087,"filename":"image_25112025_17_21_14_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795217","file1":"1396795216","file0":"1396795214","file4":"1396795220","file5":"1396795222","file3":"1396795218"},"map_files_photo_id_array":[{"photo_id":"1396795222","filename":"file5"},{"photo_id":"1396795217","filename":"file2"},{"photo_id":"1396795220","filename":"file4"},{"photo_id":"1396795216","filename":"file1"},{"photo_id":"1396795214","filename":"file0"},{"photo_id":"1396795218","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396795220":["hashtag1","hashtag2"]},{"1396795214":["hashtag1","hashtag2"]},{"1396795217":["hashtag1","hashtag2"]},{"1396795222":["hashtag1","hashtag2"]},{"1396795216":["hashtag1","hashtag2"]},{"1396795218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396795220, 1396795214, 1396795217, 1396795222, 1396795216, 1396795218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42795491218567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:34:42.570511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_30_3671.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_33_2743.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_36_2615.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_40_3851.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_42_2620.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_45_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/08/19/image_31102025_08_19_30_3671.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_33_2743.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_36_2615.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_40_3851.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_42_2620.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_45_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":["1396795238","1396795235","1396795234","1396795237","1396795236","1396795239"],"photo_ids_order":["1396795234","1396795235","1396795236","1396795237","1396795238","1396795239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54be444045a9db003e9e1401f18a698a.jpg","text":"TemporaryFile(/tmp/multipartBody1343263407878008872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376543634,"filename":"image_31102025_08_19_42_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0aa0e38bf59e77859da45dac39a3bda6.jpg","text":"TemporaryFile(/tmp/multipartBody3587648627232571772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376543634,"filename":"image_31102025_08_19_33_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf7940f906c008f5fab70d64748ec655.jpg","text":"TemporaryFile(/tmp/multipartBody7163318339777693082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376543634,"filename":"image_31102025_08_19_30_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a83c7e7dc09be111f6c2763066ed909e.jpg","text":"TemporaryFile(/tmp/multipartBody8254276562801890494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376543634,"filename":"image_31102025_08_19_40_3851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3acce839fb84ab4ca53eb85edab0a4f8.jpg","text":"TemporaryFile(/tmp/multipartBody1749840228718295978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376543634,"filename":"image_31102025_08_19_36_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45df44b13762d8c5b066e248a5d6e1b1.jpg","text":"TemporaryFile(/tmp/multipartBody2958201954060406548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376543634,"filename":"image_31102025_08_19_45_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795236","file1":"1396795235","file0":"1396795234","file4":"1396795238","file5":"1396795239","file3":"1396795237"},"map_files_photo_id_array":[{"photo_id":"1396795239","filename":"file5"},{"photo_id":"1396795236","filename":"file2"},{"photo_id":"1396795238","filename":"file4"},{"photo_id":"1396795235","filename":"file1"},{"photo_id":"1396795234","filename":"file0"},{"photo_id":"1396795237","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396795238":["hashtag1","hashtag2"]},{"1396795235":["hashtag1","hashtag2"]},{"1396795234":["hashtag1","hashtag2"]},{"1396795237":["hashtag1","hashtag2"]},{"1396795236":["hashtag1","hashtag2"]},{"1396795239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396795238, 1396795235, 1396795234, 1396795237, 1396795236, 1396795239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44418120384216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:35:22.746416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/33/image_29112025_01_33_44_9664.jpg', '/home/pi/Desktop/images/29112025/01/33/image_29112025_01_34_05_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/33/image_29112025_01_33_44_9664.jpg
/home/pi/Desktop/images/29112025/01/33/image_29112025_01_34_05_10676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795306","1396795266"],"photo_ids_order":["1396795266","1396795306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36c858637162689fefcb4ee06fa4cfa0.jpg","text":"TemporaryFile(/tmp/multipartBody4827770241702253422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376583330,"filename":"image_29112025_01_34_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92b18e26e3d62fcd548e2899df4f6efa.jpg","text":"TemporaryFile(/tmp/multipartBody6698563944271008351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376583330,"filename":"image_29112025_01_33_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396795306","file0":"1396795266"},"map_files_photo_id_array":[{"photo_id":"1396795306","filename":"file1"},{"photo_id":"1396795266","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396795306":["hashtag1","hashtag2"]},{"1396795266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396795306, 1396795266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.85742998123169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:35:42.747012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_49_3722.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_51_2619.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_54_2667.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_58_3676.jpg', '/home/pi/Desktop/images/31102025/08/19/image_31102025_08_20_00_2841.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_03_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_49_3722.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_51_2619.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_54_2667.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_19_58_3676.jpg
/home/pi/Desktop/images/31102025/08/19/image_31102025_08_20_00_2841.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_03_2589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795553","1396795481","1396795628","1396795517","1396795439","1396795591"],"photo_ids_order":["1396795439","1396795481","1396795517","1396795553","1396795591","1396795628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08b4efa99eed3bc7461593fc4fdd1e25.jpg","text":"TemporaryFile(/tmp/multipartBody366632067682742999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376603882,"filename":"image_31102025_08_19_58_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc76eccd9efd83a20c8cef6c03b5a51a.jpg","text":"TemporaryFile(/tmp/multipartBody5843770336969476550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376603882,"filename":"image_31102025_08_19_51_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16016ae6c954b742f00eeade86656711.jpg","text":"TemporaryFile(/tmp/multipartBody3635180340278718592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376603882,"filename":"image_31102025_08_20_03_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/077f08bf608ab9f45f3132c25f05146e.jpg","text":"TemporaryFile(/tmp/multipartBody7682078810570443985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376603882,"filename":"image_31102025_08_19_54_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05dd9ed831c3fda20b50a11831ba9edb.jpg","text":"TemporaryFile(/tmp/multipartBody2292881057535950905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376603882,"filename":"image_31102025_08_19_49_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fc0066877832c4a3ce6ce8894001788.jpg","text":"TemporaryFile(/tmp/multipartBody8620526072012793154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376603882,"filename":"image_31102025_08_20_00_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795517","file1":"1396795481","file0":"1396795439","file4":"1396795591","file5":"1396795628","file3":"1396795553"},"map_files_photo_id_array":[{"photo_id":"1396795628","filename":"file5"},{"photo_id":"1396795517","filename":"file2"},{"photo_id":"1396795591","filename":"file4"},{"photo_id":"1396795481","filename":"file1"},{"photo_id":"1396795439","filename":"file0"},{"photo_id":"1396795553","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396795553":["hashtag1","hashtag2"]},{"1396795481":["hashtag1","hashtag2"]},{"1396795628":["hashtag1","hashtag2"]},{"1396795517":["hashtag1","hashtag2"]},{"1396795439":["hashtag1","hashtag2"]},{"1396795591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396795553, 1396795481, 1396795628, 1396795517, 1396795439, 1396795591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.152586460113525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:36:22.021819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/34/image_29112025_01_34_14_9763.jpg', '/home/pi/Desktop/images/29112025/01/35/image_29112025_01_36_04_9734.jpg', '/home/pi/Desktop/images/29112025/01/36/image_29112025_01_36_24_10642.jpg', '/home/pi/Desktop/images/29112025/01/36/image_29112025_01_36_34_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/34/image_29112025_01_34_14_9763.jpg
/home/pi/Desktop/images/29112025/01/35/image_29112025_01_36_04_9734.jpg
/home/pi/Desktop/images/29112025/01/36/image_29112025_01_36_24_10642.jpg
/home/pi/Desktop/images/29112025/01/36/image_29112025_01_36_34_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396795877","1396795802","1396795840","1396795759"],"photo_ids_order":["1396795759","1396795802","1396795840","1396795877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d61400ec20ddd6803d4852581356947e.jpg","text":"TemporaryFile(/tmp/multipartBody7581796097689535317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376642693,"filename":"image_29112025_01_36_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/11/29/75edb24ffca397cf1b211cacf92e4e28.jpg","text":"TemporaryFile(/tmp/multipartBody4729633624895295184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376642693,"filename":"image_29112025_01_36_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/11/29/edecc40c26435e18de177c61d17e5ace.jpg","text":"TemporaryFile(/tmp/multipartBody8379707948355709491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376642693,"filename":"image_29112025_01_36_24_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a815d889ca1e88cf08602051c44ad28.jpg","text":"TemporaryFile(/tmp/multipartBody4935035662371583516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376642693,"filename":"image_29112025_01_34_14_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396795840","file1":"1396795802","file0":"1396795759","file3":"1396795877"},"map_files_photo_id_array":[{"photo_id":"1396795840","filename":"file2"},{"photo_id":"1396795802","filename":"file1"},{"photo_id":"1396795759","filename":"file0"},{"photo_id":"1396795877","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396795877":["hashtag1","hashtag2"]},{"1396795802":["hashtag1","hashtag2"]},{"1396795840":["hashtag1","hashtag2"]},{"1396795759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396795877, 1396795802, 1396795840, 1396795759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.03091049194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:37:02.753650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_23_2595.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_29_3628.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_32_2606.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_38_3661.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_44_2744.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_47_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_23_2595.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_29_3628.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_32_2606.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_38_3661.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_44_2744.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_47_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":["1396796272","1396796089","1396796193","1396796160","1396796232","1396796127"],"photo_ids_order":["1396796089","1396796127","1396796160","1396796193","1396796232","1396796272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3ccc46ad992ef1f9f7ff015af3298d6.jpg","text":"TemporaryFile(/tmp/multipartBody5460133344685378746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376684425,"filename":"image_25112025_17_21_47_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0a99e33d45ac9f7d9b3e2f1d1762d2a.jpg","text":"TemporaryFile(/tmp/multipartBody5482380477935828840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376684425,"filename":"image_25112025_17_21_23_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8479a0c420a29bedd783eaed22260d55.jpg","text":"TemporaryFile(/tmp/multipartBody3576760491593513444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376684425,"filename":"image_25112025_17_21_38_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f7a37064e71f348a983e4a2c1170b36.jpg","text":"TemporaryFile(/tmp/multipartBody8070009870958478538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376684425,"filename":"image_25112025_17_21_32_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2cdc15f601fd1c973c7838161202cb45.jpg","text":"TemporaryFile(/tmp/multipartBody236569151322616149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376684425,"filename":"image_25112025_17_21_44_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b8d7b4e9fed8aa75a0a3408a5cf7e59.jpg","text":"TemporaryFile(/tmp/multipartBody6836092174930080948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376684425,"filename":"image_25112025_17_21_29_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396796160","file1":"1396796127","file0":"1396796089","file4":"1396796232","file5":"1396796272","file3":"1396796193"},"map_files_photo_id_array":[{"photo_id":"1396796272","filename":"file5"},{"photo_id":"1396796160","filename":"file2"},{"photo_id":"1396796232","filename":"file4"},{"photo_id":"1396796127","filename":"file1"},{"photo_id":"1396796089","filename":"file0"},{"photo_id":"1396796193","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396796272":["hashtag1","hashtag2"]},{"1396796089":["hashtag1","hashtag2"]},{"1396796193":["hashtag1","hashtag2"]},{"1396796160":["hashtag1","hashtag2"]},{"1396796232":["hashtag1","hashtag2"]},{"1396796127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396796272, 1396796089, 1396796193, 1396796160, 1396796232, 1396796127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12322950363159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:37:42.166347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_07_3652.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_10_2968.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_12_2726.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_15_2641.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_18_2799.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_21_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_07_3652.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_10_2968.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_12_2726.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_15_2641.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_18_2799.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_21_3741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396796506","1396796434","1396796577","1396796469","1396796541","1396796400"],"photo_ids_order":["1396796400","1396796434","1396796469","1396796506","1396796541","1396796577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06cd62d0641e06ce98a5fa28ca7c9638.jpg","text":"TemporaryFile(/tmp/multipartBody250411687055895275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376723240,"filename":"image_31102025_08_20_15_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a17d723141f3c00cbf3f8fd91fe09fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4619559015694567042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376723240,"filename":"image_31102025_08_20_10_2968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e95f354d647ee848cc3d087b6369ef58.jpg","text":"TemporaryFile(/tmp/multipartBody3323534020536107972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376723240,"filename":"image_31102025_08_20_21_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea7100b91223f7cd3445ac87c80e007c.jpg","text":"TemporaryFile(/tmp/multipartBody8919696702140477564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376723240,"filename":"image_31102025_08_20_12_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc1ab85bdc1d9165af114a47c9d0445f.jpg","text":"TemporaryFile(/tmp/multipartBody7563384822561840343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376723240,"filename":"image_31102025_08_20_18_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/481da2117e5614ffa24d6fc6d3c03588.jpg","text":"TemporaryFile(/tmp/multipartBody9088620726396826437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376723240,"filename":"image_31102025_08_20_07_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396796469","file1":"1396796434","file0":"1396796400","file4":"1396796541","file5":"1396796577","file3":"1396796506"},"map_files_photo_id_array":[{"photo_id":"1396796577","filename":"file5"},{"photo_id":"1396796469","filename":"file2"},{"photo_id":"1396796541","filename":"file4"},{"photo_id":"1396796434","filename":"file1"},{"photo_id":"1396796400","filename":"file0"},{"photo_id":"1396796506","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396796506":["hashtag1","hashtag2"]},{"1396796434":["hashtag1","hashtag2"]},{"1396796577":["hashtag1","hashtag2"]},{"1396796469":["hashtag1","hashtag2"]},{"1396796541":["hashtag1","hashtag2"]},{"1396796400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396796506, 1396796434, 1396796577, 1396796469, 1396796541, 1396796400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.027403831481934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:38:22.364806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/36/image_29112025_01_36_45_10717.jpg', '/home/pi/Desktop/images/29112025/01/37/image_29112025_01_37_15_10646.jpg', '/home/pi/Desktop/images/29112025/01/37/image_29112025_01_37_24_9709.jpg', '/home/pi/Desktop/images/29112025/01/37/image_29112025_01_37_34_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/36/image_29112025_01_36_45_10717.jpg
/home/pi/Desktop/images/29112025/01/37/image_29112025_01_37_15_10646.jpg
/home/pi/Desktop/images/29112025/01/37/image_29112025_01_37_24_9709.jpg
/home/pi/Desktop/images/29112025/01/37/image_29112025_01_37_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":["1396796606","1396796608","1396796602","1396796604"],"photo_ids_order":["1396796602","1396796604","1396796606","1396796608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b659209832f0e26d73cef1d7c171ca89.jpg","text":"TemporaryFile(/tmp/multipartBody7573770842825556495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376763040,"filename":"image_29112025_01_37_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d9c62fe902d84b25e2f27bbe50ff8af.jpg","text":"TemporaryFile(/tmp/multipartBody2634513573768121166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376763040,"filename":"image_29112025_01_37_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/11/29/2cd8c057382f1858cf41f63cfffad123.jpg","text":"TemporaryFile(/tmp/multipartBody1489594383911387025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376763040,"filename":"image_29112025_01_36_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4de1a565a19e787ba9e3e3164ff2ef7e.jpg","text":"TemporaryFile(/tmp/multipartBody8877017032951922951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376763040,"filename":"image_29112025_01_37_15_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396796606","file1":"1396796604","file0":"1396796602","file3":"1396796608"},"map_files_photo_id_array":[{"photo_id":"1396796606","filename":"file2"},{"photo_id":"1396796604","filename":"file1"},{"photo_id":"1396796602","filename":"file0"},{"photo_id":"1396796608","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396796606":["hashtag1","hashtag2"]},{"1396796608":["hashtag1","hashtag2"]},{"1396796602":["hashtag1","hashtag2"]},{"1396796604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396796606, 1396796608, 1396796602, 1396796604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.69167184829712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:39:03.531837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_50_2657.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_53_3535.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_56_2545.jpg', '/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_58_2539.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_02_3694.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_08_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_50_2657.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_53_3535.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_56_2545.jpg
/home/pi/Desktop/images/25112025/17/21/image_25112025_17_21_58_2539.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_02_3694.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_08_3669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396796654","1396796729","1396796764","1396796617","1396796694","1396796805"],"photo_ids_order":["1396796617","1396796654","1396796694","1396796729","1396796764","1396796805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eaea1285666eb653a8e16c1e333d5ffd.jpg","text":"TemporaryFile(/tmp/multipartBody4820232722606546480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376805333,"filename":"image_25112025_17_21_53_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6651294ab24db99139bae2a37dfffc5.jpg","text":"TemporaryFile(/tmp/multipartBody2414372165425188410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376805333,"filename":"image_25112025_17_21_58_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19e145a54eb0d935101b731cd04a9aec.jpg","text":"TemporaryFile(/tmp/multipartBody4910880471217997920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376805333,"filename":"image_25112025_17_22_02_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b999cf45d460967ee19bb093f88f0cd.jpg","text":"TemporaryFile(/tmp/multipartBody3380080804308261468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376805333,"filename":"image_25112025_17_21_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/11/29/249d696d40a31082cbd852454b4b541d.jpg","text":"TemporaryFile(/tmp/multipartBody3311250643228276258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376805333,"filename":"image_25112025_17_21_56_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cff34d109761159f1b05d69ed6e7fdd1.jpg","text":"TemporaryFile(/tmp/multipartBody2048186353439184539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376805333,"filename":"image_25112025_17_22_08_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396796694","file1":"1396796654","file0":"1396796617","file4":"1396796764","file5":"1396796805","file3":"1396796729"},"map_files_photo_id_array":[{"photo_id":"1396796805","filename":"file5"},{"photo_id":"1396796694","filename":"file2"},{"photo_id":"1396796764","filename":"file4"},{"photo_id":"1396796654","filename":"file1"},{"photo_id":"1396796617","filename":"file0"},{"photo_id":"1396796729","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396796654":["hashtag1","hashtag2"]},{"1396796729":["hashtag1","hashtag2"]},{"1396796764":["hashtag1","hashtag2"]},{"1396796617":["hashtag1","hashtag2"]},{"1396796694":["hashtag1","hashtag2"]},{"1396796805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396796654, 1396796729, 1396796764, 1396796617, 1396796694, 1396796805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.65708827972412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:40:03.190437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/37/image_29112025_01_37_45_10548.jpg', '/home/pi/Desktop/images/29112025/01/38/image_29112025_01_39_04_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/37/image_29112025_01_37_45_10548.jpg
/home/pi/Desktop/images/29112025/01/38/image_29112025_01_39_04_9858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396796992","1396796954"],"photo_ids_order":["1396796954","1396796992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bf19c86c1599839474be3e313be5c92.jpg","text":"TemporaryFile(/tmp/multipartBody584019488738106687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376863790,"filename":"image_29112025_01_39_04_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f050eecafb4bf014c99cb4e0b2bfc052.jpg","text":"TemporaryFile(/tmp/multipartBody3243989189499643286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376863790,"filename":"image_29112025_01_37_45_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396796992","file0":"1396796954"},"map_files_photo_id_array":[{"photo_id":"1396796992","filename":"file1"},{"photo_id":"1396796954","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396796992":["hashtag1","hashtag2"]},{"1396796954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396796992, 1396796954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.494839429855347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:40:22.764165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/39/image_29112025_01_39_44_9666.jpg', '/home/pi/Desktop/images/29112025/01/39/image_29112025_01_40_04_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/39/image_29112025_01_39_44_9666.jpg
/home/pi/Desktop/images/29112025/01/39/image_29112025_01_40_04_10732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797025","1396797040"],"photo_ids_order":["1396797025","1396797040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/012d428b996d31c6a982b0ff89a733a2.jpg","text":"TemporaryFile(/tmp/multipartBody6750793254730712777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376883346,"filename":"image_29112025_01_39_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/11/29/f9661295c903778eb7dff4a1716e419d.jpg","text":"TemporaryFile(/tmp/multipartBody3467269923210662632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376883346,"filename":"image_29112025_01_40_04_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396797040","file0":"1396797025"},"map_files_photo_id_array":[{"photo_id":"1396797040","filename":"file1"},{"photo_id":"1396797025","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797025":["hashtag1","hashtag2"]},{"1396797040":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797025, 1396797040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.316055297851562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:40:42.740382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_24_2705.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_27_2748.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_31_3672.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_33_2712.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_36_2819.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_39_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_24_2705.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_27_2748.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_31_3672.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_33_2712.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_36_2819.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_39_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797124","1396797121","1396797138","1396797123","1396797126","1396797125"],"photo_ids_order":["1396797121","1396797123","1396797124","1396797125","1396797126","1396797138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f548f84efce624d5ea36ad6c714558b.jpg","text":"TemporaryFile(/tmp/multipartBody5035299169309821543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376903797,"filename":"image_31102025_08_20_31_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16ac67db0e83122e6279734b7a110d37.jpg","text":"TemporaryFile(/tmp/multipartBody8751857125023739593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376903797,"filename":"image_31102025_08_20_24_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b565057dcd136ba84f455ec4f9af9114.jpg","text":"TemporaryFile(/tmp/multipartBody5609741660208813570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376903797,"filename":"image_31102025_08_20_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/11/29/e41a29a343db0500bdd6888e74f788b1.jpg","text":"TemporaryFile(/tmp/multipartBody4845170766798339671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376903797,"filename":"image_31102025_08_20_27_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eecd402f3c8ace290e5e1a60aa87c148.jpg","text":"TemporaryFile(/tmp/multipartBody1927902577362616237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376903797,"filename":"image_31102025_08_20_36_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a592695485a9a6a976ae5ee328a1b40.jpg","text":"TemporaryFile(/tmp/multipartBody5483490760791869178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376903797,"filename":"image_31102025_08_20_33_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797124","file1":"1396797123","file0":"1396797121","file4":"1396797126","file5":"1396797138","file3":"1396797125"},"map_files_photo_id_array":[{"photo_id":"1396797138","filename":"file5"},{"photo_id":"1396797124","filename":"file2"},{"photo_id":"1396797126","filename":"file4"},{"photo_id":"1396797123","filename":"file1"},{"photo_id":"1396797121","filename":"file0"},{"photo_id":"1396797125","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396797124":["hashtag1","hashtag2"]},{"1396797121":["hashtag1","hashtag2"]},{"1396797138":["hashtag1","hashtag2"]},{"1396797123":["hashtag1","hashtag2"]},{"1396797126":["hashtag1","hashtag2"]},{"1396797125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396797124, 1396797121, 1396797138, 1396797123, 1396797126, 1396797125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.15696096420288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:41:31.982717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_11_2575.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_13_2575.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_17_3605.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_20_2662.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_22_2645.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_26_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_11_2575.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_13_2575.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_17_3605.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_20_2662.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_22_2645.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_26_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797180","1396797174","1396797168","1396797177","1396797179","1396797149"],"photo_ids_order":["1396797149","1396797168","1396797174","1396797177","1396797179","1396797180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae50e4a9ceec49a0f8b5dc2bd12f0af1.jpg","text":"TemporaryFile(/tmp/multipartBody9061138010685253589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376954212,"filename":"image_25112025_17_22_26_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/916e4dcd957109d4a8ed8654d7b98292.jpg","text":"TemporaryFile(/tmp/multipartBody4594171951882923905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376954212,"filename":"image_25112025_17_22_17_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e22a4cc0a4e60b5e76e045abcde1e1c.jpg","text":"TemporaryFile(/tmp/multipartBody1444927984570110543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376954212,"filename":"image_25112025_17_22_13_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68ab6661463912df0bf1dbcd571c647e.jpg","text":"TemporaryFile(/tmp/multipartBody2518907946206941311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376954212,"filename":"image_25112025_17_22_20_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68496f2f014269f0099e1e52bc9ede53.jpg","text":"TemporaryFile(/tmp/multipartBody7951874372410444910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376954212,"filename":"image_25112025_17_22_22_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c0c59b08e0eb34792a45b877089b2e7.jpg","text":"TemporaryFile(/tmp/multipartBody5414789044088334375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376954212,"filename":"image_25112025_17_22_11_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797174","file1":"1396797168","file0":"1396797149","file4":"1396797179","file5":"1396797180","file3":"1396797177"},"map_files_photo_id_array":[{"photo_id":"1396797180","filename":"file5"},{"photo_id":"1396797174","filename":"file2"},{"photo_id":"1396797179","filename":"file4"},{"photo_id":"1396797168","filename":"file1"},{"photo_id":"1396797149","filename":"file0"},{"photo_id":"1396797177","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396797180":["hashtag1","hashtag2"]},{"1396797174":["hashtag1","hashtag2"]},{"1396797168":["hashtag1","hashtag2"]},{"1396797177":["hashtag1","hashtag2"]},{"1396797179":["hashtag1","hashtag2"]},{"1396797149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396797180, 1396797174, 1396797168, 1396797177, 1396797179, 1396797149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96339750289917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:42:12.162686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_29_2709.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_31_2727.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_35_3561.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_37_2478.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_40_2789.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_44_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_29_2709.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_31_2727.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_35_3561.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_37_2478.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_40_2789.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_44_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797196","1396797181","1396797192","1396797189","1396797182","1396797185"],"photo_ids_order":["1396797181","1396797182","1396797185","1396797189","1396797192","1396797196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc07895db78f9b1b24168dda7d7a9dc1.jpg","text":"TemporaryFile(/tmp/multipartBody4538313739450374771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376994266,"filename":"image_25112025_17_22_44_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd4936263d9555b2f3b05ac4201161a7.jpg","text":"TemporaryFile(/tmp/multipartBody3571495777183622950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376994266,"filename":"image_25112025_17_22_29_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb0b2422ba9d50dbbe063c5612d95564.jpg","text":"TemporaryFile(/tmp/multipartBody4388708847557360306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376994266,"filename":"image_25112025_17_22_40_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdf5c6fd785781e43eecf1140c04b410.jpg","text":"TemporaryFile(/tmp/multipartBody2213942371210850959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376994266,"filename":"image_25112025_17_22_37_2478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e4557090936d103bae90ed461bde352.jpg","text":"TemporaryFile(/tmp/multipartBody7313378390261961789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376994266,"filename":"image_25112025_17_22_31_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d388d63381faa51315af662db759a26.jpg","text":"TemporaryFile(/tmp/multipartBody7474485580861028605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764376994266,"filename":"image_25112025_17_22_35_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797185","file1":"1396797182","file0":"1396797181","file4":"1396797192","file5":"1396797196","file3":"1396797189"},"map_files_photo_id_array":[{"photo_id":"1396797196","filename":"file5"},{"photo_id":"1396797185","filename":"file2"},{"photo_id":"1396797192","filename":"file4"},{"photo_id":"1396797182","filename":"file1"},{"photo_id":"1396797181","filename":"file0"},{"photo_id":"1396797189","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396797196":["hashtag1","hashtag2"]},{"1396797181":["hashtag1","hashtag2"]},{"1396797192":["hashtag1","hashtag2"]},{"1396797189":["hashtag1","hashtag2"]},{"1396797182":["hashtag1","hashtag2"]},{"1396797185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396797196, 1396797181, 1396797192, 1396797189, 1396797182, 1396797185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20472073554993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:43:02.853441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/40/image_29112025_01_40_35_10583.jpg', '/home/pi/Desktop/images/29112025/01/41/image_29112025_01_41_14_9595.jpg', '/home/pi/Desktop/images/29112025/01/41/image_29112025_01_41_24_9747.jpg', '/home/pi/Desktop/images/29112025/01/41/image_29112025_01_41_35_10555.jpg', '/home/pi/Desktop/images/29112025/01/41/image_29112025_01_41_44_9705.jpg', '/home/pi/Desktop/images/29112025/01/41/image_29112025_01_41_54_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/40/image_29112025_01_40_35_10583.jpg
/home/pi/Desktop/images/29112025/01/41/image_29112025_01_41_14_9595.jpg
/home/pi/Desktop/images/29112025/01/41/image_29112025_01_41_24_9747.jpg
/home/pi/Desktop/images/29112025/01/41/image_29112025_01_41_35_10555.jpg
/home/pi/Desktop/images/29112025/01/41/image_29112025_01_41_44_9705.jpg
/home/pi/Desktop/images/29112025/01/41/image_29112025_01_41_54_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":["1396797205","1396797202","1396797207","1396797201","1396797200","1396797203"],"photo_ids_order":["1396797200","1396797201","1396797202","1396797203","1396797205","1396797207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a028e6f02873841c3c09ceebca03e2f.jpg","text":"TemporaryFile(/tmp/multipartBody6161114457296653585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377043696,"filename":"image_29112025_01_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/11/29/288e17cf3d012265bfb84ec3eafb60a9.jpg","text":"TemporaryFile(/tmp/multipartBody6888444807863007983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377043696,"filename":"image_29112025_01_41_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e00911cff43f2a8a36ac7164b29b82a.jpg","text":"TemporaryFile(/tmp/multipartBody7484938883121501075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377043696,"filename":"image_29112025_01_41_54_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4dc7403c5b4842015c5dd2fd0b7fd4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1221583981290525085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377043696,"filename":"image_29112025_01_41_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/11/29/686d0605e8b6dbf20ced1b5a2469a553.jpg","text":"TemporaryFile(/tmp/multipartBody1568063331906540378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377043696,"filename":"image_29112025_01_40_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/11/29/11a0792639142a7f39d31fc775cac499.jpg","text":"TemporaryFile(/tmp/multipartBody2423671097493859135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377043696,"filename":"image_29112025_01_41_35_10555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797202","file1":"1396797201","file0":"1396797200","file4":"1396797205","file5":"1396797207","file3":"1396797203"},"map_files_photo_id_array":[{"photo_id":"1396797207","filename":"file5"},{"photo_id":"1396797202","filename":"file2"},{"photo_id":"1396797205","filename":"file4"},{"photo_id":"1396797201","filename":"file1"},{"photo_id":"1396797200","filename":"file0"},{"photo_id":"1396797203","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797205":["hashtag1","hashtag2"]},{"1396797202":["hashtag1","hashtag2"]},{"1396797207":["hashtag1","hashtag2"]},{"1396797201":["hashtag1","hashtag2"]},{"1396797200":["hashtag1","hashtag2"]},{"1396797203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797205, 1396797202, 1396797207, 1396797201, 1396797200, 1396797203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63600206375122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:43:42.192428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_43_3710.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_45_2726.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_48_2561.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_51_3631.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_54_2520.jpg', '/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_58_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_43_3710.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_45_2726.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_48_2561.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_51_3631.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_54_2520.jpg
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_20_58_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797226","1396797220","1396797217","1396797222","1396797228","1396797224"],"photo_ids_order":["1396797217","1396797220","1396797222","1396797224","1396797226","1396797228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60b834b7453d389d47df7c8ffa2a7d98.jpg","text":"TemporaryFile(/tmp/multipartBody3134080928778505160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377083345,"filename":"image_31102025_08_20_54_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbdbbff14b52e69d9996d8742d2f24d2.jpg","text":"TemporaryFile(/tmp/multipartBody6425374127568959694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377083345,"filename":"image_31102025_08_20_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/11/29/f68ef80ee1048028b5f4f2ca9cf67824.jpg","text":"TemporaryFile(/tmp/multipartBody1870092865102594093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377083345,"filename":"image_31102025_08_20_43_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7585c21a83f883e0a2b0e1c2b23af15.jpg","text":"TemporaryFile(/tmp/multipartBody6756439711569467462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377083345,"filename":"image_31102025_08_20_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/11/29/29e5fb71b2643103c5b8e825d505959f.jpg","text":"TemporaryFile(/tmp/multipartBody3692869638346705641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377083345,"filename":"image_31102025_08_20_58_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2f7d2edce2652ef1785a15c18597817.jpg","text":"TemporaryFile(/tmp/multipartBody2035941057786927330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377083345,"filename":"image_31102025_08_20_51_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797222","file1":"1396797220","file0":"1396797217","file4":"1396797226","file5":"1396797228","file3":"1396797224"},"map_files_photo_id_array":[{"photo_id":"1396797228","filename":"file5"},{"photo_id":"1396797222","filename":"file2"},{"photo_id":"1396797226","filename":"file4"},{"photo_id":"1396797220","filename":"file1"},{"photo_id":"1396797217","filename":"file0"},{"photo_id":"1396797224","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396797226":["hashtag1","hashtag2"]},{"1396797220":["hashtag1","hashtag2"]},{"1396797217":["hashtag1","hashtag2"]},{"1396797222":["hashtag1","hashtag2"]},{"1396797228":["hashtag1","hashtag2"]},{"1396797224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396797226, 1396797220, 1396797217, 1396797222, 1396797228, 1396797224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35660719871521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:44:22.369600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/41/image_29112025_01_42_04_9561.jpg', '/home/pi/Desktop/images/29112025/01/42/image_29112025_01_42_14_10019.jpg', '/home/pi/Desktop/images/29112025/01/42/image_29112025_01_43_04_9873.jpg', '/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_34_10696.jpg', '/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_54_9625.jpg', '/home/pi/Desktop/images/29112025/01/43/image_29112025_01_44_04_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/41/image_29112025_01_42_04_9561.jpg
/home/pi/Desktop/images/29112025/01/42/image_29112025_01_42_14_10019.jpg
/home/pi/Desktop/images/29112025/01/42/image_29112025_01_43_04_9873.jpg
/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_34_10696.jpg
/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_54_9625.jpg
/home/pi/Desktop/images/29112025/01/43/image_29112025_01_44_04_10705.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6915385723114014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:44:32.415709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_47_2716.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_50_3560.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_53_2590.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_55_2586.jpg', '/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_59_3741.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_02_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_47_2716.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_50_3560.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_53_2590.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_55_2586.jpg
/home/pi/Desktop/images/25112025/17/22/image_25112025_17_22_59_3741.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_02_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":["1396797241","1396797250","1396797244","1396797252","1396797251","1396797248"],"photo_ids_order":["1396797241","1396797244","1396797248","1396797250","1396797251","1396797252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e07c399bf443c13cd09d949526469f87.jpg","text":"TemporaryFile(/tmp/multipartBody1836462478226681253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377134644,"filename":"image_25112025_17_22_47_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2bf122f48dddd063f331b371133ad18.jpg","text":"TemporaryFile(/tmp/multipartBody9033523911549689787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377134644,"filename":"image_25112025_17_22_55_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/667e5a9e57aa65d30c9b3a7b0c137261.jpg","text":"TemporaryFile(/tmp/multipartBody5734833796609987033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377134644,"filename":"image_25112025_17_22_50_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9089b4515bde546231b57788c35b690.jpg","text":"TemporaryFile(/tmp/multipartBody3549984774340450905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377134644,"filename":"image_25112025_17_23_02_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0ad64c066e88d440f5d2e1d854ec28b.jpg","text":"TemporaryFile(/tmp/multipartBody1471951692422459075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377134644,"filename":"image_25112025_17_22_59_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/317745284464154f31709367547913e9.jpg","text":"TemporaryFile(/tmp/multipartBody1316482454956995729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377134644,"filename":"image_25112025_17_22_53_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797248","file1":"1396797244","file0":"1396797241","file4":"1396797251","file5":"1396797252","file3":"1396797250"},"map_files_photo_id_array":[{"photo_id":"1396797252","filename":"file5"},{"photo_id":"1396797248","filename":"file2"},{"photo_id":"1396797251","filename":"file4"},{"photo_id":"1396797244","filename":"file1"},{"photo_id":"1396797241","filename":"file0"},{"photo_id":"1396797250","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396797241":["hashtag1","hashtag2"]},{"1396797250":["hashtag1","hashtag2"]},{"1396797244":["hashtag1","hashtag2"]},{"1396797252":["hashtag1","hashtag2"]},{"1396797251":["hashtag1","hashtag2"]},{"1396797248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396797241, 1396797250, 1396797244, 1396797252, 1396797251, 1396797248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.816879987716675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:45:12.571527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_04_2543.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_08_3525.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_10_2629.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_14_3418.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_17_2619.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_20_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_04_2543.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_08_3525.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_10_2629.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_14_3418.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_17_2619.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_20_3573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797277","1396797253","1396797279","1396797273","1396797255","1396797258"],"photo_ids_order":["1396797253","1396797255","1396797258","1396797273","1396797277","1396797279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bae88f22a92d0abffa23933dd647775.jpg","text":"TemporaryFile(/tmp/multipartBody6265019470609410208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377174675,"filename":"image_25112025_17_23_17_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68b6133872bffc945f2768a75bf51843.jpg","text":"TemporaryFile(/tmp/multipartBody3576477228590103952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377174675,"filename":"image_25112025_17_23_04_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07d13f87113d6a29b619e299d3875af4.jpg","text":"TemporaryFile(/tmp/multipartBody6009047805227740171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377174675,"filename":"image_25112025_17_23_20_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e668fe2dea3f60d30ccc9ce615cad542.jpg","text":"TemporaryFile(/tmp/multipartBody2438523529962494856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377174675,"filename":"image_25112025_17_23_14_3418.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29710defb91205dc170cda5ffc6f806a.jpg","text":"TemporaryFile(/tmp/multipartBody5957378982486443582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377174675,"filename":"image_25112025_17_23_08_3525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9aa424ebe87ed9cde5de60f0b6862c6f.jpg","text":"TemporaryFile(/tmp/multipartBody6406767076310736858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377174675,"filename":"image_25112025_17_23_10_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797258","file1":"1396797255","file0":"1396797253","file4":"1396797277","file5":"1396797279","file3":"1396797273"},"map_files_photo_id_array":[{"photo_id":"1396797279","filename":"file5"},{"photo_id":"1396797258","filename":"file2"},{"photo_id":"1396797277","filename":"file4"},{"photo_id":"1396797255","filename":"file1"},{"photo_id":"1396797253","filename":"file0"},{"photo_id":"1396797273","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396797277":["hashtag1","hashtag2"]},{"1396797253":["hashtag1","hashtag2"]},{"1396797279":["hashtag1","hashtag2"]},{"1396797273":["hashtag1","hashtag2"]},{"1396797255":["hashtag1","hashtag2"]},{"1396797258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396797277, 1396797253, 1396797279, 1396797273, 1396797255, 1396797258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24346303939819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:46:03.261348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/41/image_29112025_01_42_04_9561.jpg', '/home/pi/Desktop/images/29112025/01/42/image_29112025_01_42_14_10019.jpg', '/home/pi/Desktop/images/29112025/01/42/image_29112025_01_43_04_9873.jpg', '/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_34_10696.jpg', '/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_54_9625.jpg', '/home/pi/Desktop/images/29112025/01/43/image_29112025_01_44_04_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/41/image_29112025_01_42_04_9561.jpg
/home/pi/Desktop/images/29112025/01/42/image_29112025_01_42_14_10019.jpg
/home/pi/Desktop/images/29112025/01/42/image_29112025_01_43_04_9873.jpg
/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_34_10696.jpg
/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_54_9625.jpg
/home/pi/Desktop/images/29112025/01/43/image_29112025_01_44_04_10705.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7090461254119873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:46:12.737394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_23_2697.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_25_2592.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_29_3674.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_32_2673.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_34_2528.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_38_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_23_2697.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_25_2592.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_29_3674.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_32_2673.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_34_2528.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_38_3626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797294","1396797296","1396797290","1396797284","1396797287","1396797292"],"photo_ids_order":["1396797284","1396797287","1396797290","1396797292","1396797294","1396797296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82b0975b52972dcf69204ca196f59cde.jpg","text":"TemporaryFile(/tmp/multipartBody4637913229499340534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377234824,"filename":"image_25112025_17_23_34_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c87871252b39d0270f53441dba411d38.jpg","text":"TemporaryFile(/tmp/multipartBody2393721042935649569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377234824,"filename":"image_25112025_17_23_38_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1627fc4a8ebab2966c6a76824df156df.jpg","text":"TemporaryFile(/tmp/multipartBody3841162957136792454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377234824,"filename":"image_25112025_17_23_29_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/baabbf495d41e9253cf1de1f19375002.jpg","text":"TemporaryFile(/tmp/multipartBody2543819346463288975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377234824,"filename":"image_25112025_17_23_23_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f09c203aacaa00bdaa80661ab4273e2.jpg","text":"TemporaryFile(/tmp/multipartBody4321167500397047622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377234824,"filename":"image_25112025_17_23_25_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efda3976451d18c657813c676e07f6fe.jpg","text":"TemporaryFile(/tmp/multipartBody2515760536097319678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377234824,"filename":"image_25112025_17_23_32_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797290","file1":"1396797287","file0":"1396797284","file4":"1396797294","file5":"1396797296","file3":"1396797292"},"map_files_photo_id_array":[{"photo_id":"1396797296","filename":"file5"},{"photo_id":"1396797290","filename":"file2"},{"photo_id":"1396797294","filename":"file4"},{"photo_id":"1396797287","filename":"file1"},{"photo_id":"1396797284","filename":"file0"},{"photo_id":"1396797292","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396797294":["hashtag1","hashtag2"]},{"1396797296":["hashtag1","hashtag2"]},{"1396797290":["hashtag1","hashtag2"]},{"1396797284":["hashtag1","hashtag2"]},{"1396797287":["hashtag1","hashtag2"]},{"1396797292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396797294, 1396797296, 1396797290, 1396797284, 1396797287, 1396797292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.585952281951904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:47:02.805949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/41/image_29112025_01_42_04_9561.jpg', '/home/pi/Desktop/images/29112025/01/42/image_29112025_01_42_14_10019.jpg', '/home/pi/Desktop/images/29112025/01/42/image_29112025_01_43_04_9873.jpg', '/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_34_10696.jpg', '/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_54_9625.jpg', '/home/pi/Desktop/images/29112025/01/43/image_29112025_01_44_04_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/41/image_29112025_01_42_04_9561.jpg
/home/pi/Desktop/images/29112025/01/42/image_29112025_01_42_14_10019.jpg
/home/pi/Desktop/images/29112025/01/42/image_29112025_01_43_04_9873.jpg
/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_34_10696.jpg
/home/pi/Desktop/images/29112025/01/43/image_29112025_01_43_54_9625.jpg
/home/pi/Desktop/images/29112025/01/43/image_29112025_01_44_04_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797305","1396797304","1396797303","1396797306","1396797311","1396797308"],"photo_ids_order":["1396797303","1396797304","1396797305","1396797306","1396797308","1396797311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0db8604d47c7149271f86518688321b5.jpg","text":"TemporaryFile(/tmp/multipartBody1642344996884830549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377283642,"filename":"image_29112025_01_43_04_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb8d5c3c78b0d92a099b054b357e98a2.jpg","text":"TemporaryFile(/tmp/multipartBody5306808548671065792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377283642,"filename":"image_29112025_01_42_14_10019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca3552724539d1de42bc7d442f30cbee.jpg","text":"TemporaryFile(/tmp/multipartBody6374391952042633312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377283642,"filename":"image_29112025_01_42_04_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71c798c6c6f64f3248ceb38ddda06961.jpg","text":"TemporaryFile(/tmp/multipartBody771446775484527559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377283642,"filename":"image_29112025_01_43_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/11/29/dd3a679c404863fe7b7cfee43ad58d66.jpg","text":"TemporaryFile(/tmp/multipartBody1993134561100035108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377283642,"filename":"image_29112025_01_44_04_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e05b7e5a51f3269a28f2d19a887a6c10.jpg","text":"TemporaryFile(/tmp/multipartBody8524552172517846748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377283642,"filename":"image_29112025_01_43_54_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797305","file1":"1396797304","file0":"1396797303","file4":"1396797308","file5":"1396797311","file3":"1396797306"},"map_files_photo_id_array":[{"photo_id":"1396797311","filename":"file5"},{"photo_id":"1396797305","filename":"file2"},{"photo_id":"1396797308","filename":"file4"},{"photo_id":"1396797304","filename":"file1"},{"photo_id":"1396797303","filename":"file0"},{"photo_id":"1396797306","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797305":["hashtag1","hashtag2"]},{"1396797304":["hashtag1","hashtag2"]},{"1396797303":["hashtag1","hashtag2"]},{"1396797306":["hashtag1","hashtag2"]},{"1396797311":["hashtag1","hashtag2"]},{"1396797308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797305, 1396797304, 1396797303, 1396797306, 1396797311, 1396797308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53536891937256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:47:42.026194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/20/image_31102025_08_21_00_2586.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_03_2843.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_06_2601.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_09_3638.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_12_2517.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_15_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/20/image_31102025_08_21_00_2586.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_03_2843.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_06_2601.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_09_3638.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_12_2517.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_15_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797322","1396797319","1396797321","1396797318","1396797320","1396797323"],"photo_ids_order":["1396797318","1396797319","1396797320","1396797321","1396797322","1396797323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e4c525f64fcce7abb84631cc7ceaa77.jpg","text":"TemporaryFile(/tmp/multipartBody3397164369057237974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377323094,"filename":"image_31102025_08_21_12_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b816bfafc278158e2d0d809fc81e8744.jpg","text":"TemporaryFile(/tmp/multipartBody6061895290691385648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377323094,"filename":"image_31102025_08_21_03_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/941cf2ecbd9abb61646a5d98e718d264.jpg","text":"TemporaryFile(/tmp/multipartBody1981662912481350835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377323094,"filename":"image_31102025_08_21_09_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e8dd0669f134a9b61f4655aa76af763.jpg","text":"TemporaryFile(/tmp/multipartBody1686649105973744560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377323094,"filename":"image_31102025_08_21_00_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04bba8459b378aff43391e10df4a047a.jpg","text":"TemporaryFile(/tmp/multipartBody200612558354737594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377323094,"filename":"image_31102025_08_21_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/11/29/484f69d53dba44e7aa3d12443c5c97e7.jpg","text":"TemporaryFile(/tmp/multipartBody1897172303163544534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377323094,"filename":"image_31102025_08_21_15_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797320","file1":"1396797319","file0":"1396797318","file4":"1396797322","file5":"1396797323","file3":"1396797321"},"map_files_photo_id_array":[{"photo_id":"1396797323","filename":"file5"},{"photo_id":"1396797320","filename":"file2"},{"photo_id":"1396797322","filename":"file4"},{"photo_id":"1396797319","filename":"file1"},{"photo_id":"1396797318","filename":"file0"},{"photo_id":"1396797321","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396797322":["hashtag1","hashtag2"]},{"1396797319":["hashtag1","hashtag2"]},{"1396797321":["hashtag1","hashtag2"]},{"1396797318":["hashtag1","hashtag2"]},{"1396797320":["hashtag1","hashtag2"]},{"1396797323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396797322, 1396797319, 1396797321, 1396797318, 1396797320, 1396797323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.225990295410156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:48:22.187684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/44/image_29112025_01_44_14_9751.jpg', '/home/pi/Desktop/images/29112025/01/44/image_29112025_01_44_45_10799.jpg', '/home/pi/Desktop/images/29112025/01/45/image_29112025_01_45_24_9570.jpg', '/home/pi/Desktop/images/29112025/01/45/image_29112025_01_45_44_9701.jpg', '/home/pi/Desktop/images/29112025/01/45/image_29112025_01_45_54_9753.jpg', '/home/pi/Desktop/images/29112025/01/46/image_29112025_01_46_15_10823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/44/image_29112025_01_44_14_9751.jpg
/home/pi/Desktop/images/29112025/01/44/image_29112025_01_44_45_10799.jpg
/home/pi/Desktop/images/29112025/01/45/image_29112025_01_45_24_9570.jpg
/home/pi/Desktop/images/29112025/01/45/image_29112025_01_45_44_9701.jpg
/home/pi/Desktop/images/29112025/01/45/image_29112025_01_45_54_9753.jpg
/home/pi/Desktop/images/29112025/01/46/image_29112025_01_46_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":["1396797333","1396797327","1396797336","1396797339","1396797330","1396797338"],"photo_ids_order":["1396797327","1396797330","1396797333","1396797336","1396797338","1396797339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be73b8c2942d0f06df4b3df691197b64.jpg","text":"TemporaryFile(/tmp/multipartBody1037999975173980134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377363009,"filename":"image_29112025_01_45_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/11/29/1d37f7235c456628777c2b091d8073af.jpg","text":"TemporaryFile(/tmp/multipartBody6594909518318037189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377363009,"filename":"image_29112025_01_44_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/11/29/6975e13167644f5a0928c5d897f0153e.jpg","text":"TemporaryFile(/tmp/multipartBody331500092162894682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377363009,"filename":"image_29112025_01_45_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/11/29/c9b5f897bfda3adf9125956f8197840f.jpg","text":"TemporaryFile(/tmp/multipartBody1013423936413183920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377363009,"filename":"image_29112025_01_46_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/11/29/bc881c99e90b9b0a4c3b8c8db080860f.jpg","text":"TemporaryFile(/tmp/multipartBody1919421578372725041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377363009,"filename":"image_29112025_01_44_45_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f39bd51871c6a22313aa297454b6943b.jpg","text":"TemporaryFile(/tmp/multipartBody6307791761975341558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377363009,"filename":"image_29112025_01_45_54_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797333","file1":"1396797330","file0":"1396797327","file4":"1396797338","file5":"1396797339","file3":"1396797336"},"map_files_photo_id_array":[{"photo_id":"1396797339","filename":"file5"},{"photo_id":"1396797333","filename":"file2"},{"photo_id":"1396797338","filename":"file4"},{"photo_id":"1396797330","filename":"file1"},{"photo_id":"1396797327","filename":"file0"},{"photo_id":"1396797336","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797333":["hashtag1","hashtag2"]},{"1396797327":["hashtag1","hashtag2"]},{"1396797336":["hashtag1","hashtag2"]},{"1396797339":["hashtag1","hashtag2"]},{"1396797330":["hashtag1","hashtag2"]},{"1396797338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797333, 1396797327, 1396797336, 1396797339, 1396797330, 1396797338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73443365097046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:49:03.494185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/46/image_29112025_01_46_24_9728.jpg', '/home/pi/Desktop/images/29112025/01/46/image_29112025_01_46_44_9564.jpg', '/home/pi/Desktop/images/29112025/01/46/image_29112025_01_46_55_10734.jpg', '/home/pi/Desktop/images/29112025/01/46/image_29112025_01_47_04_9781.jpg', '/home/pi/Desktop/images/29112025/01/47/image_29112025_01_47_14_9717.jpg', '/home/pi/Desktop/images/29112025/01/47/image_29112025_01_47_25_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/46/image_29112025_01_46_24_9728.jpg
/home/pi/Desktop/images/29112025/01/46/image_29112025_01_46_44_9564.jpg
/home/pi/Desktop/images/29112025/01/46/image_29112025_01_46_55_10734.jpg
/home/pi/Desktop/images/29112025/01/46/image_29112025_01_47_04_9781.jpg
/home/pi/Desktop/images/29112025/01/47/image_29112025_01_47_14_9717.jpg
/home/pi/Desktop/images/29112025/01/47/image_29112025_01_47_25_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797343","1396797351","1396797348","1396797342","1396797344","1396797341"],"photo_ids_order":["1396797341","1396797342","1396797343","1396797344","1396797348","1396797351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dff081691e26822ffc66804c4eca8236.jpg","text":"TemporaryFile(/tmp/multipartBody7631234968674642822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377404465,"filename":"image_29112025_01_46_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/11/29/41f3dadbd37cf15bcd26f83daff43da5.jpg","text":"TemporaryFile(/tmp/multipartBody7131052828949454007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377404465,"filename":"image_29112025_01_47_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afc3a232ee03f3678e18ef4890974941.jpg","text":"TemporaryFile(/tmp/multipartBody8500690968925500991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377404465,"filename":"image_29112025_01_47_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/11/29/229e82e70e91e10a63da3ac821ba63a9.jpg","text":"TemporaryFile(/tmp/multipartBody6565271346167594575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377404465,"filename":"image_29112025_01_46_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/926f5d7d5f261d25ae09d86b80b461f8.jpg","text":"TemporaryFile(/tmp/multipartBody7508214413612524817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377404465,"filename":"image_29112025_01_47_04_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54bc863ae21c4be6ea3175a9f8593ee5.jpg","text":"TemporaryFile(/tmp/multipartBody2342375872129520266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377404465,"filename":"image_29112025_01_46_24_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797343","file1":"1396797342","file0":"1396797341","file4":"1396797348","file5":"1396797351","file3":"1396797344"},"map_files_photo_id_array":[{"photo_id":"1396797351","filename":"file5"},{"photo_id":"1396797343","filename":"file2"},{"photo_id":"1396797348","filename":"file4"},{"photo_id":"1396797342","filename":"file1"},{"photo_id":"1396797341","filename":"file0"},{"photo_id":"1396797344","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797343":["hashtag1","hashtag2"]},{"1396797351":["hashtag1","hashtag2"]},{"1396797348":["hashtag1","hashtag2"]},{"1396797342":["hashtag1","hashtag2"]},{"1396797344":["hashtag1","hashtag2"]},{"1396797341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797343, 1396797351, 1396797348, 1396797342, 1396797344, 1396797341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83797359466553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:49:42.385773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_18_2666.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_21_2660.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_25_3737.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_27_2713.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_30_2689.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_33_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/08/21/image_31102025_08_21_18_2666.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_21_2660.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_25_3737.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_27_2713.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_30_2689.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_33_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797361","1396797355","1396797358","1396797360","1396797357","1396797359"],"photo_ids_order":["1396797355","1396797357","1396797358","1396797359","1396797360","1396797361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b49ecbecec96f9c55b5c05f2163a4f1.jpg","text":"TemporaryFile(/tmp/multipartBody8813684508964210234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377443443,"filename":"image_31102025_08_21_33_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c389ddb6b2876a19e2cb91541f39ec1.jpg","text":"TemporaryFile(/tmp/multipartBody5262135089348210796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377443443,"filename":"image_31102025_08_21_18_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/458e85ced8b70cb3331354f1469c012f.jpg","text":"TemporaryFile(/tmp/multipartBody8558948601823859187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377443443,"filename":"image_31102025_08_21_25_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d298e0ff933926d28045fbf4da21565.jpg","text":"TemporaryFile(/tmp/multipartBody8503007974321640170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377443443,"filename":"image_31102025_08_21_30_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/010a4352c1d87951822815c7f4bb71d3.jpg","text":"TemporaryFile(/tmp/multipartBody2605602078895138311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377443443,"filename":"image_31102025_08_21_21_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b276cb4dbce6831f1d952332ff148b4f.jpg","text":"TemporaryFile(/tmp/multipartBody2064013525080465033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377443443,"filename":"image_31102025_08_21_27_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797358","file1":"1396797357","file0":"1396797355","file4":"1396797360","file5":"1396797361","file3":"1396797359"},"map_files_photo_id_array":[{"photo_id":"1396797361","filename":"file5"},{"photo_id":"1396797358","filename":"file2"},{"photo_id":"1396797360","filename":"file4"},{"photo_id":"1396797357","filename":"file1"},{"photo_id":"1396797355","filename":"file0"},{"photo_id":"1396797359","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396797361":["hashtag1","hashtag2"]},{"1396797355":["hashtag1","hashtag2"]},{"1396797358":["hashtag1","hashtag2"]},{"1396797360":["hashtag1","hashtag2"]},{"1396797357":["hashtag1","hashtag2"]},{"1396797359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396797361, 1396797355, 1396797358, 1396797360, 1396797357, 1396797359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.613237380981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:50:22.529904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/47/image_29112025_01_47_34_9794.jpg', '/home/pi/Desktop/images/29112025/01/47/image_29112025_01_47_44_9707.jpg', '/home/pi/Desktop/images/29112025/01/47/image_29112025_01_48_05_10765.jpg', '/home/pi/Desktop/images/29112025/01/48/image_29112025_01_48_14_9686.jpg', '/home/pi/Desktop/images/29112025/01/48/image_29112025_01_48_24_9622.jpg', '/home/pi/Desktop/images/29112025/01/48/image_29112025_01_48_35_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/47/image_29112025_01_47_34_9794.jpg
/home/pi/Desktop/images/29112025/01/47/image_29112025_01_47_44_9707.jpg
/home/pi/Desktop/images/29112025/01/47/image_29112025_01_48_05_10765.jpg
/home/pi/Desktop/images/29112025/01/48/image_29112025_01_48_14_9686.jpg
/home/pi/Desktop/images/29112025/01/48/image_29112025_01_48_24_9622.jpg
/home/pi/Desktop/images/29112025/01/48/image_29112025_01_48_35_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797373","1396797376","1396797375","1396797371","1396797365","1396797368"],"photo_ids_order":["1396797365","1396797368","1396797371","1396797373","1396797375","1396797376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d704fff6ab05e2afd7b639c13de498cc.jpg","text":"TemporaryFile(/tmp/multipartBody3094073084926230550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377483322,"filename":"image_29112025_01_48_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/66c1ffed1a7de52354bb883986e8975a.jpg","text":"TemporaryFile(/tmp/multipartBody13862583823692380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377483322,"filename":"image_29112025_01_48_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/11/29/48d3b59dd07658395d91fea7714f04f4.jpg","text":"TemporaryFile(/tmp/multipartBody5719712395303161050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377483322,"filename":"image_29112025_01_48_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/11/29/942cb434d891e1caabd17d5388f8dcf4.jpg","text":"TemporaryFile(/tmp/multipartBody2593163946526947819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377483322,"filename":"image_29112025_01_48_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/11/29/2d7ac00836a481c4be21a063a24f9f64.jpg","text":"TemporaryFile(/tmp/multipartBody8738693427571615911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377483322,"filename":"image_29112025_01_47_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d49b8a65158136b785f94bf315eee7b.jpg","text":"TemporaryFile(/tmp/multipartBody5287223709608325211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377483322,"filename":"image_29112025_01_47_44_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797371","file1":"1396797368","file0":"1396797365","file4":"1396797375","file5":"1396797376","file3":"1396797373"},"map_files_photo_id_array":[{"photo_id":"1396797376","filename":"file5"},{"photo_id":"1396797371","filename":"file2"},{"photo_id":"1396797375","filename":"file4"},{"photo_id":"1396797368","filename":"file1"},{"photo_id":"1396797365","filename":"file0"},{"photo_id":"1396797373","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797373":["hashtag1","hashtag2"]},{"1396797376":["hashtag1","hashtag2"]},{"1396797375":["hashtag1","hashtag2"]},{"1396797371":["hashtag1","hashtag2"]},{"1396797365":["hashtag1","hashtag2"]},{"1396797368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797373, 1396797376, 1396797375, 1396797371, 1396797365, 1396797368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48147130012512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:51:03.518253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_40_2533.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_43_2774.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_47_3504.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_49_2564.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_53_3623.jpg', '/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_56_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_40_2533.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_43_2774.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_47_3504.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_49_2564.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_53_3623.jpg
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_56_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797404","1396797379","1396797392","1396797395","1396797389","1396797377"],"photo_ids_order":["1396797377","1396797379","1396797389","1396797392","1396797395","1396797404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e0a25f1ac722cebc2b236832e66ab7f.jpg","text":"TemporaryFile(/tmp/multipartBody5297034511664222997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377525171,"filename":"image_25112025_17_23_56_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef3ee41c5b632618dd92bd8a6f1a8f15.jpg","text":"TemporaryFile(/tmp/multipartBody808530359487308046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377525171,"filename":"image_25112025_17_23_43_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97d76a4f85c705660f8e2f8ea72d192c.jpg","text":"TemporaryFile(/tmp/multipartBody5576192277385445449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377525171,"filename":"image_25112025_17_23_49_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44b61e2fd58c10b48b34c65d4f36d32b.jpg","text":"TemporaryFile(/tmp/multipartBody4715998843080179591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377525171,"filename":"image_25112025_17_23_53_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bf28a2a5c9e2f878349568284e0977a.jpg","text":"TemporaryFile(/tmp/multipartBody1548105738898394021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377525171,"filename":"image_25112025_17_23_47_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c529da36b5fda69f60400b1cc1c6dd6.jpg","text":"TemporaryFile(/tmp/multipartBody7977363966041354267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377525171,"filename":"image_25112025_17_23_40_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797389","file1":"1396797379","file0":"1396797377","file4":"1396797395","file5":"1396797404","file3":"1396797392"},"map_files_photo_id_array":[{"photo_id":"1396797404","filename":"file5"},{"photo_id":"1396797389","filename":"file2"},{"photo_id":"1396797395","filename":"file4"},{"photo_id":"1396797379","filename":"file1"},{"photo_id":"1396797377","filename":"file0"},{"photo_id":"1396797392","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396797404":["hashtag1","hashtag2"]},{"1396797379":["hashtag1","hashtag2"]},{"1396797392":["hashtag1","hashtag2"]},{"1396797395":["hashtag1","hashtag2"]},{"1396797389":["hashtag1","hashtag2"]},{"1396797377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396797404, 1396797379, 1396797392, 1396797395, 1396797389, 1396797377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04923629760742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:51:42.879794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_36_3638.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_39_2761.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_42_2682.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_45_3781.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_48_2563.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_51_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/08/21/image_31102025_08_21_36_3638.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_39_2761.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_42_2682.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_45_3781.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_48_2563.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_51_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":["1396797445","1396797444","1396797447","1396797441","1396797443","1396797446"],"photo_ids_order":["1396797441","1396797443","1396797444","1396797445","1396797446","1396797447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20d541668af8be9ebe1b9ceba7cc7e8e.jpg","text":"TemporaryFile(/tmp/multipartBody705448376752669079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377563935,"filename":"image_31102025_08_21_45_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52a071bbbb2ad9733b093ee4bc4ee52e.jpg","text":"TemporaryFile(/tmp/multipartBody2912505398949835981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377563935,"filename":"image_31102025_08_21_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/11/29/97499bda9d086907635c049e06777d11.jpg","text":"TemporaryFile(/tmp/multipartBody8487364074786800245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377563935,"filename":"image_31102025_08_21_51_3494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4b26a72ddf844e34bf71cfae0efbe5b.jpg","text":"TemporaryFile(/tmp/multipartBody6316611035516147613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377563935,"filename":"image_31102025_08_21_36_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/759d4a2f2727f5bec6c0cb1bd9ee91f8.jpg","text":"TemporaryFile(/tmp/multipartBody5386019607287818694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377563935,"filename":"image_31102025_08_21_39_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18b57f0e9c715076702a4bf559e89360.jpg","text":"TemporaryFile(/tmp/multipartBody4600101699197547630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377563935,"filename":"image_31102025_08_21_48_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797444","file1":"1396797443","file0":"1396797441","file4":"1396797446","file5":"1396797447","file3":"1396797445"},"map_files_photo_id_array":[{"photo_id":"1396797447","filename":"file5"},{"photo_id":"1396797444","filename":"file2"},{"photo_id":"1396797446","filename":"file4"},{"photo_id":"1396797443","filename":"file1"},{"photo_id":"1396797441","filename":"file0"},{"photo_id":"1396797445","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396797445":["hashtag1","hashtag2"]},{"1396797444":["hashtag1","hashtag2"]},{"1396797447":["hashtag1","hashtag2"]},{"1396797441":["hashtag1","hashtag2"]},{"1396797443":["hashtag1","hashtag2"]},{"1396797446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396797445, 1396797444, 1396797447, 1396797441, 1396797443, 1396797446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68521070480347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:52:22.064721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/50/image_29112025_01_50_45_10591.jpg', '/home/pi/Desktop/images/29112025/01/50/image_29112025_01_51_04_9738.jpg', '/home/pi/Desktop/images/29112025/01/51/image_29112025_01_51_14_9642.jpg', '/home/pi/Desktop/images/29112025/01/51/image_29112025_01_51_34_9572.jpg', '/home/pi/Desktop/images/29112025/01/51/image_29112025_01_51_45_10791.jpg', '/home/pi/Desktop/images/29112025/01/52/image_29112025_01_52_14_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/50/image_29112025_01_50_45_10591.jpg
/home/pi/Desktop/images/29112025/01/50/image_29112025_01_51_04_9738.jpg
/home/pi/Desktop/images/29112025/01/51/image_29112025_01_51_14_9642.jpg
/home/pi/Desktop/images/29112025/01/51/image_29112025_01_51_34_9572.jpg
/home/pi/Desktop/images/29112025/01/51/image_29112025_01_51_45_10791.jpg
/home/pi/Desktop/images/29112025/01/52/image_29112025_01_52_14_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":["1396797460","1396797462","1396797450","1396797455","1396797458","1396797452"],"photo_ids_order":["1396797450","1396797452","1396797455","1396797458","1396797460","1396797462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/947957c96a29d94d54478ff11b173d9b.jpg","text":"TemporaryFile(/tmp/multipartBody7315108304188432139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377602817,"filename":"image_29112025_01_51_45_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d68f286213c83568e1591cff16334b8d.jpg","text":"TemporaryFile(/tmp/multipartBody7490584972806395622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377602817,"filename":"image_29112025_01_52_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/11/29/899244522d418eaa879ea5016b567cd3.jpg","text":"TemporaryFile(/tmp/multipartBody107496738370006534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377602817,"filename":"image_29112025_01_50_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/11/29/164218f291a13c485fcb92c29283402c.jpg","text":"TemporaryFile(/tmp/multipartBody4960416234842936826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377602817,"filename":"image_29112025_01_51_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/11/29/6cfc237725dfbcf7ba8454fe79e75e23.jpg","text":"TemporaryFile(/tmp/multipartBody4738145796388010422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377602817,"filename":"image_29112025_01_51_34_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75d1442a7693649a96fe479929fcf08c.jpg","text":"TemporaryFile(/tmp/multipartBody8868319107621604457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377602817,"filename":"image_29112025_01_51_04_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797455","file1":"1396797452","file0":"1396797450","file4":"1396797460","file5":"1396797462","file3":"1396797458"},"map_files_photo_id_array":[{"photo_id":"1396797462","filename":"file5"},{"photo_id":"1396797455","filename":"file2"},{"photo_id":"1396797460","filename":"file4"},{"photo_id":"1396797452","filename":"file1"},{"photo_id":"1396797450","filename":"file0"},{"photo_id":"1396797458","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797460":["hashtag1","hashtag2"]},{"1396797462":["hashtag1","hashtag2"]},{"1396797450":["hashtag1","hashtag2"]},{"1396797455":["hashtag1","hashtag2"]},{"1396797458":["hashtag1","hashtag2"]},{"1396797452":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797460, 1396797462, 1396797450, 1396797455, 1396797458, 1396797452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98075318336487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:53:02.960511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_58_2835.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_02_3625.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_05_2500.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_07_2635.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_11_3573.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_13_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/23/image_25112025_17_23_58_2835.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_02_3625.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_05_2500.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_07_2635.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_11_3573.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_13_2546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797472","1396797469","1396797474","1396797470","1396797467","1396797478"],"photo_ids_order":["1396797467","1396797469","1396797470","1396797472","1396797474","1396797478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f753ef64a6968e506c14f5a7656bcb2.jpg","text":"TemporaryFile(/tmp/multipartBody3963672048010117464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377644614,"filename":"image_25112025_17_24_07_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1807b10808238074131b47c9cbc9330b.jpg","text":"TemporaryFile(/tmp/multipartBody3802992429427000639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377644614,"filename":"image_25112025_17_24_02_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fb0d1b2525bc07b25af373773435de1.jpg","text":"TemporaryFile(/tmp/multipartBody8056301330413688162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377644614,"filename":"image_25112025_17_24_11_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fbbf5bfbe6af63701a898c11eb38fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3787908966656890661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377644614,"filename":"image_25112025_17_24_05_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8197a841c26f00014c4f5bef9d102b1a.jpg","text":"TemporaryFile(/tmp/multipartBody3657629009240389587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377644614,"filename":"image_25112025_17_23_58_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9857408b5f720c36bd1340c7f1c43e00.jpg","text":"TemporaryFile(/tmp/multipartBody3268768940747996903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377644614,"filename":"image_25112025_17_24_13_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797470","file1":"1396797469","file0":"1396797467","file4":"1396797474","file5":"1396797478","file3":"1396797472"},"map_files_photo_id_array":[{"photo_id":"1396797478","filename":"file5"},{"photo_id":"1396797470","filename":"file2"},{"photo_id":"1396797474","filename":"file4"},{"photo_id":"1396797469","filename":"file1"},{"photo_id":"1396797467","filename":"file0"},{"photo_id":"1396797472","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396797472":["hashtag1","hashtag2"]},{"1396797469":["hashtag1","hashtag2"]},{"1396797474":["hashtag1","hashtag2"]},{"1396797470":["hashtag1","hashtag2"]},{"1396797467":["hashtag1","hashtag2"]},{"1396797478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396797472, 1396797469, 1396797474, 1396797470, 1396797467, 1396797478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51416373252869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:53:42.230494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_54_2644.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_57_2552.jpg', '/home/pi/Desktop/images/31102025/08/21/image_31102025_08_22_00_3651.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_03_2625.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_06_2779.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_09_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/08/21/image_31102025_08_21_54_2644.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_21_57_2552.jpg
/home/pi/Desktop/images/31102025/08/21/image_31102025_08_22_00_3651.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_03_2625.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_06_2779.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_09_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":["1396797487","1396797489","1396797483","1396797486","1396797488","1396797485"],"photo_ids_order":["1396797483","1396797485","1396797486","1396797487","1396797488","1396797489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26e330e9ae3db195f64c0d3f8fffb5b3.jpg","text":"TemporaryFile(/tmp/multipartBody2336731972939301063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377683294,"filename":"image_31102025_08_22_03_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2994691c8702fecb258d7ae599e284ed.jpg","text":"TemporaryFile(/tmp/multipartBody4754521904055835127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377683294,"filename":"image_31102025_08_22_09_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b23675eacdddbba0f668f96e0607359f.jpg","text":"TemporaryFile(/tmp/multipartBody4286676634992608125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377683294,"filename":"image_31102025_08_21_54_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c45932e0e870fa8db644a0068d408bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2050172716914083878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377683294,"filename":"image_31102025_08_22_00_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e7b59dfaca6807d4ca318749f1b54a7.jpg","text":"TemporaryFile(/tmp/multipartBody4301763220269076732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377683294,"filename":"image_31102025_08_22_06_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b34b24fc83ad77b4dad2581563570ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3764292040892670481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377683294,"filename":"image_31102025_08_21_57_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797486","file1":"1396797485","file0":"1396797483","file4":"1396797488","file5":"1396797489","file3":"1396797487"},"map_files_photo_id_array":[{"photo_id":"1396797489","filename":"file5"},{"photo_id":"1396797486","filename":"file2"},{"photo_id":"1396797488","filename":"file4"},{"photo_id":"1396797485","filename":"file1"},{"photo_id":"1396797483","filename":"file0"},{"photo_id":"1396797487","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396797487":["hashtag1","hashtag2"]},{"1396797489":["hashtag1","hashtag2"]},{"1396797483":["hashtag1","hashtag2"]},{"1396797486":["hashtag1","hashtag2"]},{"1396797488":["hashtag1","hashtag2"]},{"1396797485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396797487, 1396797489, 1396797483, 1396797486, 1396797488, 1396797485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57225728034973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:54:22.362764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/52/image_29112025_01_52_34_9661.jpg', '/home/pi/Desktop/images/29112025/01/53/image_29112025_01_53_14_9683.jpg', '/home/pi/Desktop/images/29112025/01/53/image_29112025_01_53_25_10737.jpg', '/home/pi/Desktop/images/29112025/01/53/image_29112025_01_53_34_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/52/image_29112025_01_52_34_9661.jpg
/home/pi/Desktop/images/29112025/01/53/image_29112025_01_53_14_9683.jpg
/home/pi/Desktop/images/29112025/01/53/image_29112025_01_53_25_10737.jpg
/home/pi/Desktop/images/29112025/01/53/image_29112025_01_53_34_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797495","1396797498","1396797492","1396797501"],"photo_ids_order":["1396797492","1396797495","1396797498","1396797501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97e40fafbf4e10d7ae91824cded015a8.jpg","text":"TemporaryFile(/tmp/multipartBody3072111477709447708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377723025,"filename":"image_29112025_01_53_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb1553f0d74c0a67a22aa149f0791c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8162493941776221615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377723025,"filename":"image_29112025_01_53_25_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48fe1b97c533c7162b6e50fa5d1efe6d.jpg","text":"TemporaryFile(/tmp/multipartBody3982061558259436541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377723025,"filename":"image_29112025_01_52_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/11/29/63fa451b7e4dd6a5148f2216f0ee7101.jpg","text":"TemporaryFile(/tmp/multipartBody8006408880055476992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377723025,"filename":"image_29112025_01_53_34_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797498","file1":"1396797495","file0":"1396797492","file3":"1396797501"},"map_files_photo_id_array":[{"photo_id":"1396797498","filename":"file2"},{"photo_id":"1396797495","filename":"file1"},{"photo_id":"1396797492","filename":"file0"},{"photo_id":"1396797501","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797495":["hashtag1","hashtag2"]},{"1396797498":["hashtag1","hashtag2"]},{"1396797492":["hashtag1","hashtag2"]},{"1396797501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797495, 1396797498, 1396797492, 1396797501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 41.07509756088257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 01:55:12.583291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_20_2705.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_22_2865.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_26_3626.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_29_2580.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_31_2734.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_35_3520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_20_2705.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_22_2865.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_26_3626.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_29_2580.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_31_2734.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_35_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":["1396797513","1396797510","1396797504","1396797506","1396797515","1396797509"],"photo_ids_order":["1396797504","1396797506","1396797509","1396797510","1396797513","1396797515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff977043eb0b748c32bca3f236c2f8d3.jpg","text":"TemporaryFile(/tmp/multipartBody7984483786983148301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377774672,"filename":"image_25112025_17_24_31_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76078f26f5a126ebd6ae5958753e2f08.jpg","text":"TemporaryFile(/tmp/multipartBody8529509034378217604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377774672,"filename":"image_25112025_17_24_29_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53290d024eea373b30ca8326f9a51aab.jpg","text":"TemporaryFile(/tmp/multipartBody270456665621914328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377774672,"filename":"image_25112025_17_24_20_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4c9763cf4790a2c420ea6c2c93560a8.jpg","text":"TemporaryFile(/tmp/multipartBody5791751131540627945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377774672,"filename":"image_25112025_17_24_22_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05f39a1dda9d7980655631955e7774d5.jpg","text":"TemporaryFile(/tmp/multipartBody5003307646775823034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377774672,"filename":"image_25112025_17_24_35_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a58f94e3a8136c48f50c88974e64a99.jpg","text":"TemporaryFile(/tmp/multipartBody1218277872747782374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377774672,"filename":"image_25112025_17_24_26_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797509","file1":"1396797506","file0":"1396797504","file4":"1396797513","file5":"1396797515","file3":"1396797510"},"map_files_photo_id_array":[{"photo_id":"1396797515","filename":"file5"},{"photo_id":"1396797509","filename":"file2"},{"photo_id":"1396797513","filename":"file4"},{"photo_id":"1396797506","filename":"file1"},{"photo_id":"1396797504","filename":"file0"},{"photo_id":"1396797510","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396797513":["hashtag1","hashtag2"]},{"1396797510":["hashtag1","hashtag2"]},{"1396797504":["hashtag1","hashtag2"]},{"1396797506":["hashtag1","hashtag2"]},{"1396797515":["hashtag1","hashtag2"]},{"1396797509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396797513, 1396797510, 1396797504, 1396797506, 1396797515, 1396797509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63359189033508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:56:02.317437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/53/image_29112025_01_53_44_9773.jpg', '/home/pi/Desktop/images/29112025/01/54/image_29112025_01_55_04_9754.jpg', '/home/pi/Desktop/images/29112025/01/55/image_29112025_01_55_15_10692.jpg', '/home/pi/Desktop/images/29112025/01/55/image_29112025_01_55_24_9709.jpg', '/home/pi/Desktop/images/29112025/01/55/image_29112025_01_55_34_9647.jpg', '/home/pi/Desktop/images/29112025/01/55/image_29112025_01_55_45_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/53/image_29112025_01_53_44_9773.jpg
/home/pi/Desktop/images/29112025/01/54/image_29112025_01_55_04_9754.jpg
/home/pi/Desktop/images/29112025/01/55/image_29112025_01_55_15_10692.jpg
/home/pi/Desktop/images/29112025/01/55/image_29112025_01_55_24_9709.jpg
/home/pi/Desktop/images/29112025/01/55/image_29112025_01_55_34_9647.jpg
/home/pi/Desktop/images/29112025/01/55/image_29112025_01_55_45_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797517","1396797516","1396797519","1396797524","1396797518","1396797521"],"photo_ids_order":["1396797516","1396797517","1396797518","1396797519","1396797521","1396797524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3098ba3ca73099e347db0f145b1e844f.jpg","text":"TemporaryFile(/tmp/multipartBody1128572452290789890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377823108,"filename":"image_29112025_01_55_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/11/29/49402a3c9f22530235ec2a26c18dd60b.jpg","text":"TemporaryFile(/tmp/multipartBody2078823250721360825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377823108,"filename":"image_29112025_01_53_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/11/29/3f522c5f1105ef251b8034fe4dc30374.jpg","text":"TemporaryFile(/tmp/multipartBody4538005296520033223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377823108,"filename":"image_29112025_01_55_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa1c241c88619060b7b08489bb55d440.jpg","text":"TemporaryFile(/tmp/multipartBody4891867901907814343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377823108,"filename":"image_29112025_01_55_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/11/29/1323e818eee5bb6d9f7ed57f42766f15.jpg","text":"TemporaryFile(/tmp/multipartBody6764233809549063599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377823108,"filename":"image_29112025_01_55_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/979a0ad453faaf1cc215bd60a90f2427.jpg","text":"TemporaryFile(/tmp/multipartBody8774046088355222694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377823108,"filename":"image_29112025_01_55_34_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797518","file1":"1396797517","file0":"1396797516","file4":"1396797521","file5":"1396797524","file3":"1396797519"},"map_files_photo_id_array":[{"photo_id":"1396797524","filename":"file5"},{"photo_id":"1396797518","filename":"file2"},{"photo_id":"1396797521","filename":"file4"},{"photo_id":"1396797517","filename":"file1"},{"photo_id":"1396797516","filename":"file0"},{"photo_id":"1396797519","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797517":["hashtag1","hashtag2"]},{"1396797516":["hashtag1","hashtag2"]},{"1396797519":["hashtag1","hashtag2"]},{"1396797524":["hashtag1","hashtag2"]},{"1396797518":["hashtag1","hashtag2"]},{"1396797521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797517, 1396797516, 1396797519, 1396797524, 1396797518, 1396797521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27044749259949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:56:41.875227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_12_3730.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_15_2709.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_18_2825.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_21_2737.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_24_3780.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_27_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/08/22/image_31102025_08_22_12_3730.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_15_2709.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_18_2825.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_21_2737.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_24_3780.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_27_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":["1396797535","1396797538","1396797537","1396797536","1396797539","1396797533"],"photo_ids_order":["1396797533","1396797535","1396797536","1396797537","1396797538","1396797539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/726134ca111b8af3901435750ad272a1.jpg","text":"TemporaryFile(/tmp/multipartBody681960027906948858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377862950,"filename":"image_31102025_08_22_15_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d969f56fdfd019f0ab0e05135b9fbeb8.jpg","text":"TemporaryFile(/tmp/multipartBody3935835123727250708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377862950,"filename":"image_31102025_08_22_24_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a5da2c57c3923e97157128359696ec1.jpg","text":"TemporaryFile(/tmp/multipartBody8240671136399647285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377862950,"filename":"image_31102025_08_22_21_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cde62ad6eccb1e95682318b77d227f95.jpg","text":"TemporaryFile(/tmp/multipartBody1037641854992351841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377862950,"filename":"image_31102025_08_22_18_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a631af639e73ae0594361367a387c8ec.jpg","text":"TemporaryFile(/tmp/multipartBody4030581605408002475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377862950,"filename":"image_31102025_08_22_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/11/29/21c9a2e85204230bbe90a8905c8f4b6e.jpg","text":"TemporaryFile(/tmp/multipartBody5989750853585251727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377862950,"filename":"image_31102025_08_22_12_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797536","file1":"1396797535","file0":"1396797533","file4":"1396797538","file5":"1396797539","file3":"1396797537"},"map_files_photo_id_array":[{"photo_id":"1396797539","filename":"file5"},{"photo_id":"1396797536","filename":"file2"},{"photo_id":"1396797538","filename":"file4"},{"photo_id":"1396797535","filename":"file1"},{"photo_id":"1396797533","filename":"file0"},{"photo_id":"1396797537","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396797535":["hashtag1","hashtag2"]},{"1396797538":["hashtag1","hashtag2"]},{"1396797537":["hashtag1","hashtag2"]},{"1396797536":["hashtag1","hashtag2"]},{"1396797539":["hashtag1","hashtag2"]},{"1396797533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396797535, 1396797538, 1396797537, 1396797536, 1396797539, 1396797533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17031645774841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 01:57:21.978836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/55/image_29112025_01_55_54_9755.jpg', '/home/pi/Desktop/images/29112025/01/56/image_29112025_01_56_14_9685.jpg', '/home/pi/Desktop/images/29112025/01/56/image_29112025_01_56_25_10756.jpg', '/home/pi/Desktop/images/29112025/01/56/image_29112025_01_56_34_9692.jpg', '/home/pi/Desktop/images/29112025/01/57/image_29112025_01_57_34_9797.jpg', '/home/pi/Desktop/images/29112025/01/57/image_29112025_01_57_44_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/55/image_29112025_01_55_54_9755.jpg
/home/pi/Desktop/images/29112025/01/56/image_29112025_01_56_14_9685.jpg
/home/pi/Desktop/images/29112025/01/56/image_29112025_01_56_25_10756.jpg
/home/pi/Desktop/images/29112025/01/56/image_29112025_01_56_34_9692.jpg
/home/pi/Desktop/images/29112025/01/57/image_29112025_01_57_34_9797.jpg
/home/pi/Desktop/images/29112025/01/57/image_29112025_01_57_44_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797553","1396797547","1396797544","1396797555","1396797549","1396797551"],"photo_ids_order":["1396797544","1396797547","1396797549","1396797551","1396797553","1396797555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d142af1d9f4a634f634b6de6cec7aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6220205106887055957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377902732,"filename":"image_29112025_01_57_34_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19d9f8949181dd6149ffeac37acc0f80.jpg","text":"TemporaryFile(/tmp/multipartBody1939247370672672887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377902732,"filename":"image_29112025_01_56_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/11/29/ea1924c302bb113a9984b4ee74867b3f.jpg","text":"TemporaryFile(/tmp/multipartBody1832578437638618142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377902732,"filename":"image_29112025_01_55_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/11/29/813be264c60589906d93c523fe2c37f3.jpg","text":"TemporaryFile(/tmp/multipartBody6182912190055844103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377902732,"filename":"image_29112025_01_57_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/11/29/a0b7a32d7dd311e639c5ce44685f2f7e.jpg","text":"TemporaryFile(/tmp/multipartBody2383974000937700824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377902732,"filename":"image_29112025_01_56_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/11/29/bbffacedb0fd41aec73029fa7cdd9bb9.jpg","text":"TemporaryFile(/tmp/multipartBody4689079561843514708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764377902732,"filename":"image_29112025_01_56_34_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797549","file1":"1396797547","file0":"1396797544","file4":"1396797553","file5":"1396797555","file3":"1396797551"},"map_files_photo_id_array":[{"photo_id":"1396797555","filename":"file5"},{"photo_id":"1396797549","filename":"file2"},{"photo_id":"1396797553","filename":"file4"},{"photo_id":"1396797547","filename":"file1"},{"photo_id":"1396797544","filename":"file0"},{"photo_id":"1396797551","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797553":["hashtag1","hashtag2"]},{"1396797547":["hashtag1","hashtag2"]},{"1396797544":["hashtag1","hashtag2"]},{"1396797555":["hashtag1","hashtag2"]},{"1396797549":["hashtag1","hashtag2"]},{"1396797551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797553, 1396797547, 1396797544, 1396797555, 1396797549, 1396797551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08741617202759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 01:59:03.177138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/57/image_29112025_01_57_54_9601.jpg', '/home/pi/Desktop/images/29112025/01/57/image_29112025_01_58_04_10650.jpg', '/home/pi/Desktop/images/29112025/01/58/image_29112025_01_58_14_9634.jpg', '/home/pi/Desktop/images/29112025/01/58/image_29112025_01_58_35_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/57/image_29112025_01_57_54_9601.jpg
/home/pi/Desktop/images/29112025/01/57/image_29112025_01_58_04_10650.jpg
/home/pi/Desktop/images/29112025/01/58/image_29112025_01_58_14_9634.jpg
/home/pi/Desktop/images/29112025/01/58/image_29112025_01_58_35_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797569","1396797563","1396797557","1396797566"],"photo_ids_order":["1396797557","1396797563","1396797566","1396797569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1c04be728aba2ff8ab8e5a8b70fa3bf.jpg","text":"TemporaryFile(/tmp/multipartBody7997179304322135112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378004121,"filename":"image_29112025_01_58_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/11/29/5e4e18b92322e3ba91a61f8c077db599.jpg","text":"TemporaryFile(/tmp/multipartBody5120919136371578063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378004121,"filename":"image_29112025_01_58_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/11/29/1d5266ab6c5324c08a0bde1e4fff0eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7412049463911489987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378004121,"filename":"image_29112025_01_57_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5edf3f9042abd2e0e6e97ad90e2e0ab5.jpg","text":"TemporaryFile(/tmp/multipartBody8493772723339105525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378004121,"filename":"image_29112025_01_58_14_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797566","file1":"1396797563","file0":"1396797557","file3":"1396797569"},"map_files_photo_id_array":[{"photo_id":"1396797566","filename":"file2"},{"photo_id":"1396797563","filename":"file1"},{"photo_id":"1396797557","filename":"file0"},{"photo_id":"1396797569","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797569":["hashtag1","hashtag2"]},{"1396797563":["hashtag1","hashtag2"]},{"1396797557":["hashtag1","hashtag2"]},{"1396797566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797569, 1396797563, 1396797557, 1396797566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.31211519241333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 01:59:42.350163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_30_2583.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_33_3674.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_36_2713.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_39_2799.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_42_3612.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_45_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_30_2583.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_33_3674.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_36_2713.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_39_2799.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_42_3612.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_45_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797586","1396797615","1396797599","1396797575","1396797617","1396797583"],"photo_ids_order":["1396797575","1396797583","1396797586","1396797599","1396797615","1396797617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4bbb5bf0bacaa01f19e7ddb66e7ba57.jpg","text":"TemporaryFile(/tmp/multipartBody952666001933151060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378043441,"filename":"image_31102025_08_22_36_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a970c56469e361956ecd4d574d175bc4.jpg","text":"TemporaryFile(/tmp/multipartBody445563603157119233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378043441,"filename":"image_31102025_08_22_42_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9e7cb19f498dd6b6553a8f0a330fd28.jpg","text":"TemporaryFile(/tmp/multipartBody8813875718856615656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378043441,"filename":"image_31102025_08_22_39_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e175484c79890433ee17eb55d1419b9d.jpg","text":"TemporaryFile(/tmp/multipartBody3301942662630674578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378043441,"filename":"image_31102025_08_22_30_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78c95adbc9b701e049e29b86d603045d.jpg","text":"TemporaryFile(/tmp/multipartBody8091061222857283608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378043441,"filename":"image_31102025_08_22_45_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4810e712a7dd996983f050da7a95d82a.jpg","text":"TemporaryFile(/tmp/multipartBody2502627401852635152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378043441,"filename":"image_31102025_08_22_33_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797586","file1":"1396797583","file0":"1396797575","file4":"1396797615","file5":"1396797617","file3":"1396797599"},"map_files_photo_id_array":[{"photo_id":"1396797617","filename":"file5"},{"photo_id":"1396797586","filename":"file2"},{"photo_id":"1396797615","filename":"file4"},{"photo_id":"1396797583","filename":"file1"},{"photo_id":"1396797575","filename":"file0"},{"photo_id":"1396797599","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396797586":["hashtag1","hashtag2"]},{"1396797615":["hashtag1","hashtag2"]},{"1396797599":["hashtag1","hashtag2"]},{"1396797575":["hashtag1","hashtag2"]},{"1396797617":["hashtag1","hashtag2"]},{"1396797583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396797586, 1396797615, 1396797599, 1396797575, 1396797617, 1396797583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.481837034225464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:00:22.514141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/01/58/image_29112025_01_58_44_9754.jpg', '/home/pi/Desktop/images/29112025/01/58/image_29112025_01_59_05_10655.jpg', '/home/pi/Desktop/images/29112025/01/59/image_29112025_01_59_14_9779.jpg', '/home/pi/Desktop/images/29112025/02/00/image_29112025_02_00_24_9737.jpg', '/home/pi/Desktop/images/29112025/02/00/image_29112025_02_00_34_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/01/58/image_29112025_01_58_44_9754.jpg
/home/pi/Desktop/images/29112025/01/58/image_29112025_01_59_05_10655.jpg
/home/pi/Desktop/images/29112025/01/59/image_29112025_01_59_14_9779.jpg
/home/pi/Desktop/images/29112025/02/00/image_29112025_02_00_24_9737.jpg
/home/pi/Desktop/images/29112025/02/00/image_29112025_02_00_34_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":["1396797670","1396797664","1396797649","1396797634","1396797669"],"photo_ids_order":["1396797634","1396797649","1396797664","1396797669","1396797670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d07c8d11ea5e3dd29c3529c107a44f7d.jpg","text":"TemporaryFile(/tmp/multipartBody1272163128789227165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378083233,"filename":"image_29112025_02_00_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/11/29/3fba573a6d07e2f42ee5e2748b2855f6.jpg","text":"TemporaryFile(/tmp/multipartBody6762432700740281230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378083233,"filename":"image_29112025_01_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/11/29/0fbc3f1ac36e2bd5d193a377de7a371e.jpg","text":"TemporaryFile(/tmp/multipartBody476698190359623214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378083233,"filename":"image_29112025_01_59_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/11/29/1c1b71c5d185c82d8da0705248a6a763.jpg","text":"TemporaryFile(/tmp/multipartBody1156983880637310159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378083233,"filename":"image_29112025_01_58_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81e852476662c2166f4d16ef03403457.jpg","text":"TemporaryFile(/tmp/multipartBody5889872098479054263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378083233,"filename":"image_29112025_02_00_24_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797664","file1":"1396797649","file0":"1396797634","file4":"1396797670","file3":"1396797669"},"map_files_photo_id_array":[{"photo_id":"1396797664","filename":"file2"},{"photo_id":"1396797670","filename":"file4"},{"photo_id":"1396797649","filename":"file1"},{"photo_id":"1396797634","filename":"file0"},{"photo_id":"1396797669","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396797670":["hashtag1","hashtag2"]},{"1396797664":["hashtag1","hashtag2"]},{"1396797649":["hashtag1","hashtag2"]},{"1396797634":["hashtag1","hashtag2"]},{"1396797669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396797670, 1396797664, 1396797649, 1396797634, 1396797669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.36048412322998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:01:03.463105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_37_2566.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_40_2736.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_44_3800.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_47_2618.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_49_2810.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_52_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_37_2566.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_40_2736.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_44_3800.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_47_2618.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_49_2810.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_52_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396797837","1396797845","1396797833","1396797842","1396797836","1396797839"],"photo_ids_order":["1396797833","1396797836","1396797837","1396797839","1396797842","1396797845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b50fa653be15d4a0ddf42305bcb8d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2535310872137774254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378125105,"filename":"image_25112025_17_24_44_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f699cba897c5be24a85ca7cae1346e0.jpg","text":"TemporaryFile(/tmp/multipartBody5391393993672698375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378125105,"filename":"image_25112025_17_24_52_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3445e884648741a4873626e84b573e8.jpg","text":"TemporaryFile(/tmp/multipartBody7078272377426002904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378125105,"filename":"image_25112025_17_24_37_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afa2092fee11f2e1967fc179122822de.jpg","text":"TemporaryFile(/tmp/multipartBody2477586899874934603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378125105,"filename":"image_25112025_17_24_49_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4750aa4abea7db105eaf95fb98f27d6.jpg","text":"TemporaryFile(/tmp/multipartBody9015088006636948985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378125105,"filename":"image_25112025_17_24_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/11/29/fa5c1e84604979efca28bdb7f8cd7f77.jpg","text":"TemporaryFile(/tmp/multipartBody7201293477160182929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378125105,"filename":"image_25112025_17_24_47_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797837","file1":"1396797836","file0":"1396797833","file4":"1396797842","file5":"1396797845","file3":"1396797839"},"map_files_photo_id_array":[{"photo_id":"1396797845","filename":"file5"},{"photo_id":"1396797837","filename":"file2"},{"photo_id":"1396797842","filename":"file4"},{"photo_id":"1396797836","filename":"file1"},{"photo_id":"1396797833","filename":"file0"},{"photo_id":"1396797839","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396797837":["hashtag1","hashtag2"]},{"1396797845":["hashtag1","hashtag2"]},{"1396797833":["hashtag1","hashtag2"]},{"1396797842":["hashtag1","hashtag2"]},{"1396797836":["hashtag1","hashtag2"]},{"1396797839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396797837, 1396797845, 1396797833, 1396797842, 1396797836, 1396797839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18632173538208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:01:42.702550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_48_2697.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_51_3659.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_54_2567.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_57_2775.jpg', '/home/pi/Desktop/images/31102025/08/22/image_31102025_08_23_00_3618.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_06_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/08/22/image_31102025_08_22_48_2697.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_51_3659.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_54_2567.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_22_57_2775.jpg
/home/pi/Desktop/images/31102025/08/22/image_31102025_08_23_00_3618.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_06_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":["1396797961","1396797853","1396797959","1396797956","1396797923","1396797889"],"photo_ids_order":["1396797853","1396797889","1396797923","1396797956","1396797959","1396797961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/402df3f5dfbbd8a9319e7489e1a37d3f.jpg","text":"TemporaryFile(/tmp/multipartBody619294535860932626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378163761,"filename":"image_31102025_08_23_06_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff2f238c2caaa865728ca99f85d7d4f0.jpg","text":"TemporaryFile(/tmp/multipartBody6613641348534977541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378163761,"filename":"image_31102025_08_22_48_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/665f37b80bc000ea7ed0ab94530d2542.jpg","text":"TemporaryFile(/tmp/multipartBody566729433407933266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378163761,"filename":"image_31102025_08_23_00_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65f8ae4a9f5899003fc3aa07d942df52.jpg","text":"TemporaryFile(/tmp/multipartBody5587486394813790221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378163761,"filename":"image_31102025_08_22_57_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/283ae4f50aacb791de1f365257450f95.jpg","text":"TemporaryFile(/tmp/multipartBody3249114238537907537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378163761,"filename":"image_31102025_08_22_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/11/29/70dac247ece495c3dafeb2577723cb8f.jpg","text":"TemporaryFile(/tmp/multipartBody4482106567318074478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378163761,"filename":"image_31102025_08_22_51_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396797923","file1":"1396797889","file0":"1396797853","file4":"1396797959","file5":"1396797961","file3":"1396797956"},"map_files_photo_id_array":[{"photo_id":"1396797961","filename":"file5"},{"photo_id":"1396797923","filename":"file2"},{"photo_id":"1396797959","filename":"file4"},{"photo_id":"1396797889","filename":"file1"},{"photo_id":"1396797853","filename":"file0"},{"photo_id":"1396797956","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396797961":["hashtag1","hashtag2"]},{"1396797853":["hashtag1","hashtag2"]},{"1396797959":["hashtag1","hashtag2"]},{"1396797956":["hashtag1","hashtag2"]},{"1396797923":["hashtag1","hashtag2"]},{"1396797889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396797961, 1396797853, 1396797959, 1396797956, 1396797923, 1396797889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.874531507492065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:02:21.965368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/00/image_29112025_02_00_45_10969.jpg', '/home/pi/Desktop/images/29112025/02/01/image_29112025_02_01_44_9669.jpg', '/home/pi/Desktop/images/29112025/02/01/image_29112025_02_01_54_10657.jpg', '/home/pi/Desktop/images/29112025/02/01/image_29112025_02_02_04_9727.jpg', '/home/pi/Desktop/images/29112025/02/02/image_29112025_02_02_14_9688.jpg', '/home/pi/Desktop/images/29112025/02/02/image_29112025_02_02_25_10813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/00/image_29112025_02_00_45_10969.jpg
/home/pi/Desktop/images/29112025/02/01/image_29112025_02_01_44_9669.jpg
/home/pi/Desktop/images/29112025/02/01/image_29112025_02_01_54_10657.jpg
/home/pi/Desktop/images/29112025/02/01/image_29112025_02_02_04_9727.jpg
/home/pi/Desktop/images/29112025/02/02/image_29112025_02_02_14_9688.jpg
/home/pi/Desktop/images/29112025/02/02/image_29112025_02_02_25_10813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396798030","1396798024","1396798027","1396797990","1396798035","1396798032"],"photo_ids_order":["1396797990","1396798024","1396798027","1396798030","1396798032","1396798035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc9378b451c59ce3afc7ff575addeeff.jpg","text":"TemporaryFile(/tmp/multipartBody6355974426104636484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378202759,"filename":"image_29112025_02_02_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/11/29/2be6841f94f9e57773e98b81e3f7f3c8.jpg","text":"TemporaryFile(/tmp/multipartBody1636240612291469024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378202759,"filename":"image_29112025_02_01_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/11/29/e3e97a8cbdcec70e15b691cd652b1ae2.jpg","text":"TemporaryFile(/tmp/multipartBody7329003707345518180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378202759,"filename":"image_29112025_02_01_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26fc78b30dcb5f0c632541401a4261d7.jpg","text":"TemporaryFile(/tmp/multipartBody7123306684964302520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378202759,"filename":"image_29112025_02_00_45_10969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6edb3cf7452cf90a225a23340d0d3234.jpg","text":"TemporaryFile(/tmp/multipartBody2161361861250760649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378202759,"filename":"image_29112025_02_02_25_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bf7cf79098ed1dc7a9612b094d4638d.jpg","text":"TemporaryFile(/tmp/multipartBody6794396302476000483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378202759,"filename":"image_29112025_02_02_14_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396798027","file1":"1396798024","file0":"1396797990","file4":"1396798032","file5":"1396798035","file3":"1396798030"},"map_files_photo_id_array":[{"photo_id":"1396798035","filename":"file5"},{"photo_id":"1396798027","filename":"file2"},{"photo_id":"1396798032","filename":"file4"},{"photo_id":"1396798024","filename":"file1"},{"photo_id":"1396797990","filename":"file0"},{"photo_id":"1396798030","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396798030":["hashtag1","hashtag2"]},{"1396798024":["hashtag1","hashtag2"]},{"1396798027":["hashtag1","hashtag2"]},{"1396797990":["hashtag1","hashtag2"]},{"1396798035":["hashtag1","hashtag2"]},{"1396798032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396798030, 1396798024, 1396798027, 1396797990, 1396798035, 1396798032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05282688140869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:03:02.720652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/02/image_29112025_02_02_34_9726.jpg', '/home/pi/Desktop/images/29112025/02/02/image_29112025_02_02_44_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/02/image_29112025_02_02_34_9726.jpg
/home/pi/Desktop/images/29112025/02/02/image_29112025_02_02_44_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396798037","1396798036"],"photo_ids_order":["1396798036","1396798037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71f42de81fe22d63218ccbef3a69a14c.jpg","text":"TemporaryFile(/tmp/multipartBody6053097213597196924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378243347,"filename":"image_29112025_02_02_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9d13f30cba038689894d9bab2a966f6.jpg","text":"TemporaryFile(/tmp/multipartBody9175758997907053113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378243347,"filename":"image_29112025_02_02_34_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396798037","file0":"1396798036"},"map_files_photo_id_array":[{"photo_id":"1396798037","filename":"file1"},{"photo_id":"1396798036","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396798037":["hashtag1","hashtag2"]},{"1396798036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396798037, 1396798036)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 19.628828763961792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:03:32.172143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_56_3649.jpg', '/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_58_2556.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_07_3012.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_11_3740.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_14_2602.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_17_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_56_3649.jpg
/home/pi/Desktop/images/25112025/17/24/image_25112025_17_24_58_2556.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_07_3012.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_11_3740.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_14_2602.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_17_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":["1396798051","1396798048","1396798050","1396798044","1396798052","1396798046"],"photo_ids_order":["1396798044","1396798046","1396798048","1396798050","1396798051","1396798052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e4c5a79a97566ffd06bb04d40e04fdb.jpg","text":"TemporaryFile(/tmp/multipartBody7342431461348164554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378274354,"filename":"image_25112025_17_25_14_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44117186bd97432f40f98f14a80a0ab7.jpg","text":"TemporaryFile(/tmp/multipartBody6375295938145797978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378274354,"filename":"image_25112025_17_25_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19b0ebf68f2d7519388b6506b8921895.jpg","text":"TemporaryFile(/tmp/multipartBody3100301896843579446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378274354,"filename":"image_25112025_17_25_11_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/407d700a5a6b4260ad19677f39c9ca03.jpg","text":"TemporaryFile(/tmp/multipartBody2640784237905857141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378274354,"filename":"image_25112025_17_24_56_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d1ad4ebefb3b63f369719be37ec4491.jpg","text":"TemporaryFile(/tmp/multipartBody1766843907597464856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378274354,"filename":"image_25112025_17_25_17_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a79124c782413f5beab74b95924e2799.jpg","text":"TemporaryFile(/tmp/multipartBody5291337131821918589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378274354,"filename":"image_25112025_17_24_58_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396798048","file1":"1396798046","file0":"1396798044","file4":"1396798051","file5":"1396798052","file3":"1396798050"},"map_files_photo_id_array":[{"photo_id":"1396798052","filename":"file5"},{"photo_id":"1396798048","filename":"file2"},{"photo_id":"1396798051","filename":"file4"},{"photo_id":"1396798046","filename":"file1"},{"photo_id":"1396798044","filename":"file0"},{"photo_id":"1396798050","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396798051":["hashtag1","hashtag2"]},{"1396798048":["hashtag1","hashtag2"]},{"1396798050":["hashtag1","hashtag2"]},{"1396798044":["hashtag1","hashtag2"]},{"1396798052":["hashtag1","hashtag2"]},{"1396798046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396798051, 1396798048, 1396798050, 1396798044, 1396798052, 1396798046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16249632835388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:04:12.303532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_20_3685.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_23_2731.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_27_4388.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_29_1813.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_33_4080.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_35_1531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_20_3685.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_23_2731.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_27_4388.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_29_1813.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_33_4080.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_35_1531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396798066","1396798053","1396798061","1396798064","1396798058","1396798055"],"photo_ids_order":["1396798053","1396798055","1396798058","1396798061","1396798064","1396798066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b077842bdab4bafd1c9977e6b451e49.jpg","text":"TemporaryFile(/tmp/multipartBody1493255075830047358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378314399,"filename":"image_25112025_17_25_35_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/924ae38a6775178b447aad69afabfd5d.jpg","text":"TemporaryFile(/tmp/multipartBody5580246258150355368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378314399,"filename":"image_25112025_17_25_20_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5e48fa3e1c9a6cb70bc76a0ede9c002.jpg","text":"TemporaryFile(/tmp/multipartBody3836323664421356033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378314399,"filename":"image_25112025_17_25_29_1813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/234abd1d9ec80b445994a594139b79bf.jpg","text":"TemporaryFile(/tmp/multipartBody2315726967717755457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378314399,"filename":"image_25112025_17_25_33_4080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/858ed3547eab16af09c5f2bdb87e204b.jpg","text":"TemporaryFile(/tmp/multipartBody8358183688497485721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378314399,"filename":"image_25112025_17_25_27_4388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbe69a386193f14476e4d2aba32fca5f.jpg","text":"TemporaryFile(/tmp/multipartBody7603768444713009395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378314399,"filename":"image_25112025_17_25_23_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396798058","file1":"1396798055","file0":"1396798053","file4":"1396798064","file5":"1396798066","file3":"1396798061"},"map_files_photo_id_array":[{"photo_id":"1396798066","filename":"file5"},{"photo_id":"1396798058","filename":"file2"},{"photo_id":"1396798064","filename":"file4"},{"photo_id":"1396798055","filename":"file1"},{"photo_id":"1396798053","filename":"file0"},{"photo_id":"1396798061","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396798066":["hashtag1","hashtag2"]},{"1396798053":["hashtag1","hashtag2"]},{"1396798061":["hashtag1","hashtag2"]},{"1396798064":["hashtag1","hashtag2"]},{"1396798058":["hashtag1","hashtag2"]},{"1396798055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396798066, 1396798053, 1396798061, 1396798064, 1396798058, 1396798055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32030463218689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:05:03.064847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/02/image_29112025_02_02_54_9659.jpg', '/home/pi/Desktop/images/29112025/02/03/image_29112025_02_03_14_9840.jpg', '/home/pi/Desktop/images/29112025/02/03/image_29112025_02_03_24_9609.jpg', '/home/pi/Desktop/images/29112025/02/03/image_29112025_02_03_44_10624.jpg', '/home/pi/Desktop/images/29112025/02/03/image_29112025_02_03_54_9776.jpg', '/home/pi/Desktop/images/29112025/02/03/image_29112025_02_04_04_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/02/image_29112025_02_02_54_9659.jpg
/home/pi/Desktop/images/29112025/02/03/image_29112025_02_03_14_9840.jpg
/home/pi/Desktop/images/29112025/02/03/image_29112025_02_03_24_9609.jpg
/home/pi/Desktop/images/29112025/02/03/image_29112025_02_03_44_10624.jpg
/home/pi/Desktop/images/29112025/02/03/image_29112025_02_03_54_9776.jpg
/home/pi/Desktop/images/29112025/02/03/image_29112025_02_04_04_9726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396798077","1396798071","1396798074","1396798070","1396798072","1396798069"],"photo_ids_order":["1396798069","1396798070","1396798071","1396798072","1396798074","1396798077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d60985aeadf0175813f5b9dcbec2d798.jpg","text":"TemporaryFile(/tmp/multipartBody3858560207806838283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378363994,"filename":"image_29112025_02_04_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/11/29/be3314f9ce48bfb8f3d7fa5195d49cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3849367313219831110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378363994,"filename":"image_29112025_02_03_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/11/29/0bd2c53e385b5001e272f0b823bd5c15.jpg","text":"TemporaryFile(/tmp/multipartBody2375556624055187826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378363994,"filename":"image_29112025_02_03_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/11/29/e1aceb916df51e33c27ff1adf55cc8e5.jpg","text":"TemporaryFile(/tmp/multipartBody423994449342678079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378363994,"filename":"image_29112025_02_03_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/11/29/18464ba4765b5736b62573f60da12f16.jpg","text":"TemporaryFile(/tmp/multipartBody3449883516002949628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378363994,"filename":"image_29112025_02_03_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f093b39b90754dfc0de6e8397b464ad9.jpg","text":"TemporaryFile(/tmp/multipartBody181874209453387076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378363994,"filename":"image_29112025_02_02_54_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396798071","file1":"1396798070","file0":"1396798069","file4":"1396798074","file5":"1396798077","file3":"1396798072"},"map_files_photo_id_array":[{"photo_id":"1396798077","filename":"file5"},{"photo_id":"1396798071","filename":"file2"},{"photo_id":"1396798074","filename":"file4"},{"photo_id":"1396798070","filename":"file1"},{"photo_id":"1396798069","filename":"file0"},{"photo_id":"1396798072","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396798077":["hashtag1","hashtag2"]},{"1396798071":["hashtag1","hashtag2"]},{"1396798074":["hashtag1","hashtag2"]},{"1396798070":["hashtag1","hashtag2"]},{"1396798072":["hashtag1","hashtag2"]},{"1396798069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396798077, 1396798071, 1396798074, 1396798070, 1396798072, 1396798069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33861422538757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:05:42.456416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_09_3623.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_12_2529.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_15_3652.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_18_2628.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_21_2705.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_24_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_09_3623.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_12_2529.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_15_3652.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_18_2628.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_21_2705.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_24_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396798095","1396798092","1396798089","1396798094","1396798093","1396798084"],"photo_ids_order":["1396798084","1396798089","1396798092","1396798093","1396798094","1396798095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e23bb5710624d9d78a7ee1dbed18b372.jpg","text":"TemporaryFile(/tmp/multipartBody5719303540625273323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378403503,"filename":"image_31102025_08_23_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/11/29/bf65c624bfd2901916fb3befb1c25dc5.jpg","text":"TemporaryFile(/tmp/multipartBody3785845715194456580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378403503,"filename":"image_31102025_08_23_15_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba0c744f4ab576a4bc73979d480f30e8.jpg","text":"TemporaryFile(/tmp/multipartBody2656097417450650517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378403503,"filename":"image_31102025_08_23_12_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/013c379c218414a1ffbdf43896a6ec11.jpg","text":"TemporaryFile(/tmp/multipartBody8386953930729576497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378403503,"filename":"image_31102025_08_23_21_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92ebd182a0385075c5c35fbe000af064.jpg","text":"TemporaryFile(/tmp/multipartBody2611833018193719758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378403503,"filename":"image_31102025_08_23_18_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ef9621b2f9a7b8603bdf15b70aee664.jpg","text":"TemporaryFile(/tmp/multipartBody1075792119879091759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378403503,"filename":"image_31102025_08_23_09_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396798092","file1":"1396798089","file0":"1396798084","file4":"1396798094","file5":"1396798095","file3":"1396798093"},"map_files_photo_id_array":[{"photo_id":"1396798095","filename":"file5"},{"photo_id":"1396798092","filename":"file2"},{"photo_id":"1396798094","filename":"file4"},{"photo_id":"1396798089","filename":"file1"},{"photo_id":"1396798084","filename":"file0"},{"photo_id":"1396798093","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396798095":["hashtag1","hashtag2"]},{"1396798092":["hashtag1","hashtag2"]},{"1396798089":["hashtag1","hashtag2"]},{"1396798094":["hashtag1","hashtag2"]},{"1396798093":["hashtag1","hashtag2"]},{"1396798084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396798095, 1396798092, 1396798089, 1396798094, 1396798093, 1396798084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92316484451294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:06:22.623938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/04/image_29112025_02_04_15_10709.jpg', '/home/pi/Desktop/images/29112025/02/04/image_29112025_02_04_24_9909.jpg', '/home/pi/Desktop/images/29112025/02/04/image_29112025_02_04_34_9695.jpg', '/home/pi/Desktop/images/29112025/02/04/image_29112025_02_04_44_9766.jpg', '/home/pi/Desktop/images/29112025/02/04/image_29112025_02_05_04_9677.jpg', '/home/pi/Desktop/images/29112025/02/05/image_29112025_02_05_14_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/04/image_29112025_02_04_15_10709.jpg
/home/pi/Desktop/images/29112025/02/04/image_29112025_02_04_24_9909.jpg
/home/pi/Desktop/images/29112025/02/04/image_29112025_02_04_34_9695.jpg
/home/pi/Desktop/images/29112025/02/04/image_29112025_02_04_44_9766.jpg
/home/pi/Desktop/images/29112025/02/04/image_29112025_02_05_04_9677.jpg
/home/pi/Desktop/images/29112025/02/05/image_29112025_02_05_14_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396798321","1396798158","1396798200","1396798122","1396798283","1396798240"],"photo_ids_order":["1396798122","1396798158","1396798200","1396798240","1396798283","1396798321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6571cbb3d4715e31563ff0ab60266a07.jpg","text":"TemporaryFile(/tmp/multipartBody2153010881235051312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378443376,"filename":"image_29112025_02_05_14_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13c3a071e2007ecfc9d5c1a302d5e45b.jpg","text":"TemporaryFile(/tmp/multipartBody8321104762627260927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378443376,"filename":"image_29112025_02_04_24_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96f815a75406bf02ea798c28f8db3481.jpg","text":"TemporaryFile(/tmp/multipartBody8840779812339361414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378443376,"filename":"image_29112025_02_04_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/11/29/9541ef2c2cbd45962a2c76c47fa5940b.jpg","text":"TemporaryFile(/tmp/multipartBody876733139518635327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378443376,"filename":"image_29112025_02_04_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/966af46db40f7be3bbb87ad6b23cfffb.jpg","text":"TemporaryFile(/tmp/multipartBody1684683710338291151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378443376,"filename":"image_29112025_02_05_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/11/29/007cd73dfc3f27480fe7ce9ee2d5fb38.jpg","text":"TemporaryFile(/tmp/multipartBody7654420928543137566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378443376,"filename":"image_29112025_02_04_44_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396798200","file1":"1396798158","file0":"1396798122","file4":"1396798283","file5":"1396798321","file3":"1396798240"},"map_files_photo_id_array":[{"photo_id":"1396798321","filename":"file5"},{"photo_id":"1396798200","filename":"file2"},{"photo_id":"1396798283","filename":"file4"},{"photo_id":"1396798158","filename":"file1"},{"photo_id":"1396798122","filename":"file0"},{"photo_id":"1396798240","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396798321":["hashtag1","hashtag2"]},{"1396798158":["hashtag1","hashtag2"]},{"1396798200":["hashtag1","hashtag2"]},{"1396798122":["hashtag1","hashtag2"]},{"1396798283":["hashtag1","hashtag2"]},{"1396798240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396798321, 1396798158, 1396798200, 1396798122, 1396798283, 1396798240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57493233680725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:07:03.426705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/05/image_29112025_02_05_25_10556.jpg', '/home/pi/Desktop/images/29112025/02/05/image_29112025_02_05_34_9600.jpg', '/home/pi/Desktop/images/29112025/02/05/image_29112025_02_05_44_9598.jpg', '/home/pi/Desktop/images/29112025/02/05/image_29112025_02_05_55_10821.jpg', '/home/pi/Desktop/images/29112025/02/06/image_29112025_02_06_14_9885.jpg', '/home/pi/Desktop/images/29112025/02/06/image_29112025_02_06_44_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/05/image_29112025_02_05_25_10556.jpg
/home/pi/Desktop/images/29112025/02/05/image_29112025_02_05_34_9600.jpg
/home/pi/Desktop/images/29112025/02/05/image_29112025_02_05_44_9598.jpg
/home/pi/Desktop/images/29112025/02/05/image_29112025_02_05_55_10821.jpg
/home/pi/Desktop/images/29112025/02/06/image_29112025_02_06_14_9885.jpg
/home/pi/Desktop/images/29112025/02/06/image_29112025_02_06_44_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":["1396798600","1396798487","1396798451","1396798562","1396798523","1396798639"],"photo_ids_order":["1396798451","1396798487","1396798523","1396798562","1396798600","1396798639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9a9ce391b167784d5539994191723c6.jpg","text":"TemporaryFile(/tmp/multipartBody6520582591419885792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378484296,"filename":"image_29112025_02_06_14_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5260d8120064e29459959b6a8062636f.jpg","text":"TemporaryFile(/tmp/multipartBody8906154727248329002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378484296,"filename":"image_29112025_02_05_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/11/29/ecf89b7e5336803410f17b31354eff59.jpg","text":"TemporaryFile(/tmp/multipartBody1967775550886202683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378484296,"filename":"image_29112025_02_05_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/11/29/e4ad328879a09634a168487d79737357.jpg","text":"TemporaryFile(/tmp/multipartBody3312284378738785867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378484296,"filename":"image_29112025_02_05_55_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1b2874b37eafd56677a66d246a854d3.jpg","text":"TemporaryFile(/tmp/multipartBody5191996191303637885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378484296,"filename":"image_29112025_02_05_44_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8fd40091dd5362016190d8fd5144e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5161455205359894554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378484296,"filename":"image_29112025_02_06_44_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396798523","file1":"1396798487","file0":"1396798451","file4":"1396798600","file5":"1396798639","file3":"1396798562"},"map_files_photo_id_array":[{"photo_id":"1396798639","filename":"file5"},{"photo_id":"1396798523","filename":"file2"},{"photo_id":"1396798600","filename":"file4"},{"photo_id":"1396798487","filename":"file1"},{"photo_id":"1396798451","filename":"file0"},{"photo_id":"1396798562","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396798600":["hashtag1","hashtag2"]},{"1396798487":["hashtag1","hashtag2"]},{"1396798451":["hashtag1","hashtag2"]},{"1396798562":["hashtag1","hashtag2"]},{"1396798523":["hashtag1","hashtag2"]},{"1396798639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396798600, 1396798487, 1396798451, 1396798562, 1396798523, 1396798639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.380120038986206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:07:42.792793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_27_2662.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_32_2604.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_36_3768.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_39_2618.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_42_2784.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_45_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/08/23/image_31102025_08_23_27_2662.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_32_2604.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_36_3768.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_39_2618.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_42_2784.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_45_3724.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9507842063903809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:08:02.410392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/06/image_29112025_02_06_54_9785.jpg', '/home/pi/Desktop/images/29112025/02/06/image_29112025_02_07_04_9775.jpg', '/home/pi/Desktop/images/29112025/02/07/image_29112025_02_07_24_9760.jpg', '/home/pi/Desktop/images/29112025/02/07/image_29112025_02_07_45_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/06/image_29112025_02_06_54_9785.jpg
/home/pi/Desktop/images/29112025/02/06/image_29112025_02_07_04_9775.jpg
/home/pi/Desktop/images/29112025/02/07/image_29112025_02_07_24_9760.jpg
/home/pi/Desktop/images/29112025/02/07/image_29112025_02_07_45_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396798794","1396798796","1396798792","1396798795"],"photo_ids_order":["1396798792","1396798794","1396798795","1396798796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/039f32a3255a93c35297586d8fab7537.jpg","text":"TemporaryFile(/tmp/multipartBody6274022512491560492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378543106,"filename":"image_29112025_02_07_04_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62c1c30fa66794907e7b0c7e5325a9d4.jpg","text":"TemporaryFile(/tmp/multipartBody8107180013885990147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378543106,"filename":"image_29112025_02_07_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad6a4cb069c9cd246f091ec60617cbe0.jpg","text":"TemporaryFile(/tmp/multipartBody6680588979231864746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378543106,"filename":"image_29112025_02_06_54_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34709a8763c50c5ad1c643bdadc550c7.jpg","text":"TemporaryFile(/tmp/multipartBody7717332244043195599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378543106,"filename":"image_29112025_02_07_24_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396798795","file1":"1396798794","file0":"1396798792","file3":"1396798796"},"map_files_photo_id_array":[{"photo_id":"1396798795","filename":"file2"},{"photo_id":"1396798794","filename":"file1"},{"photo_id":"1396798792","filename":"file0"},{"photo_id":"1396798796","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396798794":["hashtag1","hashtag2"]},{"1396798796":["hashtag1","hashtag2"]},{"1396798792":["hashtag1","hashtag2"]},{"1396798795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396798794, 1396798796, 1396798792, 1396798795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.302106380462646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:08:31.955669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_37_2629.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_41_3703.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_44_2775.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_46_2559.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_50_3608.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_53_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_37_2629.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_41_3703.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_44_2775.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_46_2559.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_50_3608.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_53_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":["1396799028","1396798959","1396798887","1396799022","1396798923","1396799005"],"photo_ids_order":["1396798887","1396798923","1396798959","1396799005","1396799022","1396799028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f32b51513e851176f7c1b85770a9c2cc.jpg","text":"TemporaryFile(/tmp/multipartBody8451746355524426491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378574198,"filename":"image_25112025_17_25_53_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42d953c3334fb6386fdd350f6a8a11cc.jpg","text":"TemporaryFile(/tmp/multipartBody3736067574628619025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378574198,"filename":"image_25112025_17_25_44_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf97f82722d55d00a9f73fa4c5997a59.jpg","text":"TemporaryFile(/tmp/multipartBody2398998559639175741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378574198,"filename":"image_25112025_17_25_37_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb9b9234066d16fba55c1498c82da415.jpg","text":"TemporaryFile(/tmp/multipartBody1329479975629122381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378574198,"filename":"image_25112025_17_25_50_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b7b655599b85bcf3e914c8353deb29f.jpg","text":"TemporaryFile(/tmp/multipartBody8078068958708725661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378574198,"filename":"image_25112025_17_25_41_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdc8b5196570d70c2c36439165c06b4d.jpg","text":"TemporaryFile(/tmp/multipartBody5313899825031003486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378574198,"filename":"image_25112025_17_25_46_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396798959","file1":"1396798923","file0":"1396798887","file4":"1396799022","file5":"1396799028","file3":"1396799005"},"map_files_photo_id_array":[{"photo_id":"1396799028","filename":"file5"},{"photo_id":"1396798959","filename":"file2"},{"photo_id":"1396799022","filename":"file4"},{"photo_id":"1396798923","filename":"file1"},{"photo_id":"1396798887","filename":"file0"},{"photo_id":"1396799005","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396799028":["hashtag1","hashtag2"]},{"1396798959":["hashtag1","hashtag2"]},{"1396798887":["hashtag1","hashtag2"]},{"1396799022":["hashtag1","hashtag2"]},{"1396798923":["hashtag1","hashtag2"]},{"1396799005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396799028, 1396798959, 1396798887, 1396799022, 1396798923, 1396799005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72791051864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:09:12.160439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_56_3555.jpg', '/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_59_2567.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_02_2581.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_05_3606.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_08_2606.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_11_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_56_3555.jpg
/home/pi/Desktop/images/25112025/17/25/image_25112025_17_25_59_2567.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_02_2581.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_05_3606.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_08_2606.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_11_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396799130","1396799124","1396799127","1396799100","1396799171","1396799088"],"photo_ids_order":["1396799088","1396799100","1396799124","1396799127","1396799130","1396799171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55f68e7ed656f138104a06b725cabdad.jpg","text":"TemporaryFile(/tmp/multipartBody8805280723920027025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378614290,"filename":"image_25112025_17_26_08_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0aaf2374a50f3246012e2565bd95a1e.jpg","text":"TemporaryFile(/tmp/multipartBody7339789521878079003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378614290,"filename":"image_25112025_17_26_02_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e79aa60bcc8dbe5799789c4047315a5c.jpg","text":"TemporaryFile(/tmp/multipartBody133946891304011563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378614290,"filename":"image_25112025_17_26_05_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b13ce90b01c83cb1735fbfce32fc7a50.jpg","text":"TemporaryFile(/tmp/multipartBody9147315911001984865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378614290,"filename":"image_25112025_17_25_59_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ff58b5390f1a9ca93fdb2bc85c05cdc.jpg","text":"TemporaryFile(/tmp/multipartBody9090385193452902506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378614290,"filename":"image_25112025_17_26_11_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9195279f861d8b2f2bc4a4663c2f5a85.jpg","text":"TemporaryFile(/tmp/multipartBody2814224934201267567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378614290,"filename":"image_25112025_17_25_56_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396799124","file1":"1396799100","file0":"1396799088","file4":"1396799130","file5":"1396799171","file3":"1396799127"},"map_files_photo_id_array":[{"photo_id":"1396799171","filename":"file5"},{"photo_id":"1396799124","filename":"file2"},{"photo_id":"1396799130","filename":"file4"},{"photo_id":"1396799100","filename":"file1"},{"photo_id":"1396799088","filename":"file0"},{"photo_id":"1396799127","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396799130":["hashtag1","hashtag2"]},{"1396799124":["hashtag1","hashtag2"]},{"1396799127":["hashtag1","hashtag2"]},{"1396799100":["hashtag1","hashtag2"]},{"1396799171":["hashtag1","hashtag2"]},{"1396799088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396799130, 1396799124, 1396799127, 1396799100, 1396799171, 1396799088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.498130083084106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:10:02.740543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/07/image_29112025_02_07_54_9658.jpg', '/home/pi/Desktop/images/29112025/02/07/image_29112025_02_08_04_9671.jpg', '/home/pi/Desktop/images/29112025/02/08/image_29112025_02_08_25_9893.jpg', '/home/pi/Desktop/images/29112025/02/08/image_29112025_02_08_44_9531.jpg', '/home/pi/Desktop/images/29112025/02/08/image_29112025_02_08_55_10720.jpg', '/home/pi/Desktop/images/29112025/02/08/image_29112025_02_09_04_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/07/image_29112025_02_07_54_9658.jpg
/home/pi/Desktop/images/29112025/02/07/image_29112025_02_08_04_9671.jpg
/home/pi/Desktop/images/29112025/02/08/image_29112025_02_08_25_9893.jpg
/home/pi/Desktop/images/29112025/02/08/image_29112025_02_08_44_9531.jpg
/home/pi/Desktop/images/29112025/02/08/image_29112025_02_08_55_10720.jpg
/home/pi/Desktop/images/29112025/02/08/image_29112025_02_09_04_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396799571","1396799418","1396799486","1396799531","1396799453","1396799383"],"photo_ids_order":["1396799383","1396799418","1396799453","1396799486","1396799531","1396799571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/beb95766e33fc270e59c36d9783aa429.jpg","text":"TemporaryFile(/tmp/multipartBody2598106362633887543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378663528,"filename":"image_29112025_02_09_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97c8e449ee9988b1440a01d3ee066b16.jpg","text":"TemporaryFile(/tmp/multipartBody5314304826384321038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378663528,"filename":"image_29112025_02_08_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/11/29/81155683d888919d757c34527f77f4b2.jpg","text":"TemporaryFile(/tmp/multipartBody6215137736051505567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378663528,"filename":"image_29112025_02_08_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/11/29/037f7d66ae92c40033d1a2047841306d.jpg","text":"TemporaryFile(/tmp/multipartBody2658613067615800968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378663528,"filename":"image_29112025_02_08_55_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5927c50e15dded0a8f39786d48ca8633.jpg","text":"TemporaryFile(/tmp/multipartBody8610228161234263211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378663528,"filename":"image_29112025_02_08_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/11/29/62d7711d8a4938897714b44b24595657.jpg","text":"TemporaryFile(/tmp/multipartBody5025886345913781861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378663528,"filename":"image_29112025_02_07_54_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396799453","file1":"1396799418","file0":"1396799383","file4":"1396799531","file5":"1396799571","file3":"1396799486"},"map_files_photo_id_array":[{"photo_id":"1396799571","filename":"file5"},{"photo_id":"1396799453","filename":"file2"},{"photo_id":"1396799531","filename":"file4"},{"photo_id":"1396799418","filename":"file1"},{"photo_id":"1396799383","filename":"file0"},{"photo_id":"1396799486","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396799571":["hashtag1","hashtag2"]},{"1396799418":["hashtag1","hashtag2"]},{"1396799486":["hashtag1","hashtag2"]},{"1396799531":["hashtag1","hashtag2"]},{"1396799453":["hashtag1","hashtag2"]},{"1396799383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396799571, 1396799418, 1396799486, 1396799531, 1396799453, 1396799383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07032322883606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:10:42.358828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_27_2662.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_32_2604.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_36_3768.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_39_2618.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_42_2784.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_45_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/08/23/image_31102025_08_23_27_2662.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_32_2604.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_36_3768.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_39_2618.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_42_2784.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_45_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":["1396799784","1396799712","1396799897","1396799858","1396799822","1396799747"],"photo_ids_order":["1396799712","1396799747","1396799784","1396799822","1396799858","1396799897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84c00d734b94183161e4fb68027bd9c6.jpg","text":"TemporaryFile(/tmp/multipartBody5087749133452536922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378703294,"filename":"image_31102025_08_23_36_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b93417a0ad85f4c5ebd38b0e14493169.jpg","text":"TemporaryFile(/tmp/multipartBody1145381569258904789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378703294,"filename":"image_31102025_08_23_27_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58a75b13e74412be61b0c30f791087a3.jpg","text":"TemporaryFile(/tmp/multipartBody4581413363389963451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378703294,"filename":"image_31102025_08_23_45_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2914d6f9692e5ea3a372f00f9f9d735.jpg","text":"TemporaryFile(/tmp/multipartBody4671885606298909927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378703294,"filename":"image_31102025_08_23_42_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a0234d182428bc42c4361ddcc6ec70c.jpg","text":"TemporaryFile(/tmp/multipartBody813330879907159341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378703294,"filename":"image_31102025_08_23_39_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/945f5010615c491dcef0319c479cd711.jpg","text":"TemporaryFile(/tmp/multipartBody4324612577786074044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378703294,"filename":"image_31102025_08_23_32_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396799784","file1":"1396799747","file0":"1396799712","file4":"1396799858","file5":"1396799897","file3":"1396799822"},"map_files_photo_id_array":[{"photo_id":"1396799897","filename":"file5"},{"photo_id":"1396799784","filename":"file2"},{"photo_id":"1396799858","filename":"file4"},{"photo_id":"1396799747","filename":"file1"},{"photo_id":"1396799712","filename":"file0"},{"photo_id":"1396799822","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396799784":["hashtag1","hashtag2"]},{"1396799712":["hashtag1","hashtag2"]},{"1396799897":["hashtag1","hashtag2"]},{"1396799858":["hashtag1","hashtag2"]},{"1396799822":["hashtag1","hashtag2"]},{"1396799747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396799784, 1396799712, 1396799897, 1396799858, 1396799822, 1396799747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56355428695679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:11:22.509393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/09/image_29112025_02_09_25_10704.jpg', '/home/pi/Desktop/images/29112025/02/09/image_29112025_02_09_34_9726.jpg', '/home/pi/Desktop/images/29112025/02/09/image_29112025_02_09_44_9751.jpg', '/home/pi/Desktop/images/29112025/02/09/image_29112025_02_09_54_9751.jpg', '/home/pi/Desktop/images/29112025/02/10/image_29112025_02_10_14_9744.jpg', '/home/pi/Desktop/images/29112025/02/10/image_29112025_02_10_24_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/09/image_29112025_02_09_25_10704.jpg
/home/pi/Desktop/images/29112025/02/09/image_29112025_02_09_34_9726.jpg
/home/pi/Desktop/images/29112025/02/09/image_29112025_02_09_44_9751.jpg
/home/pi/Desktop/images/29112025/02/09/image_29112025_02_09_54_9751.jpg
/home/pi/Desktop/images/29112025/02/10/image_29112025_02_10_14_9744.jpg
/home/pi/Desktop/images/29112025/02/10/image_29112025_02_10_24_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396799955","1396799958","1396799952","1396799966","1396799960","1396799962"],"photo_ids_order":["1396799952","1396799955","1396799958","1396799960","1396799962","1396799966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/145f1cc61556940d5e985e17134d380e.jpg","text":"TemporaryFile(/tmp/multipartBody8339709265968979203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378743319,"filename":"image_29112025_02_09_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/11/29/d23b16941f244de84d402560025d4e29.jpg","text":"TemporaryFile(/tmp/multipartBody7774509065790717743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378743319,"filename":"image_29112025_02_09_44_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ae6581ede790c70df525cce1deca7d9.jpg","text":"TemporaryFile(/tmp/multipartBody6278282880028911395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378743319,"filename":"image_29112025_02_09_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a7606592493e3a66417174c639c8bf7.jpg","text":"TemporaryFile(/tmp/multipartBody3173138754778785942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378743319,"filename":"image_29112025_02_10_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73b882ba082463491c402db69c9201c8.jpg","text":"TemporaryFile(/tmp/multipartBody4636821328920667703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378743319,"filename":"image_29112025_02_09_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f888e7d78a9c49eb742d2e5b8adfa89.jpg","text":"TemporaryFile(/tmp/multipartBody121237261027702023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378743319,"filename":"image_29112025_02_10_14_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396799958","file1":"1396799955","file0":"1396799952","file4":"1396799962","file5":"1396799966","file3":"1396799960"},"map_files_photo_id_array":[{"photo_id":"1396799966","filename":"file5"},{"photo_id":"1396799958","filename":"file2"},{"photo_id":"1396799962","filename":"file4"},{"photo_id":"1396799955","filename":"file1"},{"photo_id":"1396799952","filename":"file0"},{"photo_id":"1396799960","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396799955":["hashtag1","hashtag2"]},{"1396799958":["hashtag1","hashtag2"]},{"1396799952":["hashtag1","hashtag2"]},{"1396799966":["hashtag1","hashtag2"]},{"1396799960":["hashtag1","hashtag2"]},{"1396799962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396799955, 1396799958, 1396799952, 1396799966, 1396799960, 1396799962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.244452476501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:12:03.048445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/10/image_29112025_02_10_35_10638.jpg', '/home/pi/Desktop/images/29112025/02/10/image_29112025_02_10_44_9610.jpg', '/home/pi/Desktop/images/29112025/02/10/image_29112025_02_10_54_9600.jpg', '/home/pi/Desktop/images/29112025/02/10/image_29112025_02_11_05_10728.jpg', '/home/pi/Desktop/images/29112025/02/11/image_29112025_02_11_14_9614.jpg', '/home/pi/Desktop/images/29112025/02/11/image_29112025_02_11_24_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/10/image_29112025_02_10_35_10638.jpg
/home/pi/Desktop/images/29112025/02/10/image_29112025_02_10_44_9610.jpg
/home/pi/Desktop/images/29112025/02/10/image_29112025_02_10_54_9600.jpg
/home/pi/Desktop/images/29112025/02/10/image_29112025_02_11_05_10728.jpg
/home/pi/Desktop/images/29112025/02/11/image_29112025_02_11_14_9614.jpg
/home/pi/Desktop/images/29112025/02/11/image_29112025_02_11_24_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800032","1396799996","1396800109","1396799968","1396800069","1396799967"],"photo_ids_order":["1396799967","1396799968","1396799996","1396800032","1396800069","1396800109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecd34eb29c5d2ce365feeb7a18ed3bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6322341966673700737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378783840,"filename":"image_29112025_02_11_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/11/29/b899d140f8deb1abca2fd9eacd9c8ad9.jpg","text":"TemporaryFile(/tmp/multipartBody185907146404233915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378783840,"filename":"image_29112025_02_10_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee23addde8240713689212aa289c0ba5.jpg","text":"TemporaryFile(/tmp/multipartBody6651785477015563963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378783840,"filename":"image_29112025_02_11_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7efa014012343866aef29d2c9f60a129.jpg","text":"TemporaryFile(/tmp/multipartBody5745465954073848732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378783840,"filename":"image_29112025_02_10_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/11/29/b9afab76b6af077e11be55b7aa179362.jpg","text":"TemporaryFile(/tmp/multipartBody82236435347643346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378783840,"filename":"image_29112025_02_11_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/11/29/5d5f565ee4288c78ef0108294af78592.jpg","text":"TemporaryFile(/tmp/multipartBody7805548565238012491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378783840,"filename":"image_29112025_02_10_35_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396799996","file1":"1396799968","file0":"1396799967","file4":"1396800069","file5":"1396800109","file3":"1396800032"},"map_files_photo_id_array":[{"photo_id":"1396800109","filename":"file5"},{"photo_id":"1396799996","filename":"file2"},{"photo_id":"1396800069","filename":"file4"},{"photo_id":"1396799968","filename":"file1"},{"photo_id":"1396799967","filename":"file0"},{"photo_id":"1396800032","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800032":["hashtag1","hashtag2"]},{"1396799996":["hashtag1","hashtag2"]},{"1396800109":["hashtag1","hashtag2"]},{"1396799968":["hashtag1","hashtag2"]},{"1396800069":["hashtag1","hashtag2"]},{"1396799967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800032, 1396799996, 1396800109, 1396799968, 1396800069, 1396799967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58493113517761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:12:42.627384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_48_2633.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_51_2643.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_54_3745.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_57_2597.jpg', '/home/pi/Desktop/images/31102025/08/23/image_31102025_08_24_00_2768.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_02_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/08/23/image_31102025_08_23_48_2633.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_51_2643.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_54_3745.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_23_57_2597.jpg
/home/pi/Desktop/images/31102025/08/23/image_31102025_08_24_00_2768.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_02_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":["1396800275","1396800335","1396800305","1396800274","1396800253","1396800276"],"photo_ids_order":["1396800253","1396800274","1396800275","1396800276","1396800305","1396800335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f5a5b822725b81757fc486a353831a8.jpg","text":"TemporaryFile(/tmp/multipartBody1727581898017997714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378823689,"filename":"image_31102025_08_23_54_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/900dfcacd3bf2f19631c7013232b69b9.jpg","text":"TemporaryFile(/tmp/multipartBody6088359347467745227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378823689,"filename":"image_31102025_08_24_02_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f148678213d6bc70ecd4bb1dde9fcda8.jpg","text":"TemporaryFile(/tmp/multipartBody4856174855477414311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378823689,"filename":"image_31102025_08_24_00_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1411193b6c91ba3905ed3e8a276bac0e.jpg","text":"TemporaryFile(/tmp/multipartBody3259173651370677275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378823689,"filename":"image_31102025_08_23_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/11/29/2168dcf8a28a9bfcffd51a42933b2db7.jpg","text":"TemporaryFile(/tmp/multipartBody9149998542879932122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378823689,"filename":"image_31102025_08_23_48_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99eebdb27f58008a7c20a28b95dbccd4.jpg","text":"TemporaryFile(/tmp/multipartBody3231553329206933000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378823689,"filename":"image_31102025_08_23_57_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800275","file1":"1396800274","file0":"1396800253","file4":"1396800305","file5":"1396800335","file3":"1396800276"},"map_files_photo_id_array":[{"photo_id":"1396800335","filename":"file5"},{"photo_id":"1396800275","filename":"file2"},{"photo_id":"1396800305","filename":"file4"},{"photo_id":"1396800274","filename":"file1"},{"photo_id":"1396800253","filename":"file0"},{"photo_id":"1396800276","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396800275":["hashtag1","hashtag2"]},{"1396800335":["hashtag1","hashtag2"]},{"1396800305":["hashtag1","hashtag2"]},{"1396800274":["hashtag1","hashtag2"]},{"1396800253":["hashtag1","hashtag2"]},{"1396800276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396800275, 1396800335, 1396800305, 1396800274, 1396800253, 1396800276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16705107688904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:13:22.786850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/11/image_29112025_02_11_35_10813.jpg', '/home/pi/Desktop/images/29112025/02/11/image_29112025_02_11_44_9792.jpg', '/home/pi/Desktop/images/29112025/02/11/image_29112025_02_11_54_9686.jpg', '/home/pi/Desktop/images/29112025/02/12/image_29112025_02_12_15_10747.jpg', '/home/pi/Desktop/images/29112025/02/12/image_29112025_02_12_24_9698.jpg', '/home/pi/Desktop/images/29112025/02/12/image_29112025_02_12_34_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/11/image_29112025_02_11_35_10813.jpg
/home/pi/Desktop/images/29112025/02/11/image_29112025_02_11_44_9792.jpg
/home/pi/Desktop/images/29112025/02/11/image_29112025_02_11_54_9686.jpg
/home/pi/Desktop/images/29112025/02/12/image_29112025_02_12_15_10747.jpg
/home/pi/Desktop/images/29112025/02/12/image_29112025_02_12_24_9698.jpg
/home/pi/Desktop/images/29112025/02/12/image_29112025_02_12_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":["1396800392","1396800395","1396800389","1396800394","1396800397","1396800396"],"photo_ids_order":["1396800389","1396800392","1396800394","1396800395","1396800396","1396800397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02f0b6b5213b9e0f0e4fc4fbef237fa3.jpg","text":"TemporaryFile(/tmp/multipartBody609263011250658718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378863527,"filename":"image_29112025_02_11_44_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d973a37c95f4e4ca200204daf25f560d.jpg","text":"TemporaryFile(/tmp/multipartBody8265626529060811393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378863527,"filename":"image_29112025_02_12_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/11/29/ffe6d8ef8be2f9379d59a2ee909025e3.jpg","text":"TemporaryFile(/tmp/multipartBody5285992278921948070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378863527,"filename":"image_29112025_02_11_35_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aab428209fcc5419c79859c44fcace1c.jpg","text":"TemporaryFile(/tmp/multipartBody3585764115356976041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378863527,"filename":"image_29112025_02_11_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0a394dceb415a7524224034bf2e237d.jpg","text":"TemporaryFile(/tmp/multipartBody925143092564976369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378863527,"filename":"image_29112025_02_12_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/11/29/e046d71beef06bad473c677940985109.jpg","text":"TemporaryFile(/tmp/multipartBody3051460201184964033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378863527,"filename":"image_29112025_02_12_24_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800394","file1":"1396800392","file0":"1396800389","file4":"1396800396","file5":"1396800397","file3":"1396800395"},"map_files_photo_id_array":[{"photo_id":"1396800397","filename":"file5"},{"photo_id":"1396800394","filename":"file2"},{"photo_id":"1396800396","filename":"file4"},{"photo_id":"1396800392","filename":"file1"},{"photo_id":"1396800389","filename":"file0"},{"photo_id":"1396800395","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800392":["hashtag1","hashtag2"]},{"1396800395":["hashtag1","hashtag2"]},{"1396800389":["hashtag1","hashtag2"]},{"1396800394":["hashtag1","hashtag2"]},{"1396800397":["hashtag1","hashtag2"]},{"1396800396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800392, 1396800395, 1396800389, 1396800394, 1396800397, 1396800396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1535108089447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:14:02.756847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/12/image_29112025_02_12_45_10652.jpg', '/home/pi/Desktop/images/29112025/02/12/image_29112025_02_12_54_9789.jpg', '/home/pi/Desktop/images/29112025/02/12/image_29112025_02_13_04_9681.jpg', '/home/pi/Desktop/images/29112025/02/13/image_29112025_02_13_35_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/12/image_29112025_02_12_45_10652.jpg
/home/pi/Desktop/images/29112025/02/12/image_29112025_02_12_54_9789.jpg
/home/pi/Desktop/images/29112025/02/12/image_29112025_02_13_04_9681.jpg
/home/pi/Desktop/images/29112025/02/13/image_29112025_02_13_35_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800401","1396800403","1396800399","1396800398"],"photo_ids_order":["1396800398","1396800399","1396800401","1396800403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da75f5f164646b317ccd70a7ca810782.jpg","text":"TemporaryFile(/tmp/multipartBody6044989914953853242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378903550,"filename":"image_29112025_02_13_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/11/29/23ee7a00322ddf9ca2b0fb8b4dbc29ef.jpg","text":"TemporaryFile(/tmp/multipartBody375487109289889376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378903550,"filename":"image_29112025_02_13_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d60bb3b2512c34bb3604584d2c092ff6.jpg","text":"TemporaryFile(/tmp/multipartBody7236307037136149246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378903550,"filename":"image_29112025_02_12_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/11/29/1eebc51894b92ac32257b78dee8c735b.jpg","text":"TemporaryFile(/tmp/multipartBody3655254119697671840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378903550,"filename":"image_29112025_02_12_45_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800401","file1":"1396800399","file0":"1396800398","file3":"1396800403"},"map_files_photo_id_array":[{"photo_id":"1396800401","filename":"file2"},{"photo_id":"1396800399","filename":"file1"},{"photo_id":"1396800398","filename":"file0"},{"photo_id":"1396800403","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800401":["hashtag1","hashtag2"]},{"1396800403":["hashtag1","hashtag2"]},{"1396800399":["hashtag1","hashtag2"]},{"1396800398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800401, 1396800403, 1396800399, 1396800398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.444283723831177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:14:31.988656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_14_2905.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_17_2832.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_20_2693.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_22_2671.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_26_3698.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_29_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_14_2905.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_17_2832.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_20_2693.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_22_2671.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_26_3698.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_29_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":["1396800422","1396800413","1396800421","1396800415","1396800423","1396800411"],"photo_ids_order":["1396800411","1396800413","1396800415","1396800421","1396800422","1396800423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c94ad4110bce88b230476d9555e86de.jpg","text":"TemporaryFile(/tmp/multipartBody6968324835634839848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378934245,"filename":"image_25112025_17_26_26_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e4b3b11774a0811ae9f8ce52538338b9.jpg","text":"TemporaryFile(/tmp/multipartBody1103063007060413759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378934245,"filename":"image_25112025_17_26_17_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73abd0b32c97cdbfc53225adfbcd56a2.jpg","text":"TemporaryFile(/tmp/multipartBody889047305189748313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378934245,"filename":"image_25112025_17_26_22_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8bff31b00c6f5e74f882a70f17221e7.jpg","text":"TemporaryFile(/tmp/multipartBody6899690024911241666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378934245,"filename":"image_25112025_17_26_20_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68f2648f2a698eaa3c92fa9c13a1db62.jpg","text":"TemporaryFile(/tmp/multipartBody1959168921572226408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378934245,"filename":"image_25112025_17_26_29_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bc441f94859b4eb5e7fa621a181c1c1.jpg","text":"TemporaryFile(/tmp/multipartBody1440601057365206313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378934245,"filename":"image_25112025_17_26_14_2905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800415","file1":"1396800413","file0":"1396800411","file4":"1396800422","file5":"1396800423","file3":"1396800421"},"map_files_photo_id_array":[{"photo_id":"1396800423","filename":"file5"},{"photo_id":"1396800415","filename":"file2"},{"photo_id":"1396800422","filename":"file4"},{"photo_id":"1396800413","filename":"file1"},{"photo_id":"1396800411","filename":"file0"},{"photo_id":"1396800421","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800422":["hashtag1","hashtag2"]},{"1396800413":["hashtag1","hashtag2"]},{"1396800421":["hashtag1","hashtag2"]},{"1396800415":["hashtag1","hashtag2"]},{"1396800423":["hashtag1","hashtag2"]},{"1396800411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800422, 1396800413, 1396800421, 1396800415, 1396800423, 1396800411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93208575248718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:15:12.204444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_31_2748.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_35_3608.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_40_2678.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_44_3710.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_47_2744.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_50_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_31_2748.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_35_3608.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_40_2678.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_44_3710.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_47_2744.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_50_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800431","1396800424","1396800438","1396800426","1396800435","1396800429"],"photo_ids_order":["1396800424","1396800426","1396800429","1396800431","1396800435","1396800438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef7e88ff9af8cd5b7f659c7b4567a3c0.jpg","text":"TemporaryFile(/tmp/multipartBody5555516174462434601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378974295,"filename":"image_25112025_17_26_44_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56a2e366fa1f1a9d5281ea2e78370a65.jpg","text":"TemporaryFile(/tmp/multipartBody1521360593491019808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378974295,"filename":"image_25112025_17_26_31_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e0f6212dff502ecbe6c0f97ad3c48e3.jpg","text":"TemporaryFile(/tmp/multipartBody3229455154911905458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378974295,"filename":"image_25112025_17_26_50_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6b7e7b6d54bc21cfcf0756c089a30ce.jpg","text":"TemporaryFile(/tmp/multipartBody1715131008258260667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378974295,"filename":"image_25112025_17_26_35_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77141d2a329e7f134449305d16e8746b.jpg","text":"TemporaryFile(/tmp/multipartBody4095860224419233010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378974295,"filename":"image_25112025_17_26_47_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dbded0f6016c3fe7e6a51551fea53d55.jpg","text":"TemporaryFile(/tmp/multipartBody1458841108585109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764378974295,"filename":"image_25112025_17_26_40_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800429","file1":"1396800426","file0":"1396800424","file4":"1396800435","file5":"1396800438","file3":"1396800431"},"map_files_photo_id_array":[{"photo_id":"1396800438","filename":"file5"},{"photo_id":"1396800429","filename":"file2"},{"photo_id":"1396800435","filename":"file4"},{"photo_id":"1396800426","filename":"file1"},{"photo_id":"1396800424","filename":"file0"},{"photo_id":"1396800431","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800431":["hashtag1","hashtag2"]},{"1396800424":["hashtag1","hashtag2"]},{"1396800438":["hashtag1","hashtag2"]},{"1396800426":["hashtag1","hashtag2"]},{"1396800435":["hashtag1","hashtag2"]},{"1396800429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800431, 1396800424, 1396800438, 1396800426, 1396800435, 1396800429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.187580823898315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:16:02.873394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/13/image_29112025_02_13_54_9666.jpg', '/home/pi/Desktop/images/29112025/02/14/image_29112025_02_14_35_10575.jpg', '/home/pi/Desktop/images/29112025/02/14/image_29112025_02_14_44_9727.jpg', '/home/pi/Desktop/images/29112025/02/14/image_29112025_02_14_54_9593.jpg', '/home/pi/Desktop/images/29112025/02/14/image_29112025_02_15_05_10643.jpg', '/home/pi/Desktop/images/29112025/02/15/image_29112025_02_15_24_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/13/image_29112025_02_13_54_9666.jpg
/home/pi/Desktop/images/29112025/02/14/image_29112025_02_14_35_10575.jpg
/home/pi/Desktop/images/29112025/02/14/image_29112025_02_14_44_9727.jpg
/home/pi/Desktop/images/29112025/02/14/image_29112025_02_14_54_9593.jpg
/home/pi/Desktop/images/29112025/02/14/image_29112025_02_15_05_10643.jpg
/home/pi/Desktop/images/29112025/02/15/image_29112025_02_15_24_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":["1396800446","1396800443","1396800451","1396800445","1396800448","1396800444"],"photo_ids_order":["1396800443","1396800444","1396800445","1396800446","1396800448","1396800451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd7dd26d74677f2d3c3c9a91300b0a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3554788513609996757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379023650,"filename":"image_29112025_02_14_54_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9956440ba16fcce7a5271929d47cad69.jpg","text":"TemporaryFile(/tmp/multipartBody6198785480781266390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379023650,"filename":"image_29112025_02_13_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/11/29/a7357b404568ba2a57e3b2c4c0108e88.jpg","text":"TemporaryFile(/tmp/multipartBody3568483970587626481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379023650,"filename":"image_29112025_02_15_24_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4f5ecc149e8f8eb04c3f976d23d8abf.jpg","text":"TemporaryFile(/tmp/multipartBody8278874211965102967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379023650,"filename":"image_29112025_02_14_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/11/29/dd94692ec47896cdd5038ca18d3dff95.jpg","text":"TemporaryFile(/tmp/multipartBody7433330369102483237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379023650,"filename":"image_29112025_02_15_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/11/29/5c547b74b341c6872e6e153629ce1049.jpg","text":"TemporaryFile(/tmp/multipartBody1317183201568168480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379023650,"filename":"image_29112025_02_14_35_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800445","file1":"1396800444","file0":"1396800443","file4":"1396800448","file5":"1396800451","file3":"1396800446"},"map_files_photo_id_array":[{"photo_id":"1396800451","filename":"file5"},{"photo_id":"1396800445","filename":"file2"},{"photo_id":"1396800448","filename":"file4"},{"photo_id":"1396800444","filename":"file1"},{"photo_id":"1396800443","filename":"file0"},{"photo_id":"1396800446","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800446":["hashtag1","hashtag2"]},{"1396800443":["hashtag1","hashtag2"]},{"1396800451":["hashtag1","hashtag2"]},{"1396800445":["hashtag1","hashtag2"]},{"1396800448":["hashtag1","hashtag2"]},{"1396800444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800446, 1396800443, 1396800451, 1396800445, 1396800448, 1396800444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.981430530548096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:16:42.411159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_06_3504.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_09_2680.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_11_2843.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_15_3761.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_18_2688.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_21_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/08/24/image_31102025_08_24_06_3504.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_09_2680.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_11_2843.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_15_3761.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_18_2688.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_21_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":["1396800464","1396800458","1396800463","1396800460","1396800462","1396800465"],"photo_ids_order":["1396800458","1396800460","1396800462","1396800463","1396800464","1396800465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac3254e7656215bdfcd5365598e795cd.jpg","text":"TemporaryFile(/tmp/multipartBody5697157190306954689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379063459,"filename":"image_31102025_08_24_18_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e11a42f2025ead207f61a95643f2e235.jpg","text":"TemporaryFile(/tmp/multipartBody1694374478601366427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379063459,"filename":"image_31102025_08_24_06_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30c26fb903b98acf9c6d520308ffc551.jpg","text":"TemporaryFile(/tmp/multipartBody2232454485457186685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379063459,"filename":"image_31102025_08_24_15_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0d6427dc8d0337df065138ce6617c27.jpg","text":"TemporaryFile(/tmp/multipartBody4944012276122824438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379063459,"filename":"image_31102025_08_24_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/11/29/0e9ebe940770ca1513b2b78e5cdc6273.jpg","text":"TemporaryFile(/tmp/multipartBody480135569922497687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379063459,"filename":"image_31102025_08_24_11_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/831b5ff95b12b5cc52c8cb805039ef0c.jpg","text":"TemporaryFile(/tmp/multipartBody3660603456833169078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379063459,"filename":"image_31102025_08_24_21_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800462","file1":"1396800460","file0":"1396800458","file4":"1396800464","file5":"1396800465","file3":"1396800463"},"map_files_photo_id_array":[{"photo_id":"1396800465","filename":"file5"},{"photo_id":"1396800462","filename":"file2"},{"photo_id":"1396800464","filename":"file4"},{"photo_id":"1396800460","filename":"file1"},{"photo_id":"1396800458","filename":"file0"},{"photo_id":"1396800463","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396800464":["hashtag1","hashtag2"]},{"1396800458":["hashtag1","hashtag2"]},{"1396800463":["hashtag1","hashtag2"]},{"1396800460":["hashtag1","hashtag2"]},{"1396800462":["hashtag1","hashtag2"]},{"1396800465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396800464, 1396800458, 1396800463, 1396800460, 1396800462, 1396800465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3271746635437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:17:22.703118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/15/image_29112025_02_15_44_9586.jpg', '/home/pi/Desktop/images/29112025/02/15/image_29112025_02_15_54_9967.jpg', '/home/pi/Desktop/images/29112025/02/15/image_29112025_02_16_05_10601.jpg', '/home/pi/Desktop/images/29112025/02/16/image_29112025_02_16_24_9647.jpg', '/home/pi/Desktop/images/29112025/02/16/image_29112025_02_16_44_9618.jpg', '/home/pi/Desktop/images/29112025/02/16/image_29112025_02_16_54_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/15/image_29112025_02_15_44_9586.jpg
/home/pi/Desktop/images/29112025/02/15/image_29112025_02_15_54_9967.jpg
/home/pi/Desktop/images/29112025/02/15/image_29112025_02_16_05_10601.jpg
/home/pi/Desktop/images/29112025/02/16/image_29112025_02_16_24_9647.jpg
/home/pi/Desktop/images/29112025/02/16/image_29112025_02_16_44_9618.jpg
/home/pi/Desktop/images/29112025/02/16/image_29112025_02_16_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":["1396800479","1396800481","1396800472","1396800469","1396800474","1396800477"],"photo_ids_order":["1396800469","1396800472","1396800474","1396800477","1396800479","1396800481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96ebe3ac680e94fab2551d0b65cc4312.jpg","text":"TemporaryFile(/tmp/multipartBody7323651910353078802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379103444,"filename":"image_29112025_02_16_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4869268f1483b2366b19a30cfbf0a9b.jpg","text":"TemporaryFile(/tmp/multipartBody6121319124795225802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379103444,"filename":"image_29112025_02_16_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/11/29/b447e034742345d40487ceae7550e963.jpg","text":"TemporaryFile(/tmp/multipartBody6167661641303507107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379103444,"filename":"image_29112025_02_15_54_9967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1eb735402d8d08303bc1855b55b5f011.jpg","text":"TemporaryFile(/tmp/multipartBody5102531999115442063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379103444,"filename":"image_29112025_02_15_44_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5afb247eb2ef8d1cccb92aac368b3f08.jpg","text":"TemporaryFile(/tmp/multipartBody4610432840273058588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379103444,"filename":"image_29112025_02_16_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/11/29/9c26d7149e7f7f682df86e540e80bcb5.jpg","text":"TemporaryFile(/tmp/multipartBody2352720084580442125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379103444,"filename":"image_29112025_02_16_24_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800474","file1":"1396800472","file0":"1396800469","file4":"1396800479","file5":"1396800481","file3":"1396800477"},"map_files_photo_id_array":[{"photo_id":"1396800481","filename":"file5"},{"photo_id":"1396800474","filename":"file2"},{"photo_id":"1396800479","filename":"file4"},{"photo_id":"1396800472","filename":"file1"},{"photo_id":"1396800469","filename":"file0"},{"photo_id":"1396800477","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800479":["hashtag1","hashtag2"]},{"1396800481":["hashtag1","hashtag2"]},{"1396800472":["hashtag1","hashtag2"]},{"1396800469":["hashtag1","hashtag2"]},{"1396800474":["hashtag1","hashtag2"]},{"1396800477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800479, 1396800481, 1396800472, 1396800469, 1396800474, 1396800477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52451491355896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:18:03.238805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/16/image_29112025_02_17_05_10686.jpg', '/home/pi/Desktop/images/29112025/02/17/image_29112025_02_17_14_9552.jpg', '/home/pi/Desktop/images/29112025/02/17/image_29112025_02_17_24_9749.jpg', '/home/pi/Desktop/images/29112025/02/17/image_29112025_02_17_44_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/16/image_29112025_02_17_05_10686.jpg
/home/pi/Desktop/images/29112025/02/17/image_29112025_02_17_14_9552.jpg
/home/pi/Desktop/images/29112025/02/17/image_29112025_02_17_24_9749.jpg
/home/pi/Desktop/images/29112025/02/17/image_29112025_02_17_44_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800485","1396800484","1396800483","1396800482"],"photo_ids_order":["1396800482","1396800483","1396800484","1396800485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/963ae463c647cd3596aa5b07756c4bd9.jpg","text":"TemporaryFile(/tmp/multipartBody8161572055828227334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379143923,"filename":"image_29112025_02_17_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48470af9862bfdfa08c0078d5435a90b.jpg","text":"TemporaryFile(/tmp/multipartBody7831690774155473280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379143923,"filename":"image_29112025_02_17_24_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60a2cbc47aa38b954a8f469e9bc72872.jpg","text":"TemporaryFile(/tmp/multipartBody5829172764967317620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379143923,"filename":"image_29112025_02_17_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/11/29/89c33bbc41d68f6e7ab31850432aec96.jpg","text":"TemporaryFile(/tmp/multipartBody2994596557639805041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379143923,"filename":"image_29112025_02_17_05_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800484","file1":"1396800483","file0":"1396800482","file3":"1396800485"},"map_files_photo_id_array":[{"photo_id":"1396800484","filename":"file2"},{"photo_id":"1396800483","filename":"file1"},{"photo_id":"1396800482","filename":"file0"},{"photo_id":"1396800485","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800485":["hashtag1","hashtag2"]},{"1396800484":["hashtag1","hashtag2"]},{"1396800483":["hashtag1","hashtag2"]},{"1396800482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800485, 1396800484, 1396800483, 1396800482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.504170417785645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:18:32.815541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_53_3623.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_56_2506.jpg', '/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_58_2766.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_02_3699.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_05_2521.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_07_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_53_3623.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_56_2506.jpg
/home/pi/Desktop/images/25112025/17/26/image_25112025_17_26_58_2766.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_02_3699.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_05_2521.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_07_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":["1396800493","1396800500","1396800502","1396800495","1396800498","1396800504"],"photo_ids_order":["1396800493","1396800495","1396800498","1396800500","1396800502","1396800504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e508de72b2fd59caf59557c8c488d46.jpg","text":"TemporaryFile(/tmp/multipartBody5258237209698092773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379175066,"filename":"image_25112025_17_26_53_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b27230753804454c19f41dda47a9615.jpg","text":"TemporaryFile(/tmp/multipartBody6779453862948674674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379175066,"filename":"image_25112025_17_27_02_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4745af31e4a4723653801345ea6a262.jpg","text":"TemporaryFile(/tmp/multipartBody7981567163727384852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379175066,"filename":"image_25112025_17_27_05_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fde5a814ed60ab1841555d00504b401.jpg","text":"TemporaryFile(/tmp/multipartBody4394407134266168667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379175066,"filename":"image_25112025_17_26_56_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b7e8de85a1912494da295a62a474ab2.jpg","text":"TemporaryFile(/tmp/multipartBody733208172490887325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379175066,"filename":"image_25112025_17_26_58_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a347fc110ee4e47c3d6783d6ca2cee0d.jpg","text":"TemporaryFile(/tmp/multipartBody8312894297450658838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379175066,"filename":"image_25112025_17_27_07_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800498","file1":"1396800495","file0":"1396800493","file4":"1396800502","file5":"1396800504","file3":"1396800500"},"map_files_photo_id_array":[{"photo_id":"1396800504","filename":"file5"},{"photo_id":"1396800498","filename":"file2"},{"photo_id":"1396800502","filename":"file4"},{"photo_id":"1396800495","filename":"file1"},{"photo_id":"1396800493","filename":"file0"},{"photo_id":"1396800500","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800493":["hashtag1","hashtag2"]},{"1396800500":["hashtag1","hashtag2"]},{"1396800502":["hashtag1","hashtag2"]},{"1396800495":["hashtag1","hashtag2"]},{"1396800498":["hashtag1","hashtag2"]},{"1396800504":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800493, 1396800500, 1396800502, 1396800495, 1396800498, 1396800504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03214192390442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:19:11.877528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_11_3597.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_14_2613.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_17_3675.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_20_2595.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_22_2605.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_26_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_11_3597.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_14_2613.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_17_3675.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_20_2595.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_22_2605.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_26_3751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800506","1396800511","1396800514","1396800508","1396800517","1396800519"],"photo_ids_order":["1396800506","1396800508","1396800511","1396800514","1396800517","1396800519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d40387473e58b8dbb5c82fe688d2b3d.jpg","text":"TemporaryFile(/tmp/multipartBody1350932561447394155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379213982,"filename":"image_25112025_17_27_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/11/29/36d15a5b359173e0675783dcb881f786.jpg","text":"TemporaryFile(/tmp/multipartBody962801004187571076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379213982,"filename":"image_25112025_17_27_17_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98a73dfbb5341dd7bc926e17b9fc015b.jpg","text":"TemporaryFile(/tmp/multipartBody817084476130871795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379213982,"filename":"image_25112025_17_27_20_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5ec6d75f4d1e95fd10016e0b832048e.jpg","text":"TemporaryFile(/tmp/multipartBody757688385535668219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379213982,"filename":"image_25112025_17_27_14_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cceb5a51d4f84b71c1a7c42ffdc2be1.jpg","text":"TemporaryFile(/tmp/multipartBody4034243099557674736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379213982,"filename":"image_25112025_17_27_22_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6b84315d70431339b2f4816a422d5bf.jpg","text":"TemporaryFile(/tmp/multipartBody6601245115265842903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379213982,"filename":"image_25112025_17_27_26_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800511","file1":"1396800508","file0":"1396800506","file4":"1396800517","file5":"1396800519","file3":"1396800514"},"map_files_photo_id_array":[{"photo_id":"1396800519","filename":"file5"},{"photo_id":"1396800511","filename":"file2"},{"photo_id":"1396800517","filename":"file4"},{"photo_id":"1396800508","filename":"file1"},{"photo_id":"1396800506","filename":"file0"},{"photo_id":"1396800514","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800506":["hashtag1","hashtag2"]},{"1396800511":["hashtag1","hashtag2"]},{"1396800514":["hashtag1","hashtag2"]},{"1396800508":["hashtag1","hashtag2"]},{"1396800517":["hashtag1","hashtag2"]},{"1396800519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800506, 1396800511, 1396800514, 1396800508, 1396800517, 1396800519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.636048555374146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:20:02.561689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/17/image_29112025_02_17_54_9587.jpg', '/home/pi/Desktop/images/29112025/02/18/image_29112025_02_18_14_9746.jpg', '/home/pi/Desktop/images/29112025/02/18/image_29112025_02_18_24_9865.jpg', '/home/pi/Desktop/images/29112025/02/18/image_29112025_02_18_34_9845.jpg', '/home/pi/Desktop/images/29112025/02/18/image_29112025_02_18_45_10687.jpg', '/home/pi/Desktop/images/29112025/02/18/image_29112025_02_18_54_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/17/image_29112025_02_17_54_9587.jpg
/home/pi/Desktop/images/29112025/02/18/image_29112025_02_18_14_9746.jpg
/home/pi/Desktop/images/29112025/02/18/image_29112025_02_18_24_9865.jpg
/home/pi/Desktop/images/29112025/02/18/image_29112025_02_18_34_9845.jpg
/home/pi/Desktop/images/29112025/02/18/image_29112025_02_18_45_10687.jpg
/home/pi/Desktop/images/29112025/02/18/image_29112025_02_18_54_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":["1396800521","1396800520","1396800523","1396800522","1396800525","1396800528"],"photo_ids_order":["1396800520","1396800521","1396800522","1396800523","1396800525","1396800528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22ee4e51762ae1914cdec4cfb8958b33.jpg","text":"TemporaryFile(/tmp/multipartBody3132390402640849728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379263351,"filename":"image_29112025_02_18_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/11/29/c3e9fc1f3785bc026e32a0d5e0cf735b.jpg","text":"TemporaryFile(/tmp/multipartBody6394188216396097387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379263351,"filename":"image_29112025_02_17_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d49c7175f4943bad1653e587d47ffab9.jpg","text":"TemporaryFile(/tmp/multipartBody6455839727252755137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379263351,"filename":"image_29112025_02_18_34_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96fb25065429778f81010e316009affb.jpg","text":"TemporaryFile(/tmp/multipartBody7679545277827582837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379263351,"filename":"image_29112025_02_18_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/11/29/6ef04e1932491dc4767c8f0820688844.jpg","text":"TemporaryFile(/tmp/multipartBody90465532410670692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379263351,"filename":"image_29112025_02_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/11/29/4a76698d8621c4eb6474e0faecba7e63.jpg","text":"TemporaryFile(/tmp/multipartBody3377557994553618588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379263351,"filename":"image_29112025_02_18_54_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800522","file1":"1396800521","file0":"1396800520","file4":"1396800525","file5":"1396800528","file3":"1396800523"},"map_files_photo_id_array":[{"photo_id":"1396800528","filename":"file5"},{"photo_id":"1396800522","filename":"file2"},{"photo_id":"1396800525","filename":"file4"},{"photo_id":"1396800521","filename":"file1"},{"photo_id":"1396800520","filename":"file0"},{"photo_id":"1396800523","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800521":["hashtag1","hashtag2"]},{"1396800520":["hashtag1","hashtag2"]},{"1396800523":["hashtag1","hashtag2"]},{"1396800522":["hashtag1","hashtag2"]},{"1396800525":["hashtag1","hashtag2"]},{"1396800528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800521, 1396800520, 1396800523, 1396800522, 1396800525, 1396800528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9778254032135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:20:42.122105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_23_2760.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_27_3727.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_30_2800.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_35_2708.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_39_3657.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_42_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/08/24/image_31102025_08_24_23_2760.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_27_3727.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_30_2800.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_35_2708.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_39_3657.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_42_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":["1396800572","1396800542","1396800571","1396800541","1396800573","1396800534"],"photo_ids_order":["1396800534","1396800541","1396800542","1396800571","1396800572","1396800573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edcf1ad5431541555ad2992902848333.jpg","text":"TemporaryFile(/tmp/multipartBody9975742742785027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379303176,"filename":"image_31102025_08_24_39_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d9fe21a6bb825b31ef691440818d9c6.jpg","text":"TemporaryFile(/tmp/multipartBody9089381347480160900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379303176,"filename":"image_31102025_08_24_30_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58ed848c808014b26b9463a4b26682a1.jpg","text":"TemporaryFile(/tmp/multipartBody1709873271186351842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379303176,"filename":"image_31102025_08_24_35_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45699afd67ebdaecfef1f7ec16ba9300.jpg","text":"TemporaryFile(/tmp/multipartBody9125652054934415561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379303176,"filename":"image_31102025_08_24_27_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06b60a17ff7e4e410bfe34a39678dbee.jpg","text":"TemporaryFile(/tmp/multipartBody5938505382359151827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379303176,"filename":"image_31102025_08_24_42_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/950a29a70ad5847bd0b137d8cd1e96de.jpg","text":"TemporaryFile(/tmp/multipartBody8858178363401036177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379303176,"filename":"image_31102025_08_24_23_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800542","file1":"1396800541","file0":"1396800534","file4":"1396800572","file5":"1396800573","file3":"1396800571"},"map_files_photo_id_array":[{"photo_id":"1396800573","filename":"file5"},{"photo_id":"1396800542","filename":"file2"},{"photo_id":"1396800572","filename":"file4"},{"photo_id":"1396800541","filename":"file1"},{"photo_id":"1396800534","filename":"file0"},{"photo_id":"1396800571","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396800572":["hashtag1","hashtag2"]},{"1396800542":["hashtag1","hashtag2"]},{"1396800571":["hashtag1","hashtag2"]},{"1396800541":["hashtag1","hashtag2"]},{"1396800573":["hashtag1","hashtag2"]},{"1396800534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396800572, 1396800542, 1396800571, 1396800541, 1396800573, 1396800534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.875144481658936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:21:22.439971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/19/image_29112025_02_19_25_10665.jpg', '/home/pi/Desktop/images/29112025/02/19/image_29112025_02_20_04_9655.jpg', '/home/pi/Desktop/images/29112025/02/20/image_29112025_02_20_25_10643.jpg', '/home/pi/Desktop/images/29112025/02/20/image_29112025_02_20_34_9659.jpg', '/home/pi/Desktop/images/29112025/02/20/image_29112025_02_20_44_9669.jpg', '/home/pi/Desktop/images/29112025/02/20/image_29112025_02_20_55_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/19/image_29112025_02_19_25_10665.jpg
/home/pi/Desktop/images/29112025/02/19/image_29112025_02_20_04_9655.jpg
/home/pi/Desktop/images/29112025/02/20/image_29112025_02_20_25_10643.jpg
/home/pi/Desktop/images/29112025/02/20/image_29112025_02_20_34_9659.jpg
/home/pi/Desktop/images/29112025/02/20/image_29112025_02_20_44_9669.jpg
/home/pi/Desktop/images/29112025/02/20/image_29112025_02_20_55_10628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800590","1396800584","1396800586","1396800579","1396800588","1396800582"],"photo_ids_order":["1396800579","1396800582","1396800584","1396800586","1396800588","1396800590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee841ca0d13ad6af3db5d4698e1799b8.jpg","text":"TemporaryFile(/tmp/multipartBody7916731905471774106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379343185,"filename":"image_29112025_02_20_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13db2124306e21183af4086eb395752d.jpg","text":"TemporaryFile(/tmp/multipartBody4596785497655868358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379343185,"filename":"image_29112025_02_20_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/11/29/7f80400a065d28b688301f085d992430.jpg","text":"TemporaryFile(/tmp/multipartBody3829457852970968575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379343185,"filename":"image_29112025_02_20_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ee70527175316dc9a66defd9b0d4873.jpg","text":"TemporaryFile(/tmp/multipartBody5376328561922382130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379343185,"filename":"image_29112025_02_19_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bda0ed36cfa182bf491e4e91e79cf9d.jpg","text":"TemporaryFile(/tmp/multipartBody5354428396910123134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379343185,"filename":"image_29112025_02_20_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/11/29/341d6b7ac3210589fbfe226b3fa13d59.jpg","text":"TemporaryFile(/tmp/multipartBody1220512272081922259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379343185,"filename":"image_29112025_02_20_04_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800584","file1":"1396800582","file0":"1396800579","file4":"1396800588","file5":"1396800590","file3":"1396800586"},"map_files_photo_id_array":[{"photo_id":"1396800590","filename":"file5"},{"photo_id":"1396800584","filename":"file2"},{"photo_id":"1396800588","filename":"file4"},{"photo_id":"1396800582","filename":"file1"},{"photo_id":"1396800579","filename":"file0"},{"photo_id":"1396800586","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800590":["hashtag1","hashtag2"]},{"1396800584":["hashtag1","hashtag2"]},{"1396800586":["hashtag1","hashtag2"]},{"1396800579":["hashtag1","hashtag2"]},{"1396800588":["hashtag1","hashtag2"]},{"1396800582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800590, 1396800584, 1396800586, 1396800579, 1396800588, 1396800582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.526591539382935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:22:03.054690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_14_9773.jpg', '/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_24_9915.jpg', '/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_35_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_14_9773.jpg
/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_24_9915.jpg
/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_35_10631.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5197081565856934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:22:12.548088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_29_2562.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_31_2650.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_34_2819.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_38_3531.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_40_2563.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_44_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_29_2562.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_31_2650.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_34_2819.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_38_3531.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_40_2563.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_44_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800608","1396800605","1396800598","1396800610","1396800601","1396800596"],"photo_ids_order":["1396800596","1396800598","1396800601","1396800605","1396800608","1396800610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9742ae4e50428eb9755735b986abbbcc.jpg","text":"TemporaryFile(/tmp/multipartBody2557399485849661087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379396901,"filename":"image_25112025_17_27_40_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42bb2de8281c3cee34b5b6815abf6775.jpg","text":"TemporaryFile(/tmp/multipartBody590123994843076218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379396901,"filename":"image_25112025_17_27_38_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3c12281c48b3fef35fe49a424279320.jpg","text":"TemporaryFile(/tmp/multipartBody3991944599709852421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379396901,"filename":"image_25112025_17_27_31_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24cc1f988cb50121ce766054a81a2664.jpg","text":"TemporaryFile(/tmp/multipartBody7791238171783273856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379396901,"filename":"image_25112025_17_27_44_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47a7234f12afbe842fc57fdeae56042e.jpg","text":"TemporaryFile(/tmp/multipartBody2125772887647765467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379396901,"filename":"image_25112025_17_27_34_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9b7ae20ba139daadebec6559ed4d34f.jpg","text":"TemporaryFile(/tmp/multipartBody3674481354070882274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379396901,"filename":"image_25112025_17_27_29_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800601","file1":"1396800598","file0":"1396800596","file4":"1396800608","file5":"1396800610","file3":"1396800605"},"map_files_photo_id_array":[{"photo_id":"1396800610","filename":"file5"},{"photo_id":"1396800601","filename":"file2"},{"photo_id":"1396800608","filename":"file4"},{"photo_id":"1396800598","filename":"file1"},{"photo_id":"1396800596","filename":"file0"},{"photo_id":"1396800605","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800608":["hashtag1","hashtag2"]},{"1396800605":["hashtag1","hashtag2"]},{"1396800598":["hashtag1","hashtag2"]},{"1396800610":["hashtag1","hashtag2"]},{"1396800601":["hashtag1","hashtag2"]},{"1396800596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800608, 1396800605, 1396800598, 1396800610, 1396800601, 1396800596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04309964179993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:23:03.427764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_14_9773.jpg', '/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_24_9915.jpg', '/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_35_10631.jpg', '/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_54_9815.jpg', '/home/pi/Desktop/images/29112025/02/22/image_29112025_02_22_15_10670.jpg', '/home/pi/Desktop/images/29112025/02/22/image_29112025_02_22_34_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_14_9773.jpg
/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_24_9915.jpg
/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_35_10631.jpg
/home/pi/Desktop/images/29112025/02/21/image_29112025_02_21_54_9815.jpg
/home/pi/Desktop/images/29112025/02/22/image_29112025_02_22_15_10670.jpg
/home/pi/Desktop/images/29112025/02/22/image_29112025_02_22_34_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":["1396800620","1396800614","1396800617","1396800611","1396800613","1396800612"],"photo_ids_order":["1396800611","1396800612","1396800613","1396800614","1396800617","1396800620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14900f31c68f08ea816fc70651b891cd.jpg","text":"TemporaryFile(/tmp/multipartBody7468061104111429972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379444227,"filename":"image_29112025_02_22_34_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/679772115d7eed1c81100b806537a40f.jpg","text":"TemporaryFile(/tmp/multipartBody8225280993207542621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379444227,"filename":"image_29112025_02_21_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/11/29/43b81fba3528761a5ea59692de870f11.jpg","text":"TemporaryFile(/tmp/multipartBody2432243920223392943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379444227,"filename":"image_29112025_02_22_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/11/29/ff9080167b5e80fe7641e004b6e97fa9.jpg","text":"TemporaryFile(/tmp/multipartBody6174716354764613696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379444227,"filename":"image_29112025_02_21_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/11/29/7942f57382c0dc70e45cc9b9154f3d98.jpg","text":"TemporaryFile(/tmp/multipartBody3323750216072536358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379444227,"filename":"image_29112025_02_21_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8eccd6cc0dc9753174f7209c5751c119.jpg","text":"TemporaryFile(/tmp/multipartBody6351915921983672295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379444227,"filename":"image_29112025_02_21_24_9915.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800613","file1":"1396800612","file0":"1396800611","file4":"1396800617","file5":"1396800620","file3":"1396800614"},"map_files_photo_id_array":[{"photo_id":"1396800620","filename":"file5"},{"photo_id":"1396800613","filename":"file2"},{"photo_id":"1396800617","filename":"file4"},{"photo_id":"1396800612","filename":"file1"},{"photo_id":"1396800611","filename":"file0"},{"photo_id":"1396800614","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800620":["hashtag1","hashtag2"]},{"1396800614":["hashtag1","hashtag2"]},{"1396800617":["hashtag1","hashtag2"]},{"1396800611":["hashtag1","hashtag2"]},{"1396800613":["hashtag1","hashtag2"]},{"1396800612":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800620, 1396800614, 1396800617, 1396800611, 1396800613, 1396800612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53843307495117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:23:42.719777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_47_2805.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_51_3664.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_54_2815.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_56_2723.jpg', '/home/pi/Desktop/images/31102025/08/24/image_31102025_08_25_00_3664.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_03_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/08/24/image_31102025_08_24_47_2805.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_51_3664.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_54_2815.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_24_56_2723.jpg
/home/pi/Desktop/images/31102025/08/24/image_31102025_08_25_00_3664.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_03_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800635","1396800638","1396800637","1396800628","1396800636","1396800639"],"photo_ids_order":["1396800628","1396800635","1396800636","1396800637","1396800638","1396800639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/769606954fc1dab6c954b125f4284c13.jpg","text":"TemporaryFile(/tmp/multipartBody5269770532277064817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379483820,"filename":"image_31102025_08_24_51_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62c1049cbc60dcc844d3aa4f0426d984.jpg","text":"TemporaryFile(/tmp/multipartBody4107905808623908940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379483820,"filename":"image_31102025_08_25_00_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7f2b848a74548379bf64fc5abcaa872.jpg","text":"TemporaryFile(/tmp/multipartBody3236539233286601743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379483820,"filename":"image_31102025_08_24_56_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a90321bd09baeb59d34ddff3a48d5b5.jpg","text":"TemporaryFile(/tmp/multipartBody4047788690716120031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379483820,"filename":"image_31102025_08_24_47_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7006577db4853fdd4ea2213158b9ea94.jpg","text":"TemporaryFile(/tmp/multipartBody641386503955330226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379483820,"filename":"image_31102025_08_24_54_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb88a47d5532c001b04786d2b7c182e6.jpg","text":"TemporaryFile(/tmp/multipartBody6169692408860650886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379483820,"filename":"image_31102025_08_25_03_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800636","file1":"1396800635","file0":"1396800628","file4":"1396800638","file5":"1396800639","file3":"1396800637"},"map_files_photo_id_array":[{"photo_id":"1396800639","filename":"file5"},{"photo_id":"1396800636","filename":"file2"},{"photo_id":"1396800638","filename":"file4"},{"photo_id":"1396800635","filename":"file1"},{"photo_id":"1396800628","filename":"file0"},{"photo_id":"1396800637","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396800635":["hashtag1","hashtag2"]},{"1396800638":["hashtag1","hashtag2"]},{"1396800637":["hashtag1","hashtag2"]},{"1396800628":["hashtag1","hashtag2"]},{"1396800636":["hashtag1","hashtag2"]},{"1396800639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396800635, 1396800638, 1396800637, 1396800628, 1396800636, 1396800639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33369493484497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:24:21.916208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/22/image_29112025_02_22_44_10556.jpg', '/home/pi/Desktop/images/29112025/02/22/image_29112025_02_22_54_9593.jpg', '/home/pi/Desktop/images/29112025/02/22/image_29112025_02_23_04_9699.jpg', '/home/pi/Desktop/images/29112025/02/23/image_29112025_02_23_14_10642.jpg', '/home/pi/Desktop/images/29112025/02/23/image_29112025_02_23_24_9946.jpg', '/home/pi/Desktop/images/29112025/02/23/image_29112025_02_23_34_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/22/image_29112025_02_22_44_10556.jpg
/home/pi/Desktop/images/29112025/02/22/image_29112025_02_22_54_9593.jpg
/home/pi/Desktop/images/29112025/02/22/image_29112025_02_23_04_9699.jpg
/home/pi/Desktop/images/29112025/02/23/image_29112025_02_23_14_10642.jpg
/home/pi/Desktop/images/29112025/02/23/image_29112025_02_23_24_9946.jpg
/home/pi/Desktop/images/29112025/02/23/image_29112025_02_23_34_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":["1396800647","1396800655","1396800652","1396800654","1396800642","1396800645"],"photo_ids_order":["1396800642","1396800645","1396800647","1396800652","1396800654","1396800655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e84a06c90ca8513583a1990839df4e7d.jpg","text":"TemporaryFile(/tmp/multipartBody9180443655896260479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379522663,"filename":"image_29112025_02_23_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/11/29/1df6faf287ac6fbded04cf9bcfa1ed7a.jpg","text":"TemporaryFile(/tmp/multipartBody9031098733329790778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379522663,"filename":"image_29112025_02_23_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/11/29/63c3a980e09b939e327bc8649bd2892e.jpg","text":"TemporaryFile(/tmp/multipartBody4666940595341580077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379522663,"filename":"image_29112025_02_23_14_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a28d9d64bfe92175948ffc538651a29d.jpg","text":"TemporaryFile(/tmp/multipartBody2150141892528634400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379522663,"filename":"image_29112025_02_23_24_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08ffd46adefa8c8ffdf5cf818ee75d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5732588328815309463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379522663,"filename":"image_29112025_02_22_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/11/29/1794f5ee579ae6e6e6848dd140e57b29.jpg","text":"TemporaryFile(/tmp/multipartBody3616131242435019536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379522663,"filename":"image_29112025_02_22_54_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800647","file1":"1396800645","file0":"1396800642","file4":"1396800654","file5":"1396800655","file3":"1396800652"},"map_files_photo_id_array":[{"photo_id":"1396800655","filename":"file5"},{"photo_id":"1396800647","filename":"file2"},{"photo_id":"1396800654","filename":"file4"},{"photo_id":"1396800645","filename":"file1"},{"photo_id":"1396800642","filename":"file0"},{"photo_id":"1396800652","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800647":["hashtag1","hashtag2"]},{"1396800655":["hashtag1","hashtag2"]},{"1396800652":["hashtag1","hashtag2"]},{"1396800654":["hashtag1","hashtag2"]},{"1396800642":["hashtag1","hashtag2"]},{"1396800645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800647, 1396800655, 1396800652, 1396800654, 1396800642, 1396800645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34811067581177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:25:02.737700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/23/image_29112025_02_23_44_9627.jpg', '/home/pi/Desktop/images/29112025/02/23/image_29112025_02_23_54_10572.jpg', '/home/pi/Desktop/images/29112025/02/23/image_29112025_02_24_04_9714.jpg', '/home/pi/Desktop/images/29112025/02/24/image_29112025_02_24_14_9641.jpg', '/home/pi/Desktop/images/29112025/02/24/image_29112025_02_24_24_10634.jpg', '/home/pi/Desktop/images/29112025/02/24/image_29112025_02_24_34_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/23/image_29112025_02_23_44_9627.jpg
/home/pi/Desktop/images/29112025/02/23/image_29112025_02_23_54_10572.jpg
/home/pi/Desktop/images/29112025/02/23/image_29112025_02_24_04_9714.jpg
/home/pi/Desktop/images/29112025/02/24/image_29112025_02_24_14_9641.jpg
/home/pi/Desktop/images/29112025/02/24/image_29112025_02_24_24_10634.jpg
/home/pi/Desktop/images/29112025/02/24/image_29112025_02_24_34_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":["1396800659","1396800656","1396800661","1396800664","1396800658","1396800657"],"photo_ids_order":["1396800656","1396800657","1396800658","1396800659","1396800661","1396800664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cae9822ba4aff68c01fc31aab3256e96.jpg","text":"TemporaryFile(/tmp/multipartBody7644764300330976888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379563596,"filename":"image_29112025_02_24_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/11/29/543fbe69c3473cceadc0e6424045e307.jpg","text":"TemporaryFile(/tmp/multipartBody2457003161768447663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379563596,"filename":"image_29112025_02_23_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/11/29/e5fccb51c4adfef2471a2da816c63f19.jpg","text":"TemporaryFile(/tmp/multipartBody5642542356016216948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379563596,"filename":"image_29112025_02_24_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0229d024d0266607231d15691b5f707.jpg","text":"TemporaryFile(/tmp/multipartBody8762463381732732597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379563596,"filename":"image_29112025_02_24_34_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba20c2e95a7b34124be8702a63513065.jpg","text":"TemporaryFile(/tmp/multipartBody964060951447719869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379563596,"filename":"image_29112025_02_24_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/11/29/a51f46966a6e06ab9a0b71dc2650d33e.jpg","text":"TemporaryFile(/tmp/multipartBody2580806054288940163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379563596,"filename":"image_29112025_02_23_54_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800658","file1":"1396800657","file0":"1396800656","file4":"1396800661","file5":"1396800664","file3":"1396800659"},"map_files_photo_id_array":[{"photo_id":"1396800664","filename":"file5"},{"photo_id":"1396800658","filename":"file2"},{"photo_id":"1396800661","filename":"file4"},{"photo_id":"1396800657","filename":"file1"},{"photo_id":"1396800656","filename":"file0"},{"photo_id":"1396800659","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800659":["hashtag1","hashtag2"]},{"1396800656":["hashtag1","hashtag2"]},{"1396800661":["hashtag1","hashtag2"]},{"1396800664":["hashtag1","hashtag2"]},{"1396800658":["hashtag1","hashtag2"]},{"1396800657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800659, 1396800656, 1396800661, 1396800664, 1396800658, 1396800657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.595146894454956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:25:42.115231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_05_2709.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_09_3681.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_12_2680.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_15_2679.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_17_2740.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_21_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_05_2709.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_09_3681.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_12_2680.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_15_2679.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_17_2740.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_21_3714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800677","1396800671","1396800674","1396800673","1396800676","1396800675"],"photo_ids_order":["1396800671","1396800673","1396800674","1396800675","1396800676","1396800677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49c37c1d3d598f090417610491d83282.jpg","text":"TemporaryFile(/tmp/multipartBody5278336459658240640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379603208,"filename":"image_31102025_08_25_21_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/268cc747ba5a98e99c20a72514733956.jpg","text":"TemporaryFile(/tmp/multipartBody845459960095851042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379603208,"filename":"image_31102025_08_25_05_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37275989202d8d0c9a587565eb7586b0.jpg","text":"TemporaryFile(/tmp/multipartBody3571224636714731045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379603208,"filename":"image_31102025_08_25_12_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b85e4a17ae3afba7f16b61d20721a13.jpg","text":"TemporaryFile(/tmp/multipartBody8228686687114886219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379603208,"filename":"image_31102025_08_25_09_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ac7b95e19a7c4c9063c51411a79c08b.jpg","text":"TemporaryFile(/tmp/multipartBody7159227954570197657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379603208,"filename":"image_31102025_08_25_17_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a70eb49f1a6b79800de5d91cb4c1470e.jpg","text":"TemporaryFile(/tmp/multipartBody4693338264170197065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379603208,"filename":"image_31102025_08_25_15_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800674","file1":"1396800673","file0":"1396800671","file4":"1396800676","file5":"1396800677","file3":"1396800675"},"map_files_photo_id_array":[{"photo_id":"1396800677","filename":"file5"},{"photo_id":"1396800674","filename":"file2"},{"photo_id":"1396800676","filename":"file4"},{"photo_id":"1396800673","filename":"file1"},{"photo_id":"1396800671","filename":"file0"},{"photo_id":"1396800675","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396800677":["hashtag1","hashtag2"]},{"1396800671":["hashtag1","hashtag2"]},{"1396800674":["hashtag1","hashtag2"]},{"1396800673":["hashtag1","hashtag2"]},{"1396800676":["hashtag1","hashtag2"]},{"1396800675":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396800677, 1396800671, 1396800674, 1396800673, 1396800676, 1396800675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.682066202163696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:26:22.328553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/24/image_29112025_02_24_44_9679.jpg', '/home/pi/Desktop/images/29112025/02/24/image_29112025_02_24_55_10720.jpg', '/home/pi/Desktop/images/29112025/02/24/image_29112025_02_25_04_9734.jpg', '/home/pi/Desktop/images/29112025/02/25/image_29112025_02_25_24_9725.jpg', '/home/pi/Desktop/images/29112025/02/25/image_29112025_02_25_35_10741.jpg', '/home/pi/Desktop/images/29112025/02/25/image_29112025_02_25_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/24/image_29112025_02_24_44_9679.jpg
/home/pi/Desktop/images/29112025/02/24/image_29112025_02_24_55_10720.jpg
/home/pi/Desktop/images/29112025/02/24/image_29112025_02_25_04_9734.jpg
/home/pi/Desktop/images/29112025/02/25/image_29112025_02_25_24_9725.jpg
/home/pi/Desktop/images/29112025/02/25/image_29112025_02_25_35_10741.jpg
/home/pi/Desktop/images/29112025/02/25/image_29112025_02_25_44_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800694","1396800690","1396800684","1396800703","1396800687","1396800680"],"photo_ids_order":["1396800680","1396800684","1396800687","1396800690","1396800694","1396800703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9661624d8bba28735a63e94cd385bb34.jpg","text":"TemporaryFile(/tmp/multipartBody324205431233775472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379643072,"filename":"image_29112025_02_25_35_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9748e5aec1d90c6fb45830c908775448.jpg","text":"TemporaryFile(/tmp/multipartBody3425928616456505846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379643072,"filename":"image_29112025_02_25_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1aa9dd696a9650d2993365d1e37873ba.jpg","text":"TemporaryFile(/tmp/multipartBody2355389308040899551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379643072,"filename":"image_29112025_02_24_55_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/669026dd06443f859d14a5d1600feb44.jpg","text":"TemporaryFile(/tmp/multipartBody8906487390173785938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379643072,"filename":"image_29112025_02_25_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/11/29/5f8421bf2e1dafbe486ebee1079b4799.jpg","text":"TemporaryFile(/tmp/multipartBody6516844402942080884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379643072,"filename":"image_29112025_02_25_04_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7b9ec29697f530a75c56a691ef6e6e5.jpg","text":"TemporaryFile(/tmp/multipartBody2242705344499920049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379643072,"filename":"image_29112025_02_24_44_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800687","file1":"1396800684","file0":"1396800680","file4":"1396800694","file5":"1396800703","file3":"1396800690"},"map_files_photo_id_array":[{"photo_id":"1396800703","filename":"file5"},{"photo_id":"1396800687","filename":"file2"},{"photo_id":"1396800694","filename":"file4"},{"photo_id":"1396800684","filename":"file1"},{"photo_id":"1396800680","filename":"file0"},{"photo_id":"1396800690","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800694":["hashtag1","hashtag2"]},{"1396800690":["hashtag1","hashtag2"]},{"1396800684":["hashtag1","hashtag2"]},{"1396800703":["hashtag1","hashtag2"]},{"1396800687":["hashtag1","hashtag2"]},{"1396800680":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800694, 1396800690, 1396800684, 1396800703, 1396800687, 1396800680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.702319622039795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:27:03.168537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/25/image_29112025_02_25_54_9865.jpg', '/home/pi/Desktop/images/29112025/02/25/image_29112025_02_26_05_10671.jpg', '/home/pi/Desktop/images/29112025/02/26/image_29112025_02_26_14_9688.jpg', '/home/pi/Desktop/images/29112025/02/26/image_29112025_02_26_35_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/25/image_29112025_02_25_54_9865.jpg
/home/pi/Desktop/images/29112025/02/25/image_29112025_02_26_05_10671.jpg
/home/pi/Desktop/images/29112025/02/26/image_29112025_02_26_14_9688.jpg
/home/pi/Desktop/images/29112025/02/26/image_29112025_02_26_35_10616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800708","1396800707","1396800709","1396800711"],"photo_ids_order":["1396800707","1396800708","1396800709","1396800711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be8e5e100ffb19b648a699050ba19e64.jpg","text":"TemporaryFile(/tmp/multipartBody5416941138594855255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379683880,"filename":"image_29112025_02_26_05_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a37453b3c4f353c8413c5cd7f5906868.jpg","text":"TemporaryFile(/tmp/multipartBody2631205039258645419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379683880,"filename":"image_29112025_02_25_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/11/29/998649af30a45ca7ebb04ae2451d8ad4.jpg","text":"TemporaryFile(/tmp/multipartBody4461580311176061147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379683880,"filename":"image_29112025_02_26_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/11/29/d33cdcb6e5375264f5c3165488dc27e0.jpg","text":"TemporaryFile(/tmp/multipartBody5380542020980136641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379683880,"filename":"image_29112025_02_26_35_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800709","file1":"1396800708","file0":"1396800707","file3":"1396800711"},"map_files_photo_id_array":[{"photo_id":"1396800709","filename":"file2"},{"photo_id":"1396800708","filename":"file1"},{"photo_id":"1396800707","filename":"file0"},{"photo_id":"1396800711","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800708":["hashtag1","hashtag2"]},{"1396800707":["hashtag1","hashtag2"]},{"1396800709":["hashtag1","hashtag2"]},{"1396800711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800708, 1396800707, 1396800709, 1396800711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.25340485572815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:27:32.440036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_47_2538.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_50_3575.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_53_2683.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_56_2798.jpg', '/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_58_2894.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_02_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_47_2538.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_50_3575.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_53_2683.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_56_2798.jpg
/home/pi/Desktop/images/25112025/17/27/image_25112025_17_27_58_2894.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_02_3701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800725","1396800716","1396800718","1396800727","1396800721","1396800723"],"photo_ids_order":["1396800716","1396800718","1396800721","1396800723","1396800725","1396800727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e77bc6ef0e09d1be2fb91474ae7275b3.jpg","text":"TemporaryFile(/tmp/multipartBody7839406530566789122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379714637,"filename":"image_25112025_17_27_58_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3eb440fce80de3dd23079d467599cb8b.jpg","text":"TemporaryFile(/tmp/multipartBody4917316716179694987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379714637,"filename":"image_25112025_17_27_47_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ecca87bd72d93797d353348c2942b64.jpg","text":"TemporaryFile(/tmp/multipartBody4370216510021911693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379714637,"filename":"image_25112025_17_27_50_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df2b2a0d99029cfa3bd4b4214c0689ce.jpg","text":"TemporaryFile(/tmp/multipartBody7181714842124909575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379714637,"filename":"image_25112025_17_28_02_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c48c2ede6b6361380de5ffba6ef70399.jpg","text":"TemporaryFile(/tmp/multipartBody8108541587683535662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379714637,"filename":"image_25112025_17_27_53_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a48fae1acb1cc9edfcb58a615744560f.jpg","text":"TemporaryFile(/tmp/multipartBody7139283991002117372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379714637,"filename":"image_25112025_17_27_56_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800721","file1":"1396800718","file0":"1396800716","file4":"1396800725","file5":"1396800727","file3":"1396800723"},"map_files_photo_id_array":[{"photo_id":"1396800727","filename":"file5"},{"photo_id":"1396800721","filename":"file2"},{"photo_id":"1396800725","filename":"file4"},{"photo_id":"1396800718","filename":"file1"},{"photo_id":"1396800716","filename":"file0"},{"photo_id":"1396800723","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800725":["hashtag1","hashtag2"]},{"1396800716":["hashtag1","hashtag2"]},{"1396800718":["hashtag1","hashtag2"]},{"1396800727":["hashtag1","hashtag2"]},{"1396800721":["hashtag1","hashtag2"]},{"1396800723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800725, 1396800716, 1396800718, 1396800727, 1396800721, 1396800723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05591416358948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:28:12.664081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_05_2559.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_07_2617.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_11_3547.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_14_2674.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_16_2855.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_20_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_05_2559.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_07_2617.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_11_3547.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_14_2674.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_16_2855.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_20_3601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800731","1396800734","1396800741","1396800729","1396800744","1396800738"],"photo_ids_order":["1396800729","1396800731","1396800734","1396800738","1396800741","1396800744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11485caa98a9fad33e40bd3b40afc9f9.jpg","text":"TemporaryFile(/tmp/multipartBody8723313115819611394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379754772,"filename":"image_25112025_17_28_07_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d74bdf45e03c6771ab8f0f2e688a816.jpg","text":"TemporaryFile(/tmp/multipartBody2363389816892171102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379754772,"filename":"image_25112025_17_28_11_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d33b69f699844a2d4ef09e32df0cb41a.jpg","text":"TemporaryFile(/tmp/multipartBody5141399947878159526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379754772,"filename":"image_25112025_17_28_16_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/595362494cad818aa06496cf4de84918.jpg","text":"TemporaryFile(/tmp/multipartBody7039050048856820232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379754772,"filename":"image_25112025_17_28_05_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60e71fe9436039b67ec63f6eefd10459.jpg","text":"TemporaryFile(/tmp/multipartBody5556801782518746313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379754772,"filename":"image_25112025_17_28_20_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/66f68547eda3061deafcfa36177229ba.jpg","text":"TemporaryFile(/tmp/multipartBody1981617963583393247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379754772,"filename":"image_25112025_17_28_14_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800734","file1":"1396800731","file0":"1396800729","file4":"1396800741","file5":"1396800744","file3":"1396800738"},"map_files_photo_id_array":[{"photo_id":"1396800744","filename":"file5"},{"photo_id":"1396800734","filename":"file2"},{"photo_id":"1396800741","filename":"file4"},{"photo_id":"1396800731","filename":"file1"},{"photo_id":"1396800729","filename":"file0"},{"photo_id":"1396800738","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800731":["hashtag1","hashtag2"]},{"1396800734":["hashtag1","hashtag2"]},{"1396800741":["hashtag1","hashtag2"]},{"1396800729":["hashtag1","hashtag2"]},{"1396800744":["hashtag1","hashtag2"]},{"1396800738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800731, 1396800734, 1396800741, 1396800729, 1396800744, 1396800738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55807018280029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:29:02.853252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/26/image_29112025_02_26_54_9609.jpg', '/home/pi/Desktop/images/29112025/02/26/image_29112025_02_27_05_10751.jpg', '/home/pi/Desktop/images/29112025/02/27/image_29112025_02_27_14_9798.jpg', '/home/pi/Desktop/images/29112025/02/27/image_29112025_02_27_34_9648.jpg', '/home/pi/Desktop/images/29112025/02/27/image_29112025_02_27_45_10652.jpg', '/home/pi/Desktop/images/29112025/02/27/image_29112025_02_28_04_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/26/image_29112025_02_26_54_9609.jpg
/home/pi/Desktop/images/29112025/02/26/image_29112025_02_27_05_10751.jpg
/home/pi/Desktop/images/29112025/02/27/image_29112025_02_27_14_9798.jpg
/home/pi/Desktop/images/29112025/02/27/image_29112025_02_27_34_9648.jpg
/home/pi/Desktop/images/29112025/02/27/image_29112025_02_27_45_10652.jpg
/home/pi/Desktop/images/29112025/02/27/image_29112025_02_28_04_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800752","1396800755","1396800749","1396800759","1396800747","1396800762"],"photo_ids_order":["1396800747","1396800749","1396800752","1396800755","1396800759","1396800762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44215542b96c34c65ad9fbc40328d270.jpg","text":"TemporaryFile(/tmp/multipartBody2624723104922525522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379803789,"filename":"image_29112025_02_27_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/11/29/7eec1515692d331d4503ecd496b4e147.jpg","text":"TemporaryFile(/tmp/multipartBody163835481530844103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379803789,"filename":"image_29112025_02_27_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/11/29/2a9bda0c7adb9372ee2a7769445841cf.jpg","text":"TemporaryFile(/tmp/multipartBody6541161945676182387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379803789,"filename":"image_29112025_02_27_05_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11e7a008e477d0ed38eaa1e75886170b.jpg","text":"TemporaryFile(/tmp/multipartBody3888304943378201468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379803789,"filename":"image_29112025_02_27_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/11/29/ca5b8b9eaee2b02e8b8c99108138918e.jpg","text":"TemporaryFile(/tmp/multipartBody8837318942306392761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379803789,"filename":"image_29112025_02_26_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/11/29/af74a9c52276428d7f5dc8af6d2de69e.jpg","text":"TemporaryFile(/tmp/multipartBody3195595920106263502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379803789,"filename":"image_29112025_02_28_04_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800752","file1":"1396800749","file0":"1396800747","file4":"1396800759","file5":"1396800762","file3":"1396800755"},"map_files_photo_id_array":[{"photo_id":"1396800762","filename":"file5"},{"photo_id":"1396800752","filename":"file2"},{"photo_id":"1396800759","filename":"file4"},{"photo_id":"1396800749","filename":"file1"},{"photo_id":"1396800747","filename":"file0"},{"photo_id":"1396800755","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800752":["hashtag1","hashtag2"]},{"1396800755":["hashtag1","hashtag2"]},{"1396800749":["hashtag1","hashtag2"]},{"1396800759":["hashtag1","hashtag2"]},{"1396800747":["hashtag1","hashtag2"]},{"1396800762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800752, 1396800755, 1396800749, 1396800759, 1396800747, 1396800762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.514171838760376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:30:03.578887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/28/image_29112025_02_28_44_9641.jpg', '/home/pi/Desktop/images/29112025/02/28/image_29112025_02_28_54_10616.jpg', '/home/pi/Desktop/images/29112025/02/28/image_29112025_02_29_04_9627.jpg', '/home/pi/Desktop/images/29112025/02/29/image_29112025_02_29_15_10595.jpg', '/home/pi/Desktop/images/29112025/02/29/image_29112025_02_29_24_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/28/image_29112025_02_28_44_9641.jpg
/home/pi/Desktop/images/29112025/02/28/image_29112025_02_28_54_10616.jpg
/home/pi/Desktop/images/29112025/02/28/image_29112025_02_29_04_9627.jpg
/home/pi/Desktop/images/29112025/02/29/image_29112025_02_29_15_10595.jpg
/home/pi/Desktop/images/29112025/02/29/image_29112025_02_29_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.6063683032989502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:30:13.137590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_23_2733.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_25_2710.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_29_3569.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_32_2662.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_34_2757.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_38_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_23_2733.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_25_2710.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_29_3569.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_32_2662.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_34_2757.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_38_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800772","1396800781","1396800775","1396800769","1396800778","1396800783"],"photo_ids_order":["1396800769","1396800772","1396800775","1396800778","1396800781","1396800783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8375bb42edf68c443f326b326812fb6.jpg","text":"TemporaryFile(/tmp/multipartBody5584383483507196795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379875213,"filename":"image_25112025_17_28_25_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/331aee42e085f2b279d8237ec48d1725.jpg","text":"TemporaryFile(/tmp/multipartBody3769372278398016391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379875213,"filename":"image_25112025_17_28_34_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd688842feb21f6bb8ab268e2d150543.jpg","text":"TemporaryFile(/tmp/multipartBody4278421239188955335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379875213,"filename":"image_25112025_17_28_29_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f48052a7f33f8245b9390e2b30e80474.jpg","text":"TemporaryFile(/tmp/multipartBody4135680864410689096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379875213,"filename":"image_25112025_17_28_23_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/369c9b2eace4e3d6c549c40f058f9ecd.jpg","text":"TemporaryFile(/tmp/multipartBody1086216191750242533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379875213,"filename":"image_25112025_17_28_32_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b93c7f4ef76c561035ab407be668d4e7.jpg","text":"TemporaryFile(/tmp/multipartBody7950362564555246491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379875213,"filename":"image_25112025_17_28_38_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800775","file1":"1396800772","file0":"1396800769","file4":"1396800781","file5":"1396800783","file3":"1396800778"},"map_files_photo_id_array":[{"photo_id":"1396800783","filename":"file5"},{"photo_id":"1396800775","filename":"file2"},{"photo_id":"1396800781","filename":"file4"},{"photo_id":"1396800772","filename":"file1"},{"photo_id":"1396800769","filename":"file0"},{"photo_id":"1396800778","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800772":["hashtag1","hashtag2"]},{"1396800781":["hashtag1","hashtag2"]},{"1396800775":["hashtag1","hashtag2"]},{"1396800769":["hashtag1","hashtag2"]},{"1396800778":["hashtag1","hashtag2"]},{"1396800783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800772, 1396800781, 1396800775, 1396800769, 1396800778, 1396800783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36602854728699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:31:02.867282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/28/image_29112025_02_28_44_9641.jpg', '/home/pi/Desktop/images/29112025/02/28/image_29112025_02_28_54_10616.jpg', '/home/pi/Desktop/images/29112025/02/28/image_29112025_02_29_04_9627.jpg', '/home/pi/Desktop/images/29112025/02/29/image_29112025_02_29_15_10595.jpg', '/home/pi/Desktop/images/29112025/02/29/image_29112025_02_29_24_9732.jpg', '/home/pi/Desktop/images/29112025/02/29/image_29112025_02_29_34_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/28/image_29112025_02_28_44_9641.jpg
/home/pi/Desktop/images/29112025/02/28/image_29112025_02_28_54_10616.jpg
/home/pi/Desktop/images/29112025/02/28/image_29112025_02_29_04_9627.jpg
/home/pi/Desktop/images/29112025/02/29/image_29112025_02_29_15_10595.jpg
/home/pi/Desktop/images/29112025/02/29/image_29112025_02_29_24_9732.jpg
/home/pi/Desktop/images/29112025/02/29/image_29112025_02_29_34_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800787","1396800795","1396800792","1396800786","1396800789","1396800788"],"photo_ids_order":["1396800786","1396800787","1396800788","1396800789","1396800792","1396800795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b8e8ad606cf55f3b1d4e7ae9b1ff4b2.jpg","text":"TemporaryFile(/tmp/multipartBody2310461037917137834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379923749,"filename":"image_29112025_02_28_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/11/29/7fc95b52fea1c5973ff39069df90ba41.jpg","text":"TemporaryFile(/tmp/multipartBody7468735710907166282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379923749,"filename":"image_29112025_02_29_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/11/29/bfdba3af80091a0fd029349dfa69337b.jpg","text":"TemporaryFile(/tmp/multipartBody2896938026867892134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379923749,"filename":"image_29112025_02_29_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76e88faf941ee54a07bafb00704cf2b6.jpg","text":"TemporaryFile(/tmp/multipartBody8590243016809628058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379923749,"filename":"image_29112025_02_28_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/11/29/afc3e9758a2319660f716447d8cf7967.jpg","text":"TemporaryFile(/tmp/multipartBody8031638406545431777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379923749,"filename":"image_29112025_02_29_15_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5379ec6d3ac51bff0fbca202c69b87da.jpg","text":"TemporaryFile(/tmp/multipartBody2067545173364224930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379923749,"filename":"image_29112025_02_29_04_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800788","file1":"1396800787","file0":"1396800786","file4":"1396800792","file5":"1396800795","file3":"1396800789"},"map_files_photo_id_array":[{"photo_id":"1396800795","filename":"file5"},{"photo_id":"1396800788","filename":"file2"},{"photo_id":"1396800792","filename":"file4"},{"photo_id":"1396800787","filename":"file1"},{"photo_id":"1396800786","filename":"file0"},{"photo_id":"1396800789","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800787":["hashtag1","hashtag2"]},{"1396800795":["hashtag1","hashtag2"]},{"1396800792":["hashtag1","hashtag2"]},{"1396800786":["hashtag1","hashtag2"]},{"1396800789":["hashtag1","hashtag2"]},{"1396800788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800787, 1396800795, 1396800792, 1396800786, 1396800789, 1396800788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80567646026611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:31:42.316463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_24_2741.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_34_10254.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_36_1591.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_45_9723.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_47_1563.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_48_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_24_2741.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_34_10254.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_36_1591.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_45_9723.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_47_1563.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_48_1637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800807","1396800806","1396800803","1396800805","1396800802","1396800804"],"photo_ids_order":["1396800802","1396800803","1396800804","1396800805","1396800806","1396800807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1251a85cf5672d7c1b3d15580930611.jpg","text":"TemporaryFile(/tmp/multipartBody7884213641264124075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379963375,"filename":"image_31102025_08_25_48_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a244ed843228ff188f9ce60c086515c.jpg","text":"TemporaryFile(/tmp/multipartBody3705619715574262484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379963375,"filename":"image_31102025_08_25_47_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f57966627c9f2549fd0084c0308e05b0.jpg","text":"TemporaryFile(/tmp/multipartBody91318233036962495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379963375,"filename":"image_31102025_08_25_34_10254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/399b14dc53acb0b1a66db3901e034946.jpg","text":"TemporaryFile(/tmp/multipartBody7384452175909755511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379963375,"filename":"image_31102025_08_25_45_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ab2b02bd866d13cbc445dcc0b7e53d0.jpg","text":"TemporaryFile(/tmp/multipartBody2499854893905277024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379963375,"filename":"image_31102025_08_25_24_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d17d574c4b3385209fce5f1033091018.jpg","text":"TemporaryFile(/tmp/multipartBody595320605054337410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764379963375,"filename":"image_31102025_08_25_36_1591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800804","file1":"1396800803","file0":"1396800802","file4":"1396800806","file5":"1396800807","file3":"1396800805"},"map_files_photo_id_array":[{"photo_id":"1396800807","filename":"file5"},{"photo_id":"1396800804","filename":"file2"},{"photo_id":"1396800806","filename":"file4"},{"photo_id":"1396800803","filename":"file1"},{"photo_id":"1396800802","filename":"file0"},{"photo_id":"1396800805","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396800807":["hashtag1","hashtag2"]},{"1396800806":["hashtag1","hashtag2"]},{"1396800803":["hashtag1","hashtag2"]},{"1396800805":["hashtag1","hashtag2"]},{"1396800802":["hashtag1","hashtag2"]},{"1396800804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396800807, 1396800806, 1396800803, 1396800805, 1396800802, 1396800804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41541361808777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:32:22.492498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/29/image_29112025_02_30_04_9737.jpg', '/home/pi/Desktop/images/29112025/02/30/image_29112025_02_30_14_9601.jpg', '/home/pi/Desktop/images/29112025/02/30/image_29112025_02_30_25_10707.jpg', '/home/pi/Desktop/images/29112025/02/30/image_29112025_02_30_35_9985.jpg', '/home/pi/Desktop/images/29112025/02/30/image_29112025_02_30_44_9701.jpg', '/home/pi/Desktop/images/29112025/02/31/image_29112025_02_31_24_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/29/image_29112025_02_30_04_9737.jpg
/home/pi/Desktop/images/29112025/02/30/image_29112025_02_30_14_9601.jpg
/home/pi/Desktop/images/29112025/02/30/image_29112025_02_30_25_10707.jpg
/home/pi/Desktop/images/29112025/02/30/image_29112025_02_30_35_9985.jpg
/home/pi/Desktop/images/29112025/02/30/image_29112025_02_30_44_9701.jpg
/home/pi/Desktop/images/29112025/02/31/image_29112025_02_31_24_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800821","1396800815","1396800817","1396800811","1396800813","1396800819"],"photo_ids_order":["1396800811","1396800813","1396800815","1396800817","1396800819","1396800821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3024956244efa4ffd5418e7f93d7d76.jpg","text":"TemporaryFile(/tmp/multipartBody8595959711265772142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380003245,"filename":"image_29112025_02_31_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd60e8dac102ca8ab5ae02cb6d1d8fcb.jpg","text":"TemporaryFile(/tmp/multipartBody4938341569692716928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380003245,"filename":"image_29112025_02_30_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/11/29/355b694a0d74a0421f242284bc26ea90.jpg","text":"TemporaryFile(/tmp/multipartBody3139724131627553070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380003245,"filename":"image_29112025_02_30_35_9985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ee2ccfa964b8c2c19e5921f7930f830.jpg","text":"TemporaryFile(/tmp/multipartBody5094613397777952751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380003245,"filename":"image_29112025_02_30_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/11/29/8994e881eed5c9d46c66898febec593e.jpg","text":"TemporaryFile(/tmp/multipartBody2286210620944721027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380003245,"filename":"image_29112025_02_30_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f63b440b9a9e9fe9e98ed9a7205ace59.jpg","text":"TemporaryFile(/tmp/multipartBody8315738376526169182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380003245,"filename":"image_29112025_02_30_44_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800815","file1":"1396800813","file0":"1396800811","file4":"1396800819","file5":"1396800821","file3":"1396800817"},"map_files_photo_id_array":[{"photo_id":"1396800821","filename":"file5"},{"photo_id":"1396800815","filename":"file2"},{"photo_id":"1396800819","filename":"file4"},{"photo_id":"1396800813","filename":"file1"},{"photo_id":"1396800811","filename":"file0"},{"photo_id":"1396800817","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800821":["hashtag1","hashtag2"]},{"1396800815":["hashtag1","hashtag2"]},{"1396800817":["hashtag1","hashtag2"]},{"1396800811":["hashtag1","hashtag2"]},{"1396800813":["hashtag1","hashtag2"]},{"1396800819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800821, 1396800815, 1396800817, 1396800811, 1396800813, 1396800819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2043182849884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:33:03.175334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/32/image_29112025_02_32_14_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/32/image_29112025_02_32_14_9726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800831"],"photo_id":"1396800831","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fcbbb4608a96176ae95a82ba37477553.jpg","text":"TemporaryFile(/tmp/multipartBody2276708186306665400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380043736,"filename":"image_29112025_02_32_14_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396800831"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396800831"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.513958930969238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:33:22.734172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/32/image_29112025_02_32_25_10796.jpg', '/home/pi/Desktop/images/29112025/02/32/image_29112025_02_33_04_9649.jpg', '/home/pi/Desktop/images/29112025/02/33/image_29112025_02_33_14_9699.jpg', '/home/pi/Desktop/images/29112025/02/33/image_29112025_02_33_25_10528.jpg', '/home/pi/Desktop/images/29112025/02/33/image_29112025_02_33_34_9631.jpg', '/home/pi/Desktop/images/29112025/02/33/image_29112025_02_33_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/32/image_29112025_02_32_25_10796.jpg
/home/pi/Desktop/images/29112025/02/32/image_29112025_02_33_04_9649.jpg
/home/pi/Desktop/images/29112025/02/33/image_29112025_02_33_14_9699.jpg
/home/pi/Desktop/images/29112025/02/33/image_29112025_02_33_25_10528.jpg
/home/pi/Desktop/images/29112025/02/33/image_29112025_02_33_34_9631.jpg
/home/pi/Desktop/images/29112025/02/33/image_29112025_02_33_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":["1396800842","1396800835","1396800844","1396800838","1396800846","1396800840"],"photo_ids_order":["1396800835","1396800838","1396800840","1396800842","1396800844","1396800846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42055df396131f17c604524543069b35.jpg","text":"TemporaryFile(/tmp/multipartBody2055615186059829895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380063496,"filename":"image_29112025_02_33_25_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65b1b57bcd618af544df2a9b7c7209f4.jpg","text":"TemporaryFile(/tmp/multipartBody8742682753815572184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380063496,"filename":"image_29112025_02_32_25_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3740fb986aa08b261a183c41d5f84edb.jpg","text":"TemporaryFile(/tmp/multipartBody7289779138201176248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380063496,"filename":"image_29112025_02_33_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c73859de1411bc04e20e9b395eaaff6.jpg","text":"TemporaryFile(/tmp/multipartBody8836475249740087791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380063496,"filename":"image_29112025_02_33_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/11/29/f077c24af4622d97e4f4c8b5442d3578.jpg","text":"TemporaryFile(/tmp/multipartBody2875812678043966913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380063496,"filename":"image_29112025_02_33_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/11/29/b9a21a8c2d9b997bb08b6b9ca30e29e3.jpg","text":"TemporaryFile(/tmp/multipartBody8323452196242336205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380063496,"filename":"image_29112025_02_33_14_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800840","file1":"1396800838","file0":"1396800835","file4":"1396800844","file5":"1396800846","file3":"1396800842"},"map_files_photo_id_array":[{"photo_id":"1396800846","filename":"file5"},{"photo_id":"1396800840","filename":"file2"},{"photo_id":"1396800844","filename":"file4"},{"photo_id":"1396800838","filename":"file1"},{"photo_id":"1396800835","filename":"file0"},{"photo_id":"1396800842","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800842":["hashtag1","hashtag2"]},{"1396800835":["hashtag1","hashtag2"]},{"1396800844":["hashtag1","hashtag2"]},{"1396800838":["hashtag1","hashtag2"]},{"1396800846":["hashtag1","hashtag2"]},{"1396800840":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800842, 1396800835, 1396800844, 1396800838, 1396800846, 1396800840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50487542152405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:34:02.584784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_41_2562.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_43_2655.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_49_6058.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_51_1675.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_53_1543.jpg', '/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_55_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_41_2562.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_43_2655.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_49_6058.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_51_1675.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_53_1543.jpg
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_55_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800857","1396800848","1396800853","1396800847","1396800850","1396800849"],"photo_ids_order":["1396800847","1396800848","1396800849","1396800850","1396800853","1396800857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/645a7ee87f296be20677b0f4adbbdee4.jpg","text":"TemporaryFile(/tmp/multipartBody2102494238213092470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380104315,"filename":"image_25112025_17_28_55_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d7793138556f314512ed0daffeb02b4.jpg","text":"TemporaryFile(/tmp/multipartBody4957171575300415989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380104315,"filename":"image_25112025_17_28_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/11/29/7a05b32c47a0873d5880ba6651575f37.jpg","text":"TemporaryFile(/tmp/multipartBody8835867770150892316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380104315,"filename":"image_25112025_17_28_53_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c4eeb70f44c4b7cb37b3cdaa8c090ab.jpg","text":"TemporaryFile(/tmp/multipartBody3276501769752812253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380104315,"filename":"image_25112025_17_28_41_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5360833818d5894d2ccbc94492ebada4.jpg","text":"TemporaryFile(/tmp/multipartBody3626232467772834835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380104315,"filename":"image_25112025_17_28_51_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa1eaab1373110fe8d8dea865750cc99.jpg","text":"TemporaryFile(/tmp/multipartBody4627019779384067355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380104315,"filename":"image_25112025_17_28_49_6058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800849","file1":"1396800848","file0":"1396800847","file4":"1396800853","file5":"1396800857","file3":"1396800850"},"map_files_photo_id_array":[{"photo_id":"1396800857","filename":"file5"},{"photo_id":"1396800849","filename":"file2"},{"photo_id":"1396800853","filename":"file4"},{"photo_id":"1396800848","filename":"file1"},{"photo_id":"1396800847","filename":"file0"},{"photo_id":"1396800850","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800857":["hashtag1","hashtag2"]},{"1396800848":["hashtag1","hashtag2"]},{"1396800853":["hashtag1","hashtag2"]},{"1396800847":["hashtag1","hashtag2"]},{"1396800850":["hashtag1","hashtag2"]},{"1396800849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800857, 1396800848, 1396800853, 1396800847, 1396800850, 1396800849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79874849319458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:35:02.731310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/33/image_29112025_02_33_55_10736.jpg', '/home/pi/Desktop/images/29112025/02/33/image_29112025_02_34_04_9744.jpg', '/home/pi/Desktop/images/29112025/02/34/image_29112025_02_34_14_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/33/image_29112025_02_33_55_10736.jpg
/home/pi/Desktop/images/29112025/02/33/image_29112025_02_34_04_9744.jpg
/home/pi/Desktop/images/29112025/02/34/image_29112025_02_34_14_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800866","1396800865","1396800864"],"photo_ids_order":["1396800864","1396800865","1396800866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d357cb80aa5d63314aee6754ea56a867.jpg","text":"TemporaryFile(/tmp/multipartBody8442263545120790398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380163397,"filename":"image_29112025_02_34_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e7ab421378854d7bfb7d55d68908ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2847292935541184424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380163397,"filename":"image_29112025_02_34_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/11/29/b22c5a855c24cf73a9c8e147d533fdb2.jpg","text":"TemporaryFile(/tmp/multipartBody455449187789885513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380163397,"filename":"image_29112025_02_33_55_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800866","file1":"1396800865","file0":"1396800864"},"map_files_photo_id_array":[{"photo_id":"1396800866","filename":"file2"},{"photo_id":"1396800865","filename":"file1"},{"photo_id":"1396800864","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800866":["hashtag1","hashtag2"]},{"1396800865":["hashtag1","hashtag2"]},{"1396800864":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800866, 1396800865, 1396800864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.10574960708618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:35:32.079338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_59_3561.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_02_2743.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_04_2642.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_08_3518.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_12_4466.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_14_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/28/image_25112025_17_28_59_3561.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_02_2743.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_04_2642.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_08_3518.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_12_4466.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_14_1621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800875","1396800884","1396800883","1396800876","1396800885","1396800873"],"photo_ids_order":["1396800873","1396800875","1396800876","1396800883","1396800884","1396800885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a47e60f258d5e5ca812896ae2c4ed556.jpg","text":"TemporaryFile(/tmp/multipartBody76567013478647211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380194294,"filename":"image_25112025_17_29_02_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2ca505af30085f27e365ebf9bf2004d.jpg","text":"TemporaryFile(/tmp/multipartBody4363723022414697621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380194294,"filename":"image_25112025_17_29_12_4466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4444d40e62cfdf72ce56471206796822.jpg","text":"TemporaryFile(/tmp/multipartBody2015103218584095908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380194294,"filename":"image_25112025_17_29_08_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3acd4ee44d1a0558196db6d8a512daba.jpg","text":"TemporaryFile(/tmp/multipartBody4324490441413208220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380194294,"filename":"image_25112025_17_29_04_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1faf146afcc20a97f62bb21cf593aa1f.jpg","text":"TemporaryFile(/tmp/multipartBody1342221271139392201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380194294,"filename":"image_25112025_17_29_14_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f33c6cce04075533faf10c13b4e33d27.jpg","text":"TemporaryFile(/tmp/multipartBody8594113418265309201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380194294,"filename":"image_25112025_17_28_59_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800876","file1":"1396800875","file0":"1396800873","file4":"1396800884","file5":"1396800885","file3":"1396800883"},"map_files_photo_id_array":[{"photo_id":"1396800885","filename":"file5"},{"photo_id":"1396800876","filename":"file2"},{"photo_id":"1396800884","filename":"file4"},{"photo_id":"1396800875","filename":"file1"},{"photo_id":"1396800873","filename":"file0"},{"photo_id":"1396800883","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800875":["hashtag1","hashtag2"]},{"1396800884":["hashtag1","hashtag2"]},{"1396800883":["hashtag1","hashtag2"]},{"1396800876":["hashtag1","hashtag2"]},{"1396800885":["hashtag1","hashtag2"]},{"1396800873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800875, 1396800884, 1396800883, 1396800876, 1396800885, 1396800873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74612641334534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:36:12.134296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_16_2647.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_20_3642.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_23_2619.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_25_2508.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_29_3614.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_36_7318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_16_2647.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_20_3642.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_23_2619.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_25_2508.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_29_3614.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_36_7318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800890","1396800898","1396800886","1396800894","1396800903","1396800887"],"photo_ids_order":["1396800886","1396800887","1396800890","1396800894","1396800898","1396800903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40cd7d217c94dacbb32cda5e41228d6d.jpg","text":"TemporaryFile(/tmp/multipartBody8635275970358159931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380234186,"filename":"image_25112025_17_29_23_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a835bea233d7a0f58c65e0a6a6f0e693.jpg","text":"TemporaryFile(/tmp/multipartBody2858774338918338515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380234186,"filename":"image_25112025_17_29_29_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf6c716c0b9d5ebb810ef8bccf09e7ca.jpg","text":"TemporaryFile(/tmp/multipartBody4636439714377805792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380234186,"filename":"image_25112025_17_29_16_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80fd6cf144ee8fb8e43343ddc913d996.jpg","text":"TemporaryFile(/tmp/multipartBody6394485794203743855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380234186,"filename":"image_25112025_17_29_25_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93c83ce438d48056242ac9c6bcbf10c3.jpg","text":"TemporaryFile(/tmp/multipartBody8801271782833554138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380234186,"filename":"image_25112025_17_29_36_7318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c089afed8b8bf014f9af1f164dfbd80.jpg","text":"TemporaryFile(/tmp/multipartBody449748229227810897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380234186,"filename":"image_25112025_17_29_20_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800890","file1":"1396800887","file0":"1396800886","file4":"1396800898","file5":"1396800903","file3":"1396800894"},"map_files_photo_id_array":[{"photo_id":"1396800903","filename":"file5"},{"photo_id":"1396800890","filename":"file2"},{"photo_id":"1396800898","filename":"file4"},{"photo_id":"1396800887","filename":"file1"},{"photo_id":"1396800886","filename":"file0"},{"photo_id":"1396800894","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800890":["hashtag1","hashtag2"]},{"1396800898":["hashtag1","hashtag2"]},{"1396800886":["hashtag1","hashtag2"]},{"1396800894":["hashtag1","hashtag2"]},{"1396800903":["hashtag1","hashtag2"]},{"1396800887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800890, 1396800898, 1396800886, 1396800894, 1396800903, 1396800887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8613543510437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:37:03.086145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/34/image_29112025_02_34_54_9703.jpg', '/home/pi/Desktop/images/29112025/02/34/image_29112025_02_35_04_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/34/image_29112025_02_34_54_9703.jpg
/home/pi/Desktop/images/29112025/02/34/image_29112025_02_35_04_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800908","1396800910"],"photo_ids_order":["1396800908","1396800910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39cb05c7736d587f71b57dd32c88aec1.jpg","text":"TemporaryFile(/tmp/multipartBody5474524007729160258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380283702,"filename":"image_29112025_02_34_54_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/412f1037792f10660f9dbf54a9fa1ac8.jpg","text":"TemporaryFile(/tmp/multipartBody1330922661014670515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380283702,"filename":"image_29112025_02_35_04_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396800910","file0":"1396800908"},"map_files_photo_id_array":[{"photo_id":"1396800910","filename":"file1"},{"photo_id":"1396800908","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800908":["hashtag1","hashtag2"]},{"1396800910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800908, 1396800910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.38510251045227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:37:22.571958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/35/image_29112025_02_35_34_9794.jpg', '/home/pi/Desktop/images/29112025/02/37/image_29112025_02_37_15_10670.jpg', '/home/pi/Desktop/images/29112025/02/37/image_29112025_02_37_24_9745.jpg', '/home/pi/Desktop/images/29112025/02/37/image_29112025_02_37_34_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/35/image_29112025_02_35_34_9794.jpg
/home/pi/Desktop/images/29112025/02/37/image_29112025_02_37_15_10670.jpg
/home/pi/Desktop/images/29112025/02/37/image_29112025_02_37_24_9745.jpg
/home/pi/Desktop/images/29112025/02/37/image_29112025_02_37_34_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":["1396800920","1396800914","1396800916","1396800918"],"photo_ids_order":["1396800914","1396800916","1396800918","1396800920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/921bc0e358e22d533a527b3cf71036dc.jpg","text":"TemporaryFile(/tmp/multipartBody7740922185201083397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380303225,"filename":"image_29112025_02_37_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/11/29/ccf8309088fcffb3ba98b27e687b6c7a.jpg","text":"TemporaryFile(/tmp/multipartBody4692419015543897292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380303225,"filename":"image_29112025_02_35_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01d6a2e2a2b44e7ffc197d083ed5182e.jpg","text":"TemporaryFile(/tmp/multipartBody7675429180303530382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380303225,"filename":"image_29112025_02_37_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/11/29/37b69aae47d2893ddef84640fd77c172.jpg","text":"TemporaryFile(/tmp/multipartBody6033849468713295431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380303225,"filename":"image_29112025_02_37_24_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800918","file1":"1396800916","file0":"1396800914","file3":"1396800920"},"map_files_photo_id_array":[{"photo_id":"1396800918","filename":"file2"},{"photo_id":"1396800916","filename":"file1"},{"photo_id":"1396800914","filename":"file0"},{"photo_id":"1396800920","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800920":["hashtag1","hashtag2"]},{"1396800914":["hashtag1","hashtag2"]},{"1396800916":["hashtag1","hashtag2"]},{"1396800918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800920, 1396800914, 1396800916, 1396800918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.461228370666504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:38:03.139196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_39_3047.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_41_1584.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_42_1590.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_44_1596.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_47_2574.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_49_2480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_39_3047.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_41_1584.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_42_1590.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_44_1596.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_47_2574.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_49_2480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800938","1396800929","1396800934","1396800928","1396800931","1396800930"],"photo_ids_order":["1396800928","1396800929","1396800930","1396800931","1396800934","1396800938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5bf6163db59745f7cb05f31d7f85902a.jpg","text":"TemporaryFile(/tmp/multipartBody6797516985597835110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380344716,"filename":"image_25112025_17_29_49_2480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6865a06120d58e6758dbff892a8523d9.jpg","text":"TemporaryFile(/tmp/multipartBody1922690049609121658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380344716,"filename":"image_25112025_17_29_41_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c47929c535d225cdd359f12e7c50bb02.jpg","text":"TemporaryFile(/tmp/multipartBody5218593189597374234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380344716,"filename":"image_25112025_17_29_47_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2d50fa279a74d1585416bc73765d3dd.jpg","text":"TemporaryFile(/tmp/multipartBody8935705235860580399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380344716,"filename":"image_25112025_17_29_39_3047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92933545ebf87f777d14546e272aa6c5.jpg","text":"TemporaryFile(/tmp/multipartBody5899069350804382690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380344716,"filename":"image_25112025_17_29_44_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad431dbee6c6912dbff99399e969d642.jpg","text":"TemporaryFile(/tmp/multipartBody5294511912482394271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380344716,"filename":"image_25112025_17_29_42_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800930","file1":"1396800929","file0":"1396800928","file4":"1396800934","file5":"1396800938","file3":"1396800931"},"map_files_photo_id_array":[{"photo_id":"1396800938","filename":"file5"},{"photo_id":"1396800930","filename":"file2"},{"photo_id":"1396800934","filename":"file4"},{"photo_id":"1396800929","filename":"file1"},{"photo_id":"1396800928","filename":"file0"},{"photo_id":"1396800931","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396800938":["hashtag1","hashtag2"]},{"1396800929":["hashtag1","hashtag2"]},{"1396800934":["hashtag1","hashtag2"]},{"1396800928":["hashtag1","hashtag2"]},{"1396800931":["hashtag1","hashtag2"]},{"1396800930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396800938, 1396800929, 1396800934, 1396800928, 1396800931, 1396800930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07271718978882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:38:42.764902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_51_2413.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_53_1657.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_54_1600.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_10_15594.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_12_1792.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_13_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_51_2413.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_53_1657.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_54_1600.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_10_15594.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_12_1792.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_13_1644.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9665732383728027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:39:03.046808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/37/image_29112025_02_37_54_9674.jpg', '/home/pi/Desktop/images/29112025/02/37/image_29112025_02_38_04_9733.jpg', '/home/pi/Desktop/images/29112025/02/38/image_29112025_02_38_14_9625.jpg', '/home/pi/Desktop/images/29112025/02/38/image_29112025_02_38_25_10790.jpg', '/home/pi/Desktop/images/29112025/02/38/image_29112025_02_38_34_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/37/image_29112025_02_37_54_9674.jpg
/home/pi/Desktop/images/29112025/02/37/image_29112025_02_38_04_9733.jpg
/home/pi/Desktop/images/29112025/02/38/image_29112025_02_38_14_9625.jpg
/home/pi/Desktop/images/29112025/02/38/image_29112025_02_38_25_10790.jpg
/home/pi/Desktop/images/29112025/02/38/image_29112025_02_38_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":["1396800962","1396800965","1396800959","1396800958","1396800960"],"photo_ids_order":["1396800958","1396800959","1396800960","1396800962","1396800965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d76fc245355fd477c2047b695b22b12a.jpg","text":"TemporaryFile(/tmp/multipartBody2956318433042187957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380403917,"filename":"image_29112025_02_38_25_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62cfc920115cf8bd04fa905ae613d69d.jpg","text":"TemporaryFile(/tmp/multipartBody1108738885483808205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380403917,"filename":"image_29112025_02_38_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/11/29/3f9a46c20139d7fee1ac39427f5edcfc.jpg","text":"TemporaryFile(/tmp/multipartBody7384571969511785612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380403917,"filename":"image_29112025_02_38_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7573b464a6ac9507797367cf355d353.jpg","text":"TemporaryFile(/tmp/multipartBody6427957160228479425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380403917,"filename":"image_29112025_02_37_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/11/29/f204805386262508ce7b2f09876b435a.jpg","text":"TemporaryFile(/tmp/multipartBody4940187257227192810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380403917,"filename":"image_29112025_02_38_14_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800960","file1":"1396800959","file0":"1396800958","file4":"1396800965","file3":"1396800962"},"map_files_photo_id_array":[{"photo_id":"1396800960","filename":"file2"},{"photo_id":"1396800965","filename":"file4"},{"photo_id":"1396800959","filename":"file1"},{"photo_id":"1396800958","filename":"file0"},{"photo_id":"1396800962","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800962":["hashtag1","hashtag2"]},{"1396800965":["hashtag1","hashtag2"]},{"1396800959":["hashtag1","hashtag2"]},{"1396800958":["hashtag1","hashtag2"]},{"1396800960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800962, 1396800965, 1396800959, 1396800958, 1396800960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.66778755187988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:39:41.914713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_51_2413.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_53_1657.jpg', '/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_54_1600.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_10_15594.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_12_1792.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_13_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_51_2413.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_53_1657.jpg
/home/pi/Desktop/images/31102025/08/25/image_31102025_08_25_54_1600.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_10_15594.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_12_1792.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_13_1644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800974","1396800973","1396800976","1396800975","1396800978","1396800972"],"photo_ids_order":["1396800972","1396800973","1396800974","1396800975","1396800976","1396800978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bacf99e6e60b3274f0bb449c4d7d999.jpg","text":"TemporaryFile(/tmp/multipartBody3523398596168049516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380442867,"filename":"image_31102025_08_25_54_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1817fac258c30fde4c6a6a3a0da3fd64.jpg","text":"TemporaryFile(/tmp/multipartBody427983722154373255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380442867,"filename":"image_31102025_08_25_53_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efc007004b88bbdd2511f8ba874caa77.jpg","text":"TemporaryFile(/tmp/multipartBody9109456206515710354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380442867,"filename":"image_31102025_08_26_12_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbf820c21d46106c6c19f4a2477a3534.jpg","text":"TemporaryFile(/tmp/multipartBody921580926793868852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380442867,"filename":"image_31102025_08_26_10_15594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae6236d40e4d0eabf753b53a2b7db4b1.jpg","text":"TemporaryFile(/tmp/multipartBody238746650706263292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380442867,"filename":"image_31102025_08_26_13_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/884e9b7a6824326deb656ebf5dc886e3.jpg","text":"TemporaryFile(/tmp/multipartBody2313706496468212969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380442867,"filename":"image_31102025_08_25_51_2413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800974","file1":"1396800973","file0":"1396800972","file4":"1396800976","file5":"1396800978","file3":"1396800975"},"map_files_photo_id_array":[{"photo_id":"1396800978","filename":"file5"},{"photo_id":"1396800974","filename":"file2"},{"photo_id":"1396800976","filename":"file4"},{"photo_id":"1396800973","filename":"file1"},{"photo_id":"1396800972","filename":"file0"},{"photo_id":"1396800975","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396800974":["hashtag1","hashtag2"]},{"1396800973":["hashtag1","hashtag2"]},{"1396800976":["hashtag1","hashtag2"]},{"1396800975":["hashtag1","hashtag2"]},{"1396800978":["hashtag1","hashtag2"]},{"1396800972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396800974, 1396800973, 1396800976, 1396800975, 1396800978, 1396800972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59609246253967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:40:22.085985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/38/image_29112025_02_38_54_10578.jpg', '/home/pi/Desktop/images/29112025/02/38/image_29112025_02_39_04_9743.jpg', '/home/pi/Desktop/images/29112025/02/39/image_29112025_02_39_15_10649.jpg', '/home/pi/Desktop/images/29112025/02/39/image_29112025_02_39_34_9533.jpg', '/home/pi/Desktop/images/29112025/02/39/image_29112025_02_39_44_9672.jpg', '/home/pi/Desktop/images/29112025/02/39/image_29112025_02_39_55_10866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/38/image_29112025_02_38_54_10578.jpg
/home/pi/Desktop/images/29112025/02/38/image_29112025_02_39_04_9743.jpg
/home/pi/Desktop/images/29112025/02/39/image_29112025_02_39_15_10649.jpg
/home/pi/Desktop/images/29112025/02/39/image_29112025_02_39_34_9533.jpg
/home/pi/Desktop/images/29112025/02/39/image_29112025_02_39_44_9672.jpg
/home/pi/Desktop/images/29112025/02/39/image_29112025_02_39_55_10866.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396800994","1396800981","1396800990","1396800984","1396800987","1396800992"],"photo_ids_order":["1396800981","1396800984","1396800987","1396800990","1396800992","1396800994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f57f8a616c7c12b12da2f69cbda82cf.jpg","text":"TemporaryFile(/tmp/multipartBody7045800809446230395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380482822,"filename":"image_29112025_02_39_55_10866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8c27a77c6c9baf6708f0c57019d955d.jpg","text":"TemporaryFile(/tmp/multipartBody6180904618787505849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380482822,"filename":"image_29112025_02_38_54_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a9006f5709dc3cc5744da95c1de0894.jpg","text":"TemporaryFile(/tmp/multipartBody681962044276867960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380482822,"filename":"image_29112025_02_39_34_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3aceb8d459081b4328f17e31c97980fd.jpg","text":"TemporaryFile(/tmp/multipartBody8303443787907556491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380482822,"filename":"image_29112025_02_39_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ea209e5b03d8f4dc13dac79519896b1.jpg","text":"TemporaryFile(/tmp/multipartBody6060349026507555914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380482822,"filename":"image_29112025_02_39_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/11/29/5fd8c7c667f27283ed717392ab15a96b.jpg","text":"TemporaryFile(/tmp/multipartBody7503776719686219163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380482822,"filename":"image_29112025_02_39_44_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800987","file1":"1396800984","file0":"1396800981","file4":"1396800992","file5":"1396800994","file3":"1396800990"},"map_files_photo_id_array":[{"photo_id":"1396800994","filename":"file5"},{"photo_id":"1396800987","filename":"file2"},{"photo_id":"1396800992","filename":"file4"},{"photo_id":"1396800984","filename":"file1"},{"photo_id":"1396800981","filename":"file0"},{"photo_id":"1396800990","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800994":["hashtag1","hashtag2"]},{"1396800981":["hashtag1","hashtag2"]},{"1396800990":["hashtag1","hashtag2"]},{"1396800984":["hashtag1","hashtag2"]},{"1396800987":["hashtag1","hashtag2"]},{"1396800992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800994, 1396800981, 1396800990, 1396800984, 1396800987, 1396800992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.167845487594604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:41:02.861264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/39/image_29112025_02_40_04_9767.jpg', '/home/pi/Desktop/images/29112025/02/40/image_29112025_02_40_14_9694.jpg', '/home/pi/Desktop/images/29112025/02/40/image_29112025_02_40_25_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/39/image_29112025_02_40_04_9767.jpg
/home/pi/Desktop/images/29112025/02/40/image_29112025_02_40_14_9694.jpg
/home/pi/Desktop/images/29112025/02/40/image_29112025_02_40_25_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":["1396800995","1396800997","1396800996"],"photo_ids_order":["1396800995","1396800996","1396800997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46e4a80bb4439b4b81174c1d8fdb43d9.jpg","text":"TemporaryFile(/tmp/multipartBody260247351520702654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380523565,"filename":"image_29112025_02_40_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/11/29/9a3f6d62e2a3ba64a351bfca5eef09c3.jpg","text":"TemporaryFile(/tmp/multipartBody8665794877731637156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380523565,"filename":"image_29112025_02_40_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1974ff004d0862fa184e76252cf6baf5.jpg","text":"TemporaryFile(/tmp/multipartBody1979456531690032645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380523565,"filename":"image_29112025_02_40_14_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396800997","file1":"1396800996","file0":"1396800995"},"map_files_photo_id_array":[{"photo_id":"1396800997","filename":"file2"},{"photo_id":"1396800996","filename":"file1"},{"photo_id":"1396800995","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396800995":["hashtag1","hashtag2"]},{"1396800997":["hashtag1","hashtag2"]},{"1396800996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396800995, 1396800997, 1396800996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.054368019104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:41:32.335741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_55_5723.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_58_2951.jpg', '/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_59_1515.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_06_3011.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_10_3741.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_13_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_55_5723.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_58_2951.jpg
/home/pi/Desktop/images/25112025/17/29/image_25112025_17_29_59_1515.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_06_3011.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_10_3741.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_13_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":["1396801022","1396801010","1396801021","1396801020","1396801008","1396801005"],"photo_ids_order":["1396801005","1396801008","1396801010","1396801020","1396801021","1396801022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4d02a212ee74b0153a6671001bd959b.jpg","text":"TemporaryFile(/tmp/multipartBody479646756277190841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380554528,"filename":"image_25112025_17_31_13_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/898da7287f07e21cf04b67e69818ae03.jpg","text":"TemporaryFile(/tmp/multipartBody7954187648459841904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380554528,"filename":"image_25112025_17_29_59_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa4f5fda917f282ebd350572657fe2ac.jpg","text":"TemporaryFile(/tmp/multipartBody573394516671504160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380554528,"filename":"image_25112025_17_31_10_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e676f80545d76d4f87281e27f3ec3252.jpg","text":"TemporaryFile(/tmp/multipartBody4223246964423566946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380554528,"filename":"image_25112025_17_31_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1688a52f5ea0332ccbc90f3e7d332650.jpg","text":"TemporaryFile(/tmp/multipartBody4681630601655377552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380554528,"filename":"image_25112025_17_29_58_2951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cde5a13d9c6224582bc7c423e358ca2.jpg","text":"TemporaryFile(/tmp/multipartBody6240997028910475832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380554528,"filename":"image_25112025_17_29_55_5723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801010","file1":"1396801008","file0":"1396801005","file4":"1396801021","file5":"1396801022","file3":"1396801020"},"map_files_photo_id_array":[{"photo_id":"1396801022","filename":"file5"},{"photo_id":"1396801010","filename":"file2"},{"photo_id":"1396801021","filename":"file4"},{"photo_id":"1396801008","filename":"file1"},{"photo_id":"1396801005","filename":"file0"},{"photo_id":"1396801020","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801022":["hashtag1","hashtag2"]},{"1396801010":["hashtag1","hashtag2"]},{"1396801021":["hashtag1","hashtag2"]},{"1396801020":["hashtag1","hashtag2"]},{"1396801008":["hashtag1","hashtag2"]},{"1396801005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801022, 1396801010, 1396801021, 1396801020, 1396801008, 1396801005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.678967237472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:42:12.512803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_16_2632.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_19_3649.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_22_2698.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_24_2542.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_28_3773.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_31_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_16_2632.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_19_3649.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_22_2698.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_24_2542.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_28_3773.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_31_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801024","1396801038","1396801032","1396801026","1396801035","1396801029"],"photo_ids_order":["1396801024","1396801026","1396801029","1396801032","1396801035","1396801038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1af95132f25ebab76d47ab02fd62dab6.jpg","text":"TemporaryFile(/tmp/multipartBody2089328982362441731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380594567,"filename":"image_25112025_17_31_16_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3a6dda22148ee120f3807f15b9dc679.jpg","text":"TemporaryFile(/tmp/multipartBody58208922333325081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380594567,"filename":"image_25112025_17_31_31_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7110444d36e75d2ce433538cd92d2a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5950621186122818750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380594567,"filename":"image_25112025_17_31_24_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb4666773fabf0cbdc2f5a24db9a04e0.jpg","text":"TemporaryFile(/tmp/multipartBody5227851725474405079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380594567,"filename":"image_25112025_17_31_19_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e05de44f4b993f29aa840b6da05352c2.jpg","text":"TemporaryFile(/tmp/multipartBody8858066027929589840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380594567,"filename":"image_25112025_17_31_28_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19cfc35b67ef7c173ddb312f83aa7e99.jpg","text":"TemporaryFile(/tmp/multipartBody8721567865387018991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380594567,"filename":"image_25112025_17_31_22_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801029","file1":"1396801026","file0":"1396801024","file4":"1396801035","file5":"1396801038","file3":"1396801032"},"map_files_photo_id_array":[{"photo_id":"1396801038","filename":"file5"},{"photo_id":"1396801029","filename":"file2"},{"photo_id":"1396801035","filename":"file4"},{"photo_id":"1396801026","filename":"file1"},{"photo_id":"1396801024","filename":"file0"},{"photo_id":"1396801032","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801024":["hashtag1","hashtag2"]},{"1396801038":["hashtag1","hashtag2"]},{"1396801032":["hashtag1","hashtag2"]},{"1396801026":["hashtag1","hashtag2"]},{"1396801035":["hashtag1","hashtag2"]},{"1396801029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801024, 1396801038, 1396801032, 1396801026, 1396801035, 1396801029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59502816200256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:43:02.583060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/40/image_29112025_02_40_34_9676.jpg', '/home/pi/Desktop/images/29112025/02/40/image_29112025_02_41_04_10683.jpg', '/home/pi/Desktop/images/29112025/02/41/image_29112025_02_41_14_9705.jpg', '/home/pi/Desktop/images/29112025/02/41/image_29112025_02_41_34_10591.jpg', '/home/pi/Desktop/images/29112025/02/41/image_29112025_02_41_44_9824.jpg', '/home/pi/Desktop/images/29112025/02/41/image_29112025_02_41_54_9896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/40/image_29112025_02_40_34_9676.jpg
/home/pi/Desktop/images/29112025/02/40/image_29112025_02_41_04_10683.jpg
/home/pi/Desktop/images/29112025/02/41/image_29112025_02_41_14_9705.jpg
/home/pi/Desktop/images/29112025/02/41/image_29112025_02_41_34_10591.jpg
/home/pi/Desktop/images/29112025/02/41/image_29112025_02_41_44_9824.jpg
/home/pi/Desktop/images/29112025/02/41/image_29112025_02_41_54_9896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801043","1396801046","1396801042","1396801044","1396801049","1396801040"],"photo_ids_order":["1396801040","1396801042","1396801043","1396801044","1396801046","1396801049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d91f98186706f0870384bc9fda7f112.jpg","text":"TemporaryFile(/tmp/multipartBody5283445210894338887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380643392,"filename":"image_29112025_02_41_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82aa245df72ae00b6a7946347f045720.jpg","text":"TemporaryFile(/tmp/multipartBody5157032108379217069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380643392,"filename":"image_29112025_02_41_44_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c35157775a90cb4d77e41b5e133a7714.jpg","text":"TemporaryFile(/tmp/multipartBody4213577632815011162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380643392,"filename":"image_29112025_02_41_04_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2d3b8e56914afc74aa85f2c3653cf00.jpg","text":"TemporaryFile(/tmp/multipartBody209344383020720967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380643392,"filename":"image_29112025_02_41_34_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c73d3ee89853d11d6c01f81f2fe4e42.jpg","text":"TemporaryFile(/tmp/multipartBody2385608717038930981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380643392,"filename":"image_29112025_02_41_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/11/29/baaf7cd6205898d74b204c3445ec0e94.jpg","text":"TemporaryFile(/tmp/multipartBody5536980865142250360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380643392,"filename":"image_29112025_02_40_34_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801043","file1":"1396801042","file0":"1396801040","file4":"1396801046","file5":"1396801049","file3":"1396801044"},"map_files_photo_id_array":[{"photo_id":"1396801049","filename":"file5"},{"photo_id":"1396801043","filename":"file2"},{"photo_id":"1396801046","filename":"file4"},{"photo_id":"1396801042","filename":"file1"},{"photo_id":"1396801040","filename":"file0"},{"photo_id":"1396801044","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801043":["hashtag1","hashtag2"]},{"1396801046":["hashtag1","hashtag2"]},{"1396801042":["hashtag1","hashtag2"]},{"1396801044":["hashtag1","hashtag2"]},{"1396801049":["hashtag1","hashtag2"]},{"1396801040":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801043, 1396801046, 1396801042, 1396801044, 1396801049, 1396801040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08598184585571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:43:41.799959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_16_2423.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_17_1630.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_19_1559.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_21_1756.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_22_1915.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_24_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_16_2423.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_17_1630.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_19_1559.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_21_1756.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_22_1915.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_24_1645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801058","1396801060","1396801057","1396801056","1396801059","1396801061"],"photo_ids_order":["1396801056","1396801057","1396801058","1396801059","1396801060","1396801061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f0cfacc86825581c0c209ad51049bfa.jpg","text":"TemporaryFile(/tmp/multipartBody9137557921981804797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380682865,"filename":"image_31102025_08_26_19_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0679aaba0f15d9df0e0766fed2258e35.jpg","text":"TemporaryFile(/tmp/multipartBody2603127900019387823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380682865,"filename":"image_31102025_08_26_22_1915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e1fe2e02f8644ac32cc317dee73d51e.jpg","text":"TemporaryFile(/tmp/multipartBody5105951894253353457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380682865,"filename":"image_31102025_08_26_17_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c2e328987ddec37432b2a4a20cb156e.jpg","text":"TemporaryFile(/tmp/multipartBody4024109054942581031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380682865,"filename":"image_31102025_08_26_16_2423.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/286ad1d2c4fa4c990de4cd71cb7f09a6.jpg","text":"TemporaryFile(/tmp/multipartBody2949580869457289864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380682865,"filename":"image_31102025_08_26_21_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63ceb1d4605a840bbd78ed85f0412a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2955974549877114500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380682865,"filename":"image_31102025_08_26_24_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801058","file1":"1396801057","file0":"1396801056","file4":"1396801060","file5":"1396801061","file3":"1396801059"},"map_files_photo_id_array":[{"photo_id":"1396801061","filename":"file5"},{"photo_id":"1396801058","filename":"file2"},{"photo_id":"1396801060","filename":"file4"},{"photo_id":"1396801057","filename":"file1"},{"photo_id":"1396801056","filename":"file0"},{"photo_id":"1396801059","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396801058":["hashtag1","hashtag2"]},{"1396801060":["hashtag1","hashtag2"]},{"1396801057":["hashtag1","hashtag2"]},{"1396801056":["hashtag1","hashtag2"]},{"1396801059":["hashtag1","hashtag2"]},{"1396801061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396801058, 1396801060, 1396801057, 1396801056, 1396801059, 1396801061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92462158203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:44:21.969270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/41/image_29112025_02_42_04_9653.jpg', '/home/pi/Desktop/images/29112025/02/42/image_29112025_02_42_15_10767.jpg', '/home/pi/Desktop/images/29112025/02/42/image_29112025_02_42_24_9751.jpg', '/home/pi/Desktop/images/29112025/02/42/image_29112025_02_42_34_9643.jpg', '/home/pi/Desktop/images/29112025/02/42/image_29112025_02_42_55_10748.jpg', '/home/pi/Desktop/images/29112025/02/42/image_29112025_02_43_04_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/41/image_29112025_02_42_04_9653.jpg
/home/pi/Desktop/images/29112025/02/42/image_29112025_02_42_15_10767.jpg
/home/pi/Desktop/images/29112025/02/42/image_29112025_02_42_24_9751.jpg
/home/pi/Desktop/images/29112025/02/42/image_29112025_02_42_34_9643.jpg
/home/pi/Desktop/images/29112025/02/42/image_29112025_02_42_55_10748.jpg
/home/pi/Desktop/images/29112025/02/42/image_29112025_02_43_04_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801064","1396801074","1396801071","1396801073","1396801067","1396801082"],"photo_ids_order":["1396801064","1396801067","1396801071","1396801073","1396801074","1396801082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd81c0b4de3e17d36d8cb29120efb9ff.jpg","text":"TemporaryFile(/tmp/multipartBody2600626881127878242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380722713,"filename":"image_29112025_02_42_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f52269f2835448e897ab14fa12356de8.jpg","text":"TemporaryFile(/tmp/multipartBody5761763890665824426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380722713,"filename":"image_29112025_02_42_55_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82c1262f92351c68241d979b02c158ca.jpg","text":"TemporaryFile(/tmp/multipartBody7274210055658887832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380722713,"filename":"image_29112025_02_42_24_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78fafff1e91db051f81990d67bad1627.jpg","text":"TemporaryFile(/tmp/multipartBody5789276204266317613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380722713,"filename":"image_29112025_02_42_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/11/29/d54ed92c2d1efb2dfd77dbebbdb4aa3d.jpg","text":"TemporaryFile(/tmp/multipartBody4978767915166931560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380722713,"filename":"image_29112025_02_42_15_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6cf23be22fa73cd050160d25f16ff2e.jpg","text":"TemporaryFile(/tmp/multipartBody6424070623962694108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380722713,"filename":"image_29112025_02_43_04_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801071","file1":"1396801067","file0":"1396801064","file4":"1396801074","file5":"1396801082","file3":"1396801073"},"map_files_photo_id_array":[{"photo_id":"1396801082","filename":"file5"},{"photo_id":"1396801071","filename":"file2"},{"photo_id":"1396801074","filename":"file4"},{"photo_id":"1396801067","filename":"file1"},{"photo_id":"1396801064","filename":"file0"},{"photo_id":"1396801073","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801064":["hashtag1","hashtag2"]},{"1396801074":["hashtag1","hashtag2"]},{"1396801071":["hashtag1","hashtag2"]},{"1396801073":["hashtag1","hashtag2"]},{"1396801067":["hashtag1","hashtag2"]},{"1396801082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801064, 1396801074, 1396801071, 1396801073, 1396801067, 1396801082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21352958679199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:45:02.721322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/43/image_29112025_02_43_14_9711.jpg', '/home/pi/Desktop/images/29112025/02/43/image_29112025_02_43_34_9789.jpg', '/home/pi/Desktop/images/29112025/02/43/image_29112025_02_43_54_9830.jpg', '/home/pi/Desktop/images/29112025/02/44/image_29112025_02_44_14_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/43/image_29112025_02_43_14_9711.jpg
/home/pi/Desktop/images/29112025/02/43/image_29112025_02_43_34_9789.jpg
/home/pi/Desktop/images/29112025/02/43/image_29112025_02_43_54_9830.jpg
/home/pi/Desktop/images/29112025/02/44/image_29112025_02_44_14_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801087","1396801089","1396801086","1396801088"],"photo_ids_order":["1396801086","1396801087","1396801088","1396801089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d00d01e945824fda2458068a105e490.jpg","text":"TemporaryFile(/tmp/multipartBody5512624178723010220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380763437,"filename":"image_29112025_02_43_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/11/29/5835345184c316f99c73c3d6c5f72b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3790071397903134265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380763437,"filename":"image_29112025_02_44_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/11/29/4505e86b756c5497af8a8f8ac03e68ec.jpg","text":"TemporaryFile(/tmp/multipartBody8312863215214760409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380763437,"filename":"image_29112025_02_43_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5630ef340a5e1960a448d88aacc452f.jpg","text":"TemporaryFile(/tmp/multipartBody8776365130749738485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380763437,"filename":"image_29112025_02_43_54_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801088","file1":"1396801087","file0":"1396801086","file3":"1396801089"},"map_files_photo_id_array":[{"photo_id":"1396801088","filename":"file2"},{"photo_id":"1396801087","filename":"file1"},{"photo_id":"1396801086","filename":"file0"},{"photo_id":"1396801089","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801087":["hashtag1","hashtag2"]},{"1396801089":["hashtag1","hashtag2"]},{"1396801086":["hashtag1","hashtag2"]},{"1396801088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801087, 1396801089, 1396801086, 1396801088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.705937147140503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:45:32.254125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_33_2585.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_37_3577.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_40_2554.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_43_3621.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_46_2679.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_48_2524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_33_2585.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_37_3577.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_40_2554.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_43_3621.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_46_2679.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_48_2524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801103","1396801096","1396801100","1396801102","1396801098","1396801104"],"photo_ids_order":["1396801096","1396801098","1396801100","1396801102","1396801103","1396801104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7bcfffb00aa36d83b407603d05eeb7cf.jpg","text":"TemporaryFile(/tmp/multipartBody5616248890524583089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380794429,"filename":"image_25112025_17_31_46_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be2c76e0df1a73d7abbd39b8802c26b8.jpg","text":"TemporaryFile(/tmp/multipartBody6766653564415247125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380794429,"filename":"image_25112025_17_31_33_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6dd218648a26e49e7ecc69736fa2548a.jpg","text":"TemporaryFile(/tmp/multipartBody7359675113015149248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380794429,"filename":"image_25112025_17_31_40_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51c518354009ac5e3b4ada031afbc885.jpg","text":"TemporaryFile(/tmp/multipartBody1642849852200923796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380794429,"filename":"image_25112025_17_31_43_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/819f0f324bb54d9949f0e4ff620683b4.jpg","text":"TemporaryFile(/tmp/multipartBody3310328501116086846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380794429,"filename":"image_25112025_17_31_37_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc6349b4c802ab9974c569fef6baf20e.jpg","text":"TemporaryFile(/tmp/multipartBody6579011010900896442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380794429,"filename":"image_25112025_17_31_48_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801100","file1":"1396801098","file0":"1396801096","file4":"1396801103","file5":"1396801104","file3":"1396801102"},"map_files_photo_id_array":[{"photo_id":"1396801104","filename":"file5"},{"photo_id":"1396801100","filename":"file2"},{"photo_id":"1396801103","filename":"file4"},{"photo_id":"1396801098","filename":"file1"},{"photo_id":"1396801096","filename":"file0"},{"photo_id":"1396801102","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801103":["hashtag1","hashtag2"]},{"1396801096":["hashtag1","hashtag2"]},{"1396801100":["hashtag1","hashtag2"]},{"1396801102":["hashtag1","hashtag2"]},{"1396801098":["hashtag1","hashtag2"]},{"1396801104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801103, 1396801096, 1396801100, 1396801102, 1396801098, 1396801104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78468418121338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:46:12.506679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_52_3238.jpg', '/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_55_3590.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_01_6193.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_03_1675.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_13_9844.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_19_5932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_52_3238.jpg
/home/pi/Desktop/images/25112025/17/31/image_25112025_17_31_55_3590.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_01_6193.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_03_1675.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_13_9844.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_19_5932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801105","1396801119","1396801110","1396801113","1396801107","1396801116"],"photo_ids_order":["1396801105","1396801107","1396801110","1396801113","1396801116","1396801119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c044f86d574d902982a2357db5e17a9.jpg","text":"TemporaryFile(/tmp/multipartBody4198651057599375891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380834620,"filename":"image_25112025_17_31_52_3238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fa1ffb0a0227742d3f1072f635176e8.jpg","text":"TemporaryFile(/tmp/multipartBody2939873182126167984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380834620,"filename":"image_25112025_17_32_19_5932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d564008298b759a784efce7e2e3f26f3.jpg","text":"TemporaryFile(/tmp/multipartBody129685678173230303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380834620,"filename":"image_25112025_17_32_01_6193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/724d88e05f2d15d3ec3c51ecb8dfdd17.jpg","text":"TemporaryFile(/tmp/multipartBody7276973531185171640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380834620,"filename":"image_25112025_17_32_03_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f82bcaa1542c98b0aff012f4a3bf811c.jpg","text":"TemporaryFile(/tmp/multipartBody240846904183168576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380834620,"filename":"image_25112025_17_31_55_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/feff19ac955bdb0ba641b437ca76c2d9.jpg","text":"TemporaryFile(/tmp/multipartBody823965696636589756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380834620,"filename":"image_25112025_17_32_13_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801110","file1":"1396801107","file0":"1396801105","file4":"1396801116","file5":"1396801119","file3":"1396801113"},"map_files_photo_id_array":[{"photo_id":"1396801119","filename":"file5"},{"photo_id":"1396801110","filename":"file2"},{"photo_id":"1396801116","filename":"file4"},{"photo_id":"1396801107","filename":"file1"},{"photo_id":"1396801105","filename":"file0"},{"photo_id":"1396801113","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801105":["hashtag1","hashtag2"]},{"1396801119":["hashtag1","hashtag2"]},{"1396801110":["hashtag1","hashtag2"]},{"1396801113":["hashtag1","hashtag2"]},{"1396801107":["hashtag1","hashtag2"]},{"1396801116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801105, 1396801119, 1396801110, 1396801113, 1396801107, 1396801116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56248211860657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:47:03.295228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/44/image_29112025_02_44_54_9809.jpg', '/home/pi/Desktop/images/29112025/02/44/image_29112025_02_45_04_9735.jpg', '/home/pi/Desktop/images/29112025/02/45/image_29112025_02_45_25_9812.jpg', '/home/pi/Desktop/images/29112025/02/45/image_29112025_02_45_34_9697.jpg', '/home/pi/Desktop/images/29112025/02/45/image_29112025_02_45_44_9724.jpg', '/home/pi/Desktop/images/29112025/02/45/image_29112025_02_45_54_9908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/44/image_29112025_02_44_54_9809.jpg
/home/pi/Desktop/images/29112025/02/44/image_29112025_02_45_04_9735.jpg
/home/pi/Desktop/images/29112025/02/45/image_29112025_02_45_25_9812.jpg
/home/pi/Desktop/images/29112025/02/45/image_29112025_02_45_34_9697.jpg
/home/pi/Desktop/images/29112025/02/45/image_29112025_02_45_44_9724.jpg
/home/pi/Desktop/images/29112025/02/45/image_29112025_02_45_54_9908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801121","1396801130","1396801124","1396801126","1396801123","1396801122"],"photo_ids_order":["1396801121","1396801122","1396801123","1396801124","1396801126","1396801130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb37a44aa2dae37f8d47d0b90490e88d.jpg","text":"TemporaryFile(/tmp/multipartBody6038196188611983170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380884098,"filename":"image_29112025_02_44_54_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3740cbbe8f8326ab86966916df617faf.jpg","text":"TemporaryFile(/tmp/multipartBody362261714450100152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380884098,"filename":"image_29112025_02_45_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/11/29/c9c1cd5140baf290f378c10078a842a4.jpg","text":"TemporaryFile(/tmp/multipartBody1127498165869552425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380884098,"filename":"image_29112025_02_45_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/11/29/c238e4b7b4a803a2c4c012c8c0752853.jpg","text":"TemporaryFile(/tmp/multipartBody4942212205344517682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380884098,"filename":"image_29112025_02_45_44_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/518289a470516dabd350a7737d1eca2a.jpg","text":"TemporaryFile(/tmp/multipartBody2219150729042916818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380884098,"filename":"image_29112025_02_45_25_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/925c0331a8bd9cc3bf26cdcc0cdc165b.jpg","text":"TemporaryFile(/tmp/multipartBody7548352553279365143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380884098,"filename":"image_29112025_02_45_04_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801123","file1":"1396801122","file0":"1396801121","file4":"1396801126","file5":"1396801130","file3":"1396801124"},"map_files_photo_id_array":[{"photo_id":"1396801130","filename":"file5"},{"photo_id":"1396801123","filename":"file2"},{"photo_id":"1396801126","filename":"file4"},{"photo_id":"1396801122","filename":"file1"},{"photo_id":"1396801121","filename":"file0"},{"photo_id":"1396801124","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801121":["hashtag1","hashtag2"]},{"1396801130":["hashtag1","hashtag2"]},{"1396801124":["hashtag1","hashtag2"]},{"1396801126":["hashtag1","hashtag2"]},{"1396801123":["hashtag1","hashtag2"]},{"1396801122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801121, 1396801130, 1396801124, 1396801126, 1396801123, 1396801122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8958854675293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:47:42.838377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_26_1655.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_27_1583.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_29_1692.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_31_1702.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_32_1535.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_34_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_26_1655.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_27_1583.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_29_1692.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_31_1702.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_32_1535.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_34_1603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801142","1396801139","1396801141","1396801143","1396801137","1396801140"],"photo_ids_order":["1396801137","1396801139","1396801140","1396801141","1396801142","1396801143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24d5048cf7274cbc70829b164d4af2b5.jpg","text":"TemporaryFile(/tmp/multipartBody8417665683968947470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380923909,"filename":"image_31102025_08_26_32_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3c6314567481bcaa60d4fcd954a2fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4386607999898705585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380923909,"filename":"image_31102025_08_26_27_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db4038effe35b6a10388adb2a5f6c526.jpg","text":"TemporaryFile(/tmp/multipartBody71195131899766359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380923909,"filename":"image_31102025_08_26_31_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4edead9031c35f65a2c6c328884bf41f.jpg","text":"TemporaryFile(/tmp/multipartBody2806060597687433152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380923909,"filename":"image_31102025_08_26_34_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46400dd74525eb3df70eb5f24a669188.jpg","text":"TemporaryFile(/tmp/multipartBody5704360775216948652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380923909,"filename":"image_31102025_08_26_26_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3af20759ff882a7d52637ab713d2ee9.jpg","text":"TemporaryFile(/tmp/multipartBody211037681055298671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380923909,"filename":"image_31102025_08_26_29_1692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801140","file1":"1396801139","file0":"1396801137","file4":"1396801142","file5":"1396801143","file3":"1396801141"},"map_files_photo_id_array":[{"photo_id":"1396801143","filename":"file5"},{"photo_id":"1396801140","filename":"file2"},{"photo_id":"1396801142","filename":"file4"},{"photo_id":"1396801139","filename":"file1"},{"photo_id":"1396801137","filename":"file0"},{"photo_id":"1396801141","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396801142":["hashtag1","hashtag2"]},{"1396801139":["hashtag1","hashtag2"]},{"1396801141":["hashtag1","hashtag2"]},{"1396801143":["hashtag1","hashtag2"]},{"1396801137":["hashtag1","hashtag2"]},{"1396801140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396801142, 1396801139, 1396801141, 1396801143, 1396801137, 1396801140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73424768447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:48:22.002635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/46/image_29112025_02_46_14_9641.jpg', '/home/pi/Desktop/images/29112025/02/46/image_29112025_02_46_24_9657.jpg', '/home/pi/Desktop/images/29112025/02/46/image_29112025_02_46_54_9633.jpg', '/home/pi/Desktop/images/29112025/02/46/image_29112025_02_47_05_10770.jpg', '/home/pi/Desktop/images/29112025/02/47/image_29112025_02_47_14_9703.jpg', '/home/pi/Desktop/images/29112025/02/47/image_29112025_02_47_34_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/46/image_29112025_02_46_14_9641.jpg
/home/pi/Desktop/images/29112025/02/46/image_29112025_02_46_24_9657.jpg
/home/pi/Desktop/images/29112025/02/46/image_29112025_02_46_54_9633.jpg
/home/pi/Desktop/images/29112025/02/46/image_29112025_02_47_05_10770.jpg
/home/pi/Desktop/images/29112025/02/47/image_29112025_02_47_14_9703.jpg
/home/pi/Desktop/images/29112025/02/47/image_29112025_02_47_34_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801157","1396801156","1396801152","1396801146","1396801149","1396801154"],"photo_ids_order":["1396801146","1396801149","1396801152","1396801154","1396801156","1396801157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7116990ef149882bd516a795fc05116.jpg","text":"TemporaryFile(/tmp/multipartBody360412681714793664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380962738,"filename":"image_29112025_02_47_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/11/29/5522bc195d28c84cca8af793a2f11549.jpg","text":"TemporaryFile(/tmp/multipartBody8744882850859528313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380962738,"filename":"image_29112025_02_47_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/11/29/e07bea2e5cb9cb7fbbff9bb798383536.jpg","text":"TemporaryFile(/tmp/multipartBody460956198551682763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380962738,"filename":"image_29112025_02_46_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb4284684d01c36919fdc8bf10760153.jpg","text":"TemporaryFile(/tmp/multipartBody788777855992296256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380962738,"filename":"image_29112025_02_46_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/11/29/191121eef3afb1f47e1907b43a8ee960.jpg","text":"TemporaryFile(/tmp/multipartBody906028302153979227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380962738,"filename":"image_29112025_02_46_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f598bf7a1ae1df8af5df0a8eb40484e.jpg","text":"TemporaryFile(/tmp/multipartBody8762766204130634624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764380962738,"filename":"image_29112025_02_47_05_10770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801152","file1":"1396801149","file0":"1396801146","file4":"1396801156","file5":"1396801157","file3":"1396801154"},"map_files_photo_id_array":[{"photo_id":"1396801157","filename":"file5"},{"photo_id":"1396801152","filename":"file2"},{"photo_id":"1396801156","filename":"file4"},{"photo_id":"1396801149","filename":"file1"},{"photo_id":"1396801146","filename":"file0"},{"photo_id":"1396801154","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801157":["hashtag1","hashtag2"]},{"1396801156":["hashtag1","hashtag2"]},{"1396801152":["hashtag1","hashtag2"]},{"1396801146":["hashtag1","hashtag2"]},{"1396801149":["hashtag1","hashtag2"]},{"1396801154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801157, 1396801156, 1396801152, 1396801146, 1396801149, 1396801154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89312291145325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:49:03.127654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/47/image_29112025_02_47_44_10553.jpg', '/home/pi/Desktop/images/29112025/02/47/image_29112025_02_47_54_9691.jpg', '/home/pi/Desktop/images/29112025/02/48/image_29112025_02_48_14_9575.jpg', '/home/pi/Desktop/images/29112025/02/48/image_29112025_02_48_24_9741.jpg', '/home/pi/Desktop/images/29112025/02/48/image_29112025_02_48_34_10553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/47/image_29112025_02_47_44_10553.jpg
/home/pi/Desktop/images/29112025/02/47/image_29112025_02_47_54_9691.jpg
/home/pi/Desktop/images/29112025/02/48/image_29112025_02_48_14_9575.jpg
/home/pi/Desktop/images/29112025/02/48/image_29112025_02_48_24_9741.jpg
/home/pi/Desktop/images/29112025/02/48/image_29112025_02_48_34_10553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801183","1396801188","1396801185","1396801184","1396801172"],"photo_ids_order":["1396801172","1396801183","1396801184","1396801185","1396801188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/467b27bedc0c26ce39b582bba1ff5ff3.jpg","text":"TemporaryFile(/tmp/multipartBody3730011451545834115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381003983,"filename":"image_29112025_02_47_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/11/29/71ef05a0c5e794cc567a2859d24a009b.jpg","text":"TemporaryFile(/tmp/multipartBody8856068938888111719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381003983,"filename":"image_29112025_02_48_34_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b29a6139944fae1f710209caf274010.jpg","text":"TemporaryFile(/tmp/multipartBody3767440123774432393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381003983,"filename":"image_29112025_02_48_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e9f929bdb378f25747d30031c60147f.jpg","text":"TemporaryFile(/tmp/multipartBody1008525793103532982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381003983,"filename":"image_29112025_02_48_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/11/29/529380430eeb050485a832f544a9a218.jpg","text":"TemporaryFile(/tmp/multipartBody7580918573885163483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381003983,"filename":"image_29112025_02_47_44_10553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801184","file1":"1396801183","file0":"1396801172","file4":"1396801188","file3":"1396801185"},"map_files_photo_id_array":[{"photo_id":"1396801184","filename":"file2"},{"photo_id":"1396801188","filename":"file4"},{"photo_id":"1396801183","filename":"file1"},{"photo_id":"1396801172","filename":"file0"},{"photo_id":"1396801185","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801183":["hashtag1","hashtag2"]},{"1396801188":["hashtag1","hashtag2"]},{"1396801185":["hashtag1","hashtag2"]},{"1396801184":["hashtag1","hashtag2"]},{"1396801172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801183, 1396801188, 1396801185, 1396801184, 1396801172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.21789479255676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:49:42.203070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_41_7026.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_43_1703.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_44_1622.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_46_1649.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_47_1592.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_50_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/08/26/image_31102025_08_26_41_7026.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_43_1703.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_44_1622.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_46_1649.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_47_1592.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_50_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":["1396801202","1396801198","1396801201","1396801197","1396801200","1396801199"],"photo_ids_order":["1396801197","1396801198","1396801199","1396801200","1396801201","1396801202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/610a7eaf111931ae83298592ecc151b4.jpg","text":"TemporaryFile(/tmp/multipartBody3060479920834778485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381043297,"filename":"image_31102025_08_26_50_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab470302288edbe399679d83ac7aa083.jpg","text":"TemporaryFile(/tmp/multipartBody8056371608101423518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381043297,"filename":"image_31102025_08_26_43_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1b67774f3f4b6dff371e213d6f80620.jpg","text":"TemporaryFile(/tmp/multipartBody153403487429577212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381043297,"filename":"image_31102025_08_26_47_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf6efce0da0bcb64228d960d442145d1.jpg","text":"TemporaryFile(/tmp/multipartBody3240344557203768308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381043297,"filename":"image_31102025_08_26_41_7026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f88962ae6988a420446fa879ca24b93.jpg","text":"TemporaryFile(/tmp/multipartBody1760988950643065643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381043297,"filename":"image_31102025_08_26_46_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43c30e7ed21e3f1f3452a57302f18bff.jpg","text":"TemporaryFile(/tmp/multipartBody389136888398536144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381043297,"filename":"image_31102025_08_26_44_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801199","file1":"1396801198","file0":"1396801197","file4":"1396801201","file5":"1396801202","file3":"1396801200"},"map_files_photo_id_array":[{"photo_id":"1396801202","filename":"file5"},{"photo_id":"1396801199","filename":"file2"},{"photo_id":"1396801201","filename":"file4"},{"photo_id":"1396801198","filename":"file1"},{"photo_id":"1396801197","filename":"file0"},{"photo_id":"1396801200","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396801202":["hashtag1","hashtag2"]},{"1396801198":["hashtag1","hashtag2"]},{"1396801201":["hashtag1","hashtag2"]},{"1396801197":["hashtag1","hashtag2"]},{"1396801200":["hashtag1","hashtag2"]},{"1396801199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396801202, 1396801198, 1396801201, 1396801197, 1396801200, 1396801199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08115577697754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:50:22.388826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/48/image_29112025_02_48_54_9654.jpg', '/home/pi/Desktop/images/29112025/02/49/image_29112025_02_49_14_9697.jpg', '/home/pi/Desktop/images/29112025/02/49/image_29112025_02_49_24_9821.jpg', '/home/pi/Desktop/images/29112025/02/49/image_29112025_02_49_34_9718.jpg', '/home/pi/Desktop/images/29112025/02/49/image_29112025_02_49_44_10607.jpg', '/home/pi/Desktop/images/29112025/02/49/image_29112025_02_49_54_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/48/image_29112025_02_48_54_9654.jpg
/home/pi/Desktop/images/29112025/02/49/image_29112025_02_49_14_9697.jpg
/home/pi/Desktop/images/29112025/02/49/image_29112025_02_49_24_9821.jpg
/home/pi/Desktop/images/29112025/02/49/image_29112025_02_49_34_9718.jpg
/home/pi/Desktop/images/29112025/02/49/image_29112025_02_49_44_10607.jpg
/home/pi/Desktop/images/29112025/02/49/image_29112025_02_49_54_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":["1396801220","1396801214","1396801217","1396801211","1396801208","1396801204"],"photo_ids_order":["1396801204","1396801208","1396801211","1396801214","1396801217","1396801220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a9f3d73358398d790fcf0890b06237d.jpg","text":"TemporaryFile(/tmp/multipartBody91796342724327360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381083130,"filename":"image_29112025_02_49_54_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2290e476e131519263f66142052024b4.jpg","text":"TemporaryFile(/tmp/multipartBody8683594293718119768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381083130,"filename":"image_29112025_02_49_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/11/29/903f7fa233aaffb71f58c72594f6db6c.jpg","text":"TemporaryFile(/tmp/multipartBody6120919260543529243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381083130,"filename":"image_29112025_02_49_44_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b9e10939808179d15f85b8031bdd686.jpg","text":"TemporaryFile(/tmp/multipartBody1178336500910351466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381083130,"filename":"image_29112025_02_49_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/11/29/9309c35e8158b8f656ae64be25776617.jpg","text":"TemporaryFile(/tmp/multipartBody1029828757981463067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381083130,"filename":"image_29112025_02_49_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96696c4a06915c560379c393cc7b94c1.jpg","text":"TemporaryFile(/tmp/multipartBody8875008855153835969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381083130,"filename":"image_29112025_02_48_54_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801211","file1":"1396801208","file0":"1396801204","file4":"1396801217","file5":"1396801220","file3":"1396801214"},"map_files_photo_id_array":[{"photo_id":"1396801220","filename":"file5"},{"photo_id":"1396801211","filename":"file2"},{"photo_id":"1396801217","filename":"file4"},{"photo_id":"1396801208","filename":"file1"},{"photo_id":"1396801204","filename":"file0"},{"photo_id":"1396801214","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801220":["hashtag1","hashtag2"]},{"1396801214":["hashtag1","hashtag2"]},{"1396801217":["hashtag1","hashtag2"]},{"1396801211":["hashtag1","hashtag2"]},{"1396801208":["hashtag1","hashtag2"]},{"1396801204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801220, 1396801214, 1396801217, 1396801211, 1396801208, 1396801204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34016728401184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:51:03.362065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/49/image_29112025_02_50_04_9725.jpg', '/home/pi/Desktop/images/29112025/02/50/image_29112025_02_50_14_10754.jpg', '/home/pi/Desktop/images/29112025/02/50/image_29112025_02_50_44_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/49/image_29112025_02_50_04_9725.jpg
/home/pi/Desktop/images/29112025/02/50/image_29112025_02_50_14_10754.jpg
/home/pi/Desktop/images/29112025/02/50/image_29112025_02_50_44_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801226","1396801225","1396801224"],"photo_ids_order":["1396801224","1396801225","1396801226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6db7a2bfdc5f798d2bc921fd94adf8b.jpg","text":"TemporaryFile(/tmp/multipartBody7825524920753578370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381124027,"filename":"image_29112025_02_50_44_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a04aec5ea84834d8a35209027282555b.jpg","text":"TemporaryFile(/tmp/multipartBody4498711800246797897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381124027,"filename":"image_29112025_02_50_14_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0eadb4a7cca221127b16e3e9f8c6cee.jpg","text":"TemporaryFile(/tmp/multipartBody6243982727491937550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381124027,"filename":"image_29112025_02_50_04_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801226","file1":"1396801225","file0":"1396801224"},"map_files_photo_id_array":[{"photo_id":"1396801226","filename":"file2"},{"photo_id":"1396801225","filename":"file1"},{"photo_id":"1396801224","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801226":["hashtag1","hashtag2"]},{"1396801225":["hashtag1","hashtag2"]},{"1396801224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801226, 1396801225, 1396801224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.54576086997986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:51:32.555804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_28_8858.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_29_1672.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_31_1630.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_33_1620.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_34_1552.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_36_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_28_8858.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_29_1672.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_31_1630.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_33_1620.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_34_1552.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_36_1701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801244","1396801246","1396801242","1396801236","1396801239","1396801233"],"photo_ids_order":["1396801233","1396801236","1396801239","1396801242","1396801244","1396801246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32db5d6a355457996594fb954fb91006.jpg","text":"TemporaryFile(/tmp/multipartBody7632220817176655490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381154747,"filename":"image_25112025_17_32_34_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf7386de3f94d20842a8082a97c42fe3.jpg","text":"TemporaryFile(/tmp/multipartBody17737343262104069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381154747,"filename":"image_25112025_17_32_36_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8fd89cfe2333595492f8912649ab719.jpg","text":"TemporaryFile(/tmp/multipartBody2960824717544312448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381154747,"filename":"image_25112025_17_32_33_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f99a81ca72c3c560619cbc1322c5c497.jpg","text":"TemporaryFile(/tmp/multipartBody8196274243174139043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381154747,"filename":"image_25112025_17_32_29_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ed131db23be4db580aa0aea3ba22201.jpg","text":"TemporaryFile(/tmp/multipartBody4653402351380933936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381154747,"filename":"image_25112025_17_32_31_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30cc4d77822a533ee7b4e4cfc59b829a.jpg","text":"TemporaryFile(/tmp/multipartBody5269774212913261699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381154747,"filename":"image_25112025_17_32_28_8858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801239","file1":"1396801236","file0":"1396801233","file4":"1396801244","file5":"1396801246","file3":"1396801242"},"map_files_photo_id_array":[{"photo_id":"1396801246","filename":"file5"},{"photo_id":"1396801239","filename":"file2"},{"photo_id":"1396801244","filename":"file4"},{"photo_id":"1396801236","filename":"file1"},{"photo_id":"1396801233","filename":"file0"},{"photo_id":"1396801242","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801244":["hashtag1","hashtag2"]},{"1396801246":["hashtag1","hashtag2"]},{"1396801242":["hashtag1","hashtag2"]},{"1396801236":["hashtag1","hashtag2"]},{"1396801239":["hashtag1","hashtag2"]},{"1396801233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801244, 1396801246, 1396801242, 1396801236, 1396801239, 1396801233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43240308761597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:52:12.716169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_38_1704.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_41_2942.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_42_1728.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_44_1583.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_45_1532.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_47_1676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_38_1704.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_41_2942.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_42_1728.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_44_1583.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_45_1532.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_47_1676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801262","1396801258","1396801252","1396801255","1396801260","1396801250"],"photo_ids_order":["1396801250","1396801252","1396801255","1396801258","1396801260","1396801262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/daa28e86f21b481d7d4b3a3d8d7c690f.jpg","text":"TemporaryFile(/tmp/multipartBody1285986400676713084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381194873,"filename":"image_25112025_17_32_47_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df82e483aff1abd00c21aee38703c651.jpg","text":"TemporaryFile(/tmp/multipartBody7869538337121882851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381194873,"filename":"image_25112025_17_32_44_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97a8bbd7f037060b5f57dd6acc7b7a6e.jpg","text":"TemporaryFile(/tmp/multipartBody9204222269156198803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381194873,"filename":"image_25112025_17_32_41_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fac5b53a70f420292a0283e7744f2132.jpg","text":"TemporaryFile(/tmp/multipartBody7056651460577940380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381194873,"filename":"image_25112025_17_32_42_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63afbd56c038cd9a57239b132d1e4ac8.jpg","text":"TemporaryFile(/tmp/multipartBody4466486259354691220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381194873,"filename":"image_25112025_17_32_45_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09bfa1cda449a7948da71f4ff4e3b302.jpg","text":"TemporaryFile(/tmp/multipartBody6251410359806919602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381194873,"filename":"image_25112025_17_32_38_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801255","file1":"1396801252","file0":"1396801250","file4":"1396801260","file5":"1396801262","file3":"1396801258"},"map_files_photo_id_array":[{"photo_id":"1396801262","filename":"file5"},{"photo_id":"1396801255","filename":"file2"},{"photo_id":"1396801260","filename":"file4"},{"photo_id":"1396801252","filename":"file1"},{"photo_id":"1396801250","filename":"file0"},{"photo_id":"1396801258","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801262":["hashtag1","hashtag2"]},{"1396801258":["hashtag1","hashtag2"]},{"1396801252":["hashtag1","hashtag2"]},{"1396801255":["hashtag1","hashtag2"]},{"1396801260":["hashtag1","hashtag2"]},{"1396801250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801262, 1396801258, 1396801252, 1396801255, 1396801260, 1396801250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03252100944519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:53:02.615327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/50/image_29112025_02_50_54_10761.jpg', '/home/pi/Desktop/images/29112025/02/50/image_29112025_02_51_04_9827.jpg', '/home/pi/Desktop/images/29112025/02/51/image_29112025_02_51_14_9720.jpg', '/home/pi/Desktop/images/29112025/02/51/image_29112025_02_51_25_10549.jpg', '/home/pi/Desktop/images/29112025/02/51/image_29112025_02_51_34_9742.jpg', '/home/pi/Desktop/images/29112025/02/51/image_29112025_02_51_55_10554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/50/image_29112025_02_50_54_10761.jpg
/home/pi/Desktop/images/29112025/02/50/image_29112025_02_51_04_9827.jpg
/home/pi/Desktop/images/29112025/02/51/image_29112025_02_51_14_9720.jpg
/home/pi/Desktop/images/29112025/02/51/image_29112025_02_51_25_10549.jpg
/home/pi/Desktop/images/29112025/02/51/image_29112025_02_51_34_9742.jpg
/home/pi/Desktop/images/29112025/02/51/image_29112025_02_51_55_10554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801288","1396801267","1396801269","1396801271","1396801265","1396801268"],"photo_ids_order":["1396801265","1396801267","1396801268","1396801269","1396801271","1396801288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d24393c01b41f817da14daf969c530c4.jpg","text":"TemporaryFile(/tmp/multipartBody2450522538323162555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381243458,"filename":"image_29112025_02_51_55_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/126fd31b0faee2a88effd3152eefe03d.jpg","text":"TemporaryFile(/tmp/multipartBody5655151192433842918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381243458,"filename":"image_29112025_02_51_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/11/29/bf0f91a57b7751e9a6d6e28fa2d2e1fc.jpg","text":"TemporaryFile(/tmp/multipartBody4790238753119314859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381243458,"filename":"image_29112025_02_51_25_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8e04049f6a10f30315ea95de85577b3.jpg","text":"TemporaryFile(/tmp/multipartBody7341664697305918861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381243458,"filename":"image_29112025_02_51_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/11/29/7b977259f5a897bfb3ed102eb7a1d766.jpg","text":"TemporaryFile(/tmp/multipartBody7303011771236704080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381243458,"filename":"image_29112025_02_50_54_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36c4fc9c647a5a15298bcd0d6fc17b23.jpg","text":"TemporaryFile(/tmp/multipartBody4498176344664404092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381243458,"filename":"image_29112025_02_51_14_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801268","file1":"1396801267","file0":"1396801265","file4":"1396801271","file5":"1396801288","file3":"1396801269"},"map_files_photo_id_array":[{"photo_id":"1396801288","filename":"file5"},{"photo_id":"1396801268","filename":"file2"},{"photo_id":"1396801271","filename":"file4"},{"photo_id":"1396801267","filename":"file1"},{"photo_id":"1396801265","filename":"file0"},{"photo_id":"1396801269","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801288":["hashtag1","hashtag2"]},{"1396801267":["hashtag1","hashtag2"]},{"1396801269":["hashtag1","hashtag2"]},{"1396801271":["hashtag1","hashtag2"]},{"1396801265":["hashtag1","hashtag2"]},{"1396801268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801288, 1396801267, 1396801269, 1396801271, 1396801265, 1396801268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01922559738159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:53:41.995700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_54_3662.jpg', '/home/pi/Desktop/images/31102025/08/26/image_31102025_08_27_00_3589.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_04_4079.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_06_1705.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_10_4210.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_11_1576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_26_54_3662.jpg
/home/pi/Desktop/images/31102025/08/26/image_31102025_08_27_00_3589.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_04_4079.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_06_1705.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_10_4210.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_11_1576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801316","1396801319","1396801318","1396801317","1396801320","1396801314"],"photo_ids_order":["1396801314","1396801316","1396801317","1396801318","1396801319","1396801320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f19eeed3b7b2354834ef66310618218.jpg","text":"TemporaryFile(/tmp/multipartBody7533759955845559356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381283110,"filename":"image_31102025_08_27_00_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76e74a91fe76fe3f15bbf6727aa18868.jpg","text":"TemporaryFile(/tmp/multipartBody2455928376494110476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381283110,"filename":"image_31102025_08_27_10_4210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef50dbfb84a89faa71aa192007358255.jpg","text":"TemporaryFile(/tmp/multipartBody7986799960592530955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381283110,"filename":"image_31102025_08_27_06_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edf45cfe131ab413c7c8b05f77743e29.jpg","text":"TemporaryFile(/tmp/multipartBody4171401467479590641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381283110,"filename":"image_31102025_08_27_04_4079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c13cbfb2a43dff5db07fd210f634795b.jpg","text":"TemporaryFile(/tmp/multipartBody620368692899964852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381283110,"filename":"image_31102025_08_27_11_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c023391d6d3065f0156cd0e3674bf750.jpg","text":"TemporaryFile(/tmp/multipartBody6685067020900562095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381283110,"filename":"image_31102025_08_26_54_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801317","file1":"1396801316","file0":"1396801314","file4":"1396801319","file5":"1396801320","file3":"1396801318"},"map_files_photo_id_array":[{"photo_id":"1396801320","filename":"file5"},{"photo_id":"1396801317","filename":"file2"},{"photo_id":"1396801319","filename":"file4"},{"photo_id":"1396801316","filename":"file1"},{"photo_id":"1396801314","filename":"file0"},{"photo_id":"1396801318","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396801316":["hashtag1","hashtag2"]},{"1396801319":["hashtag1","hashtag2"]},{"1396801318":["hashtag1","hashtag2"]},{"1396801317":["hashtag1","hashtag2"]},{"1396801320":["hashtag1","hashtag2"]},{"1396801314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396801316, 1396801319, 1396801318, 1396801317, 1396801320, 1396801314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16032075881958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 02:54:22.174884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/51/image_29112025_02_52_04_9751.jpg', '/home/pi/Desktop/images/29112025/02/52/image_29112025_02_52_14_9651.jpg', '/home/pi/Desktop/images/29112025/02/52/image_29112025_02_52_25_10669.jpg', '/home/pi/Desktop/images/29112025/02/52/image_29112025_02_52_34_9674.jpg', '/home/pi/Desktop/images/29112025/02/52/image_29112025_02_52_44_9591.jpg', '/home/pi/Desktop/images/29112025/02/53/image_29112025_02_53_14_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/51/image_29112025_02_52_04_9751.jpg
/home/pi/Desktop/images/29112025/02/52/image_29112025_02_52_14_9651.jpg
/home/pi/Desktop/images/29112025/02/52/image_29112025_02_52_25_10669.jpg
/home/pi/Desktop/images/29112025/02/52/image_29112025_02_52_34_9674.jpg
/home/pi/Desktop/images/29112025/02/52/image_29112025_02_52_44_9591.jpg
/home/pi/Desktop/images/29112025/02/53/image_29112025_02_53_14_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801324","1396801333","1396801327","1396801335","1396801329","1396801331"],"photo_ids_order":["1396801324","1396801327","1396801329","1396801331","1396801333","1396801335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37c7ecb7b75593fd59f454021563180e.jpg","text":"TemporaryFile(/tmp/multipartBody7429777800417564288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381322916,"filename":"image_29112025_02_52_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/11/29/7813ad8f34e4f6f863e994e0ad6aaa94.jpg","text":"TemporaryFile(/tmp/multipartBody406118816965549363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381322916,"filename":"image_29112025_02_52_44_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78ce7a60705f9a6052eb4a52df66f919.jpg","text":"TemporaryFile(/tmp/multipartBody8960155764845191252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381322916,"filename":"image_29112025_02_52_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7707b33033039727f197a82ce7adb353.jpg","text":"TemporaryFile(/tmp/multipartBody3260544225055272895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381322916,"filename":"image_29112025_02_53_14_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16237ef60e196478d67afad75ca5468d.jpg","text":"TemporaryFile(/tmp/multipartBody8925653199135012812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381322916,"filename":"image_29112025_02_52_25_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a7afd1fd09a555f5bc8d698d3ff68bc.jpg","text":"TemporaryFile(/tmp/multipartBody2092595371938392463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381322916,"filename":"image_29112025_02_52_34_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801329","file1":"1396801327","file0":"1396801324","file4":"1396801333","file5":"1396801335","file3":"1396801331"},"map_files_photo_id_array":[{"photo_id":"1396801335","filename":"file5"},{"photo_id":"1396801329","filename":"file2"},{"photo_id":"1396801333","filename":"file4"},{"photo_id":"1396801327","filename":"file1"},{"photo_id":"1396801324","filename":"file0"},{"photo_id":"1396801331","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801324":["hashtag1","hashtag2"]},{"1396801333":["hashtag1","hashtag2"]},{"1396801327":["hashtag1","hashtag2"]},{"1396801335":["hashtag1","hashtag2"]},{"1396801329":["hashtag1","hashtag2"]},{"1396801331":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801324, 1396801333, 1396801327, 1396801335, 1396801329, 1396801331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62832045555115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:55:03.020336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/53/image_29112025_02_53_24_10720.jpg', '/home/pi/Desktop/images/29112025/02/53/image_29112025_02_53_55_10755.jpg', '/home/pi/Desktop/images/29112025/02/53/image_29112025_02_54_04_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/53/image_29112025_02_53_24_10720.jpg
/home/pi/Desktop/images/29112025/02/53/image_29112025_02_53_55_10755.jpg
/home/pi/Desktop/images/29112025/02/53/image_29112025_02_54_04_9768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801337","1396801336","1396801338"],"photo_ids_order":["1396801336","1396801337","1396801338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35b13eebf5b89e3ddb32cc8d0ab9ba06.jpg","text":"TemporaryFile(/tmp/multipartBody6886141861770513162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381363694,"filename":"image_29112025_02_53_55_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc544f97b5f28aa4d0268175794ab906.jpg","text":"TemporaryFile(/tmp/multipartBody7825591771652767880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381363694,"filename":"image_29112025_02_53_24_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecab9391e7b2befb7a14ccf41e936b9b.jpg","text":"TemporaryFile(/tmp/multipartBody5017542064235017278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381363694,"filename":"image_29112025_02_54_04_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801338","file1":"1396801337","file0":"1396801336"},"map_files_photo_id_array":[{"photo_id":"1396801338","filename":"file2"},{"photo_id":"1396801337","filename":"file1"},{"photo_id":"1396801336","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801337":["hashtag1","hashtag2"]},{"1396801336":["hashtag1","hashtag2"]},{"1396801338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801337, 1396801336, 1396801338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.25154948234558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:55:32.340621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_49_1496.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_53_4477.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_55_1760.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_57_1675.jpg', '/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_58_1657.jpg', '/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_01_2502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_49_1496.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_53_4477.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_55_1760.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_57_1675.jpg
/home/pi/Desktop/images/25112025/17/32/image_25112025_17_32_58_1657.jpg
/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_01_2502.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801354","1396801348","1396801353","1396801350","1396801352","1396801346"],"photo_ids_order":["1396801346","1396801348","1396801350","1396801352","1396801353","1396801354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22fb46f48f03720e709a337b9a4a3b55.jpg","text":"TemporaryFile(/tmp/multipartBody7349663351452004183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381394538,"filename":"image_25112025_17_33_01_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42c8a240d8a573c61beb3e1387f91160.jpg","text":"TemporaryFile(/tmp/multipartBody3153016904686559086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381394538,"filename":"image_25112025_17_32_53_4477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/588fcbcbe3528b88fbc5d83e92abf97e.jpg","text":"TemporaryFile(/tmp/multipartBody8507610085541760473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381394538,"filename":"image_25112025_17_32_58_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/078e19cb007dd1a9bd4bda6c67ecf7c3.jpg","text":"TemporaryFile(/tmp/multipartBody4259985454477707617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381394538,"filename":"image_25112025_17_32_55_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a263df7b159be2cffafe534b46ae2af.jpg","text":"TemporaryFile(/tmp/multipartBody9075092585394394254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381394538,"filename":"image_25112025_17_32_57_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56c5147f0dcce5d4cdf632697f144af9.jpg","text":"TemporaryFile(/tmp/multipartBody8320954128298175808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381394538,"filename":"image_25112025_17_32_49_1496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801350","file1":"1396801348","file0":"1396801346","file4":"1396801353","file5":"1396801354","file3":"1396801352"},"map_files_photo_id_array":[{"photo_id":"1396801354","filename":"file5"},{"photo_id":"1396801350","filename":"file2"},{"photo_id":"1396801353","filename":"file4"},{"photo_id":"1396801348","filename":"file1"},{"photo_id":"1396801346","filename":"file0"},{"photo_id":"1396801352","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801354":["hashtag1","hashtag2"]},{"1396801348":["hashtag1","hashtag2"]},{"1396801353":["hashtag1","hashtag2"]},{"1396801350":["hashtag1","hashtag2"]},{"1396801352":["hashtag1","hashtag2"]},{"1396801346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801354, 1396801348, 1396801353, 1396801350, 1396801352, 1396801346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59303021430969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:56:12.453777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_03_2671.jpg', '/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_07_3312.jpg', '/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_10_2840.jpg', '/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_12_2801.jpg', '/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_23_10733.jpg', '/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_38_14645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_03_2671.jpg
/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_07_3312.jpg
/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_10_2840.jpg
/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_12_2801.jpg
/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_23_10733.jpg
/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_38_14645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801357","1396801371","1396801365","1396801368","1396801362","1396801359"],"photo_ids_order":["1396801357","1396801359","1396801362","1396801365","1396801368","1396801371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b162bc143b936e56f549e50af3d01c9.jpg","text":"TemporaryFile(/tmp/multipartBody4119950355838086991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381434500,"filename":"image_25112025_17_33_03_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6dcbb017f24424b9ccdeb63df4022bd3.jpg","text":"TemporaryFile(/tmp/multipartBody4676274154637046788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381434500,"filename":"image_25112025_17_33_38_14645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ede7171481dafcee27057775800c4fd.jpg","text":"TemporaryFile(/tmp/multipartBody3479005117392065846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381434500,"filename":"image_25112025_17_33_12_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2aed443ceb05c3d496332f7496d89b31.jpg","text":"TemporaryFile(/tmp/multipartBody2058648710186969479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381434500,"filename":"image_25112025_17_33_23_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34f8208a6e873aa205f523a57410a8a3.jpg","text":"TemporaryFile(/tmp/multipartBody1110303873769883314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381434500,"filename":"image_25112025_17_33_10_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64fbddf69e827ae4413689161b97c0da.jpg","text":"TemporaryFile(/tmp/multipartBody6868873782322694554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381434500,"filename":"image_25112025_17_33_07_3312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801362","file1":"1396801359","file0":"1396801357","file4":"1396801368","file5":"1396801371","file3":"1396801365"},"map_files_photo_id_array":[{"photo_id":"1396801371","filename":"file5"},{"photo_id":"1396801362","filename":"file2"},{"photo_id":"1396801368","filename":"file4"},{"photo_id":"1396801359","filename":"file1"},{"photo_id":"1396801357","filename":"file0"},{"photo_id":"1396801365","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801357":["hashtag1","hashtag2"]},{"1396801371":["hashtag1","hashtag2"]},{"1396801365":["hashtag1","hashtag2"]},{"1396801368":["hashtag1","hashtag2"]},{"1396801362":["hashtag1","hashtag2"]},{"1396801359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801357, 1396801371, 1396801365, 1396801368, 1396801362, 1396801359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54163861274719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:57:03.456335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/54/image_29112025_02_54_24_9841.jpg', '/home/pi/Desktop/images/29112025/02/55/image_29112025_02_55_14_9717.jpg', '/home/pi/Desktop/images/29112025/02/55/image_29112025_02_55_54_9722.jpg', '/home/pi/Desktop/images/29112025/02/56/image_29112025_02_56_34_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/54/image_29112025_02_54_24_9841.jpg
/home/pi/Desktop/images/29112025/02/55/image_29112025_02_55_14_9717.jpg
/home/pi/Desktop/images/29112025/02/55/image_29112025_02_55_54_9722.jpg
/home/pi/Desktop/images/29112025/02/56/image_29112025_02_56_34_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801375","1396801374","1396801377","1396801373"],"photo_ids_order":["1396801373","1396801374","1396801375","1396801377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16bbf1e962483aa6644ae49c7df27950.jpg","text":"TemporaryFile(/tmp/multipartBody1305086155018617882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381484275,"filename":"image_29112025_02_55_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/11/29/322abc8feddd1fb6795801bc9feda5dc.jpg","text":"TemporaryFile(/tmp/multipartBody7615500118717793458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381484275,"filename":"image_29112025_02_55_14_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/743ad0362f19e1c77c0305de0416ca37.jpg","text":"TemporaryFile(/tmp/multipartBody5576209128832402920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381484275,"filename":"image_29112025_02_56_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af4643e6f96f11ba6168343807197d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1532386575920616751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381484275,"filename":"image_29112025_02_54_24_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801375","file1":"1396801374","file0":"1396801373","file3":"1396801377"},"map_files_photo_id_array":[{"photo_id":"1396801375","filename":"file2"},{"photo_id":"1396801374","filename":"file1"},{"photo_id":"1396801373","filename":"file0"},{"photo_id":"1396801377","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801375":["hashtag1","hashtag2"]},{"1396801374":["hashtag1","hashtag2"]},{"1396801377":["hashtag1","hashtag2"]},{"1396801373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801375, 1396801374, 1396801377, 1396801373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.25052309036255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 02:57:32.800537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_39_1536.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_01_21719.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_03_1640.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_06_1656.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_08_1912.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_09_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/33/image_25112025_17_33_39_1536.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_01_21719.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_03_1640.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_06_1656.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_08_1912.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_09_1673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801390","1396801392","1396801389","1396801391","1396801385","1396801388"],"photo_ids_order":["1396801385","1396801388","1396801389","1396801390","1396801391","1396801392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c9a218d38b9f521aa3894037b7eb806.jpg","text":"TemporaryFile(/tmp/multipartBody175303972958954043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381514968,"filename":"image_25112025_17_34_06_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/366da7860e4ad666949f0ee2f635ecbe.jpg","text":"TemporaryFile(/tmp/multipartBody4529997994791108484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381514968,"filename":"image_25112025_17_34_09_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e069e48d022b04bb7eb75837dc6d1807.jpg","text":"TemporaryFile(/tmp/multipartBody3917838641234327839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381514968,"filename":"image_25112025_17_34_03_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a479ef6c4673c6863cce22226a4c6a1.jpg","text":"TemporaryFile(/tmp/multipartBody5438645562293037762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381514968,"filename":"image_25112025_17_34_08_1912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/920d9d0d02c076c033f5a4cf25e2860e.jpg","text":"TemporaryFile(/tmp/multipartBody3346915723092504648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381514968,"filename":"image_25112025_17_33_39_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4845b58eaba7929ec615109e3b91945c.jpg","text":"TemporaryFile(/tmp/multipartBody643376226912169941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381514968,"filename":"image_25112025_17_34_01_21719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801389","file1":"1396801388","file0":"1396801385","file4":"1396801391","file5":"1396801392","file3":"1396801390"},"map_files_photo_id_array":[{"photo_id":"1396801392","filename":"file5"},{"photo_id":"1396801389","filename":"file2"},{"photo_id":"1396801391","filename":"file4"},{"photo_id":"1396801388","filename":"file1"},{"photo_id":"1396801385","filename":"file0"},{"photo_id":"1396801390","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801390":["hashtag1","hashtag2"]},{"1396801392":["hashtag1","hashtag2"]},{"1396801389":["hashtag1","hashtag2"]},{"1396801391":["hashtag1","hashtag2"]},{"1396801385":["hashtag1","hashtag2"]},{"1396801388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801390, 1396801392, 1396801389, 1396801391, 1396801385, 1396801388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26006507873535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 02:59:03.124486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/56/image_29112025_02_56_44_9843.jpg', '/home/pi/Desktop/images/29112025/02/57/image_29112025_02_57_14_9805.jpg', '/home/pi/Desktop/images/29112025/02/57/image_29112025_02_57_25_10772.jpg', '/home/pi/Desktop/images/29112025/02/57/image_29112025_02_57_34_9671.jpg', '/home/pi/Desktop/images/29112025/02/57/image_29112025_02_57_55_10642.jpg', '/home/pi/Desktop/images/29112025/02/58/image_29112025_02_58_14_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/56/image_29112025_02_56_44_9843.jpg
/home/pi/Desktop/images/29112025/02/57/image_29112025_02_57_14_9805.jpg
/home/pi/Desktop/images/29112025/02/57/image_29112025_02_57_25_10772.jpg
/home/pi/Desktop/images/29112025/02/57/image_29112025_02_57_34_9671.jpg
/home/pi/Desktop/images/29112025/02/57/image_29112025_02_57_55_10642.jpg
/home/pi/Desktop/images/29112025/02/58/image_29112025_02_58_14_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801409","1396801400","1396801406","1396801396","1396801410","1396801404"],"photo_ids_order":["1396801396","1396801400","1396801404","1396801406","1396801409","1396801410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/497428ca68b2d3e85aa989e82654135d.jpg","text":"TemporaryFile(/tmp/multipartBody6201191312607850888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381603973,"filename":"image_29112025_02_57_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/11/29/56c19777e9b3bb5719279916cf8b233a.jpg","text":"TemporaryFile(/tmp/multipartBody7408177425541262359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381603973,"filename":"image_29112025_02_57_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/11/29/d80812685bca240c73956b429c4e2632.jpg","text":"TemporaryFile(/tmp/multipartBody6374304763749002581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381603973,"filename":"image_29112025_02_57_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/11/29/1fbade9f919c5605f0984d14fd4fdcd9.jpg","text":"TemporaryFile(/tmp/multipartBody2939240960142233819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381603973,"filename":"image_29112025_02_56_44_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09c7dee19099b7664aea3000d0f09f65.jpg","text":"TemporaryFile(/tmp/multipartBody2181927923553140186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381603973,"filename":"image_29112025_02_58_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf9e6337b90202ba9208fd793bf7a7d9.jpg","text":"TemporaryFile(/tmp/multipartBody701698197670842930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381603973,"filename":"image_29112025_02_57_25_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801404","file1":"1396801400","file0":"1396801396","file4":"1396801409","file5":"1396801410","file3":"1396801406"},"map_files_photo_id_array":[{"photo_id":"1396801410","filename":"file5"},{"photo_id":"1396801404","filename":"file2"},{"photo_id":"1396801409","filename":"file4"},{"photo_id":"1396801400","filename":"file1"},{"photo_id":"1396801396","filename":"file0"},{"photo_id":"1396801406","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396801409":["hashtag1","hashtag2"]},{"1396801400":["hashtag1","hashtag2"]},{"1396801406":["hashtag1","hashtag2"]},{"1396801396":["hashtag1","hashtag2"]},{"1396801410":["hashtag1","hashtag2"]},{"1396801404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396801409, 1396801400, 1396801406, 1396801396, 1396801410, 1396801404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.287927865982056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 02:59:41.948937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_14_2591.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_18_3599.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_26_8025.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_27_1774.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_29_1628.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_32_2451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_14_2591.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_18_3599.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_26_8025.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_27_1774.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_29_1628.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_32_2451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801424","1396801422","1396801416","1396801419","1396801439","1396801430"],"photo_ids_order":["1396801416","1396801419","1396801422","1396801424","1396801430","1396801439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccd522e3dbdb09155d3386a90a3a9c55.jpg","text":"TemporaryFile(/tmp/multipartBody7252612642065844754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381643082,"filename":"image_31102025_08_27_27_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc4511ab2a6ee90d340e1e7223c2c301.jpg","text":"TemporaryFile(/tmp/multipartBody3496683461156180302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381643082,"filename":"image_31102025_08_27_26_8025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a976463543da64023542c56c59066f4a.jpg","text":"TemporaryFile(/tmp/multipartBody543652806231763211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381643082,"filename":"image_31102025_08_27_14_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f95db46d17a87d1186b21730de0de38a.jpg","text":"TemporaryFile(/tmp/multipartBody3320462488702830164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381643082,"filename":"image_31102025_08_27_18_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/677f9bc393aff0caa0754d25f8c04cd4.jpg","text":"TemporaryFile(/tmp/multipartBody9040434913100141582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381643082,"filename":"image_31102025_08_27_32_2451.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e11ed7165bcb41416978299ae23efec.jpg","text":"TemporaryFile(/tmp/multipartBody8549633013507056800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381643082,"filename":"image_31102025_08_27_29_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801422","file1":"1396801419","file0":"1396801416","file4":"1396801430","file5":"1396801439","file3":"1396801424"},"map_files_photo_id_array":[{"photo_id":"1396801439","filename":"file5"},{"photo_id":"1396801422","filename":"file2"},{"photo_id":"1396801430","filename":"file4"},{"photo_id":"1396801419","filename":"file1"},{"photo_id":"1396801416","filename":"file0"},{"photo_id":"1396801424","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396801424":["hashtag1","hashtag2"]},{"1396801422":["hashtag1","hashtag2"]},{"1396801416":["hashtag1","hashtag2"]},{"1396801419":["hashtag1","hashtag2"]},{"1396801439":["hashtag1","hashtag2"]},{"1396801430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396801424, 1396801422, 1396801416, 1396801419, 1396801439, 1396801430)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.15821385383606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:00:32.084291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_11_1486.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_17_6175.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_19_1624.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_22_1523.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_24_1709.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_25_1524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_11_1486.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_17_6175.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_19_1624.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_22_1523.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_24_1709.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_25_1524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801508","1396801474","1396801555","1396801470","1396801476","1396801472"],"photo_ids_order":["1396801470","1396801472","1396801474","1396801476","1396801508","1396801555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8381ba758964b9b79a741c7cd4e91250.jpg","text":"TemporaryFile(/tmp/multipartBody1576825313735554540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381694302,"filename":"image_25112025_17_34_24_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ecf4faeb56006721530601b26c74c0f.jpg","text":"TemporaryFile(/tmp/multipartBody1503841429105792633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381694302,"filename":"image_25112025_17_34_19_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e822c2b3dae352e207c1ce0c07bbf310.jpg","text":"TemporaryFile(/tmp/multipartBody3690278353302837859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381694302,"filename":"image_25112025_17_34_25_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c606d93550eac16963135e24ef234a0a.jpg","text":"TemporaryFile(/tmp/multipartBody5283542864281746440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381694302,"filename":"image_25112025_17_34_11_1486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a42fab98da523cd5b19e317f5362579b.jpg","text":"TemporaryFile(/tmp/multipartBody5569802803182035768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381694302,"filename":"image_25112025_17_34_22_1523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/446b87ee821c0f38675fa961a3260b0c.jpg","text":"TemporaryFile(/tmp/multipartBody4379840270133598363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381694302,"filename":"image_25112025_17_34_17_6175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801474","file1":"1396801472","file0":"1396801470","file4":"1396801508","file5":"1396801555","file3":"1396801476"},"map_files_photo_id_array":[{"photo_id":"1396801555","filename":"file5"},{"photo_id":"1396801474","filename":"file2"},{"photo_id":"1396801508","filename":"file4"},{"photo_id":"1396801472","filename":"file1"},{"photo_id":"1396801470","filename":"file0"},{"photo_id":"1396801476","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801508":["hashtag1","hashtag2"]},{"1396801474":["hashtag1","hashtag2"]},{"1396801555":["hashtag1","hashtag2"]},{"1396801470":["hashtag1","hashtag2"]},{"1396801476":["hashtag1","hashtag2"]},{"1396801472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801508, 1396801474, 1396801555, 1396801470, 1396801476, 1396801472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.099101305007935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:01:12.350760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_27_1639.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_28_1630.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_30_1843.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_32_1647.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_33_1473.jpg', '/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_55_21152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_27_1639.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_28_1630.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_30_1843.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_32_1647.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_33_1473.jpg
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_55_21152.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396801792","1396801866","1396801685","1396801719","1396801754","1396801829"],"photo_ids_order":["1396801685","1396801719","1396801754","1396801792","1396801829","1396801866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e095bc1ccec5c36a39cc34da87abb3a.jpg","text":"TemporaryFile(/tmp/multipartBody6419252130265497974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381734439,"filename":"image_25112025_17_34_32_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c58b87036a4df2a8aeca71be6d02c69.jpg","text":"TemporaryFile(/tmp/multipartBody1824223332130500529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381734439,"filename":"image_25112025_17_34_55_21152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee819ab3c49b39726814c90714c241bf.jpg","text":"TemporaryFile(/tmp/multipartBody1077598237316791198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381734439,"filename":"image_25112025_17_34_27_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7229a096a904a0181da53c8e7a43a4f0.jpg","text":"TemporaryFile(/tmp/multipartBody2638191907819825137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381734439,"filename":"image_25112025_17_34_28_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b60cea5ae39d48aec33082d4211ce58c.jpg","text":"TemporaryFile(/tmp/multipartBody6566959641813774645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381734439,"filename":"image_25112025_17_34_30_1843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc626a7d6298bd5f4d4c8bc66be03f46.jpg","text":"TemporaryFile(/tmp/multipartBody6334915813935069094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381734439,"filename":"image_25112025_17_34_33_1473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396801754","file1":"1396801719","file0":"1396801685","file4":"1396801829","file5":"1396801866","file3":"1396801792"},"map_files_photo_id_array":[{"photo_id":"1396801866","filename":"file5"},{"photo_id":"1396801754","filename":"file2"},{"photo_id":"1396801829","filename":"file4"},{"photo_id":"1396801719","filename":"file1"},{"photo_id":"1396801685","filename":"file0"},{"photo_id":"1396801792","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396801792":["hashtag1","hashtag2"]},{"1396801866":["hashtag1","hashtag2"]},{"1396801685":["hashtag1","hashtag2"]},{"1396801719":["hashtag1","hashtag2"]},{"1396801754":["hashtag1","hashtag2"]},{"1396801829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396801792, 1396801866, 1396801685, 1396801719, 1396801754, 1396801829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74811577796936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:02:03.001582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/02/58/image_29112025_02_58_34_10671.jpg', '/home/pi/Desktop/images/29112025/02/58/image_29112025_02_58_54_9592.jpg', '/home/pi/Desktop/images/29112025/02/59/image_29112025_02_59_14_9713.jpg', '/home/pi/Desktop/images/29112025/02/59/image_29112025_02_59_24_9675.jpg', '/home/pi/Desktop/images/29112025/02/59/image_29112025_02_59_44_9616.jpg', '/home/pi/Desktop/images/29112025/02/59/image_29112025_02_59_54_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/02/58/image_29112025_02_58_34_10671.jpg
/home/pi/Desktop/images/29112025/02/58/image_29112025_02_58_54_9592.jpg
/home/pi/Desktop/images/29112025/02/59/image_29112025_02_59_14_9713.jpg
/home/pi/Desktop/images/29112025/02/59/image_29112025_02_59_24_9675.jpg
/home/pi/Desktop/images/29112025/02/59/image_29112025_02_59_44_9616.jpg
/home/pi/Desktop/images/29112025/02/59/image_29112025_02_59_54_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396802188","1396802542","1396802475","1396802259","1396802331","1396802403"],"photo_ids_order":["1396802188","1396802259","1396802331","1396802403","1396802475","1396802542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/159634c5103e9627e1c0ed1c6ec353c3.jpg","text":"TemporaryFile(/tmp/multipartBody2007266055482234437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381783766,"filename":"image_29112025_02_58_34_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3712d9550bb3e7fad9e46a5a3c815a4e.jpg","text":"TemporaryFile(/tmp/multipartBody3500232893262630302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381783766,"filename":"image_29112025_02_59_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/11/29/ba46ad67493a86adfe716fd1618bb757.jpg","text":"TemporaryFile(/tmp/multipartBody6581964811807683161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381783766,"filename":"image_29112025_02_59_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/11/29/c9fb69badd07d80aabd33535cfec1a12.jpg","text":"TemporaryFile(/tmp/multipartBody4319683910116199403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381783766,"filename":"image_29112025_02_58_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/11/29/326908920c50c13a23f1d4574d5e17dc.jpg","text":"TemporaryFile(/tmp/multipartBody7734781123768850298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381783766,"filename":"image_29112025_02_59_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9fc46cb0ce559df919210edaed38d90.jpg","text":"TemporaryFile(/tmp/multipartBody6371550391774017236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381783766,"filename":"image_29112025_02_59_24_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396802331","file1":"1396802259","file0":"1396802188","file4":"1396802475","file5":"1396802542","file3":"1396802403"},"map_files_photo_id_array":[{"photo_id":"1396802542","filename":"file5"},{"photo_id":"1396802331","filename":"file2"},{"photo_id":"1396802475","filename":"file4"},{"photo_id":"1396802259","filename":"file1"},{"photo_id":"1396802188","filename":"file0"},{"photo_id":"1396802403","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396802188":["hashtag1","hashtag2"]},{"1396802542":["hashtag1","hashtag2"]},{"1396802475":["hashtag1","hashtag2"]},{"1396802259":["hashtag1","hashtag2"]},{"1396802331":["hashtag1","hashtag2"]},{"1396802403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396802188, 1396802542, 1396802475, 1396802259, 1396802331, 1396802403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98028779029846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:02:42.529975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_33_1633.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_40_3803.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_41_1659.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_45_3639.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_48_2684.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_50_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/08/27/image_31102025_08_27_33_1633.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_40_3803.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_41_1659.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_45_3639.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_48_2684.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_50_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396802977","1396802884","1396802938","1396803045","1396803011","1396802816"],"photo_ids_order":["1396802816","1396802884","1396802938","1396802977","1396803011","1396803045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11e016812257dd201a001d143c33191a.jpg","text":"TemporaryFile(/tmp/multipartBody3218526669498197928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381823595,"filename":"image_31102025_08_27_45_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c8ebcbc3d647957a2e802e599031e6f.jpg","text":"TemporaryFile(/tmp/multipartBody2653467369989140380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381823595,"filename":"image_31102025_08_27_40_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4bf2f5235795f812d4d694c7a99152f7.jpg","text":"TemporaryFile(/tmp/multipartBody6719562285491533872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381823595,"filename":"image_31102025_08_27_41_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5aa68a2a7d46235c9ca6dc35f77aa44.jpg","text":"TemporaryFile(/tmp/multipartBody8016859351050394754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381823595,"filename":"image_31102025_08_27_50_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd909f802df10398b56c6f4d405b937a.jpg","text":"TemporaryFile(/tmp/multipartBody477119794560060487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381823595,"filename":"image_31102025_08_27_48_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78aeca1199f798524cff8899065ade01.jpg","text":"TemporaryFile(/tmp/multipartBody7369000534991549867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381823595,"filename":"image_31102025_08_27_33_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396802938","file1":"1396802884","file0":"1396802816","file4":"1396803011","file5":"1396803045","file3":"1396802977"},"map_files_photo_id_array":[{"photo_id":"1396803045","filename":"file5"},{"photo_id":"1396802938","filename":"file2"},{"photo_id":"1396803011","filename":"file4"},{"photo_id":"1396802884","filename":"file1"},{"photo_id":"1396802816","filename":"file0"},{"photo_id":"1396802977","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396802977":["hashtag1","hashtag2"]},{"1396802884":["hashtag1","hashtag2"]},{"1396802938":["hashtag1","hashtag2"]},{"1396803045":["hashtag1","hashtag2"]},{"1396803011":["hashtag1","hashtag2"]},{"1396802816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396802977, 1396802884, 1396802938, 1396803045, 1396803011, 1396802816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.009984731674194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:03:22.840378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/00/image_29112025_03_00_14_9729.jpg', '/home/pi/Desktop/images/29112025/03/00/image_29112025_03_00_35_10662.jpg', '/home/pi/Desktop/images/29112025/03/00/image_29112025_03_00_44_9674.jpg', '/home/pi/Desktop/images/29112025/03/00/image_29112025_03_00_54_9638.jpg', '/home/pi/Desktop/images/29112025/03/00/image_29112025_03_01_04_10591.jpg', '/home/pi/Desktop/images/29112025/03/01/image_29112025_03_01_35_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/00/image_29112025_03_00_14_9729.jpg
/home/pi/Desktop/images/29112025/03/00/image_29112025_03_00_35_10662.jpg
/home/pi/Desktop/images/29112025/03/00/image_29112025_03_00_44_9674.jpg
/home/pi/Desktop/images/29112025/03/00/image_29112025_03_00_54_9638.jpg
/home/pi/Desktop/images/29112025/03/00/image_29112025_03_01_04_10591.jpg
/home/pi/Desktop/images/29112025/03/01/image_29112025_03_01_35_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396803412","1396803375","1396803237","1396803192","1396803318","1396803281"],"photo_ids_order":["1396803192","1396803237","1396803281","1396803318","1396803375","1396803412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9cf8e91b82909de89adf6545243cdd55.jpg","text":"TemporaryFile(/tmp/multipartBody4752611312997584919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381863570,"filename":"image_29112025_03_01_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/11/29/f7bdd58553739b10c576a5427d1b8be7.jpg","text":"TemporaryFile(/tmp/multipartBody8778246464972599592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381863570,"filename":"image_29112025_03_01_04_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff0cb5b340e4cc868be26c614fbadf6a.jpg","text":"TemporaryFile(/tmp/multipartBody1197496382726723141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381863570,"filename":"image_29112025_03_00_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/11/29/c07254b4923715ea4afa0be49497ca4a.jpg","text":"TemporaryFile(/tmp/multipartBody6104190309742829107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381863570,"filename":"image_29112025_03_00_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/11/29/15a2603a7aa1c9fc2e7c25ac7fc8f632.jpg","text":"TemporaryFile(/tmp/multipartBody1694558193035368505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381863570,"filename":"image_29112025_03_00_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/11/29/606f084e9b1be92413e141c9d3975ec3.jpg","text":"TemporaryFile(/tmp/multipartBody5982952904304446400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381863570,"filename":"image_29112025_03_00_44_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396803281","file1":"1396803237","file0":"1396803192","file4":"1396803375","file5":"1396803412","file3":"1396803318"},"map_files_photo_id_array":[{"photo_id":"1396803412","filename":"file5"},{"photo_id":"1396803281","filename":"file2"},{"photo_id":"1396803375","filename":"file4"},{"photo_id":"1396803237","filename":"file1"},{"photo_id":"1396803192","filename":"file0"},{"photo_id":"1396803318","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396803412":["hashtag1","hashtag2"]},{"1396803375":["hashtag1","hashtag2"]},{"1396803237":["hashtag1","hashtag2"]},{"1396803192":["hashtag1","hashtag2"]},{"1396803318":["hashtag1","hashtag2"]},{"1396803281":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396803412, 1396803375, 1396803237, 1396803192, 1396803318, 1396803281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.781707763671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:04:03.527414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/01/image_29112025_03_01_44_9580.jpg', '/home/pi/Desktop/images/29112025/03/01/image_29112025_03_01_54_9736.jpg', '/home/pi/Desktop/images/29112025/03/01/image_29112025_03_02_05_10689.jpg', '/home/pi/Desktop/images/29112025/03/02/image_29112025_03_02_24_9804.jpg', '/home/pi/Desktop/images/29112025/03/02/image_29112025_03_02_35_10599.jpg', '/home/pi/Desktop/images/29112025/03/02/image_29112025_03_02_44_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/01/image_29112025_03_01_44_9580.jpg
/home/pi/Desktop/images/29112025/03/01/image_29112025_03_01_54_9736.jpg
/home/pi/Desktop/images/29112025/03/01/image_29112025_03_02_05_10689.jpg
/home/pi/Desktop/images/29112025/03/02/image_29112025_03_02_24_9804.jpg
/home/pi/Desktop/images/29112025/03/02/image_29112025_03_02_35_10599.jpg
/home/pi/Desktop/images/29112025/03/02/image_29112025_03_02_44_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396803517","1396803644","1396803608","1396803682","1396803556","1396803721"],"photo_ids_order":["1396803517","1396803556","1396803608","1396803644","1396803682","1396803721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86fe948627dbd8925a09c058247e3162.jpg","text":"TemporaryFile(/tmp/multipartBody8220244557037029519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381904320,"filename":"image_29112025_03_01_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/11/29/23e828c0734c3df08e80c83b1cdca2e6.jpg","text":"TemporaryFile(/tmp/multipartBody6125208030161055481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381904320,"filename":"image_29112025_03_02_24_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/456c81afde5b9b7dbdda351181b49f77.jpg","text":"TemporaryFile(/tmp/multipartBody8652970786025715742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381904320,"filename":"image_29112025_03_02_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/11/29/609f4c0b4e044c674b0875d740aaf8ac.jpg","text":"TemporaryFile(/tmp/multipartBody7102218293861376839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381904320,"filename":"image_29112025_03_02_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/11/29/7b12f55136830899316444c1adc2f636.jpg","text":"TemporaryFile(/tmp/multipartBody773165662505549845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381904320,"filename":"image_29112025_03_01_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/11/29/d581b180a0fa565502dee625513090eb.jpg","text":"TemporaryFile(/tmp/multipartBody8551973989363645546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381904320,"filename":"image_29112025_03_02_44_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396803608","file1":"1396803556","file0":"1396803517","file4":"1396803682","file5":"1396803721","file3":"1396803644"},"map_files_photo_id_array":[{"photo_id":"1396803721","filename":"file5"},{"photo_id":"1396803608","filename":"file2"},{"photo_id":"1396803682","filename":"file4"},{"photo_id":"1396803556","filename":"file1"},{"photo_id":"1396803517","filename":"file0"},{"photo_id":"1396803644","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396803517":["hashtag1","hashtag2"]},{"1396803644":["hashtag1","hashtag2"]},{"1396803608":["hashtag1","hashtag2"]},{"1396803682":["hashtag1","hashtag2"]},{"1396803556":["hashtag1","hashtag2"]},{"1396803721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396803517, 1396803644, 1396803608, 1396803682, 1396803556, 1396803721)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.7366669178009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:05:02.512656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/02/image_29112025_03_02_54_9654.jpg', '/home/pi/Desktop/images/29112025/03/02/image_29112025_03_03_04_9794.jpg', '/home/pi/Desktop/images/29112025/03/03/image_29112025_03_03_15_10775.jpg', '/home/pi/Desktop/images/29112025/03/03/image_29112025_03_03_24_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/02/image_29112025_03_02_54_9654.jpg
/home/pi/Desktop/images/29112025/03/02/image_29112025_03_03_04_9794.jpg
/home/pi/Desktop/images/29112025/03/03/image_29112025_03_03_15_10775.jpg
/home/pi/Desktop/images/29112025/03/03/image_29112025_03_03_24_9738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396803937","1396803891","1396803994","1396803902"],"photo_ids_order":["1396803891","1396803902","1396803937","1396803994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48484e8700f2486e257580891c56e3b8.jpg","text":"TemporaryFile(/tmp/multipartBody4739838067132748404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381963273,"filename":"image_29112025_03_03_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/11/29/bb922c4e81d98a6b04df1ce6e1e24684.jpg","text":"TemporaryFile(/tmp/multipartBody4683318020849984912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381963273,"filename":"image_29112025_03_02_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/11/29/571e90880e0ca31b3bf9f0d7d19a3ab8.jpg","text":"TemporaryFile(/tmp/multipartBody966575653558939604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381963273,"filename":"image_29112025_03_03_24_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/daec402114d0b775aa0b0c1a5b7cfcfb.jpg","text":"TemporaryFile(/tmp/multipartBody6804398872507196993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381963273,"filename":"image_29112025_03_03_04_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396803937","file1":"1396803902","file0":"1396803891","file3":"1396803994"},"map_files_photo_id_array":[{"photo_id":"1396803937","filename":"file2"},{"photo_id":"1396803902","filename":"file1"},{"photo_id":"1396803891","filename":"file0"},{"photo_id":"1396803994","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396803937":["hashtag1","hashtag2"]},{"1396803891":["hashtag1","hashtag2"]},{"1396803994":["hashtag1","hashtag2"]},{"1396803902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396803937, 1396803891, 1396803994, 1396803902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.607450485229492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:05:31.988274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_56_1754.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_16_3014.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_20_3648.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_22_2835.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_26_3483.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_28_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/34/image_25112025_17_34_56_1754.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_16_3014.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_20_3648.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_22_2835.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_26_3483.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_28_2526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396804303","1396804370","1396804268","1396804181","1396804337","1396804222"],"photo_ids_order":["1396804181","1396804222","1396804268","1396804303","1396804337","1396804370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6527029b1307c0de0e22b835a96d94bd.jpg","text":"TemporaryFile(/tmp/multipartBody6067005117578101345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381994142,"filename":"image_25112025_17_35_22_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ed1d86ce7763dfbfa1569b638d01148.jpg","text":"TemporaryFile(/tmp/multipartBody318675998930253087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381994142,"filename":"image_25112025_17_35_28_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a687ac8bd3967850274771bd993165b2.jpg","text":"TemporaryFile(/tmp/multipartBody7171871568885669030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381994142,"filename":"image_25112025_17_35_20_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0b41b6aca32c9db42a8c3240e4c0d0f.jpg","text":"TemporaryFile(/tmp/multipartBody5071507666261296704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381994142,"filename":"image_25112025_17_34_56_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78a46c06ed962858a78a3c7f9277a214.jpg","text":"TemporaryFile(/tmp/multipartBody2186502564595242433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381994142,"filename":"image_25112025_17_35_26_3483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d76c716759596df2a62802261a9facef.jpg","text":"TemporaryFile(/tmp/multipartBody2722335532206756077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764381994142,"filename":"image_25112025_17_35_16_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396804268","file1":"1396804222","file0":"1396804181","file4":"1396804337","file5":"1396804370","file3":"1396804303"},"map_files_photo_id_array":[{"photo_id":"1396804370","filename":"file5"},{"photo_id":"1396804268","filename":"file2"},{"photo_id":"1396804337","filename":"file4"},{"photo_id":"1396804222","filename":"file1"},{"photo_id":"1396804181","filename":"file0"},{"photo_id":"1396804303","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396804303":["hashtag1","hashtag2"]},{"1396804370":["hashtag1","hashtag2"]},{"1396804268":["hashtag1","hashtag2"]},{"1396804181":["hashtag1","hashtag2"]},{"1396804337":["hashtag1","hashtag2"]},{"1396804222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396804303, 1396804370, 1396804268, 1396804181, 1396804337, 1396804222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00650382041931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:06:12.293725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_35_3575.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_37_2545.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_41_3683.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_44_2761.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_46_2577.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_50_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_35_3575.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_37_2545.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_41_3683.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_44_2761.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_46_2577.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_50_3619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396804452","1396804477","1396804450","1396804525","1396804528","1396804513"],"photo_ids_order":["1396804450","1396804452","1396804477","1396804513","1396804525","1396804528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/caf57d9e5f8dc29fa346a948dfa15f70.jpg","text":"TemporaryFile(/tmp/multipartBody2753668370032766617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382034326,"filename":"image_25112025_17_35_37_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/150533acf8a7bce6c6650ed4d737158b.jpg","text":"TemporaryFile(/tmp/multipartBody3520670813556649789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382034326,"filename":"image_25112025_17_35_41_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05e94b5d728951aec7c7c6e24c23bbda.jpg","text":"TemporaryFile(/tmp/multipartBody3558825235978665799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382034326,"filename":"image_25112025_17_35_35_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df422ad55b8021dfb532bee71970c77c.jpg","text":"TemporaryFile(/tmp/multipartBody1296086980790111261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382034326,"filename":"image_25112025_17_35_46_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86f39eb67e175027cdb03e8712a88a03.jpg","text":"TemporaryFile(/tmp/multipartBody5431552197860575782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382034326,"filename":"image_25112025_17_35_50_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3e1144f59924b10d4a058db3fe9af44.jpg","text":"TemporaryFile(/tmp/multipartBody2469596004966541337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382034326,"filename":"image_25112025_17_35_44_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396804477","file1":"1396804452","file0":"1396804450","file4":"1396804525","file5":"1396804528","file3":"1396804513"},"map_files_photo_id_array":[{"photo_id":"1396804528","filename":"file5"},{"photo_id":"1396804477","filename":"file2"},{"photo_id":"1396804525","filename":"file4"},{"photo_id":"1396804452","filename":"file1"},{"photo_id":"1396804450","filename":"file0"},{"photo_id":"1396804513","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396804452":["hashtag1","hashtag2"]},{"1396804477":["hashtag1","hashtag2"]},{"1396804450":["hashtag1","hashtag2"]},{"1396804525":["hashtag1","hashtag2"]},{"1396804528":["hashtag1","hashtag2"]},{"1396804513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396804452, 1396804477, 1396804450, 1396804525, 1396804528, 1396804513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.759913206100464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:07:03.105934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 03:07:12.421297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_52_2597.jpg', '/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_58_5063.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_04_6001.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_05_1608.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_07_1547.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_08_1536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_52_2597.jpg
/home/pi/Desktop/images/25112025/17/35/image_25112025_17_35_58_5063.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_04_6001.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_05_1608.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_07_1547.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_08_1536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396804600","1396804599","1396804608","1396804604","1396804601","1396804606"],"photo_ids_order":["1396804599","1396804600","1396804601","1396804604","1396804606","1396804608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/990f0a3592f21c7f7021c893a3c037a0.jpg","text":"TemporaryFile(/tmp/multipartBody6561172688128283099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382094426,"filename":"image_25112025_17_35_58_5063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7aaf59339e2ce100e3809c807cd71571.jpg","text":"TemporaryFile(/tmp/multipartBody1488161367129216943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382094426,"filename":"image_25112025_17_35_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/11/29/f35bb59cbe04e03e7dc1136a35df4b3e.jpg","text":"TemporaryFile(/tmp/multipartBody6689243788428488169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382094426,"filename":"image_25112025_17_36_08_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24237a084413130791bcd76334a9cb6f.jpg","text":"TemporaryFile(/tmp/multipartBody5981452614031827576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382094426,"filename":"image_25112025_17_36_05_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1afd99030043e09b6835d944d570f802.jpg","text":"TemporaryFile(/tmp/multipartBody1329216145977518668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382094426,"filename":"image_25112025_17_36_04_6001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5cfe65cfdff5279c558876a3d069bc60.jpg","text":"TemporaryFile(/tmp/multipartBody5071525531061852164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382094426,"filename":"image_25112025_17_36_07_1547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396804601","file1":"1396804600","file0":"1396804599","file4":"1396804606","file5":"1396804608","file3":"1396804604"},"map_files_photo_id_array":[{"photo_id":"1396804608","filename":"file5"},{"photo_id":"1396804601","filename":"file2"},{"photo_id":"1396804606","filename":"file4"},{"photo_id":"1396804600","filename":"file1"},{"photo_id":"1396804599","filename":"file0"},{"photo_id":"1396804604","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396804600":["hashtag1","hashtag2"]},{"1396804599":["hashtag1","hashtag2"]},{"1396804608":["hashtag1","hashtag2"]},{"1396804604":["hashtag1","hashtag2"]},{"1396804601":["hashtag1","hashtag2"]},{"1396804606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396804600, 1396804599, 1396804608, 1396804604, 1396804601, 1396804606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1290647983551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:08:03.193999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/03/image_29112025_03_03_55_10659.jpg', '/home/pi/Desktop/images/29112025/03/04/image_29112025_03_05_04_10619.jpg', '/home/pi/Desktop/images/29112025/03/05/image_29112025_03_05_14_9752.jpg', '/home/pi/Desktop/images/29112025/03/05/image_29112025_03_05_44_9735.jpg', '/home/pi/Desktop/images/29112025/03/05/image_29112025_03_05_54_9774.jpg', '/home/pi/Desktop/images/29112025/03/05/image_29112025_03_06_04_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/03/image_29112025_03_03_55_10659.jpg
/home/pi/Desktop/images/29112025/03/04/image_29112025_03_05_04_10619.jpg
/home/pi/Desktop/images/29112025/03/05/image_29112025_03_05_14_9752.jpg
/home/pi/Desktop/images/29112025/03/05/image_29112025_03_05_44_9735.jpg
/home/pi/Desktop/images/29112025/03/05/image_29112025_03_05_54_9774.jpg
/home/pi/Desktop/images/29112025/03/05/image_29112025_03_06_04_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396804609","1396804611","1396804620","1396804614","1396804613","1396804616"],"photo_ids_order":["1396804609","1396804611","1396804613","1396804614","1396804616","1396804620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1187b0b29aa85dac5effc4c5c9791707.jpg","text":"TemporaryFile(/tmp/multipartBody8899604236254730586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382143937,"filename":"image_29112025_03_03_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/11/29/6ff0e2e02aae18e642ae6e39d715c04b.jpg","text":"TemporaryFile(/tmp/multipartBody2758125109947201472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382143937,"filename":"image_29112025_03_05_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/11/29/5118250b4e2b9df03492dee7c807a04e.jpg","text":"TemporaryFile(/tmp/multipartBody3212215686759353516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382143937,"filename":"image_29112025_03_06_04_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06ed44eb632c02a103a61ef3252e807e.jpg","text":"TemporaryFile(/tmp/multipartBody5036649090790460530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382143937,"filename":"image_29112025_03_05_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/11/29/51898d29456b182cffb5dae1bce649d3.jpg","text":"TemporaryFile(/tmp/multipartBody8313028389360714311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382143937,"filename":"image_29112025_03_05_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/11/29/c878cb334b18e7d2c4e3900c8dd8e81f.jpg","text":"TemporaryFile(/tmp/multipartBody1413045734151411973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382143937,"filename":"image_29112025_03_05_54_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396804613","file1":"1396804611","file0":"1396804609","file4":"1396804616","file5":"1396804620","file3":"1396804614"},"map_files_photo_id_array":[{"photo_id":"1396804620","filename":"file5"},{"photo_id":"1396804613","filename":"file2"},{"photo_id":"1396804616","filename":"file4"},{"photo_id":"1396804611","filename":"file1"},{"photo_id":"1396804609","filename":"file0"},{"photo_id":"1396804614","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396804609":["hashtag1","hashtag2"]},{"1396804611":["hashtag1","hashtag2"]},{"1396804620":["hashtag1","hashtag2"]},{"1396804614":["hashtag1","hashtag2"]},{"1396804613":["hashtag1","hashtag2"]},{"1396804616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396804609, 1396804611, 1396804620, 1396804614, 1396804613, 1396804616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98739576339722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:08:42.669065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_54_3573.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_57_3015.jpg', '/home/pi/Desktop/images/31102025/08/27/image_31102025_08_28_00_2666.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_06_6151.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_09_2997.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_10_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_54_3573.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_27_57_3015.jpg
/home/pi/Desktop/images/31102025/08/27/image_31102025_08_28_00_2666.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_06_6151.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_09_2997.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_10_1717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396804626","1396804629","1396804625","1396804628","1396804627","1396804624"],"photo_ids_order":["1396804624","1396804625","1396804626","1396804627","1396804628","1396804629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d264627406640a6bdbca498e4fb57fa3.jpg","text":"TemporaryFile(/tmp/multipartBody3777228310432683409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382183727,"filename":"image_31102025_08_28_00_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39d97688cef3131da3fb8f830060fd3b.jpg","text":"TemporaryFile(/tmp/multipartBody2455527164536520149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382183727,"filename":"image_31102025_08_28_10_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a857cabbebef0af1a2ba985b3d30a681.jpg","text":"TemporaryFile(/tmp/multipartBody4854475988056796580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382183727,"filename":"image_31102025_08_27_57_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9fa19708eee61e1fbdd5e3bd102cae2.jpg","text":"TemporaryFile(/tmp/multipartBody6964342197606079912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382183727,"filename":"image_31102025_08_28_09_2997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27dd901c4208a028c478fac5366848a4.jpg","text":"TemporaryFile(/tmp/multipartBody5380459647219531545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382183727,"filename":"image_31102025_08_28_06_6151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0363d883ce50778303b4b2ea46a22d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7927811325788077758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382183727,"filename":"image_31102025_08_27_54_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396804626","file1":"1396804625","file0":"1396804624","file4":"1396804628","file5":"1396804629","file3":"1396804627"},"map_files_photo_id_array":[{"photo_id":"1396804629","filename":"file5"},{"photo_id":"1396804626","filename":"file2"},{"photo_id":"1396804628","filename":"file4"},{"photo_id":"1396804625","filename":"file1"},{"photo_id":"1396804624","filename":"file0"},{"photo_id":"1396804627","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396804626":["hashtag1","hashtag2"]},{"1396804629":["hashtag1","hashtag2"]},{"1396804625":["hashtag1","hashtag2"]},{"1396804628":["hashtag1","hashtag2"]},{"1396804627":["hashtag1","hashtag2"]},{"1396804624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396804626, 1396804629, 1396804625, 1396804628, 1396804627, 1396804624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91701674461365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:09:21.872666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/06/image_29112025_03_06_14_10575.jpg', '/home/pi/Desktop/images/29112025/03/06/image_29112025_03_06_24_9681.jpg', '/home/pi/Desktop/images/29112025/03/06/image_29112025_03_06_35_10628.jpg', '/home/pi/Desktop/images/29112025/03/06/image_29112025_03_06_44_9751.jpg', '/home/pi/Desktop/images/29112025/03/06/image_29112025_03_06_54_9633.jpg', '/home/pi/Desktop/images/29112025/03/07/image_29112025_03_07_14_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/06/image_29112025_03_06_14_10575.jpg
/home/pi/Desktop/images/29112025/03/06/image_29112025_03_06_24_9681.jpg
/home/pi/Desktop/images/29112025/03/06/image_29112025_03_06_35_10628.jpg
/home/pi/Desktop/images/29112025/03/06/image_29112025_03_06_44_9751.jpg
/home/pi/Desktop/images/29112025/03/06/image_29112025_03_06_54_9633.jpg
/home/pi/Desktop/images/29112025/03/07/image_29112025_03_07_14_9732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396804833","1396804908","1396804871","1396804793","1396804945","1396804753"],"photo_ids_order":["1396804753","1396804793","1396804833","1396804871","1396804908","1396804945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a09eba17a0470acd05ff50b022a603dc.jpg","text":"TemporaryFile(/tmp/multipartBody6170572554936360117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382222610,"filename":"image_29112025_03_06_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/11/29/612523d47d3af588fa31164b772bab96.jpg","text":"TemporaryFile(/tmp/multipartBody116094104712087618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382222610,"filename":"image_29112025_03_06_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/11/29/a568533e66b4db5a535490ab29a6e489.jpg","text":"TemporaryFile(/tmp/multipartBody5123468062570713064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382222610,"filename":"image_29112025_03_06_44_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05dd416a09803a9c4a4c57656598753f.jpg","text":"TemporaryFile(/tmp/multipartBody9157806538937184614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382222610,"filename":"image_29112025_03_06_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af5ba2a33a397fff041764e5dbad90d0.jpg","text":"TemporaryFile(/tmp/multipartBody5517480076077875544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382222610,"filename":"image_29112025_03_07_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1e77e1f328c7b0270d565ac6e1d67fe.jpg","text":"TemporaryFile(/tmp/multipartBody3539120075934884079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382222610,"filename":"image_29112025_03_06_14_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396804833","file1":"1396804793","file0":"1396804753","file4":"1396804908","file5":"1396804945","file3":"1396804871"},"map_files_photo_id_array":[{"photo_id":"1396804945","filename":"file5"},{"photo_id":"1396804833","filename":"file2"},{"photo_id":"1396804908","filename":"file4"},{"photo_id":"1396804793","filename":"file1"},{"photo_id":"1396804753","filename":"file0"},{"photo_id":"1396804871","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396804833":["hashtag1","hashtag2"]},{"1396804908":["hashtag1","hashtag2"]},{"1396804871":["hashtag1","hashtag2"]},{"1396804793":["hashtag1","hashtag2"]},{"1396804945":["hashtag1","hashtag2"]},{"1396804753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396804833, 1396804908, 1396804871, 1396804793, 1396804945, 1396804753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76104187965393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:10:02.523327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/07/image_29112025_03_07_24_9585.jpg', '/home/pi/Desktop/images/29112025/03/08/image_29112025_03_08_14_10335.jpg', '/home/pi/Desktop/images/29112025/03/08/image_29112025_03_08_34_9725.jpg', '/home/pi/Desktop/images/29112025/03/08/image_29112025_03_08_45_10749.jpg', '/home/pi/Desktop/images/29112025/03/08/image_29112025_03_08_54_9648.jpg', '/home/pi/Desktop/images/29112025/03/08/image_29112025_03_09_04_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/07/image_29112025_03_07_24_9585.jpg
/home/pi/Desktop/images/29112025/03/08/image_29112025_03_08_14_10335.jpg
/home/pi/Desktop/images/29112025/03/08/image_29112025_03_08_34_9725.jpg
/home/pi/Desktop/images/29112025/03/08/image_29112025_03_08_45_10749.jpg
/home/pi/Desktop/images/29112025/03/08/image_29112025_03_08_54_9648.jpg
/home/pi/Desktop/images/29112025/03/08/image_29112025_03_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":["1396805090","1396805168","1396805207","1396805281","1396805131","1396805244"],"photo_ids_order":["1396805090","1396805131","1396805168","1396805207","1396805244","1396805281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5999d967d8552af1408b57f516f53fef.jpg","text":"TemporaryFile(/tmp/multipartBody5557704640133961646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382263281,"filename":"image_29112025_03_07_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/11/29/b6a64ff2e2f882eb8b75d2d6305db225.jpg","text":"TemporaryFile(/tmp/multipartBody9082119570326240316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382263281,"filename":"image_29112025_03_08_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/11/29/3513a32ae0fb38829bfe33e7c7472bb2.jpg","text":"TemporaryFile(/tmp/multipartBody7449148446605994301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382263281,"filename":"image_29112025_03_08_45_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4bd48a515ca6c4259491dc18e427b35f.jpg","text":"TemporaryFile(/tmp/multipartBody5177457769881496619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382263281,"filename":"image_29112025_03_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/11/29/e23c3c9615d6a38bd428ba14e8122156.jpg","text":"TemporaryFile(/tmp/multipartBody7559419499479371776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382263281,"filename":"image_29112025_03_08_14_10335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e6dedc27b0a1d89e8c50df252d0e4f4.jpg","text":"TemporaryFile(/tmp/multipartBody3011488228582201762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382263281,"filename":"image_29112025_03_08_54_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805168","file1":"1396805131","file0":"1396805090","file4":"1396805244","file5":"1396805281","file3":"1396805207"},"map_files_photo_id_array":[{"photo_id":"1396805281","filename":"file5"},{"photo_id":"1396805168","filename":"file2"},{"photo_id":"1396805244","filename":"file4"},{"photo_id":"1396805131","filename":"file1"},{"photo_id":"1396805090","filename":"file0"},{"photo_id":"1396805207","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805090":["hashtag1","hashtag2"]},{"1396805168":["hashtag1","hashtag2"]},{"1396805207":["hashtag1","hashtag2"]},{"1396805281":["hashtag1","hashtag2"]},{"1396805131":["hashtag1","hashtag2"]},{"1396805244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805090, 1396805168, 1396805207, 1396805281, 1396805131, 1396805244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0623619556427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:10:42.033955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_12_1851.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_14_1641.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_17_3517.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_20_2633.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_24_3636.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_31_7310.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_12_1851.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_14_1641.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_17_3517.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_20_2633.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_24_3636.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_31_7310.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805316","1396805310","1396805318","1396805317","1396805311","1396805289"],"photo_ids_order":["1396805289","1396805310","1396805311","1396805316","1396805317","1396805318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c1f9f6c7b6bcb321e5dc207c2ad6951.jpg","text":"TemporaryFile(/tmp/multipartBody5922971866759731043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382303107,"filename":"image_31102025_08_28_20_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ace51e520f994971d1e85ab319ed205d.jpg","text":"TemporaryFile(/tmp/multipartBody8344659798454783612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382303107,"filename":"image_31102025_08_28_14_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34c3fc5202a059372723a58c0bb6b0b6.jpg","text":"TemporaryFile(/tmp/multipartBody720185639558371210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382303107,"filename":"image_31102025_08_28_31_7310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b1b46eebffa6814972ff96ad7720f14.jpg","text":"TemporaryFile(/tmp/multipartBody2946455481393286802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382303107,"filename":"image_31102025_08_28_24_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0762b8fefdcbfa83945407359e04594.jpg","text":"TemporaryFile(/tmp/multipartBody575596611722379984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382303107,"filename":"image_31102025_08_28_17_3517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbf4ffd064f78c8c8b4797b9b15d3857.jpg","text":"TemporaryFile(/tmp/multipartBody4811076472633395901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382303107,"filename":"image_31102025_08_28_12_1851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805311","file1":"1396805310","file0":"1396805289","file4":"1396805317","file5":"1396805318","file3":"1396805316"},"map_files_photo_id_array":[{"photo_id":"1396805318","filename":"file5"},{"photo_id":"1396805311","filename":"file2"},{"photo_id":"1396805317","filename":"file4"},{"photo_id":"1396805310","filename":"file1"},{"photo_id":"1396805289","filename":"file0"},{"photo_id":"1396805316","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396805316":["hashtag1","hashtag2"]},{"1396805310":["hashtag1","hashtag2"]},{"1396805318":["hashtag1","hashtag2"]},{"1396805317":["hashtag1","hashtag2"]},{"1396805311":["hashtag1","hashtag2"]},{"1396805289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396805316, 1396805310, 1396805318, 1396805317, 1396805311, 1396805289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.156309366226196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:11:22.206359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/09/image_29112025_03_09_14_10550.jpg', '/home/pi/Desktop/images/29112025/03/09/image_29112025_03_09_34_9679.jpg', '/home/pi/Desktop/images/29112025/03/09/image_29112025_03_09_45_10647.jpg', '/home/pi/Desktop/images/29112025/03/09/image_29112025_03_09_54_9856.jpg', '/home/pi/Desktop/images/29112025/03/09/image_29112025_03_10_04_9699.jpg', '/home/pi/Desktop/images/29112025/03/10/image_29112025_03_10_14_9818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/09/image_29112025_03_09_14_10550.jpg
/home/pi/Desktop/images/29112025/03/09/image_29112025_03_09_34_9679.jpg
/home/pi/Desktop/images/29112025/03/09/image_29112025_03_09_45_10647.jpg
/home/pi/Desktop/images/29112025/03/09/image_29112025_03_09_54_9856.jpg
/home/pi/Desktop/images/29112025/03/09/image_29112025_03_10_04_9699.jpg
/home/pi/Desktop/images/29112025/03/10/image_29112025_03_10_14_9818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805547","1396805524","1396805487","1396805550","1396805544","1396805451"],"photo_ids_order":["1396805451","1396805487","1396805524","1396805544","1396805547","1396805550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7c3627f3b3c411337caacec78090198.jpg","text":"TemporaryFile(/tmp/multipartBody8238012732569842935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382342994,"filename":"image_29112025_03_10_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/11/29/ae00ed9df2d0a0e0de482b5c85df6a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3098845338907701654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382342994,"filename":"image_29112025_03_09_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/11/29/086418aa5775bf50aff4a61f437b1e42.jpg","text":"TemporaryFile(/tmp/multipartBody162730745967526529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382342994,"filename":"image_29112025_03_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/11/29/7aed20fb2b5dd1817e56bc68dfd9311d.jpg","text":"TemporaryFile(/tmp/multipartBody3531868828181153476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382342994,"filename":"image_29112025_03_10_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/11/29/6f98283fe8cf672dc5c62b290cdc7e4a.jpg","text":"TemporaryFile(/tmp/multipartBody2021517913046744560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382342994,"filename":"image_29112025_03_09_54_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83c714dc33ee0ab75a5c9ac4085024f3.jpg","text":"TemporaryFile(/tmp/multipartBody8981995093360571678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382342994,"filename":"image_29112025_03_09_14_10550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805524","file1":"1396805487","file0":"1396805451","file4":"1396805547","file5":"1396805550","file3":"1396805544"},"map_files_photo_id_array":[{"photo_id":"1396805550","filename":"file5"},{"photo_id":"1396805524","filename":"file2"},{"photo_id":"1396805547","filename":"file4"},{"photo_id":"1396805487","filename":"file1"},{"photo_id":"1396805451","filename":"file0"},{"photo_id":"1396805544","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805547":["hashtag1","hashtag2"]},{"1396805524":["hashtag1","hashtag2"]},{"1396805487":["hashtag1","hashtag2"]},{"1396805550":["hashtag1","hashtag2"]},{"1396805544":["hashtag1","hashtag2"]},{"1396805451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805547, 1396805524, 1396805487, 1396805550, 1396805544, 1396805451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.920172929763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:12:02.814413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/10/image_29112025_03_10_35_10084.jpg', '/home/pi/Desktop/images/29112025/03/10/image_29112025_03_10_44_9744.jpg', '/home/pi/Desktop/images/29112025/03/10/image_29112025_03_10_54_9707.jpg', '/home/pi/Desktop/images/29112025/03/10/image_29112025_03_11_04_9810.jpg', '/home/pi/Desktop/images/29112025/03/11/image_29112025_03_11_15_10674.jpg', '/home/pi/Desktop/images/29112025/03/11/image_29112025_03_11_24_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/10/image_29112025_03_10_35_10084.jpg
/home/pi/Desktop/images/29112025/03/10/image_29112025_03_10_44_9744.jpg
/home/pi/Desktop/images/29112025/03/10/image_29112025_03_10_54_9707.jpg
/home/pi/Desktop/images/29112025/03/10/image_29112025_03_11_04_9810.jpg
/home/pi/Desktop/images/29112025/03/11/image_29112025_03_11_15_10674.jpg
/home/pi/Desktop/images/29112025/03/11/image_29112025_03_11_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":["1396805646","1396805663","1396805666","1396805660","1396805615","1396805661"],"photo_ids_order":["1396805615","1396805646","1396805660","1396805661","1396805663","1396805666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ce9480c69dd5e3a3cddf77dd9ddf334.jpg","text":"TemporaryFile(/tmp/multipartBody2401054748230711514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382383614,"filename":"image_29112025_03_10_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd15b7194a635ae554687ced99f5b613.jpg","text":"TemporaryFile(/tmp/multipartBody5059139809596723964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382383614,"filename":"image_29112025_03_11_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/11/29/b5b48da7a79278ec84208f8f03a93f72.jpg","text":"TemporaryFile(/tmp/multipartBody2401265226653658290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382383614,"filename":"image_29112025_03_11_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/11/29/41346de04bcd420e1e06539dd69e78f0.jpg","text":"TemporaryFile(/tmp/multipartBody1298259144463385910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382383614,"filename":"image_29112025_03_10_54_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7b2c91c167b85b8bba447ddca1172e3.jpg","text":"TemporaryFile(/tmp/multipartBody4877273403484823449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382383614,"filename":"image_29112025_03_10_35_10084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba1f66cdd9dbe33a309b3577aa159694.jpg","text":"TemporaryFile(/tmp/multipartBody5151090394644013094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382383614,"filename":"image_29112025_03_11_04_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805660","file1":"1396805646","file0":"1396805615","file4":"1396805663","file5":"1396805666","file3":"1396805661"},"map_files_photo_id_array":[{"photo_id":"1396805666","filename":"file5"},{"photo_id":"1396805660","filename":"file2"},{"photo_id":"1396805663","filename":"file4"},{"photo_id":"1396805646","filename":"file1"},{"photo_id":"1396805615","filename":"file0"},{"photo_id":"1396805661","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805646":["hashtag1","hashtag2"]},{"1396805663":["hashtag1","hashtag2"]},{"1396805666":["hashtag1","hashtag2"]},{"1396805660":["hashtag1","hashtag2"]},{"1396805615":["hashtag1","hashtag2"]},{"1396805661":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805646, 1396805663, 1396805666, 1396805660, 1396805615, 1396805661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59021306037903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:12:42.430565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_33_1675.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_34_1549.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_36_1605.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_38_2614.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_41_2700.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_45_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/08/28/image_31102025_08_28_33_1675.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_34_1549.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_36_1605.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_38_2614.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_41_2700.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_45_3543.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9740266799926758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:13:03.270013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/11/image_29112025_03_11_45_10649.jpg', '/home/pi/Desktop/images/29112025/03/11/image_29112025_03_11_54_9706.jpg', '/home/pi/Desktop/images/29112025/03/11/image_29112025_03_12_04_9863.jpg', '/home/pi/Desktop/images/29112025/03/12/image_29112025_03_12_14_9705.jpg', '/home/pi/Desktop/images/29112025/03/12/image_29112025_03_12_25_10760.jpg', '/home/pi/Desktop/images/29112025/03/12/image_29112025_03_12_34_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/11/image_29112025_03_11_45_10649.jpg
/home/pi/Desktop/images/29112025/03/11/image_29112025_03_11_54_9706.jpg
/home/pi/Desktop/images/29112025/03/11/image_29112025_03_12_04_9863.jpg
/home/pi/Desktop/images/29112025/03/12/image_29112025_03_12_14_9705.jpg
/home/pi/Desktop/images/29112025/03/12/image_29112025_03_12_25_10760.jpg
/home/pi/Desktop/images/29112025/03/12/image_29112025_03_12_34_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805681","1396805687","1396805692","1396805689","1396805680","1396805686"],"photo_ids_order":["1396805680","1396805681","1396805686","1396805687","1396805689","1396805692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/537e39a2e11d99c334fd329557085969.jpg","text":"TemporaryFile(/tmp/multipartBody4535149729603184068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382444076,"filename":"image_29112025_03_11_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/11/29/27367ed25ca0673d62f65401d63467d0.jpg","text":"TemporaryFile(/tmp/multipartBody6090787636778435728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382444076,"filename":"image_29112025_03_12_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f54f9c891fae4e7162acf69403d8d92.jpg","text":"TemporaryFile(/tmp/multipartBody2523750653484517197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382444076,"filename":"image_29112025_03_12_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/200b67524b84672d06b5cedff86c6081.jpg","text":"TemporaryFile(/tmp/multipartBody6400811210759816958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382444076,"filename":"image_29112025_03_12_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/11/29/364b022ccfddf2d2a9c2392a11418c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5645866618669501656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382444076,"filename":"image_29112025_03_11_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/11/29/ab8d0461a796aa325db48039054ef28e.jpg","text":"TemporaryFile(/tmp/multipartBody7914294117368226850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382444076,"filename":"image_29112025_03_12_04_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805686","file1":"1396805681","file0":"1396805680","file4":"1396805689","file5":"1396805692","file3":"1396805687"},"map_files_photo_id_array":[{"photo_id":"1396805692","filename":"file5"},{"photo_id":"1396805686","filename":"file2"},{"photo_id":"1396805689","filename":"file4"},{"photo_id":"1396805681","filename":"file1"},{"photo_id":"1396805680","filename":"file0"},{"photo_id":"1396805687","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805681":["hashtag1","hashtag2"]},{"1396805687":["hashtag1","hashtag2"]},{"1396805692":["hashtag1","hashtag2"]},{"1396805689":["hashtag1","hashtag2"]},{"1396805680":["hashtag1","hashtag2"]},{"1396805686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805681, 1396805687, 1396805692, 1396805689, 1396805680, 1396805686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43102312088013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:13:42.705738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_33_1675.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_34_1549.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_36_1605.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_38_2614.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_41_2700.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_45_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/08/28/image_31102025_08_28_33_1675.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_34_1549.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_36_1605.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_38_2614.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_41_2700.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_45_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":["1396805703","1396805700","1396805699","1396805702","1396805698","1396805701"],"photo_ids_order":["1396805698","1396805699","1396805700","1396805701","1396805702","1396805703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6fbf7d82e91754f1393560762bea4ac.jpg","text":"TemporaryFile(/tmp/multipartBody4440978845106685834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382483651,"filename":"image_31102025_08_28_45_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b8d5634fe5914e92a3f334a38be5c55.jpg","text":"TemporaryFile(/tmp/multipartBody3443170822881072643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382483651,"filename":"image_31102025_08_28_36_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/201657f44fa64932b3292d6c5d78587c.jpg","text":"TemporaryFile(/tmp/multipartBody78892025630841091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382483651,"filename":"image_31102025_08_28_34_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1233ae86fb0d96ed4df642aa1a4c0903.jpg","text":"TemporaryFile(/tmp/multipartBody3919359676082693593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382483651,"filename":"image_31102025_08_28_41_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a53e5718c525988526531e5a30642f02.jpg","text":"TemporaryFile(/tmp/multipartBody866317589149727218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382483651,"filename":"image_31102025_08_28_33_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4195da47b273cdc998cd99a82cc4a3ca.jpg","text":"TemporaryFile(/tmp/multipartBody1581007650619409895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382483651,"filename":"image_31102025_08_28_38_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805700","file1":"1396805699","file0":"1396805698","file4":"1396805702","file5":"1396805703","file3":"1396805701"},"map_files_photo_id_array":[{"photo_id":"1396805703","filename":"file5"},{"photo_id":"1396805700","filename":"file2"},{"photo_id":"1396805702","filename":"file4"},{"photo_id":"1396805699","filename":"file1"},{"photo_id":"1396805698","filename":"file0"},{"photo_id":"1396805701","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396805703":["hashtag1","hashtag2"]},{"1396805700":["hashtag1","hashtag2"]},{"1396805699":["hashtag1","hashtag2"]},{"1396805702":["hashtag1","hashtag2"]},{"1396805698":["hashtag1","hashtag2"]},{"1396805701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396805703, 1396805700, 1396805699, 1396805702, 1396805698, 1396805701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93380355834961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:14:21.885297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/12/image_29112025_03_12_44_9721.jpg', '/home/pi/Desktop/images/29112025/03/12/image_29112025_03_12_54_9751.jpg', '/home/pi/Desktop/images/29112025/03/13/image_29112025_03_13_14_9556.jpg', '/home/pi/Desktop/images/29112025/03/13/image_29112025_03_13_24_9741.jpg', '/home/pi/Desktop/images/29112025/03/13/image_29112025_03_13_35_10585.jpg', '/home/pi/Desktop/images/29112025/03/13/image_29112025_03_13_44_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/12/image_29112025_03_12_44_9721.jpg
/home/pi/Desktop/images/29112025/03/12/image_29112025_03_12_54_9751.jpg
/home/pi/Desktop/images/29112025/03/13/image_29112025_03_13_14_9556.jpg
/home/pi/Desktop/images/29112025/03/13/image_29112025_03_13_24_9741.jpg
/home/pi/Desktop/images/29112025/03/13/image_29112025_03_13_35_10585.jpg
/home/pi/Desktop/images/29112025/03/13/image_29112025_03_13_44_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":["1396805706","1396805714","1396805717","1396805725","1396805710","1396805721"],"photo_ids_order":["1396805706","1396805710","1396805714","1396805717","1396805721","1396805725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/930604e5cceb5142d8569be6da195c70.jpg","text":"TemporaryFile(/tmp/multipartBody9205294991523490478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382522633,"filename":"image_29112025_03_12_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/11/29/a979b13d7532b12c8c0338a2af12845c.jpg","text":"TemporaryFile(/tmp/multipartBody4517876126674654489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382522633,"filename":"image_29112025_03_13_14_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1252ecba9bfded4eb3daed8ee6cf8f1.jpg","text":"TemporaryFile(/tmp/multipartBody6789139121076496391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382522633,"filename":"image_29112025_03_13_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/11/29/66409d3a4f0db35a52362947c5d888fd.jpg","text":"TemporaryFile(/tmp/multipartBody1879973221514833828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382522633,"filename":"image_29112025_03_13_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1831a8b80434a44153f2149b2f040f6d.jpg","text":"TemporaryFile(/tmp/multipartBody4383414894177188604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382522633,"filename":"image_29112025_03_12_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc7a07aae4273c47c25113e63ae432fd.jpg","text":"TemporaryFile(/tmp/multipartBody7983316703243452213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382522633,"filename":"image_29112025_03_13_35_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805714","file1":"1396805710","file0":"1396805706","file4":"1396805721","file5":"1396805725","file3":"1396805717"},"map_files_photo_id_array":[{"photo_id":"1396805725","filename":"file5"},{"photo_id":"1396805714","filename":"file2"},{"photo_id":"1396805721","filename":"file4"},{"photo_id":"1396805710","filename":"file1"},{"photo_id":"1396805706","filename":"file0"},{"photo_id":"1396805717","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805706":["hashtag1","hashtag2"]},{"1396805714":["hashtag1","hashtag2"]},{"1396805717":["hashtag1","hashtag2"]},{"1396805725":["hashtag1","hashtag2"]},{"1396805710":["hashtag1","hashtag2"]},{"1396805721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805706, 1396805714, 1396805717, 1396805725, 1396805710, 1396805721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79428219795227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:15:02.735005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/13/image_29112025_03_13_54_9646.jpg', '/home/pi/Desktop/images/29112025/03/13/image_29112025_03_14_05_10763.jpg', '/home/pi/Desktop/images/29112025/03/14/image_29112025_03_14_14_9596.jpg', '/home/pi/Desktop/images/29112025/03/14/image_29112025_03_14_34_9660.jpg', '/home/pi/Desktop/images/29112025/03/14/image_29112025_03_14_45_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/13/image_29112025_03_13_54_9646.jpg
/home/pi/Desktop/images/29112025/03/13/image_29112025_03_14_05_10763.jpg
/home/pi/Desktop/images/29112025/03/14/image_29112025_03_14_14_9596.jpg
/home/pi/Desktop/images/29112025/03/14/image_29112025_03_14_34_9660.jpg
/home/pi/Desktop/images/29112025/03/14/image_29112025_03_14_45_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":["1396805727","1396805726","1396805729","1396805731","1396805728"],"photo_ids_order":["1396805726","1396805727","1396805728","1396805729","1396805731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e0a30e9543cc7b47a4be3d601914f2f.jpg","text":"TemporaryFile(/tmp/multipartBody342387707366032047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382563568,"filename":"image_29112025_03_14_05_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d6abefc61702d69051228d11da83c8bf.jpg","text":"TemporaryFile(/tmp/multipartBody8423822234659450314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382563568,"filename":"image_29112025_03_13_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1fa53a413670802f513b555b4c985cad.jpg","text":"TemporaryFile(/tmp/multipartBody9106785500886983319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382563568,"filename":"image_29112025_03_14_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/11/29/547afb881bbd4e59b35d0d8d4801e1ee.jpg","text":"TemporaryFile(/tmp/multipartBody3611280766054655123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382563568,"filename":"image_29112025_03_14_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05328a9432c299c4a309f8bd8a8e84e1.jpg","text":"TemporaryFile(/tmp/multipartBody4701996274833099108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382563568,"filename":"image_29112025_03_14_14_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805728","file1":"1396805727","file0":"1396805726","file4":"1396805731","file3":"1396805729"},"map_files_photo_id_array":[{"photo_id":"1396805728","filename":"file2"},{"photo_id":"1396805731","filename":"file4"},{"photo_id":"1396805727","filename":"file1"},{"photo_id":"1396805726","filename":"file0"},{"photo_id":"1396805729","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805727":["hashtag1","hashtag2"]},{"1396805726":["hashtag1","hashtag2"]},{"1396805729":["hashtag1","hashtag2"]},{"1396805731":["hashtag1","hashtag2"]},{"1396805728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805727, 1396805726, 1396805729, 1396805731, 1396805728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.53199338912964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:15:42.095040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_55_10133.jpg', '/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_56_1663.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_12_15745.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_15_3058.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_17_1690.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_19_1703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_55_10133.jpg
/home/pi/Desktop/images/31102025/08/28/image_31102025_08_28_56_1663.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_12_15745.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_15_3058.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_17_1690.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_19_1703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805739","1396805750","1396805741","1396805738","1396805740","1396805742"],"photo_ids_order":["1396805738","1396805739","1396805740","1396805741","1396805742","1396805750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecea701f66577a29dc07cf605b2b050b.jpg","text":"TemporaryFile(/tmp/multipartBody9184905425720503662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382603175,"filename":"image_31102025_08_28_56_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd5d34c341b1a798ed47b4afc9faa453.jpg","text":"TemporaryFile(/tmp/multipartBody6596381949802630243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382603175,"filename":"image_31102025_08_29_19_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10c91eb39bc4807bcafb812551718c9e.jpg","text":"TemporaryFile(/tmp/multipartBody1894372761839844459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382603175,"filename":"image_31102025_08_29_15_3058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/599485673829c775d5571fd055d2205a.jpg","text":"TemporaryFile(/tmp/multipartBody4976616238512473169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382603175,"filename":"image_31102025_08_28_55_10133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/792175def8773b8a9d2a0b9ef61dbd7a.jpg","text":"TemporaryFile(/tmp/multipartBody2176596160640441609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382603175,"filename":"image_31102025_08_29_12_15745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80cdc3e6304f4688e092af6ee06e1e0c.jpg","text":"TemporaryFile(/tmp/multipartBody4083176763037975145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382603175,"filename":"image_31102025_08_29_17_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805740","file1":"1396805739","file0":"1396805738","file4":"1396805742","file5":"1396805750","file3":"1396805741"},"map_files_photo_id_array":[{"photo_id":"1396805750","filename":"file5"},{"photo_id":"1396805740","filename":"file2"},{"photo_id":"1396805742","filename":"file4"},{"photo_id":"1396805739","filename":"file1"},{"photo_id":"1396805738","filename":"file0"},{"photo_id":"1396805741","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396805739":["hashtag1","hashtag2"]},{"1396805750":["hashtag1","hashtag2"]},{"1396805741":["hashtag1","hashtag2"]},{"1396805738":["hashtag1","hashtag2"]},{"1396805740":["hashtag1","hashtag2"]},{"1396805742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396805739, 1396805750, 1396805741, 1396805738, 1396805740, 1396805742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12796211242676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:16:22.239753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/14/image_29112025_03_14_54_9763.jpg', '/home/pi/Desktop/images/29112025/03/14/image_29112025_03_15_04_9630.jpg', '/home/pi/Desktop/images/29112025/03/15/image_29112025_03_15_15_10757.jpg', '/home/pi/Desktop/images/29112025/03/15/image_29112025_03_15_24_9653.jpg', '/home/pi/Desktop/images/29112025/03/15/image_29112025_03_15_34_9756.jpg', '/home/pi/Desktop/images/29112025/03/15/image_29112025_03_15_44_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/14/image_29112025_03_14_54_9763.jpg
/home/pi/Desktop/images/29112025/03/14/image_29112025_03_15_04_9630.jpg
/home/pi/Desktop/images/29112025/03/15/image_29112025_03_15_15_10757.jpg
/home/pi/Desktop/images/29112025/03/15/image_29112025_03_15_24_9653.jpg
/home/pi/Desktop/images/29112025/03/15/image_29112025_03_15_34_9756.jpg
/home/pi/Desktop/images/29112025/03/15/image_29112025_03_15_44_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805773","1396805764","1396805767","1396805772","1396805775","1396805769"],"photo_ids_order":["1396805764","1396805767","1396805769","1396805772","1396805773","1396805775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1c796d145f1fea6067619750da72351.jpg","text":"TemporaryFile(/tmp/multipartBody8102168723654934619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382642993,"filename":"image_29112025_03_15_34_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e16f4b3d4628af0e0b91bb7d67d0231f.jpg","text":"TemporaryFile(/tmp/multipartBody9001574293985658595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382642993,"filename":"image_29112025_03_14_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8250f53b29af2967f8326522af15c892.jpg","text":"TemporaryFile(/tmp/multipartBody599779376941373213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382642993,"filename":"image_29112025_03_15_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/728cc777541873010b134951679a457a.jpg","text":"TemporaryFile(/tmp/multipartBody9189418537415921575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382642993,"filename":"image_29112025_03_15_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fe58692f506f5f53de2694982564c02.jpg","text":"TemporaryFile(/tmp/multipartBody7051911884522226326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382642993,"filename":"image_29112025_03_15_44_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff0727871968f7dee894485160275747.jpg","text":"TemporaryFile(/tmp/multipartBody1249060818058031364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382642993,"filename":"image_29112025_03_15_15_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805769","file1":"1396805767","file0":"1396805764","file4":"1396805773","file5":"1396805775","file3":"1396805772"},"map_files_photo_id_array":[{"photo_id":"1396805775","filename":"file5"},{"photo_id":"1396805769","filename":"file2"},{"photo_id":"1396805773","filename":"file4"},{"photo_id":"1396805767","filename":"file1"},{"photo_id":"1396805764","filename":"file0"},{"photo_id":"1396805772","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805773":["hashtag1","hashtag2"]},{"1396805764":["hashtag1","hashtag2"]},{"1396805767":["hashtag1","hashtag2"]},{"1396805772":["hashtag1","hashtag2"]},{"1396805775":["hashtag1","hashtag2"]},{"1396805769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805773, 1396805764, 1396805767, 1396805772, 1396805775, 1396805769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.996920347213745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:17:02.567489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/15/image_29112025_03_15_55_10648.jpg', '/home/pi/Desktop/images/29112025/03/15/image_29112025_03_16_04_9909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/15/image_29112025_03_15_55_10648.jpg
/home/pi/Desktop/images/29112025/03/15/image_29112025_03_16_04_9909.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805777","1396805778"],"photo_ids_order":["1396805777","1396805778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bc6a4f8a5914159168d36d7bf42b14d.jpg","text":"TemporaryFile(/tmp/multipartBody3450790907571427226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382683209,"filename":"image_29112025_03_15_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3cc352c1a6f8e551fa11f64cdfa6ea9b.jpg","text":"TemporaryFile(/tmp/multipartBody2927042893057925955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382683209,"filename":"image_29112025_03_16_04_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396805778","file0":"1396805777"},"map_files_photo_id_array":[{"photo_id":"1396805778","filename":"file1"},{"photo_id":"1396805777","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805777":["hashtag1","hashtag2"]},{"1396805778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805777, 1396805778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.55433750152588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:17:22.010962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/16/image_29112025_03_16_14_9764.jpg', '/home/pi/Desktop/images/29112025/03/17/image_29112025_03_17_15_10723.jpg', '/home/pi/Desktop/images/29112025/03/17/image_29112025_03_17_24_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/16/image_29112025_03_16_14_9764.jpg
/home/pi/Desktop/images/29112025/03/17/image_29112025_03_17_15_10723.jpg
/home/pi/Desktop/images/29112025/03/17/image_29112025_03_17_24_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":["1396805786","1396805784","1396805781"],"photo_ids_order":["1396805781","1396805784","1396805786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a7439984163ea6e30219657a011bb7d.jpg","text":"TemporaryFile(/tmp/multipartBody6300383405868677715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382702630,"filename":"image_29112025_03_17_24_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c2455629cab2fe4614dfc68601825d3.jpg","text":"TemporaryFile(/tmp/multipartBody4728677703244128552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382702630,"filename":"image_29112025_03_17_15_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90f5a40d581195ed327fefc217a187c4.jpg","text":"TemporaryFile(/tmp/multipartBody6411771203155450640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382702630,"filename":"image_29112025_03_16_14_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805786","file1":"1396805784","file0":"1396805781"},"map_files_photo_id_array":[{"photo_id":"1396805786","filename":"file2"},{"photo_id":"1396805784","filename":"file1"},{"photo_id":"1396805781","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805786":["hashtag1","hashtag2"]},{"1396805784":["hashtag1","hashtag2"]},{"1396805781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805786, 1396805784, 1396805781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.311811923980713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:18:02.696749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_11_2569.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_14_2751.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_16_2560.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_20_3608.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_22_2761.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_26_3039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_11_2569.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_14_2751.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_16_2560.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_20_3608.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_22_2761.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_26_3039.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805792","1396805794","1396805796","1396805799","1396805790","1396805793"],"photo_ids_order":["1396805790","1396805792","1396805793","1396805794","1396805796","1396805799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f75423e0a3e03ec57f6cb8c038d0d76.jpg","text":"TemporaryFile(/tmp/multipartBody7923618312417369225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382744325,"filename":"image_25112025_17_36_14_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dac92a101ccafe2c2210c286f60984ca.jpg","text":"TemporaryFile(/tmp/multipartBody7799796221269004590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382744325,"filename":"image_25112025_17_36_20_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d7d46517ff7db5af830982931eccd84.jpg","text":"TemporaryFile(/tmp/multipartBody687393588572104067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382744325,"filename":"image_25112025_17_36_22_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9d880614c407a220c69e90e3044f50c.jpg","text":"TemporaryFile(/tmp/multipartBody6387148455485077817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382744325,"filename":"image_25112025_17_36_26_3039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ff255e50ba98975068f7f3591e96b38.jpg","text":"TemporaryFile(/tmp/multipartBody9026973568766767319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382744325,"filename":"image_25112025_17_36_11_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3759c30906767f067852c2199118b7ab.jpg","text":"TemporaryFile(/tmp/multipartBody6935092713547233383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382744325,"filename":"image_25112025_17_36_16_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805793","file1":"1396805792","file0":"1396805790","file4":"1396805796","file5":"1396805799","file3":"1396805794"},"map_files_photo_id_array":[{"photo_id":"1396805799","filename":"file5"},{"photo_id":"1396805793","filename":"file2"},{"photo_id":"1396805796","filename":"file4"},{"photo_id":"1396805792","filename":"file1"},{"photo_id":"1396805790","filename":"file0"},{"photo_id":"1396805794","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396805792":["hashtag1","hashtag2"]},{"1396805794":["hashtag1","hashtag2"]},{"1396805796":["hashtag1","hashtag2"]},{"1396805799":["hashtag1","hashtag2"]},{"1396805790":["hashtag1","hashtag2"]},{"1396805793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396805792, 1396805794, 1396805796, 1396805799, 1396805790, 1396805793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74254298210144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:18:42.282022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_20_1727.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_22_1641.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_24_1651.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_25_1739.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_27_1637.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_29_1716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_20_1727.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_22_1641.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_24_1651.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_25_1739.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_27_1637.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_29_1716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805817","1396805816","1396805819","1396805818","1396805820","1396805814"],"photo_ids_order":["1396805814","1396805816","1396805817","1396805818","1396805819","1396805820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59e71c703d867b9e68e876e009bb1261.jpg","text":"TemporaryFile(/tmp/multipartBody5002046571849164893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382783356,"filename":"image_31102025_08_29_24_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47619116f527ee358b3e531e3435f73d.jpg","text":"TemporaryFile(/tmp/multipartBody3750322264186193622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382783356,"filename":"image_31102025_08_29_22_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01df59ab535bc25466ffc06d9e786a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4857164397826645995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382783356,"filename":"image_31102025_08_29_27_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03bd55de3a0922ebf869da6b62ad6cfa.jpg","text":"TemporaryFile(/tmp/multipartBody178874335276757623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382783356,"filename":"image_31102025_08_29_25_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de59f56e675494a49ba86f97b202b063.jpg","text":"TemporaryFile(/tmp/multipartBody8880118784052685353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382783356,"filename":"image_31102025_08_29_29_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5501ec516829f2e59ff3e7c00fc39dd.jpg","text":"TemporaryFile(/tmp/multipartBody6615061387264032615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382783356,"filename":"image_31102025_08_29_20_1727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805817","file1":"1396805816","file0":"1396805814","file4":"1396805819","file5":"1396805820","file3":"1396805818"},"map_files_photo_id_array":[{"photo_id":"1396805820","filename":"file5"},{"photo_id":"1396805817","filename":"file2"},{"photo_id":"1396805819","filename":"file4"},{"photo_id":"1396805816","filename":"file1"},{"photo_id":"1396805814","filename":"file0"},{"photo_id":"1396805818","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396805817":["hashtag1","hashtag2"]},{"1396805816":["hashtag1","hashtag2"]},{"1396805819":["hashtag1","hashtag2"]},{"1396805818":["hashtag1","hashtag2"]},{"1396805820":["hashtag1","hashtag2"]},{"1396805814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396805817, 1396805816, 1396805819, 1396805818, 1396805820, 1396805814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7342791557312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:19:22.548856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/17/image_29112025_03_17_34_9646.jpg', '/home/pi/Desktop/images/29112025/03/18/image_29112025_03_18_34_9731.jpg', '/home/pi/Desktop/images/29112025/03/18/image_29112025_03_18_44_10623.jpg', '/home/pi/Desktop/images/29112025/03/19/image_29112025_03_19_25_10843.jpg', '/home/pi/Desktop/images/29112025/03/19/image_29112025_03_19_44_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/17/image_29112025_03_17_34_9646.jpg
/home/pi/Desktop/images/29112025/03/18/image_29112025_03_18_34_9731.jpg
/home/pi/Desktop/images/29112025/03/18/image_29112025_03_18_44_10623.jpg
/home/pi/Desktop/images/29112025/03/19/image_29112025_03_19_25_10843.jpg
/home/pi/Desktop/images/29112025/03/19/image_29112025_03_19_44_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805825","1396805836","1396805832","1396805835","1396805829"],"photo_ids_order":["1396805825","1396805829","1396805832","1396805835","1396805836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6706454d14b7821d5fc5d4d410d1373a.jpg","text":"TemporaryFile(/tmp/multipartBody3423180347629476550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382823255,"filename":"image_29112025_03_17_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4346074ac4f4600c82f871aab1763c43.jpg","text":"TemporaryFile(/tmp/multipartBody59568938415425221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382823255,"filename":"image_29112025_03_19_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea28b17dd4b921a8dc5ffbf4b4d2e6d0.jpg","text":"TemporaryFile(/tmp/multipartBody7871450952345086504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382823255,"filename":"image_29112025_03_18_44_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2f10e20ae31af237f1700a7ade165e8.jpg","text":"TemporaryFile(/tmp/multipartBody8029259420615602846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382823255,"filename":"image_29112025_03_19_25_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89a0804d74c6338bf75b02d691beee69.jpg","text":"TemporaryFile(/tmp/multipartBody5894458144137231571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382823255,"filename":"image_29112025_03_18_34_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805832","file1":"1396805829","file0":"1396805825","file4":"1396805836","file3":"1396805835"},"map_files_photo_id_array":[{"photo_id":"1396805832","filename":"file2"},{"photo_id":"1396805836","filename":"file4"},{"photo_id":"1396805829","filename":"file1"},{"photo_id":"1396805825","filename":"file0"},{"photo_id":"1396805835","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805825":["hashtag1","hashtag2"]},{"1396805836":["hashtag1","hashtag2"]},{"1396805832":["hashtag1","hashtag2"]},{"1396805835":["hashtag1","hashtag2"]},{"1396805829":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805825, 1396805836, 1396805832, 1396805835, 1396805829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.35585427284241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:20:03.077653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_28_2695.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_31_2629.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_34_3614.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_38_3130.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_40_2533.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_44_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_28_2695.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_31_2629.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_34_3614.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_38_3130.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_40_2533.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_44_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805844","1396805846","1396805849","1396805840","1396805842","1396805841"],"photo_ids_order":["1396805840","1396805841","1396805842","1396805844","1396805846","1396805849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6d6df3eb87160b04887c6128df5dd96.jpg","text":"TemporaryFile(/tmp/multipartBody3173669319025248350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382864714,"filename":"image_25112025_17_36_38_3130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/365c426eea4022c71156d7b1bfdd4fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6407995119524634015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382864714,"filename":"image_25112025_17_36_40_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4df6bf9459d3a61c44ab22e3ef3e8db.jpg","text":"TemporaryFile(/tmp/multipartBody5188021169672222927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382864714,"filename":"image_25112025_17_36_44_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41917df9f172ecff476097b28cf08b23.jpg","text":"TemporaryFile(/tmp/multipartBody566772541493957946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382864714,"filename":"image_25112025_17_36_28_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96692b14eb9927a7437d6e909fa67dc2.jpg","text":"TemporaryFile(/tmp/multipartBody4425922788669801003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382864714,"filename":"image_25112025_17_36_34_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64ba60465e5d2fd53f794010ecdb8713.jpg","text":"TemporaryFile(/tmp/multipartBody748123371866935760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382864714,"filename":"image_25112025_17_36_31_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805842","file1":"1396805841","file0":"1396805840","file4":"1396805846","file5":"1396805849","file3":"1396805844"},"map_files_photo_id_array":[{"photo_id":"1396805849","filename":"file5"},{"photo_id":"1396805842","filename":"file2"},{"photo_id":"1396805846","filename":"file4"},{"photo_id":"1396805841","filename":"file1"},{"photo_id":"1396805840","filename":"file0"},{"photo_id":"1396805844","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396805844":["hashtag1","hashtag2"]},{"1396805846":["hashtag1","hashtag2"]},{"1396805849":["hashtag1","hashtag2"]},{"1396805840":["hashtag1","hashtag2"]},{"1396805842":["hashtag1","hashtag2"]},{"1396805841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396805844, 1396805846, 1396805849, 1396805840, 1396805842, 1396805841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.804789543151855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:20:42.631520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_31_1735.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_32_1725.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_34_1665.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_35_1583.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_37_1617.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_39_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_31_1735.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_32_1725.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_34_1665.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_35_1583.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_37_1617.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_39_1687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805861","1396805864","1396805855","1396805863","1396805857","1396805859"],"photo_ids_order":["1396805855","1396805857","1396805859","1396805861","1396805863","1396805864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87a3e1677da07a9cea363b9a659e60f1.jpg","text":"TemporaryFile(/tmp/multipartBody2905353132337893543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382903707,"filename":"image_31102025_08_29_35_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70785b691540bac79453c6e942d1ed8b.jpg","text":"TemporaryFile(/tmp/multipartBody4625255553347231512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382903707,"filename":"image_31102025_08_29_39_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/443177bc064ab3833f14a638039c9d6c.jpg","text":"TemporaryFile(/tmp/multipartBody2485049420518155763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382903707,"filename":"image_31102025_08_29_31_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8336d2470d876f5709b79d5b3099c27a.jpg","text":"TemporaryFile(/tmp/multipartBody3069202734343317431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382903707,"filename":"image_31102025_08_29_37_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d70357865e477d2c14d9acc0095f3e13.jpg","text":"TemporaryFile(/tmp/multipartBody6639409027737404660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382903707,"filename":"image_31102025_08_29_32_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d536fe4bad776e25f0eb8af5400ff34.jpg","text":"TemporaryFile(/tmp/multipartBody4362492315012670889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382903707,"filename":"image_31102025_08_29_34_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805859","file1":"1396805857","file0":"1396805855","file4":"1396805863","file5":"1396805864","file3":"1396805861"},"map_files_photo_id_array":[{"photo_id":"1396805864","filename":"file5"},{"photo_id":"1396805859","filename":"file2"},{"photo_id":"1396805863","filename":"file4"},{"photo_id":"1396805857","filename":"file1"},{"photo_id":"1396805855","filename":"file0"},{"photo_id":"1396805861","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396805861":["hashtag1","hashtag2"]},{"1396805864":["hashtag1","hashtag2"]},{"1396805855":["hashtag1","hashtag2"]},{"1396805863":["hashtag1","hashtag2"]},{"1396805857":["hashtag1","hashtag2"]},{"1396805859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396805861, 1396805864, 1396805855, 1396805863, 1396805857, 1396805859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36930799484253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:21:22.804161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/19/image_29112025_03_19_54_9655.jpg', '/home/pi/Desktop/images/29112025/03/19/image_29112025_03_20_04_10575.jpg', '/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_14_9923.jpg', '/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_24_9634.jpg', '/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_35_10751.jpg', '/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_44_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/19/image_29112025_03_19_54_9655.jpg
/home/pi/Desktop/images/29112025/03/19/image_29112025_03_20_04_10575.jpg
/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_14_9923.jpg
/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_24_9634.jpg
/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_35_10751.jpg
/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_44_9577.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.694969654083252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:21:32.823403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_46_2702.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_49_2595.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_52_2818.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_56_3626.jpg', '/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_58_2681.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_02_4133.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_46_2702.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_49_2595.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_52_2818.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_56_3626.jpg
/home/pi/Desktop/images/25112025/17/36/image_25112025_17_36_58_2681.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_02_4133.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805882","1396805879","1396805884","1396805881","1396805875","1396805883"],"photo_ids_order":["1396805875","1396805879","1396805881","1396805882","1396805883","1396805884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a585c60fde22e30334bf55a2d3502465.jpg","text":"TemporaryFile(/tmp/multipartBody5305836328117729246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382954956,"filename":"image_25112025_17_36_56_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/177b24009147a8845ba55270dcffb321.jpg","text":"TemporaryFile(/tmp/multipartBody6351701297046502295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382954956,"filename":"image_25112025_17_36_49_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de1aca885f007f6913e1ace631b472e7.jpg","text":"TemporaryFile(/tmp/multipartBody3684501048461464033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382954956,"filename":"image_25112025_17_37_02_4133.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bddc699305527521a6edcc253695dfcb.jpg","text":"TemporaryFile(/tmp/multipartBody4934001824762199924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382954956,"filename":"image_25112025_17_36_52_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19a5e899aee333f0d556cd5486618760.jpg","text":"TemporaryFile(/tmp/multipartBody2185666115998535586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382954956,"filename":"image_25112025_17_36_46_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afb0bd587322dc74fce31f1713cd1622.jpg","text":"TemporaryFile(/tmp/multipartBody2088840069782830343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382954956,"filename":"image_25112025_17_36_58_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805881","file1":"1396805879","file0":"1396805875","file4":"1396805883","file5":"1396805884","file3":"1396805882"},"map_files_photo_id_array":[{"photo_id":"1396805884","filename":"file5"},{"photo_id":"1396805881","filename":"file2"},{"photo_id":"1396805883","filename":"file4"},{"photo_id":"1396805879","filename":"file1"},{"photo_id":"1396805875","filename":"file0"},{"photo_id":"1396805882","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396805882":["hashtag1","hashtag2"]},{"1396805879":["hashtag1","hashtag2"]},{"1396805884":["hashtag1","hashtag2"]},{"1396805881":["hashtag1","hashtag2"]},{"1396805875":["hashtag1","hashtag2"]},{"1396805883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396805882, 1396805879, 1396805884, 1396805881, 1396805875, 1396805883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60820245742798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:22:12.021395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_08_3480.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_17_3569.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_22_2598.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_25_3612.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_28_2530.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_32_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_08_3480.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_17_3569.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_22_2598.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_25_3612.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_28_2530.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_32_3704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805894","1396805888","1396805899","1396805890","1396805887","1396805896"],"photo_ids_order":["1396805887","1396805888","1396805890","1396805894","1396805896","1396805899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e34c072d77a22244affe3d8df807211.jpg","text":"TemporaryFile(/tmp/multipartBody21247201644699253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382994026,"filename":"image_25112025_17_37_25_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e47952275d59830c993b35dde5272f2a.jpg","text":"TemporaryFile(/tmp/multipartBody8965494007311069660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382994026,"filename":"image_25112025_17_37_17_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb6d607269be93227097d4b2d2b07fb6.jpg","text":"TemporaryFile(/tmp/multipartBody1432215791294518605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382994026,"filename":"image_25112025_17_37_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/11/29/9462ac0aca936fa2b2afeeb09f9779e9.jpg","text":"TemporaryFile(/tmp/multipartBody3992085800532609867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382994026,"filename":"image_25112025_17_37_22_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3a705145ab43aa324598eac617a9b14.jpg","text":"TemporaryFile(/tmp/multipartBody5903576706467906420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382994026,"filename":"image_25112025_17_37_08_3480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d4610a41d7f52d9bca39bbfa18bf305.jpg","text":"TemporaryFile(/tmp/multipartBody478604969467606224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764382994026,"filename":"image_25112025_17_37_28_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805890","file1":"1396805888","file0":"1396805887","file4":"1396805896","file5":"1396805899","file3":"1396805894"},"map_files_photo_id_array":[{"photo_id":"1396805899","filename":"file5"},{"photo_id":"1396805890","filename":"file2"},{"photo_id":"1396805896","filename":"file4"},{"photo_id":"1396805888","filename":"file1"},{"photo_id":"1396805887","filename":"file0"},{"photo_id":"1396805894","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396805894":["hashtag1","hashtag2"]},{"1396805888":["hashtag1","hashtag2"]},{"1396805899":["hashtag1","hashtag2"]},{"1396805890":["hashtag1","hashtag2"]},{"1396805887":["hashtag1","hashtag2"]},{"1396805896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396805894, 1396805888, 1396805899, 1396805890, 1396805887, 1396805896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49350929260254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:23:02.879075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/19/image_29112025_03_19_54_9655.jpg', '/home/pi/Desktop/images/29112025/03/19/image_29112025_03_20_04_10575.jpg', '/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_14_9923.jpg', '/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_24_9634.jpg', '/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_35_10751.jpg', '/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_44_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/19/image_29112025_03_19_54_9655.jpg
/home/pi/Desktop/images/29112025/03/19/image_29112025_03_20_04_10575.jpg
/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_14_9923.jpg
/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_24_9634.jpg
/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_35_10751.jpg
/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_44_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805916","1396805919","1396805942","1396805924","1396805921","1396805914"],"photo_ids_order":["1396805914","1396805916","1396805919","1396805921","1396805924","1396805942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19fc062486e1645f85e89fd566d14a8c.jpg","text":"TemporaryFile(/tmp/multipartBody8575102757696265630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383043737,"filename":"image_29112025_03_20_04_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35cff899bca020dcb73cfcde530e142a.jpg","text":"TemporaryFile(/tmp/multipartBody1505806588517072285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383043737,"filename":"image_29112025_03_20_14_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c93a5005aee2e9e92cb20c667db6dc72.jpg","text":"TemporaryFile(/tmp/multipartBody2970347078008403337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383043737,"filename":"image_29112025_03_20_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/11/29/b6e944202c2a6106c4606cb1c95cd5e7.jpg","text":"TemporaryFile(/tmp/multipartBody9011041596518173566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383043737,"filename":"image_29112025_03_20_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/11/29/1157692c44a77de218fe4481c7b94a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7711680578867553685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383043737,"filename":"image_29112025_03_20_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/11/29/c7ea72e0d711265a29adc3d407243f35.jpg","text":"TemporaryFile(/tmp/multipartBody8249305183502081395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383043737,"filename":"image_29112025_03_19_54_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805919","file1":"1396805916","file0":"1396805914","file4":"1396805924","file5":"1396805942","file3":"1396805921"},"map_files_photo_id_array":[{"photo_id":"1396805942","filename":"file5"},{"photo_id":"1396805919","filename":"file2"},{"photo_id":"1396805924","filename":"file4"},{"photo_id":"1396805916","filename":"file1"},{"photo_id":"1396805914","filename":"file0"},{"photo_id":"1396805921","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805916":["hashtag1","hashtag2"]},{"1396805919":["hashtag1","hashtag2"]},{"1396805942":["hashtag1","hashtag2"]},{"1396805924":["hashtag1","hashtag2"]},{"1396805921":["hashtag1","hashtag2"]},{"1396805914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805916, 1396805919, 1396805942, 1396805924, 1396805921, 1396805914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08456993103027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:23:42.173623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_42_2823.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_44_2687.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_47_2658.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_51_3581.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_53_2719.jpg', '/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_56_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/08/29/image_31102025_08_29_42_2823.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_44_2687.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_47_2658.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_51_3581.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_53_2719.jpg
/home/pi/Desktop/images/31102025/08/29/image_31102025_08_29_56_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":["1396805951","1396805948","1396805953","1396805950","1396805952","1396805949"],"photo_ids_order":["1396805948","1396805949","1396805950","1396805951","1396805952","1396805953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99435fe5aff6c6717aced52c78f792b5.jpg","text":"TemporaryFile(/tmp/multipartBody2375410420639428096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383083256,"filename":"image_31102025_08_29_51_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b82980a415b7483c3319e2da9b4dff5d.jpg","text":"TemporaryFile(/tmp/multipartBody6750689840290434819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383083256,"filename":"image_31102025_08_29_42_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/064f550d4cb2837a3f939d5934a1c2a8.jpg","text":"TemporaryFile(/tmp/multipartBody9222075541536868872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383083256,"filename":"image_31102025_08_29_56_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/487393b07c1b5f4ce5f4f3d445d28f86.jpg","text":"TemporaryFile(/tmp/multipartBody2494703004016258714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383083256,"filename":"image_31102025_08_29_47_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da566c80ea646e3dc8cd1ba90d5df3a3.jpg","text":"TemporaryFile(/tmp/multipartBody4463808806497773944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383083256,"filename":"image_31102025_08_29_53_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e474bdad83fcd53cf5234fc0c7a77e5.jpg","text":"TemporaryFile(/tmp/multipartBody363029488568191055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383083256,"filename":"image_31102025_08_29_44_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805950","file1":"1396805949","file0":"1396805948","file4":"1396805952","file5":"1396805953","file3":"1396805951"},"map_files_photo_id_array":[{"photo_id":"1396805953","filename":"file5"},{"photo_id":"1396805950","filename":"file2"},{"photo_id":"1396805952","filename":"file4"},{"photo_id":"1396805949","filename":"file1"},{"photo_id":"1396805948","filename":"file0"},{"photo_id":"1396805951","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396805951":["hashtag1","hashtag2"]},{"1396805948":["hashtag1","hashtag2"]},{"1396805953":["hashtag1","hashtag2"]},{"1396805950":["hashtag1","hashtag2"]},{"1396805952":["hashtag1","hashtag2"]},{"1396805949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396805951, 1396805948, 1396805953, 1396805950, 1396805952, 1396805949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41094350814819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:24:22.313907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_54_9717.jpg', '/home/pi/Desktop/images/29112025/03/20/image_29112025_03_21_05_10682.jpg', '/home/pi/Desktop/images/29112025/03/21/image_29112025_03_21_35_10704.jpg', '/home/pi/Desktop/images/29112025/03/21/image_29112025_03_22_04_9789.jpg', '/home/pi/Desktop/images/29112025/03/22/image_29112025_03_22_15_10690.jpg', '/home/pi/Desktop/images/29112025/03/22/image_29112025_03_22_24_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/20/image_29112025_03_20_54_9717.jpg
/home/pi/Desktop/images/29112025/03/20/image_29112025_03_21_05_10682.jpg
/home/pi/Desktop/images/29112025/03/21/image_29112025_03_21_35_10704.jpg
/home/pi/Desktop/images/29112025/03/21/image_29112025_03_22_04_9789.jpg
/home/pi/Desktop/images/29112025/03/22/image_29112025_03_22_15_10690.jpg
/home/pi/Desktop/images/29112025/03/22/image_29112025_03_22_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":["1396805960","1396805957","1396805972","1396805965","1396805968","1396805970"],"photo_ids_order":["1396805957","1396805960","1396805965","1396805968","1396805970","1396805972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac7eeb8dcbfdcd777e447bf0d8bccf6e.jpg","text":"TemporaryFile(/tmp/multipartBody2971362267042579540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383123062,"filename":"image_29112025_03_21_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/11/29/6281a60064f56d509c8665fed9587a14.jpg","text":"TemporaryFile(/tmp/multipartBody3426871948494992954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383123062,"filename":"image_29112025_03_20_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/11/29/d9b174b3361817cccc4a17a9ed65bdfb.jpg","text":"TemporaryFile(/tmp/multipartBody6057043623666409453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383123062,"filename":"image_29112025_03_22_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/11/29/706fc6511cba96a87667e942d0d35062.jpg","text":"TemporaryFile(/tmp/multipartBody4236693559295420763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383123062,"filename":"image_29112025_03_21_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/11/29/3b4430de3224b4265f67e1f88d41763f.jpg","text":"TemporaryFile(/tmp/multipartBody3865625025663301805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383123062,"filename":"image_29112025_03_22_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/11/29/67293698a745f603151addd21fad38a7.jpg","text":"TemporaryFile(/tmp/multipartBody3271981731177393399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383123062,"filename":"image_29112025_03_22_15_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805965","file1":"1396805960","file0":"1396805957","file4":"1396805970","file5":"1396805972","file3":"1396805968"},"map_files_photo_id_array":[{"photo_id":"1396805972","filename":"file5"},{"photo_id":"1396805965","filename":"file2"},{"photo_id":"1396805970","filename":"file4"},{"photo_id":"1396805960","filename":"file1"},{"photo_id":"1396805957","filename":"file0"},{"photo_id":"1396805968","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805960":["hashtag1","hashtag2"]},{"1396805957":["hashtag1","hashtag2"]},{"1396805972":["hashtag1","hashtag2"]},{"1396805965":["hashtag1","hashtag2"]},{"1396805968":["hashtag1","hashtag2"]},{"1396805970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805960, 1396805957, 1396805972, 1396805965, 1396805968, 1396805970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63568425178528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:25:03.256447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/22/image_29112025_03_22_34_9772.jpg', '/home/pi/Desktop/images/29112025/03/22/image_29112025_03_22_44_9791.jpg', '/home/pi/Desktop/images/29112025/03/22/image_29112025_03_23_04_10607.jpg', '/home/pi/Desktop/images/29112025/03/24/image_29112025_03_24_15_10785.jpg', '/home/pi/Desktop/images/29112025/03/24/image_29112025_03_24_24_9893.jpg', '/home/pi/Desktop/images/29112025/03/24/image_29112025_03_24_34_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/22/image_29112025_03_22_34_9772.jpg
/home/pi/Desktop/images/29112025/03/22/image_29112025_03_22_44_9791.jpg
/home/pi/Desktop/images/29112025/03/22/image_29112025_03_23_04_10607.jpg
/home/pi/Desktop/images/29112025/03/24/image_29112025_03_24_15_10785.jpg
/home/pi/Desktop/images/29112025/03/24/image_29112025_03_24_24_9893.jpg
/home/pi/Desktop/images/29112025/03/24/image_29112025_03_24_34_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396805975","1396805983","1396805980","1396805977","1396805976","1396805973"],"photo_ids_order":["1396805973","1396805975","1396805976","1396805977","1396805980","1396805983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7a34dfeacf039c58a304a96be90c459.jpg","text":"TemporaryFile(/tmp/multipartBody1428280033764548313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383164094,"filename":"image_29112025_03_22_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/11/29/f2e5dfbe2a2b09514aa32147e2286f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7159422030769821950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383164094,"filename":"image_29112025_03_24_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/11/29/8029e006da8e20eef4abd3096ff91680.jpg","text":"TemporaryFile(/tmp/multipartBody7101419451088391935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383164094,"filename":"image_29112025_03_24_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/11/29/bb6a89c06da7b5e6e234c932fda453d4.jpg","text":"TemporaryFile(/tmp/multipartBody5472662879255764643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383164094,"filename":"image_29112025_03_24_15_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d28ef9bdd7c2dcabcddbc37dd1ba6132.jpg","text":"TemporaryFile(/tmp/multipartBody8905500714255622558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383164094,"filename":"image_29112025_03_23_04_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0551959a8b5aaeb1deab5450a271c1d3.jpg","text":"TemporaryFile(/tmp/multipartBody7041426474362936657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383164094,"filename":"image_29112025_03_22_34_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805976","file1":"1396805975","file0":"1396805973","file4":"1396805980","file5":"1396805983","file3":"1396805977"},"map_files_photo_id_array":[{"photo_id":"1396805983","filename":"file5"},{"photo_id":"1396805976","filename":"file2"},{"photo_id":"1396805980","filename":"file4"},{"photo_id":"1396805975","filename":"file1"},{"photo_id":"1396805973","filename":"file0"},{"photo_id":"1396805977","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396805975":["hashtag1","hashtag2"]},{"1396805983":["hashtag1","hashtag2"]},{"1396805980":["hashtag1","hashtag2"]},{"1396805977":["hashtag1","hashtag2"]},{"1396805976":["hashtag1","hashtag2"]},{"1396805973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396805975, 1396805983, 1396805980, 1396805977, 1396805976, 1396805973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00609278678894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:25:42.540849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/29/image_31102025_08_30_00_3728.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_08_3016.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_11_3673.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_14_2797.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_17_2596.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_20_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/08/29/image_31102025_08_30_00_3728.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_08_3016.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_11_3673.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_14_2797.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_17_2596.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_20_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":["1396805993","1396805990","1396805992","1396805994","1396805991","1396805988"],"photo_ids_order":["1396805988","1396805990","1396805991","1396805992","1396805993","1396805994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87f931a97133b7595cecaa696a1238d3.jpg","text":"TemporaryFile(/tmp/multipartBody4225279750674081892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383203812,"filename":"image_31102025_08_30_17_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca1602321a73d78e42c3e54087e71448.jpg","text":"TemporaryFile(/tmp/multipartBody2737920332323701490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383203812,"filename":"image_31102025_08_30_08_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32734c20c43f9dbead616ec223e3fd51.jpg","text":"TemporaryFile(/tmp/multipartBody3815620335449852371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383203812,"filename":"image_31102025_08_30_14_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e3ff623bb258004c8ddfe598b4caeed.jpg","text":"TemporaryFile(/tmp/multipartBody1964129377106649825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383203812,"filename":"image_31102025_08_30_20_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b964bff34452c7e18e7198447737af4.jpg","text":"TemporaryFile(/tmp/multipartBody2914002831593721157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383203812,"filename":"image_31102025_08_30_11_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70391bc2aebc24db3817a18ebfd01b1f.jpg","text":"TemporaryFile(/tmp/multipartBody2360313628494179099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383203812,"filename":"image_31102025_08_30_00_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396805991","file1":"1396805990","file0":"1396805988","file4":"1396805993","file5":"1396805994","file3":"1396805992"},"map_files_photo_id_array":[{"photo_id":"1396805994","filename":"file5"},{"photo_id":"1396805991","filename":"file2"},{"photo_id":"1396805993","filename":"file4"},{"photo_id":"1396805990","filename":"file1"},{"photo_id":"1396805988","filename":"file0"},{"photo_id":"1396805992","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396805993":["hashtag1","hashtag2"]},{"1396805990":["hashtag1","hashtag2"]},{"1396805992":["hashtag1","hashtag2"]},{"1396805994":["hashtag1","hashtag2"]},{"1396805991":["hashtag1","hashtag2"]},{"1396805988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396805993, 1396805990, 1396805992, 1396805994, 1396805991, 1396805988)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.69745469093323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:26:32.702195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_34_2499.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_37_2757.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_40_3618.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_43_2525.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_46_2878.jpg', '/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_49_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_34_2499.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_37_2757.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_40_3618.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_43_2525.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_46_2878.jpg
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_49_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":["1396806006","1396806014","1396806010","1396806013","1396806012","1396806003"],"photo_ids_order":["1396806003","1396806006","1396806010","1396806012","1396806013","1396806014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90305e904ea2b5f821b5c9aff7de83cd.jpg","text":"TemporaryFile(/tmp/multipartBody5583512371460519385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383254851,"filename":"image_25112025_17_37_37_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e6b1cb86ae612d7293fed25dabf8c8a.jpg","text":"TemporaryFile(/tmp/multipartBody1832820533560502761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383254851,"filename":"image_25112025_17_37_49_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14f47edecf35c03058190490fe8dc7e5.jpg","text":"TemporaryFile(/tmp/multipartBody7015859336720768252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383254851,"filename":"image_25112025_17_37_40_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/787bce6527624c097bdc13cf8e8cb261.jpg","text":"TemporaryFile(/tmp/multipartBody8555782829451018608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383254851,"filename":"image_25112025_17_37_46_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf5870a5382af80b6560ce176a406425.jpg","text":"TemporaryFile(/tmp/multipartBody6089451697816230907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383254851,"filename":"image_25112025_17_37_43_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edfe8cebcc6768cf0a54b22cf256ef82.jpg","text":"TemporaryFile(/tmp/multipartBody5724063380163009623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383254851,"filename":"image_25112025_17_37_34_2499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806010","file1":"1396806006","file0":"1396806003","file4":"1396806013","file5":"1396806014","file3":"1396806012"},"map_files_photo_id_array":[{"photo_id":"1396806014","filename":"file5"},{"photo_id":"1396806010","filename":"file2"},{"photo_id":"1396806013","filename":"file4"},{"photo_id":"1396806006","filename":"file1"},{"photo_id":"1396806003","filename":"file0"},{"photo_id":"1396806012","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396806006":["hashtag1","hashtag2"]},{"1396806014":["hashtag1","hashtag2"]},{"1396806010":["hashtag1","hashtag2"]},{"1396806013":["hashtag1","hashtag2"]},{"1396806012":["hashtag1","hashtag2"]},{"1396806003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396806006, 1396806014, 1396806010, 1396806013, 1396806012, 1396806003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15414381027222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:27:11.948306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_58_3567.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_01_2599.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_05_3639.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_07_2550.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_13_2557.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_16_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/37/image_25112025_17_37_58_3567.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_01_2599.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_05_3639.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_07_2550.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_13_2557.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_16_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396806023","1396806026","1396806017","1396806028","1396806019","1396806015"],"photo_ids_order":["1396806015","1396806017","1396806019","1396806023","1396806026","1396806028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c94353c56fcf9548abc6c1791973b68b.jpg","text":"TemporaryFile(/tmp/multipartBody2002203320148368022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383293955,"filename":"image_25112025_17_38_07_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10ea8f9a74490b44df04f6423c13325b.jpg","text":"TemporaryFile(/tmp/multipartBody4265526054421009388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383293955,"filename":"image_25112025_17_38_13_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7f7afc93b6a7645f2c45533bd71aa82.jpg","text":"TemporaryFile(/tmp/multipartBody1620211229840826205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383293955,"filename":"image_25112025_17_38_01_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e509fb7cf58b86ce872e80aeffe2d496.jpg","text":"TemporaryFile(/tmp/multipartBody8037318997938586229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383293955,"filename":"image_25112025_17_38_16_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0357e623bd34beab87034696eaf0e77.jpg","text":"TemporaryFile(/tmp/multipartBody7697211057456162817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383293955,"filename":"image_25112025_17_38_05_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97248a749ce9b20e4a9e17c41ac3cfd2.jpg","text":"TemporaryFile(/tmp/multipartBody6564661438897888385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383293955,"filename":"image_25112025_17_37_58_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806019","file1":"1396806017","file0":"1396806015","file4":"1396806026","file5":"1396806028","file3":"1396806023"},"map_files_photo_id_array":[{"photo_id":"1396806028","filename":"file5"},{"photo_id":"1396806019","filename":"file2"},{"photo_id":"1396806026","filename":"file4"},{"photo_id":"1396806017","filename":"file1"},{"photo_id":"1396806015","filename":"file0"},{"photo_id":"1396806023","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396806023":["hashtag1","hashtag2"]},{"1396806026":["hashtag1","hashtag2"]},{"1396806017":["hashtag1","hashtag2"]},{"1396806028":["hashtag1","hashtag2"]},{"1396806019":["hashtag1","hashtag2"]},{"1396806015":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396806023, 1396806026, 1396806017, 1396806028, 1396806019, 1396806015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6597261428833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:28:02.530889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/24/image_29112025_03_24_44_9658.jpg', '/home/pi/Desktop/images/29112025/03/24/image_29112025_03_25_04_9707.jpg', '/home/pi/Desktop/images/29112025/03/25/image_29112025_03_25_14_9863.jpg', '/home/pi/Desktop/images/29112025/03/25/image_29112025_03_25_34_9583.jpg', '/home/pi/Desktop/images/29112025/03/25/image_29112025_03_25_44_9581.jpg', '/home/pi/Desktop/images/29112025/03/25/image_29112025_03_26_04_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/24/image_29112025_03_24_44_9658.jpg
/home/pi/Desktop/images/29112025/03/24/image_29112025_03_25_04_9707.jpg
/home/pi/Desktop/images/29112025/03/25/image_29112025_03_25_14_9863.jpg
/home/pi/Desktop/images/29112025/03/25/image_29112025_03_25_34_9583.jpg
/home/pi/Desktop/images/29112025/03/25/image_29112025_03_25_44_9581.jpg
/home/pi/Desktop/images/29112025/03/25/image_29112025_03_26_04_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396806038","1396806032","1396806034","1396806031","1396806033","1396806036"],"photo_ids_order":["1396806031","1396806032","1396806033","1396806034","1396806036","1396806038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/195e95bc40b89ace106797156b35bb06.jpg","text":"TemporaryFile(/tmp/multipartBody5926772686488951860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383343327,"filename":"image_29112025_03_26_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/700f567a83ea597cd2f8f74777c09109.jpg","text":"TemporaryFile(/tmp/multipartBody356096931657169035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383343327,"filename":"image_29112025_03_25_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/11/29/f69b0a062c5e9f251603320bd2208fdf.jpg","text":"TemporaryFile(/tmp/multipartBody6728331229759958236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383343327,"filename":"image_29112025_03_25_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc148f54416621f22af6ec01b1de052b.jpg","text":"TemporaryFile(/tmp/multipartBody4396346616669026220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383343327,"filename":"image_29112025_03_24_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/11/29/9c88937e82653de3a8f7d06575da2fd9.jpg","text":"TemporaryFile(/tmp/multipartBody5325228850424180356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383343327,"filename":"image_29112025_03_25_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/11/29/d672f94d0e87451ae2d3782de7aaaf9e.jpg","text":"TemporaryFile(/tmp/multipartBody4208079664559523312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383343327,"filename":"image_29112025_03_25_44_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806033","file1":"1396806032","file0":"1396806031","file4":"1396806036","file5":"1396806038","file3":"1396806034"},"map_files_photo_id_array":[{"photo_id":"1396806038","filename":"file5"},{"photo_id":"1396806033","filename":"file2"},{"photo_id":"1396806036","filename":"file4"},{"photo_id":"1396806032","filename":"file1"},{"photo_id":"1396806031","filename":"file0"},{"photo_id":"1396806034","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396806038":["hashtag1","hashtag2"]},{"1396806032":["hashtag1","hashtag2"]},{"1396806034":["hashtag1","hashtag2"]},{"1396806031":["hashtag1","hashtag2"]},{"1396806033":["hashtag1","hashtag2"]},{"1396806036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396806038, 1396806032, 1396806034, 1396806031, 1396806033, 1396806036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.445987701416016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:28:42.104530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_26_2568.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_29_3653.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_32_2608.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_38_3682.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_41_2659.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_44_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/08/30/image_31102025_08_30_26_2568.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_29_3653.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_32_2608.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_38_3682.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_41_2659.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_44_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":["1396806056","1396806050","1396806052","1396806045","1396806054","1396806048"],"photo_ids_order":["1396806045","1396806048","1396806050","1396806052","1396806054","1396806056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37dc1acc78e1ed9ad53618528b02d109.jpg","text":"TemporaryFile(/tmp/multipartBody8303083984687970734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383383187,"filename":"image_31102025_08_30_44_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02cb5a597e9cdad37c18180eb1bb8275.jpg","text":"TemporaryFile(/tmp/multipartBody7777814386618563081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383383187,"filename":"image_31102025_08_30_32_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03b40e69a8b5545cc81ba1eb8309175e.jpg","text":"TemporaryFile(/tmp/multipartBody6125583892517857990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383383187,"filename":"image_31102025_08_30_38_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/851e76fb3acdba1f07f55d3bdf96e874.jpg","text":"TemporaryFile(/tmp/multipartBody4444473456835900324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383383187,"filename":"image_31102025_08_30_26_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2580dfb80bf23e5a9c74456c6ff5f9d8.jpg","text":"TemporaryFile(/tmp/multipartBody5570525056543139882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383383187,"filename":"image_31102025_08_30_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/11/29/299c0bed584328c9f44e7b1eb1bb67ee.jpg","text":"TemporaryFile(/tmp/multipartBody7299026848360513364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383383187,"filename":"image_31102025_08_30_29_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806050","file1":"1396806048","file0":"1396806045","file4":"1396806054","file5":"1396806056","file3":"1396806052"},"map_files_photo_id_array":[{"photo_id":"1396806056","filename":"file5"},{"photo_id":"1396806050","filename":"file2"},{"photo_id":"1396806054","filename":"file4"},{"photo_id":"1396806048","filename":"file1"},{"photo_id":"1396806045","filename":"file0"},{"photo_id":"1396806052","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396806056":["hashtag1","hashtag2"]},{"1396806050":["hashtag1","hashtag2"]},{"1396806052":["hashtag1","hashtag2"]},{"1396806045":["hashtag1","hashtag2"]},{"1396806054":["hashtag1","hashtag2"]},{"1396806048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396806056, 1396806050, 1396806052, 1396806045, 1396806054, 1396806048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03561806678772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:29:22.310771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/26/image_29112025_03_26_14_9651.jpg', '/home/pi/Desktop/images/29112025/03/26/image_29112025_03_26_24_10613.jpg', '/home/pi/Desktop/images/29112025/03/26/image_29112025_03_26_34_9596.jpg', '/home/pi/Desktop/images/29112025/03/27/image_29112025_03_27_15_10594.jpg', '/home/pi/Desktop/images/29112025/03/27/image_29112025_03_27_24_9680.jpg', '/home/pi/Desktop/images/29112025/03/27/image_29112025_03_27_44_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/26/image_29112025_03_26_14_9651.jpg
/home/pi/Desktop/images/29112025/03/26/image_29112025_03_26_24_10613.jpg
/home/pi/Desktop/images/29112025/03/26/image_29112025_03_26_34_9596.jpg
/home/pi/Desktop/images/29112025/03/27/image_29112025_03_27_15_10594.jpg
/home/pi/Desktop/images/29112025/03/27/image_29112025_03_27_24_9680.jpg
/home/pi/Desktop/images/29112025/03/27/image_29112025_03_27_44_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396806089","1396806062","1396806076","1396806106","1396806066","1396806102"],"photo_ids_order":["1396806062","1396806066","1396806076","1396806089","1396806102","1396806106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d655bfd681d9141ca27d9358e38091a.jpg","text":"TemporaryFile(/tmp/multipartBody2971614372822846016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383423057,"filename":"image_29112025_03_27_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df2e33c7c0c97c06ea426bb6455291db.jpg","text":"TemporaryFile(/tmp/multipartBody2244308333975152269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383423057,"filename":"image_29112025_03_26_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05361e474c3e4d56f811edc5718ca5e6.jpg","text":"TemporaryFile(/tmp/multipartBody8305485688922750979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383423057,"filename":"image_29112025_03_26_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/11/29/84b60c04a7daced7c0b260f5e44a34bd.jpg","text":"TemporaryFile(/tmp/multipartBody3492939712855258343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383423057,"filename":"image_29112025_03_27_44_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58655a85913c2b55062f1e0b7fc8d298.jpg","text":"TemporaryFile(/tmp/multipartBody1489496700490179051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383423057,"filename":"image_29112025_03_26_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd90dfdcfc7340cca5dc0b442c303af7.jpg","text":"TemporaryFile(/tmp/multipartBody998426537572127857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383423057,"filename":"image_29112025_03_27_24_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806076","file1":"1396806066","file0":"1396806062","file4":"1396806102","file5":"1396806106","file3":"1396806089"},"map_files_photo_id_array":[{"photo_id":"1396806106","filename":"file5"},{"photo_id":"1396806076","filename":"file2"},{"photo_id":"1396806102","filename":"file4"},{"photo_id":"1396806066","filename":"file1"},{"photo_id":"1396806062","filename":"file0"},{"photo_id":"1396806089","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396806089":["hashtag1","hashtag2"]},{"1396806062":["hashtag1","hashtag2"]},{"1396806076":["hashtag1","hashtag2"]},{"1396806106":["hashtag1","hashtag2"]},{"1396806066":["hashtag1","hashtag2"]},{"1396806102":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396806089, 1396806062, 1396806076, 1396806106, 1396806066, 1396806102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37017464637756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:30:03.014630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/27/image_29112025_03_28_04_9745.jpg', '/home/pi/Desktop/images/29112025/03/28/image_29112025_03_28_14_9845.jpg', '/home/pi/Desktop/images/29112025/03/28/image_29112025_03_28_35_10802.jpg', '/home/pi/Desktop/images/29112025/03/28/image_29112025_03_28_54_9683.jpg', '/home/pi/Desktop/images/29112025/03/28/image_29112025_03_29_04_9927.jpg', '/home/pi/Desktop/images/29112025/03/29/image_29112025_03_29_14_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/27/image_29112025_03_28_04_9745.jpg
/home/pi/Desktop/images/29112025/03/28/image_29112025_03_28_14_9845.jpg
/home/pi/Desktop/images/29112025/03/28/image_29112025_03_28_35_10802.jpg
/home/pi/Desktop/images/29112025/03/28/image_29112025_03_28_54_9683.jpg
/home/pi/Desktop/images/29112025/03/28/image_29112025_03_29_04_9927.jpg
/home/pi/Desktop/images/29112025/03/29/image_29112025_03_29_14_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":["1396806110","1396806107","1396806115","1396806109","1396806112","1396806108"],"photo_ids_order":["1396806107","1396806108","1396806109","1396806110","1396806112","1396806115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb8eba1c857614dda60190b16b58b718.jpg","text":"TemporaryFile(/tmp/multipartBody9009841738643707225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383463770,"filename":"image_29112025_03_28_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/11/29/bdf7294cad4397468ae9361295e5b6e7.jpg","text":"TemporaryFile(/tmp/multipartBody7690700563243237503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383463770,"filename":"image_29112025_03_28_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/11/29/ec979bd942f59889aa335c465c6c9d21.jpg","text":"TemporaryFile(/tmp/multipartBody4317883879349149600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383463770,"filename":"image_29112025_03_29_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/11/29/e81f69c3af2a2c3951b908046efe1b57.jpg","text":"TemporaryFile(/tmp/multipartBody612967072247586712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383463770,"filename":"image_29112025_03_28_35_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5e731f505c07276725cb2e07ab414df.jpg","text":"TemporaryFile(/tmp/multipartBody4241773727730424944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383463770,"filename":"image_29112025_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/11/29/a694991dcd0c1e51a6f737e11a94a358.jpg","text":"TemporaryFile(/tmp/multipartBody3648918853594836617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383463770,"filename":"image_29112025_03_28_14_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806109","file1":"1396806108","file0":"1396806107","file4":"1396806112","file5":"1396806115","file3":"1396806110"},"map_files_photo_id_array":[{"photo_id":"1396806115","filename":"file5"},{"photo_id":"1396806109","filename":"file2"},{"photo_id":"1396806112","filename":"file4"},{"photo_id":"1396806108","filename":"file1"},{"photo_id":"1396806107","filename":"file0"},{"photo_id":"1396806110","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396806110":["hashtag1","hashtag2"]},{"1396806107":["hashtag1","hashtag2"]},{"1396806115":["hashtag1","hashtag2"]},{"1396806109":["hashtag1","hashtag2"]},{"1396806112":["hashtag1","hashtag2"]},{"1396806108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396806110, 1396806107, 1396806115, 1396806109, 1396806112, 1396806108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41798710823059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:30:42.446457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_47_3710.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_50_2693.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_53_2608.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_56_3545.jpg', '/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_59_2678.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_05_3752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_47_3710.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_50_2693.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_53_2608.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_56_3545.jpg
/home/pi/Desktop/images/31102025/08/30/image_31102025_08_30_59_2678.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_05_3752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396806125","1396806127","1396806121","1396806124","1396806126","1396806123"],"photo_ids_order":["1396806121","1396806123","1396806124","1396806125","1396806126","1396806127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9cbf7c3eb23394bd633a990cdab816b7.jpg","text":"TemporaryFile(/tmp/multipartBody3559218975511952831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383503594,"filename":"image_31102025_08_30_56_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53273c008e2141f0588b664964a440e7.jpg","text":"TemporaryFile(/tmp/multipartBody2742714063366159435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383503594,"filename":"image_31102025_08_31_05_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9d670c55b94aa411e872c6fb1f2bc22.jpg","text":"TemporaryFile(/tmp/multipartBody6519336938287983028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383503594,"filename":"image_31102025_08_30_47_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ef7199809314ed544bd599d726294d6.jpg","text":"TemporaryFile(/tmp/multipartBody3468834738143581141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383503594,"filename":"image_31102025_08_30_53_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58bc81e6520149d2187c0298ac8d1bec.jpg","text":"TemporaryFile(/tmp/multipartBody5975158554909404387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383503594,"filename":"image_31102025_08_30_59_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32e80f43d5125413f25e41a92b793da7.jpg","text":"TemporaryFile(/tmp/multipartBody1914709352782805108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383503594,"filename":"image_31102025_08_30_50_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806124","file1":"1396806123","file0":"1396806121","file4":"1396806126","file5":"1396806127","file3":"1396806125"},"map_files_photo_id_array":[{"photo_id":"1396806127","filename":"file5"},{"photo_id":"1396806124","filename":"file2"},{"photo_id":"1396806126","filename":"file4"},{"photo_id":"1396806123","filename":"file1"},{"photo_id":"1396806121","filename":"file0"},{"photo_id":"1396806125","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396806125":["hashtag1","hashtag2"]},{"1396806127":["hashtag1","hashtag2"]},{"1396806121":["hashtag1","hashtag2"]},{"1396806124":["hashtag1","hashtag2"]},{"1396806126":["hashtag1","hashtag2"]},{"1396806123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396806125, 1396806127, 1396806121, 1396806124, 1396806126, 1396806123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20740008354187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:31:22.568344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/29/image_29112025_03_29_34_9663.jpg', '/home/pi/Desktop/images/29112025/03/29/image_29112025_03_29_44_9808.jpg', '/home/pi/Desktop/images/29112025/03/29/image_29112025_03_29_54_9689.jpg', '/home/pi/Desktop/images/29112025/03/29/image_29112025_03_30_05_10870.jpg', '/home/pi/Desktop/images/29112025/03/30/image_29112025_03_30_14_9677.jpg', '/home/pi/Desktop/images/29112025/03/30/image_29112025_03_30_24_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/29/image_29112025_03_29_34_9663.jpg
/home/pi/Desktop/images/29112025/03/29/image_29112025_03_29_44_9808.jpg
/home/pi/Desktop/images/29112025/03/29/image_29112025_03_29_54_9689.jpg
/home/pi/Desktop/images/29112025/03/29/image_29112025_03_30_05_10870.jpg
/home/pi/Desktop/images/29112025/03/30/image_29112025_03_30_14_9677.jpg
/home/pi/Desktop/images/29112025/03/30/image_29112025_03_30_24_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396806140","1396806143","1396806137","1396806131","1396806134","1396806145"],"photo_ids_order":["1396806131","1396806134","1396806137","1396806140","1396806143","1396806145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53f01e495b1dc141139ebd5efb40d996.jpg","text":"TemporaryFile(/tmp/multipartBody1055346665179108778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383543315,"filename":"image_29112025_03_30_05_10870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/410d199b97795a7287667cc7a1505019.jpg","text":"TemporaryFile(/tmp/multipartBody7578788940088169860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383543315,"filename":"image_29112025_03_30_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3e298727b499de4d70085426899e59b.jpg","text":"TemporaryFile(/tmp/multipartBody1865526490169804521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383543315,"filename":"image_29112025_03_29_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/11/29/4e83b0184df28b4cdb32b5e3c909096b.jpg","text":"TemporaryFile(/tmp/multipartBody4403457973903966473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383543315,"filename":"image_29112025_03_29_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/11/29/fdd297781172889e6d7079ef4b738e0f.jpg","text":"TemporaryFile(/tmp/multipartBody1395973907630306336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383543315,"filename":"image_29112025_03_29_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/11/29/1b716dea2068f46d50117a59d556ba21.jpg","text":"TemporaryFile(/tmp/multipartBody3741932610521286930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383543315,"filename":"image_29112025_03_30_24_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806137","file1":"1396806134","file0":"1396806131","file4":"1396806143","file5":"1396806145","file3":"1396806140"},"map_files_photo_id_array":[{"photo_id":"1396806145","filename":"file5"},{"photo_id":"1396806137","filename":"file2"},{"photo_id":"1396806143","filename":"file4"},{"photo_id":"1396806134","filename":"file1"},{"photo_id":"1396806131","filename":"file0"},{"photo_id":"1396806140","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396806140":["hashtag1","hashtag2"]},{"1396806143":["hashtag1","hashtag2"]},{"1396806137":["hashtag1","hashtag2"]},{"1396806131":["hashtag1","hashtag2"]},{"1396806134":["hashtag1","hashtag2"]},{"1396806145":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396806140, 1396806143, 1396806137, 1396806131, 1396806134, 1396806145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16272735595703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:32:03.207904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/30/image_29112025_03_30_44_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/30/image_29112025_03_30_44_9838.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4505758285522461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:32:12.884349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_19_2657.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_22_3596.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_25_2685.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_29_3603.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_31_2707.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_34_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_19_2657.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_22_3596.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_25_2685.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_29_3603.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_31_2707.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_34_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396806170","1396806181","1396806184","1396806178","1396806172","1396806175"],"photo_ids_order":["1396806170","1396806172","1396806175","1396806178","1396806181","1396806184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f319d4df738a286204f44829961708d.jpg","text":"TemporaryFile(/tmp/multipartBody221589192099942847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383594977,"filename":"image_25112025_17_38_19_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81be870c17434602d0e964d4b3f38443.jpg","text":"TemporaryFile(/tmp/multipartBody9180631469551017125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383594977,"filename":"image_25112025_17_38_31_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e64687d4807c5b60914c6ddfaa17583f.jpg","text":"TemporaryFile(/tmp/multipartBody1465609336035516325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383594977,"filename":"image_25112025_17_38_34_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9e4460e240448869edd1e118b9b05da.jpg","text":"TemporaryFile(/tmp/multipartBody4922046274699303383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383594977,"filename":"image_25112025_17_38_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/11/29/d4142312f1eac1269061addac5e5d98b.jpg","text":"TemporaryFile(/tmp/multipartBody1976287409888895836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383594977,"filename":"image_25112025_17_38_22_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d10986975353c3913b1f6385b930139.jpg","text":"TemporaryFile(/tmp/multipartBody3282414069297486922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383594977,"filename":"image_25112025_17_38_25_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806175","file1":"1396806172","file0":"1396806170","file4":"1396806181","file5":"1396806184","file3":"1396806178"},"map_files_photo_id_array":[{"photo_id":"1396806184","filename":"file5"},{"photo_id":"1396806175","filename":"file2"},{"photo_id":"1396806181","filename":"file4"},{"photo_id":"1396806172","filename":"file1"},{"photo_id":"1396806170","filename":"file0"},{"photo_id":"1396806178","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396806170":["hashtag1","hashtag2"]},{"1396806181":["hashtag1","hashtag2"]},{"1396806184":["hashtag1","hashtag2"]},{"1396806178":["hashtag1","hashtag2"]},{"1396806172":["hashtag1","hashtag2"]},{"1396806175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396806170, 1396806181, 1396806184, 1396806178, 1396806172, 1396806175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02910566329956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:33:02.624664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/30/image_29112025_03_30_44_9838.jpg', '/home/pi/Desktop/images/29112025/03/30/image_29112025_03_30_54_9585.jpg', '/home/pi/Desktop/images/29112025/03/31/image_29112025_03_32_05_10049.jpg', '/home/pi/Desktop/images/29112025/03/32/image_29112025_03_32_15_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/30/image_29112025_03_30_44_9838.jpg
/home/pi/Desktop/images/29112025/03/30/image_29112025_03_30_54_9585.jpg
/home/pi/Desktop/images/29112025/03/31/image_29112025_03_32_05_10049.jpg
/home/pi/Desktop/images/29112025/03/32/image_29112025_03_32_15_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396806188","1396806190","1396806189","1396806186"],"photo_ids_order":["1396806186","1396806188","1396806189","1396806190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/493826f21982f2cca273683627eedc43.jpg","text":"TemporaryFile(/tmp/multipartBody3413181562422133055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383643383,"filename":"image_29112025_03_30_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e1fefad71fbedaa6f9d3e33b0e761af.jpg","text":"TemporaryFile(/tmp/multipartBody4885427946014420413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383643383,"filename":"image_29112025_03_32_15_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ce430282e428c4e34560997a9f82f98.jpg","text":"TemporaryFile(/tmp/multipartBody3950428683586489243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383643383,"filename":"image_29112025_03_32_05_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ee5bae8ae8cf2d2bc88ba667eb6bc4e.jpg","text":"TemporaryFile(/tmp/multipartBody3708131348755046745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383643383,"filename":"image_29112025_03_30_44_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806189","file1":"1396806188","file0":"1396806186","file3":"1396806190"},"map_files_photo_id_array":[{"photo_id":"1396806189","filename":"file2"},{"photo_id":"1396806188","filename":"file1"},{"photo_id":"1396806186","filename":"file0"},{"photo_id":"1396806190","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396806188":["hashtag1","hashtag2"]},{"1396806190":["hashtag1","hashtag2"]},{"1396806189":["hashtag1","hashtag2"]},{"1396806186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396806188, 1396806190, 1396806189, 1396806186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.256396532058716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:33:32.016841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_37_2677.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_40_3527.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_43_2479.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_46_3543.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_49_2586.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_53_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_37_2677.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_40_3527.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_43_2479.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_46_3543.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_49_2586.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_53_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":["1396806204","1396806203","1396806206","1396806199","1396806205","1396806201"],"photo_ids_order":["1396806199","1396806201","1396806203","1396806204","1396806205","1396806206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffeb150e362288d0243942f154939588.jpg","text":"TemporaryFile(/tmp/multipartBody815055977111688255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383674247,"filename":"image_25112025_17_38_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/11/29/d646b0f4ed32442c43e085edcae4744c.jpg","text":"TemporaryFile(/tmp/multipartBody7253105087361642298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383674247,"filename":"image_25112025_17_38_43_2479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40369d42ed262a4eb1b35ff6a606f543.jpg","text":"TemporaryFile(/tmp/multipartBody1673258618541895009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383674247,"filename":"image_25112025_17_38_53_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e3aaf1d2110249ba7f809c32f73fb54.jpg","text":"TemporaryFile(/tmp/multipartBody3381606217919385752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383674247,"filename":"image_25112025_17_38_37_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad448ced933c391ce6d1079222bc49a2.jpg","text":"TemporaryFile(/tmp/multipartBody976876324550921539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383674247,"filename":"image_25112025_17_38_49_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2665a58b189ce19610af446e75c1b9e4.jpg","text":"TemporaryFile(/tmp/multipartBody6067190629738628306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383674247,"filename":"image_25112025_17_38_40_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806203","file1":"1396806201","file0":"1396806199","file4":"1396806205","file5":"1396806206","file3":"1396806204"},"map_files_photo_id_array":[{"photo_id":"1396806206","filename":"file5"},{"photo_id":"1396806203","filename":"file2"},{"photo_id":"1396806205","filename":"file4"},{"photo_id":"1396806201","filename":"file1"},{"photo_id":"1396806199","filename":"file0"},{"photo_id":"1396806204","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396806204":["hashtag1","hashtag2"]},{"1396806203":["hashtag1","hashtag2"]},{"1396806206":["hashtag1","hashtag2"]},{"1396806199":["hashtag1","hashtag2"]},{"1396806205":["hashtag1","hashtag2"]},{"1396806201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396806204, 1396806203, 1396806206, 1396806199, 1396806205, 1396806201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9838228225708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:34:12.195200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_57_3998.jpg', '/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_58_1637.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_01_2802.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_04_2694.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_07_3719.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_10_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_57_3998.jpg
/home/pi/Desktop/images/25112025/17/38/image_25112025_17_38_58_1637.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_01_2802.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_04_2694.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_07_3719.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_10_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396806248","1396806289","1396806215","1396806208","1396806210","1396806213"],"photo_ids_order":["1396806208","1396806210","1396806213","1396806215","1396806248","1396806289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a324a3e07be8820a5e38ffafeb0e16e.jpg","text":"TemporaryFile(/tmp/multipartBody6582004308256885485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383714317,"filename":"image_25112025_17_39_07_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5de4a8b416524c38a92bf13a6d80e17d.jpg","text":"TemporaryFile(/tmp/multipartBody7194914880531868428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383714317,"filename":"image_25112025_17_39_10_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0f92a71a08a31349e0775e03bd73e18.jpg","text":"TemporaryFile(/tmp/multipartBody9076459167936193396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383714317,"filename":"image_25112025_17_39_04_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49121f88f88afd2906f7cc226c6d04c9.jpg","text":"TemporaryFile(/tmp/multipartBody3936770073856919210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383714317,"filename":"image_25112025_17_38_57_3998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb26e6e34f65c8412690865cc657a696.jpg","text":"TemporaryFile(/tmp/multipartBody1229111252154784594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383714317,"filename":"image_25112025_17_38_58_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4467652ef3904c337c9bcdea843bec8.jpg","text":"TemporaryFile(/tmp/multipartBody2940544000061254436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383714317,"filename":"image_25112025_17_39_01_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806213","file1":"1396806210","file0":"1396806208","file4":"1396806248","file5":"1396806289","file3":"1396806215"},"map_files_photo_id_array":[{"photo_id":"1396806289","filename":"file5"},{"photo_id":"1396806213","filename":"file2"},{"photo_id":"1396806248","filename":"file4"},{"photo_id":"1396806210","filename":"file1"},{"photo_id":"1396806208","filename":"file0"},{"photo_id":"1396806215","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396806248":["hashtag1","hashtag2"]},{"1396806289":["hashtag1","hashtag2"]},{"1396806215":["hashtag1","hashtag2"]},{"1396806208":["hashtag1","hashtag2"]},{"1396806210":["hashtag1","hashtag2"]},{"1396806213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396806248, 1396806289, 1396806215, 1396806208, 1396806210, 1396806213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34988069534302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:35:03.003195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/32/image_29112025_03_32_54_9600.jpg', '/home/pi/Desktop/images/29112025/03/32/image_29112025_03_33_05_10629.jpg', '/home/pi/Desktop/images/29112025/03/33/image_29112025_03_33_14_9581.jpg', '/home/pi/Desktop/images/29112025/03/33/image_29112025_03_33_24_9678.jpg', '/home/pi/Desktop/images/29112025/03/33/image_29112025_03_33_34_9773.jpg', '/home/pi/Desktop/images/29112025/03/33/image_29112025_03_33_45_10843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/32/image_29112025_03_32_54_9600.jpg
/home/pi/Desktop/images/29112025/03/32/image_29112025_03_33_05_10629.jpg
/home/pi/Desktop/images/29112025/03/33/image_29112025_03_33_14_9581.jpg
/home/pi/Desktop/images/29112025/03/33/image_29112025_03_33_24_9678.jpg
/home/pi/Desktop/images/29112025/03/33/image_29112025_03_33_34_9773.jpg
/home/pi/Desktop/images/29112025/03/33/image_29112025_03_33_45_10843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396806698","1396806656","1396806572","1396806616","1396806535","1396806497"],"photo_ids_order":["1396806497","1396806535","1396806572","1396806616","1396806656","1396806698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5f7e15e75f99d3b9e92af759fb9a434.jpg","text":"TemporaryFile(/tmp/multipartBody4578548466929457326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383763845,"filename":"image_29112025_03_33_45_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d094d682cbb0b081e7875d0b792dfc7e.jpg","text":"TemporaryFile(/tmp/multipartBody1737151542422977616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383763845,"filename":"image_29112025_03_33_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/11/29/c2851b5c958bbf72e8893345f5424812.jpg","text":"TemporaryFile(/tmp/multipartBody8235168919367823709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383763845,"filename":"image_29112025_03_33_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53b74f9b0c331fc902d269edbe70600f.jpg","text":"TemporaryFile(/tmp/multipartBody2644188978636952487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383763845,"filename":"image_29112025_03_33_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/11/29/dbb00f0bd3c3c1575f2d913a65d4c2c6.jpg","text":"TemporaryFile(/tmp/multipartBody1331361513218889491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383763845,"filename":"image_29112025_03_33_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/11/29/d89f6b75108cb7c3ac6ab10cb1d01a60.jpg","text":"TemporaryFile(/tmp/multipartBody8503538846647723392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383763845,"filename":"image_29112025_03_32_54_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806572","file1":"1396806535","file0":"1396806497","file4":"1396806656","file5":"1396806698","file3":"1396806616"},"map_files_photo_id_array":[{"photo_id":"1396806698","filename":"file5"},{"photo_id":"1396806572","filename":"file2"},{"photo_id":"1396806656","filename":"file4"},{"photo_id":"1396806535","filename":"file1"},{"photo_id":"1396806497","filename":"file0"},{"photo_id":"1396806616","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396806698":["hashtag1","hashtag2"]},{"1396806656":["hashtag1","hashtag2"]},{"1396806572":["hashtag1","hashtag2"]},{"1396806616":["hashtag1","hashtag2"]},{"1396806535":["hashtag1","hashtag2"]},{"1396806497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396806698, 1396806656, 1396806572, 1396806616, 1396806535, 1396806497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71898627281189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:35:42.299620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_08_2636.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_11_2775.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_17_3705.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_23_2773.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_35_3622.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_38_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/08/31/image_31102025_08_31_08_2636.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_11_2775.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_17_3705.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_23_2773.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_35_3622.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_38_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":["1396807037","1396806962","1396806851","1396806886","1396806922","1396807002"],"photo_ids_order":["1396806851","1396806886","1396806922","1396806962","1396807002","1396807037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6556dcbec70e073b71731fb69c5928e0.jpg","text":"TemporaryFile(/tmp/multipartBody3116332819124933635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383803399,"filename":"image_31102025_08_31_38_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f7ce946f8ee9f5afb1f1f2956d23973.jpg","text":"TemporaryFile(/tmp/multipartBody499041670207197866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383803399,"filename":"image_31102025_08_31_23_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aca0ab2b79834d405a23bf71a2b0699e.jpg","text":"TemporaryFile(/tmp/multipartBody1505800514369543504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383803399,"filename":"image_31102025_08_31_08_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47d1de3857782238ec0ad86632fd8bf5.jpg","text":"TemporaryFile(/tmp/multipartBody8684774754480513228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383803399,"filename":"image_31102025_08_31_11_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/053e200fb8106a651f9086a00232be08.jpg","text":"TemporaryFile(/tmp/multipartBody4021442595884974735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383803399,"filename":"image_31102025_08_31_17_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43a8cf2f3f400db9f6ee190a32b11940.jpg","text":"TemporaryFile(/tmp/multipartBody2136362574942951048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383803399,"filename":"image_31102025_08_31_35_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396806922","file1":"1396806886","file0":"1396806851","file4":"1396807002","file5":"1396807037","file3":"1396806962"},"map_files_photo_id_array":[{"photo_id":"1396807037","filename":"file5"},{"photo_id":"1396806922","filename":"file2"},{"photo_id":"1396807002","filename":"file4"},{"photo_id":"1396806886","filename":"file1"},{"photo_id":"1396806851","filename":"file0"},{"photo_id":"1396806962","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396807037":["hashtag1","hashtag2"]},{"1396806962":["hashtag1","hashtag2"]},{"1396806851":["hashtag1","hashtag2"]},{"1396806886":["hashtag1","hashtag2"]},{"1396806922":["hashtag1","hashtag2"]},{"1396807002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396807037, 1396806962, 1396806851, 1396806886, 1396806922, 1396807002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08837413787842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:36:22.551722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/33/image_29112025_03_33_54_9225.jpg', '/home/pi/Desktop/images/29112025/03/33/image_29112025_03_34_04_10601.jpg', '/home/pi/Desktop/images/29112025/03/34/image_29112025_03_34_14_9675.jpg', '/home/pi/Desktop/images/29112025/03/34/image_29112025_03_35_04_10694.jpg', '/home/pi/Desktop/images/29112025/03/35/image_29112025_03_35_14_9669.jpg', '/home/pi/Desktop/images/29112025/03/35/image_29112025_03_35_24_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/33/image_29112025_03_33_54_9225.jpg
/home/pi/Desktop/images/29112025/03/33/image_29112025_03_34_04_10601.jpg
/home/pi/Desktop/images/29112025/03/34/image_29112025_03_34_14_9675.jpg
/home/pi/Desktop/images/29112025/03/34/image_29112025_03_35_04_10694.jpg
/home/pi/Desktop/images/29112025/03/35/image_29112025_03_35_14_9669.jpg
/home/pi/Desktop/images/29112025/03/35/image_29112025_03_35_24_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807168","1396807249","1396807242","1396807239","1396807206","1396807247"],"photo_ids_order":["1396807168","1396807206","1396807239","1396807242","1396807247","1396807249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea6460f13a9c5dadc95a5d1c957c702f.jpg","text":"TemporaryFile(/tmp/multipartBody5725815801545739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383843302,"filename":"image_29112025_03_33_54_9225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e479e6108e534b8cf4d2ecdedeaf3470.jpg","text":"TemporaryFile(/tmp/multipartBody773099765701780342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383843302,"filename":"image_29112025_03_35_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/11/29/515a7a730148fe6ad577729660f27c61.jpg","text":"TemporaryFile(/tmp/multipartBody5827338601373533573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383843302,"filename":"image_29112025_03_35_04_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/806c22ae918ddbd5ce839f0037de84c3.jpg","text":"TemporaryFile(/tmp/multipartBody7836510239100039089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383843302,"filename":"image_29112025_03_34_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/11/29/17dd4b102a1c8cff0012ac3b0aee3ded.jpg","text":"TemporaryFile(/tmp/multipartBody8889233273372544332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383843302,"filename":"image_29112025_03_34_04_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ab99ceca6af9319806ca7c2624b02a0.jpg","text":"TemporaryFile(/tmp/multipartBody92864360935055487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383843302,"filename":"image_29112025_03_35_14_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807239","file1":"1396807206","file0":"1396807168","file4":"1396807247","file5":"1396807249","file3":"1396807242"},"map_files_photo_id_array":[{"photo_id":"1396807249","filename":"file5"},{"photo_id":"1396807239","filename":"file2"},{"photo_id":"1396807247","filename":"file4"},{"photo_id":"1396807206","filename":"file1"},{"photo_id":"1396807168","filename":"file0"},{"photo_id":"1396807242","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807168":["hashtag1","hashtag2"]},{"1396807249":["hashtag1","hashtag2"]},{"1396807242":["hashtag1","hashtag2"]},{"1396807239":["hashtag1","hashtag2"]},{"1396807206":["hashtag1","hashtag2"]},{"1396807247":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807168, 1396807249, 1396807242, 1396807239, 1396807206, 1396807247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.210453033447266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:37:03.381378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/35/image_29112025_03_35_34_10741.jpg', '/home/pi/Desktop/images/29112025/03/35/image_29112025_03_35_54_9753.jpg', '/home/pi/Desktop/images/29112025/03/35/image_29112025_03_36_04_10621.jpg', '/home/pi/Desktop/images/29112025/03/36/image_29112025_03_36_14_9725.jpg', '/home/pi/Desktop/images/29112025/03/36/image_29112025_03_36_24_9798.jpg', '/home/pi/Desktop/images/29112025/03/36/image_29112025_03_36_34_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/35/image_29112025_03_35_34_10741.jpg
/home/pi/Desktop/images/29112025/03/35/image_29112025_03_35_54_9753.jpg
/home/pi/Desktop/images/29112025/03/35/image_29112025_03_36_04_10621.jpg
/home/pi/Desktop/images/29112025/03/36/image_29112025_03_36_14_9725.jpg
/home/pi/Desktop/images/29112025/03/36/image_29112025_03_36_24_9798.jpg
/home/pi/Desktop/images/29112025/03/36/image_29112025_03_36_34_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":["1396807261","1396807255","1396807252","1396807254","1396807257","1396807253"],"photo_ids_order":["1396807252","1396807253","1396807254","1396807255","1396807257","1396807261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ca8374f7021f7f00185cbccc5925d48.jpg","text":"TemporaryFile(/tmp/multipartBody6550520955393337381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383884203,"filename":"image_29112025_03_36_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/11/29/0e27f44a3b40b72ee441f6f0add762cf.jpg","text":"TemporaryFile(/tmp/multipartBody4859852470707403833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383884203,"filename":"image_29112025_03_36_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/11/29/523f7f6f207301ce15bb64ba62f89e3c.jpg","text":"TemporaryFile(/tmp/multipartBody79783235752063421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383884203,"filename":"image_29112025_03_35_34_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba049c21f5745ced16d82eccb1b0d559.jpg","text":"TemporaryFile(/tmp/multipartBody7776204987005673491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383884203,"filename":"image_29112025_03_36_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/11/29/bacecb07196b84513aef99fd9839eaa7.jpg","text":"TemporaryFile(/tmp/multipartBody4005978414792783639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383884203,"filename":"image_29112025_03_36_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/11/29/f08f87b93f639a3bb7acdb47784c81f0.jpg","text":"TemporaryFile(/tmp/multipartBody4323598245718946553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383884203,"filename":"image_29112025_03_35_54_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807254","file1":"1396807253","file0":"1396807252","file4":"1396807257","file5":"1396807261","file3":"1396807255"},"map_files_photo_id_array":[{"photo_id":"1396807261","filename":"file5"},{"photo_id":"1396807254","filename":"file2"},{"photo_id":"1396807257","filename":"file4"},{"photo_id":"1396807253","filename":"file1"},{"photo_id":"1396807252","filename":"file0"},{"photo_id":"1396807255","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807261":["hashtag1","hashtag2"]},{"1396807255":["hashtag1","hashtag2"]},{"1396807252":["hashtag1","hashtag2"]},{"1396807254":["hashtag1","hashtag2"]},{"1396807257":["hashtag1","hashtag2"]},{"1396807253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807261, 1396807255, 1396807252, 1396807254, 1396807257, 1396807253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96468210220337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:37:42.731905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_41_2973.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_47_3578.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_50_2786.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_53_2614.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_56_3581.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_59_2895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_41_2973.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_47_3578.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_50_2786.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_53_2614.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_56_3581.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_59_2895.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.021942138671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:38:02.362955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/36/image_29112025_03_36_44_10661.jpg', '/home/pi/Desktop/images/29112025/03/36/image_29112025_03_36_54_9709.jpg', '/home/pi/Desktop/images/29112025/03/36/image_29112025_03_37_04_9697.jpg', '/home/pi/Desktop/images/29112025/03/37/image_29112025_03_37_15_10739.jpg', '/home/pi/Desktop/images/29112025/03/37/image_29112025_03_37_34_9880.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/36/image_29112025_03_36_44_10661.jpg
/home/pi/Desktop/images/29112025/03/36/image_29112025_03_36_54_9709.jpg
/home/pi/Desktop/images/29112025/03/36/image_29112025_03_37_04_9697.jpg
/home/pi/Desktop/images/29112025/03/37/image_29112025_03_37_15_10739.jpg
/home/pi/Desktop/images/29112025/03/37/image_29112025_03_37_34_9880.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807421","1396807489","1396807454","1396807382","1396807523"],"photo_ids_order":["1396807382","1396807421","1396807454","1396807489","1396807523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a828cfd083b187e196bc945da638a88b.jpg","text":"TemporaryFile(/tmp/multipartBody7270966260836677121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383943104,"filename":"image_29112025_03_36_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/11/29/6bf67ca4159721c7e472e96a84b912e6.jpg","text":"TemporaryFile(/tmp/multipartBody3826961027264652923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383943104,"filename":"image_29112025_03_37_15_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31b3cc97adaaa7475a0f0ec3b7c1cd70.jpg","text":"TemporaryFile(/tmp/multipartBody5814250594085233179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383943104,"filename":"image_29112025_03_37_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2951fcf4af45a0f80bcc8aa603feaaf1.jpg","text":"TemporaryFile(/tmp/multipartBody3269318698609929480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383943104,"filename":"image_29112025_03_36_44_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53e47b1968f74f3958022be2943e0b46.jpg","text":"TemporaryFile(/tmp/multipartBody4927343623845245797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383943104,"filename":"image_29112025_03_37_34_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807454","file1":"1396807421","file0":"1396807382","file4":"1396807523","file3":"1396807489"},"map_files_photo_id_array":[{"photo_id":"1396807454","filename":"file2"},{"photo_id":"1396807523","filename":"file4"},{"photo_id":"1396807421","filename":"file1"},{"photo_id":"1396807382","filename":"file0"},{"photo_id":"1396807489","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807421":["hashtag1","hashtag2"]},{"1396807489":["hashtag1","hashtag2"]},{"1396807454":["hashtag1","hashtag2"]},{"1396807382":["hashtag1","hashtag2"]},{"1396807523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807421, 1396807489, 1396807454, 1396807382, 1396807523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.062515258789062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:38:41.928217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_41_2973.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_47_3578.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_50_2786.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_53_2614.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_56_3581.jpg', '/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_59_2895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_41_2973.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_47_3578.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_50_2786.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_53_2614.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_56_3581.jpg
/home/pi/Desktop/images/31102025/08/31/image_31102025_08_31_59_2895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807724","1396807706","1396807762","1396807708","1396807702","1396807707"],"photo_ids_order":["1396807702","1396807706","1396807707","1396807708","1396807724","1396807762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f61bf8f8834707a169f0dc14bd7da697.jpg","text":"TemporaryFile(/tmp/multipartBody6530511747688797635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383982885,"filename":"image_31102025_08_31_56_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b751e91ffac322434403782860835ae.jpg","text":"TemporaryFile(/tmp/multipartBody6635712129635295223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383982885,"filename":"image_31102025_08_31_47_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/522ddd47d2563f97b2bed5030264fb28.jpg","text":"TemporaryFile(/tmp/multipartBody5666022104674222641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383982885,"filename":"image_31102025_08_31_59_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f24819fa43fb29421d9db741cb0f819.jpg","text":"TemporaryFile(/tmp/multipartBody5895044684552345769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383982885,"filename":"image_31102025_08_31_53_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa5deb49678e86be9970d90b933192e8.jpg","text":"TemporaryFile(/tmp/multipartBody4702533427471930219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383982885,"filename":"image_31102025_08_31_41_2973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddb41ad9e5b9c9c88344af20b37323de.jpg","text":"TemporaryFile(/tmp/multipartBody1791612818297290203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764383982885,"filename":"image_31102025_08_31_50_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807707","file1":"1396807706","file0":"1396807702","file4":"1396807724","file5":"1396807762","file3":"1396807708"},"map_files_photo_id_array":[{"photo_id":"1396807762","filename":"file5"},{"photo_id":"1396807707","filename":"file2"},{"photo_id":"1396807724","filename":"file4"},{"photo_id":"1396807706","filename":"file1"},{"photo_id":"1396807702","filename":"file0"},{"photo_id":"1396807708","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396807724":["hashtag1","hashtag2"]},{"1396807706":["hashtag1","hashtag2"]},{"1396807762":["hashtag1","hashtag2"]},{"1396807708":["hashtag1","hashtag2"]},{"1396807702":["hashtag1","hashtag2"]},{"1396807707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396807724, 1396807706, 1396807762, 1396807708, 1396807702, 1396807707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35246801376343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:39:22.108725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/37/image_29112025_03_37_55_9839.jpg', '/home/pi/Desktop/images/29112025/03/37/image_29112025_03_38_04_9709.jpg', '/home/pi/Desktop/images/29112025/03/38/image_29112025_03_38_14_9735.jpg', '/home/pi/Desktop/images/29112025/03/38/image_29112025_03_38_25_10626.jpg', '/home/pi/Desktop/images/29112025/03/38/image_29112025_03_38_34_9617.jpg', '/home/pi/Desktop/images/29112025/03/38/image_29112025_03_38_54_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/37/image_29112025_03_37_55_9839.jpg
/home/pi/Desktop/images/29112025/03/37/image_29112025_03_38_04_9709.jpg
/home/pi/Desktop/images/29112025/03/38/image_29112025_03_38_14_9735.jpg
/home/pi/Desktop/images/29112025/03/38/image_29112025_03_38_25_10626.jpg
/home/pi/Desktop/images/29112025/03/38/image_29112025_03_38_34_9617.jpg
/home/pi/Desktop/images/29112025/03/38/image_29112025_03_38_54_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":["1396807843","1396807831","1396807848","1396807845","1396807847","1396807841"],"photo_ids_order":["1396807831","1396807841","1396807843","1396807845","1396807847","1396807848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/061fcf54f2d07176461cd4ab9c0b1201.jpg","text":"TemporaryFile(/tmp/multipartBody3125855420626050288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384022864,"filename":"image_29112025_03_38_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/11/29/4da00d49f1d0ee368820758a8820103a.jpg","text":"TemporaryFile(/tmp/multipartBody9079393764199311620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384022864,"filename":"image_29112025_03_37_55_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f010642386ee82c555b2926c36899fa1.jpg","text":"TemporaryFile(/tmp/multipartBody1481236670191409830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384022864,"filename":"image_29112025_03_38_54_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c3d981cfdd756f69d4a510a48647b01.jpg","text":"TemporaryFile(/tmp/multipartBody3617602508914846540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384022864,"filename":"image_29112025_03_38_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff6890820863c34fb4a472cbebf2c8cf.jpg","text":"TemporaryFile(/tmp/multipartBody1581830067491076507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384022864,"filename":"image_29112025_03_38_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/11/29/a79572baa9e044e06cfbcfc34cc16027.jpg","text":"TemporaryFile(/tmp/multipartBody4899610679734414541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384022864,"filename":"image_29112025_03_38_04_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807843","file1":"1396807841","file0":"1396807831","file4":"1396807847","file5":"1396807848","file3":"1396807845"},"map_files_photo_id_array":[{"photo_id":"1396807848","filename":"file5"},{"photo_id":"1396807843","filename":"file2"},{"photo_id":"1396807847","filename":"file4"},{"photo_id":"1396807841","filename":"file1"},{"photo_id":"1396807831","filename":"file0"},{"photo_id":"1396807845","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807843":["hashtag1","hashtag2"]},{"1396807831":["hashtag1","hashtag2"]},{"1396807848":["hashtag1","hashtag2"]},{"1396807845":["hashtag1","hashtag2"]},{"1396807847":["hashtag1","hashtag2"]},{"1396807841":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807843, 1396807831, 1396807848, 1396807845, 1396807847, 1396807841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33671045303345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:40:02.677533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/39/image_29112025_03_39_14_9599.jpg', '/home/pi/Desktop/images/29112025/03/39/image_29112025_03_39_24_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/39/image_29112025_03_39_14_9599.jpg
/home/pi/Desktop/images/29112025/03/39/image_29112025_03_39_24_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807849","1396807850"],"photo_ids_order":["1396807849","1396807850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/641e9df69ea6f4fb8e909f5cbb49521b.jpg","text":"TemporaryFile(/tmp/multipartBody8486559042349634947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384063271,"filename":"image_29112025_03_39_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/11/29/0c858daf77d6998c65096aa2ab0adf25.jpg","text":"TemporaryFile(/tmp/multipartBody7933085101813041893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384063271,"filename":"image_29112025_03_39_24_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396807850","file0":"1396807849"},"map_files_photo_id_array":[{"photo_id":"1396807850","filename":"file1"},{"photo_id":"1396807849","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807849":["hashtag1","hashtag2"]},{"1396807850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807849, 1396807850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.574055194854736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:40:22.258183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/39/image_29112025_03_39_44_9697.jpg', '/home/pi/Desktop/images/29112025/03/39/image_29112025_03_40_05_10594.jpg', '/home/pi/Desktop/images/29112025/03/40/image_29112025_03_40_24_9955.jpg', '/home/pi/Desktop/images/29112025/03/40/image_29112025_03_40_34_9811.jpg', '/home/pi/Desktop/images/29112025/03/40/image_29112025_03_40_44_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/39/image_29112025_03_39_44_9697.jpg
/home/pi/Desktop/images/29112025/03/39/image_29112025_03_40_05_10594.jpg
/home/pi/Desktop/images/29112025/03/40/image_29112025_03_40_24_9955.jpg
/home/pi/Desktop/images/29112025/03/40/image_29112025_03_40_34_9811.jpg
/home/pi/Desktop/images/29112025/03/40/image_29112025_03_40_44_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807861","1396807864","1396807858","1396807866","1396807856"],"photo_ids_order":["1396807856","1396807858","1396807861","1396807864","1396807866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cd51b06cec63ada3f552eb51383f9c3.jpg","text":"TemporaryFile(/tmp/multipartBody7253214818459557787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384082960,"filename":"image_29112025_03_40_24_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79ef69694115c292088d5390c0bd71f1.jpg","text":"TemporaryFile(/tmp/multipartBody8266764172779192649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384082960,"filename":"image_29112025_03_40_34_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a67ce2b1f0e260cabb24a0e2a7acdd78.jpg","text":"TemporaryFile(/tmp/multipartBody7405368083214973917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384082960,"filename":"image_29112025_03_40_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce58a60884a2d4c5883115d393b99379.jpg","text":"TemporaryFile(/tmp/multipartBody8554832127837145993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384082960,"filename":"image_29112025_03_40_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/11/29/14acf8e24e6ab271953b6afeee4fb266.jpg","text":"TemporaryFile(/tmp/multipartBody5681901415403462633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384082960,"filename":"image_29112025_03_39_44_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807861","file1":"1396807858","file0":"1396807856","file4":"1396807866","file3":"1396807864"},"map_files_photo_id_array":[{"photo_id":"1396807861","filename":"file2"},{"photo_id":"1396807866","filename":"file4"},{"photo_id":"1396807858","filename":"file1"},{"photo_id":"1396807856","filename":"file0"},{"photo_id":"1396807864","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807861":["hashtag1","hashtag2"]},{"1396807864":["hashtag1","hashtag2"]},{"1396807858":["hashtag1","hashtag2"]},{"1396807866":["hashtag1","hashtag2"]},{"1396807856":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807861, 1396807864, 1396807858, 1396807866, 1396807856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.16565775871277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:41:03.296392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_13_2502.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_16_3746.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_19_2759.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_22_2761.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_26_3677.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_28_2560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_13_2502.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_16_3746.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_19_2759.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_22_2761.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_26_3677.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_28_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807873","1396807876","1396807870","1396807869","1396807871","1396807868"],"photo_ids_order":["1396807868","1396807869","1396807870","1396807871","1396807873","1396807876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae9accc0ec2cc835265333dc388951ac.jpg","text":"TemporaryFile(/tmp/multipartBody5177785077623753553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384124936,"filename":"image_25112025_17_39_26_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e870d76cff475d199a0576ec1fe1d6d.jpg","text":"TemporaryFile(/tmp/multipartBody8947518988393367856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384124936,"filename":"image_25112025_17_39_28_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3ecb4d16a4354725f6e43334b5f9c19.jpg","text":"TemporaryFile(/tmp/multipartBody2223886207024306000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384124936,"filename":"image_25112025_17_39_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/11/29/7937f86880a575b8aec735438b1cfda0.jpg","text":"TemporaryFile(/tmp/multipartBody4425031941665556863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384124936,"filename":"image_25112025_17_39_16_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4e24fc5ccf56807c2699ff216b0a3a8.jpg","text":"TemporaryFile(/tmp/multipartBody3557735148813037560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384124936,"filename":"image_25112025_17_39_22_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d85688e588cf525c2e4b7df49f529f4.jpg","text":"TemporaryFile(/tmp/multipartBody4462341279933707492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384124936,"filename":"image_25112025_17_39_13_2502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807870","file1":"1396807869","file0":"1396807868","file4":"1396807873","file5":"1396807876","file3":"1396807871"},"map_files_photo_id_array":[{"photo_id":"1396807876","filename":"file5"},{"photo_id":"1396807870","filename":"file2"},{"photo_id":"1396807873","filename":"file4"},{"photo_id":"1396807869","filename":"file1"},{"photo_id":"1396807868","filename":"file0"},{"photo_id":"1396807871","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396807873":["hashtag1","hashtag2"]},{"1396807876":["hashtag1","hashtag2"]},{"1396807870":["hashtag1","hashtag2"]},{"1396807869":["hashtag1","hashtag2"]},{"1396807871":["hashtag1","hashtag2"]},{"1396807868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396807873, 1396807876, 1396807870, 1396807869, 1396807871, 1396807868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.484907388687134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:41:42.539298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_02_2581.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_05_2768.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_07_2781.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_11_3646.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_14_2731.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_17_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_02_2581.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_05_2768.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_07_2781.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_11_3646.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_14_2731.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_17_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807891","1396807888","1396807885","1396807890","1396807887","1396807889"],"photo_ids_order":["1396807885","1396807887","1396807888","1396807889","1396807890","1396807891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8432145effb8206cc48b2a0bc13601e0.jpg","text":"TemporaryFile(/tmp/multipartBody2591442248974588572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384163684,"filename":"image_31102025_08_32_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/11/29/a548fba3d6302aa89891da80aa259279.jpg","text":"TemporaryFile(/tmp/multipartBody3591417141720148025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384163684,"filename":"image_31102025_08_32_07_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/352b03d16ba8a567871d49d16ef7264f.jpg","text":"TemporaryFile(/tmp/multipartBody5382807059579707061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384163684,"filename":"image_31102025_08_32_02_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2cdb03ba5d1077031cc1bf69b84b4dc.jpg","text":"TemporaryFile(/tmp/multipartBody1888257195447915705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384163684,"filename":"image_31102025_08_32_14_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8427b149d0d135ef303b3fb1c8ce1eaf.jpg","text":"TemporaryFile(/tmp/multipartBody1837313774991791323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384163684,"filename":"image_31102025_08_32_05_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ecc8a1e29a1fb26f7e890f689d4c857.jpg","text":"TemporaryFile(/tmp/multipartBody8653271948102099092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384163684,"filename":"image_31102025_08_32_11_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807888","file1":"1396807887","file0":"1396807885","file4":"1396807890","file5":"1396807891","file3":"1396807889"},"map_files_photo_id_array":[{"photo_id":"1396807891","filename":"file5"},{"photo_id":"1396807888","filename":"file2"},{"photo_id":"1396807890","filename":"file4"},{"photo_id":"1396807887","filename":"file1"},{"photo_id":"1396807885","filename":"file0"},{"photo_id":"1396807889","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396807891":["hashtag1","hashtag2"]},{"1396807888":["hashtag1","hashtag2"]},{"1396807885":["hashtag1","hashtag2"]},{"1396807890":["hashtag1","hashtag2"]},{"1396807887":["hashtag1","hashtag2"]},{"1396807889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396807891, 1396807888, 1396807885, 1396807890, 1396807887, 1396807889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93732738494873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:42:22.737477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/40/image_29112025_03_40_55_10689.jpg', '/home/pi/Desktop/images/29112025/03/41/image_29112025_03_41_14_9692.jpg', '/home/pi/Desktop/images/29112025/03/41/image_29112025_03_41_24_9772.jpg', '/home/pi/Desktop/images/29112025/03/41/image_29112025_03_41_44_9621.jpg', '/home/pi/Desktop/images/29112025/03/41/image_29112025_03_41_54_9721.jpg', '/home/pi/Desktop/images/29112025/03/42/image_29112025_03_42_14_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/40/image_29112025_03_40_55_10689.jpg
/home/pi/Desktop/images/29112025/03/41/image_29112025_03_41_14_9692.jpg
/home/pi/Desktop/images/29112025/03/41/image_29112025_03_41_24_9772.jpg
/home/pi/Desktop/images/29112025/03/41/image_29112025_03_41_44_9621.jpg
/home/pi/Desktop/images/29112025/03/41/image_29112025_03_41_54_9721.jpg
/home/pi/Desktop/images/29112025/03/42/image_29112025_03_42_14_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807901","1396807906","1396807903","1396807905","1396807895","1396807898"],"photo_ids_order":["1396807895","1396807898","1396807901","1396807903","1396807905","1396807906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d95c34cc214674f74fe0ce026143585.jpg","text":"TemporaryFile(/tmp/multipartBody5151741142737625529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384203515,"filename":"image_29112025_03_41_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/11/29/e13e30928431ca00ca8a7344b72b02ba.jpg","text":"TemporaryFile(/tmp/multipartBody7577194116535342891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384203515,"filename":"image_29112025_03_42_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c28fda24144861a57c73fbf24a27c02.jpg","text":"TemporaryFile(/tmp/multipartBody3007893027115932504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384203515,"filename":"image_29112025_03_41_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/11/29/4519bd97451461533747a25860b52ea2.jpg","text":"TemporaryFile(/tmp/multipartBody3498840474089972076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384203515,"filename":"image_29112025_03_41_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/11/29/0572d5ec19078f36c16049ed77b1c1bd.jpg","text":"TemporaryFile(/tmp/multipartBody4356694563722469793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384203515,"filename":"image_29112025_03_40_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/11/29/38aaa11afec14a8f6358052bad240058.jpg","text":"TemporaryFile(/tmp/multipartBody1835902475718778264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384203515,"filename":"image_29112025_03_41_14_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807901","file1":"1396807898","file0":"1396807895","file4":"1396807905","file5":"1396807906","file3":"1396807903"},"map_files_photo_id_array":[{"photo_id":"1396807906","filename":"file5"},{"photo_id":"1396807901","filename":"file2"},{"photo_id":"1396807905","filename":"file4"},{"photo_id":"1396807898","filename":"file1"},{"photo_id":"1396807895","filename":"file0"},{"photo_id":"1396807903","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807901":["hashtag1","hashtag2"]},{"1396807906":["hashtag1","hashtag2"]},{"1396807903":["hashtag1","hashtag2"]},{"1396807905":["hashtag1","hashtag2"]},{"1396807895":["hashtag1","hashtag2"]},{"1396807898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807901, 1396807906, 1396807903, 1396807905, 1396807895, 1396807898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45274806022644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:43:02.640278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/42/image_29112025_03_42_24_9717.jpg', '/home/pi/Desktop/images/29112025/03/42/image_29112025_03_42_35_10694.jpg', '/home/pi/Desktop/images/29112025/03/42/image_29112025_03_42_44_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/42/image_29112025_03_42_24_9717.jpg
/home/pi/Desktop/images/29112025/03/42/image_29112025_03_42_35_10694.jpg
/home/pi/Desktop/images/29112025/03/42/image_29112025_03_42_44_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807912","1396807911","1396807913"],"photo_ids_order":["1396807911","1396807912","1396807913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bef86fb02c9fd89c2f8afaf5ebc1700a.jpg","text":"TemporaryFile(/tmp/multipartBody8441348164241885796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384243334,"filename":"image_29112025_03_42_35_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed3f54e8a906183ab30579664ab36e0b.jpg","text":"TemporaryFile(/tmp/multipartBody5431880058715567495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384243334,"filename":"image_29112025_03_42_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7ccda790959441f11c97f8f858ea524.jpg","text":"TemporaryFile(/tmp/multipartBody3469204159807296324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384243334,"filename":"image_29112025_03_42_44_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807913","file1":"1396807912","file0":"1396807911"},"map_files_photo_id_array":[{"photo_id":"1396807913","filename":"file2"},{"photo_id":"1396807912","filename":"file1"},{"photo_id":"1396807911","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807912":["hashtag1","hashtag2"]},{"1396807911":["hashtag1","hashtag2"]},{"1396807913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807912, 1396807911, 1396807913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.38408327102661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:43:32.005979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_31_2615.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_34_3773.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_37_2647.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_40_2554.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_43_3740.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_46_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_31_2615.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_34_3773.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_37_2647.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_40_2554.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_43_3740.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_46_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":["1396807930","1396807924","1396807921","1396807929","1396807926","1396807928"],"photo_ids_order":["1396807921","1396807924","1396807926","1396807928","1396807929","1396807930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d398efa6429e8a965f5c81d3ff69fbce.jpg","text":"TemporaryFile(/tmp/multipartBody6224229003316563259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384274268,"filename":"image_25112025_17_39_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/11/29/0141f02093bfde51e5c2cdc83816ee18.jpg","text":"TemporaryFile(/tmp/multipartBody6048659889017056143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384274268,"filename":"image_25112025_17_39_34_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f267762bdf1f09b67fee173a20ba5004.jpg","text":"TemporaryFile(/tmp/multipartBody7070612069886389117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384274268,"filename":"image_25112025_17_39_31_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8442eb235938278d9cd86f00998de19.jpg","text":"TemporaryFile(/tmp/multipartBody2924743286101387888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384274268,"filename":"image_25112025_17_39_43_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17b51dc7ab6a2e8782db776603fc5cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4527385460720678537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384274268,"filename":"image_25112025_17_39_37_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b8b49fe69470eb1f47a999f45ea7a08.jpg","text":"TemporaryFile(/tmp/multipartBody1000250036668557238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384274268,"filename":"image_25112025_17_39_40_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807926","file1":"1396807924","file0":"1396807921","file4":"1396807929","file5":"1396807930","file3":"1396807928"},"map_files_photo_id_array":[{"photo_id":"1396807930","filename":"file5"},{"photo_id":"1396807926","filename":"file2"},{"photo_id":"1396807929","filename":"file4"},{"photo_id":"1396807924","filename":"file1"},{"photo_id":"1396807921","filename":"file0"},{"photo_id":"1396807928","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396807930":["hashtag1","hashtag2"]},{"1396807924":["hashtag1","hashtag2"]},{"1396807921":["hashtag1","hashtag2"]},{"1396807929":["hashtag1","hashtag2"]},{"1396807926":["hashtag1","hashtag2"]},{"1396807928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396807930, 1396807924, 1396807921, 1396807929, 1396807926, 1396807928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00506520271301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:44:12.282072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_49_2534.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_52_3643.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_55_2610.jpg', '/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_57_2676.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_07_3010.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_11_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_49_2534.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_52_3643.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_55_2610.jpg
/home/pi/Desktop/images/25112025/17/39/image_25112025_17_39_57_2676.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_07_3010.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_11_3663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807943","1396807936","1396807939","1396807948","1396807933","1396807946"],"photo_ids_order":["1396807933","1396807936","1396807939","1396807943","1396807946","1396807948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/199b27fc66c4839fb845052095d7a64f.jpg","text":"TemporaryFile(/tmp/multipartBody8670863287338812736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384314394,"filename":"image_25112025_17_39_57_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76b3dfde49e36955f32c242866ec5a33.jpg","text":"TemporaryFile(/tmp/multipartBody8007067456429929354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384314394,"filename":"image_25112025_17_39_52_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60535d889e4254aa09cf0bd3041fa4af.jpg","text":"TemporaryFile(/tmp/multipartBody7398347223710708646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384314394,"filename":"image_25112025_17_39_55_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/510f2f899abaa48d504b8066ab2eea7a.jpg","text":"TemporaryFile(/tmp/multipartBody2688681397699960577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384314394,"filename":"image_25112025_17_40_11_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a9042fbef6437c9696c1092b1d64c20.jpg","text":"TemporaryFile(/tmp/multipartBody3857739287713842428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384314394,"filename":"image_25112025_17_39_49_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27331aec219db590283e42a5f89b9538.jpg","text":"TemporaryFile(/tmp/multipartBody7284202593742498570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384314394,"filename":"image_25112025_17_40_07_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807939","file1":"1396807936","file0":"1396807933","file4":"1396807946","file5":"1396807948","file3":"1396807943"},"map_files_photo_id_array":[{"photo_id":"1396807948","filename":"file5"},{"photo_id":"1396807939","filename":"file2"},{"photo_id":"1396807946","filename":"file4"},{"photo_id":"1396807936","filename":"file1"},{"photo_id":"1396807933","filename":"file0"},{"photo_id":"1396807943","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396807943":["hashtag1","hashtag2"]},{"1396807936":["hashtag1","hashtag2"]},{"1396807939":["hashtag1","hashtag2"]},{"1396807948":["hashtag1","hashtag2"]},{"1396807933":["hashtag1","hashtag2"]},{"1396807946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396807943, 1396807936, 1396807939, 1396807948, 1396807933, 1396807946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7851824760437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:45:02.989794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/42/image_29112025_03_42_54_9833.jpg', '/home/pi/Desktop/images/29112025/03/42/image_29112025_03_43_04_9696.jpg', '/home/pi/Desktop/images/29112025/03/43/image_29112025_03_43_15_10753.jpg', '/home/pi/Desktop/images/29112025/03/43/image_29112025_03_43_24_9075.jpg', '/home/pi/Desktop/images/29112025/03/43/image_29112025_03_43_35_10815.jpg', '/home/pi/Desktop/images/29112025/03/43/image_29112025_03_43_54_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/42/image_29112025_03_42_54_9833.jpg
/home/pi/Desktop/images/29112025/03/42/image_29112025_03_43_04_9696.jpg
/home/pi/Desktop/images/29112025/03/43/image_29112025_03_43_15_10753.jpg
/home/pi/Desktop/images/29112025/03/43/image_29112025_03_43_24_9075.jpg
/home/pi/Desktop/images/29112025/03/43/image_29112025_03_43_35_10815.jpg
/home/pi/Desktop/images/29112025/03/43/image_29112025_03_43_54_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":["1396807954","1396807953","1396807956","1396807959","1396807950","1396807952"],"photo_ids_order":["1396807950","1396807952","1396807953","1396807954","1396807956","1396807959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50d3b84fb1ad3faff3d2981eea97fbc5.jpg","text":"TemporaryFile(/tmp/multipartBody7993467953576976498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384363806,"filename":"image_29112025_03_43_24_9075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ad4b6fe093d7a8b5b667d1754394900.jpg","text":"TemporaryFile(/tmp/multipartBody2980381387221298223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384363806,"filename":"image_29112025_03_43_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/11/29/fb89a697d602c2d0820134786cedbbfc.jpg","text":"TemporaryFile(/tmp/multipartBody2213209389507358683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384363806,"filename":"image_29112025_03_43_35_10815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c41f5ba3e8a78e5ee6e3bc6558e7ea2a.jpg","text":"TemporaryFile(/tmp/multipartBody562851835022138288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384363806,"filename":"image_29112025_03_43_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db9a383a1d1845d21146feb2ea02b4e7.jpg","text":"TemporaryFile(/tmp/multipartBody3458326207720507109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384363806,"filename":"image_29112025_03_42_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/11/29/de1e5d3a47778481a39c44cdb2f5caf9.jpg","text":"TemporaryFile(/tmp/multipartBody1733601891539329175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384363806,"filename":"image_29112025_03_43_04_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807953","file1":"1396807952","file0":"1396807950","file4":"1396807956","file5":"1396807959","file3":"1396807954"},"map_files_photo_id_array":[{"photo_id":"1396807959","filename":"file5"},{"photo_id":"1396807953","filename":"file2"},{"photo_id":"1396807956","filename":"file4"},{"photo_id":"1396807952","filename":"file1"},{"photo_id":"1396807950","filename":"file0"},{"photo_id":"1396807954","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807954":["hashtag1","hashtag2"]},{"1396807953":["hashtag1","hashtag2"]},{"1396807956":["hashtag1","hashtag2"]},{"1396807959":["hashtag1","hashtag2"]},{"1396807950":["hashtag1","hashtag2"]},{"1396807952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807954, 1396807953, 1396807956, 1396807959, 1396807950, 1396807952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.661272048950195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:45:42.448915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_20_3724.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_23_2855.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_26_2530.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_29_3668.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_32_2707.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_35_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_20_3724.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_23_2855.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_26_2530.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_29_3668.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_32_2707.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_35_2742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396807969","1396807971","1396807965","1396807968","1396807970","1396807967"],"photo_ids_order":["1396807965","1396807967","1396807968","1396807969","1396807970","1396807971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b559a4da97d7d27f704205ca740c5d8.jpg","text":"TemporaryFile(/tmp/multipartBody7243108226809890406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384403570,"filename":"image_31102025_08_32_29_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a19910067c493151d327dd4b03abbed.jpg","text":"TemporaryFile(/tmp/multipartBody3380472538083446247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384403570,"filename":"image_31102025_08_32_35_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/186af2486d654e81916269e7618c2dbe.jpg","text":"TemporaryFile(/tmp/multipartBody4588962247689889500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384403570,"filename":"image_31102025_08_32_20_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76c6feb49cc4ef58e0b988cf21cf5fbb.jpg","text":"TemporaryFile(/tmp/multipartBody2164908746420207338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384403570,"filename":"image_31102025_08_32_26_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08327e5db34a99ed51d181d532ed3a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6311786063927747829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384403570,"filename":"image_31102025_08_32_32_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f138b12ffef30b6fb4b24f6f220d2b3b.jpg","text":"TemporaryFile(/tmp/multipartBody508093745522936873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384403570,"filename":"image_31102025_08_32_23_2855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807968","file1":"1396807967","file0":"1396807965","file4":"1396807970","file5":"1396807971","file3":"1396807969"},"map_files_photo_id_array":[{"photo_id":"1396807971","filename":"file5"},{"photo_id":"1396807968","filename":"file2"},{"photo_id":"1396807970","filename":"file4"},{"photo_id":"1396807967","filename":"file1"},{"photo_id":"1396807965","filename":"file0"},{"photo_id":"1396807969","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396807969":["hashtag1","hashtag2"]},{"1396807971":["hashtag1","hashtag2"]},{"1396807965":["hashtag1","hashtag2"]},{"1396807968":["hashtag1","hashtag2"]},{"1396807970":["hashtag1","hashtag2"]},{"1396807967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396807969, 1396807971, 1396807965, 1396807968, 1396807970, 1396807967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73262667655945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:46:22.574652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/44/image_29112025_03_44_14_9818.jpg', '/home/pi/Desktop/images/29112025/03/44/image_29112025_03_44_24_9664.jpg', '/home/pi/Desktop/images/29112025/03/44/image_29112025_03_44_35_10551.jpg', '/home/pi/Desktop/images/29112025/03/44/image_29112025_03_44_44_9681.jpg', '/home/pi/Desktop/images/29112025/03/44/image_29112025_03_44_54_9604.jpg', '/home/pi/Desktop/images/29112025/03/44/image_29112025_03_45_04_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/44/image_29112025_03_44_14_9818.jpg
/home/pi/Desktop/images/29112025/03/44/image_29112025_03_44_24_9664.jpg
/home/pi/Desktop/images/29112025/03/44/image_29112025_03_44_35_10551.jpg
/home/pi/Desktop/images/29112025/03/44/image_29112025_03_44_44_9681.jpg
/home/pi/Desktop/images/29112025/03/44/image_29112025_03_44_54_9604.jpg
/home/pi/Desktop/images/29112025/03/44/image_29112025_03_45_04_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":["1396807990","1396807993","1396807996","1396807978","1396807982","1396807973"],"photo_ids_order":["1396807973","1396807978","1396807982","1396807990","1396807993","1396807996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b94065c6a37ead774084c0041d7d3179.jpg","text":"TemporaryFile(/tmp/multipartBody6416928907839807661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384443319,"filename":"image_29112025_03_44_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/11/29/889c78736e6fb9248d7cc6ca722add07.jpg","text":"TemporaryFile(/tmp/multipartBody7247822788282319235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384443319,"filename":"image_29112025_03_44_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edcbfa2237a1930ec4bcc7ee31dfdfc1.jpg","text":"TemporaryFile(/tmp/multipartBody5905110742232130785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384443319,"filename":"image_29112025_03_45_04_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c4461da53043663b462d23934ede553.jpg","text":"TemporaryFile(/tmp/multipartBody1837813464603874456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384443319,"filename":"image_29112025_03_44_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/11/29/021098c50c8b41bd4faebb69bb605bc1.jpg","text":"TemporaryFile(/tmp/multipartBody126716557369121492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384443319,"filename":"image_29112025_03_44_35_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f9720835c486436da6ecda6d60a15f4.jpg","text":"TemporaryFile(/tmp/multipartBody4174201325945997866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384443319,"filename":"image_29112025_03_44_14_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396807982","file1":"1396807978","file0":"1396807973","file4":"1396807993","file5":"1396807996","file3":"1396807990"},"map_files_photo_id_array":[{"photo_id":"1396807996","filename":"file5"},{"photo_id":"1396807982","filename":"file2"},{"photo_id":"1396807993","filename":"file4"},{"photo_id":"1396807978","filename":"file1"},{"photo_id":"1396807973","filename":"file0"},{"photo_id":"1396807990","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807990":["hashtag1","hashtag2"]},{"1396807993":["hashtag1","hashtag2"]},{"1396807996":["hashtag1","hashtag2"]},{"1396807978":["hashtag1","hashtag2"]},{"1396807982":["hashtag1","hashtag2"]},{"1396807973":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807990, 1396807993, 1396807996, 1396807978, 1396807982, 1396807973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64265847206116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:47:03.446615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/45/image_29112025_03_45_15_10729.jpg', '/home/pi/Desktop/images/29112025/03/45/image_29112025_03_45_24_9846.jpg', '/home/pi/Desktop/images/29112025/03/45/image_29112025_03_45_34_9632.jpg', '/home/pi/Desktop/images/29112025/03/45/image_29112025_03_45_45_10628.jpg', '/home/pi/Desktop/images/29112025/03/45/image_29112025_03_45_54_9728.jpg', '/home/pi/Desktop/images/29112025/03/45/image_29112025_03_46_04_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/45/image_29112025_03_45_15_10729.jpg
/home/pi/Desktop/images/29112025/03/45/image_29112025_03_45_24_9846.jpg
/home/pi/Desktop/images/29112025/03/45/image_29112025_03_45_34_9632.jpg
/home/pi/Desktop/images/29112025/03/45/image_29112025_03_45_45_10628.jpg
/home/pi/Desktop/images/29112025/03/45/image_29112025_03_45_54_9728.jpg
/home/pi/Desktop/images/29112025/03/45/image_29112025_03_46_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":["1396807999","1396808002","1396807998","1396808004","1396808007","1396808000"],"photo_ids_order":["1396807998","1396807999","1396808000","1396808002","1396808004","1396808007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/178809b22cdc165d39a1d11d99058c9a.jpg","text":"TemporaryFile(/tmp/multipartBody3055405040759312326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384484271,"filename":"image_29112025_03_45_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/11/29/07e7b8017b1d8a2f8c778d62ad3d9da8.jpg","text":"TemporaryFile(/tmp/multipartBody3276434621765845833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384484271,"filename":"image_29112025_03_45_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e67228cd443636a316026c812628f22f.jpg","text":"TemporaryFile(/tmp/multipartBody3285041252122445269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384484271,"filename":"image_29112025_03_45_15_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16c1255b2bcecc5b287709b67104908c.jpg","text":"TemporaryFile(/tmp/multipartBody8417653173599527785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384484271,"filename":"image_29112025_03_45_54_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40de920b5d8fd7ba40b48fbceccb27c7.jpg","text":"TemporaryFile(/tmp/multipartBody3469708975202358226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384484271,"filename":"image_29112025_03_46_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/11/29/74e83eb1da4798a98d63684eccfa575e.jpg","text":"TemporaryFile(/tmp/multipartBody341462774995873255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384484271,"filename":"image_29112025_03_45_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808000","file1":"1396807999","file0":"1396807998","file4":"1396808004","file5":"1396808007","file3":"1396808002"},"map_files_photo_id_array":[{"photo_id":"1396808007","filename":"file5"},{"photo_id":"1396808000","filename":"file2"},{"photo_id":"1396808004","filename":"file4"},{"photo_id":"1396807999","filename":"file1"},{"photo_id":"1396807998","filename":"file0"},{"photo_id":"1396808002","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396807999":["hashtag1","hashtag2"]},{"1396808002":["hashtag1","hashtag2"]},{"1396807998":["hashtag1","hashtag2"]},{"1396808004":["hashtag1","hashtag2"]},{"1396808007":["hashtag1","hashtag2"]},{"1396808000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396807999, 1396808002, 1396807998, 1396808004, 1396808007, 1396808000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20967483520508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:47:42.868844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_38_2784.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_41_3512.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_44_2696.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_46_2680.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_50_3783.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_53_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/08/32/image_31102025_08_32_38_2784.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_41_3512.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_44_2696.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_46_2680.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_50_3783.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_53_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":["1396808065","1396808029","1396808064","1396808013","1396808066","1396808015"],"photo_ids_order":["1396808013","1396808015","1396808029","1396808064","1396808065","1396808066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9cd2edc0620413bdf398a0f4d0d086b6.jpg","text":"TemporaryFile(/tmp/multipartBody8122221766770245442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384523997,"filename":"image_31102025_08_32_50_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d445d969351da0473e33c1ff1a78fab.jpg","text":"TemporaryFile(/tmp/multipartBody254149854009640195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384523997,"filename":"image_31102025_08_32_44_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1aa5c4a3016bfc273c40054dfe29e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4850363605706815092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384523997,"filename":"image_31102025_08_32_46_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f99f9d7a50a50f3309783ee42240d44.jpg","text":"TemporaryFile(/tmp/multipartBody685110479628999835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384523997,"filename":"image_31102025_08_32_38_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b59a5759d2e16142854d03221433673c.jpg","text":"TemporaryFile(/tmp/multipartBody8206131949499769843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384523997,"filename":"image_31102025_08_32_53_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a80325575a7099f407940b2f64bbf766.jpg","text":"TemporaryFile(/tmp/multipartBody6522062279381917262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384523997,"filename":"image_31102025_08_32_41_3512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808029","file1":"1396808015","file0":"1396808013","file4":"1396808065","file5":"1396808066","file3":"1396808064"},"map_files_photo_id_array":[{"photo_id":"1396808066","filename":"file5"},{"photo_id":"1396808029","filename":"file2"},{"photo_id":"1396808065","filename":"file4"},{"photo_id":"1396808015","filename":"file1"},{"photo_id":"1396808013","filename":"file0"},{"photo_id":"1396808064","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396808065":["hashtag1","hashtag2"]},{"1396808029":["hashtag1","hashtag2"]},{"1396808064":["hashtag1","hashtag2"]},{"1396808013":["hashtag1","hashtag2"]},{"1396808066":["hashtag1","hashtag2"]},{"1396808015":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396808065, 1396808029, 1396808064, 1396808013, 1396808066, 1396808015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.449674129486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:48:22.076525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_14_9768.jpg', '/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_25_10730.jpg', '/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_44_9622.jpg', '/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_55_10660.jpg', '/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_14_9572.jpg', '/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_24_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_14_9768.jpg
/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_25_10730.jpg
/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_44_9622.jpg
/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_55_10660.jpg
/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_14_9572.jpg
/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_24_9938.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6837139129638672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:48:32.107350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_13_2546.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_16_2786.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_20_3787.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_23_2652.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_25_2584.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_29_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_13_2546.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_16_2786.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_20_3787.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_23_2652.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_25_2584.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_29_3664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808089","1396808082","1396808085","1396808079","1396808090","1396808086"],"photo_ids_order":["1396808079","1396808082","1396808085","1396808086","1396808089","1396808090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fec1a3708782789f7c63dc98c046390f.jpg","text":"TemporaryFile(/tmp/multipartBody3243250685733073988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384574328,"filename":"image_25112025_17_40_25_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8292d645c2d48289fa1ae691e97480b0.jpg","text":"TemporaryFile(/tmp/multipartBody3969891318597753798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384574328,"filename":"image_25112025_17_40_16_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86d28839fcf73a63697e3065bfaeed38.jpg","text":"TemporaryFile(/tmp/multipartBody6951341384148647944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384574328,"filename":"image_25112025_17_40_20_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20a2da3386e3bc1277464fd355f5d339.jpg","text":"TemporaryFile(/tmp/multipartBody8969663153932759170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384574328,"filename":"image_25112025_17_40_13_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54992666232113549148706e6c72da34.jpg","text":"TemporaryFile(/tmp/multipartBody8275185876216567746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384574328,"filename":"image_25112025_17_40_29_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/636a2d4110aa2d063a1a5a2b3e330d3d.jpg","text":"TemporaryFile(/tmp/multipartBody2202974688462519589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384574328,"filename":"image_25112025_17_40_23_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808085","file1":"1396808082","file0":"1396808079","file4":"1396808089","file5":"1396808090","file3":"1396808086"},"map_files_photo_id_array":[{"photo_id":"1396808090","filename":"file5"},{"photo_id":"1396808085","filename":"file2"},{"photo_id":"1396808089","filename":"file4"},{"photo_id":"1396808082","filename":"file1"},{"photo_id":"1396808079","filename":"file0"},{"photo_id":"1396808086","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396808089":["hashtag1","hashtag2"]},{"1396808082":["hashtag1","hashtag2"]},{"1396808085":["hashtag1","hashtag2"]},{"1396808079":["hashtag1","hashtag2"]},{"1396808090":["hashtag1","hashtag2"]},{"1396808086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396808089, 1396808082, 1396808085, 1396808079, 1396808090, 1396808086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94681429862976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:49:12.260922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_31_2621.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_35_3585.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_38_2764.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_41_2752.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_43_2651.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_47_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_31_2621.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_35_3585.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_38_2764.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_41_2752.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_43_2651.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_47_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808104","1396808091","1396808093","1396808096","1396808099","1396808102"],"photo_ids_order":["1396808091","1396808093","1396808096","1396808099","1396808102","1396808104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5096939f760c8a57a78426d7a76261e6.jpg","text":"TemporaryFile(/tmp/multipartBody3012255556287772246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384614366,"filename":"image_25112025_17_40_47_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a768a2bf9422151d0a4af2fb2b2b6f7.jpg","text":"TemporaryFile(/tmp/multipartBody681515172974665167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384614366,"filename":"image_25112025_17_40_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e29dd97c0c550ffcb479b488c4303ef.jpg","text":"TemporaryFile(/tmp/multipartBody6004617459158878532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384614366,"filename":"image_25112025_17_40_35_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/626f10b4a72c00a261b468b4d5d2a663.jpg","text":"TemporaryFile(/tmp/multipartBody1952845110716177386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384614366,"filename":"image_25112025_17_40_38_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08c2c55f2139cd86d123fbdb53097e9b.jpg","text":"TemporaryFile(/tmp/multipartBody8237364808403519403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384614366,"filename":"image_25112025_17_40_41_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1625d006261ca898a655e1f73c4369d.jpg","text":"TemporaryFile(/tmp/multipartBody3447327182183382581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384614366,"filename":"image_25112025_17_40_43_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808096","file1":"1396808093","file0":"1396808091","file4":"1396808102","file5":"1396808104","file3":"1396808099"},"map_files_photo_id_array":[{"photo_id":"1396808104","filename":"file5"},{"photo_id":"1396808096","filename":"file2"},{"photo_id":"1396808102","filename":"file4"},{"photo_id":"1396808093","filename":"file1"},{"photo_id":"1396808091","filename":"file0"},{"photo_id":"1396808099","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396808104":["hashtag1","hashtag2"]},{"1396808091":["hashtag1","hashtag2"]},{"1396808093":["hashtag1","hashtag2"]},{"1396808096":["hashtag1","hashtag2"]},{"1396808099":["hashtag1","hashtag2"]},{"1396808102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396808104, 1396808091, 1396808093, 1396808096, 1396808099, 1396808102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.057188510894775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:50:02.853580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_14_9768.jpg', '/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_25_10730.jpg', '/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_44_9622.jpg', '/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_55_10660.jpg', '/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_14_9572.jpg', '/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_24_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_14_9768.jpg
/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_25_10730.jpg
/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_44_9622.jpg
/home/pi/Desktop/images/29112025/03/46/image_29112025_03_46_55_10660.jpg
/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_14_9572.jpg
/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_24_9938.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808105","1396808110","1396808113","1396808107","1396808106","1396808108"],"photo_ids_order":["1396808105","1396808106","1396808107","1396808108","1396808110","1396808113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5fdb3ee955c79cb12a2aff1f7d6ba9d.jpg","text":"TemporaryFile(/tmp/multipartBody6409773251140002824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384663643,"filename":"image_29112025_03_46_14_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c56b120f3d227fbbf204381074c585f6.jpg","text":"TemporaryFile(/tmp/multipartBody7838974167794949133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384663643,"filename":"image_29112025_03_47_14_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73f30d33fd677382e28d8923ce4ee82d.jpg","text":"TemporaryFile(/tmp/multipartBody5377496756394695525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384663643,"filename":"image_29112025_03_47_24_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe0cf657118f7172e7c784bf32322945.jpg","text":"TemporaryFile(/tmp/multipartBody3690042386668076627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384663643,"filename":"image_29112025_03_46_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/11/29/f033616dd7aa36b005acffbab20798de.jpg","text":"TemporaryFile(/tmp/multipartBody20378980419404727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384663643,"filename":"image_29112025_03_46_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/11/29/433c8232d920680dd29fd1f238c42e07.jpg","text":"TemporaryFile(/tmp/multipartBody7628826256185840199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384663643,"filename":"image_29112025_03_46_55_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808107","file1":"1396808106","file0":"1396808105","file4":"1396808110","file5":"1396808113","file3":"1396808108"},"map_files_photo_id_array":[{"photo_id":"1396808113","filename":"file5"},{"photo_id":"1396808107","filename":"file2"},{"photo_id":"1396808110","filename":"file4"},{"photo_id":"1396808106","filename":"file1"},{"photo_id":"1396808105","filename":"file0"},{"photo_id":"1396808108","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396808105":["hashtag1","hashtag2"]},{"1396808110":["hashtag1","hashtag2"]},{"1396808113":["hashtag1","hashtag2"]},{"1396808107":["hashtag1","hashtag2"]},{"1396808106":["hashtag1","hashtag2"]},{"1396808108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396808105, 1396808110, 1396808113, 1396808107, 1396808106, 1396808108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.594318151474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:50:42.410029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_56_2760.jpg', '/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_59_2986.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_02_2867.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_14_3571.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_20_2619.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_23_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/08/32/image_31102025_08_32_56_2760.jpg
/home/pi/Desktop/images/31102025/08/32/image_31102025_08_32_59_2986.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_02_2867.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_14_3571.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_20_2619.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_23_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":["1396808122","1396808125","1396808121","1396808124","1396808126","1396808123"],"photo_ids_order":["1396808121","1396808122","1396808123","1396808124","1396808125","1396808126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a2a7727aa4a2fdd2ae54c187b57ae74.jpg","text":"TemporaryFile(/tmp/multipartBody5406558456842555367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384703507,"filename":"image_31102025_08_32_59_2986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97dcd00a7a9dea12a7d96208b7b70733.jpg","text":"TemporaryFile(/tmp/multipartBody140502641412456609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384703507,"filename":"image_31102025_08_33_20_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c8f8b1b2a9f9535856d2b1b98c583ae.jpg","text":"TemporaryFile(/tmp/multipartBody243239227750828756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384703507,"filename":"image_31102025_08_32_56_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86a1b66184d764a0bcecfcf79b2c2ef4.jpg","text":"TemporaryFile(/tmp/multipartBody5924620840972082731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384703507,"filename":"image_31102025_08_33_14_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4eb9b6336e5b590244eee3b196eec1dd.jpg","text":"TemporaryFile(/tmp/multipartBody496657287814949600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384703507,"filename":"image_31102025_08_33_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/11/29/93bd0307ab89234e370ca99770607053.jpg","text":"TemporaryFile(/tmp/multipartBody2413692520694606713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384703507,"filename":"image_31102025_08_33_02_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808123","file1":"1396808122","file0":"1396808121","file4":"1396808125","file5":"1396808126","file3":"1396808124"},"map_files_photo_id_array":[{"photo_id":"1396808126","filename":"file5"},{"photo_id":"1396808123","filename":"file2"},{"photo_id":"1396808125","filename":"file4"},{"photo_id":"1396808122","filename":"file1"},{"photo_id":"1396808121","filename":"file0"},{"photo_id":"1396808124","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396808122":["hashtag1","hashtag2"]},{"1396808125":["hashtag1","hashtag2"]},{"1396808121":["hashtag1","hashtag2"]},{"1396808124":["hashtag1","hashtag2"]},{"1396808126":["hashtag1","hashtag2"]},{"1396808123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396808122, 1396808125, 1396808121, 1396808124, 1396808126, 1396808123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.471288204193115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:51:22.601234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_34_9824.jpg', '/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_44_10567.jpg', '/home/pi/Desktop/images/29112025/03/47/image_29112025_03_48_05_10652.jpg', '/home/pi/Desktop/images/29112025/03/48/image_29112025_03_48_24_9651.jpg', '/home/pi/Desktop/images/29112025/03/48/image_29112025_03_48_44_10672.jpg', '/home/pi/Desktop/images/29112025/03/48/image_29112025_03_48_54_9884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_34_9824.jpg
/home/pi/Desktop/images/29112025/03/47/image_29112025_03_47_44_10567.jpg
/home/pi/Desktop/images/29112025/03/47/image_29112025_03_48_05_10652.jpg
/home/pi/Desktop/images/29112025/03/48/image_29112025_03_48_24_9651.jpg
/home/pi/Desktop/images/29112025/03/48/image_29112025_03_48_44_10672.jpg
/home/pi/Desktop/images/29112025/03/48/image_29112025_03_48_54_9884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808140","1396808143","1396808130","1396808138","1396808132","1396808135"],"photo_ids_order":["1396808130","1396808132","1396808135","1396808138","1396808140","1396808143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a5680ed0494a8bf4897f119acd393fb.jpg","text":"TemporaryFile(/tmp/multipartBody4689545033357006834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384743344,"filename":"image_29112025_03_48_44_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0065caa22073e49da3e42f6466d1dece.jpg","text":"TemporaryFile(/tmp/multipartBody2008253440209669702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384743344,"filename":"image_29112025_03_48_54_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca582dc8d7d91895f53259b14d814379.jpg","text":"TemporaryFile(/tmp/multipartBody6207823377975380452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384743344,"filename":"image_29112025_03_47_34_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf98223979226299d3bba7b07d926982.jpg","text":"TemporaryFile(/tmp/multipartBody7756561019227782142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384743344,"filename":"image_29112025_03_48_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/11/29/5a2ffb7f667dd4558f86d682258b6b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7418507724658950003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384743344,"filename":"image_29112025_03_47_44_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f48d802a2ccda4fe05d65436982ed6d.jpg","text":"TemporaryFile(/tmp/multipartBody7559026060529593695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384743344,"filename":"image_29112025_03_48_05_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808135","file1":"1396808132","file0":"1396808130","file4":"1396808140","file5":"1396808143","file3":"1396808138"},"map_files_photo_id_array":[{"photo_id":"1396808143","filename":"file5"},{"photo_id":"1396808135","filename":"file2"},{"photo_id":"1396808140","filename":"file4"},{"photo_id":"1396808132","filename":"file1"},{"photo_id":"1396808130","filename":"file0"},{"photo_id":"1396808138","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396808140":["hashtag1","hashtag2"]},{"1396808143":["hashtag1","hashtag2"]},{"1396808130":["hashtag1","hashtag2"]},{"1396808138":["hashtag1","hashtag2"]},{"1396808132":["hashtag1","hashtag2"]},{"1396808135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396808140, 1396808143, 1396808130, 1396808138, 1396808132, 1396808135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.611788749694824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:52:03.238898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_14_9940.jpg', '/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_44_9909.jpg', '/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_54_9644.jpg', '/home/pi/Desktop/images/29112025/03/49/image_29112025_03_50_05_10634.jpg', '/home/pi/Desktop/images/29112025/03/50/image_29112025_03_50_24_9705.jpg', '/home/pi/Desktop/images/29112025/03/50/image_29112025_03_50_35_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_14_9940.jpg
/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_44_9909.jpg
/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_54_9644.jpg
/home/pi/Desktop/images/29112025/03/49/image_29112025_03_50_05_10634.jpg
/home/pi/Desktop/images/29112025/03/50/image_29112025_03_50_24_9705.jpg
/home/pi/Desktop/images/29112025/03/50/image_29112025_03_50_35_10649.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6723072528839111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 03:52:12.716172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_49_2609.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_52_2735.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_56_3616.jpg', '/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_58_2614.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_02_3633.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_05_2540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_49_2609.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_52_2735.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_56_3616.jpg
/home/pi/Desktop/images/25112025/17/40/image_25112025_17_40_58_2614.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_02_3633.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_05_2540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808188","1396808182","1396808184","1396808178","1396808175","1396808186"],"photo_ids_order":["1396808175","1396808178","1396808182","1396808184","1396808186","1396808188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae2d2068e9a293d2e004d482c16c24bd.jpg","text":"TemporaryFile(/tmp/multipartBody6059566880946507177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384794815,"filename":"image_25112025_17_41_05_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1811cdf0729f981cf7d3405ab5a9ae21.jpg","text":"TemporaryFile(/tmp/multipartBody1436998378549021370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384794815,"filename":"image_25112025_17_40_56_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05c8c72cd9dd48a2e26aae0506348c3c.jpg","text":"TemporaryFile(/tmp/multipartBody874256587400403184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384794815,"filename":"image_25112025_17_40_58_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5ab0fb4dd187c69c0137e87fd53e1a7.jpg","text":"TemporaryFile(/tmp/multipartBody4479307163578189338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384794815,"filename":"image_25112025_17_40_52_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/310335277603239a35789a221de5e100.jpg","text":"TemporaryFile(/tmp/multipartBody4947612520590598214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384794815,"filename":"image_25112025_17_40_49_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/063a05fc430a312c09ae44c5b2d352a7.jpg","text":"TemporaryFile(/tmp/multipartBody5367867628254879593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384794815,"filename":"image_25112025_17_41_02_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808182","file1":"1396808178","file0":"1396808175","file4":"1396808186","file5":"1396808188","file3":"1396808184"},"map_files_photo_id_array":[{"photo_id":"1396808188","filename":"file5"},{"photo_id":"1396808182","filename":"file2"},{"photo_id":"1396808186","filename":"file4"},{"photo_id":"1396808178","filename":"file1"},{"photo_id":"1396808175","filename":"file0"},{"photo_id":"1396808184","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396808188":["hashtag1","hashtag2"]},{"1396808182":["hashtag1","hashtag2"]},{"1396808184":["hashtag1","hashtag2"]},{"1396808178":["hashtag1","hashtag2"]},{"1396808175":["hashtag1","hashtag2"]},{"1396808186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396808188, 1396808182, 1396808184, 1396808178, 1396808175, 1396808186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67344927787781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:53:02.739817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_14_9940.jpg', '/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_44_9909.jpg', '/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_54_9644.jpg', '/home/pi/Desktop/images/29112025/03/49/image_29112025_03_50_05_10634.jpg', '/home/pi/Desktop/images/29112025/03/50/image_29112025_03_50_24_9705.jpg', '/home/pi/Desktop/images/29112025/03/50/image_29112025_03_50_35_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_14_9940.jpg
/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_44_9909.jpg
/home/pi/Desktop/images/29112025/03/49/image_29112025_03_49_54_9644.jpg
/home/pi/Desktop/images/29112025/03/49/image_29112025_03_50_05_10634.jpg
/home/pi/Desktop/images/29112025/03/50/image_29112025_03_50_24_9705.jpg
/home/pi/Desktop/images/29112025/03/50/image_29112025_03_50_35_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808194","1396808199","1396808190","1396808193","1396808202","1396808192"],"photo_ids_order":["1396808190","1396808192","1396808193","1396808194","1396808199","1396808202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/919adfcb3ca9dad37b1cb9cf059aa26e.jpg","text":"TemporaryFile(/tmp/multipartBody2646693299433726573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384843603,"filename":"image_29112025_03_50_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da13c743c0aa71f44adbc338dcda1d46.jpg","text":"TemporaryFile(/tmp/multipartBody6110615867952682594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384843603,"filename":"image_29112025_03_50_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/11/29/e14ddc1d6e9a82f063082a312c60a97e.jpg","text":"TemporaryFile(/tmp/multipartBody6370142354243405170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384843603,"filename":"image_29112025_03_49_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/11/29/b5b75356f69530271aae69984436aca4.jpg","text":"TemporaryFile(/tmp/multipartBody4257543070646090370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384843603,"filename":"image_29112025_03_49_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/11/29/4aa17100b83cafb8ba7851b3ca27f084.jpg","text":"TemporaryFile(/tmp/multipartBody5765521763133405597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384843603,"filename":"image_29112025_03_50_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f9a111d02b06d7d80398efe873ea41f.jpg","text":"TemporaryFile(/tmp/multipartBody4004235117207773873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384843603,"filename":"image_29112025_03_49_44_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808193","file1":"1396808192","file0":"1396808190","file4":"1396808199","file5":"1396808202","file3":"1396808194"},"map_files_photo_id_array":[{"photo_id":"1396808202","filename":"file5"},{"photo_id":"1396808193","filename":"file2"},{"photo_id":"1396808199","filename":"file4"},{"photo_id":"1396808192","filename":"file1"},{"photo_id":"1396808190","filename":"file0"},{"photo_id":"1396808194","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396808194":["hashtag1","hashtag2"]},{"1396808199":["hashtag1","hashtag2"]},{"1396808190":["hashtag1","hashtag2"]},{"1396808193":["hashtag1","hashtag2"]},{"1396808202":["hashtag1","hashtag2"]},{"1396808192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396808194, 1396808199, 1396808190, 1396808193, 1396808202, 1396808192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99799966812134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:54:03.017306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/50/image_29112025_03_50_44_9765.jpg', '/home/pi/Desktop/images/29112025/03/51/image_29112025_03_51_34_9697.jpg', '/home/pi/Desktop/images/29112025/03/51/image_29112025_03_51_44_10729.jpg', '/home/pi/Desktop/images/29112025/03/51/image_29112025_03_51_54_9732.jpg', '/home/pi/Desktop/images/29112025/03/51/image_29112025_03_52_04_9838.jpg', '/home/pi/Desktop/images/29112025/03/52/image_29112025_03_52_14_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/50/image_29112025_03_50_44_9765.jpg
/home/pi/Desktop/images/29112025/03/51/image_29112025_03_51_34_9697.jpg
/home/pi/Desktop/images/29112025/03/51/image_29112025_03_51_44_10729.jpg
/home/pi/Desktop/images/29112025/03/51/image_29112025_03_51_54_9732.jpg
/home/pi/Desktop/images/29112025/03/51/image_29112025_03_52_04_9838.jpg
/home/pi/Desktop/images/29112025/03/52/image_29112025_03_52_14_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808206","1396808209","1396808214","1396808208","1396808211","1396808207"],"photo_ids_order":["1396808206","1396808207","1396808208","1396808209","1396808211","1396808214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8392544f4ca40810d7880d2b9ac7ecaf.jpg","text":"TemporaryFile(/tmp/multipartBody7562572866497656352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384903892,"filename":"image_29112025_03_50_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/11/29/f3470a78b7dde7a6644847fd11647eb2.jpg","text":"TemporaryFile(/tmp/multipartBody2971133169095024117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384903892,"filename":"image_29112025_03_51_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/11/29/c2bf2f6acbc99eb6e8937f5174e88648.jpg","text":"TemporaryFile(/tmp/multipartBody6268092133956247844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384903892,"filename":"image_29112025_03_52_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/806b6e248145903143a1a543a5492ce2.jpg","text":"TemporaryFile(/tmp/multipartBody6245913952899102695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384903892,"filename":"image_29112025_03_51_44_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53291f059059a13596f91c66a9cb2cf0.jpg","text":"TemporaryFile(/tmp/multipartBody4398834121854811941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384903892,"filename":"image_29112025_03_52_04_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f0714ff99c0119c3900b8119e6b4c7f.jpg","text":"TemporaryFile(/tmp/multipartBody1706624299453373450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384903892,"filename":"image_29112025_03_51_34_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808208","file1":"1396808207","file0":"1396808206","file4":"1396808211","file5":"1396808214","file3":"1396808209"},"map_files_photo_id_array":[{"photo_id":"1396808214","filename":"file5"},{"photo_id":"1396808208","filename":"file2"},{"photo_id":"1396808211","filename":"file4"},{"photo_id":"1396808207","filename":"file1"},{"photo_id":"1396808206","filename":"file0"},{"photo_id":"1396808209","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396808206":["hashtag1","hashtag2"]},{"1396808209":["hashtag1","hashtag2"]},{"1396808214":["hashtag1","hashtag2"]},{"1396808208":["hashtag1","hashtag2"]},{"1396808211":["hashtag1","hashtag2"]},{"1396808207":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396808206, 1396808209, 1396808214, 1396808208, 1396808211, 1396808207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57034111022949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:54:42.307478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_26_3568.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_29_2728.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_31_2568.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_38_2610.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_43_2685.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_46_3042.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_26_3568.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_29_2728.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_31_2568.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_38_2610.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_43_2685.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_46_3042.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808230","1396808227","1396808226","1396808229","1396808225","1396808228"],"photo_ids_order":["1396808225","1396808226","1396808227","1396808228","1396808229","1396808230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61482cf19c3ca4fc902a210fb2a48b9e.jpg","text":"TemporaryFile(/tmp/multipartBody1627047379888255490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384943409,"filename":"image_31102025_08_33_46_3042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4bd649004a6b3a90565d13b8e998fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1545949914351203074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384943409,"filename":"image_31102025_08_33_31_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0bec7e03aa109ed5dee5582174535124.jpg","text":"TemporaryFile(/tmp/multipartBody849687412672170163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384943409,"filename":"image_31102025_08_33_29_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/081e0c230fd6e16239a46a807cd4834c.jpg","text":"TemporaryFile(/tmp/multipartBody8360702069303091250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384943409,"filename":"image_31102025_08_33_43_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e58be089a642046d82ac6206a99f19a5.jpg","text":"TemporaryFile(/tmp/multipartBody4443625789701822248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384943409,"filename":"image_31102025_08_33_26_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e2080cc83d66add6ed8e1be10a1bd66.jpg","text":"TemporaryFile(/tmp/multipartBody8909175854225764516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384943409,"filename":"image_31102025_08_33_38_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808227","file1":"1396808226","file0":"1396808225","file4":"1396808229","file5":"1396808230","file3":"1396808228"},"map_files_photo_id_array":[{"photo_id":"1396808230","filename":"file5"},{"photo_id":"1396808227","filename":"file2"},{"photo_id":"1396808229","filename":"file4"},{"photo_id":"1396808226","filename":"file1"},{"photo_id":"1396808225","filename":"file0"},{"photo_id":"1396808228","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396808230":["hashtag1","hashtag2"]},{"1396808227":["hashtag1","hashtag2"]},{"1396808226":["hashtag1","hashtag2"]},{"1396808229":["hashtag1","hashtag2"]},{"1396808225":["hashtag1","hashtag2"]},{"1396808228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396808230, 1396808227, 1396808226, 1396808229, 1396808225, 1396808228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42394804954529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:55:22.470309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/52/image_29112025_03_52_24_10712.jpg', '/home/pi/Desktop/images/29112025/03/52/image_29112025_03_52_34_9658.jpg', '/home/pi/Desktop/images/29112025/03/52/image_29112025_03_52_44_9679.jpg', '/home/pi/Desktop/images/29112025/03/52/image_29112025_03_52_55_10882.jpg', '/home/pi/Desktop/images/29112025/03/52/image_29112025_03_53_04_9780.jpg', '/home/pi/Desktop/images/29112025/03/53/image_29112025_03_53_14_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/52/image_29112025_03_52_24_10712.jpg
/home/pi/Desktop/images/29112025/03/52/image_29112025_03_52_34_9658.jpg
/home/pi/Desktop/images/29112025/03/52/image_29112025_03_52_44_9679.jpg
/home/pi/Desktop/images/29112025/03/52/image_29112025_03_52_55_10882.jpg
/home/pi/Desktop/images/29112025/03/52/image_29112025_03_53_04_9780.jpg
/home/pi/Desktop/images/29112025/03/53/image_29112025_03_53_14_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808239","1396808244","1396808241","1396808243","1396808237","1396808234"],"photo_ids_order":["1396808234","1396808237","1396808239","1396808241","1396808243","1396808244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af269f95c982abca53327f3dc68ccc22.jpg","text":"TemporaryFile(/tmp/multipartBody6783739175993923353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384983257,"filename":"image_29112025_03_52_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7320c81e93185e7dc2fbee9b4e03b10f.jpg","text":"TemporaryFile(/tmp/multipartBody7946798671627625498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384983257,"filename":"image_29112025_03_53_14_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6bb7f46c6680afa7336fee574d3a141.jpg","text":"TemporaryFile(/tmp/multipartBody1396533741396709735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384983257,"filename":"image_29112025_03_52_55_10882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd39d6f92a465f41251b333a6129b780.jpg","text":"TemporaryFile(/tmp/multipartBody4791074083587115597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384983257,"filename":"image_29112025_03_53_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/11/29/af7bee8041af2ff0a660b629544b3c22.jpg","text":"TemporaryFile(/tmp/multipartBody3480326945045387898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384983257,"filename":"image_29112025_03_52_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/11/29/f59dfef3a63299c6f964cdf8dc8c5a67.jpg","text":"TemporaryFile(/tmp/multipartBody611444747263523743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764384983257,"filename":"image_29112025_03_52_24_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808239","file1":"1396808237","file0":"1396808234","file4":"1396808243","file5":"1396808244","file3":"1396808241"},"map_files_photo_id_array":[{"photo_id":"1396808244","filename":"file5"},{"photo_id":"1396808239","filename":"file2"},{"photo_id":"1396808243","filename":"file4"},{"photo_id":"1396808237","filename":"file1"},{"photo_id":"1396808234","filename":"file0"},{"photo_id":"1396808241","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396808239":["hashtag1","hashtag2"]},{"1396808244":["hashtag1","hashtag2"]},{"1396808241":["hashtag1","hashtag2"]},{"1396808243":["hashtag1","hashtag2"]},{"1396808237":["hashtag1","hashtag2"]},{"1396808234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396808239, 1396808244, 1396808241, 1396808243, 1396808237, 1396808234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39672493934631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:56:03.214919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/53/image_29112025_03_53_24_9718.jpg', '/home/pi/Desktop/images/29112025/03/53/image_29112025_03_53_34_9780.jpg', '/home/pi/Desktop/images/29112025/03/53/image_29112025_03_53_45_10884.jpg', '/home/pi/Desktop/images/29112025/03/53/image_29112025_03_53_54_9606.jpg', '/home/pi/Desktop/images/29112025/03/53/image_29112025_03_54_04_9918.jpg', '/home/pi/Desktop/images/29112025/03/54/image_29112025_03_54_55_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/53/image_29112025_03_53_24_9718.jpg
/home/pi/Desktop/images/29112025/03/53/image_29112025_03_53_34_9780.jpg
/home/pi/Desktop/images/29112025/03/53/image_29112025_03_53_45_10884.jpg
/home/pi/Desktop/images/29112025/03/53/image_29112025_03_53_54_9606.jpg
/home/pi/Desktop/images/29112025/03/53/image_29112025_03_54_04_9918.jpg
/home/pi/Desktop/images/29112025/03/54/image_29112025_03_54_55_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808254","1396808248","1396808250","1396808247","1396808252","1396808246"],"photo_ids_order":["1396808246","1396808247","1396808248","1396808250","1396808252","1396808254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08a1a599e38ec22f47c6373f901e72df.jpg","text":"TemporaryFile(/tmp/multipartBody7277157665375774187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385023969,"filename":"image_29112025_03_54_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05ea96d7ad25f9454c28c16de96f4a26.jpg","text":"TemporaryFile(/tmp/multipartBody8255354210019511094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385023969,"filename":"image_29112025_03_53_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/11/29/d69ad8189dae00698f8f7d6df3fcbd34.jpg","text":"TemporaryFile(/tmp/multipartBody5306488145621534746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385023969,"filename":"image_29112025_03_53_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/11/29/8dd805df757989b35a11788b2917706b.jpg","text":"TemporaryFile(/tmp/multipartBody5969673093142406879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385023969,"filename":"image_29112025_03_53_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/11/29/abbc83fdda91f2a6b88f36ef0bc8d6ad.jpg","text":"TemporaryFile(/tmp/multipartBody529029460074209056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385023969,"filename":"image_29112025_03_54_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/11/29/6e6679886a82dad084d99f9540e2c6b8.jpg","text":"TemporaryFile(/tmp/multipartBody8616266874319450829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385023969,"filename":"image_29112025_03_53_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808248","file1":"1396808247","file0":"1396808246","file4":"1396808252","file5":"1396808254","file3":"1396808250"},"map_files_photo_id_array":[{"photo_id":"1396808254","filename":"file5"},{"photo_id":"1396808248","filename":"file2"},{"photo_id":"1396808252","filename":"file4"},{"photo_id":"1396808247","filename":"file1"},{"photo_id":"1396808246","filename":"file0"},{"photo_id":"1396808250","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396808254":["hashtag1","hashtag2"]},{"1396808248":["hashtag1","hashtag2"]},{"1396808250":["hashtag1","hashtag2"]},{"1396808247":["hashtag1","hashtag2"]},{"1396808252":["hashtag1","hashtag2"]},{"1396808246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396808254, 1396808248, 1396808250, 1396808247, 1396808252, 1396808246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83084988594055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 03:56:42.658966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_49_2892.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_53_3604.jpg', '/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_56_2645.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_05_2685.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_11_3751.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_14_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_49_2892.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_53_3604.jpg
/home/pi/Desktop/images/31102025/08/33/image_31102025_08_33_56_2645.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_05_2685.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_11_3751.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_14_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808266","1396808260","1396808262","1396808268","1396808270","1396808264"],"photo_ids_order":["1396808260","1396808262","1396808264","1396808266","1396808268","1396808270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ad84c09f8431925a922cc7e80db7fc6.jpg","text":"TemporaryFile(/tmp/multipartBody5532074457801724799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385063753,"filename":"image_31102025_08_34_05_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75937093730ec23471013f3912e3cfee.jpg","text":"TemporaryFile(/tmp/multipartBody7708658631584599468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385063753,"filename":"image_31102025_08_33_49_2892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edd1603e2136a0d964b8a649cc18a13d.jpg","text":"TemporaryFile(/tmp/multipartBody4926687703686490280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385063753,"filename":"image_31102025_08_33_53_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3b9c5f048c4404deecf79f6ade1ea4d.jpg","text":"TemporaryFile(/tmp/multipartBody842405231419774190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385063753,"filename":"image_31102025_08_34_11_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99d0edddbced4809b03dce8193489aa7.jpg","text":"TemporaryFile(/tmp/multipartBody5212248776089075149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385063753,"filename":"image_31102025_08_34_14_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a7819c8ffec57acd5540c0b2ad226fb.jpg","text":"TemporaryFile(/tmp/multipartBody7108294060155746512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385063753,"filename":"image_31102025_08_33_56_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808264","file1":"1396808262","file0":"1396808260","file4":"1396808268","file5":"1396808270","file3":"1396808266"},"map_files_photo_id_array":[{"photo_id":"1396808270","filename":"file5"},{"photo_id":"1396808264","filename":"file2"},{"photo_id":"1396808268","filename":"file4"},{"photo_id":"1396808262","filename":"file1"},{"photo_id":"1396808260","filename":"file0"},{"photo_id":"1396808266","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396808266":["hashtag1","hashtag2"]},{"1396808260":["hashtag1","hashtag2"]},{"1396808262":["hashtag1","hashtag2"]},{"1396808268":["hashtag1","hashtag2"]},{"1396808270":["hashtag1","hashtag2"]},{"1396808264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396808266, 1396808260, 1396808262, 1396808268, 1396808270, 1396808264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36529207229614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 03:57:21.783121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 03:57:31.844632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_07_2883.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_10_2587.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_14_3590.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_16_2672.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_19_2810.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_23_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_07_2883.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_10_2587.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_14_3590.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_16_2672.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_19_2810.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_23_3583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396808287","1396808281","1396808283","1396808285","1396808282","1396808279"],"photo_ids_order":["1396808279","1396808281","1396808282","1396808283","1396808285","1396808287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0404076e232a206b653e2f437451d7df.jpg","text":"TemporaryFile(/tmp/multipartBody2118352625108942427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385114065,"filename":"image_25112025_17_41_23_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fd3b515da59e9728d764956481bcdfc.jpg","text":"TemporaryFile(/tmp/multipartBody4314258680115487138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385114065,"filename":"image_25112025_17_41_10_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a0c4aa6a2558d4a6675b4a063f4df9d.jpg","text":"TemporaryFile(/tmp/multipartBody6772819769897933887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385114065,"filename":"image_25112025_17_41_16_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be1bad1f3e4a3c8fdf5cfa5031bf6d81.jpg","text":"TemporaryFile(/tmp/multipartBody8697037072320104095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385114065,"filename":"image_25112025_17_41_19_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72b1c54b9352fd609e2af216c6feb0cc.jpg","text":"TemporaryFile(/tmp/multipartBody3419986952223261097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385114065,"filename":"image_25112025_17_41_14_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7b985f44040d04aa0e96eeff49b2def.jpg","text":"TemporaryFile(/tmp/multipartBody8552861285614730909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385114065,"filename":"image_25112025_17_41_07_2883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808282","file1":"1396808281","file0":"1396808279","file4":"1396808285","file5":"1396808287","file3":"1396808283"},"map_files_photo_id_array":[{"photo_id":"1396808287","filename":"file5"},{"photo_id":"1396808282","filename":"file2"},{"photo_id":"1396808285","filename":"file4"},{"photo_id":"1396808281","filename":"file1"},{"photo_id":"1396808279","filename":"file0"},{"photo_id":"1396808283","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396808287":["hashtag1","hashtag2"]},{"1396808281":["hashtag1","hashtag2"]},{"1396808283":["hashtag1","hashtag2"]},{"1396808285":["hashtag1","hashtag2"]},{"1396808282":["hashtag1","hashtag2"]},{"1396808279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396808287, 1396808281, 1396808283, 1396808285, 1396808282, 1396808279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49246883392334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 03:59:03.133610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/54/image_29112025_03_55_04_9558.jpg', '/home/pi/Desktop/images/29112025/03/55/image_29112025_03_56_04_9835.jpg', '/home/pi/Desktop/images/29112025/03/56/image_29112025_03_56_14_9751.jpg', '/home/pi/Desktop/images/29112025/03/56/image_29112025_03_56_44_9666.jpg', '/home/pi/Desktop/images/29112025/03/56/image_29112025_03_56_54_9670.jpg', '/home/pi/Desktop/images/29112025/03/56/image_29112025_03_57_05_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/54/image_29112025_03_55_04_9558.jpg
/home/pi/Desktop/images/29112025/03/55/image_29112025_03_56_04_9835.jpg
/home/pi/Desktop/images/29112025/03/56/image_29112025_03_56_14_9751.jpg
/home/pi/Desktop/images/29112025/03/56/image_29112025_03_56_44_9666.jpg
/home/pi/Desktop/images/29112025/03/56/image_29112025_03_56_54_9670.jpg
/home/pi/Desktop/images/29112025/03/56/image_29112025_03_57_05_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":["1396808563","1396808485","1396808602","1396808436","1396808370","1396808523"],"photo_ids_order":["1396808370","1396808436","1396808485","1396808523","1396808563","1396808602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37a0cafc5962cc6d3f5e2e121b58d978.jpg","text":"TemporaryFile(/tmp/multipartBody2129353815841710230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385218591,"filename":"image_29112025_03_56_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/11/29/8c41dba7aee6803698f1879ba34efd45.jpg","text":"TemporaryFile(/tmp/multipartBody3045732942881120359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385218591,"filename":"image_29112025_03_56_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/11/29/bc5fa7bc874d36fe2a73b12fa9164a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8726529710747812307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385218591,"filename":"image_29112025_03_57_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/11/29/caf48535b3e70724ad258d7c28675285.jpg","text":"TemporaryFile(/tmp/multipartBody5074298608402062327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385218591,"filename":"image_29112025_03_56_04_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9cd00994f91a66e85103aab727b6eea.jpg","text":"TemporaryFile(/tmp/multipartBody6328139089552081730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385218591,"filename":"image_29112025_03_55_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/11/29/068ce220d20bced416aaf5e0a2d21405.jpg","text":"TemporaryFile(/tmp/multipartBody3616781987480520120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385218591,"filename":"image_29112025_03_56_44_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808485","file1":"1396808436","file0":"1396808370","file4":"1396808563","file5":"1396808602","file3":"1396808523"},"map_files_photo_id_array":[{"photo_id":"1396808602","filename":"file5"},{"photo_id":"1396808485","filename":"file2"},{"photo_id":"1396808563","filename":"file4"},{"photo_id":"1396808436","filename":"file1"},{"photo_id":"1396808370","filename":"file0"},{"photo_id":"1396808523","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396808563":["hashtag1","hashtag2"]},{"1396808485":["hashtag1","hashtag2"]},{"1396808602":["hashtag1","hashtag2"]},{"1396808436":["hashtag1","hashtag2"]},{"1396808370":["hashtag1","hashtag2"]},{"1396808523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396808563, 1396808485, 1396808602, 1396808436, 1396808370, 1396808523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.73352026939392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:00:02.836003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/57/image_29112025_03_57_24_9588.jpg', '/home/pi/Desktop/images/29112025/03/57/image_29112025_03_57_35_10731.jpg', '/home/pi/Desktop/images/29112025/03/57/image_29112025_03_57_44_9560.jpg', '/home/pi/Desktop/images/29112025/03/58/image_29112025_03_58_24_9775.jpg', '/home/pi/Desktop/images/29112025/03/58/image_29112025_03_58_35_10648.jpg', '/home/pi/Desktop/images/29112025/03/58/image_29112025_03_58_54_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/57/image_29112025_03_57_24_9588.jpg
/home/pi/Desktop/images/29112025/03/57/image_29112025_03_57_35_10731.jpg
/home/pi/Desktop/images/29112025/03/57/image_29112025_03_57_44_9560.jpg
/home/pi/Desktop/images/29112025/03/58/image_29112025_03_58_24_9775.jpg
/home/pi/Desktop/images/29112025/03/58/image_29112025_03_58_35_10648.jpg
/home/pi/Desktop/images/29112025/03/58/image_29112025_03_58_54_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":["1396808803","1396809066","1396809147","1396808975","1396808885","1396808735"],"photo_ids_order":["1396808735","1396808803","1396808885","1396808975","1396809066","1396809147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10d306b470c1d066a71d3a85bb51b9d6.jpg","text":"TemporaryFile(/tmp/multipartBody6337884188754280118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385263591,"filename":"image_29112025_03_57_35_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21bf6637c5a8bf68f98dfdc818995784.jpg","text":"TemporaryFile(/tmp/multipartBody7100319781266261268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385263591,"filename":"image_29112025_03_58_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11fd90609e399d68d3587ea7fbed199b.jpg","text":"TemporaryFile(/tmp/multipartBody318538740770347633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385263591,"filename":"image_29112025_03_58_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/11/29/1b5f1209da14cf2918fb5dc627d1ec72.jpg","text":"TemporaryFile(/tmp/multipartBody5853211675997811518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385263591,"filename":"image_29112025_03_58_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/11/29/5cf6c3e791af72cbf7b48c6e21b81b1a.jpg","text":"TemporaryFile(/tmp/multipartBody5803168811008098321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385263591,"filename":"image_29112025_03_57_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/11/29/a6584203f2dadb7fe91659deedcdfc39.jpg","text":"TemporaryFile(/tmp/multipartBody4368054974550322716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385263591,"filename":"image_29112025_03_57_24_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396808885","file1":"1396808803","file0":"1396808735","file4":"1396809066","file5":"1396809147","file3":"1396808975"},"map_files_photo_id_array":[{"photo_id":"1396809147","filename":"file5"},{"photo_id":"1396808885","filename":"file2"},{"photo_id":"1396809066","filename":"file4"},{"photo_id":"1396808803","filename":"file1"},{"photo_id":"1396808735","filename":"file0"},{"photo_id":"1396808975","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396808803":["hashtag1","hashtag2"]},{"1396809066":["hashtag1","hashtag2"]},{"1396809147":["hashtag1","hashtag2"]},{"1396808975":["hashtag1","hashtag2"]},{"1396808885":["hashtag1","hashtag2"]},{"1396808735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396808803, 1396809066, 1396809147, 1396808975, 1396808885, 1396808735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.987255334854126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:01:03.368827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/03/58/image_29112025_03_59_05_10667.jpg', '/home/pi/Desktop/images/29112025/03/59/image_29112025_03_59_14_9735.jpg', '/home/pi/Desktop/images/29112025/03/59/image_29112025_03_59_24_9836.jpg', '/home/pi/Desktop/images/29112025/03/59/image_29112025_03_59_44_9798.jpg', '/home/pi/Desktop/images/29112025/03/59/image_29112025_04_00_04_9661.jpg', '/home/pi/Desktop/images/29112025/04/00/image_29112025_04_00_24_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/03/58/image_29112025_03_59_05_10667.jpg
/home/pi/Desktop/images/29112025/03/59/image_29112025_03_59_14_9735.jpg
/home/pi/Desktop/images/29112025/03/59/image_29112025_03_59_24_9836.jpg
/home/pi/Desktop/images/29112025/03/59/image_29112025_03_59_44_9798.jpg
/home/pi/Desktop/images/29112025/03/59/image_29112025_04_00_04_9661.jpg
/home/pi/Desktop/images/29112025/04/00/image_29112025_04_00_24_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":["1396809625","1396809729","1396809944","1396809440","1396809833","1396809523"],"photo_ids_order":["1396809440","1396809523","1396809625","1396809729","1396809833","1396809944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72be0c14a535a0597095ac30cf2b6853.jpg","text":"TemporaryFile(/tmp/multipartBody8984239169523471993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385324165,"filename":"image_29112025_03_59_24_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93c4747355ed59ca06ff6c1e2a620423.jpg","text":"TemporaryFile(/tmp/multipartBody5080757074590985900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385324165,"filename":"image_29112025_03_59_44_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41bd31dd195d06834860add2baa0ba2f.jpg","text":"TemporaryFile(/tmp/multipartBody7418659759563055822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385324165,"filename":"image_29112025_04_00_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/11/29/8596d06ec3ff7d900ad9fe5ac2a83832.jpg","text":"TemporaryFile(/tmp/multipartBody7384897719793244732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385324165,"filename":"image_29112025_03_59_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccd2c2e372a46f5c40cd2c45039fb140.jpg","text":"TemporaryFile(/tmp/multipartBody1333669986010957268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385324165,"filename":"image_29112025_04_00_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/11/29/c3c45d852d197e5dd9f32a81da160054.jpg","text":"TemporaryFile(/tmp/multipartBody4817737161398882995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385324165,"filename":"image_29112025_03_59_14_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396809625","file1":"1396809523","file0":"1396809440","file4":"1396809833","file5":"1396809944","file3":"1396809729"},"map_files_photo_id_array":[{"photo_id":"1396809944","filename":"file5"},{"photo_id":"1396809625","filename":"file2"},{"photo_id":"1396809833","filename":"file4"},{"photo_id":"1396809523","filename":"file1"},{"photo_id":"1396809440","filename":"file0"},{"photo_id":"1396809729","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396809625":["hashtag1","hashtag2"]},{"1396809729":["hashtag1","hashtag2"]},{"1396809944":["hashtag1","hashtag2"]},{"1396809440":["hashtag1","hashtag2"]},{"1396809833":["hashtag1","hashtag2"]},{"1396809523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396809625, 1396809729, 1396809944, 1396809440, 1396809833, 1396809523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.254467487335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:01:42.733673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_17_2771.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_19_2931.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_22_2720.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_26_3735.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_29_2640.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_31_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/08/34/image_31102025_08_34_17_2771.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_19_2931.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_22_2720.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_26_3735.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_29_2640.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_31_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":["1396810444","1396810266","1396810332","1396810533","1396810713","1396810614"],"photo_ids_order":["1396810266","1396810332","1396810444","1396810533","1396810614","1396810713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/557de853dc44240c387da33627fef40c.jpg","text":"TemporaryFile(/tmp/multipartBody1834219707184421741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385363827,"filename":"image_31102025_08_34_22_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10af47dd17fc26392980d8f810096feb.jpg","text":"TemporaryFile(/tmp/multipartBody6420417391431796563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385363827,"filename":"image_31102025_08_34_17_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/561c874e35c04e620e4b001b5877f144.jpg","text":"TemporaryFile(/tmp/multipartBody2312184517913459097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385363827,"filename":"image_31102025_08_34_19_2931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e5e6ec20eb3c5832cf1af0018593d28.jpg","text":"TemporaryFile(/tmp/multipartBody4358755261924964925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385363827,"filename":"image_31102025_08_34_26_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2ce33a6baff9b5e099b65b3afed39b0.jpg","text":"TemporaryFile(/tmp/multipartBody8714496623927089402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385363827,"filename":"image_31102025_08_34_31_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49b241929ecbb534834ddb6272e21310.jpg","text":"TemporaryFile(/tmp/multipartBody6220155071854917147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385363827,"filename":"image_31102025_08_34_29_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396810444","file1":"1396810332","file0":"1396810266","file4":"1396810614","file5":"1396810713","file3":"1396810533"},"map_files_photo_id_array":[{"photo_id":"1396810713","filename":"file5"},{"photo_id":"1396810444","filename":"file2"},{"photo_id":"1396810614","filename":"file4"},{"photo_id":"1396810332","filename":"file1"},{"photo_id":"1396810266","filename":"file0"},{"photo_id":"1396810533","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396810444":["hashtag1","hashtag2"]},{"1396810266":["hashtag1","hashtag2"]},{"1396810332":["hashtag1","hashtag2"]},{"1396810533":["hashtag1","hashtag2"]},{"1396810713":["hashtag1","hashtag2"]},{"1396810614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396810444, 1396810266, 1396810332, 1396810533, 1396810713, 1396810614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40429496765137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:02:21.902099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/00/image_29112025_04_00_45_10572.jpg', '/home/pi/Desktop/images/29112025/04/00/image_29112025_04_01_04_9653.jpg', '/home/pi/Desktop/images/29112025/04/01/image_29112025_04_01_15_10554.jpg', '/home/pi/Desktop/images/29112025/04/01/image_29112025_04_01_24_9799.jpg', '/home/pi/Desktop/images/29112025/04/01/image_29112025_04_01_34_9769.jpg', '/home/pi/Desktop/images/29112025/04/01/image_29112025_04_01_44_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/00/image_29112025_04_00_45_10572.jpg
/home/pi/Desktop/images/29112025/04/00/image_29112025_04_01_04_9653.jpg
/home/pi/Desktop/images/29112025/04/01/image_29112025_04_01_15_10554.jpg
/home/pi/Desktop/images/29112025/04/01/image_29112025_04_01_24_9799.jpg
/home/pi/Desktop/images/29112025/04/01/image_29112025_04_01_34_9769.jpg
/home/pi/Desktop/images/29112025/04/01/image_29112025_04_01_44_9955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396811002","1396811090","1396811045","1396810967","1396810889","1396810928"],"photo_ids_order":["1396810889","1396810928","1396810967","1396811002","1396811045","1396811090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/529c9914e9bef869272442e35422c49b.jpg","text":"TemporaryFile(/tmp/multipartBody5306361045197265433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385402671,"filename":"image_29112025_04_01_24_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50854a8ab11e0a63f6f8aab0bbb07292.jpg","text":"TemporaryFile(/tmp/multipartBody3500791349656351671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385402671,"filename":"image_29112025_04_01_44_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/916acc6e6b4f73c9b2963c0b7e13a63b.jpg","text":"TemporaryFile(/tmp/multipartBody1507232926288298744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385402671,"filename":"image_29112025_04_01_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95b56dd961b0380db2c88791d299c831.jpg","text":"TemporaryFile(/tmp/multipartBody7203244588710658142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385402671,"filename":"image_29112025_04_01_15_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0766860e82d4ed764a5c4acc1680e805.jpg","text":"TemporaryFile(/tmp/multipartBody9102680845498495973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385402671,"filename":"image_29112025_04_00_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/11/29/6a7b53843ea9538d48c956f41f9d66f7.jpg","text":"TemporaryFile(/tmp/multipartBody1712486834734366384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385402671,"filename":"image_29112025_04_01_04_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396810967","file1":"1396810928","file0":"1396810889","file4":"1396811045","file5":"1396811090","file3":"1396811002"},"map_files_photo_id_array":[{"photo_id":"1396811090","filename":"file5"},{"photo_id":"1396810967","filename":"file2"},{"photo_id":"1396811045","filename":"file4"},{"photo_id":"1396810928","filename":"file1"},{"photo_id":"1396810889","filename":"file0"},{"photo_id":"1396811002","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396811002":["hashtag1","hashtag2"]},{"1396811090":["hashtag1","hashtag2"]},{"1396811045":["hashtag1","hashtag2"]},{"1396810967":["hashtag1","hashtag2"]},{"1396810889":["hashtag1","hashtag2"]},{"1396810928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396811002, 1396811090, 1396811045, 1396810967, 1396810889, 1396810928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01430034637451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:03:04.243943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/01/image_29112025_04_02_04_9689.jpg', '/home/pi/Desktop/images/29112025/04/02/image_29112025_04_02_24_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/01/image_29112025_04_02_04_9689.jpg
/home/pi/Desktop/images/29112025/04/02/image_29112025_04_02_24_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396811268","1396811249"],"photo_ids_order":["1396811249","1396811268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5ed2fc6d23b7996dc3917d04edb23ef.jpg","text":"TemporaryFile(/tmp/multipartBody3225604169738529049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385444856,"filename":"image_29112025_04_02_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3be2a379a96f4e580b496c7e9a9f07e5.jpg","text":"TemporaryFile(/tmp/multipartBody7743794986701863727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385444856,"filename":"image_29112025_04_02_04_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396811268","file0":"1396811249"},"map_files_photo_id_array":[{"photo_id":"1396811268","filename":"file1"},{"photo_id":"1396811249","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396811268":["hashtag1","hashtag2"]},{"1396811249":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396811268, 1396811249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.50952124595642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 04:03:33.667175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_25_2520.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_29_3618.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_32_2741.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_34_2747.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_38_3602.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_41_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_25_2520.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_29_3618.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_32_2741.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_34_2747.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_38_3602.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_41_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":["1396811688","1396811651","1396811375","1396811516","1396811444","1396811593"],"photo_ids_order":["1396811375","1396811444","1396811516","1396811593","1396811651","1396811688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ded6d0077821e96cf1ca6e73e2add1b8.jpg","text":"TemporaryFile(/tmp/multipartBody5466283465814889054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385475937,"filename":"image_25112025_17_41_41_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16de60a77ad95ec1d44123705737597b.jpg","text":"TemporaryFile(/tmp/multipartBody3859587125700085631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385475937,"filename":"image_25112025_17_41_38_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81de20601a9899ce702864dc804eb195.jpg","text":"TemporaryFile(/tmp/multipartBody2389439748441139120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385475937,"filename":"image_25112025_17_41_25_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1e0eee657a0b2a71ec4bdce25442b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1855263489128329756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385475937,"filename":"image_25112025_17_41_32_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5367e53f8d0c97d154a6cf94d1e0eec.jpg","text":"TemporaryFile(/tmp/multipartBody644742465843173123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385475937,"filename":"image_25112025_17_41_29_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ea5b9209cf877b985760d98349795f6.jpg","text":"TemporaryFile(/tmp/multipartBody8517280915586648939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385475937,"filename":"image_25112025_17_41_34_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396811516","file1":"1396811444","file0":"1396811375","file4":"1396811651","file5":"1396811688","file3":"1396811593"},"map_files_photo_id_array":[{"photo_id":"1396811688","filename":"file5"},{"photo_id":"1396811516","filename":"file2"},{"photo_id":"1396811651","filename":"file4"},{"photo_id":"1396811444","filename":"file1"},{"photo_id":"1396811375","filename":"file0"},{"photo_id":"1396811593","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396811688":["hashtag1","hashtag2"]},{"1396811651":["hashtag1","hashtag2"]},{"1396811375":["hashtag1","hashtag2"]},{"1396811516":["hashtag1","hashtag2"]},{"1396811444":["hashtag1","hashtag2"]},{"1396811593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396811688, 1396811651, 1396811375, 1396811516, 1396811444, 1396811593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79432439804077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 04:04:12.720800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_43_2651.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_47_3589.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_49_2622.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_52_2612.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_56_3635.jpg', '/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_58_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_43_2651.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_47_3589.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_49_2622.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_52_2612.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_56_3635.jpg
/home/pi/Desktop/images/25112025/17/41/image_25112025_17_41_58_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396812045","1396811862","1396811972","1396811910","1396811921","1396811935"],"photo_ids_order":["1396811862","1396811910","1396811921","1396811935","1396811972","1396812045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4d7fbb9744b0ac2a60ec92ad755d671.jpg","text":"TemporaryFile(/tmp/multipartBody6924529731551628349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385514840,"filename":"image_25112025_17_41_58_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d9bc503739ed0e07a9f85a7541fe032.jpg","text":"TemporaryFile(/tmp/multipartBody9161050824375497442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385514840,"filename":"image_25112025_17_41_43_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a79b33d68d772a9ea3771c4bc780f1ca.jpg","text":"TemporaryFile(/tmp/multipartBody7057432452748831922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385514840,"filename":"image_25112025_17_41_56_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/162c5796e2a581a9dd98987151d3c413.jpg","text":"TemporaryFile(/tmp/multipartBody1455133000960434205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385514840,"filename":"image_25112025_17_41_47_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5b5198ffa680c9e1441415ffff5769c.jpg","text":"TemporaryFile(/tmp/multipartBody8480137078964638676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385514840,"filename":"image_25112025_17_41_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/11/29/adae95a77d34e1f2f2b67a00f20176bd.jpg","text":"TemporaryFile(/tmp/multipartBody7062956902180584411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385514840,"filename":"image_25112025_17_41_52_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396811921","file1":"1396811910","file0":"1396811862","file4":"1396811972","file5":"1396812045","file3":"1396811935"},"map_files_photo_id_array":[{"photo_id":"1396812045","filename":"file5"},{"photo_id":"1396811921","filename":"file2"},{"photo_id":"1396811972","filename":"file4"},{"photo_id":"1396811910","filename":"file1"},{"photo_id":"1396811862","filename":"file0"},{"photo_id":"1396811935","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396812045":["hashtag1","hashtag2"]},{"1396811862":["hashtag1","hashtag2"]},{"1396811972":["hashtag1","hashtag2"]},{"1396811910":["hashtag1","hashtag2"]},{"1396811921":["hashtag1","hashtag2"]},{"1396811935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396812045, 1396811862, 1396811972, 1396811910, 1396811921, 1396811935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.111379623413086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:05:02.644400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/02/image_29112025_04_02_34_10646.jpg', '/home/pi/Desktop/images/29112025/04/03/image_29112025_04_03_54_9833.jpg', '/home/pi/Desktop/images/29112025/04/03/image_29112025_04_04_04_10739.jpg', '/home/pi/Desktop/images/29112025/04/04/image_29112025_04_04_14_9628.jpg', '/home/pi/Desktop/images/29112025/04/04/image_29112025_04_04_44_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/02/image_29112025_04_02_34_10646.jpg
/home/pi/Desktop/images/29112025/04/03/image_29112025_04_03_54_9833.jpg
/home/pi/Desktop/images/29112025/04/03/image_29112025_04_04_04_10739.jpg
/home/pi/Desktop/images/29112025/04/04/image_29112025_04_04_14_9628.jpg
/home/pi/Desktop/images/29112025/04/04/image_29112025_04_04_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":["1396812539","1396812368","1396812500","1396812425","1396812465"],"photo_ids_order":["1396812368","1396812425","1396812465","1396812500","1396812539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aee95619492bded2b33b713ccfc5cf4e.jpg","text":"TemporaryFile(/tmp/multipartBody4485915164939999025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385563405,"filename":"image_29112025_04_04_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/11/29/e0eab5cda646a561d752ed8b57c973ee.jpg","text":"TemporaryFile(/tmp/multipartBody6090104232027599952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385563405,"filename":"image_29112025_04_02_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/300d653fb6c0e189b01b00c4c1695c69.jpg","text":"TemporaryFile(/tmp/multipartBody1632632070632656874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385563405,"filename":"image_29112025_04_04_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/678035a6fbc68fcb0f24b518cf54a38e.jpg","text":"TemporaryFile(/tmp/multipartBody1495097940336033221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385563405,"filename":"image_29112025_04_03_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/11/29/67e1605bf0c68a11cd90401355255dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3850168793325058369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385563405,"filename":"image_29112025_04_04_04_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396812465","file1":"1396812425","file0":"1396812368","file4":"1396812539","file3":"1396812500"},"map_files_photo_id_array":[{"photo_id":"1396812465","filename":"file2"},{"photo_id":"1396812539","filename":"file4"},{"photo_id":"1396812425","filename":"file1"},{"photo_id":"1396812368","filename":"file0"},{"photo_id":"1396812500","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396812539":["hashtag1","hashtag2"]},{"1396812368":["hashtag1","hashtag2"]},{"1396812500":["hashtag1","hashtag2"]},{"1396812425":["hashtag1","hashtag2"]},{"1396812465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396812539, 1396812368, 1396812500, 1396812425, 1396812465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.70329451560974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:05:41.964506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_34_2798.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_38_3599.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_40_2585.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_44_3534.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_47_2624.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_49_2743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_34_2798.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_38_3599.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_40_2585.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_44_3534.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_47_2624.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_49_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396812761","1396812917","1396812839","1396812799","1396812874","1396812718"],"photo_ids_order":["1396812718","1396812761","1396812799","1396812839","1396812874","1396812917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9d20d50930c31ca6209fbcfa940ceb6.jpg","text":"TemporaryFile(/tmp/multipartBody5383547621611036467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385603053,"filename":"image_31102025_08_34_38_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0856ec2cebd46b6780a7f4f6bf1fa85c.jpg","text":"TemporaryFile(/tmp/multipartBody225475850497663935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385603053,"filename":"image_31102025_08_34_49_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ce13f1ff6b4ac3c65afcf6d87f9b4a3.jpg","text":"TemporaryFile(/tmp/multipartBody1241668447519333483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385603053,"filename":"image_31102025_08_34_44_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2d0c6bc5db707753bc63fc7368f0d17.jpg","text":"TemporaryFile(/tmp/multipartBody5306455180796154625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385603053,"filename":"image_31102025_08_34_40_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed0c6f4273b712d2b1605ef30cb88494.jpg","text":"TemporaryFile(/tmp/multipartBody4806632628404941680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385603053,"filename":"image_31102025_08_34_47_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/455e96cf742afbe3920371a645153fa1.jpg","text":"TemporaryFile(/tmp/multipartBody8058661338389468571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385603053,"filename":"image_31102025_08_34_34_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396812799","file1":"1396812761","file0":"1396812718","file4":"1396812874","file5":"1396812917","file3":"1396812839"},"map_files_photo_id_array":[{"photo_id":"1396812917","filename":"file5"},{"photo_id":"1396812799","filename":"file2"},{"photo_id":"1396812874","filename":"file4"},{"photo_id":"1396812761","filename":"file1"},{"photo_id":"1396812718","filename":"file0"},{"photo_id":"1396812839","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396812761":["hashtag1","hashtag2"]},{"1396812917":["hashtag1","hashtag2"]},{"1396812839":["hashtag1","hashtag2"]},{"1396812799":["hashtag1","hashtag2"]},{"1396812874":["hashtag1","hashtag2"]},{"1396812718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396812761, 1396812917, 1396812839, 1396812799, 1396812874, 1396812718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21019411087036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:06:22.140606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/04/image_29112025_04_04_54_9726.jpg', '/home/pi/Desktop/images/29112025/04/05/image_29112025_04_05_14_9589.jpg', '/home/pi/Desktop/images/29112025/04/05/image_29112025_04_05_24_9792.jpg', '/home/pi/Desktop/images/29112025/04/05/image_29112025_04_05_35_10634.jpg', '/home/pi/Desktop/images/29112025/04/05/image_29112025_04_05_44_9621.jpg', '/home/pi/Desktop/images/29112025/04/05/image_29112025_04_05_54_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/04/image_29112025_04_04_54_9726.jpg
/home/pi/Desktop/images/29112025/04/05/image_29112025_04_05_14_9589.jpg
/home/pi/Desktop/images/29112025/04/05/image_29112025_04_05_24_9792.jpg
/home/pi/Desktop/images/29112025/04/05/image_29112025_04_05_35_10634.jpg
/home/pi/Desktop/images/29112025/04/05/image_29112025_04_05_44_9621.jpg
/home/pi/Desktop/images/29112025/04/05/image_29112025_04_05_54_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396813166","1396813139","1396813093","1396813159","1396813158","1396813050"],"photo_ids_order":["1396813050","1396813093","1396813139","1396813158","1396813159","1396813166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa7f02c28befc6f24f726dd6759f714b.jpg","text":"TemporaryFile(/tmp/multipartBody8167471528457113660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385642867,"filename":"image_29112025_04_05_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/11/29/30f4d1be34a6ffaa413c10694cab194d.jpg","text":"TemporaryFile(/tmp/multipartBody270311089844841311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385642867,"filename":"image_29112025_04_05_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e79e357fe15de5de45564daec333dfac.jpg","text":"TemporaryFile(/tmp/multipartBody5921353990858418555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385642867,"filename":"image_29112025_04_05_14_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8891053ec5da8f30ed1ab1be1b00cce8.jpg","text":"TemporaryFile(/tmp/multipartBody1244348690240857208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385642867,"filename":"image_29112025_04_05_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/11/29/cbcb13f42e7f8c8c3d4a451d7734d9ec.jpg","text":"TemporaryFile(/tmp/multipartBody8180653957388714559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385642867,"filename":"image_29112025_04_05_35_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/843f22b4e8c76704e374abc3509127e8.jpg","text":"TemporaryFile(/tmp/multipartBody5777860252293464525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385642867,"filename":"image_29112025_04_04_54_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396813139","file1":"1396813093","file0":"1396813050","file4":"1396813159","file5":"1396813166","file3":"1396813158"},"map_files_photo_id_array":[{"photo_id":"1396813166","filename":"file5"},{"photo_id":"1396813139","filename":"file2"},{"photo_id":"1396813159","filename":"file4"},{"photo_id":"1396813093","filename":"file1"},{"photo_id":"1396813050","filename":"file0"},{"photo_id":"1396813158","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396813166":["hashtag1","hashtag2"]},{"1396813139":["hashtag1","hashtag2"]},{"1396813093":["hashtag1","hashtag2"]},{"1396813159":["hashtag1","hashtag2"]},{"1396813158":["hashtag1","hashtag2"]},{"1396813050":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396813166, 1396813139, 1396813093, 1396813159, 1396813158, 1396813050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16933345794678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:07:02.927403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/05/image_29112025_04_06_04_9989.jpg', '/home/pi/Desktop/images/29112025/04/06/image_29112025_04_06_24_9739.jpg', '/home/pi/Desktop/images/29112025/04/06/image_29112025_04_06_34_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/05/image_29112025_04_06_04_9989.jpg
/home/pi/Desktop/images/29112025/04/06/image_29112025_04_06_24_9739.jpg
/home/pi/Desktop/images/29112025/04/06/image_29112025_04_06_34_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396813231","1396813194","1396813173"],"photo_ids_order":["1396813173","1396813194","1396813231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/179ce9b3bc98d4d7b7509c384c38214b.jpg","text":"TemporaryFile(/tmp/multipartBody5801248894128377685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385683598,"filename":"image_29112025_04_06_34_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8778d2a9c0540001a4f06e00ec33a2b.jpg","text":"TemporaryFile(/tmp/multipartBody1583489968516302347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385683598,"filename":"image_29112025_04_06_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9eea0d5ed0473b9849cbd69d3ad79d14.jpg","text":"TemporaryFile(/tmp/multipartBody2402899865403004727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385683598,"filename":"image_29112025_04_06_04_9989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396813231","file1":"1396813194","file0":"1396813173"},"map_files_photo_id_array":[{"photo_id":"1396813231","filename":"file2"},{"photo_id":"1396813194","filename":"file1"},{"photo_id":"1396813173","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396813231":["hashtag1","hashtag2"]},{"1396813194":["hashtag1","hashtag2"]},{"1396813173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396813231, 1396813194, 1396813173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.907108783721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 04:07:32.353398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_02_3666.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_04_2586.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_07_2717.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_11_3678.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_14_2732.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_16_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_02_3666.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_04_2586.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_07_2717.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_11_3678.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_14_2732.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_16_2640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396813369","1396813435","1396813402","1396813497","1396813398","1396813359"],"photo_ids_order":["1396813359","1396813369","1396813398","1396813402","1396813435","1396813497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3565787c350a70e6ad25d1fc24dc5c6a.jpg","text":"TemporaryFile(/tmp/multipartBody3394022237915266577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385714573,"filename":"image_25112025_17_42_04_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30ee8a4853b9d3ebce7006eef82f4d0d.jpg","text":"TemporaryFile(/tmp/multipartBody8653735223188751688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385714573,"filename":"image_25112025_17_42_14_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/342577ac15650c45385d34b14fe1a3f7.jpg","text":"TemporaryFile(/tmp/multipartBody2702570847871835230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385714573,"filename":"image_25112025_17_42_11_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c72f5f7e587da813a84c5138bf84684.jpg","text":"TemporaryFile(/tmp/multipartBody7363805867104725967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385714573,"filename":"image_25112025_17_42_16_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5eee875f195bda6d7c616be22403af3.jpg","text":"TemporaryFile(/tmp/multipartBody1770268588607118780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385714573,"filename":"image_25112025_17_42_07_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2771c9485d71a7ce423a5a432a2ff93a.jpg","text":"TemporaryFile(/tmp/multipartBody6262136471403025837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385714573,"filename":"image_25112025_17_42_02_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396813398","file1":"1396813369","file0":"1396813359","file4":"1396813435","file5":"1396813497","file3":"1396813402"},"map_files_photo_id_array":[{"photo_id":"1396813497","filename":"file5"},{"photo_id":"1396813398","filename":"file2"},{"photo_id":"1396813435","filename":"file4"},{"photo_id":"1396813369","filename":"file1"},{"photo_id":"1396813359","filename":"file0"},{"photo_id":"1396813402","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396813369":["hashtag1","hashtag2"]},{"1396813435":["hashtag1","hashtag2"]},{"1396813402":["hashtag1","hashtag2"]},{"1396813497":["hashtag1","hashtag2"]},{"1396813398":["hashtag1","hashtag2"]},{"1396813359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396813369, 1396813435, 1396813402, 1396813497, 1396813398, 1396813359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.927502393722534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 04:08:12.526040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_20_3699.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_23_2603.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_25_2767.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_28_2634.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_32_3720.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_34_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_20_3699.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_23_2603.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_25_2767.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_28_2634.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_32_3720.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_34_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396813809","1396813775","1396813637","1396813706","1396813672","1396813740"],"photo_ids_order":["1396813637","1396813672","1396813706","1396813740","1396813775","1396813809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa2b087b9001feed319253d8b55371bf.jpg","text":"TemporaryFile(/tmp/multipartBody7141059781561649902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385754633,"filename":"image_25112025_17_42_34_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88582a1c865f05edf5fc0fb3529340c0.jpg","text":"TemporaryFile(/tmp/multipartBody3971028961489253458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385754633,"filename":"image_25112025_17_42_32_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4200ef1e8cdaab4175891b669751c4a.jpg","text":"TemporaryFile(/tmp/multipartBody291465533501437273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385754633,"filename":"image_25112025_17_42_20_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf0bb5fb224bf4cae5b064969ef1003a.jpg","text":"TemporaryFile(/tmp/multipartBody661330405837217666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385754633,"filename":"image_25112025_17_42_25_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3380b1daaf54f5e2123a6e4e7ebfb30e.jpg","text":"TemporaryFile(/tmp/multipartBody2412773450813213054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385754633,"filename":"image_25112025_17_42_23_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c944e345f06a006480507d5ed76c115.jpg","text":"TemporaryFile(/tmp/multipartBody3569939560164890448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385754633,"filename":"image_25112025_17_42_28_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396813706","file1":"1396813672","file0":"1396813637","file4":"1396813775","file5":"1396813809","file3":"1396813740"},"map_files_photo_id_array":[{"photo_id":"1396813809","filename":"file5"},{"photo_id":"1396813706","filename":"file2"},{"photo_id":"1396813775","filename":"file4"},{"photo_id":"1396813672","filename":"file1"},{"photo_id":"1396813637","filename":"file0"},{"photo_id":"1396813740","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396813809":["hashtag1","hashtag2"]},{"1396813775":["hashtag1","hashtag2"]},{"1396813637":["hashtag1","hashtag2"]},{"1396813706":["hashtag1","hashtag2"]},{"1396813672":["hashtag1","hashtag2"]},{"1396813740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396813809, 1396813775, 1396813637, 1396813706, 1396813672, 1396813740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.485710859298706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:09:03.781976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/06/image_29112025_04_06_54_9668.jpg', '/home/pi/Desktop/images/29112025/04/06/image_29112025_04_07_04_9618.jpg', '/home/pi/Desktop/images/29112025/04/07/image_29112025_04_07_24_9723.jpg', '/home/pi/Desktop/images/29112025/04/07/image_29112025_04_07_34_9601.jpg', '/home/pi/Desktop/images/29112025/04/07/image_29112025_04_07_44_9753.jpg', '/home/pi/Desktop/images/29112025/04/07/image_29112025_04_07_54_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/06/image_29112025_04_06_54_9668.jpg
/home/pi/Desktop/images/29112025/04/06/image_29112025_04_07_04_9618.jpg
/home/pi/Desktop/images/29112025/04/07/image_29112025_04_07_24_9723.jpg
/home/pi/Desktop/images/29112025/04/07/image_29112025_04_07_34_9601.jpg
/home/pi/Desktop/images/29112025/04/07/image_29112025_04_07_44_9753.jpg
/home/pi/Desktop/images/29112025/04/07/image_29112025_04_07_54_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":["1396814078","1396814042","1396814123","1396814234","1396814158","1396814196"],"photo_ids_order":["1396814042","1396814078","1396814123","1396814158","1396814196","1396814234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce438ffdf6c4d150ecdd9c3416fe93d5.jpg","text":"TemporaryFile(/tmp/multipartBody6631932403078727720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385804666,"filename":"image_29112025_04_07_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/11/29/743501feac7d2511ded9213b454c4a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6689756066579991059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385804666,"filename":"image_29112025_04_06_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/11/29/0401cbbdb65f1c54502114948daecebb.jpg","text":"TemporaryFile(/tmp/multipartBody3922384045001131284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385804666,"filename":"image_29112025_04_07_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/11/29/7196c7e1edba8e4e145d610885461d83.jpg","text":"TemporaryFile(/tmp/multipartBody4852551819452644104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385804666,"filename":"image_29112025_04_07_54_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f4096180182a1c5fd6f8928f1ccfc20.jpg","text":"TemporaryFile(/tmp/multipartBody423497559844018731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385804666,"filename":"image_29112025_04_07_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/11/29/899c5d39755a6a2b7bb7b10d720a35c2.jpg","text":"TemporaryFile(/tmp/multipartBody2106121921275300892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385804666,"filename":"image_29112025_04_07_44_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396814123","file1":"1396814078","file0":"1396814042","file4":"1396814196","file5":"1396814234","file3":"1396814158"},"map_files_photo_id_array":[{"photo_id":"1396814234","filename":"file5"},{"photo_id":"1396814123","filename":"file2"},{"photo_id":"1396814196","filename":"file4"},{"photo_id":"1396814078","filename":"file1"},{"photo_id":"1396814042","filename":"file0"},{"photo_id":"1396814158","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396814078":["hashtag1","hashtag2"]},{"1396814042":["hashtag1","hashtag2"]},{"1396814123":["hashtag1","hashtag2"]},{"1396814234":["hashtag1","hashtag2"]},{"1396814158":["hashtag1","hashtag2"]},{"1396814196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396814078, 1396814042, 1396814123, 1396814234, 1396814158, 1396814196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37910580635071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:09:42.761140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_53_3687.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_56_2696.jpg', '/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_58_2808.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_02_3578.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_05_2695.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_07_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/08/34/image_31102025_08_34_53_3687.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_56_2696.jpg
/home/pi/Desktop/images/31102025/08/34/image_31102025_08_34_58_2808.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_02_3578.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_05_2695.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_07_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396814546","1396814369","1396814476","1396814404","1396814442","1396814511"],"photo_ids_order":["1396814369","1396814404","1396814442","1396814476","1396814511","1396814546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/546c0221527feb1bb9d2377d580eff29.jpg","text":"TemporaryFile(/tmp/multipartBody359813123579185166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385843832,"filename":"image_31102025_08_35_07_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d053c51ad57ee4540957d531c252c2b6.jpg","text":"TemporaryFile(/tmp/multipartBody6250347420736790618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385843832,"filename":"image_31102025_08_34_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/11/29/c4e5c958d0dcdf8a7b79c5cfe37079bb.jpg","text":"TemporaryFile(/tmp/multipartBody8503517646502162750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385843832,"filename":"image_31102025_08_35_02_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55d92014eaac09e530d72c366da481e4.jpg","text":"TemporaryFile(/tmp/multipartBody5387471259815650186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385843832,"filename":"image_31102025_08_34_56_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d877bcf5f8b208f59f9073e37d377331.jpg","text":"TemporaryFile(/tmp/multipartBody6170366055088265033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385843832,"filename":"image_31102025_08_34_58_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/067164a6ab0273286c92a4abb2c18b0f.jpg","text":"TemporaryFile(/tmp/multipartBody2283514076404926659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385843832,"filename":"image_31102025_08_35_05_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396814442","file1":"1396814404","file0":"1396814369","file4":"1396814511","file5":"1396814546","file3":"1396814476"},"map_files_photo_id_array":[{"photo_id":"1396814546","filename":"file5"},{"photo_id":"1396814442","filename":"file2"},{"photo_id":"1396814511","filename":"file4"},{"photo_id":"1396814404","filename":"file1"},{"photo_id":"1396814369","filename":"file0"},{"photo_id":"1396814476","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396814546":["hashtag1","hashtag2"]},{"1396814369":["hashtag1","hashtag2"]},{"1396814476":["hashtag1","hashtag2"]},{"1396814404":["hashtag1","hashtag2"]},{"1396814442":["hashtag1","hashtag2"]},{"1396814511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396814546, 1396814369, 1396814476, 1396814404, 1396814442, 1396814511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53791570663452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:10:22.001959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/07/image_29112025_04_08_04_9751.jpg', '/home/pi/Desktop/images/29112025/04/08/image_29112025_04_08_14_9601.jpg', '/home/pi/Desktop/images/29112025/04/08/image_29112025_04_08_24_10689.jpg', '/home/pi/Desktop/images/29112025/04/08/image_29112025_04_08_34_9674.jpg', '/home/pi/Desktop/images/29112025/04/09/image_29112025_04_09_25_10554.jpg', '/home/pi/Desktop/images/29112025/04/09/image_29112025_04_09_34_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/07/image_29112025_04_08_04_9751.jpg
/home/pi/Desktop/images/29112025/04/08/image_29112025_04_08_14_9601.jpg
/home/pi/Desktop/images/29112025/04/08/image_29112025_04_08_24_10689.jpg
/home/pi/Desktop/images/29112025/04/08/image_29112025_04_08_34_9674.jpg
/home/pi/Desktop/images/29112025/04/09/image_29112025_04_09_25_10554.jpg
/home/pi/Desktop/images/29112025/04/09/image_29112025_04_09_34_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396814588","1396814711","1396814656","1396814590","1396814620","1396814586"],"photo_ids_order":["1396814586","1396814588","1396814590","1396814620","1396814656","1396814711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4728a15c0812a210029c1d41d52c34e.jpg","text":"TemporaryFile(/tmp/multipartBody594575287501929590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385882733,"filename":"image_29112025_04_08_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d630c34ac051fddd179dc624722d3f99.jpg","text":"TemporaryFile(/tmp/multipartBody8469789574183389936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385882733,"filename":"image_29112025_04_09_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/11/29/cd51e31e4309cb0d00c82079ccc214ef.jpg","text":"TemporaryFile(/tmp/multipartBody3687385246138704167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385882733,"filename":"image_29112025_04_09_25_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50d9c2fc8c58bef0118a56c9afd41e49.jpg","text":"TemporaryFile(/tmp/multipartBody289399297646536440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385882733,"filename":"image_29112025_04_08_24_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c45eb9a2dbf0f1c3461054d1a92c59de.jpg","text":"TemporaryFile(/tmp/multipartBody6103917656623955116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385882733,"filename":"image_29112025_04_08_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/11/29/1adff631b98aec0e61f3e34b01ae9409.jpg","text":"TemporaryFile(/tmp/multipartBody5615164531590785471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385882733,"filename":"image_29112025_04_08_04_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396814590","file1":"1396814588","file0":"1396814586","file4":"1396814656","file5":"1396814711","file3":"1396814620"},"map_files_photo_id_array":[{"photo_id":"1396814711","filename":"file5"},{"photo_id":"1396814590","filename":"file2"},{"photo_id":"1396814656","filename":"file4"},{"photo_id":"1396814588","filename":"file1"},{"photo_id":"1396814586","filename":"file0"},{"photo_id":"1396814620","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396814588":["hashtag1","hashtag2"]},{"1396814711":["hashtag1","hashtag2"]},{"1396814656":["hashtag1","hashtag2"]},{"1396814590":["hashtag1","hashtag2"]},{"1396814620":["hashtag1","hashtag2"]},{"1396814586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396814588, 1396814711, 1396814656, 1396814590, 1396814620, 1396814586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.989985704422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:11:02.793276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/09/image_29112025_04_09_55_10780.jpg', '/home/pi/Desktop/images/29112025/04/09/image_29112025_04_10_04_9647.jpg', '/home/pi/Desktop/images/29112025/04/10/image_29112025_04_10_14_9857.jpg', '/home/pi/Desktop/images/29112025/04/10/image_29112025_04_10_24_9636.jpg', '/home/pi/Desktop/images/29112025/04/10/image_29112025_04_10_34_10682.jpg', '/home/pi/Desktop/images/29112025/04/10/image_29112025_04_10_44_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/09/image_29112025_04_09_55_10780.jpg
/home/pi/Desktop/images/29112025/04/09/image_29112025_04_10_04_9647.jpg
/home/pi/Desktop/images/29112025/04/10/image_29112025_04_10_14_9857.jpg
/home/pi/Desktop/images/29112025/04/10/image_29112025_04_10_24_9636.jpg
/home/pi/Desktop/images/29112025/04/10/image_29112025_04_10_34_10682.jpg
/home/pi/Desktop/images/29112025/04/10/image_29112025_04_10_44_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396815008","1396815055","1396815124","1396815090","1396815171","1396815251"],"photo_ids_order":["1396815008","1396815055","1396815090","1396815124","1396815171","1396815251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/502e1becf2c5b7477667c961949eaf22.jpg","text":"TemporaryFile(/tmp/multipartBody4787069246490981749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385923638,"filename":"image_29112025_04_09_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/11/29/3a4cb4a810a0a7a9a560b9685ae91ae3.jpg","text":"TemporaryFile(/tmp/multipartBody8526417856509810734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385923638,"filename":"image_29112025_04_10_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2462b72f20c4400ae7aeaafecad5ce30.jpg","text":"TemporaryFile(/tmp/multipartBody7574005008841077051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385923638,"filename":"image_29112025_04_10_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/11/29/c9fff3a02a70371e86f922ee5e15e16b.jpg","text":"TemporaryFile(/tmp/multipartBody1656560239432552222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385923638,"filename":"image_29112025_04_10_14_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a7b13d3a8350f54b502455090c87101.jpg","text":"TemporaryFile(/tmp/multipartBody3586053248242822772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385923638,"filename":"image_29112025_04_10_34_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c8fcf0c34fda4470a2788966b8c68c7.jpg","text":"TemporaryFile(/tmp/multipartBody2884432466259514790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385923638,"filename":"image_29112025_04_10_44_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396815090","file1":"1396815055","file0":"1396815008","file4":"1396815171","file5":"1396815251","file3":"1396815124"},"map_files_photo_id_array":[{"photo_id":"1396815251","filename":"file5"},{"photo_id":"1396815090","filename":"file2"},{"photo_id":"1396815171","filename":"file4"},{"photo_id":"1396815055","filename":"file1"},{"photo_id":"1396815008","filename":"file0"},{"photo_id":"1396815124","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396815008":["hashtag1","hashtag2"]},{"1396815055":["hashtag1","hashtag2"]},{"1396815124":["hashtag1","hashtag2"]},{"1396815090":["hashtag1","hashtag2"]},{"1396815171":["hashtag1","hashtag2"]},{"1396815251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396815008, 1396815055, 1396815124, 1396815090, 1396815171, 1396815251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53798222541809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:11:42.112971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_11_3651.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_14_2542.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_16_2727.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_20_3731.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_23_2607.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_29_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_11_3651.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_14_2542.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_16_2727.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_20_3731.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_23_2607.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_29_3692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396815509","1396815544","1396815654","1396815423","1396815581","1396815467"],"photo_ids_order":["1396815423","1396815467","1396815509","1396815544","1396815581","1396815654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3548a3990c1fc51b6cbcf30631ccafe.jpg","text":"TemporaryFile(/tmp/multipartBody8612095126678717556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385963220,"filename":"image_31102025_08_35_16_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88b166994e0cd4c87717d09fae3e11c5.jpg","text":"TemporaryFile(/tmp/multipartBody6580714515802623121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385963220,"filename":"image_31102025_08_35_20_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ce85899be0b0aba29e50b7a9bc04f20.jpg","text":"TemporaryFile(/tmp/multipartBody4417745978457610529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385963220,"filename":"image_31102025_08_35_29_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f116d3531950de9b444cd0ad7f3e138b.jpg","text":"TemporaryFile(/tmp/multipartBody1890350531105007397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385963220,"filename":"image_31102025_08_35_11_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dccfda06f24a8606dea115a28cd7724f.jpg","text":"TemporaryFile(/tmp/multipartBody8091108809886462027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385963220,"filename":"image_31102025_08_35_23_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3bd50b227e33268c426fd7a0fc247f7.jpg","text":"TemporaryFile(/tmp/multipartBody1715091802154129323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764385963220,"filename":"image_31102025_08_35_14_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396815509","file1":"1396815467","file0":"1396815423","file4":"1396815581","file5":"1396815654","file3":"1396815544"},"map_files_photo_id_array":[{"photo_id":"1396815654","filename":"file5"},{"photo_id":"1396815509","filename":"file2"},{"photo_id":"1396815581","filename":"file4"},{"photo_id":"1396815467","filename":"file1"},{"photo_id":"1396815423","filename":"file0"},{"photo_id":"1396815544","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396815509":["hashtag1","hashtag2"]},{"1396815544":["hashtag1","hashtag2"]},{"1396815654":["hashtag1","hashtag2"]},{"1396815423":["hashtag1","hashtag2"]},{"1396815581":["hashtag1","hashtag2"]},{"1396815467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396815509, 1396815544, 1396815654, 1396815423, 1396815581, 1396815467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.780925989151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:12:22.291089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/10/image_29112025_04_10_54_9611.jpg', '/home/pi/Desktop/images/29112025/04/10/image_29112025_04_11_04_10718.jpg', '/home/pi/Desktop/images/29112025/04/11/image_29112025_04_11_14_9604.jpg', '/home/pi/Desktop/images/29112025/04/11/image_29112025_04_11_24_9750.jpg', '/home/pi/Desktop/images/29112025/04/11/image_29112025_04_11_35_10756.jpg', '/home/pi/Desktop/images/29112025/04/11/image_29112025_04_11_44_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/10/image_29112025_04_10_54_9611.jpg
/home/pi/Desktop/images/29112025/04/10/image_29112025_04_11_04_10718.jpg
/home/pi/Desktop/images/29112025/04/11/image_29112025_04_11_14_9604.jpg
/home/pi/Desktop/images/29112025/04/11/image_29112025_04_11_24_9750.jpg
/home/pi/Desktop/images/29112025/04/11/image_29112025_04_11_35_10756.jpg
/home/pi/Desktop/images/29112025/04/11/image_29112025_04_11_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396816480","1396816245","1396816353","1396816128","1396816011","1396816585"],"photo_ids_order":["1396816011","1396816128","1396816245","1396816353","1396816480","1396816585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4919c8158506f511da1934d08d97bbab.jpg","text":"TemporaryFile(/tmp/multipartBody3560712948410789868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386003051,"filename":"image_29112025_04_11_35_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3355bd238f1bddc089c0954e6832e7af.jpg","text":"TemporaryFile(/tmp/multipartBody3957936681284497222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386003051,"filename":"image_29112025_04_11_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/11/29/4b4b6952ae5413010ac1e9cf6f708073.jpg","text":"TemporaryFile(/tmp/multipartBody4071190537848498544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386003051,"filename":"image_29112025_04_11_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/11/29/f7beb4af50383de31c478f8f14ad8b52.jpg","text":"TemporaryFile(/tmp/multipartBody8793325616571240978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386003051,"filename":"image_29112025_04_11_04_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab3fbe13040a5e0ff5df2cf381366a27.jpg","text":"TemporaryFile(/tmp/multipartBody130732596993196375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386003051,"filename":"image_29112025_04_10_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/137ccd74fb0dbf6353d9c05af67eda12.jpg","text":"TemporaryFile(/tmp/multipartBody6442786919975215167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386003051,"filename":"image_29112025_04_11_44_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396816245","file1":"1396816128","file0":"1396816011","file4":"1396816480","file5":"1396816585","file3":"1396816353"},"map_files_photo_id_array":[{"photo_id":"1396816585","filename":"file5"},{"photo_id":"1396816245","filename":"file2"},{"photo_id":"1396816480","filename":"file4"},{"photo_id":"1396816128","filename":"file1"},{"photo_id":"1396816011","filename":"file0"},{"photo_id":"1396816353","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396816480":["hashtag1","hashtag2"]},{"1396816245":["hashtag1","hashtag2"]},{"1396816353":["hashtag1","hashtag2"]},{"1396816128":["hashtag1","hashtag2"]},{"1396816011":["hashtag1","hashtag2"]},{"1396816585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396816480, 1396816245, 1396816353, 1396816128, 1396816011, 1396816585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49881148338318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:13:03.137117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
 val : 1 : upload photos already in processing! 
2025-11-29 04:13:13.659443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_38_3436.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_41_2694.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_43_2791.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_46_2852.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_50_3701.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_52_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_38_3436.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_41_2694.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_43_2791.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_46_2852.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_50_3701.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_52_2550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396817503","1396817511","1396817508","1396817351","1396817243","1396817461"],"photo_ids_order":["1396817243","1396817351","1396817461","1396817503","1396817508","1396817511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/793d4606cd69996f768d0908a525fcf9.jpg","text":"TemporaryFile(/tmp/multipartBody6434642249026078507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386064424,"filename":"image_25112025_17_42_46_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69c0e03acb95c1c68166448a67128b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2917002843635991477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386064424,"filename":"image_25112025_17_42_52_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2e7d97ce69d57a37021abb1cf20c23b.jpg","text":"TemporaryFile(/tmp/multipartBody6923510881239481312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386064424,"filename":"image_25112025_17_42_50_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6034a31b3082e70704472fb032cb2b7.jpg","text":"TemporaryFile(/tmp/multipartBody5047991291577397652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386064424,"filename":"image_25112025_17_42_41_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d05d22d325e45c205f0a700df0777ca5.jpg","text":"TemporaryFile(/tmp/multipartBody8354557291806578360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386064424,"filename":"image_25112025_17_42_38_3436.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de736f854ac550718ca8ff2c2803be00.jpg","text":"TemporaryFile(/tmp/multipartBody3125854506520800603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386064424,"filename":"image_25112025_17_42_43_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396817461","file1":"1396817351","file0":"1396817243","file4":"1396817508","file5":"1396817511","file3":"1396817503"},"map_files_photo_id_array":[{"photo_id":"1396817511","filename":"file5"},{"photo_id":"1396817461","filename":"file2"},{"photo_id":"1396817508","filename":"file4"},{"photo_id":"1396817351","filename":"file1"},{"photo_id":"1396817243","filename":"file0"},{"photo_id":"1396817503","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396817503":["hashtag1","hashtag2"]},{"1396817511":["hashtag1","hashtag2"]},{"1396817508":["hashtag1","hashtag2"]},{"1396817351":["hashtag1","hashtag2"]},{"1396817243":["hashtag1","hashtag2"]},{"1396817461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396817503, 1396817511, 1396817508, 1396817351, 1396817243, 1396817461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.71511769294739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:14:03.439505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/11/image_29112025_04_11_54_9702.jpg', '/home/pi/Desktop/images/29112025/04/11/image_29112025_04_12_05_10670.jpg', '/home/pi/Desktop/images/29112025/04/12/image_29112025_04_12_34_9710.jpg', '/home/pi/Desktop/images/29112025/04/12/image_29112025_04_12_45_10751.jpg', '/home/pi/Desktop/images/29112025/04/12/image_29112025_04_12_54_9637.jpg', '/home/pi/Desktop/images/29112025/04/12/image_29112025_04_13_04_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/11/image_29112025_04_11_54_9702.jpg
/home/pi/Desktop/images/29112025/04/11/image_29112025_04_12_05_10670.jpg
/home/pi/Desktop/images/29112025/04/12/image_29112025_04_12_34_9710.jpg
/home/pi/Desktop/images/29112025/04/12/image_29112025_04_12_45_10751.jpg
/home/pi/Desktop/images/29112025/04/12/image_29112025_04_12_54_9637.jpg
/home/pi/Desktop/images/29112025/04/12/image_29112025_04_13_04_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":["1396817610","1396817576","1396817606","1396817677","1396817641","1396817716"],"photo_ids_order":["1396817576","1396817606","1396817610","1396817641","1396817677","1396817716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/094597d10e6d3a01db014e0919dab9f2.jpg","text":"TemporaryFile(/tmp/multipartBody8834702866399856010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386104401,"filename":"image_29112025_04_12_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/11/29/3a31aa17609d9e8429b8f884c332d867.jpg","text":"TemporaryFile(/tmp/multipartBody6927721680451706212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386104401,"filename":"image_29112025_04_11_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/11/29/884affa06ea22c8b106757e5d7c7ccd2.jpg","text":"TemporaryFile(/tmp/multipartBody8295559246325804362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386104401,"filename":"image_29112025_04_12_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5b61b9e5f5ea31141aee0e778d5adb0.jpg","text":"TemporaryFile(/tmp/multipartBody2790783359583046722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386104401,"filename":"image_29112025_04_12_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/11/29/0ea44d327c556089cfe4fb4aa1f45158.jpg","text":"TemporaryFile(/tmp/multipartBody120945593195259029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386104401,"filename":"image_29112025_04_12_45_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a050757839aaa504a361bc3c2e898fd4.jpg","text":"TemporaryFile(/tmp/multipartBody2917439524680730590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386104401,"filename":"image_29112025_04_13_04_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396817610","file1":"1396817606","file0":"1396817576","file4":"1396817677","file5":"1396817716","file3":"1396817641"},"map_files_photo_id_array":[{"photo_id":"1396817716","filename":"file5"},{"photo_id":"1396817610","filename":"file2"},{"photo_id":"1396817677","filename":"file4"},{"photo_id":"1396817606","filename":"file1"},{"photo_id":"1396817576","filename":"file0"},{"photo_id":"1396817641","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396817610":["hashtag1","hashtag2"]},{"1396817576":["hashtag1","hashtag2"]},{"1396817606":["hashtag1","hashtag2"]},{"1396817677":["hashtag1","hashtag2"]},{"1396817641":["hashtag1","hashtag2"]},{"1396817716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396817610, 1396817576, 1396817606, 1396817677, 1396817641, 1396817716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04339075088501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:14:42.653472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_32_2810.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_34_2578.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_37_2801.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_41_3776.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_44_2693.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_46_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/08/35/image_31102025_08_35_32_2810.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_34_2578.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_37_2801.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_41_3776.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_44_2693.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_46_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":["1396818182","1396818000","1396817949","1396818152","1396818080","1396818037"],"photo_ids_order":["1396817949","1396818000","1396818037","1396818080","1396818152","1396818182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf056a6bcf2033812334ba67f6bccba5.jpg","text":"TemporaryFile(/tmp/multipartBody3602736731673881374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386143663,"filename":"image_31102025_08_35_46_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a747b457c4be93a807567f6e78d7fa58.jpg","text":"TemporaryFile(/tmp/multipartBody5204515396586754118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386143663,"filename":"image_31102025_08_35_34_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/742f5a0725e422d97dccba7e15420792.jpg","text":"TemporaryFile(/tmp/multipartBody1851281047852872058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386143663,"filename":"image_31102025_08_35_32_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5eced14eafa2c48af3270f37fefb2033.jpg","text":"TemporaryFile(/tmp/multipartBody8704734539600301170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386143663,"filename":"image_31102025_08_35_44_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/399477a315f27bc393c92bab5c4741ec.jpg","text":"TemporaryFile(/tmp/multipartBody6523529288115451074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386143663,"filename":"image_31102025_08_35_41_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0c328fa29fbc1aaac21c262c10ea9db.jpg","text":"TemporaryFile(/tmp/multipartBody1787416130310313873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386143663,"filename":"image_31102025_08_35_37_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818037","file1":"1396818000","file0":"1396817949","file4":"1396818152","file5":"1396818182","file3":"1396818080"},"map_files_photo_id_array":[{"photo_id":"1396818182","filename":"file5"},{"photo_id":"1396818037","filename":"file2"},{"photo_id":"1396818152","filename":"file4"},{"photo_id":"1396818000","filename":"file1"},{"photo_id":"1396817949","filename":"file0"},{"photo_id":"1396818080","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396818182":["hashtag1","hashtag2"]},{"1396818000":["hashtag1","hashtag2"]},{"1396817949":["hashtag1","hashtag2"]},{"1396818152":["hashtag1","hashtag2"]},{"1396818080":["hashtag1","hashtag2"]},{"1396818037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396818182, 1396818000, 1396817949, 1396818152, 1396818080, 1396818037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84002375602722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:15:21.870787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/13/image_29112025_04_13_14_9651.jpg', '/home/pi/Desktop/images/29112025/04/13/image_29112025_04_13_24_10737.jpg', '/home/pi/Desktop/images/29112025/04/13/image_29112025_04_13_34_9706.jpg', '/home/pi/Desktop/images/29112025/04/13/image_29112025_04_13_44_9758.jpg', '/home/pi/Desktop/images/29112025/04/13/image_29112025_04_13_55_10571.jpg', '/home/pi/Desktop/images/29112025/04/13/image_29112025_04_14_04_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/13/image_29112025_04_13_14_9651.jpg
/home/pi/Desktop/images/29112025/04/13/image_29112025_04_13_24_10737.jpg
/home/pi/Desktop/images/29112025/04/13/image_29112025_04_13_34_9706.jpg
/home/pi/Desktop/images/29112025/04/13/image_29112025_04_13_44_9758.jpg
/home/pi/Desktop/images/29112025/04/13/image_29112025_04_13_55_10571.jpg
/home/pi/Desktop/images/29112025/04/13/image_29112025_04_14_04_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":["1396818348","1396818282","1396818330","1396818314","1396818346","1396818279"],"photo_ids_order":["1396818279","1396818282","1396818314","1396818330","1396818346","1396818348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11b23d47a99ba6d9d758b4053f7fef39.jpg","text":"TemporaryFile(/tmp/multipartBody6486043997785975844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386183831,"filename":"image_29112025_04_14_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/11/29/aa3b87453b52dd9ea5c6dc7251302bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5541386838056291484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386183831,"filename":"image_29112025_04_13_24_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83978d8cea9d7492731fa9ac8c48ce1c.jpg","text":"TemporaryFile(/tmp/multipartBody578267465726875244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386183831,"filename":"image_29112025_04_13_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/11/29/b33195cb9fdb223e942fe77faa25592e.jpg","text":"TemporaryFile(/tmp/multipartBody1770606167820045471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386183831,"filename":"image_29112025_04_13_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/11/29/7b3cbdd3506e94721f38f747c78238b2.jpg","text":"TemporaryFile(/tmp/multipartBody3785108015233739431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386183831,"filename":"image_29112025_04_13_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/428f3ceb20e24cb96fb1e408078375df.jpg","text":"TemporaryFile(/tmp/multipartBody9031470781339945405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386183831,"filename":"image_29112025_04_13_14_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818314","file1":"1396818282","file0":"1396818279","file4":"1396818346","file5":"1396818348","file3":"1396818330"},"map_files_photo_id_array":[{"photo_id":"1396818348","filename":"file5"},{"photo_id":"1396818314","filename":"file2"},{"photo_id":"1396818346","filename":"file4"},{"photo_id":"1396818282","filename":"file1"},{"photo_id":"1396818279","filename":"file0"},{"photo_id":"1396818330","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818348":["hashtag1","hashtag2"]},{"1396818282":["hashtag1","hashtag2"]},{"1396818330":["hashtag1","hashtag2"]},{"1396818314":["hashtag1","hashtag2"]},{"1396818346":["hashtag1","hashtag2"]},{"1396818279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818348, 1396818282, 1396818330, 1396818314, 1396818346, 1396818279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.871490240097046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:16:02.592525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/14/image_29112025_04_14_14_10066.jpg', '/home/pi/Desktop/images/29112025/04/14/image_29112025_04_14_24_10209.jpg', '/home/pi/Desktop/images/29112025/04/14/image_29112025_04_14_34_9887.jpg', '/home/pi/Desktop/images/29112025/04/14/image_29112025_04_14_44_10051.jpg', '/home/pi/Desktop/images/29112025/04/14/image_29112025_04_15_05_10691.jpg', '/home/pi/Desktop/images/29112025/04/15/image_29112025_04_15_24_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/14/image_29112025_04_14_14_10066.jpg
/home/pi/Desktop/images/29112025/04/14/image_29112025_04_14_24_10209.jpg
/home/pi/Desktop/images/29112025/04/14/image_29112025_04_14_34_9887.jpg
/home/pi/Desktop/images/29112025/04/14/image_29112025_04_14_44_10051.jpg
/home/pi/Desktop/images/29112025/04/14/image_29112025_04_15_05_10691.jpg
/home/pi/Desktop/images/29112025/04/15/image_29112025_04_15_24_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818357","1396818356","1396818359","1396818353","1396818361","1396818355"],"photo_ids_order":["1396818353","1396818355","1396818356","1396818357","1396818359","1396818361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3e67684efa330db08ad0a32a9556d96.jpg","text":"TemporaryFile(/tmp/multipartBody320677681385149470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386223330,"filename":"image_29112025_04_14_44_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c48975526b19031dbabdff2288cda98e.jpg","text":"TemporaryFile(/tmp/multipartBody9210734554371596613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386223330,"filename":"image_29112025_04_14_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/11/29/c47db0f53151d157f67fbe743ef7d5a1.jpg","text":"TemporaryFile(/tmp/multipartBody5643725317255334883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386223330,"filename":"image_29112025_04_15_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/11/29/5fdcdba6802022f656c39fbe4e6a4eb7.jpg","text":"TemporaryFile(/tmp/multipartBody6437213407054262997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386223330,"filename":"image_29112025_04_14_14_10066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b78ea56c5fbb0941c8daeaf84d0be9fb.jpg","text":"TemporaryFile(/tmp/multipartBody9055594094732161845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386223330,"filename":"image_29112025_04_15_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/11/29/3f6646c02865c2b5da03b285dbf41398.jpg","text":"TemporaryFile(/tmp/multipartBody2278753330110302812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386223330,"filename":"image_29112025_04_14_24_10209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818356","file1":"1396818355","file0":"1396818353","file4":"1396818359","file5":"1396818361","file3":"1396818357"},"map_files_photo_id_array":[{"photo_id":"1396818361","filename":"file5"},{"photo_id":"1396818356","filename":"file2"},{"photo_id":"1396818359","filename":"file4"},{"photo_id":"1396818355","filename":"file1"},{"photo_id":"1396818353","filename":"file0"},{"photo_id":"1396818357","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818357":["hashtag1","hashtag2"]},{"1396818356":["hashtag1","hashtag2"]},{"1396818359":["hashtag1","hashtag2"]},{"1396818353":["hashtag1","hashtag2"]},{"1396818361":["hashtag1","hashtag2"]},{"1396818355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818357, 1396818356, 1396818359, 1396818353, 1396818361, 1396818355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35833954811096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:16:42.072961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_50_3915.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_53_2707.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_55_2534.jpg', '/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_59_3644.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_02_2726.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_04_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/08/35/image_31102025_08_35_50_3915.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_53_2707.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_55_2534.jpg
/home/pi/Desktop/images/31102025/08/35/image_31102025_08_35_59_3644.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_02_2726.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_04_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":["1396818375","1396818377","1396818371","1396818368","1396818379","1396818381"],"photo_ids_order":["1396818368","1396818371","1396818375","1396818377","1396818379","1396818381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30c510bee745abc7eb403223db37ffd4.jpg","text":"TemporaryFile(/tmp/multipartBody6186347652211594635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386263174,"filename":"image_31102025_08_35_55_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6b487ce322f079ad1f01ee9b89061ca.jpg","text":"TemporaryFile(/tmp/multipartBody7651305526432278329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386263174,"filename":"image_31102025_08_35_59_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f842c666d8e55cfd7cf3f93a9e92fca.jpg","text":"TemporaryFile(/tmp/multipartBody664010500633478658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386263174,"filename":"image_31102025_08_35_53_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ef6c075049f609cf1b4d888e155a99f.jpg","text":"TemporaryFile(/tmp/multipartBody8925868953421271116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386263174,"filename":"image_31102025_08_35_50_3915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c76317e296bdb2292593d15ded919cdc.jpg","text":"TemporaryFile(/tmp/multipartBody1591889141216180898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386263174,"filename":"image_31102025_08_36_02_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d067dedeee6e7be515247dd83d975da.jpg","text":"TemporaryFile(/tmp/multipartBody7964785600309161710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386263174,"filename":"image_31102025_08_36_04_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818375","file1":"1396818371","file0":"1396818368","file4":"1396818379","file5":"1396818381","file3":"1396818377"},"map_files_photo_id_array":[{"photo_id":"1396818381","filename":"file5"},{"photo_id":"1396818375","filename":"file2"},{"photo_id":"1396818379","filename":"file4"},{"photo_id":"1396818371","filename":"file1"},{"photo_id":"1396818368","filename":"file0"},{"photo_id":"1396818377","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396818375":["hashtag1","hashtag2"]},{"1396818377":["hashtag1","hashtag2"]},{"1396818371":["hashtag1","hashtag2"]},{"1396818368":["hashtag1","hashtag2"]},{"1396818379":["hashtag1","hashtag2"]},{"1396818381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396818375, 1396818377, 1396818371, 1396818368, 1396818379, 1396818381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67683482170105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:17:22.334444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/15/image_29112025_04_15_34_9660.jpg', '/home/pi/Desktop/images/29112025/04/15/image_29112025_04_15_44_10704.jpg', '/home/pi/Desktop/images/29112025/04/15/image_29112025_04_15_54_9692.jpg', '/home/pi/Desktop/images/29112025/04/15/image_29112025_04_16_04_9934.jpg', '/home/pi/Desktop/images/29112025/04/16/image_29112025_04_16_24_10588.jpg', '/home/pi/Desktop/images/29112025/04/16/image_29112025_04_16_34_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/15/image_29112025_04_15_34_9660.jpg
/home/pi/Desktop/images/29112025/04/15/image_29112025_04_15_44_10704.jpg
/home/pi/Desktop/images/29112025/04/15/image_29112025_04_15_54_9692.jpg
/home/pi/Desktop/images/29112025/04/15/image_29112025_04_16_04_9934.jpg
/home/pi/Desktop/images/29112025/04/16/image_29112025_04_16_24_10588.jpg
/home/pi/Desktop/images/29112025/04/16/image_29112025_04_16_34_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":["1396818389","1396818398","1396818391","1396818385","1396818384","1396818387"],"photo_ids_order":["1396818384","1396818385","1396818387","1396818389","1396818391","1396818398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cff08161c1fc4971f85a6c85d5278caa.jpg","text":"TemporaryFile(/tmp/multipartBody5643988292396793517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386303046,"filename":"image_29112025_04_16_04_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a16963c69fccacd82f231694a16657b5.jpg","text":"TemporaryFile(/tmp/multipartBody6447571293877394185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386303046,"filename":"image_29112025_04_16_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13b6c467469e11f7bc9fed6b6b455d8f.jpg","text":"TemporaryFile(/tmp/multipartBody1581674432437128832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386303046,"filename":"image_29112025_04_16_24_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80c6ce218cca2e5294f8bde9ab299a0c.jpg","text":"TemporaryFile(/tmp/multipartBody7649789048472132955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386303046,"filename":"image_29112025_04_15_44_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1422182aa83f995a87a347be378492f8.jpg","text":"TemporaryFile(/tmp/multipartBody1585335427624694954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386303046,"filename":"image_29112025_04_15_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e5b5a9a49f44c855f94918a8805e9dc.jpg","text":"TemporaryFile(/tmp/multipartBody113839610776892104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386303046,"filename":"image_29112025_04_15_54_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818387","file1":"1396818385","file0":"1396818384","file4":"1396818391","file5":"1396818398","file3":"1396818389"},"map_files_photo_id_array":[{"photo_id":"1396818398","filename":"file5"},{"photo_id":"1396818387","filename":"file2"},{"photo_id":"1396818391","filename":"file4"},{"photo_id":"1396818385","filename":"file1"},{"photo_id":"1396818384","filename":"file0"},{"photo_id":"1396818389","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818389":["hashtag1","hashtag2"]},{"1396818398":["hashtag1","hashtag2"]},{"1396818391":["hashtag1","hashtag2"]},{"1396818385":["hashtag1","hashtag2"]},{"1396818384":["hashtag1","hashtag2"]},{"1396818387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818389, 1396818398, 1396818391, 1396818385, 1396818384, 1396818387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.261298179626465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:18:03.072355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/16/image_29112025_04_16_44_9743.jpg', '/home/pi/Desktop/images/29112025/04/16/image_29112025_04_16_55_10774.jpg', '/home/pi/Desktop/images/29112025/04/16/image_29112025_04_17_04_9758.jpg', '/home/pi/Desktop/images/29112025/04/17/image_29112025_04_17_14_9703.jpg', '/home/pi/Desktop/images/29112025/04/17/image_29112025_04_17_24_9812.jpg', '/home/pi/Desktop/images/29112025/04/17/image_29112025_04_17_35_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/16/image_29112025_04_16_44_9743.jpg
/home/pi/Desktop/images/29112025/04/16/image_29112025_04_16_55_10774.jpg
/home/pi/Desktop/images/29112025/04/16/image_29112025_04_17_04_9758.jpg
/home/pi/Desktop/images/29112025/04/17/image_29112025_04_17_14_9703.jpg
/home/pi/Desktop/images/29112025/04/17/image_29112025_04_17_24_9812.jpg
/home/pi/Desktop/images/29112025/04/17/image_29112025_04_17_35_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":["1396818408","1396818411","1396818410","1396818413","1396818416","1396818409"],"photo_ids_order":["1396818408","1396818409","1396818410","1396818411","1396818413","1396818416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36f1f230f4ed6df1dd0f40b7ddb3def6.jpg","text":"TemporaryFile(/tmp/multipartBody2481990461575395690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386343844,"filename":"image_29112025_04_16_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/11/29/9826386958d78c38883a15416bae8e06.jpg","text":"TemporaryFile(/tmp/multipartBody4747085248240542421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386343844,"filename":"image_29112025_04_17_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/11/29/fcca515f81ae6e6d508a4486a0146f21.jpg","text":"TemporaryFile(/tmp/multipartBody8077116087346651454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386343844,"filename":"image_29112025_04_17_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/11/29/79c7097cd68259d74a75bf04ce925637.jpg","text":"TemporaryFile(/tmp/multipartBody4609711449382914016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386343844,"filename":"image_29112025_04_17_24_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5032d1743b9a94c5d5aa9cfb10b85df.jpg","text":"TemporaryFile(/tmp/multipartBody3744033075591074287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386343844,"filename":"image_29112025_04_17_35_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1a5675873f4a233f14ea22bbfd0411e.jpg","text":"TemporaryFile(/tmp/multipartBody4672950580671822994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386343844,"filename":"image_29112025_04_16_55_10774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818410","file1":"1396818409","file0":"1396818408","file4":"1396818413","file5":"1396818416","file3":"1396818411"},"map_files_photo_id_array":[{"photo_id":"1396818416","filename":"file5"},{"photo_id":"1396818410","filename":"file2"},{"photo_id":"1396818413","filename":"file4"},{"photo_id":"1396818409","filename":"file1"},{"photo_id":"1396818408","filename":"file0"},{"photo_id":"1396818411","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818408":["hashtag1","hashtag2"]},{"1396818411":["hashtag1","hashtag2"]},{"1396818410":["hashtag1","hashtag2"]},{"1396818413":["hashtag1","hashtag2"]},{"1396818416":["hashtag1","hashtag2"]},{"1396818409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818408, 1396818411, 1396818410, 1396818413, 1396818416, 1396818409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72382712364197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:18:42.470761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_07_2774.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_11_3621.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_14_2815.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_16_2618.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_20_3726.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_22_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_07_2774.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_11_3621.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_14_2815.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_16_2618.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_20_3726.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_22_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818432","1396818426","1396818428","1396818422","1396818421","1396818424"],"photo_ids_order":["1396818421","1396818422","1396818424","1396818426","1396818428","1396818432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0840c72333f16606f74b8a63b0eab39.jpg","text":"TemporaryFile(/tmp/multipartBody4308724436641133460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386383569,"filename":"image_31102025_08_36_22_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e0ce41c55a27cb37930e934085477d9.jpg","text":"TemporaryFile(/tmp/multipartBody4341018121411761638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386383569,"filename":"image_31102025_08_36_16_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d82f4e3055466d3ed274f5a3c494aa8.jpg","text":"TemporaryFile(/tmp/multipartBody2007333033159445423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386383569,"filename":"image_31102025_08_36_20_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea49ca7efe5870a8a47156cf324c4a91.jpg","text":"TemporaryFile(/tmp/multipartBody4263058052369603327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386383569,"filename":"image_31102025_08_36_11_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b450989be67f1685677888ca014c7339.jpg","text":"TemporaryFile(/tmp/multipartBody1867407880292833362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386383569,"filename":"image_31102025_08_36_07_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/806d7534fe950d4cc75367c472f6f503.jpg","text":"TemporaryFile(/tmp/multipartBody1980604957440975525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386383569,"filename":"image_31102025_08_36_14_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818424","file1":"1396818422","file0":"1396818421","file4":"1396818428","file5":"1396818432","file3":"1396818426"},"map_files_photo_id_array":[{"photo_id":"1396818432","filename":"file5"},{"photo_id":"1396818424","filename":"file2"},{"photo_id":"1396818428","filename":"file4"},{"photo_id":"1396818422","filename":"file1"},{"photo_id":"1396818421","filename":"file0"},{"photo_id":"1396818426","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396818432":["hashtag1","hashtag2"]},{"1396818426":["hashtag1","hashtag2"]},{"1396818428":["hashtag1","hashtag2"]},{"1396818422":["hashtag1","hashtag2"]},{"1396818421":["hashtag1","hashtag2"]},{"1396818424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396818432, 1396818426, 1396818428, 1396818422, 1396818421, 1396818424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2524049282074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:19:22.704157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/17/image_29112025_04_17_54_9743.jpg', '/home/pi/Desktop/images/29112025/04/17/image_29112025_04_18_05_10742.jpg', '/home/pi/Desktop/images/29112025/04/18/image_29112025_04_18_14_9725.jpg', '/home/pi/Desktop/images/29112025/04/18/image_29112025_04_18_24_9753.jpg', '/home/pi/Desktop/images/29112025/04/18/image_29112025_04_18_34_9814.jpg', '/home/pi/Desktop/images/29112025/04/18/image_29112025_04_18_45_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/17/image_29112025_04_17_54_9743.jpg
/home/pi/Desktop/images/29112025/04/17/image_29112025_04_18_05_10742.jpg
/home/pi/Desktop/images/29112025/04/18/image_29112025_04_18_14_9725.jpg
/home/pi/Desktop/images/29112025/04/18/image_29112025_04_18_24_9753.jpg
/home/pi/Desktop/images/29112025/04/18/image_29112025_04_18_34_9814.jpg
/home/pi/Desktop/images/29112025/04/18/image_29112025_04_18_45_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818453","1396818447","1396818449","1396818440","1396818451","1396818444"],"photo_ids_order":["1396818440","1396818444","1396818447","1396818449","1396818451","1396818453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8170b8a7dd9adabc5d7e97c4c90579fc.jpg","text":"TemporaryFile(/tmp/multipartBody2613039142285473478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386423474,"filename":"image_29112025_04_18_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/11/29/a58e4f0df838f50f85f6c164d1d8dcaf.jpg","text":"TemporaryFile(/tmp/multipartBody3317949301202036438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386423474,"filename":"image_29112025_04_18_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/11/29/a95a0f4d0183ff88e75d2d6e0b037c1d.jpg","text":"TemporaryFile(/tmp/multipartBody1224407363972648167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386423474,"filename":"image_29112025_04_18_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/11/29/16ce14af110891d272b6fba00382af2c.jpg","text":"TemporaryFile(/tmp/multipartBody6582122038208343299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386423474,"filename":"image_29112025_04_17_54_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/195ccac6fffd7e3996c9031b7fdeb81d.jpg","text":"TemporaryFile(/tmp/multipartBody8986194809044074417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386423474,"filename":"image_29112025_04_18_34_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32c3c35b98fe46d8ebb44af1450c3254.jpg","text":"TemporaryFile(/tmp/multipartBody7690760107504492110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386423474,"filename":"image_29112025_04_18_05_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818447","file1":"1396818444","file0":"1396818440","file4":"1396818451","file5":"1396818453","file3":"1396818449"},"map_files_photo_id_array":[{"photo_id":"1396818453","filename":"file5"},{"photo_id":"1396818447","filename":"file2"},{"photo_id":"1396818451","filename":"file4"},{"photo_id":"1396818444","filename":"file1"},{"photo_id":"1396818440","filename":"file0"},{"photo_id":"1396818449","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818453":["hashtag1","hashtag2"]},{"1396818447":["hashtag1","hashtag2"]},{"1396818449":["hashtag1","hashtag2"]},{"1396818440":["hashtag1","hashtag2"]},{"1396818451":["hashtag1","hashtag2"]},{"1396818444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818453, 1396818447, 1396818449, 1396818440, 1396818451, 1396818444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63209128379822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:20:03.263899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/18/image_29112025_04_18_54_9669.jpg', '/home/pi/Desktop/images/29112025/04/18/image_29112025_04_19_04_9609.jpg', '/home/pi/Desktop/images/29112025/04/19/image_29112025_04_19_15_10709.jpg', '/home/pi/Desktop/images/29112025/04/19/image_29112025_04_19_24_9662.jpg', '/home/pi/Desktop/images/29112025/04/19/image_29112025_04_19_34_9610.jpg', '/home/pi/Desktop/images/29112025/04/19/image_29112025_04_19_45_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/18/image_29112025_04_18_54_9669.jpg
/home/pi/Desktop/images/29112025/04/18/image_29112025_04_19_04_9609.jpg
/home/pi/Desktop/images/29112025/04/19/image_29112025_04_19_15_10709.jpg
/home/pi/Desktop/images/29112025/04/19/image_29112025_04_19_24_9662.jpg
/home/pi/Desktop/images/29112025/04/19/image_29112025_04_19_34_9610.jpg
/home/pi/Desktop/images/29112025/04/19/image_29112025_04_19_45_10768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818468","1396818461","1396818460","1396818463","1396818462","1396818465"],"photo_ids_order":["1396818460","1396818461","1396818462","1396818463","1396818465","1396818468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc771f822327c7d369ed56f6f714b673.jpg","text":"TemporaryFile(/tmp/multipartBody3938947840057116029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386464028,"filename":"image_29112025_04_19_45_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d030dc4e938629d5e3da34d28123ea56.jpg","text":"TemporaryFile(/tmp/multipartBody7801446706688129354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386464028,"filename":"image_29112025_04_19_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/11/29/ff49079f9c13e9d95a78674e65fc3395.jpg","text":"TemporaryFile(/tmp/multipartBody142713503567572266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386464028,"filename":"image_29112025_04_18_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/11/29/8266161598c8a11e0817d4c504e73b50.jpg","text":"TemporaryFile(/tmp/multipartBody3793608371167793019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386464028,"filename":"image_29112025_04_19_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a3cb1911dd97dba27b6264b1ed79600.jpg","text":"TemporaryFile(/tmp/multipartBody8113106416853777476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386464028,"filename":"image_29112025_04_19_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcecd23a15c29f042ab9f5d475bc3765.jpg","text":"TemporaryFile(/tmp/multipartBody464057282111303999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386464028,"filename":"image_29112025_04_19_34_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818462","file1":"1396818461","file0":"1396818460","file4":"1396818465","file5":"1396818468","file3":"1396818463"},"map_files_photo_id_array":[{"photo_id":"1396818468","filename":"file5"},{"photo_id":"1396818462","filename":"file2"},{"photo_id":"1396818465","filename":"file4"},{"photo_id":"1396818461","filename":"file1"},{"photo_id":"1396818460","filename":"file0"},{"photo_id":"1396818463","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818468":["hashtag1","hashtag2"]},{"1396818461":["hashtag1","hashtag2"]},{"1396818460":["hashtag1","hashtag2"]},{"1396818463":["hashtag1","hashtag2"]},{"1396818462":["hashtag1","hashtag2"]},{"1396818465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818468, 1396818461, 1396818460, 1396818463, 1396818462, 1396818465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13019847869873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:20:42.800413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_25_2670.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_29_3704.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_32_2712.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_34_2594.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_38_3708.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_40_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_25_2670.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_29_3704.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_32_2712.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_34_2594.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_38_3708.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_40_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818474","1396818485","1396818487","1396818481","1396818489","1396818483"],"photo_ids_order":["1396818474","1396818481","1396818483","1396818485","1396818487","1396818489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d570f26d7859b625a0cc5d1335a6eda.jpg","text":"TemporaryFile(/tmp/multipartBody8725104955802525770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386503884,"filename":"image_31102025_08_36_25_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c298f84dbbf25f06d9c81cc415a0609.jpg","text":"TemporaryFile(/tmp/multipartBody4625906499300267931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386503884,"filename":"image_31102025_08_36_34_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9df05c60e7c1a5f2c1ce5add9954e1b.jpg","text":"TemporaryFile(/tmp/multipartBody9059960038169967506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386503884,"filename":"image_31102025_08_36_38_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5af46f47f43213e10bc41f31152ef2a.jpg","text":"TemporaryFile(/tmp/multipartBody1555271685446316443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386503884,"filename":"image_31102025_08_36_29_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c403a6fffc0673189553aa75e28ce696.jpg","text":"TemporaryFile(/tmp/multipartBody8232275871863016489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386503884,"filename":"image_31102025_08_36_40_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90dae202d67a80490f1ab0867e96624d.jpg","text":"TemporaryFile(/tmp/multipartBody1976380289028148341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386503884,"filename":"image_31102025_08_36_32_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818483","file1":"1396818481","file0":"1396818474","file4":"1396818487","file5":"1396818489","file3":"1396818485"},"map_files_photo_id_array":[{"photo_id":"1396818489","filename":"file5"},{"photo_id":"1396818483","filename":"file2"},{"photo_id":"1396818487","filename":"file4"},{"photo_id":"1396818481","filename":"file1"},{"photo_id":"1396818474","filename":"file0"},{"photo_id":"1396818485","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396818474":["hashtag1","hashtag2"]},{"1396818485":["hashtag1","hashtag2"]},{"1396818487":["hashtag1","hashtag2"]},{"1396818481":["hashtag1","hashtag2"]},{"1396818489":["hashtag1","hashtag2"]},{"1396818483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396818474, 1396818485, 1396818487, 1396818481, 1396818489, 1396818483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21606469154358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:21:21.946554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/19/image_29112025_04_19_54_9711.jpg', '/home/pi/Desktop/images/29112025/04/19/image_29112025_04_20_04_9710.jpg', '/home/pi/Desktop/images/29112025/04/20/image_29112025_04_20_14_9891.jpg', '/home/pi/Desktop/images/29112025/04/20/image_29112025_04_20_24_9832.jpg', '/home/pi/Desktop/images/29112025/04/20/image_29112025_04_20_35_10729.jpg', '/home/pi/Desktop/images/29112025/04/20/image_29112025_04_20_44_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/19/image_29112025_04_19_54_9711.jpg
/home/pi/Desktop/images/29112025/04/19/image_29112025_04_20_04_9710.jpg
/home/pi/Desktop/images/29112025/04/20/image_29112025_04_20_14_9891.jpg
/home/pi/Desktop/images/29112025/04/20/image_29112025_04_20_24_9832.jpg
/home/pi/Desktop/images/29112025/04/20/image_29112025_04_20_35_10729.jpg
/home/pi/Desktop/images/29112025/04/20/image_29112025_04_20_44_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":["1396818501","1396818506","1396818496","1396818499","1396818503","1396818493"],"photo_ids_order":["1396818493","1396818496","1396818499","1396818501","1396818503","1396818506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ce9107e4a43b935f66ebeacf94e72aa.jpg","text":"TemporaryFile(/tmp/multipartBody7075075829626455302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386542670,"filename":"image_29112025_04_20_24_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/167127c5e99abe4897a820b36eb83713.jpg","text":"TemporaryFile(/tmp/multipartBody3317912045894783613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386542670,"filename":"image_29112025_04_20_44_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01d52d510e516986cdfece91de8e0571.jpg","text":"TemporaryFile(/tmp/multipartBody7506427179756199496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386542670,"filename":"image_29112025_04_20_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/11/29/d4c5be3907dba5fa54bcfb798e410648.jpg","text":"TemporaryFile(/tmp/multipartBody5357599974506043860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386542670,"filename":"image_29112025_04_20_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/11/29/c7273308f7e1c841841702849df1e43f.jpg","text":"TemporaryFile(/tmp/multipartBody4659905075564882627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386542670,"filename":"image_29112025_04_20_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/11/29/a1de0f86ddf3efe8eb061e429edb2b4e.jpg","text":"TemporaryFile(/tmp/multipartBody8302689471958186015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386542670,"filename":"image_29112025_04_19_54_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818499","file1":"1396818496","file0":"1396818493","file4":"1396818503","file5":"1396818506","file3":"1396818501"},"map_files_photo_id_array":[{"photo_id":"1396818506","filename":"file5"},{"photo_id":"1396818499","filename":"file2"},{"photo_id":"1396818503","filename":"file4"},{"photo_id":"1396818496","filename":"file1"},{"photo_id":"1396818493","filename":"file0"},{"photo_id":"1396818501","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818501":["hashtag1","hashtag2"]},{"1396818506":["hashtag1","hashtag2"]},{"1396818496":["hashtag1","hashtag2"]},{"1396818499":["hashtag1","hashtag2"]},{"1396818503":["hashtag1","hashtag2"]},{"1396818493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818501, 1396818506, 1396818496, 1396818499, 1396818503, 1396818493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70818305015564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:22:02.569039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/20/image_29112025_04_21_04_10719.jpg', '/home/pi/Desktop/images/29112025/04/21/image_29112025_04_21_14_9644.jpg', '/home/pi/Desktop/images/29112025/04/21/image_29112025_04_21_24_9798.jpg', '/home/pi/Desktop/images/29112025/04/21/image_29112025_04_21_35_10678.jpg', '/home/pi/Desktop/images/29112025/04/21/image_29112025_04_21_44_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/20/image_29112025_04_21_04_10719.jpg
/home/pi/Desktop/images/29112025/04/21/image_29112025_04_21_14_9644.jpg
/home/pi/Desktop/images/29112025/04/21/image_29112025_04_21_24_9798.jpg
/home/pi/Desktop/images/29112025/04/21/image_29112025_04_21_35_10678.jpg
/home/pi/Desktop/images/29112025/04/21/image_29112025_04_21_44_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":["1396818513","1396818512","1396818515","1396818517","1396818514"],"photo_ids_order":["1396818512","1396818513","1396818514","1396818515","1396818517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad5469736582e67c5625a8457aa9eef1.jpg","text":"TemporaryFile(/tmp/multipartBody7123023249206616789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386583292,"filename":"image_29112025_04_21_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/11/29/13ec1677070c9ca00ba39237928761e5.jpg","text":"TemporaryFile(/tmp/multipartBody8170539937220943253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386583292,"filename":"image_29112025_04_21_04_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69b032fb0174daafd367523424e7588a.jpg","text":"TemporaryFile(/tmp/multipartBody8366425579815134529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386583292,"filename":"image_29112025_04_21_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/11/29/9654c0e015837ea57b4cf9f85298f22f.jpg","text":"TemporaryFile(/tmp/multipartBody7880377733402028457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386583292,"filename":"image_29112025_04_21_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/11/29/82b23536ec2d43eb31924a805da0b11c.jpg","text":"TemporaryFile(/tmp/multipartBody1056212164637801582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386583292,"filename":"image_29112025_04_21_24_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818514","file1":"1396818513","file0":"1396818512","file4":"1396818517","file3":"1396818515"},"map_files_photo_id_array":[{"photo_id":"1396818514","filename":"file2"},{"photo_id":"1396818517","filename":"file4"},{"photo_id":"1396818513","filename":"file1"},{"photo_id":"1396818512","filename":"file0"},{"photo_id":"1396818515","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818513":["hashtag1","hashtag2"]},{"1396818512":["hashtag1","hashtag2"]},{"1396818515":["hashtag1","hashtag2"]},{"1396818517":["hashtag1","hashtag2"]},{"1396818514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818513, 1396818512, 1396818515, 1396818517, 1396818514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.332215785980225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:22:42.122548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_43_2739.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_47_3574.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_50_2711.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_52_2640.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_55_2798.jpg', '/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_59_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_43_2739.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_47_3574.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_50_2711.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_52_2640.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_55_2798.jpg
/home/pi/Desktop/images/31102025/08/36/image_31102025_08_36_59_3741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818531","1396818524","1396818533","1396818527","1396818535","1396818529"],"photo_ids_order":["1396818524","1396818527","1396818529","1396818531","1396818533","1396818535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d89390ebddb71da3eede00ad6fc7006.jpg","text":"TemporaryFile(/tmp/multipartBody4077895273953538010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386623161,"filename":"image_31102025_08_36_52_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f551e7815f038e17cb57d9ac1b801ab.jpg","text":"TemporaryFile(/tmp/multipartBody3404249305697887821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386623161,"filename":"image_31102025_08_36_43_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/346e215a206ee44ff7deebc03ba20a6c.jpg","text":"TemporaryFile(/tmp/multipartBody7204520804405748198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386623161,"filename":"image_31102025_08_36_55_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81fef3572ac33772e34d261323537018.jpg","text":"TemporaryFile(/tmp/multipartBody4091764329871371937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386623161,"filename":"image_31102025_08_36_47_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa7bc0a6590494fb8676d85aac26517a.jpg","text":"TemporaryFile(/tmp/multipartBody652694684329630087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386623161,"filename":"image_31102025_08_36_59_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/468a2c0e2f931660b94ebc6a95afb2e3.jpg","text":"TemporaryFile(/tmp/multipartBody5441291287752919227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386623161,"filename":"image_31102025_08_36_50_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818529","file1":"1396818527","file0":"1396818524","file4":"1396818533","file5":"1396818535","file3":"1396818531"},"map_files_photo_id_array":[{"photo_id":"1396818535","filename":"file5"},{"photo_id":"1396818529","filename":"file2"},{"photo_id":"1396818533","filename":"file4"},{"photo_id":"1396818527","filename":"file1"},{"photo_id":"1396818524","filename":"file0"},{"photo_id":"1396818531","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396818531":["hashtag1","hashtag2"]},{"1396818524":["hashtag1","hashtag2"]},{"1396818533":["hashtag1","hashtag2"]},{"1396818527":["hashtag1","hashtag2"]},{"1396818535":["hashtag1","hashtag2"]},{"1396818529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396818531, 1396818524, 1396818533, 1396818527, 1396818535, 1396818529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61863684654236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:23:22.282593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/21/image_29112025_04_21_54_9681.jpg', '/home/pi/Desktop/images/29112025/04/21/image_29112025_04_22_05_10672.jpg', '/home/pi/Desktop/images/29112025/04/22/image_29112025_04_22_14_9695.jpg', '/home/pi/Desktop/images/29112025/04/22/image_29112025_04_22_24_9780.jpg', '/home/pi/Desktop/images/29112025/04/22/image_29112025_04_22_34_9657.jpg', '/home/pi/Desktop/images/29112025/04/22/image_29112025_04_22_54_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/21/image_29112025_04_21_54_9681.jpg
/home/pi/Desktop/images/29112025/04/21/image_29112025_04_22_05_10672.jpg
/home/pi/Desktop/images/29112025/04/22/image_29112025_04_22_14_9695.jpg
/home/pi/Desktop/images/29112025/04/22/image_29112025_04_22_24_9780.jpg
/home/pi/Desktop/images/29112025/04/22/image_29112025_04_22_34_9657.jpg
/home/pi/Desktop/images/29112025/04/22/image_29112025_04_22_54_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":["1396818546","1396818555","1396818542","1396818539","1396818548","1396818544"],"photo_ids_order":["1396818539","1396818542","1396818544","1396818546","1396818548","1396818555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d5af05e08ecf32401b98fe9ff6033d5.jpg","text":"TemporaryFile(/tmp/multipartBody5675942981586357411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386663043,"filename":"image_29112025_04_22_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/11/29/cbd7e185187baba4d099cbede10fc42f.jpg","text":"TemporaryFile(/tmp/multipartBody1044811250926912917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386663043,"filename":"image_29112025_04_22_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5b9dbbd49c9818047dc8dc48b80a37e.jpg","text":"TemporaryFile(/tmp/multipartBody4794612365243135700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386663043,"filename":"image_29112025_04_22_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/11/29/d502074804d574004ff3e40947f46d30.jpg","text":"TemporaryFile(/tmp/multipartBody5160013476304816490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386663043,"filename":"image_29112025_04_21_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6d414b7ebab0d6d12a9ddcc997ad756.jpg","text":"TemporaryFile(/tmp/multipartBody8101561839704298714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386663043,"filename":"image_29112025_04_22_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d0ccc9df52312a0b7fba697909e8f21.jpg","text":"TemporaryFile(/tmp/multipartBody9110237878414025313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386663043,"filename":"image_29112025_04_22_14_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818544","file1":"1396818542","file0":"1396818539","file4":"1396818548","file5":"1396818555","file3":"1396818546"},"map_files_photo_id_array":[{"photo_id":"1396818555","filename":"file5"},{"photo_id":"1396818544","filename":"file2"},{"photo_id":"1396818548","filename":"file4"},{"photo_id":"1396818542","filename":"file1"},{"photo_id":"1396818539","filename":"file0"},{"photo_id":"1396818546","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818546":["hashtag1","hashtag2"]},{"1396818555":["hashtag1","hashtag2"]},{"1396818542":["hashtag1","hashtag2"]},{"1396818539":["hashtag1","hashtag2"]},{"1396818548":["hashtag1","hashtag2"]},{"1396818544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818546, 1396818555, 1396818542, 1396818539, 1396818548, 1396818544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83613157272339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:24:03.341995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/22/image_29112025_04_23_04_9711.jpg', '/home/pi/Desktop/images/29112025/04/23/image_29112025_04_23_14_10608.jpg', '/home/pi/Desktop/images/29112025/04/23/image_29112025_04_23_24_9627.jpg', '/home/pi/Desktop/images/29112025/04/23/image_29112025_04_23_34_9740.jpg', '/home/pi/Desktop/images/29112025/04/23/image_29112025_04_23_44_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/22/image_29112025_04_23_04_9711.jpg
/home/pi/Desktop/images/29112025/04/23/image_29112025_04_23_14_10608.jpg
/home/pi/Desktop/images/29112025/04/23/image_29112025_04_23_24_9627.jpg
/home/pi/Desktop/images/29112025/04/23/image_29112025_04_23_34_9740.jpg
/home/pi/Desktop/images/29112025/04/23/image_29112025_04_23_44_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":["1396818563","1396818566","1396818562","1396818561","1396818564"],"photo_ids_order":["1396818561","1396818562","1396818563","1396818564","1396818566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2595c5fea4d3d7bee9556f0cc50ddc8d.jpg","text":"TemporaryFile(/tmp/multipartBody8533055053421755178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386704138,"filename":"image_29112025_04_23_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/11/29/3d33485e520e13cc42fc23c61f82b5d2.jpg","text":"TemporaryFile(/tmp/multipartBody4979663272305883908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386704138,"filename":"image_29112025_04_23_44_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1fc770a6616c02eafbb13d76319d4f97.jpg","text":"TemporaryFile(/tmp/multipartBody2444253376510833934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386704138,"filename":"image_29112025_04_23_14_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c73f85e9d2462f233f8ae3dded84b1d.jpg","text":"TemporaryFile(/tmp/multipartBody5473604588328176156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386704138,"filename":"image_29112025_04_23_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/11/29/7fe902fe039947f9ab4b8a91ade31a90.jpg","text":"TemporaryFile(/tmp/multipartBody731227076012805289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386704138,"filename":"image_29112025_04_23_34_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818563","file1":"1396818562","file0":"1396818561","file4":"1396818566","file3":"1396818564"},"map_files_photo_id_array":[{"photo_id":"1396818563","filename":"file2"},{"photo_id":"1396818566","filename":"file4"},{"photo_id":"1396818562","filename":"file1"},{"photo_id":"1396818561","filename":"file0"},{"photo_id":"1396818564","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818563":["hashtag1","hashtag2"]},{"1396818566":["hashtag1","hashtag2"]},{"1396818562":["hashtag1","hashtag2"]},{"1396818561":["hashtag1","hashtag2"]},{"1396818564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818563, 1396818566, 1396818562, 1396818561, 1396818564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.734883785247803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:24:42.669007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_01_2633.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_04_2727.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_08_3723.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_10_2691.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_13_2700.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_17_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_01_2633.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_04_2727.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_08_3723.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_10_2691.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_13_2700.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_17_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818587","1396818581","1396818583","1396818576","1396818585","1396818579"],"photo_ids_order":["1396818576","1396818579","1396818581","1396818583","1396818585","1396818587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99879edbd7ea4f6aebf1d6dc65018cde.jpg","text":"TemporaryFile(/tmp/multipartBody842280809885209092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386743737,"filename":"image_31102025_08_37_17_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1db71a08b13876fee88a7a6ffcb80b2f.jpg","text":"TemporaryFile(/tmp/multipartBody385561921207949533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386743737,"filename":"image_31102025_08_37_08_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09456ca93b09bad1a55593766249a718.jpg","text":"TemporaryFile(/tmp/multipartBody4649906279962369985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386743737,"filename":"image_31102025_08_37_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/11/29/27e833851d92ae16886b830f955bd407.jpg","text":"TemporaryFile(/tmp/multipartBody4764627575204104531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386743737,"filename":"image_31102025_08_37_01_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32bc339385a9d315b04a037fa207a9cf.jpg","text":"TemporaryFile(/tmp/multipartBody4307992134005899656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386743737,"filename":"image_31102025_08_37_13_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d51369e902b318a6898718c84b50219c.jpg","text":"TemporaryFile(/tmp/multipartBody8759137816551137475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386743737,"filename":"image_31102025_08_37_04_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818581","file1":"1396818579","file0":"1396818576","file4":"1396818585","file5":"1396818587","file3":"1396818583"},"map_files_photo_id_array":[{"photo_id":"1396818587","filename":"file5"},{"photo_id":"1396818581","filename":"file2"},{"photo_id":"1396818585","filename":"file4"},{"photo_id":"1396818579","filename":"file1"},{"photo_id":"1396818576","filename":"file0"},{"photo_id":"1396818583","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396818587":["hashtag1","hashtag2"]},{"1396818581":["hashtag1","hashtag2"]},{"1396818583":["hashtag1","hashtag2"]},{"1396818576":["hashtag1","hashtag2"]},{"1396818585":["hashtag1","hashtag2"]},{"1396818579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396818587, 1396818581, 1396818583, 1396818576, 1396818585, 1396818579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.026506662368774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:25:21.824707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/23/image_29112025_04_23_54_9883.jpg', '/home/pi/Desktop/images/29112025/04/23/image_29112025_04_24_04_9696.jpg', '/home/pi/Desktop/images/29112025/04/24/image_29112025_04_24_14_9704.jpg', '/home/pi/Desktop/images/29112025/04/24/image_29112025_04_24_24_10664.jpg', '/home/pi/Desktop/images/29112025/04/24/image_29112025_04_24_34_9807.jpg', '/home/pi/Desktop/images/29112025/04/24/image_29112025_04_24_44_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/23/image_29112025_04_23_54_9883.jpg
/home/pi/Desktop/images/29112025/04/23/image_29112025_04_24_04_9696.jpg
/home/pi/Desktop/images/29112025/04/24/image_29112025_04_24_14_9704.jpg
/home/pi/Desktop/images/29112025/04/24/image_29112025_04_24_24_10664.jpg
/home/pi/Desktop/images/29112025/04/24/image_29112025_04_24_34_9807.jpg
/home/pi/Desktop/images/29112025/04/24/image_29112025_04_24_44_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818599","1396818590","1396818596","1396818598","1396818602","1396818594"],"photo_ids_order":["1396818590","1396818594","1396818596","1396818598","1396818599","1396818602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0047c113c6a0e3f64f01c16bed56c79.jpg","text":"TemporaryFile(/tmp/multipartBody751897674780969066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386782552,"filename":"image_29112025_04_24_34_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eaced0e661100d29b0c46319897eaf2f.jpg","text":"TemporaryFile(/tmp/multipartBody3105321985181654779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386782552,"filename":"image_29112025_04_23_54_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/216105f5eae5948ef0bb00caccd004c0.jpg","text":"TemporaryFile(/tmp/multipartBody1836112219855264856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386782552,"filename":"image_29112025_04_24_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/11/29/4eac987fd0ed7dd3d08605cac4effba3.jpg","text":"TemporaryFile(/tmp/multipartBody8656441678652420122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386782552,"filename":"image_29112025_04_24_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b3e77d93f64bef294d53c7bad89a120.jpg","text":"TemporaryFile(/tmp/multipartBody2810333216028797373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386782552,"filename":"image_29112025_04_24_44_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97aa3964a31339aeeec5154f2f77999a.jpg","text":"TemporaryFile(/tmp/multipartBody7938011917083960093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386782552,"filename":"image_29112025_04_24_04_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818596","file1":"1396818594","file0":"1396818590","file4":"1396818599","file5":"1396818602","file3":"1396818598"},"map_files_photo_id_array":[{"photo_id":"1396818602","filename":"file5"},{"photo_id":"1396818596","filename":"file2"},{"photo_id":"1396818599","filename":"file4"},{"photo_id":"1396818594","filename":"file1"},{"photo_id":"1396818590","filename":"file0"},{"photo_id":"1396818598","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818599":["hashtag1","hashtag2"]},{"1396818590":["hashtag1","hashtag2"]},{"1396818596":["hashtag1","hashtag2"]},{"1396818598":["hashtag1","hashtag2"]},{"1396818602":["hashtag1","hashtag2"]},{"1396818594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818599, 1396818590, 1396818596, 1396818598, 1396818602, 1396818594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49044060707092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:26:02.708472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/24/image_29112025_04_24_55_10739.jpg', '/home/pi/Desktop/images/29112025/04/24/image_29112025_04_25_04_9723.jpg', '/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_14_9850.jpg', '/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_24_9843.jpg', '/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_34_9747.jpg', '/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_44_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/24/image_29112025_04_24_55_10739.jpg
/home/pi/Desktop/images/29112025/04/24/image_29112025_04_25_04_9723.jpg
/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_14_9850.jpg
/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_24_9843.jpg
/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_34_9747.jpg
/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_44_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818612","1396818609","1396818611","1396818614","1396818616","1396818610"],"photo_ids_order":["1396818609","1396818610","1396818611","1396818612","1396818614","1396818616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/891da61757ac91181b1c6d5c5c935f93.jpg","text":"TemporaryFile(/tmp/multipartBody7055868404293495079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386823441,"filename":"image_29112025_04_25_24_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1ad243a05feb6a80437fb904e604f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2772832955211215940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386823441,"filename":"image_29112025_04_24_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/11/29/890f5d713c3d6abdb3340bb918b8050d.jpg","text":"TemporaryFile(/tmp/multipartBody7183668451474091618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386823441,"filename":"image_29112025_04_25_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/11/29/6c59a7d525a4d944d207a12f1623cf23.jpg","text":"TemporaryFile(/tmp/multipartBody6738524651357899158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386823441,"filename":"image_29112025_04_25_34_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89df43942c7f637787e14ed4cfeeedf4.jpg","text":"TemporaryFile(/tmp/multipartBody5634108129267053178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386823441,"filename":"image_29112025_04_25_44_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2c7f2c0a13572b36eb38f2c537796b3.jpg","text":"TemporaryFile(/tmp/multipartBody8814200013563107094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386823441,"filename":"image_29112025_04_25_04_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818611","file1":"1396818610","file0":"1396818609","file4":"1396818614","file5":"1396818616","file3":"1396818612"},"map_files_photo_id_array":[{"photo_id":"1396818616","filename":"file5"},{"photo_id":"1396818611","filename":"file2"},{"photo_id":"1396818614","filename":"file4"},{"photo_id":"1396818610","filename":"file1"},{"photo_id":"1396818609","filename":"file0"},{"photo_id":"1396818612","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818612":["hashtag1","hashtag2"]},{"1396818609":["hashtag1","hashtag2"]},{"1396818611":["hashtag1","hashtag2"]},{"1396818614":["hashtag1","hashtag2"]},{"1396818616":["hashtag1","hashtag2"]},{"1396818610":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818612, 1396818609, 1396818611, 1396818614, 1396818616, 1396818610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42497801780701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:26:42.223585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_20_2803.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_22_2749.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_25_2820.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_29_3623.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_31_2560.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_34_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/08/37/image_31102025_08_37_20_2803.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_22_2749.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_25_2820.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_29_3623.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_31_2560.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_34_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":["1396818639","1396818633","1396818641","1396818635","1396818644","1396818628"],"photo_ids_order":["1396818628","1396818633","1396818635","1396818639","1396818641","1396818644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67967f69c0eaef42de90030b5f2227b2.jpg","text":"TemporaryFile(/tmp/multipartBody9150969142823145055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386863320,"filename":"image_31102025_08_37_29_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/291606f122b71973576758503d19a15f.jpg","text":"TemporaryFile(/tmp/multipartBody6409693628263514569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386863320,"filename":"image_31102025_08_37_22_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a7b2ef058f71104c86e8b9be73eb4f8.jpg","text":"TemporaryFile(/tmp/multipartBody3659806903389281376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386863320,"filename":"image_31102025_08_37_31_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5412a6653ad79657ad8639421da5e171.jpg","text":"TemporaryFile(/tmp/multipartBody1245831056282692001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386863320,"filename":"image_31102025_08_37_25_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b3b09028eb08020634727acbde6bfd8.jpg","text":"TemporaryFile(/tmp/multipartBody7148400763296866107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386863320,"filename":"image_31102025_08_37_34_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0226af507b148f4d1dbb7993690ece78.jpg","text":"TemporaryFile(/tmp/multipartBody2078126715822450749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386863320,"filename":"image_31102025_08_37_20_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818635","file1":"1396818633","file0":"1396818628","file4":"1396818641","file5":"1396818644","file3":"1396818639"},"map_files_photo_id_array":[{"photo_id":"1396818644","filename":"file5"},{"photo_id":"1396818635","filename":"file2"},{"photo_id":"1396818641","filename":"file4"},{"photo_id":"1396818633","filename":"file1"},{"photo_id":"1396818628","filename":"file0"},{"photo_id":"1396818639","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396818639":["hashtag1","hashtag2"]},{"1396818633":["hashtag1","hashtag2"]},{"1396818641":["hashtag1","hashtag2"]},{"1396818635":["hashtag1","hashtag2"]},{"1396818644":["hashtag1","hashtag2"]},{"1396818628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396818639, 1396818633, 1396818641, 1396818635, 1396818644, 1396818628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.809650182724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:27:22.379487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_54_9573.jpg', '/home/pi/Desktop/images/29112025/04/25/image_29112025_04_26_04_9903.jpg', '/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_15_10730.jpg', '/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_24_9747.jpg', '/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_45_10776.jpg', '/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_54_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_54_9573.jpg
/home/pi/Desktop/images/29112025/04/25/image_29112025_04_26_04_9903.jpg
/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_15_10730.jpg
/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_24_9747.jpg
/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_45_10776.jpg
/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_54_9570.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6619234085083008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 04:27:32.374973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_55_2770.jpg', '/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_59_3607.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_01_2675.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_04_2571.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_08_3759.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_10_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_55_2770.jpg
/home/pi/Desktop/images/25112025/17/42/image_25112025_17_42_59_3607.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_01_2675.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_04_2571.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_08_3759.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_10_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":["1396818666","1396818668","1396818656","1396818659","1396818670","1396818663"],"photo_ids_order":["1396818656","1396818659","1396818663","1396818666","1396818668","1396818670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8487e4865827b79f77c852668a04a59c.jpg","text":"TemporaryFile(/tmp/multipartBody2687941239312680052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386914650,"filename":"image_25112025_17_43_04_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83525686ce60fd8f961c53a535815d14.jpg","text":"TemporaryFile(/tmp/multipartBody6863219779324389220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386914650,"filename":"image_25112025_17_43_08_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e6dca90caf8829a84d3f2157ed81f65.jpg","text":"TemporaryFile(/tmp/multipartBody5799017128565129767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386914650,"filename":"image_25112025_17_42_55_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c535139afe9dbdbd921d9bf89385425b.jpg","text":"TemporaryFile(/tmp/multipartBody2979145629990642940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386914650,"filename":"image_25112025_17_42_59_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/805f9be3d3f7e748f07e36229360611f.jpg","text":"TemporaryFile(/tmp/multipartBody7330317171057862572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386914650,"filename":"image_25112025_17_43_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/11/29/f31bff127b9f592c5a2de40bd33b7b6b.jpg","text":"TemporaryFile(/tmp/multipartBody4449243148989372341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386914650,"filename":"image_25112025_17_43_01_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818663","file1":"1396818659","file0":"1396818656","file4":"1396818668","file5":"1396818670","file3":"1396818666"},"map_files_photo_id_array":[{"photo_id":"1396818670","filename":"file5"},{"photo_id":"1396818663","filename":"file2"},{"photo_id":"1396818668","filename":"file4"},{"photo_id":"1396818659","filename":"file1"},{"photo_id":"1396818656","filename":"file0"},{"photo_id":"1396818666","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396818666":["hashtag1","hashtag2"]},{"1396818668":["hashtag1","hashtag2"]},{"1396818656":["hashtag1","hashtag2"]},{"1396818659":["hashtag1","hashtag2"]},{"1396818670":["hashtag1","hashtag2"]},{"1396818663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396818666, 1396818668, 1396818656, 1396818659, 1396818670, 1396818663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.437416315078735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 04:28:12.557711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_13_2800.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_17_3635.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_19_2577.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_22_2583.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_26_3593.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_28_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_13_2800.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_17_3635.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_19_2577.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_22_2583.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_26_3593.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_28_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818680","1396818677","1396818682","1396818673","1396818675","1396818684"],"photo_ids_order":["1396818673","1396818675","1396818677","1396818680","1396818682","1396818684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94e9e04be8746525378a245f0fb269d8.jpg","text":"TemporaryFile(/tmp/multipartBody1180146901674409035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386954664,"filename":"image_25112025_17_43_22_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7934310846b5d61c1a6c43e44225cba3.jpg","text":"TemporaryFile(/tmp/multipartBody2252154279610443788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386954664,"filename":"image_25112025_17_43_19_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa7d269294e956a44529f5f140d0bc1f.jpg","text":"TemporaryFile(/tmp/multipartBody3147595854232163089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386954664,"filename":"image_25112025_17_43_26_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c55b6226f2ca60d02a4046d366fd5408.jpg","text":"TemporaryFile(/tmp/multipartBody6158150965980116127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386954664,"filename":"image_25112025_17_43_13_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01b708d2397328acf228ffd925750b1f.jpg","text":"TemporaryFile(/tmp/multipartBody1512458608726422573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386954664,"filename":"image_25112025_17_43_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/11/29/5a2b5e44f6daedc62614a47b949d238f.jpg","text":"TemporaryFile(/tmp/multipartBody6384798495335367548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764386954664,"filename":"image_25112025_17_43_28_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818677","file1":"1396818675","file0":"1396818673","file4":"1396818682","file5":"1396818684","file3":"1396818680"},"map_files_photo_id_array":[{"photo_id":"1396818684","filename":"file5"},{"photo_id":"1396818677","filename":"file2"},{"photo_id":"1396818682","filename":"file4"},{"photo_id":"1396818675","filename":"file1"},{"photo_id":"1396818673","filename":"file0"},{"photo_id":"1396818680","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396818680":["hashtag1","hashtag2"]},{"1396818677":["hashtag1","hashtag2"]},{"1396818682":["hashtag1","hashtag2"]},{"1396818673":["hashtag1","hashtag2"]},{"1396818675":["hashtag1","hashtag2"]},{"1396818684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396818680, 1396818677, 1396818682, 1396818673, 1396818675, 1396818684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87171244621277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:29:03.935506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_54_9573.jpg', '/home/pi/Desktop/images/29112025/04/25/image_29112025_04_26_04_9903.jpg', '/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_15_10730.jpg', '/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_24_9747.jpg', '/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_45_10776.jpg', '/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_54_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/25/image_29112025_04_25_54_9573.jpg
/home/pi/Desktop/images/29112025/04/25/image_29112025_04_26_04_9903.jpg
/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_15_10730.jpg
/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_24_9747.jpg
/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_45_10776.jpg
/home/pi/Desktop/images/29112025/04/26/image_29112025_04_26_54_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":["1396818702","1396818692","1396818695","1396818707","1396818697","1396818699"],"photo_ids_order":["1396818692","1396818695","1396818697","1396818699","1396818702","1396818707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/abf0968b21d7c04ec4db3153bc5980cb.jpg","text":"TemporaryFile(/tmp/multipartBody852485305031274783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387004858,"filename":"image_29112025_04_26_45_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed9806b0b0813ed85e920bc68bb765dd.jpg","text":"TemporaryFile(/tmp/multipartBody4860194382576953378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387004858,"filename":"image_29112025_04_25_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/11/29/c40c9bc9c027710a11cf54997ed7eebf.jpg","text":"TemporaryFile(/tmp/multipartBody3263924480463932444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387004858,"filename":"image_29112025_04_26_04_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b941d7e6a4282be3e12d38dd7abee19.jpg","text":"TemporaryFile(/tmp/multipartBody5175638837959541943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387004858,"filename":"image_29112025_04_26_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/11/29/1251bc7092e737dce5208453ee19b29a.jpg","text":"TemporaryFile(/tmp/multipartBody3402310392445753690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387004858,"filename":"image_29112025_04_26_15_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6be8ece736b351911008eb536e058d9.jpg","text":"TemporaryFile(/tmp/multipartBody1405923183841007582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387004858,"filename":"image_29112025_04_26_24_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818697","file1":"1396818695","file0":"1396818692","file4":"1396818702","file5":"1396818707","file3":"1396818699"},"map_files_photo_id_array":[{"photo_id":"1396818707","filename":"file5"},{"photo_id":"1396818697","filename":"file2"},{"photo_id":"1396818702","filename":"file4"},{"photo_id":"1396818695","filename":"file1"},{"photo_id":"1396818692","filename":"file0"},{"photo_id":"1396818699","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818702":["hashtag1","hashtag2"]},{"1396818692":["hashtag1","hashtag2"]},{"1396818695":["hashtag1","hashtag2"]},{"1396818707":["hashtag1","hashtag2"]},{"1396818697":["hashtag1","hashtag2"]},{"1396818699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818702, 1396818692, 1396818695, 1396818707, 1396818697, 1396818699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97926354408264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:29:42.773602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_40_2733.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_43_2651.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_47_3648.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_50_2769.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_52_2527.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_56_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_40_2733.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_43_2651.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_47_3648.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_50_2769.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_52_2527.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_56_3640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9396781921386719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:30:02.316633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/26/image_29112025_04_27_04_9756.jpg', '/home/pi/Desktop/images/29112025/04/27/image_29112025_04_27_15_10731.jpg', '/home/pi/Desktop/images/29112025/04/27/image_29112025_04_27_24_9682.jpg', '/home/pi/Desktop/images/29112025/04/27/image_29112025_04_27_34_9697.jpg', '/home/pi/Desktop/images/29112025/04/27/image_29112025_04_27_44_9685.jpg', '/home/pi/Desktop/images/29112025/04/27/image_29112025_04_28_04_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/26/image_29112025_04_27_04_9756.jpg
/home/pi/Desktop/images/29112025/04/27/image_29112025_04_27_15_10731.jpg
/home/pi/Desktop/images/29112025/04/27/image_29112025_04_27_24_9682.jpg
/home/pi/Desktop/images/29112025/04/27/image_29112025_04_27_34_9697.jpg
/home/pi/Desktop/images/29112025/04/27/image_29112025_04_27_44_9685.jpg
/home/pi/Desktop/images/29112025/04/27/image_29112025_04_28_04_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":["1396818729","1396818728","1396818731","1396818730","1396818733","1396818736"],"photo_ids_order":["1396818728","1396818729","1396818730","1396818731","1396818733","1396818736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32b17faa53c95dc15da74e2aed5f3545.jpg","text":"TemporaryFile(/tmp/multipartBody8441708867229521272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387063070,"filename":"image_29112025_04_27_15_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84fdbd550747d46c2f663389f2ece0d8.jpg","text":"TemporaryFile(/tmp/multipartBody7109693187492129470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387063070,"filename":"image_29112025_04_27_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/11/29/b8f2b9ddfb8664592b88780bf6e919eb.jpg","text":"TemporaryFile(/tmp/multipartBody2578170943487469034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387063070,"filename":"image_29112025_04_27_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/11/29/106872317dff9621e31b8d5505b05bf7.jpg","text":"TemporaryFile(/tmp/multipartBody1990181136430680712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387063070,"filename":"image_29112025_04_27_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/11/29/e5f09d896040ae378bf11baae5ebac57.jpg","text":"TemporaryFile(/tmp/multipartBody4521000475952875708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387063070,"filename":"image_29112025_04_27_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/11/29/3bae42adb8543297837d5e654ceabb72.jpg","text":"TemporaryFile(/tmp/multipartBody7096058265273092282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387063070,"filename":"image_29112025_04_28_04_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818730","file1":"1396818729","file0":"1396818728","file4":"1396818733","file5":"1396818736","file3":"1396818731"},"map_files_photo_id_array":[{"photo_id":"1396818736","filename":"file5"},{"photo_id":"1396818730","filename":"file2"},{"photo_id":"1396818733","filename":"file4"},{"photo_id":"1396818729","filename":"file1"},{"photo_id":"1396818728","filename":"file0"},{"photo_id":"1396818731","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818729":["hashtag1","hashtag2"]},{"1396818728":["hashtag1","hashtag2"]},{"1396818731":["hashtag1","hashtag2"]},{"1396818730":["hashtag1","hashtag2"]},{"1396818733":["hashtag1","hashtag2"]},{"1396818736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818729, 1396818728, 1396818731, 1396818730, 1396818733, 1396818736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73785877227783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:30:41.938210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_40_2733.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_43_2651.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_47_3648.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_50_2769.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_52_2527.jpg', '/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_56_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_40_2733.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_43_2651.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_47_3648.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_50_2769.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_52_2527.jpg
/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_56_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396818753","1396818747","1396818749","1396818743","1396818751","1396818756"],"photo_ids_order":["1396818743","1396818747","1396818749","1396818751","1396818753","1396818756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09636576cfb753b3504498d98861bb35.jpg","text":"TemporaryFile(/tmp/multipartBody877808796426972571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387102856,"filename":"image_31102025_08_37_52_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c91508d6d514e838e6d7b1bcb0689a5.jpg","text":"TemporaryFile(/tmp/multipartBody259093935193430438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387102856,"filename":"image_31102025_08_37_43_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/881d69292130acde5a654db61a0f2ad3.jpg","text":"TemporaryFile(/tmp/multipartBody6635236251935821926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387102856,"filename":"image_31102025_08_37_47_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90a9dcb0a06d88ad8dcd0540af62dc17.jpg","text":"TemporaryFile(/tmp/multipartBody3848027719171249582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387102856,"filename":"image_31102025_08_37_40_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3807ecf882f293d8f9367fb0ff30aa4.jpg","text":"TemporaryFile(/tmp/multipartBody5342584269501175992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387102856,"filename":"image_31102025_08_37_50_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70f0550b334f4837c4f5a04a8f422d4f.jpg","text":"TemporaryFile(/tmp/multipartBody7889103362332028275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387102856,"filename":"image_31102025_08_37_56_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818749","file1":"1396818747","file0":"1396818743","file4":"1396818753","file5":"1396818756","file3":"1396818751"},"map_files_photo_id_array":[{"photo_id":"1396818756","filename":"file5"},{"photo_id":"1396818749","filename":"file2"},{"photo_id":"1396818753","filename":"file4"},{"photo_id":"1396818747","filename":"file1"},{"photo_id":"1396818743","filename":"file0"},{"photo_id":"1396818751","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396818753":["hashtag1","hashtag2"]},{"1396818747":["hashtag1","hashtag2"]},{"1396818749":["hashtag1","hashtag2"]},{"1396818743":["hashtag1","hashtag2"]},{"1396818751":["hashtag1","hashtag2"]},{"1396818756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396818753, 1396818747, 1396818749, 1396818743, 1396818751, 1396818756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.71544408798218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 04:31:32.079061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_31_2714.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_37_2565.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_40_2791.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_44_3671.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_46_2635.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_49_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_31_2714.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_37_2565.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_40_2791.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_44_3671.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_46_2635.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_49_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":["1396818765","1396818770","1396818767","1396818776","1396818772","1396818774"],"photo_ids_order":["1396818765","1396818767","1396818770","1396818772","1396818774","1396818776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15b4dd8ba2b107bad310ab1d8c922705.jpg","text":"TemporaryFile(/tmp/multipartBody7142237617864492277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387154344,"filename":"image_25112025_17_43_31_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09eca273abcb851e978ffa65177dfab8.jpg","text":"TemporaryFile(/tmp/multipartBody8670591214698636426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387154344,"filename":"image_25112025_17_43_40_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2c1350108cb20707dd5c805193ea0f8.jpg","text":"TemporaryFile(/tmp/multipartBody2356636355183476452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387154344,"filename":"image_25112025_17_43_37_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0345aa2dc367f7cdaffd41aa47020910.jpg","text":"TemporaryFile(/tmp/multipartBody5265357952190323806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387154344,"filename":"image_25112025_17_43_49_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7a8459cdfd818318f9ec90bdb6a81fe.jpg","text":"TemporaryFile(/tmp/multipartBody8301931457562284784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387154344,"filename":"image_25112025_17_43_44_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8d61f2607b41ef30da9d1440b725e9b.jpg","text":"TemporaryFile(/tmp/multipartBody2337092146285928939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387154344,"filename":"image_25112025_17_43_46_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818770","file1":"1396818767","file0":"1396818765","file4":"1396818774","file5":"1396818776","file3":"1396818772"},"map_files_photo_id_array":[{"photo_id":"1396818776","filename":"file5"},{"photo_id":"1396818770","filename":"file2"},{"photo_id":"1396818774","filename":"file4"},{"photo_id":"1396818767","filename":"file1"},{"photo_id":"1396818765","filename":"file0"},{"photo_id":"1396818772","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396818765":["hashtag1","hashtag2"]},{"1396818770":["hashtag1","hashtag2"]},{"1396818767":["hashtag1","hashtag2"]},{"1396818776":["hashtag1","hashtag2"]},{"1396818772":["hashtag1","hashtag2"]},{"1396818774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396818765, 1396818770, 1396818767, 1396818776, 1396818772, 1396818774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38219404220581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 04:32:12.230660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_52_3567.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_55_2868.jpg', '/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_58_2591.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_02_3749.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_10_3351.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_13_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_52_3567.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_55_2868.jpg
/home/pi/Desktop/images/25112025/17/43/image_25112025_17_43_58_2591.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_02_3749.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_10_3351.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_13_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818779","1396818781","1396818790","1396818784","1396818787","1396818792"],"photo_ids_order":["1396818779","1396818781","1396818784","1396818787","1396818790","1396818792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc88a7a2ca5b3587b59a6032992b224b.jpg","text":"TemporaryFile(/tmp/multipartBody7683681992268463050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387194367,"filename":"image_25112025_17_43_52_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41cc89b712ff13d037cce34b212a1f45.jpg","text":"TemporaryFile(/tmp/multipartBody520673261696263082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387194367,"filename":"image_25112025_17_43_55_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c298d306805830cbe0bc4163d98bbcc.jpg","text":"TemporaryFile(/tmp/multipartBody4026292640519008111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387194367,"filename":"image_25112025_17_44_10_3351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f99122d5a92f2fe2281089fdbe7b28f5.jpg","text":"TemporaryFile(/tmp/multipartBody1953164860810674852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387194367,"filename":"image_25112025_17_43_58_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dbd1eb2a71f9b135f19684c6126fb3df.jpg","text":"TemporaryFile(/tmp/multipartBody8748763061743358655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387194367,"filename":"image_25112025_17_44_02_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/595508b38f1c678d95fca7f8441febdc.jpg","text":"TemporaryFile(/tmp/multipartBody3961570613043643597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387194367,"filename":"image_25112025_17_44_13_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818784","file1":"1396818781","file0":"1396818779","file4":"1396818790","file5":"1396818792","file3":"1396818787"},"map_files_photo_id_array":[{"photo_id":"1396818792","filename":"file5"},{"photo_id":"1396818784","filename":"file2"},{"photo_id":"1396818790","filename":"file4"},{"photo_id":"1396818781","filename":"file1"},{"photo_id":"1396818779","filename":"file0"},{"photo_id":"1396818787","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396818779":["hashtag1","hashtag2"]},{"1396818781":["hashtag1","hashtag2"]},{"1396818790":["hashtag1","hashtag2"]},{"1396818784":["hashtag1","hashtag2"]},{"1396818787":["hashtag1","hashtag2"]},{"1396818792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396818779, 1396818781, 1396818790, 1396818784, 1396818787, 1396818792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84973192214966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:33:03.008573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/28/image_29112025_04_28_14_9767.jpg', '/home/pi/Desktop/images/29112025/04/28/image_29112025_04_28_24_9801.jpg', '/home/pi/Desktop/images/29112025/04/28/image_29112025_04_28_35_10704.jpg', '/home/pi/Desktop/images/29112025/04/28/image_29112025_04_28_44_9689.jpg', '/home/pi/Desktop/images/29112025/04/28/image_29112025_04_28_54_9661.jpg', '/home/pi/Desktop/images/29112025/04/28/image_29112025_04_29_04_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/28/image_29112025_04_28_14_9767.jpg
/home/pi/Desktop/images/29112025/04/28/image_29112025_04_28_24_9801.jpg
/home/pi/Desktop/images/29112025/04/28/image_29112025_04_28_35_10704.jpg
/home/pi/Desktop/images/29112025/04/28/image_29112025_04_28_44_9689.jpg
/home/pi/Desktop/images/29112025/04/28/image_29112025_04_28_54_9661.jpg
/home/pi/Desktop/images/29112025/04/28/image_29112025_04_29_04_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":["1396818810","1396818815","1396818809","1396818818","1396818812","1396818808"],"photo_ids_order":["1396818808","1396818809","1396818810","1396818812","1396818815","1396818818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6431dd12735fdd5c0aca3263cf8bf71.jpg","text":"TemporaryFile(/tmp/multipartBody5237667152860021395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387246464,"filename":"image_29112025_04_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/11/29/5517308ff510bc8743c1c6911ab0cb26.jpg","text":"TemporaryFile(/tmp/multipartBody3534123432373702063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387246464,"filename":"image_29112025_04_28_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91849222cb193595c8aad023c090989a.jpg","text":"TemporaryFile(/tmp/multipartBody6558912705137695232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387246464,"filename":"image_29112025_04_28_24_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8909f4829fd52fb2a1ee693b373bf69b.jpg","text":"TemporaryFile(/tmp/multipartBody649750379247390366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387246464,"filename":"image_29112025_04_29_04_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddabe1cea8127e3f8eabe1047a720cd4.jpg","text":"TemporaryFile(/tmp/multipartBody2819035426681665616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387246464,"filename":"image_29112025_04_28_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4bc446d3f64e39b8556d59397b53b014.jpg","text":"TemporaryFile(/tmp/multipartBody2820407789024603027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387246464,"filename":"image_29112025_04_28_14_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818810","file1":"1396818809","file0":"1396818808","file4":"1396818815","file5":"1396818818","file3":"1396818812"},"map_files_photo_id_array":[{"photo_id":"1396818818","filename":"file5"},{"photo_id":"1396818810","filename":"file2"},{"photo_id":"1396818815","filename":"file4"},{"photo_id":"1396818809","filename":"file1"},{"photo_id":"1396818808","filename":"file0"},{"photo_id":"1396818812","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818810":["hashtag1","hashtag2"]},{"1396818815":["hashtag1","hashtag2"]},{"1396818809":["hashtag1","hashtag2"]},{"1396818818":["hashtag1","hashtag2"]},{"1396818812":["hashtag1","hashtag2"]},{"1396818808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818810, 1396818815, 1396818809, 1396818818, 1396818812, 1396818808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81804609298706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:33:42.552012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/37/image_31102025_08_37_58_2638.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_05_3588.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_07_2650.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_10_2634.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_14_3667.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_16_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/08/37/image_31102025_08_37_58_2638.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_05_3588.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_07_2650.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_10_2634.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_14_3667.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_16_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":["1396818831","1396818825","1396818833","1396818827","1396818835","1396818829"],"photo_ids_order":["1396818825","1396818827","1396818829","1396818831","1396818833","1396818835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d72c51648cfc697f1a358d2f0529499b.jpg","text":"TemporaryFile(/tmp/multipartBody2419070981906485994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387283590,"filename":"image_31102025_08_38_10_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0802f67a9ed123ac8755818a2aaa93c3.jpg","text":"TemporaryFile(/tmp/multipartBody1654546143122828507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387283590,"filename":"image_31102025_08_37_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/11/29/fd5151e7a0b18fe8d9121f5306a90d9d.jpg","text":"TemporaryFile(/tmp/multipartBody6348406892891367660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387283590,"filename":"image_31102025_08_38_14_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/131ca0526b1886c4f936027039fd01bf.jpg","text":"TemporaryFile(/tmp/multipartBody6325708422504670364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387283590,"filename":"image_31102025_08_38_05_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f7cbba4f24553af36c4d43c700b9434.jpg","text":"TemporaryFile(/tmp/multipartBody7538179195953431259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387283590,"filename":"image_31102025_08_38_16_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97ecc42363dabe108f18dd6388abb48d.jpg","text":"TemporaryFile(/tmp/multipartBody6112828684886090672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387283590,"filename":"image_31102025_08_38_07_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818829","file1":"1396818827","file0":"1396818825","file4":"1396818833","file5":"1396818835","file3":"1396818831"},"map_files_photo_id_array":[{"photo_id":"1396818835","filename":"file5"},{"photo_id":"1396818829","filename":"file2"},{"photo_id":"1396818833","filename":"file4"},{"photo_id":"1396818827","filename":"file1"},{"photo_id":"1396818825","filename":"file0"},{"photo_id":"1396818831","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396818831":["hashtag1","hashtag2"]},{"1396818825":["hashtag1","hashtag2"]},{"1396818833":["hashtag1","hashtag2"]},{"1396818827":["hashtag1","hashtag2"]},{"1396818835":["hashtag1","hashtag2"]},{"1396818829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396818831, 1396818825, 1396818833, 1396818827, 1396818835, 1396818829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39750552177429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:34:22.720279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/29/image_29112025_04_29_14_9772.jpg', '/home/pi/Desktop/images/29112025/04/29/image_29112025_04_29_24_9773.jpg', '/home/pi/Desktop/images/29112025/04/29/image_29112025_04_29_34_9703.jpg', '/home/pi/Desktop/images/29112025/04/29/image_29112025_04_29_44_10725.jpg', '/home/pi/Desktop/images/29112025/04/29/image_29112025_04_29_54_9579.jpg', '/home/pi/Desktop/images/29112025/04/29/image_29112025_04_30_04_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/29/image_29112025_04_29_14_9772.jpg
/home/pi/Desktop/images/29112025/04/29/image_29112025_04_29_24_9773.jpg
/home/pi/Desktop/images/29112025/04/29/image_29112025_04_29_34_9703.jpg
/home/pi/Desktop/images/29112025/04/29/image_29112025_04_29_44_10725.jpg
/home/pi/Desktop/images/29112025/04/29/image_29112025_04_29_54_9579.jpg
/home/pi/Desktop/images/29112025/04/29/image_29112025_04_30_04_9842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818846","1396818851","1396818848","1396818842","1396818839","1396818844"],"photo_ids_order":["1396818839","1396818842","1396818844","1396818846","1396818848","1396818851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8bdc3aad8cb4e95173b716bc3bb4bfe.jpg","text":"TemporaryFile(/tmp/multipartBody2967780964210566418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387323447,"filename":"image_29112025_04_29_44_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2e1d70cda6ffc18007ae2a174d38134.jpg","text":"TemporaryFile(/tmp/multipartBody713011834397686771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387323447,"filename":"image_29112025_04_30_04_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0086e8243bd878223631219fd324aef.jpg","text":"TemporaryFile(/tmp/multipartBody8031398858803345768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387323447,"filename":"image_29112025_04_29_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/11/29/a322f2c8fd37b0476e693a6a59f9fc7c.jpg","text":"TemporaryFile(/tmp/multipartBody292251405179246928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387323447,"filename":"image_29112025_04_29_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/11/29/dc2636427e29a766aaecacf55dbf9f84.jpg","text":"TemporaryFile(/tmp/multipartBody1082479676099628737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387323447,"filename":"image_29112025_04_29_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/11/29/bf41212a67e49260d4204270a58ffbcc.jpg","text":"TemporaryFile(/tmp/multipartBody5536019857170554813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387323447,"filename":"image_29112025_04_29_34_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818844","file1":"1396818842","file0":"1396818839","file4":"1396818848","file5":"1396818851","file3":"1396818846"},"map_files_photo_id_array":[{"photo_id":"1396818851","filename":"file5"},{"photo_id":"1396818844","filename":"file2"},{"photo_id":"1396818848","filename":"file4"},{"photo_id":"1396818842","filename":"file1"},{"photo_id":"1396818839","filename":"file0"},{"photo_id":"1396818846","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818846":["hashtag1","hashtag2"]},{"1396818851":["hashtag1","hashtag2"]},{"1396818848":["hashtag1","hashtag2"]},{"1396818842":["hashtag1","hashtag2"]},{"1396818839":["hashtag1","hashtag2"]},{"1396818844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818846, 1396818851, 1396818848, 1396818842, 1396818839, 1396818844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28475856781006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:35:02.810715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/30/image_29112025_04_30_15_10738.jpg', '/home/pi/Desktop/images/29112025/04/30/image_29112025_04_30_34_9564.jpg', '/home/pi/Desktop/images/29112025/04/30/image_29112025_04_30_45_10762.jpg', '/home/pi/Desktop/images/29112025/04/30/image_29112025_04_30_54_9866.jpg', '/home/pi/Desktop/images/29112025/04/30/image_29112025_04_31_04_9803.jpg', '/home/pi/Desktop/images/29112025/04/31/image_29112025_04_31_14_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/30/image_29112025_04_30_15_10738.jpg
/home/pi/Desktop/images/29112025/04/30/image_29112025_04_30_34_9564.jpg
/home/pi/Desktop/images/29112025/04/30/image_29112025_04_30_45_10762.jpg
/home/pi/Desktop/images/29112025/04/30/image_29112025_04_30_54_9866.jpg
/home/pi/Desktop/images/29112025/04/30/image_29112025_04_31_04_9803.jpg
/home/pi/Desktop/images/29112025/04/31/image_29112025_04_31_14_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":["1396818858","1396818860","1396818862","1396818856","1396818865","1396818859"],"photo_ids_order":["1396818856","1396818858","1396818859","1396818860","1396818862","1396818865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ee2fc330084930c88d1a67c06576b9e.jpg","text":"TemporaryFile(/tmp/multipartBody6608909331344502719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387363593,"filename":"image_29112025_04_30_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c212afebb87e60178f575d543f87def2.jpg","text":"TemporaryFile(/tmp/multipartBody1012877536633065613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387363593,"filename":"image_29112025_04_30_54_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3862e5315ba52d18e474ca2500a70c5.jpg","text":"TemporaryFile(/tmp/multipartBody1476263680772087588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387363593,"filename":"image_29112025_04_31_04_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fef85a663b95defe59450d27d9e94ba2.jpg","text":"TemporaryFile(/tmp/multipartBody3025608312231288727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387363593,"filename":"image_29112025_04_30_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/11/29/adf2d8411a683e20fc8cccc898255420.jpg","text":"TemporaryFile(/tmp/multipartBody8236633457169656164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387363593,"filename":"image_29112025_04_31_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/11/29/901c38f9ab7ca8fbabb5ccd41ff419c8.jpg","text":"TemporaryFile(/tmp/multipartBody6078174394545388742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387363593,"filename":"image_29112025_04_30_45_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818859","file1":"1396818858","file0":"1396818856","file4":"1396818862","file5":"1396818865","file3":"1396818860"},"map_files_photo_id_array":[{"photo_id":"1396818865","filename":"file5"},{"photo_id":"1396818859","filename":"file2"},{"photo_id":"1396818862","filename":"file4"},{"photo_id":"1396818858","filename":"file1"},{"photo_id":"1396818856","filename":"file0"},{"photo_id":"1396818860","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818858":["hashtag1","hashtag2"]},{"1396818860":["hashtag1","hashtag2"]},{"1396818862":["hashtag1","hashtag2"]},{"1396818856":["hashtag1","hashtag2"]},{"1396818865":["hashtag1","hashtag2"]},{"1396818859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818858, 1396818860, 1396818862, 1396818856, 1396818865, 1396818859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.197734355926514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:35:42.032830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_19_2647.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_23_3680.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_25_2772.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_28_2845.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_31_2815.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_35_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_19_2647.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_23_3680.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_25_2772.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_28_2845.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_31_2815.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_35_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818881","1396818874","1396818883","1396818877","1396818885","1396818879"],"photo_ids_order":["1396818874","1396818877","1396818879","1396818881","1396818883","1396818885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2023da033b20527c9847368f679db31.jpg","text":"TemporaryFile(/tmp/multipartBody3013754952426478918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387403065,"filename":"image_31102025_08_38_28_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54ba3e02716acfe0e8315fc6fd6942ac.jpg","text":"TemporaryFile(/tmp/multipartBody9145442903906117551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387403065,"filename":"image_31102025_08_38_19_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3264e56c6e7ed5a3d0801a6e76fec78d.jpg","text":"TemporaryFile(/tmp/multipartBody7962640610722679786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387403065,"filename":"image_31102025_08_38_31_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22a3be56a30a2463206b9c7d479dc1e8.jpg","text":"TemporaryFile(/tmp/multipartBody4873623853542517038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387403065,"filename":"image_31102025_08_38_23_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74c66c08f5e3a0f0e22909327486ac70.jpg","text":"TemporaryFile(/tmp/multipartBody6621314707995895131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387403065,"filename":"image_31102025_08_38_35_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6b1912c69147be3647a89550ec498cd.jpg","text":"TemporaryFile(/tmp/multipartBody8220319889082566857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387403065,"filename":"image_31102025_08_38_25_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818879","file1":"1396818877","file0":"1396818874","file4":"1396818883","file5":"1396818885","file3":"1396818881"},"map_files_photo_id_array":[{"photo_id":"1396818885","filename":"file5"},{"photo_id":"1396818879","filename":"file2"},{"photo_id":"1396818883","filename":"file4"},{"photo_id":"1396818877","filename":"file1"},{"photo_id":"1396818874","filename":"file0"},{"photo_id":"1396818881","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396818881":["hashtag1","hashtag2"]},{"1396818874":["hashtag1","hashtag2"]},{"1396818883":["hashtag1","hashtag2"]},{"1396818877":["hashtag1","hashtag2"]},{"1396818885":["hashtag1","hashtag2"]},{"1396818879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396818881, 1396818874, 1396818883, 1396818877, 1396818885, 1396818879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90551495552063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:36:22.346323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/31/image_29112025_04_31_25_10561.jpg', '/home/pi/Desktop/images/29112025/04/31/image_29112025_04_31_34_9639.jpg', '/home/pi/Desktop/images/29112025/04/31/image_29112025_04_31_44_9600.jpg', '/home/pi/Desktop/images/29112025/04/31/image_29112025_04_31_54_10682.jpg', '/home/pi/Desktop/images/29112025/04/31/image_29112025_04_32_04_9611.jpg', '/home/pi/Desktop/images/29112025/04/32/image_29112025_04_32_14_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/31/image_29112025_04_31_25_10561.jpg
/home/pi/Desktop/images/29112025/04/31/image_29112025_04_31_34_9639.jpg
/home/pi/Desktop/images/29112025/04/31/image_29112025_04_31_44_9600.jpg
/home/pi/Desktop/images/29112025/04/31/image_29112025_04_31_54_10682.jpg
/home/pi/Desktop/images/29112025/04/31/image_29112025_04_32_04_9611.jpg
/home/pi/Desktop/images/29112025/04/32/image_29112025_04_32_14_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818942","1396818903","1396818906","1396818909","1396818899","1396818934"],"photo_ids_order":["1396818899","1396818903","1396818906","1396818909","1396818934","1396818942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/515a6e5b60bfabf4e0d4b8a524220073.jpg","text":"TemporaryFile(/tmp/multipartBody7227090225452465161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387443067,"filename":"image_29112025_04_32_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/11/29/71eaa63446af8a11e5028f54f46bf80d.jpg","text":"TemporaryFile(/tmp/multipartBody4286082584682809670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387443067,"filename":"image_29112025_04_31_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43ae120de8c82954850fcf6952e438a0.jpg","text":"TemporaryFile(/tmp/multipartBody6491956860296138680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387443067,"filename":"image_29112025_04_31_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/11/29/6cca9b4303427a4b9996784c683215b7.jpg","text":"TemporaryFile(/tmp/multipartBody6989976294926654485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387443067,"filename":"image_29112025_04_31_54_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8acdb8f2646ae294d25e023ada1e152c.jpg","text":"TemporaryFile(/tmp/multipartBody3381316582461394186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387443067,"filename":"image_29112025_04_31_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/11/29/c852c82ac9c63220810d1c3a8b7de427.jpg","text":"TemporaryFile(/tmp/multipartBody1906237420511667280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387443067,"filename":"image_29112025_04_32_04_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818906","file1":"1396818903","file0":"1396818899","file4":"1396818934","file5":"1396818942","file3":"1396818909"},"map_files_photo_id_array":[{"photo_id":"1396818942","filename":"file5"},{"photo_id":"1396818906","filename":"file2"},{"photo_id":"1396818934","filename":"file4"},{"photo_id":"1396818903","filename":"file1"},{"photo_id":"1396818899","filename":"file0"},{"photo_id":"1396818909","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818942":["hashtag1","hashtag2"]},{"1396818903":["hashtag1","hashtag2"]},{"1396818906":["hashtag1","hashtag2"]},{"1396818909":["hashtag1","hashtag2"]},{"1396818899":["hashtag1","hashtag2"]},{"1396818934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818942, 1396818903, 1396818906, 1396818909, 1396818899, 1396818934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82651710510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:37:03.129740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/32/image_29112025_04_32_25_10703.jpg', '/home/pi/Desktop/images/29112025/04/32/image_29112025_04_32_34_9667.jpg', '/home/pi/Desktop/images/29112025/04/32/image_29112025_04_32_44_9645.jpg', '/home/pi/Desktop/images/29112025/04/32/image_29112025_04_32_55_10758.jpg', '/home/pi/Desktop/images/29112025/04/32/image_29112025_04_33_04_9588.jpg', '/home/pi/Desktop/images/29112025/04/33/image_29112025_04_33_14_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/32/image_29112025_04_32_25_10703.jpg
/home/pi/Desktop/images/29112025/04/32/image_29112025_04_32_34_9667.jpg
/home/pi/Desktop/images/29112025/04/32/image_29112025_04_32_44_9645.jpg
/home/pi/Desktop/images/29112025/04/32/image_29112025_04_32_55_10758.jpg
/home/pi/Desktop/images/29112025/04/32/image_29112025_04_33_04_9588.jpg
/home/pi/Desktop/images/29112025/04/33/image_29112025_04_33_14_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":["1396818963","1396818957","1396818956","1396818958","1396818960","1396818954"],"photo_ids_order":["1396818954","1396818956","1396818957","1396818958","1396818960","1396818963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d664423f887799af41a38624d389c316.jpg","text":"TemporaryFile(/tmp/multipartBody2189407924363933472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387483937,"filename":"image_29112025_04_33_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/11/29/98e74412724b74266ef4f0c84150c3b8.jpg","text":"TemporaryFile(/tmp/multipartBody7103772869914163536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387483937,"filename":"image_29112025_04_32_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/644d28ad079ddb30ab11d3b4926ed05c.jpg","text":"TemporaryFile(/tmp/multipartBody6958300892859456996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387483937,"filename":"image_29112025_04_32_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/11/29/0e0fcceacb15c825404a679a170f0e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1095131763169375877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387483937,"filename":"image_29112025_04_32_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/11/29/8781bb495782c9166889132160ac5544.jpg","text":"TemporaryFile(/tmp/multipartBody3330611304031187511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387483937,"filename":"image_29112025_04_33_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/def2292484fae113f4859abf926a0663.jpg","text":"TemporaryFile(/tmp/multipartBody3331432557783269332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387483937,"filename":"image_29112025_04_32_25_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818957","file1":"1396818956","file0":"1396818954","file4":"1396818960","file5":"1396818963","file3":"1396818958"},"map_files_photo_id_array":[{"photo_id":"1396818963","filename":"file5"},{"photo_id":"1396818957","filename":"file2"},{"photo_id":"1396818960","filename":"file4"},{"photo_id":"1396818956","filename":"file1"},{"photo_id":"1396818954","filename":"file0"},{"photo_id":"1396818958","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818963":["hashtag1","hashtag2"]},{"1396818957":["hashtag1","hashtag2"]},{"1396818956":["hashtag1","hashtag2"]},{"1396818958":["hashtag1","hashtag2"]},{"1396818960":["hashtag1","hashtag2"]},{"1396818954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818963, 1396818957, 1396818956, 1396818958, 1396818960, 1396818954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74186992645264 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-11-29 04:38:03.262498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/33/image_29112025_04_33_25_10821.jpg', '/home/pi/Desktop/images/29112025/04/33/image_29112025_04_33_34_9160.jpg', '/home/pi/Desktop/images/29112025/04/33/image_29112025_04_33_44_9888.jpg', '/home/pi/Desktop/images/29112025/04/33/image_29112025_04_33_54_10663.jpg', '/home/pi/Desktop/images/29112025/04/33/image_29112025_04_34_04_9734.jpg', '/home/pi/Desktop/images/29112025/04/34/image_29112025_04_34_14_10216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/33/image_29112025_04_33_25_10821.jpg
/home/pi/Desktop/images/29112025/04/33/image_29112025_04_33_34_9160.jpg
/home/pi/Desktop/images/29112025/04/33/image_29112025_04_33_44_9888.jpg
/home/pi/Desktop/images/29112025/04/33/image_29112025_04_33_54_10663.jpg
/home/pi/Desktop/images/29112025/04/33/image_29112025_04_34_04_9734.jpg
/home/pi/Desktop/images/29112025/04/34/image_29112025_04_34_14_10216.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396818989","1396818980","1396818986","1396818982","1396818976","1396818984"],"photo_ids_order":["1396818976","1396818980","1396818982","1396818984","1396818986","1396818989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a709de84eb70564c8b79e4597e538b94.jpg","text":"TemporaryFile(/tmp/multipartBody2014766454391841020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387544033,"filename":"image_29112025_04_34_14_10216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dad2ce7899bcb36bf60efc9f946a2d3c.jpg","text":"TemporaryFile(/tmp/multipartBody2144107365800952403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387544033,"filename":"image_29112025_04_33_34_9160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eafdc195821f2355036ce14da75b9c1c.jpg","text":"TemporaryFile(/tmp/multipartBody2115528731705345527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387544033,"filename":"image_29112025_04_34_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/11/29/8d65584de145e41cf322bd6a9052a278.jpg","text":"TemporaryFile(/tmp/multipartBody5962603464420629096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387544033,"filename":"image_29112025_04_33_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/11/29/c0aeef3f83c8bf296d2dfa183822c5a8.jpg","text":"TemporaryFile(/tmp/multipartBody5407965339730099490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387544033,"filename":"image_29112025_04_33_25_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5653b0ddcbdf2c62361b3402fd1670c0.jpg","text":"TemporaryFile(/tmp/multipartBody7044914027502241454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387544033,"filename":"image_29112025_04_33_54_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396818982","file1":"1396818980","file0":"1396818976","file4":"1396818986","file5":"1396818989","file3":"1396818984"},"map_files_photo_id_array":[{"photo_id":"1396818989","filename":"file5"},{"photo_id":"1396818982","filename":"file2"},{"photo_id":"1396818986","filename":"file4"},{"photo_id":"1396818980","filename":"file1"},{"photo_id":"1396818976","filename":"file0"},{"photo_id":"1396818984","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396818989":["hashtag1","hashtag2"]},{"1396818980":["hashtag1","hashtag2"]},{"1396818986":["hashtag1","hashtag2"]},{"1396818982":["hashtag1","hashtag2"]},{"1396818976":["hashtag1","hashtag2"]},{"1396818984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396818989, 1396818980, 1396818986, 1396818982, 1396818976, 1396818984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33677124977112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:38:42.779696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_37_2765.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_40_2608.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_44_3564.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_47_2854.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_49_2630.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_53_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_37_2765.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_40_2608.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_44_3564.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_47_2854.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_49_2630.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_53_3534.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9438502788543701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:39:02.771387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/34/image_29112025_04_34_24_9658.jpg', '/home/pi/Desktop/images/29112025/04/34/image_29112025_04_34_35_10578.jpg', '/home/pi/Desktop/images/29112025/04/34/image_29112025_04_34_44_9805.jpg', '/home/pi/Desktop/images/29112025/04/34/image_29112025_04_34_54_9705.jpg', '/home/pi/Desktop/images/29112025/04/34/image_29112025_04_35_04_9740.jpg', '/home/pi/Desktop/images/29112025/04/35/image_29112025_04_35_15_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/34/image_29112025_04_34_24_9658.jpg
/home/pi/Desktop/images/29112025/04/34/image_29112025_04_34_35_10578.jpg
/home/pi/Desktop/images/29112025/04/34/image_29112025_04_34_44_9805.jpg
/home/pi/Desktop/images/29112025/04/34/image_29112025_04_34_54_9705.jpg
/home/pi/Desktop/images/29112025/04/34/image_29112025_04_35_04_9740.jpg
/home/pi/Desktop/images/29112025/04/35/image_29112025_04_35_15_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":["1396819005","1396819008","1396819013","1396819007","1396819010","1396819006"],"photo_ids_order":["1396819005","1396819006","1396819007","1396819008","1396819010","1396819013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc2654ebffa377436e434ef1663d9140.jpg","text":"TemporaryFile(/tmp/multipartBody7484947563608690725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387603698,"filename":"image_29112025_04_34_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/11/29/5434c3f6d607026e2e37369fe7229d9e.jpg","text":"TemporaryFile(/tmp/multipartBody6480218161539846052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387603698,"filename":"image_29112025_04_34_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/11/29/9540e3d3c5ae0e3476b2dd6a791262ea.jpg","text":"TemporaryFile(/tmp/multipartBody5618859354212408226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387603698,"filename":"image_29112025_04_35_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/11/29/f1d1c8d4c7a583806ae286ff2590e0bf.jpg","text":"TemporaryFile(/tmp/multipartBody8265472483892108063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387603698,"filename":"image_29112025_04_34_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/11/29/cd1d46b39618c8434fd6e8b91d722ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1293831304392871219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387603698,"filename":"image_29112025_04_35_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/11/29/c0704a53dc34e60c69b15eb98f6c19e5.jpg","text":"TemporaryFile(/tmp/multipartBody5796181240539817216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387603698,"filename":"image_29112025_04_34_35_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819007","file1":"1396819006","file0":"1396819005","file4":"1396819010","file5":"1396819013","file3":"1396819008"},"map_files_photo_id_array":[{"photo_id":"1396819013","filename":"file5"},{"photo_id":"1396819007","filename":"file2"},{"photo_id":"1396819010","filename":"file4"},{"photo_id":"1396819006","filename":"file1"},{"photo_id":"1396819005","filename":"file0"},{"photo_id":"1396819008","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819005":["hashtag1","hashtag2"]},{"1396819008":["hashtag1","hashtag2"]},{"1396819013":["hashtag1","hashtag2"]},{"1396819007":["hashtag1","hashtag2"]},{"1396819010":["hashtag1","hashtag2"]},{"1396819006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819005, 1396819008, 1396819013, 1396819007, 1396819010, 1396819006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73235821723938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:39:41.967621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_37_2765.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_40_2608.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_44_3564.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_47_2854.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_49_2630.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_53_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_37_2765.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_40_2608.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_44_3564.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_47_2854.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_49_2630.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_53_3534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819031","1396819025","1396819022","1396819027","1396819029","1396819020"],"photo_ids_order":["1396819020","1396819022","1396819025","1396819027","1396819029","1396819031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78492239790c5e4c44653e5c8d3054a5.jpg","text":"TemporaryFile(/tmp/multipartBody4322811966203219357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387642878,"filename":"image_31102025_08_38_53_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d96df42f50d3c010a1c360b7d3e8a186.jpg","text":"TemporaryFile(/tmp/multipartBody1785247470604310106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387642878,"filename":"image_31102025_08_38_44_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ddd6f39fbf2bf3823b2b289886f01c2.jpg","text":"TemporaryFile(/tmp/multipartBody4216827625832521676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387642878,"filename":"image_31102025_08_38_40_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f33cc012d3804abfcfe85f6b8dd44bf.jpg","text":"TemporaryFile(/tmp/multipartBody7923908032130673163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387642878,"filename":"image_31102025_08_38_47_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ab1ab3c8dfa3192673ea37685c156b0.jpg","text":"TemporaryFile(/tmp/multipartBody5182479783153114282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387642878,"filename":"image_31102025_08_38_49_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2bf8d215679e5f2d5f1af7b0fd14f27.jpg","text":"TemporaryFile(/tmp/multipartBody3575851382225428579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387642878,"filename":"image_31102025_08_38_37_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819025","file1":"1396819022","file0":"1396819020","file4":"1396819029","file5":"1396819031","file3":"1396819027"},"map_files_photo_id_array":[{"photo_id":"1396819031","filename":"file5"},{"photo_id":"1396819025","filename":"file2"},{"photo_id":"1396819029","filename":"file4"},{"photo_id":"1396819022","filename":"file1"},{"photo_id":"1396819020","filename":"file0"},{"photo_id":"1396819027","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396819031":["hashtag1","hashtag2"]},{"1396819025":["hashtag1","hashtag2"]},{"1396819022":["hashtag1","hashtag2"]},{"1396819027":["hashtag1","hashtag2"]},{"1396819029":["hashtag1","hashtag2"]},{"1396819020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396819031, 1396819025, 1396819022, 1396819027, 1396819029, 1396819020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.024697065353394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:40:22.144581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/35/image_29112025_04_35_24_9787.jpg', '/home/pi/Desktop/images/29112025/04/35/image_29112025_04_35_34_9976.jpg', '/home/pi/Desktop/images/29112025/04/35/image_29112025_04_35_44_9772.jpg', '/home/pi/Desktop/images/29112025/04/35/image_29112025_04_35_55_10479.jpg', '/home/pi/Desktop/images/29112025/04/35/image_29112025_04_36_05_9981.jpg', '/home/pi/Desktop/images/29112025/04/36/image_29112025_04_36_14_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/35/image_29112025_04_35_24_9787.jpg
/home/pi/Desktop/images/29112025/04/35/image_29112025_04_35_34_9976.jpg
/home/pi/Desktop/images/29112025/04/35/image_29112025_04_35_44_9772.jpg
/home/pi/Desktop/images/29112025/04/35/image_29112025_04_35_55_10479.jpg
/home/pi/Desktop/images/29112025/04/35/image_29112025_04_36_05_9981.jpg
/home/pi/Desktop/images/29112025/04/36/image_29112025_04_36_14_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819046","1396819040","1396819037","1396819042","1396819035","1396819044"],"photo_ids_order":["1396819035","1396819037","1396819040","1396819042","1396819044","1396819046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cf85478879bdb499aa37ef1b243477c.jpg","text":"TemporaryFile(/tmp/multipartBody8496341469575826382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387682880,"filename":"image_29112025_04_36_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/11/29/321f9dc2b77befd11ae5d7178901cd55.jpg","text":"TemporaryFile(/tmp/multipartBody1888408099513474470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387682880,"filename":"image_29112025_04_35_44_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5eb5617c3dd8cb318d1c5a60696de65b.jpg","text":"TemporaryFile(/tmp/multipartBody1879439227758549795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387682880,"filename":"image_29112025_04_35_34_9976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a490cf3722edd50bf023fedf1a27df9b.jpg","text":"TemporaryFile(/tmp/multipartBody6838601461266607346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387682880,"filename":"image_29112025_04_35_55_10479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12dbf74f3baedd74e9637c5579f2cf28.jpg","text":"TemporaryFile(/tmp/multipartBody6755421120916862474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387682880,"filename":"image_29112025_04_35_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/11/29/a045050ff8ec0f7a1c0ef5d625de78ab.jpg","text":"TemporaryFile(/tmp/multipartBody5226318515348602617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387682880,"filename":"image_29112025_04_36_05_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819040","file1":"1396819037","file0":"1396819035","file4":"1396819044","file5":"1396819046","file3":"1396819042"},"map_files_photo_id_array":[{"photo_id":"1396819046","filename":"file5"},{"photo_id":"1396819040","filename":"file2"},{"photo_id":"1396819044","filename":"file4"},{"photo_id":"1396819037","filename":"file1"},{"photo_id":"1396819035","filename":"file0"},{"photo_id":"1396819042","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819046":["hashtag1","hashtag2"]},{"1396819040":["hashtag1","hashtag2"]},{"1396819037":["hashtag1","hashtag2"]},{"1396819042":["hashtag1","hashtag2"]},{"1396819035":["hashtag1","hashtag2"]},{"1396819044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819046, 1396819040, 1396819037, 1396819042, 1396819035, 1396819044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10080170631409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:41:03.001157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/36/image_29112025_04_36_24_9863.jpg', '/home/pi/Desktop/images/29112025/04/36/image_29112025_04_36_34_9654.jpg', '/home/pi/Desktop/images/29112025/04/36/image_29112025_04_36_44_10696.jpg', '/home/pi/Desktop/images/29112025/04/36/image_29112025_04_36_54_9670.jpg', '/home/pi/Desktop/images/29112025/04/36/image_29112025_04_37_04_9739.jpg', '/home/pi/Desktop/images/29112025/04/37/image_29112025_04_37_15_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/36/image_29112025_04_36_24_9863.jpg
/home/pi/Desktop/images/29112025/04/36/image_29112025_04_36_34_9654.jpg
/home/pi/Desktop/images/29112025/04/36/image_29112025_04_36_44_10696.jpg
/home/pi/Desktop/images/29112025/04/36/image_29112025_04_36_54_9670.jpg
/home/pi/Desktop/images/29112025/04/36/image_29112025_04_37_04_9739.jpg
/home/pi/Desktop/images/29112025/04/37/image_29112025_04_37_15_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":["1396819052","1396819055","1396819060","1396819054","1396819057","1396819053"],"photo_ids_order":["1396819052","1396819053","1396819054","1396819055","1396819057","1396819060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1fdae446141400cd2ec0ada931f8947c.jpg","text":"TemporaryFile(/tmp/multipartBody3318826092399952260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387723797,"filename":"image_29112025_04_36_24_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90a49c69526431db4d2492638599a721.jpg","text":"TemporaryFile(/tmp/multipartBody6141467511337864918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387723797,"filename":"image_29112025_04_36_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e5c32e00bc0f30cd1fabe50be094c42.jpg","text":"TemporaryFile(/tmp/multipartBody4018411796162513001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387723797,"filename":"image_29112025_04_37_15_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c73efce1a529c85d4cd0cab289f72ee.jpg","text":"TemporaryFile(/tmp/multipartBody8864902457829048171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387723797,"filename":"image_29112025_04_36_44_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ca4ccda18df9b5089c674e613bf26aa.jpg","text":"TemporaryFile(/tmp/multipartBody6040739886736073680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387723797,"filename":"image_29112025_04_37_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/11/29/82695d4c88fd49b95ee32ea37d36eae3.jpg","text":"TemporaryFile(/tmp/multipartBody34239217691828554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387723797,"filename":"image_29112025_04_36_34_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819054","file1":"1396819053","file0":"1396819052","file4":"1396819057","file5":"1396819060","file3":"1396819055"},"map_files_photo_id_array":[{"photo_id":"1396819060","filename":"file5"},{"photo_id":"1396819054","filename":"file2"},{"photo_id":"1396819057","filename":"file4"},{"photo_id":"1396819053","filename":"file1"},{"photo_id":"1396819052","filename":"file0"},{"photo_id":"1396819055","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819052":["hashtag1","hashtag2"]},{"1396819055":["hashtag1","hashtag2"]},{"1396819060":["hashtag1","hashtag2"]},{"1396819054":["hashtag1","hashtag2"]},{"1396819057":["hashtag1","hashtag2"]},{"1396819053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819052, 1396819055, 1396819060, 1396819054, 1396819057, 1396819053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21810507774353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:41:42.321685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_55_2580.jpg', '/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_58_2623.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_02_3636.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_04_2532.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_07_2733.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_11_3785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_55_2580.jpg
/home/pi/Desktop/images/31102025/08/38/image_31102025_08_38_58_2623.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_02_3636.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_04_2532.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_07_2733.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_11_3785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819082","1396819067","1396819069","1396819078","1396819063","1396819065"],"photo_ids_order":["1396819063","1396819065","1396819067","1396819069","1396819078","1396819082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8092318f8f414f8bede416c523d40599.jpg","text":"TemporaryFile(/tmp/multipartBody4183611982674182484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387763412,"filename":"image_31102025_08_39_11_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9088ab26683bc6f1254b4ff2761c1f04.jpg","text":"TemporaryFile(/tmp/multipartBody2454030367100329410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387763412,"filename":"image_31102025_08_39_02_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3f3732e0d360b2518e65c0d23aa8511.jpg","text":"TemporaryFile(/tmp/multipartBody5015851690545056794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387763412,"filename":"image_31102025_08_39_04_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b729bd5cf478e6fd5635a2a91101451.jpg","text":"TemporaryFile(/tmp/multipartBody707872190509066953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387763412,"filename":"image_31102025_08_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/11/29/8b5a40076513d5a09d4fb9ecc4e96522.jpg","text":"TemporaryFile(/tmp/multipartBody3202537426958433759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387763412,"filename":"image_31102025_08_38_55_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7ac442b2c1b9012b03b0ebb522d8c46.jpg","text":"TemporaryFile(/tmp/multipartBody5615852223670002286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387763412,"filename":"image_31102025_08_38_58_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819067","file1":"1396819065","file0":"1396819063","file4":"1396819078","file5":"1396819082","file3":"1396819069"},"map_files_photo_id_array":[{"photo_id":"1396819082","filename":"file5"},{"photo_id":"1396819067","filename":"file2"},{"photo_id":"1396819078","filename":"file4"},{"photo_id":"1396819065","filename":"file1"},{"photo_id":"1396819063","filename":"file0"},{"photo_id":"1396819069","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396819082":["hashtag1","hashtag2"]},{"1396819067":["hashtag1","hashtag2"]},{"1396819069":["hashtag1","hashtag2"]},{"1396819078":["hashtag1","hashtag2"]},{"1396819063":["hashtag1","hashtag2"]},{"1396819065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396819082, 1396819067, 1396819069, 1396819078, 1396819063, 1396819065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82535147666931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:42:22.468799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/37/image_29112025_04_37_24_9642.jpg', '/home/pi/Desktop/images/29112025/04/37/image_29112025_04_37_34_9796.jpg', '/home/pi/Desktop/images/29112025/04/37/image_29112025_04_37_44_9651.jpg', '/home/pi/Desktop/images/29112025/04/37/image_29112025_04_37_54_10633.jpg', '/home/pi/Desktop/images/29112025/04/37/image_29112025_04_38_04_9735.jpg', '/home/pi/Desktop/images/29112025/04/38/image_29112025_04_38_25_10827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/37/image_29112025_04_37_24_9642.jpg
/home/pi/Desktop/images/29112025/04/37/image_29112025_04_37_34_9796.jpg
/home/pi/Desktop/images/29112025/04/37/image_29112025_04_37_44_9651.jpg
/home/pi/Desktop/images/29112025/04/37/image_29112025_04_37_54_10633.jpg
/home/pi/Desktop/images/29112025/04/37/image_29112025_04_38_04_9735.jpg
/home/pi/Desktop/images/29112025/04/38/image_29112025_04_38_25_10827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819124","1396819096","1396819135","1396819131","1396819140","1396819137"],"photo_ids_order":["1396819096","1396819124","1396819131","1396819135","1396819137","1396819140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed5ff15fbf11d2228d1bcd218358c511.jpg","text":"TemporaryFile(/tmp/multipartBody1202058536453341588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387803226,"filename":"image_29112025_04_37_34_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbdb1d2999962138006f95ffb22a287c.jpg","text":"TemporaryFile(/tmp/multipartBody160876901029512756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387803226,"filename":"image_29112025_04_37_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/11/29/fbaf4ccf0c9abc869e54bc2f6888f763.jpg","text":"TemporaryFile(/tmp/multipartBody274374542617327104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387803226,"filename":"image_29112025_04_37_54_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b1ed0ef496d336a3ae077e7db123c4f.jpg","text":"TemporaryFile(/tmp/multipartBody2809394715656995903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387803226,"filename":"image_29112025_04_37_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/11/29/52aff3d0d253848ac8aefa30556601db.jpg","text":"TemporaryFile(/tmp/multipartBody5777883286337702007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387803226,"filename":"image_29112025_04_38_25_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2405aafe15fffb19dfc0462c93cc39d5.jpg","text":"TemporaryFile(/tmp/multipartBody73844819900578157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387803226,"filename":"image_29112025_04_38_04_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819131","file1":"1396819124","file0":"1396819096","file4":"1396819137","file5":"1396819140","file3":"1396819135"},"map_files_photo_id_array":[{"photo_id":"1396819140","filename":"file5"},{"photo_id":"1396819131","filename":"file2"},{"photo_id":"1396819137","filename":"file4"},{"photo_id":"1396819124","filename":"file1"},{"photo_id":"1396819096","filename":"file0"},{"photo_id":"1396819135","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819124":["hashtag1","hashtag2"]},{"1396819096":["hashtag1","hashtag2"]},{"1396819135":["hashtag1","hashtag2"]},{"1396819131":["hashtag1","hashtag2"]},{"1396819140":["hashtag1","hashtag2"]},{"1396819137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819124, 1396819096, 1396819135, 1396819131, 1396819140, 1396819137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13643169403076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:43:03.075446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/38/image_29112025_04_38_34_9704.jpg', '/home/pi/Desktop/images/29112025/04/38/image_29112025_04_38_44_9675.jpg', '/home/pi/Desktop/images/29112025/04/38/image_29112025_04_38_55_10700.jpg', '/home/pi/Desktop/images/29112025/04/38/image_29112025_04_39_04_9744.jpg', '/home/pi/Desktop/images/29112025/04/39/image_29112025_04_39_14_9646.jpg', '/home/pi/Desktop/images/29112025/04/39/image_29112025_04_39_24_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/38/image_29112025_04_38_34_9704.jpg
/home/pi/Desktop/images/29112025/04/38/image_29112025_04_38_44_9675.jpg
/home/pi/Desktop/images/29112025/04/38/image_29112025_04_38_55_10700.jpg
/home/pi/Desktop/images/29112025/04/38/image_29112025_04_39_04_9744.jpg
/home/pi/Desktop/images/29112025/04/39/image_29112025_04_39_14_9646.jpg
/home/pi/Desktop/images/29112025/04/39/image_29112025_04_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":["1396819151","1396819154","1396819148","1396819147","1396819146","1396819149"],"photo_ids_order":["1396819146","1396819147","1396819148","1396819149","1396819151","1396819154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bc1c1788aec45c880ea52c7f1b33bf5.jpg","text":"TemporaryFile(/tmp/multipartBody179994243023743703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387843897,"filename":"image_29112025_04_39_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/11/29/b6c37f44656884a9b652531914a0173b.jpg","text":"TemporaryFile(/tmp/multipartBody2821567709899294012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387843897,"filename":"image_29112025_04_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/11/29/073d5bddb5ed846f6e1651ec0463174e.jpg","text":"TemporaryFile(/tmp/multipartBody6588967906551171046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387843897,"filename":"image_29112025_04_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/11/29/857d1b2fb8c845482d108be807a95e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7280946145596400418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387843897,"filename":"image_29112025_04_38_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/11/29/3f7c90256f1563a36f4f03ef83de4234.jpg","text":"TemporaryFile(/tmp/multipartBody8977403279849431248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387843897,"filename":"image_29112025_04_38_34_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e761254385e8294a4b97f0415eee75c0.jpg","text":"TemporaryFile(/tmp/multipartBody9047268331231192999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387843897,"filename":"image_29112025_04_39_04_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819148","file1":"1396819147","file0":"1396819146","file4":"1396819151","file5":"1396819154","file3":"1396819149"},"map_files_photo_id_array":[{"photo_id":"1396819154","filename":"file5"},{"photo_id":"1396819148","filename":"file2"},{"photo_id":"1396819151","filename":"file4"},{"photo_id":"1396819147","filename":"file1"},{"photo_id":"1396819146","filename":"file0"},{"photo_id":"1396819149","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819151":["hashtag1","hashtag2"]},{"1396819154":["hashtag1","hashtag2"]},{"1396819148":["hashtag1","hashtag2"]},{"1396819147":["hashtag1","hashtag2"]},{"1396819146":["hashtag1","hashtag2"]},{"1396819149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819151, 1396819154, 1396819148, 1396819147, 1396819146, 1396819149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1053261756897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:43:42.861932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_13_2610.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_16_2851.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_19_2810.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_22_3606.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_25_2735.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_28_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_13_2610.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_16_2851.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_19_2810.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_22_3606.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_25_2735.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_28_2688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819169","1396819171","1396819162","1396819165","1396819173","1396819167"],"photo_ids_order":["1396819162","1396819165","1396819167","1396819169","1396819171","1396819173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4404fbc98e3a6c988fb41034b8c7539.jpg","text":"TemporaryFile(/tmp/multipartBody8755999196579883864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387883963,"filename":"image_31102025_08_39_22_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29e0d06c6a3d3b2e88735067b4dc994d.jpg","text":"TemporaryFile(/tmp/multipartBody8348493810929187405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387883963,"filename":"image_31102025_08_39_25_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c725b02bb70310a3bf591492f617429.jpg","text":"TemporaryFile(/tmp/multipartBody5456806247798819905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387883963,"filename":"image_31102025_08_39_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/11/29/15bcd832f41b151846d6134042f4cd2c.jpg","text":"TemporaryFile(/tmp/multipartBody4787889012788441386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387883963,"filename":"image_31102025_08_39_16_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1025a79b3877c4230ffea39a3c27803.jpg","text":"TemporaryFile(/tmp/multipartBody233385010140606574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387883963,"filename":"image_31102025_08_39_28_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d54915dc4881a22d70a16ce2ca181897.jpg","text":"TemporaryFile(/tmp/multipartBody7978139943311664095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387883963,"filename":"image_31102025_08_39_19_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819167","file1":"1396819165","file0":"1396819162","file4":"1396819171","file5":"1396819173","file3":"1396819169"},"map_files_photo_id_array":[{"photo_id":"1396819173","filename":"file5"},{"photo_id":"1396819167","filename":"file2"},{"photo_id":"1396819171","filename":"file4"},{"photo_id":"1396819165","filename":"file1"},{"photo_id":"1396819162","filename":"file0"},{"photo_id":"1396819169","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396819169":["hashtag1","hashtag2"]},{"1396819171":["hashtag1","hashtag2"]},{"1396819162":["hashtag1","hashtag2"]},{"1396819165":["hashtag1","hashtag2"]},{"1396819173":["hashtag1","hashtag2"]},{"1396819167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396819169, 1396819171, 1396819162, 1396819165, 1396819173, 1396819167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.758912563323975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:44:22.045045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/39/image_29112025_04_39_34_10784.jpg', '/home/pi/Desktop/images/29112025/04/39/image_29112025_04_39_44_9754.jpg', '/home/pi/Desktop/images/29112025/04/39/image_29112025_04_39_54_9751.jpg', '/home/pi/Desktop/images/29112025/04/39/image_29112025_04_40_04_9873.jpg', '/home/pi/Desktop/images/29112025/04/40/image_29112025_04_40_14_10575.jpg', '/home/pi/Desktop/images/29112025/04/40/image_29112025_04_40_24_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/39/image_29112025_04_39_34_10784.jpg
/home/pi/Desktop/images/29112025/04/39/image_29112025_04_39_44_9754.jpg
/home/pi/Desktop/images/29112025/04/39/image_29112025_04_39_54_9751.jpg
/home/pi/Desktop/images/29112025/04/39/image_29112025_04_40_04_9873.jpg
/home/pi/Desktop/images/29112025/04/40/image_29112025_04_40_14_10575.jpg
/home/pi/Desktop/images/29112025/04/40/image_29112025_04_40_24_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819196","1396819181","1396819186","1396819183","1396819176","1396819191"],"photo_ids_order":["1396819176","1396819181","1396819183","1396819186","1396819191","1396819196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e0a50c9ade91eb5c4bb6d57c53a663f.jpg","text":"TemporaryFile(/tmp/multipartBody7546352396801985051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387922765,"filename":"image_29112025_04_40_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1d6fa720fbeeb3faf0754b21e897395.jpg","text":"TemporaryFile(/tmp/multipartBody5751800453038617448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387922765,"filename":"image_29112025_04_39_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0121a3bba24632c11facb1ca68ef284.jpg","text":"TemporaryFile(/tmp/multipartBody8944358331851035314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387922765,"filename":"image_29112025_04_40_04_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/271d2b974b3c28189e5ce087eecf747a.jpg","text":"TemporaryFile(/tmp/multipartBody5726721518562498280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387922765,"filename":"image_29112025_04_39_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f240298cd291968b00494b563caea5d2.jpg","text":"TemporaryFile(/tmp/multipartBody1556091568125885530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387922765,"filename":"image_29112025_04_39_34_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05e9e92ce276eedfd1f2e4abb0ec9713.jpg","text":"TemporaryFile(/tmp/multipartBody4254292212101155596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387922765,"filename":"image_29112025_04_40_14_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819183","file1":"1396819181","file0":"1396819176","file4":"1396819191","file5":"1396819196","file3":"1396819186"},"map_files_photo_id_array":[{"photo_id":"1396819196","filename":"file5"},{"photo_id":"1396819183","filename":"file2"},{"photo_id":"1396819191","filename":"file4"},{"photo_id":"1396819181","filename":"file1"},{"photo_id":"1396819176","filename":"file0"},{"photo_id":"1396819186","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819196":["hashtag1","hashtag2"]},{"1396819181":["hashtag1","hashtag2"]},{"1396819186":["hashtag1","hashtag2"]},{"1396819183":["hashtag1","hashtag2"]},{"1396819176":["hashtag1","hashtag2"]},{"1396819191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819196, 1396819181, 1396819186, 1396819183, 1396819176, 1396819191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26159858703613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:45:03.157955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/40/image_29112025_04_40_34_9702.jpg', '/home/pi/Desktop/images/29112025/04/40/image_29112025_04_40_45_10746.jpg', '/home/pi/Desktop/images/29112025/04/40/image_29112025_04_40_54_9611.jpg', '/home/pi/Desktop/images/29112025/04/40/image_29112025_04_41_04_9613.jpg', '/home/pi/Desktop/images/29112025/04/41/image_29112025_04_41_14_9963.jpg', '/home/pi/Desktop/images/29112025/04/41/image_29112025_04_41_24_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/40/image_29112025_04_40_34_9702.jpg
/home/pi/Desktop/images/29112025/04/40/image_29112025_04_40_45_10746.jpg
/home/pi/Desktop/images/29112025/04/40/image_29112025_04_40_54_9611.jpg
/home/pi/Desktop/images/29112025/04/40/image_29112025_04_41_04_9613.jpg
/home/pi/Desktop/images/29112025/04/41/image_29112025_04_41_14_9963.jpg
/home/pi/Desktop/images/29112025/04/41/image_29112025_04_41_24_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":["1396819203","1396819205","1396819202","1396819204","1396819207","1396819209"],"photo_ids_order":["1396819202","1396819203","1396819204","1396819205","1396819207","1396819209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5f7a0b8a3c1109b65167038ea2f937b.jpg","text":"TemporaryFile(/tmp/multipartBody5605985294566688000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387963926,"filename":"image_29112025_04_40_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd25b0b480c05d528ac11e1ee56f2911.jpg","text":"TemporaryFile(/tmp/multipartBody468653538536900121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387963926,"filename":"image_29112025_04_41_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b46aa8f6f0b8481ecf78bf8d433262b.jpg","text":"TemporaryFile(/tmp/multipartBody4111829868954367485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387963926,"filename":"image_29112025_04_40_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7924ed0e413874ba80f6c6b2bd6405c4.jpg","text":"TemporaryFile(/tmp/multipartBody3833684750039518550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387963926,"filename":"image_29112025_04_40_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbe67b884be2f9cfbac76f37f2e57d34.jpg","text":"TemporaryFile(/tmp/multipartBody7184716741437247389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387963926,"filename":"image_29112025_04_41_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/11/29/605127f8d43419e9acf7d4030bf6eaf1.jpg","text":"TemporaryFile(/tmp/multipartBody6778774533673926532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764387963926,"filename":"image_29112025_04_41_24_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819204","file1":"1396819203","file0":"1396819202","file4":"1396819207","file5":"1396819209","file3":"1396819205"},"map_files_photo_id_array":[{"photo_id":"1396819209","filename":"file5"},{"photo_id":"1396819204","filename":"file2"},{"photo_id":"1396819207","filename":"file4"},{"photo_id":"1396819203","filename":"file1"},{"photo_id":"1396819202","filename":"file0"},{"photo_id":"1396819205","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819203":["hashtag1","hashtag2"]},{"1396819205":["hashtag1","hashtag2"]},{"1396819202":["hashtag1","hashtag2"]},{"1396819204":["hashtag1","hashtag2"]},{"1396819207":["hashtag1","hashtag2"]},{"1396819209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819203, 1396819205, 1396819202, 1396819204, 1396819207, 1396819209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56980490684509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:45:42.243917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_32_3695.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_34_2664.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_37_2629.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_40_3600.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_43_2697.jpg', '/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_46_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/08/39/image_31102025_08_39_32_3695.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_34_2664.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_37_2629.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_40_3600.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_43_2697.jpg
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_46_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":["1396819223","1396819226","1396819220","1396819228","1396819216","1396819231"],"photo_ids_order":["1396819216","1396819220","1396819223","1396819226","1396819228","1396819231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/048c6f491e3928863b8e0fd76401aaa2.jpg","text":"TemporaryFile(/tmp/multipartBody7421505302150621019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388003276,"filename":"image_31102025_08_39_37_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d7904708f9d7cbbbc8083ad2a4a7027.jpg","text":"TemporaryFile(/tmp/multipartBody1990648964801645798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388003276,"filename":"image_31102025_08_39_40_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15e4616041819e2a65359c6ad4b7e456.jpg","text":"TemporaryFile(/tmp/multipartBody3154604273907028306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388003276,"filename":"image_31102025_08_39_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/11/29/e85e12ea4fe734495005e7cc8e159d6f.jpg","text":"TemporaryFile(/tmp/multipartBody2375629154607612893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388003276,"filename":"image_31102025_08_39_43_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4eada5132f7bedd73b15b71a88670693.jpg","text":"TemporaryFile(/tmp/multipartBody6223100592306851541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388003276,"filename":"image_31102025_08_39_32_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a2064f58f3abac57f03065264156da2.jpg","text":"TemporaryFile(/tmp/multipartBody884054804581113948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388003276,"filename":"image_31102025_08_39_46_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819223","file1":"1396819220","file0":"1396819216","file4":"1396819228","file5":"1396819231","file3":"1396819226"},"map_files_photo_id_array":[{"photo_id":"1396819231","filename":"file5"},{"photo_id":"1396819223","filename":"file2"},{"photo_id":"1396819228","filename":"file4"},{"photo_id":"1396819220","filename":"file1"},{"photo_id":"1396819216","filename":"file0"},{"photo_id":"1396819226","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396819223":["hashtag1","hashtag2"]},{"1396819226":["hashtag1","hashtag2"]},{"1396819220":["hashtag1","hashtag2"]},{"1396819228":["hashtag1","hashtag2"]},{"1396819216":["hashtag1","hashtag2"]},{"1396819231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396819223, 1396819226, 1396819220, 1396819228, 1396819216, 1396819231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78282809257507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:46:22.355232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/41/image_29112025_04_41_34_9630.jpg', '/home/pi/Desktop/images/29112025/04/41/image_29112025_04_41_45_10552.jpg', '/home/pi/Desktop/images/29112025/04/41/image_29112025_04_41_54_9647.jpg', '/home/pi/Desktop/images/29112025/04/41/image_29112025_04_42_04_9796.jpg', '/home/pi/Desktop/images/29112025/04/42/image_29112025_04_42_14_9684.jpg', '/home/pi/Desktop/images/29112025/04/42/image_29112025_04_42_25_10809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/41/image_29112025_04_41_34_9630.jpg
/home/pi/Desktop/images/29112025/04/41/image_29112025_04_41_45_10552.jpg
/home/pi/Desktop/images/29112025/04/41/image_29112025_04_41_54_9647.jpg
/home/pi/Desktop/images/29112025/04/41/image_29112025_04_42_04_9796.jpg
/home/pi/Desktop/images/29112025/04/42/image_29112025_04_42_14_9684.jpg
/home/pi/Desktop/images/29112025/04/42/image_29112025_04_42_25_10809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819238","1396819235","1396819246","1396819240","1396819242","1396819236"],"photo_ids_order":["1396819235","1396819236","1396819238","1396819240","1396819242","1396819246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/faf9f6591f2ad78ce8ed0a9f4a50c2c5.jpg","text":"TemporaryFile(/tmp/multipartBody2629634475965354711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388043038,"filename":"image_29112025_04_41_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/11/29/1c54ce41df16dfd63e14a481340ad941.jpg","text":"TemporaryFile(/tmp/multipartBody9038313057169188798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388043038,"filename":"image_29112025_04_41_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5075244f673ef85cdfd76a6acf8fa24d.jpg","text":"TemporaryFile(/tmp/multipartBody8299324805355421889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388043038,"filename":"image_29112025_04_42_25_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c09a44bc43bc697364494ff25d75e74c.jpg","text":"TemporaryFile(/tmp/multipartBody306572427726745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388043038,"filename":"image_29112025_04_42_04_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb53a6073663dd899e61d0783cd1e1bd.jpg","text":"TemporaryFile(/tmp/multipartBody7871959189463543417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388043038,"filename":"image_29112025_04_42_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/11/29/f5c50283b36117a07098f2ccb77112e7.jpg","text":"TemporaryFile(/tmp/multipartBody6367587827088390351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388043038,"filename":"image_29112025_04_41_45_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819238","file1":"1396819236","file0":"1396819235","file4":"1396819242","file5":"1396819246","file3":"1396819240"},"map_files_photo_id_array":[{"photo_id":"1396819246","filename":"file5"},{"photo_id":"1396819238","filename":"file2"},{"photo_id":"1396819242","filename":"file4"},{"photo_id":"1396819236","filename":"file1"},{"photo_id":"1396819235","filename":"file0"},{"photo_id":"1396819240","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819238":["hashtag1","hashtag2"]},{"1396819235":["hashtag1","hashtag2"]},{"1396819246":["hashtag1","hashtag2"]},{"1396819240":["hashtag1","hashtag2"]},{"1396819242":["hashtag1","hashtag2"]},{"1396819236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819238, 1396819235, 1396819246, 1396819240, 1396819242, 1396819236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31800103187561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:47:03.253308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/42/image_29112025_04_42_34_9698.jpg', '/home/pi/Desktop/images/29112025/04/42/image_29112025_04_42_44_9616.jpg', '/home/pi/Desktop/images/29112025/04/42/image_29112025_04_42_55_10602.jpg', '/home/pi/Desktop/images/29112025/04/42/image_29112025_04_43_04_9748.jpg', '/home/pi/Desktop/images/29112025/04/43/image_29112025_04_43_14_9691.jpg', '/home/pi/Desktop/images/29112025/04/43/image_29112025_04_43_25_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/42/image_29112025_04_42_34_9698.jpg
/home/pi/Desktop/images/29112025/04/42/image_29112025_04_42_44_9616.jpg
/home/pi/Desktop/images/29112025/04/42/image_29112025_04_42_55_10602.jpg
/home/pi/Desktop/images/29112025/04/42/image_29112025_04_43_04_9748.jpg
/home/pi/Desktop/images/29112025/04/43/image_29112025_04_43_14_9691.jpg
/home/pi/Desktop/images/29112025/04/43/image_29112025_04_43_25_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819259","1396819261","1396819263","1396819257","1396819266","1396819260"],"photo_ids_order":["1396819257","1396819259","1396819260","1396819261","1396819263","1396819266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a76d32b5d556de6a686965f2a43875ba.jpg","text":"TemporaryFile(/tmp/multipartBody5146877914828527092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388084102,"filename":"image_29112025_04_42_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/11/29/be96eb0eb4273ae18ba34c4171ceb310.jpg","text":"TemporaryFile(/tmp/multipartBody2636196881906660650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388084102,"filename":"image_29112025_04_43_04_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/508b759560f75ba77cbff8ade6300d50.jpg","text":"TemporaryFile(/tmp/multipartBody4028703322117046333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388084102,"filename":"image_29112025_04_43_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5beff1046b413762e6be815bc366f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3945575611753431140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388084102,"filename":"image_29112025_04_42_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e100dc7208a79a2d04cf59ed27134eb9.jpg","text":"TemporaryFile(/tmp/multipartBody8741503131138973998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388084102,"filename":"image_29112025_04_43_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/11/29/a17701ca44efba2dda0b4a6301918837.jpg","text":"TemporaryFile(/tmp/multipartBody1587462311569595332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388084102,"filename":"image_29112025_04_42_55_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819260","file1":"1396819259","file0":"1396819257","file4":"1396819263","file5":"1396819266","file3":"1396819261"},"map_files_photo_id_array":[{"photo_id":"1396819266","filename":"file5"},{"photo_id":"1396819260","filename":"file2"},{"photo_id":"1396819263","filename":"file4"},{"photo_id":"1396819259","filename":"file1"},{"photo_id":"1396819257","filename":"file0"},{"photo_id":"1396819261","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819259":["hashtag1","hashtag2"]},{"1396819261":["hashtag1","hashtag2"]},{"1396819263":["hashtag1","hashtag2"]},{"1396819257":["hashtag1","hashtag2"]},{"1396819266":["hashtag1","hashtag2"]},{"1396819260":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819259, 1396819261, 1396819263, 1396819257, 1396819266, 1396819260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55011463165283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:47:42.644876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_49_3642.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_01_11397.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_08_6907.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_09_1667.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_11_1704.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_16_4613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/39/image_31102025_08_39_49_3642.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_01_11397.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_08_6907.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_09_1667.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_11_1704.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_16_4613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819301","1396819294","1396819273","1396819276","1396819278","1396819298"],"photo_ids_order":["1396819273","1396819276","1396819278","1396819294","1396819298","1396819301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f832f7801d2edf618216bb2910857cc.jpg","text":"TemporaryFile(/tmp/multipartBody2473693949971564337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388123688,"filename":"image_31102025_08_40_16_4613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99db302f12ab53c15cd9bf1f42d51888.jpg","text":"TemporaryFile(/tmp/multipartBody8679596237491092997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388123688,"filename":"image_31102025_08_40_09_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59d6c54eb3a6c7f19d5a3a3d3e7f3478.jpg","text":"TemporaryFile(/tmp/multipartBody2604243111037060743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388123688,"filename":"image_31102025_08_39_49_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/179a27b7ac0ff0cbad08f30ed4a0b640.jpg","text":"TemporaryFile(/tmp/multipartBody1268934384643093101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388123688,"filename":"image_31102025_08_40_01_11397.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30abb22aa3102ce10126f012e68605b7.jpg","text":"TemporaryFile(/tmp/multipartBody9171183591991988282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388123688,"filename":"image_31102025_08_40_08_6907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb5c3900a64d4fab8b7b81b962a14ba3.jpg","text":"TemporaryFile(/tmp/multipartBody6588889395341765571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388123688,"filename":"image_31102025_08_40_11_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819278","file1":"1396819276","file0":"1396819273","file4":"1396819298","file5":"1396819301","file3":"1396819294"},"map_files_photo_id_array":[{"photo_id":"1396819301","filename":"file5"},{"photo_id":"1396819278","filename":"file2"},{"photo_id":"1396819298","filename":"file4"},{"photo_id":"1396819276","filename":"file1"},{"photo_id":"1396819273","filename":"file0"},{"photo_id":"1396819294","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396819301":["hashtag1","hashtag2"]},{"1396819294":["hashtag1","hashtag2"]},{"1396819273":["hashtag1","hashtag2"]},{"1396819276":["hashtag1","hashtag2"]},{"1396819278":["hashtag1","hashtag2"]},{"1396819298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396819301, 1396819294, 1396819273, 1396819276, 1396819278, 1396819298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78118848800659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:48:25.322130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/43/image_29112025_04_43_34_9731.jpg', '/home/pi/Desktop/images/29112025/04/43/image_29112025_04_43_44_9605.jpg', '/home/pi/Desktop/images/29112025/04/43/image_29112025_04_43_55_10753.jpg', '/home/pi/Desktop/images/29112025/04/43/image_29112025_04_44_04_9744.jpg', '/home/pi/Desktop/images/29112025/04/44/image_29112025_04_44_14_9691.jpg', '/home/pi/Desktop/images/29112025/04/44/image_29112025_04_44_24_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/43/image_29112025_04_43_34_9731.jpg
/home/pi/Desktop/images/29112025/04/43/image_29112025_04_43_44_9605.jpg
/home/pi/Desktop/images/29112025/04/43/image_29112025_04_43_55_10753.jpg
/home/pi/Desktop/images/29112025/04/43/image_29112025_04_44_04_9744.jpg
/home/pi/Desktop/images/29112025/04/44/image_29112025_04_44_14_9691.jpg
/home/pi/Desktop/images/29112025/04/44/image_29112025_04_44_24_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":["1396819349","1396819340","1396819342","1396819336","1396819344","1396819347"],"photo_ids_order":["1396819336","1396819340","1396819342","1396819344","1396819347","1396819349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2a54c7f580ca6643627565ec08861a9.jpg","text":"TemporaryFile(/tmp/multipartBody6290266571457786134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388166053,"filename":"image_29112025_04_44_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a4c3789d5bc9fd9706fe7fb8eb2300a.jpg","text":"TemporaryFile(/tmp/multipartBody8638334950290384754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388166053,"filename":"image_29112025_04_43_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/082f23e6dc92e2aafd1b3130807b4711.jpg","text":"TemporaryFile(/tmp/multipartBody8762058471124813298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388166053,"filename":"image_29112025_04_43_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/11/29/8d376354503a4845ff7e813cd22c0704.jpg","text":"TemporaryFile(/tmp/multipartBody2938499964103654588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388166053,"filename":"image_29112025_04_43_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53057db7f8bd56bb14f987fd6203d471.jpg","text":"TemporaryFile(/tmp/multipartBody1956817966638038455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388166053,"filename":"image_29112025_04_44_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/11/29/f6b4dc3f61a0f1130fe692f84f2ddabc.jpg","text":"TemporaryFile(/tmp/multipartBody5707367201274928029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388166053,"filename":"image_29112025_04_44_14_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819342","file1":"1396819340","file0":"1396819336","file4":"1396819347","file5":"1396819349","file3":"1396819344"},"map_files_photo_id_array":[{"photo_id":"1396819349","filename":"file5"},{"photo_id":"1396819342","filename":"file2"},{"photo_id":"1396819347","filename":"file4"},{"photo_id":"1396819340","filename":"file1"},{"photo_id":"1396819336","filename":"file0"},{"photo_id":"1396819344","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819349":["hashtag1","hashtag2"]},{"1396819340":["hashtag1","hashtag2"]},{"1396819342":["hashtag1","hashtag2"]},{"1396819336":["hashtag1","hashtag2"]},{"1396819344":["hashtag1","hashtag2"]},{"1396819347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819349, 1396819340, 1396819342, 1396819336, 1396819344, 1396819347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22923040390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:49:03.138629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/44/image_29112025_04_44_35_10794.jpg', '/home/pi/Desktop/images/29112025/04/44/image_29112025_04_44_44_9633.jpg', '/home/pi/Desktop/images/29112025/04/44/image_29112025_04_44_54_9601.jpg', '/home/pi/Desktop/images/29112025/04/44/image_29112025_04_45_05_10666.jpg', '/home/pi/Desktop/images/29112025/04/45/image_29112025_04_45_14_9902.jpg', '/home/pi/Desktop/images/29112025/04/45/image_29112025_04_45_24_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/44/image_29112025_04_44_35_10794.jpg
/home/pi/Desktop/images/29112025/04/44/image_29112025_04_44_44_9633.jpg
/home/pi/Desktop/images/29112025/04/44/image_29112025_04_44_54_9601.jpg
/home/pi/Desktop/images/29112025/04/44/image_29112025_04_45_05_10666.jpg
/home/pi/Desktop/images/29112025/04/45/image_29112025_04_45_14_9902.jpg
/home/pi/Desktop/images/29112025/04/45/image_29112025_04_45_24_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":["1396819355","1396819363","1396819360","1396819354","1396819357","1396819356"],"photo_ids_order":["1396819354","1396819355","1396819356","1396819357","1396819360","1396819363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/796fe0fc6d1321c5b8187acdef677514.jpg","text":"TemporaryFile(/tmp/multipartBody6665001900467398355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388204065,"filename":"image_29112025_04_44_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/11/29/e73618791580d7f16c5c529f2b590465.jpg","text":"TemporaryFile(/tmp/multipartBody2830406686515388510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388204065,"filename":"image_29112025_04_45_24_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82e1629d0ef79e170b523a124052e243.jpg","text":"TemporaryFile(/tmp/multipartBody8917819080688916060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388204065,"filename":"image_29112025_04_45_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/11/29/67f3a69abdf9d642c09371639e749b1a.jpg","text":"TemporaryFile(/tmp/multipartBody433137627326064856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388204065,"filename":"image_29112025_04_44_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/11/29/31f542a719192e121707f89d02efe674.jpg","text":"TemporaryFile(/tmp/multipartBody9054672697112793536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388204065,"filename":"image_29112025_04_45_05_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6774a125a2c726c16b42551d4114029b.jpg","text":"TemporaryFile(/tmp/multipartBody8279318649497993054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388204065,"filename":"image_29112025_04_44_54_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819356","file1":"1396819355","file0":"1396819354","file4":"1396819360","file5":"1396819363","file3":"1396819357"},"map_files_photo_id_array":[{"photo_id":"1396819363","filename":"file5"},{"photo_id":"1396819356","filename":"file2"},{"photo_id":"1396819360","filename":"file4"},{"photo_id":"1396819355","filename":"file1"},{"photo_id":"1396819354","filename":"file0"},{"photo_id":"1396819357","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819355":["hashtag1","hashtag2"]},{"1396819363":["hashtag1","hashtag2"]},{"1396819360":["hashtag1","hashtag2"]},{"1396819354":["hashtag1","hashtag2"]},{"1396819357":["hashtag1","hashtag2"]},{"1396819356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819355, 1396819363, 1396819360, 1396819354, 1396819357, 1396819356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03160524368286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:49:42.050022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_28_12408.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_30_1659.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_31_1604.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_33_1999.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_35_1551.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_38_3185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_28_12408.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_30_1659.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_31_1604.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_33_1999.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_35_1551.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_38_3185.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819382","1396819376","1396819378","1396819380","1396819374","1396819371"],"photo_ids_order":["1396819371","1396819374","1396819376","1396819378","1396819380","1396819382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15558a94558cdef890b0d2af06529f11.jpg","text":"TemporaryFile(/tmp/multipartBody1151893494767779716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388243130,"filename":"image_31102025_08_40_38_3185.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71893343e5d3f862fe2a967f03db3022.jpg","text":"TemporaryFile(/tmp/multipartBody709487412607094440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388243130,"filename":"image_31102025_08_40_31_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3802a2e61b780759faf9b1ab46784b02.jpg","text":"TemporaryFile(/tmp/multipartBody5953762957826250252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388243130,"filename":"image_31102025_08_40_33_1999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7125789179a8d14d04b1640993665300.jpg","text":"TemporaryFile(/tmp/multipartBody7170015060264168962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388243130,"filename":"image_31102025_08_40_35_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5751e238641f4f0b4732ff93f3c7fd9.jpg","text":"TemporaryFile(/tmp/multipartBody6755951069014043379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388243130,"filename":"image_31102025_08_40_30_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08aabc3070712c9f2801ca371b56b515.jpg","text":"TemporaryFile(/tmp/multipartBody7673709299104205775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388243130,"filename":"image_31102025_08_40_28_12408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819376","file1":"1396819374","file0":"1396819371","file4":"1396819380","file5":"1396819382","file3":"1396819378"},"map_files_photo_id_array":[{"photo_id":"1396819382","filename":"file5"},{"photo_id":"1396819376","filename":"file2"},{"photo_id":"1396819380","filename":"file4"},{"photo_id":"1396819374","filename":"file1"},{"photo_id":"1396819371","filename":"file0"},{"photo_id":"1396819378","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396819382":["hashtag1","hashtag2"]},{"1396819376":["hashtag1","hashtag2"]},{"1396819378":["hashtag1","hashtag2"]},{"1396819380":["hashtag1","hashtag2"]},{"1396819374":["hashtag1","hashtag2"]},{"1396819371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396819382, 1396819376, 1396819378, 1396819380, 1396819374, 1396819371)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.802026987075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 04:50:32.215681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_16_2778.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_19_3668.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_22_2928.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_25_2577.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_29_3543.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_31_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_16_2778.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_19_3668.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_22_2928.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_25_2577.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_29_3543.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_31_2777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819404","1396819400","1396819390","1396819392","1396819395","1396819398"],"photo_ids_order":["1396819390","1396819392","1396819395","1396819398","1396819400","1396819404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1496cba0e76440a34cac222f3f665357.jpg","text":"TemporaryFile(/tmp/multipartBody8178470718948658195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388294446,"filename":"image_25112025_17_44_31_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e78d48d2e63abe24b80bd4e864f888ab.jpg","text":"TemporaryFile(/tmp/multipartBody532394124309218284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388294446,"filename":"image_25112025_17_44_29_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06652ad713b170862effcf1585d545bd.jpg","text":"TemporaryFile(/tmp/multipartBody757179255409790676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388294446,"filename":"image_25112025_17_44_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/11/29/0ed49420c30a30bb2429d1a8b3b2e786.jpg","text":"TemporaryFile(/tmp/multipartBody350271433709679742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388294446,"filename":"image_25112025_17_44_19_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/860a83137e63bfd52f155a800d87d403.jpg","text":"TemporaryFile(/tmp/multipartBody2005998173136814533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388294446,"filename":"image_25112025_17_44_22_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f62d5eeac4470f0bf52bc821ad1fc3c6.jpg","text":"TemporaryFile(/tmp/multipartBody4834769588556864442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388294446,"filename":"image_25112025_17_44_25_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819395","file1":"1396819392","file0":"1396819390","file4":"1396819400","file5":"1396819404","file3":"1396819398"},"map_files_photo_id_array":[{"photo_id":"1396819404","filename":"file5"},{"photo_id":"1396819395","filename":"file2"},{"photo_id":"1396819400","filename":"file4"},{"photo_id":"1396819392","filename":"file1"},{"photo_id":"1396819390","filename":"file0"},{"photo_id":"1396819398","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396819404":["hashtag1","hashtag2"]},{"1396819400":["hashtag1","hashtag2"]},{"1396819390":["hashtag1","hashtag2"]},{"1396819392":["hashtag1","hashtag2"]},{"1396819395":["hashtag1","hashtag2"]},{"1396819398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396819404, 1396819400, 1396819390, 1396819392, 1396819395, 1396819398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63946747779846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 04:51:12.310302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_34_2652.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_37_3553.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_40_2733.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_43_2745.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_47_3634.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_49_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_34_2652.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_37_3553.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_40_2733.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_43_2745.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_47_3634.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_49_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819422","1396819424","1396819418","1396819415","1396819420","1396819413"],"photo_ids_order":["1396819413","1396819415","1396819418","1396819420","1396819422","1396819424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b13829ea75692e70ea746c0cae5032d.jpg","text":"TemporaryFile(/tmp/multipartBody8129806064120793099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388334436,"filename":"image_25112025_17_44_47_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd9ab0d8d2bf25a01faa000ed0c0768a.jpg","text":"TemporaryFile(/tmp/multipartBody6761464014357556435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388334436,"filename":"image_25112025_17_44_49_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/306f7dd4754f9fe086dc716e7b9ec6a1.jpg","text":"TemporaryFile(/tmp/multipartBody8548167263695064659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388334436,"filename":"image_25112025_17_44_40_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8201930ca8ea5397e52fe930744b56c.jpg","text":"TemporaryFile(/tmp/multipartBody7606251431891845264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388334436,"filename":"image_25112025_17_44_37_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1ddaa7bf2cd88800f6714c1989f70e9.jpg","text":"TemporaryFile(/tmp/multipartBody7461806509077413325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388334436,"filename":"image_25112025_17_44_43_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9bf90214babf93dc69f86ccfcd3d887.jpg","text":"TemporaryFile(/tmp/multipartBody5121082331450542982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388334436,"filename":"image_25112025_17_44_34_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819418","file1":"1396819415","file0":"1396819413","file4":"1396819422","file5":"1396819424","file3":"1396819420"},"map_files_photo_id_array":[{"photo_id":"1396819424","filename":"file5"},{"photo_id":"1396819418","filename":"file2"},{"photo_id":"1396819422","filename":"file4"},{"photo_id":"1396819415","filename":"file1"},{"photo_id":"1396819413","filename":"file0"},{"photo_id":"1396819420","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396819422":["hashtag1","hashtag2"]},{"1396819424":["hashtag1","hashtag2"]},{"1396819418":["hashtag1","hashtag2"]},{"1396819415":["hashtag1","hashtag2"]},{"1396819420":["hashtag1","hashtag2"]},{"1396819413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396819422, 1396819424, 1396819418, 1396819415, 1396819420, 1396819413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15240240097046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:52:02.964456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/45/image_29112025_04_45_35_10583.jpg', '/home/pi/Desktop/images/29112025/04/45/image_29112025_04_45_44_9836.jpg', '/home/pi/Desktop/images/29112025/04/45/image_29112025_04_45_54_9717.jpg', '/home/pi/Desktop/images/29112025/04/45/image_29112025_04_46_04_9748.jpg', '/home/pi/Desktop/images/29112025/04/46/image_29112025_04_46_14_9834.jpg', '/home/pi/Desktop/images/29112025/04/46/image_29112025_04_46_24_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/45/image_29112025_04_45_35_10583.jpg
/home/pi/Desktop/images/29112025/04/45/image_29112025_04_45_44_9836.jpg
/home/pi/Desktop/images/29112025/04/45/image_29112025_04_45_54_9717.jpg
/home/pi/Desktop/images/29112025/04/45/image_29112025_04_46_04_9748.jpg
/home/pi/Desktop/images/29112025/04/46/image_29112025_04_46_14_9834.jpg
/home/pi/Desktop/images/29112025/04/46/image_29112025_04_46_24_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":["1396819433","1396819432","1396819435","1396819437","1396819440","1396819434"],"photo_ids_order":["1396819432","1396819433","1396819434","1396819435","1396819437","1396819440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64b736d247639b4cb7ba08379b8901a7.jpg","text":"TemporaryFile(/tmp/multipartBody8331901603359314521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388383689,"filename":"image_29112025_04_45_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/11/29/c2e408d55580c92a75ee2a52cc48146b.jpg","text":"TemporaryFile(/tmp/multipartBody4521070240681306255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388383689,"filename":"image_29112025_04_45_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/11/29/47400f0bf1737c0bfcc4e98a053d6f74.jpg","text":"TemporaryFile(/tmp/multipartBody2358954137604030858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388383689,"filename":"image_29112025_04_46_04_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/029736227d450f7cf9a9b12b402ceafb.jpg","text":"TemporaryFile(/tmp/multipartBody6519829732862633046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388383689,"filename":"image_29112025_04_46_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b825d9de20965ebfa2ad75fbd2fa46bf.jpg","text":"TemporaryFile(/tmp/multipartBody1549580018606480240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388383689,"filename":"image_29112025_04_46_24_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/962099d8388c105fb7ade4af03ac95ab.jpg","text":"TemporaryFile(/tmp/multipartBody5389827140744406651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388383689,"filename":"image_29112025_04_45_54_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819434","file1":"1396819433","file0":"1396819432","file4":"1396819437","file5":"1396819440","file3":"1396819435"},"map_files_photo_id_array":[{"photo_id":"1396819440","filename":"file5"},{"photo_id":"1396819434","filename":"file2"},{"photo_id":"1396819437","filename":"file4"},{"photo_id":"1396819433","filename":"file1"},{"photo_id":"1396819432","filename":"file0"},{"photo_id":"1396819435","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819433":["hashtag1","hashtag2"]},{"1396819432":["hashtag1","hashtag2"]},{"1396819435":["hashtag1","hashtag2"]},{"1396819437":["hashtag1","hashtag2"]},{"1396819440":["hashtag1","hashtag2"]},{"1396819434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819433, 1396819432, 1396819435, 1396819437, 1396819440, 1396819434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11226463317871 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:52:42.478372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_40_1727.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_42_1770.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_43_1692.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_45_1848.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_47_1699.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_51_4206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_40_1727.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_42_1770.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_43_1692.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_45_1848.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_47_1699.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_51_4206.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819457","1396819451","1396819459","1396819453","1396819455","1396819449"],"photo_ids_order":["1396819449","1396819451","1396819453","1396819455","1396819457","1396819459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d232177d3582ee440758382b614d89b.jpg","text":"TemporaryFile(/tmp/multipartBody3338035163758237533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388423552,"filename":"image_31102025_08_40_47_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e4255e92ac03634cc4908917412ef28.jpg","text":"TemporaryFile(/tmp/multipartBody7643669548294305034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388423552,"filename":"image_31102025_08_40_42_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e01f0b707d22ad6f67e5b3c977b58363.jpg","text":"TemporaryFile(/tmp/multipartBody7101115508370916776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388423552,"filename":"image_31102025_08_40_51_4206.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25ca1c3b18c43e0bc8db5014ca926513.jpg","text":"TemporaryFile(/tmp/multipartBody797689934635568207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388423552,"filename":"image_31102025_08_40_43_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b94519deb7240c1c212d14f47c6c3df.jpg","text":"TemporaryFile(/tmp/multipartBody1820752122538738535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388423552,"filename":"image_31102025_08_40_45_1848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29f999f83fd0d56ce14e02fdf4758f9a.jpg","text":"TemporaryFile(/tmp/multipartBody4125371839676106849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388423552,"filename":"image_31102025_08_40_40_1727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819453","file1":"1396819451","file0":"1396819449","file4":"1396819457","file5":"1396819459","file3":"1396819455"},"map_files_photo_id_array":[{"photo_id":"1396819459","filename":"file5"},{"photo_id":"1396819453","filename":"file2"},{"photo_id":"1396819457","filename":"file4"},{"photo_id":"1396819451","filename":"file1"},{"photo_id":"1396819449","filename":"file0"},{"photo_id":"1396819455","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396819457":["hashtag1","hashtag2"]},{"1396819451":["hashtag1","hashtag2"]},{"1396819459":["hashtag1","hashtag2"]},{"1396819453":["hashtag1","hashtag2"]},{"1396819455":["hashtag1","hashtag2"]},{"1396819449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396819457, 1396819451, 1396819459, 1396819453, 1396819455, 1396819449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70816898345947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:53:22.717491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/46/image_29112025_04_46_34_9752.jpg', '/home/pi/Desktop/images/29112025/04/46/image_29112025_04_46_44_9758.jpg', '/home/pi/Desktop/images/29112025/04/46/image_29112025_04_46_54_9859.jpg', '/home/pi/Desktop/images/29112025/04/46/image_29112025_04_47_04_10630.jpg', '/home/pi/Desktop/images/29112025/04/47/image_29112025_04_47_14_9608.jpg', '/home/pi/Desktop/images/29112025/04/47/image_29112025_04_47_25_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/46/image_29112025_04_46_34_9752.jpg
/home/pi/Desktop/images/29112025/04/46/image_29112025_04_46_44_9758.jpg
/home/pi/Desktop/images/29112025/04/46/image_29112025_04_46_54_9859.jpg
/home/pi/Desktop/images/29112025/04/46/image_29112025_04_47_04_10630.jpg
/home/pi/Desktop/images/29112025/04/47/image_29112025_04_47_14_9608.jpg
/home/pi/Desktop/images/29112025/04/47/image_29112025_04_47_25_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819466","1396819463","1396819471","1396819468","1396819473","1396819476"],"photo_ids_order":["1396819463","1396819466","1396819468","1396819471","1396819473","1396819476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f9e00cef0747f3f40b0568a71262ec9.jpg","text":"TemporaryFile(/tmp/multipartBody4972615001814817933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388463429,"filename":"image_29112025_04_46_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/11/29/cf5666949b954585786beece68c7d253.jpg","text":"TemporaryFile(/tmp/multipartBody8772436811125250171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388463429,"filename":"image_29112025_04_46_34_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0768414cd70b9cba2ba695ee65dd4a6a.jpg","text":"TemporaryFile(/tmp/multipartBody3391263884484349239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388463429,"filename":"image_29112025_04_47_04_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35fd56118891a7d419f3a3c8cc482bae.jpg","text":"TemporaryFile(/tmp/multipartBody8875536074308594912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388463429,"filename":"image_29112025_04_46_54_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8174a2dba549b87f3f5a4104c6b8c18.jpg","text":"TemporaryFile(/tmp/multipartBody677494929812993533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388463429,"filename":"image_29112025_04_47_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f586597aca0c1adb244a27e34f585e80.jpg","text":"TemporaryFile(/tmp/multipartBody1558033461684888343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388463429,"filename":"image_29112025_04_47_25_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819468","file1":"1396819466","file0":"1396819463","file4":"1396819473","file5":"1396819476","file3":"1396819471"},"map_files_photo_id_array":[{"photo_id":"1396819476","filename":"file5"},{"photo_id":"1396819468","filename":"file2"},{"photo_id":"1396819473","filename":"file4"},{"photo_id":"1396819466","filename":"file1"},{"photo_id":"1396819463","filename":"file0"},{"photo_id":"1396819471","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819466":["hashtag1","hashtag2"]},{"1396819463":["hashtag1","hashtag2"]},{"1396819471":["hashtag1","hashtag2"]},{"1396819468":["hashtag1","hashtag2"]},{"1396819473":["hashtag1","hashtag2"]},{"1396819476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819466, 1396819463, 1396819471, 1396819468, 1396819473, 1396819476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.399789571762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:54:03.574474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/47/image_29112025_04_47_34_9798.jpg', '/home/pi/Desktop/images/29112025/04/47/image_29112025_04_47_44_9708.jpg', '/home/pi/Desktop/images/29112025/04/47/image_29112025_04_47_54_10306.jpg', '/home/pi/Desktop/images/29112025/04/47/image_29112025_04_48_04_9810.jpg', '/home/pi/Desktop/images/29112025/04/48/image_29112025_04_48_14_9815.jpg', '/home/pi/Desktop/images/29112025/04/48/image_29112025_04_48_24_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/47/image_29112025_04_47_34_9798.jpg
/home/pi/Desktop/images/29112025/04/47/image_29112025_04_47_44_9708.jpg
/home/pi/Desktop/images/29112025/04/47/image_29112025_04_47_54_10306.jpg
/home/pi/Desktop/images/29112025/04/47/image_29112025_04_48_04_9810.jpg
/home/pi/Desktop/images/29112025/04/48/image_29112025_04_48_14_9815.jpg
/home/pi/Desktop/images/29112025/04/48/image_29112025_04_48_24_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":["1396819484","1396819483","1396819486","1396819491","1396819488","1396819485"],"photo_ids_order":["1396819483","1396819484","1396819485","1396819486","1396819488","1396819491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5875a4f15265cac815ec6a8d87fae17b.jpg","text":"TemporaryFile(/tmp/multipartBody5054155333886738936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388504393,"filename":"image_29112025_04_47_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/11/29/7235b3a335f41a43c9310f7f8ebc9b98.jpg","text":"TemporaryFile(/tmp/multipartBody9088033958575477337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388504393,"filename":"image_29112025_04_47_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/11/29/cda0ee1fafb134f2dacbfab0fde14a01.jpg","text":"TemporaryFile(/tmp/multipartBody8480496092250301032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388504393,"filename":"image_29112025_04_48_04_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50e93d06f7af97a19367b93574de088f.jpg","text":"TemporaryFile(/tmp/multipartBody2958586340214287752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388504393,"filename":"image_29112025_04_48_24_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86de00acd4eb1192bbae0b80d919eac9.jpg","text":"TemporaryFile(/tmp/multipartBody5897969616415150268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388504393,"filename":"image_29112025_04_48_14_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d284967b8d4f365b0434ed890dc87f82.jpg","text":"TemporaryFile(/tmp/multipartBody8469034408266004750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388504393,"filename":"image_29112025_04_47_54_10306.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819485","file1":"1396819484","file0":"1396819483","file4":"1396819488","file5":"1396819491","file3":"1396819486"},"map_files_photo_id_array":[{"photo_id":"1396819491","filename":"file5"},{"photo_id":"1396819485","filename":"file2"},{"photo_id":"1396819488","filename":"file4"},{"photo_id":"1396819484","filename":"file1"},{"photo_id":"1396819483","filename":"file0"},{"photo_id":"1396819486","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819484":["hashtag1","hashtag2"]},{"1396819483":["hashtag1","hashtag2"]},{"1396819486":["hashtag1","hashtag2"]},{"1396819491":["hashtag1","hashtag2"]},{"1396819488":["hashtag1","hashtag2"]},{"1396819485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819484, 1396819483, 1396819486, 1396819491, 1396819488, 1396819485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15663290023804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:54:42.899426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_53_1675.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_54_1689.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_56_1648.jpg', '/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_58_1776.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_02_4136.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_04_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_53_1675.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_54_1689.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_56_1648.jpg
/home/pi/Desktop/images/31102025/08/40/image_31102025_08_40_58_1776.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_02_4136.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_04_1605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819509","1396819503","1396819505","1396819498","1396819507","1396819501"],"photo_ids_order":["1396819498","1396819501","1396819503","1396819505","1396819507","1396819509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97fdb1ee4277fefd438e52bab0d9f674.jpg","text":"TemporaryFile(/tmp/multipartBody7539415841962914656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388543991,"filename":"image_31102025_08_41_04_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cba10019b34df612af62da7a5311fc5c.jpg","text":"TemporaryFile(/tmp/multipartBody3847041537975556791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388543991,"filename":"image_31102025_08_40_56_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/893b8d69727aeb99fae848b0472d0c64.jpg","text":"TemporaryFile(/tmp/multipartBody4704560983475261386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388543991,"filename":"image_31102025_08_40_58_1776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/653ed04c722cbdfdb249c17960e56eb6.jpg","text":"TemporaryFile(/tmp/multipartBody1352628065472946053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388543991,"filename":"image_31102025_08_40_53_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/036ee9dafa517d02f979641f3cd0b8c1.jpg","text":"TemporaryFile(/tmp/multipartBody512605305059660231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388543991,"filename":"image_31102025_08_41_02_4136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/895512f2edd373d30c83761618d6274c.jpg","text":"TemporaryFile(/tmp/multipartBody3052085923767994975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388543991,"filename":"image_31102025_08_40_54_1689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819503","file1":"1396819501","file0":"1396819498","file4":"1396819507","file5":"1396819509","file3":"1396819505"},"map_files_photo_id_array":[{"photo_id":"1396819509","filename":"file5"},{"photo_id":"1396819503","filename":"file2"},{"photo_id":"1396819507","filename":"file4"},{"photo_id":"1396819501","filename":"file1"},{"photo_id":"1396819498","filename":"file0"},{"photo_id":"1396819505","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396819509":["hashtag1","hashtag2"]},{"1396819503":["hashtag1","hashtag2"]},{"1396819505":["hashtag1","hashtag2"]},{"1396819498":["hashtag1","hashtag2"]},{"1396819507":["hashtag1","hashtag2"]},{"1396819501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396819509, 1396819503, 1396819505, 1396819498, 1396819507, 1396819501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72057914733887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:55:22.013444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/48/image_29112025_04_48_34_10671.jpg', '/home/pi/Desktop/images/29112025/04/48/image_29112025_04_48_44_9621.jpg', '/home/pi/Desktop/images/29112025/04/48/image_29112025_04_48_55_10627.jpg', '/home/pi/Desktop/images/29112025/04/48/image_29112025_04_49_04_9734.jpg', '/home/pi/Desktop/images/29112025/04/49/image_29112025_04_49_14_9606.jpg', '/home/pi/Desktop/images/29112025/04/49/image_29112025_04_49_25_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/48/image_29112025_04_48_34_10671.jpg
/home/pi/Desktop/images/29112025/04/48/image_29112025_04_48_44_9621.jpg
/home/pi/Desktop/images/29112025/04/48/image_29112025_04_48_55_10627.jpg
/home/pi/Desktop/images/29112025/04/48/image_29112025_04_49_04_9734.jpg
/home/pi/Desktop/images/29112025/04/49/image_29112025_04_49_14_9606.jpg
/home/pi/Desktop/images/29112025/04/49/image_29112025_04_49_25_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":["1396819521","1396819515","1396819523","1396819526","1396819518","1396819512"],"photo_ids_order":["1396819512","1396819515","1396819518","1396819521","1396819523","1396819526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1f57ccfbe40213805aa85ab9adfb3a8.jpg","text":"TemporaryFile(/tmp/multipartBody3289785869400586492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388582727,"filename":"image_29112025_04_49_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/11/29/20ef1837258f02b88b55f78b91bb5697.jpg","text":"TemporaryFile(/tmp/multipartBody7739627734390187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388582727,"filename":"image_29112025_04_48_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/11/29/16ecf1696fcb7959fa2d9873ae8b8c80.jpg","text":"TemporaryFile(/tmp/multipartBody3543709070060519550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388582727,"filename":"image_29112025_04_49_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c9d47f9f50998c03995c9f82b7a723b.jpg","text":"TemporaryFile(/tmp/multipartBody1843571737181998597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388582727,"filename":"image_29112025_04_49_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/11/29/bf6e1a4b6de83c264370ea0ecf3584a4.jpg","text":"TemporaryFile(/tmp/multipartBody5205760970817638530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388582727,"filename":"image_29112025_04_48_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/11/29/cf2ab13c8f9b734a6897c91b7ed1eb79.jpg","text":"TemporaryFile(/tmp/multipartBody8531770731787666278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388582727,"filename":"image_29112025_04_48_34_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819518","file1":"1396819515","file0":"1396819512","file4":"1396819523","file5":"1396819526","file3":"1396819521"},"map_files_photo_id_array":[{"photo_id":"1396819526","filename":"file5"},{"photo_id":"1396819518","filename":"file2"},{"photo_id":"1396819523","filename":"file4"},{"photo_id":"1396819515","filename":"file1"},{"photo_id":"1396819512","filename":"file0"},{"photo_id":"1396819521","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819521":["hashtag1","hashtag2"]},{"1396819515":["hashtag1","hashtag2"]},{"1396819523":["hashtag1","hashtag2"]},{"1396819526":["hashtag1","hashtag2"]},{"1396819518":["hashtag1","hashtag2"]},{"1396819512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819521, 1396819515, 1396819523, 1396819526, 1396819518, 1396819512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.407461643218994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:56:03.039622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/49/image_29112025_04_49_34_9797.jpg', '/home/pi/Desktop/images/29112025/04/49/image_29112025_04_49_44_9557.jpg', '/home/pi/Desktop/images/29112025/04/49/image_29112025_04_49_55_10662.jpg', '/home/pi/Desktop/images/29112025/04/49/image_29112025_04_50_04_9687.jpg', '/home/pi/Desktop/images/29112025/04/50/image_29112025_04_50_14_9641.jpg', '/home/pi/Desktop/images/29112025/04/50/image_29112025_04_50_24_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/49/image_29112025_04_49_34_9797.jpg
/home/pi/Desktop/images/29112025/04/49/image_29112025_04_49_44_9557.jpg
/home/pi/Desktop/images/29112025/04/49/image_29112025_04_49_55_10662.jpg
/home/pi/Desktop/images/29112025/04/49/image_29112025_04_50_04_9687.jpg
/home/pi/Desktop/images/29112025/04/50/image_29112025_04_50_14_9641.jpg
/home/pi/Desktop/images/29112025/04/50/image_29112025_04_50_24_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":["1396819580","1396819553","1396819582","1396819576","1396819585","1396819548"],"photo_ids_order":["1396819548","1396819553","1396819576","1396819580","1396819582","1396819585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/100af4092971cbd9618a65535bf0fdda.jpg","text":"TemporaryFile(/tmp/multipartBody6605928492577892489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388623805,"filename":"image_29112025_04_50_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90f0f8b807a4fb24642d3bfb873e1cd0.jpg","text":"TemporaryFile(/tmp/multipartBody206274157350618460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388623805,"filename":"image_29112025_04_49_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/11/29/51f1e4843d8473958b8d14bd56713af7.jpg","text":"TemporaryFile(/tmp/multipartBody7583082380172259300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388623805,"filename":"image_29112025_04_50_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0931dba10d1009ddbaf47eeb942447b5.jpg","text":"TemporaryFile(/tmp/multipartBody2274648938175555372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388623805,"filename":"image_29112025_04_49_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/11/29/7b9779e4649374fdd7d2bcdacfbc924f.jpg","text":"TemporaryFile(/tmp/multipartBody2619266587557497889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388623805,"filename":"image_29112025_04_50_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/11/29/cd2e430de8ac5cfd37ee05dc4cc830b1.jpg","text":"TemporaryFile(/tmp/multipartBody3078732049794702613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388623805,"filename":"image_29112025_04_49_34_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819576","file1":"1396819553","file0":"1396819548","file4":"1396819582","file5":"1396819585","file3":"1396819580"},"map_files_photo_id_array":[{"photo_id":"1396819585","filename":"file5"},{"photo_id":"1396819576","filename":"file2"},{"photo_id":"1396819582","filename":"file4"},{"photo_id":"1396819553","filename":"file1"},{"photo_id":"1396819548","filename":"file0"},{"photo_id":"1396819580","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819580":["hashtag1","hashtag2"]},{"1396819553":["hashtag1","hashtag2"]},{"1396819582":["hashtag1","hashtag2"]},{"1396819576":["hashtag1","hashtag2"]},{"1396819585":["hashtag1","hashtag2"]},{"1396819548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819580, 1396819553, 1396819582, 1396819576, 1396819585, 1396819548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49764943122864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:56:42.559632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_05_1642.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_07_1521.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_08_1585.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_10_1494.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_14_3878.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_16_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_05_1642.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_07_1521.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_08_1585.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_10_1494.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_14_3878.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_16_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819602","1396819604","1396819606","1396819609","1396819599","1396819595"],"photo_ids_order":["1396819595","1396819599","1396819602","1396819604","1396819606","1396819609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0612768aef908f82211e67f6bfa39871.jpg","text":"TemporaryFile(/tmp/multipartBody8091200214396797941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388663593,"filename":"image_31102025_08_41_08_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8bf24bce1ac7bbfabbe7ecfbbd8cdda.jpg","text":"TemporaryFile(/tmp/multipartBody603584415155363813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388663593,"filename":"image_31102025_08_41_10_1494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25baeedc1e3c4c53fc53cffe7de66622.jpg","text":"TemporaryFile(/tmp/multipartBody5746037588542692830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388663593,"filename":"image_31102025_08_41_14_3878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0de11360c6cdb0fcaf338cfd9281ace3.jpg","text":"TemporaryFile(/tmp/multipartBody2689510056411710186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388663593,"filename":"image_31102025_08_41_16_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/815e9f6a6d867f096dc2da5e10f9b0a4.jpg","text":"TemporaryFile(/tmp/multipartBody8779258881142082812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388663593,"filename":"image_31102025_08_41_07_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dad0fa2fd38a34a04d4454130bf67608.jpg","text":"TemporaryFile(/tmp/multipartBody3658417455607863677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388663593,"filename":"image_31102025_08_41_05_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819602","file1":"1396819599","file0":"1396819595","file4":"1396819606","file5":"1396819609","file3":"1396819604"},"map_files_photo_id_array":[{"photo_id":"1396819609","filename":"file5"},{"photo_id":"1396819602","filename":"file2"},{"photo_id":"1396819606","filename":"file4"},{"photo_id":"1396819599","filename":"file1"},{"photo_id":"1396819595","filename":"file0"},{"photo_id":"1396819604","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396819602":["hashtag1","hashtag2"]},{"1396819604":["hashtag1","hashtag2"]},{"1396819606":["hashtag1","hashtag2"]},{"1396819609":["hashtag1","hashtag2"]},{"1396819599":["hashtag1","hashtag2"]},{"1396819595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396819602, 1396819604, 1396819606, 1396819609, 1396819599, 1396819595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90074968338013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 04:57:22.737059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/50/image_29112025_04_50_34_10674.jpg', '/home/pi/Desktop/images/29112025/04/50/image_29112025_04_50_44_9676.jpg', '/home/pi/Desktop/images/29112025/04/50/image_29112025_04_50_54_9650.jpg', '/home/pi/Desktop/images/29112025/04/50/image_29112025_04_51_04_10566.jpg', '/home/pi/Desktop/images/29112025/04/51/image_29112025_04_51_14_9652.jpg', '/home/pi/Desktop/images/29112025/04/51/image_29112025_04_51_25_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/50/image_29112025_04_50_34_10674.jpg
/home/pi/Desktop/images/29112025/04/50/image_29112025_04_50_44_9676.jpg
/home/pi/Desktop/images/29112025/04/50/image_29112025_04_50_54_9650.jpg
/home/pi/Desktop/images/29112025/04/50/image_29112025_04_51_04_10566.jpg
/home/pi/Desktop/images/29112025/04/51/image_29112025_04_51_14_9652.jpg
/home/pi/Desktop/images/29112025/04/51/image_29112025_04_51_25_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819613","1396819622","1396819616","1396819624","1396819627","1396819618"],"photo_ids_order":["1396819613","1396819616","1396819618","1396819622","1396819624","1396819627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ca88c8033ba0f7cebd34104b20264c6.jpg","text":"TemporaryFile(/tmp/multipartBody6146723967224217100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388703486,"filename":"image_29112025_04_50_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/11/29/4305160abec9e41f5bee8ae9df76fe7c.jpg","text":"TemporaryFile(/tmp/multipartBody8671617448711575707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388703486,"filename":"image_29112025_04_51_04_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48731aa835128b1d5512f3f7843a6d79.jpg","text":"TemporaryFile(/tmp/multipartBody2153669006900235309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388703486,"filename":"image_29112025_04_50_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f246384722edda360d92018d52bde6f.jpg","text":"TemporaryFile(/tmp/multipartBody6681764811994605859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388703486,"filename":"image_29112025_04_51_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/11/29/8779bc79ba444cb252138de71e12f466.jpg","text":"TemporaryFile(/tmp/multipartBody9218373614036511954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388703486,"filename":"image_29112025_04_51_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f9e43cb749e3b08e7d769a58e6e3cbe.jpg","text":"TemporaryFile(/tmp/multipartBody1755883909047003216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388703486,"filename":"image_29112025_04_50_54_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819618","file1":"1396819616","file0":"1396819613","file4":"1396819624","file5":"1396819627","file3":"1396819622"},"map_files_photo_id_array":[{"photo_id":"1396819627","filename":"file5"},{"photo_id":"1396819618","filename":"file2"},{"photo_id":"1396819624","filename":"file4"},{"photo_id":"1396819616","filename":"file1"},{"photo_id":"1396819613","filename":"file0"},{"photo_id":"1396819622","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819613":["hashtag1","hashtag2"]},{"1396819622":["hashtag1","hashtag2"]},{"1396819616":["hashtag1","hashtag2"]},{"1396819624":["hashtag1","hashtag2"]},{"1396819627":["hashtag1","hashtag2"]},{"1396819618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819613, 1396819622, 1396819616, 1396819624, 1396819627, 1396819618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03285050392151 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 04:59:03.281794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/51/image_29112025_04_51_34_9689.jpg', '/home/pi/Desktop/images/29112025/04/51/image_29112025_04_51_44_9661.jpg', '/home/pi/Desktop/images/29112025/04/51/image_29112025_04_51_55_10584.jpg', '/home/pi/Desktop/images/29112025/04/51/image_29112025_04_52_04_9838.jpg', '/home/pi/Desktop/images/29112025/04/52/image_29112025_04_52_14_9698.jpg', '/home/pi/Desktop/images/29112025/04/52/image_29112025_04_52_24_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/51/image_29112025_04_51_34_9689.jpg
/home/pi/Desktop/images/29112025/04/51/image_29112025_04_51_44_9661.jpg
/home/pi/Desktop/images/29112025/04/51/image_29112025_04_51_55_10584.jpg
/home/pi/Desktop/images/29112025/04/51/image_29112025_04_52_04_9838.jpg
/home/pi/Desktop/images/29112025/04/52/image_29112025_04_52_14_9698.jpg
/home/pi/Desktop/images/29112025/04/52/image_29112025_04_52_24_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396819700","1396819786","1396819904","1396819825","1396819866","1396819746"],"photo_ids_order":["1396819700","1396819746","1396819786","1396819825","1396819866","1396819904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7de6d50ac623871923a4759d8a232a9.jpg","text":"TemporaryFile(/tmp/multipartBody8136337164993448150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388804154,"filename":"image_29112025_04_51_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2048439447dc30e5d417d6598fd1de0.jpg","text":"TemporaryFile(/tmp/multipartBody4205858183139697652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388804154,"filename":"image_29112025_04_51_55_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fd2091f2fb58755c541b969dbdb004b.jpg","text":"TemporaryFile(/tmp/multipartBody5482260265470396977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388804154,"filename":"image_29112025_04_52_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/11/29/28161de4cbc2095ccfdef3b280af711e.jpg","text":"TemporaryFile(/tmp/multipartBody756237154085266314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388804154,"filename":"image_29112025_04_52_04_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b8ed939b72eb8596b4c0bf205d2bb78.jpg","text":"TemporaryFile(/tmp/multipartBody9023500954753313425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388804154,"filename":"image_29112025_04_52_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/11/29/390e8498149b61bd72f0936b848b6ece.jpg","text":"TemporaryFile(/tmp/multipartBody2234729147960943330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388804154,"filename":"image_29112025_04_51_44_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396819786","file1":"1396819746","file0":"1396819700","file4":"1396819866","file5":"1396819904","file3":"1396819825"},"map_files_photo_id_array":[{"photo_id":"1396819904","filename":"file5"},{"photo_id":"1396819786","filename":"file2"},{"photo_id":"1396819866","filename":"file4"},{"photo_id":"1396819746","filename":"file1"},{"photo_id":"1396819700","filename":"file0"},{"photo_id":"1396819825","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396819700":["hashtag1","hashtag2"]},{"1396819786":["hashtag1","hashtag2"]},{"1396819904":["hashtag1","hashtag2"]},{"1396819825":["hashtag1","hashtag2"]},{"1396819866":["hashtag1","hashtag2"]},{"1396819746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396819700, 1396819786, 1396819904, 1396819825, 1396819866, 1396819746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87949275970459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 04:59:42.230243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_19_2745.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_28_9201.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_30_1527.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_33_3504.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_35_1707.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_41_6303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_19_2745.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_28_9201.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_30_1527.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_33_3504.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_35_1707.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_41_6303.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396820078","1396820219","1396820132","1396820101","1396820038","1396820178"],"photo_ids_order":["1396820038","1396820078","1396820101","1396820132","1396820178","1396820219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/968ce5113521ca2f4fd5e8f8fa5603d8.jpg","text":"TemporaryFile(/tmp/multipartBody7462480671985453290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388843319,"filename":"image_31102025_08_41_28_9201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2925121ca686784d7bab6b1486b74248.jpg","text":"TemporaryFile(/tmp/multipartBody4390430489282789980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388843319,"filename":"image_31102025_08_41_41_6303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb18d5d9a6563fa5d1b3ef3b9321810b.jpg","text":"TemporaryFile(/tmp/multipartBody1422816328055614750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388843319,"filename":"image_31102025_08_41_33_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4c86f902b34107dd27c6379a8510137.jpg","text":"TemporaryFile(/tmp/multipartBody615929718239966026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388843319,"filename":"image_31102025_08_41_30_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60d20438418c40ac809437f3839d412a.jpg","text":"TemporaryFile(/tmp/multipartBody5972979711719955914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388843319,"filename":"image_31102025_08_41_19_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bfd8aadb8cf21e99d48eb250da454be.jpg","text":"TemporaryFile(/tmp/multipartBody3801587501157120801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388843319,"filename":"image_31102025_08_41_35_1707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396820101","file1":"1396820078","file0":"1396820038","file4":"1396820178","file5":"1396820219","file3":"1396820132"},"map_files_photo_id_array":[{"photo_id":"1396820219","filename":"file5"},{"photo_id":"1396820101","filename":"file2"},{"photo_id":"1396820178","filename":"file4"},{"photo_id":"1396820078","filename":"file1"},{"photo_id":"1396820038","filename":"file0"},{"photo_id":"1396820132","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396820078":["hashtag1","hashtag2"]},{"1396820219":["hashtag1","hashtag2"]},{"1396820132":["hashtag1","hashtag2"]},{"1396820101":["hashtag1","hashtag2"]},{"1396820038":["hashtag1","hashtag2"]},{"1396820178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396820078, 1396820219, 1396820132, 1396820101, 1396820038, 1396820178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.668431758880615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:00:22.405917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/52/image_29112025_04_52_34_10592.jpg', '/home/pi/Desktop/images/29112025/04/52/image_29112025_04_52_44_9576.jpg', '/home/pi/Desktop/images/29112025/04/52/image_29112025_04_52_54_9714.jpg', '/home/pi/Desktop/images/29112025/04/52/image_29112025_04_53_04_10644.jpg', '/home/pi/Desktop/images/29112025/04/53/image_29112025_04_53_14_9675.jpg', '/home/pi/Desktop/images/29112025/04/53/image_29112025_04_53_25_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/52/image_29112025_04_52_34_10592.jpg
/home/pi/Desktop/images/29112025/04/52/image_29112025_04_52_44_9576.jpg
/home/pi/Desktop/images/29112025/04/52/image_29112025_04_52_54_9714.jpg
/home/pi/Desktop/images/29112025/04/52/image_29112025_04_53_04_10644.jpg
/home/pi/Desktop/images/29112025/04/53/image_29112025_04_53_14_9675.jpg
/home/pi/Desktop/images/29112025/04/53/image_29112025_04_53_25_10536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396820733","1396820628","1396820668","1396820407","1396820487","1396820568"],"photo_ids_order":["1396820407","1396820487","1396820568","1396820628","1396820668","1396820733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a0f0a9f5229fa8640f132dc6b416fe4.jpg","text":"TemporaryFile(/tmp/multipartBody8610760427050085386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388883118,"filename":"image_29112025_04_53_25_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47006f7b4358c2a5b8e6e4e3f8749f3d.jpg","text":"TemporaryFile(/tmp/multipartBody738684003198032011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388883118,"filename":"image_29112025_04_53_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/11/29/2dcf364079b48d07e22bd4e3411a14f6.jpg","text":"TemporaryFile(/tmp/multipartBody7851317824227336226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388883118,"filename":"image_29112025_04_53_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/11/29/08adfec85353c0cf762eb6e6bd680580.jpg","text":"TemporaryFile(/tmp/multipartBody1615411227116702618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388883118,"filename":"image_29112025_04_52_34_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/262d4821eb740143372732cb6bf8abe6.jpg","text":"TemporaryFile(/tmp/multipartBody7882225054693755469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388883118,"filename":"image_29112025_04_52_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/11/29/91d2dcd9e48177863498d1e9d69af27e.jpg","text":"TemporaryFile(/tmp/multipartBody6262849696750328135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388883118,"filename":"image_29112025_04_52_54_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396820568","file1":"1396820487","file0":"1396820407","file4":"1396820668","file5":"1396820733","file3":"1396820628"},"map_files_photo_id_array":[{"photo_id":"1396820733","filename":"file5"},{"photo_id":"1396820568","filename":"file2"},{"photo_id":"1396820668","filename":"file4"},{"photo_id":"1396820487","filename":"file1"},{"photo_id":"1396820407","filename":"file0"},{"photo_id":"1396820628","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396820733":["hashtag1","hashtag2"]},{"1396820628":["hashtag1","hashtag2"]},{"1396820668":["hashtag1","hashtag2"]},{"1396820407":["hashtag1","hashtag2"]},{"1396820487":["hashtag1","hashtag2"]},{"1396820568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396820733, 1396820628, 1396820668, 1396820407, 1396820487, 1396820568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07725214958191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:01:03.266896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/53/image_29112025_04_53_34_9610.jpg', '/home/pi/Desktop/images/29112025/04/53/image_29112025_04_53_44_9640.jpg', '/home/pi/Desktop/images/29112025/04/53/image_29112025_04_53_54_10590.jpg', '/home/pi/Desktop/images/29112025/04/53/image_29112025_04_54_04_9705.jpg', '/home/pi/Desktop/images/29112025/04/54/image_29112025_04_54_35_9968.jpg', '/home/pi/Desktop/images/29112025/04/54/image_29112025_04_54_44_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/53/image_29112025_04_53_34_9610.jpg
/home/pi/Desktop/images/29112025/04/53/image_29112025_04_53_44_9640.jpg
/home/pi/Desktop/images/29112025/04/53/image_29112025_04_53_54_10590.jpg
/home/pi/Desktop/images/29112025/04/53/image_29112025_04_54_04_9705.jpg
/home/pi/Desktop/images/29112025/04/54/image_29112025_04_54_35_9968.jpg
/home/pi/Desktop/images/29112025/04/54/image_29112025_04_54_44_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":["1396820960","1396821008","1396820977","1396820935","1396820973","1396821048"],"photo_ids_order":["1396820935","1396820960","1396820973","1396820977","1396821008","1396821048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f193ad8a74a3452043829e90e14d2c97.jpg","text":"TemporaryFile(/tmp/multipartBody4385170608758039292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388924057,"filename":"image_29112025_04_53_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28a9440ef71f71e965d2e0c9e3747d49.jpg","text":"TemporaryFile(/tmp/multipartBody6375869006714407317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388924057,"filename":"image_29112025_04_54_35_9968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7e4e5a47cd770e5655aef0a0367cc0f.jpg","text":"TemporaryFile(/tmp/multipartBody6918907203410674137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388924057,"filename":"image_29112025_04_54_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/11/29/ab91f10aee455c4c6975df4cedd1fcc1.jpg","text":"TemporaryFile(/tmp/multipartBody1857370845744224770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388924057,"filename":"image_29112025_04_53_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/11/29/0825dd17100e418a54b30191c958fda6.jpg","text":"TemporaryFile(/tmp/multipartBody6132025318917054774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388924057,"filename":"image_29112025_04_53_54_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14358250aa6d9e23641f9a18fa29f610.jpg","text":"TemporaryFile(/tmp/multipartBody9209953206348551643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388924057,"filename":"image_29112025_04_54_44_9558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396820973","file1":"1396820960","file0":"1396820935","file4":"1396821008","file5":"1396821048","file3":"1396820977"},"map_files_photo_id_array":[{"photo_id":"1396821048","filename":"file5"},{"photo_id":"1396820973","filename":"file2"},{"photo_id":"1396821008","filename":"file4"},{"photo_id":"1396820960","filename":"file1"},{"photo_id":"1396820935","filename":"file0"},{"photo_id":"1396820977","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396820960":["hashtag1","hashtag2"]},{"1396821008":["hashtag1","hashtag2"]},{"1396820977":["hashtag1","hashtag2"]},{"1396820935":["hashtag1","hashtag2"]},{"1396820973":["hashtag1","hashtag2"]},{"1396821048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396820960, 1396821008, 1396820977, 1396820935, 1396820973, 1396821048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23331904411316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:01:42.643568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_43_1558.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_47_4437.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_49_1712.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_51_1665.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_53_1697.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_54_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_43_1558.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_47_4437.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_49_1712.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_51_1665.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_53_1697.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_54_1654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821120","1396821122","1396821124","1396821118","1396821096","1396821126"],"photo_ids_order":["1396821096","1396821118","1396821120","1396821122","1396821124","1396821126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60cf0216bcda6b5be4fb8000c4fe74a8.jpg","text":"TemporaryFile(/tmp/multipartBody4490887627172983557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388963683,"filename":"image_31102025_08_41_49_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d3eec19322b29bcdd8da8bcd7145e24.jpg","text":"TemporaryFile(/tmp/multipartBody3986432664031985634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388963683,"filename":"image_31102025_08_41_51_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d7038b3a8dbbfe2e65492230b62a77e.jpg","text":"TemporaryFile(/tmp/multipartBody266998741125886270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388963683,"filename":"image_31102025_08_41_53_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a304153a6672d8d68451ad7ecd442602.jpg","text":"TemporaryFile(/tmp/multipartBody4835495965095368511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388963683,"filename":"image_31102025_08_41_47_4437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b69ff24d92483169387e1ff8fabd7c0.jpg","text":"TemporaryFile(/tmp/multipartBody3987840316803774917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388963683,"filename":"image_31102025_08_41_43_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/251428ba82f6bed3bee84b4e465e9b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6226194825566340263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764388963683,"filename":"image_31102025_08_41_54_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821120","file1":"1396821118","file0":"1396821096","file4":"1396821124","file5":"1396821126","file3":"1396821122"},"map_files_photo_id_array":[{"photo_id":"1396821126","filename":"file5"},{"photo_id":"1396821120","filename":"file2"},{"photo_id":"1396821124","filename":"file4"},{"photo_id":"1396821118","filename":"file1"},{"photo_id":"1396821096","filename":"file0"},{"photo_id":"1396821122","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396821120":["hashtag1","hashtag2"]},{"1396821122":["hashtag1","hashtag2"]},{"1396821124":["hashtag1","hashtag2"]},{"1396821118":["hashtag1","hashtag2"]},{"1396821096":["hashtag1","hashtag2"]},{"1396821126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396821120, 1396821122, 1396821124, 1396821118, 1396821096, 1396821126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48783469200134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:02:22.827408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/54/image_29112025_04_54_54_9675.jpg', '/home/pi/Desktop/images/29112025/04/54/image_29112025_04_55_05_10698.jpg', '/home/pi/Desktop/images/29112025/04/55/image_29112025_04_55_14_9612.jpg', '/home/pi/Desktop/images/29112025/04/55/image_29112025_04_55_24_9773.jpg', '/home/pi/Desktop/images/29112025/04/55/image_29112025_04_55_34_9897.jpg', '/home/pi/Desktop/images/29112025/04/55/image_29112025_04_55_44_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/54/image_29112025_04_54_54_9675.jpg
/home/pi/Desktop/images/29112025/04/54/image_29112025_04_55_05_10698.jpg
/home/pi/Desktop/images/29112025/04/55/image_29112025_04_55_14_9612.jpg
/home/pi/Desktop/images/29112025/04/55/image_29112025_04_55_24_9773.jpg
/home/pi/Desktop/images/29112025/04/55/image_29112025_04_55_34_9897.jpg
/home/pi/Desktop/images/29112025/04/55/image_29112025_04_55_44_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":["1396821137","1396821142","1396821139","1396821130","1396821133","1396821135"],"photo_ids_order":["1396821130","1396821133","1396821135","1396821137","1396821139","1396821142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a10b7d60e08703ccea1c65efc681f91f.jpg","text":"TemporaryFile(/tmp/multipartBody633189650784453606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389003573,"filename":"image_29112025_04_55_24_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3adf10bc0135d79cb44694341c46dd9f.jpg","text":"TemporaryFile(/tmp/multipartBody4088850485431695727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389003573,"filename":"image_29112025_04_55_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/11/29/29ea39cf97c18d3b2eeedb903f04942e.jpg","text":"TemporaryFile(/tmp/multipartBody2147296936545358065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389003573,"filename":"image_29112025_04_55_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/11/29/a18c0853bec0a336f331bf90ac41fdd5.jpg","text":"TemporaryFile(/tmp/multipartBody3260000278842490588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389003573,"filename":"image_29112025_04_54_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/11/29/dfd6ddc435aa66ee3ed073d3cce6214d.jpg","text":"TemporaryFile(/tmp/multipartBody2235333229967078323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389003573,"filename":"image_29112025_04_55_05_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afd3fd76dc176da3ec509deacbb8c316.jpg","text":"TemporaryFile(/tmp/multipartBody4393315462359812561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389003573,"filename":"image_29112025_04_55_14_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821135","file1":"1396821133","file0":"1396821130","file4":"1396821139","file5":"1396821142","file3":"1396821137"},"map_files_photo_id_array":[{"photo_id":"1396821142","filename":"file5"},{"photo_id":"1396821135","filename":"file2"},{"photo_id":"1396821139","filename":"file4"},{"photo_id":"1396821133","filename":"file1"},{"photo_id":"1396821130","filename":"file0"},{"photo_id":"1396821137","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821137":["hashtag1","hashtag2"]},{"1396821142":["hashtag1","hashtag2"]},{"1396821139":["hashtag1","hashtag2"]},{"1396821130":["hashtag1","hashtag2"]},{"1396821133":["hashtag1","hashtag2"]},{"1396821135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821137, 1396821142, 1396821139, 1396821130, 1396821133, 1396821135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69774270057678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:03:02.567990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/55/image_29112025_04_55_54_9691.jpg', '/home/pi/Desktop/images/29112025/04/55/image_29112025_04_56_05_10571.jpg', '/home/pi/Desktop/images/29112025/04/56/image_29112025_04_56_14_9569.jpg', '/home/pi/Desktop/images/29112025/04/56/image_29112025_04_56_24_9684.jpg', '/home/pi/Desktop/images/29112025/04/56/image_29112025_04_56_35_10663.jpg', '/home/pi/Desktop/images/29112025/04/56/image_29112025_04_56_44_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/55/image_29112025_04_55_54_9691.jpg
/home/pi/Desktop/images/29112025/04/55/image_29112025_04_56_05_10571.jpg
/home/pi/Desktop/images/29112025/04/56/image_29112025_04_56_14_9569.jpg
/home/pi/Desktop/images/29112025/04/56/image_29112025_04_56_24_9684.jpg
/home/pi/Desktop/images/29112025/04/56/image_29112025_04_56_35_10663.jpg
/home/pi/Desktop/images/29112025/04/56/image_29112025_04_56_44_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":["1396821152","1396821149","1396821157","1396821154","1396821148","1396821150"],"photo_ids_order":["1396821148","1396821149","1396821150","1396821152","1396821154","1396821157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8fa67186d168091764854626d4e7853.jpg","text":"TemporaryFile(/tmp/multipartBody7686656004183647777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389043385,"filename":"image_29112025_04_56_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/11/29/1b08ad46461c6bf942b923e50cd24ee6.jpg","text":"TemporaryFile(/tmp/multipartBody8553430332216135703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389043385,"filename":"image_29112025_04_56_05_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe16014dd0d5b29e072c90d7cb7c2aec.jpg","text":"TemporaryFile(/tmp/multipartBody8032554089349543986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389043385,"filename":"image_29112025_04_56_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/11/29/5aaa99bf22824a1397d9fefe1090e5a6.jpg","text":"TemporaryFile(/tmp/multipartBody5329616926803994359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389043385,"filename":"image_29112025_04_56_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/11/29/b65832423326e37d96558d91ff545c12.jpg","text":"TemporaryFile(/tmp/multipartBody1805418076726134640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389043385,"filename":"image_29112025_04_55_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/11/29/78cd117274ce42cf28d73da8042d360f.jpg","text":"TemporaryFile(/tmp/multipartBody7095795900666917597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389043385,"filename":"image_29112025_04_56_14_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821150","file1":"1396821149","file0":"1396821148","file4":"1396821154","file5":"1396821157","file3":"1396821152"},"map_files_photo_id_array":[{"photo_id":"1396821157","filename":"file5"},{"photo_id":"1396821150","filename":"file2"},{"photo_id":"1396821154","filename":"file4"},{"photo_id":"1396821149","filename":"file1"},{"photo_id":"1396821148","filename":"file0"},{"photo_id":"1396821152","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821152":["hashtag1","hashtag2"]},{"1396821149":["hashtag1","hashtag2"]},{"1396821157":["hashtag1","hashtag2"]},{"1396821154":["hashtag1","hashtag2"]},{"1396821148":["hashtag1","hashtag2"]},{"1396821150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821152, 1396821149, 1396821157, 1396821154, 1396821148, 1396821150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06613755226135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:03:41.925995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_58_4275.jpg', '/home/pi/Desktop/images/31102025/08/41/image_31102025_08_42_00_1586.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_02_1671.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_04_2629.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_07_2672.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_10_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_41_58_4275.jpg
/home/pi/Desktop/images/31102025/08/41/image_31102025_08_42_00_1586.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_02_1671.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_04_2629.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_07_2672.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_10_2810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821164","1396821173","1396821169","1396821166","1396821171","1396821162"],"photo_ids_order":["1396821162","1396821164","1396821166","1396821169","1396821171","1396821173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8cd266901097092222ffd223a116f68.jpg","text":"TemporaryFile(/tmp/multipartBody2797277080186612535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389083007,"filename":"image_31102025_08_42_00_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e5b11e820e681912864fd1a420040f9.jpg","text":"TemporaryFile(/tmp/multipartBody8518584440618831351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389083007,"filename":"image_31102025_08_42_10_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4845d47e6bae8b05c0d08c7bddab8e8d.jpg","text":"TemporaryFile(/tmp/multipartBody6169835285017723427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389083007,"filename":"image_31102025_08_42_04_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52912864e2a0c110dd35ae1ef7605135.jpg","text":"TemporaryFile(/tmp/multipartBody5845263281528963595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389083007,"filename":"image_31102025_08_42_02_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf6f6cf8e98542591629e0e498d91cb6.jpg","text":"TemporaryFile(/tmp/multipartBody2809755728617234306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389083007,"filename":"image_31102025_08_42_07_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ccf75978686f857ab24475de323001b.jpg","text":"TemporaryFile(/tmp/multipartBody591950376867658474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389083007,"filename":"image_31102025_08_41_58_4275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821166","file1":"1396821164","file0":"1396821162","file4":"1396821171","file5":"1396821173","file3":"1396821169"},"map_files_photo_id_array":[{"photo_id":"1396821173","filename":"file5"},{"photo_id":"1396821166","filename":"file2"},{"photo_id":"1396821171","filename":"file4"},{"photo_id":"1396821164","filename":"file1"},{"photo_id":"1396821162","filename":"file0"},{"photo_id":"1396821169","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396821164":["hashtag1","hashtag2"]},{"1396821173":["hashtag1","hashtag2"]},{"1396821169":["hashtag1","hashtag2"]},{"1396821166":["hashtag1","hashtag2"]},{"1396821171":["hashtag1","hashtag2"]},{"1396821162":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396821164, 1396821173, 1396821169, 1396821166, 1396821171, 1396821162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84246468544006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:04:22.120294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/56/image_29112025_04_56_54_9628.jpg', '/home/pi/Desktop/images/29112025/04/56/image_29112025_04_57_05_10600.jpg', '/home/pi/Desktop/images/29112025/04/57/image_29112025_04_57_14_9650.jpg', '/home/pi/Desktop/images/29112025/04/57/image_29112025_04_57_24_9733.jpg', '/home/pi/Desktop/images/29112025/04/57/image_29112025_04_57_34_9952.jpg', '/home/pi/Desktop/images/29112025/04/57/image_29112025_04_57_45_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/56/image_29112025_04_56_54_9628.jpg
/home/pi/Desktop/images/29112025/04/56/image_29112025_04_57_05_10600.jpg
/home/pi/Desktop/images/29112025/04/57/image_29112025_04_57_14_9650.jpg
/home/pi/Desktop/images/29112025/04/57/image_29112025_04_57_24_9733.jpg
/home/pi/Desktop/images/29112025/04/57/image_29112025_04_57_34_9952.jpg
/home/pi/Desktop/images/29112025/04/57/image_29112025_04_57_45_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821201","1396821176","1396821199","1396821190","1396821202","1396821204"],"photo_ids_order":["1396821176","1396821190","1396821199","1396821201","1396821202","1396821204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cae60721c4ae98ac5a74cf56ca05b4ad.jpg","text":"TemporaryFile(/tmp/multipartBody6819334926760722302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389122845,"filename":"image_29112025_04_57_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/11/29/21d672e785fb5b5216d06edeba70a2ed.jpg","text":"TemporaryFile(/tmp/multipartBody8686340959090718272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389122845,"filename":"image_29112025_04_56_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/11/29/4d6f3964dfc118ebcbd34a7cafbb5a15.jpg","text":"TemporaryFile(/tmp/multipartBody4683322155032441405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389122845,"filename":"image_29112025_04_57_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c58c3b8c1e0c883b8c12c75dccc5b69.jpg","text":"TemporaryFile(/tmp/multipartBody8689710752841991432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389122845,"filename":"image_29112025_04_57_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/11/29/fdb7f6945bbf9a6427ed1e1ebc82348b.jpg","text":"TemporaryFile(/tmp/multipartBody8944371674612789401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389122845,"filename":"image_29112025_04_57_34_9952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/661c34defe47e16a089f62c29295636a.jpg","text":"TemporaryFile(/tmp/multipartBody8421392054163131617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389122845,"filename":"image_29112025_04_57_45_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821199","file1":"1396821190","file0":"1396821176","file4":"1396821202","file5":"1396821204","file3":"1396821201"},"map_files_photo_id_array":[{"photo_id":"1396821204","filename":"file5"},{"photo_id":"1396821199","filename":"file2"},{"photo_id":"1396821202","filename":"file4"},{"photo_id":"1396821190","filename":"file1"},{"photo_id":"1396821176","filename":"file0"},{"photo_id":"1396821201","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821201":["hashtag1","hashtag2"]},{"1396821176":["hashtag1","hashtag2"]},{"1396821199":["hashtag1","hashtag2"]},{"1396821190":["hashtag1","hashtag2"]},{"1396821202":["hashtag1","hashtag2"]},{"1396821204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821201, 1396821176, 1396821199, 1396821190, 1396821202, 1396821204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.642160177230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:05:03.105394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/57/image_29112025_04_57_54_9534.jpg', '/home/pi/Desktop/images/29112025/04/57/image_29112025_04_58_04_9801.jpg', '/home/pi/Desktop/images/29112025/04/58/image_29112025_04_58_15_10689.jpg', '/home/pi/Desktop/images/29112025/04/58/image_29112025_04_58_24_9675.jpg', '/home/pi/Desktop/images/29112025/04/58/image_29112025_04_58_34_9655.jpg', '/home/pi/Desktop/images/29112025/04/58/image_29112025_04_58_45_10749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/57/image_29112025_04_57_54_9534.jpg
/home/pi/Desktop/images/29112025/04/57/image_29112025_04_58_04_9801.jpg
/home/pi/Desktop/images/29112025/04/58/image_29112025_04_58_15_10689.jpg
/home/pi/Desktop/images/29112025/04/58/image_29112025_04_58_24_9675.jpg
/home/pi/Desktop/images/29112025/04/58/image_29112025_04_58_34_9655.jpg
/home/pi/Desktop/images/29112025/04/58/image_29112025_04_58_45_10749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821213","1396821221","1396821212","1396821250","1396821211","1396821210"],"photo_ids_order":["1396821210","1396821211","1396821212","1396821213","1396821221","1396821250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6aa3170e2653c54fd63590b53207e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7248188290118319991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389163903,"filename":"image_29112025_04_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/11/29/f0082510f939048deb92b2181e137ac2.jpg","text":"TemporaryFile(/tmp/multipartBody1211424500985011496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389163903,"filename":"image_29112025_04_58_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/11/29/1d24f4bfdeb82ebd2d7d74a688fd195a.jpg","text":"TemporaryFile(/tmp/multipartBody6416925447681560242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389163903,"filename":"image_29112025_04_58_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad917d36236263351856989ab2673ee3.jpg","text":"TemporaryFile(/tmp/multipartBody7456383274255700566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389163903,"filename":"image_29112025_04_58_45_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c158ea204f0dd145c4c385d546e8d4b.jpg","text":"TemporaryFile(/tmp/multipartBody320512775466714303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389163903,"filename":"image_29112025_04_58_04_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d337004ac2a90b071964ee9037f66e10.jpg","text":"TemporaryFile(/tmp/multipartBody1709331567612267973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389163903,"filename":"image_29112025_04_57_54_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821212","file1":"1396821211","file0":"1396821210","file4":"1396821221","file5":"1396821250","file3":"1396821213"},"map_files_photo_id_array":[{"photo_id":"1396821250","filename":"file5"},{"photo_id":"1396821212","filename":"file2"},{"photo_id":"1396821221","filename":"file4"},{"photo_id":"1396821211","filename":"file1"},{"photo_id":"1396821210","filename":"file0"},{"photo_id":"1396821213","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821213":["hashtag1","hashtag2"]},{"1396821221":["hashtag1","hashtag2"]},{"1396821212":["hashtag1","hashtag2"]},{"1396821250":["hashtag1","hashtag2"]},{"1396821211":["hashtag1","hashtag2"]},{"1396821210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821213, 1396821221, 1396821212, 1396821250, 1396821211, 1396821210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53279185295105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:05:42.407652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_12_2658.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_16_3772.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_29_12518.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_30_1685.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_32_1631.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_34_1587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_12_2658.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_16_3772.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_29_12518.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_30_1685.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_32_1631.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_34_1587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821356","1396821364","1396821358","1396821352","1396821360","1396821354"],"photo_ids_order":["1396821352","1396821354","1396821356","1396821358","1396821360","1396821364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b149675c5ef021df44d03461ce49c0f6.jpg","text":"TemporaryFile(/tmp/multipartBody1936662176555726734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389203455,"filename":"image_31102025_08_42_29_12518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ab29756b9eb114385d20bf76c4782f9.jpg","text":"TemporaryFile(/tmp/multipartBody4196518950191104019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389203455,"filename":"image_31102025_08_42_34_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9c8969567e4f0267f8c640364bc1139.jpg","text":"TemporaryFile(/tmp/multipartBody362194785128252462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389203455,"filename":"image_31102025_08_42_30_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2cf50299c22a77ed55cc2bc628fc647b.jpg","text":"TemporaryFile(/tmp/multipartBody1862996844864749560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389203455,"filename":"image_31102025_08_42_12_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/841c7f4b1751bcec052a27593f304ab5.jpg","text":"TemporaryFile(/tmp/multipartBody8123263437293788196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389203455,"filename":"image_31102025_08_42_32_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9518987c8959f56ff280c6bcfffd8d0d.jpg","text":"TemporaryFile(/tmp/multipartBody1992907721659402283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389203455,"filename":"image_31102025_08_42_16_3772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821356","file1":"1396821354","file0":"1396821352","file4":"1396821360","file5":"1396821364","file3":"1396821358"},"map_files_photo_id_array":[{"photo_id":"1396821364","filename":"file5"},{"photo_id":"1396821356","filename":"file2"},{"photo_id":"1396821360","filename":"file4"},{"photo_id":"1396821354","filename":"file1"},{"photo_id":"1396821352","filename":"file0"},{"photo_id":"1396821358","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396821356":["hashtag1","hashtag2"]},{"1396821364":["hashtag1","hashtag2"]},{"1396821358":["hashtag1","hashtag2"]},{"1396821352":["hashtag1","hashtag2"]},{"1396821360":["hashtag1","hashtag2"]},{"1396821354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396821356, 1396821364, 1396821358, 1396821352, 1396821360, 1396821354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53752088546753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:06:22.664720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/58/image_29112025_04_58_54_9539.jpg', '/home/pi/Desktop/images/29112025/04/58/image_29112025_04_59_04_9623.jpg', '/home/pi/Desktop/images/29112025/04/59/image_29112025_04_59_15_10661.jpg', '/home/pi/Desktop/images/29112025/04/59/image_29112025_04_59_24_9743.jpg', '/home/pi/Desktop/images/29112025/04/59/image_29112025_04_59_34_9509.jpg', '/home/pi/Desktop/images/29112025/04/59/image_29112025_04_59_44_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/58/image_29112025_04_58_54_9539.jpg
/home/pi/Desktop/images/29112025/04/58/image_29112025_04_59_04_9623.jpg
/home/pi/Desktop/images/29112025/04/59/image_29112025_04_59_15_10661.jpg
/home/pi/Desktop/images/29112025/04/59/image_29112025_04_59_24_9743.jpg
/home/pi/Desktop/images/29112025/04/59/image_29112025_04_59_34_9509.jpg
/home/pi/Desktop/images/29112025/04/59/image_29112025_04_59_44_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":["1396821380","1396821374","1396821367","1396821376","1396821372","1396821369"],"photo_ids_order":["1396821367","1396821369","1396821372","1396821374","1396821376","1396821380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75ad310a664606a10d8648731f351f29.jpg","text":"TemporaryFile(/tmp/multipartBody2352372026625344238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389243378,"filename":"image_29112025_04_59_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/11/29/373577f329cb6cebb2baf564678f99b6.jpg","text":"TemporaryFile(/tmp/multipartBody5341881479067090409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389243378,"filename":"image_29112025_04_59_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/11/29/0d14468c9d62617f97a1b136c3df608e.jpg","text":"TemporaryFile(/tmp/multipartBody6648712671009187245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389243378,"filename":"image_29112025_04_58_54_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04165a9a0db4a6590988eb05b3db9d80.jpg","text":"TemporaryFile(/tmp/multipartBody8784688225089450333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389243378,"filename":"image_29112025_04_59_34_9509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32ff7f42e935789c22c40aea164cea31.jpg","text":"TemporaryFile(/tmp/multipartBody3508790051677100649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389243378,"filename":"image_29112025_04_59_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e250d8354d17a8b5aa04d586b8ae8613.jpg","text":"TemporaryFile(/tmp/multipartBody3931059486202153476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389243378,"filename":"image_29112025_04_59_04_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821372","file1":"1396821369","file0":"1396821367","file4":"1396821376","file5":"1396821380","file3":"1396821374"},"map_files_photo_id_array":[{"photo_id":"1396821380","filename":"file5"},{"photo_id":"1396821372","filename":"file2"},{"photo_id":"1396821376","filename":"file4"},{"photo_id":"1396821369","filename":"file1"},{"photo_id":"1396821367","filename":"file0"},{"photo_id":"1396821374","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821380":["hashtag1","hashtag2"]},{"1396821374":["hashtag1","hashtag2"]},{"1396821367":["hashtag1","hashtag2"]},{"1396821376":["hashtag1","hashtag2"]},{"1396821372":["hashtag1","hashtag2"]},{"1396821369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821380, 1396821374, 1396821367, 1396821376, 1396821372, 1396821369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9370551109314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:07:03.337676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/04/59/image_29112025_04_59_54_9627.jpg', '/home/pi/Desktop/images/29112025/04/59/image_29112025_05_00_04_9821.jpg', '/home/pi/Desktop/images/29112025/05/00/image_29112025_05_00_15_10633.jpg', '/home/pi/Desktop/images/29112025/05/00/image_29112025_05_00_24_9831.jpg', '/home/pi/Desktop/images/29112025/05/00/image_29112025_05_00_34_9849.jpg', '/home/pi/Desktop/images/29112025/05/00/image_29112025_05_00_44_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/04/59/image_29112025_04_59_54_9627.jpg
/home/pi/Desktop/images/29112025/04/59/image_29112025_05_00_04_9821.jpg
/home/pi/Desktop/images/29112025/05/00/image_29112025_05_00_15_10633.jpg
/home/pi/Desktop/images/29112025/05/00/image_29112025_05_00_24_9831.jpg
/home/pi/Desktop/images/29112025/05/00/image_29112025_05_00_34_9849.jpg
/home/pi/Desktop/images/29112025/05/00/image_29112025_05_00_44_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821391","1396821394","1396821397","1396821400","1396821390","1396821392"],"photo_ids_order":["1396821390","1396821391","1396821392","1396821394","1396821397","1396821400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79893dfeae088e19ed92d997e2e2173d.jpg","text":"TemporaryFile(/tmp/multipartBody3968479342759784248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389284185,"filename":"image_29112025_05_00_04_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3120e1612777232c79b9704cf836a9ba.jpg","text":"TemporaryFile(/tmp/multipartBody2685858155462221710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389284185,"filename":"image_29112025_05_00_24_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8de0cc96574273315138511135aeb1ca.jpg","text":"TemporaryFile(/tmp/multipartBody8803915756452507136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389284185,"filename":"image_29112025_05_00_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/11/29/0d0f7006ec6a16398f81e59014df26e7.jpg","text":"TemporaryFile(/tmp/multipartBody3230340702984579404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389284185,"filename":"image_29112025_05_00_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b9a607e9dc44b42c2ff218078cb41d6.jpg","text":"TemporaryFile(/tmp/multipartBody8389102586861620999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389284185,"filename":"image_29112025_04_59_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/11/29/fb39d9b67f27aa430fc33796475d55f3.jpg","text":"TemporaryFile(/tmp/multipartBody4448218416885807407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389284185,"filename":"image_29112025_05_00_15_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821392","file1":"1396821391","file0":"1396821390","file4":"1396821397","file5":"1396821400","file3":"1396821394"},"map_files_photo_id_array":[{"photo_id":"1396821400","filename":"file5"},{"photo_id":"1396821392","filename":"file2"},{"photo_id":"1396821397","filename":"file4"},{"photo_id":"1396821391","filename":"file1"},{"photo_id":"1396821390","filename":"file0"},{"photo_id":"1396821394","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821391":["hashtag1","hashtag2"]},{"1396821394":["hashtag1","hashtag2"]},{"1396821397":["hashtag1","hashtag2"]},{"1396821400":["hashtag1","hashtag2"]},{"1396821390":["hashtag1","hashtag2"]},{"1396821392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821391, 1396821394, 1396821397, 1396821400, 1396821390, 1396821392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.431169748306274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:07:42.861452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_35_1758.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_37_1719.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_39_1809.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_41_1583.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_43_2624.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_46_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/08/42/image_31102025_08_42_35_1758.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_37_1719.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_39_1809.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_41_1583.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_43_2624.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_46_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: 0.9546835422515869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:08:02.498811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/00/image_29112025_05_00_55_10794.jpg', '/home/pi/Desktop/images/29112025/05/00/image_29112025_05_01_04_9783.jpg', '/home/pi/Desktop/images/29112025/05/01/image_29112025_05_01_14_9638.jpg', '/home/pi/Desktop/images/29112025/05/01/image_29112025_05_01_34_10590.jpg', '/home/pi/Desktop/images/29112025/05/01/image_29112025_05_01_44_9910.jpg', '/home/pi/Desktop/images/29112025/05/01/image_29112025_05_01_54_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/00/image_29112025_05_00_55_10794.jpg
/home/pi/Desktop/images/29112025/05/00/image_29112025_05_01_04_9783.jpg
/home/pi/Desktop/images/29112025/05/01/image_29112025_05_01_14_9638.jpg
/home/pi/Desktop/images/29112025/05/01/image_29112025_05_01_34_10590.jpg
/home/pi/Desktop/images/29112025/05/01/image_29112025_05_01_44_9910.jpg
/home/pi/Desktop/images/29112025/05/01/image_29112025_05_01_54_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821419","1396821421","1396821424","1396821418","1396821415","1396821417"],"photo_ids_order":["1396821415","1396821417","1396821418","1396821419","1396821421","1396821424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/435f1ed1e2e4640d906b48f27dc5c33d.jpg","text":"TemporaryFile(/tmp/multipartBody5766735231288447554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389343233,"filename":"image_29112025_05_01_34_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87fff899e13966a85b477ab5199bc0b4.jpg","text":"TemporaryFile(/tmp/multipartBody2882898144267583076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389343233,"filename":"image_29112025_05_01_44_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1805ed3bde80ea56e0e81bcba90d5eeb.jpg","text":"TemporaryFile(/tmp/multipartBody4321292281941247149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389343233,"filename":"image_29112025_05_01_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bf42272adf4edc0fd9c24f985f4d6b8.jpg","text":"TemporaryFile(/tmp/multipartBody7515784535299045715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389343233,"filename":"image_29112025_05_01_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8889af0a3c2cb664f79c8bba791ca5ea.jpg","text":"TemporaryFile(/tmp/multipartBody7415605321867704074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389343233,"filename":"image_29112025_05_00_55_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc30c4db301dbe65bd46a6ed5afad9f8.jpg","text":"TemporaryFile(/tmp/multipartBody2956036594623210124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389343233,"filename":"image_29112025_05_01_04_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821418","file1":"1396821417","file0":"1396821415","file4":"1396821421","file5":"1396821424","file3":"1396821419"},"map_files_photo_id_array":[{"photo_id":"1396821424","filename":"file5"},{"photo_id":"1396821418","filename":"file2"},{"photo_id":"1396821421","filename":"file4"},{"photo_id":"1396821417","filename":"file1"},{"photo_id":"1396821415","filename":"file0"},{"photo_id":"1396821419","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821419":["hashtag1","hashtag2"]},{"1396821421":["hashtag1","hashtag2"]},{"1396821424":["hashtag1","hashtag2"]},{"1396821418":["hashtag1","hashtag2"]},{"1396821415":["hashtag1","hashtag2"]},{"1396821417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821419, 1396821421, 1396821424, 1396821418, 1396821415, 1396821417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.591989040374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:08:42.056720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_35_1758.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_37_1719.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_39_1809.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_41_1583.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_43_2624.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_46_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/08/42/image_31102025_08_42_35_1758.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_37_1719.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_39_1809.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_41_1583.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_43_2624.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_46_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":["1396821461","1396821446","1396821448","1396821463","1396821447","1396821444"],"photo_ids_order":["1396821444","1396821446","1396821447","1396821448","1396821461","1396821463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02808e028ddf565d30eb86c81f611768.jpg","text":"TemporaryFile(/tmp/multipartBody977728921300327606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389382991,"filename":"image_31102025_08_42_43_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff8c6330d578ea0621611b51f3a9cd65.jpg","text":"TemporaryFile(/tmp/multipartBody2071049512401300221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389382991,"filename":"image_31102025_08_42_37_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ebd4a67c7e62333eebfb9fba0353da64.jpg","text":"TemporaryFile(/tmp/multipartBody4958550916432983084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389382991,"filename":"image_31102025_08_42_41_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7bdef26ee4744ae91f4b70690b0adadc.jpg","text":"TemporaryFile(/tmp/multipartBody1942979898128920035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389382991,"filename":"image_31102025_08_42_46_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13d63f2ccf366a2640f54ea969b4c207.jpg","text":"TemporaryFile(/tmp/multipartBody4341541637409456433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389382991,"filename":"image_31102025_08_42_39_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74cf06f4f7eb0365dc9357c3412d875d.jpg","text":"TemporaryFile(/tmp/multipartBody3431299309023337270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389382991,"filename":"image_31102025_08_42_35_1758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821447","file1":"1396821446","file0":"1396821444","file4":"1396821461","file5":"1396821463","file3":"1396821448"},"map_files_photo_id_array":[{"photo_id":"1396821463","filename":"file5"},{"photo_id":"1396821447","filename":"file2"},{"photo_id":"1396821461","filename":"file4"},{"photo_id":"1396821446","filename":"file1"},{"photo_id":"1396821444","filename":"file0"},{"photo_id":"1396821448","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396821461":["hashtag1","hashtag2"]},{"1396821446":["hashtag1","hashtag2"]},{"1396821448":["hashtag1","hashtag2"]},{"1396821463":["hashtag1","hashtag2"]},{"1396821447":["hashtag1","hashtag2"]},{"1396821444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396821461, 1396821446, 1396821448, 1396821463, 1396821447, 1396821444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16523265838623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:09:22.318306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/01/image_29112025_05_02_04_9866.jpg', '/home/pi/Desktop/images/29112025/05/02/image_29112025_05_02_14_10574.jpg', '/home/pi/Desktop/images/29112025/05/02/image_29112025_05_02_24_9776.jpg', '/home/pi/Desktop/images/29112025/05/02/image_29112025_05_02_34_9798.jpg', '/home/pi/Desktop/images/29112025/05/02/image_29112025_05_02_45_10738.jpg', '/home/pi/Desktop/images/29112025/05/02/image_29112025_05_02_54_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/01/image_29112025_05_02_04_9866.jpg
/home/pi/Desktop/images/29112025/05/02/image_29112025_05_02_14_10574.jpg
/home/pi/Desktop/images/29112025/05/02/image_29112025_05_02_24_9776.jpg
/home/pi/Desktop/images/29112025/05/02/image_29112025_05_02_34_9798.jpg
/home/pi/Desktop/images/29112025/05/02/image_29112025_05_02_45_10738.jpg
/home/pi/Desktop/images/29112025/05/02/image_29112025_05_02_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":["1396821482","1396821467","1396821472","1396821475","1396821469","1396821477"],"photo_ids_order":["1396821467","1396821469","1396821472","1396821475","1396821477","1396821482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54f1090285ce7539c1a676c2a9ac9ead.jpg","text":"TemporaryFile(/tmp/multipartBody82317567042498047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389423037,"filename":"image_29112025_05_02_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/11/29/a37ce9c4e21dfd5147015496aef4a8ba.jpg","text":"TemporaryFile(/tmp/multipartBody1289437948156055754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389423037,"filename":"image_29112025_05_02_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/11/29/52769690137ee5347a54ea7673e5f2c3.jpg","text":"TemporaryFile(/tmp/multipartBody772005873077060419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389423037,"filename":"image_29112025_05_02_24_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7246c34371613a451db423a481c14c49.jpg","text":"TemporaryFile(/tmp/multipartBody8862782254160891715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389423037,"filename":"image_29112025_05_02_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/11/29/675650f48a92eaa71a04829879386069.jpg","text":"TemporaryFile(/tmp/multipartBody8193930724425410016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389423037,"filename":"image_29112025_05_02_14_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b6ab731be92a814908f333570ee0074.jpg","text":"TemporaryFile(/tmp/multipartBody811550954557061948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389423037,"filename":"image_29112025_05_02_45_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821472","file1":"1396821469","file0":"1396821467","file4":"1396821477","file5":"1396821482","file3":"1396821475"},"map_files_photo_id_array":[{"photo_id":"1396821482","filename":"file5"},{"photo_id":"1396821472","filename":"file2"},{"photo_id":"1396821477","filename":"file4"},{"photo_id":"1396821469","filename":"file1"},{"photo_id":"1396821467","filename":"file0"},{"photo_id":"1396821475","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821482":["hashtag1","hashtag2"]},{"1396821467":["hashtag1","hashtag2"]},{"1396821472":["hashtag1","hashtag2"]},{"1396821475":["hashtag1","hashtag2"]},{"1396821469":["hashtag1","hashtag2"]},{"1396821477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821482, 1396821467, 1396821472, 1396821475, 1396821469, 1396821477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95899319648743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:10:02.883373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/02/image_29112025_05_03_04_9684.jpg', '/home/pi/Desktop/images/29112025/05/03/image_29112025_05_03_15_10625.jpg', '/home/pi/Desktop/images/29112025/05/03/image_29112025_05_03_24_9720.jpg', '/home/pi/Desktop/images/29112025/05/03/image_29112025_05_03_34_9679.jpg', '/home/pi/Desktop/images/29112025/05/03/image_29112025_05_03_44_9704.jpg', '/home/pi/Desktop/images/29112025/05/03/image_29112025_05_03_54_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/02/image_29112025_05_03_04_9684.jpg
/home/pi/Desktop/images/29112025/05/03/image_29112025_05_03_15_10625.jpg
/home/pi/Desktop/images/29112025/05/03/image_29112025_05_03_24_9720.jpg
/home/pi/Desktop/images/29112025/05/03/image_29112025_05_03_34_9679.jpg
/home/pi/Desktop/images/29112025/05/03/image_29112025_05_03_44_9704.jpg
/home/pi/Desktop/images/29112025/05/03/image_29112025_05_03_54_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":["1396821488","1396821485","1396821484","1396821483","1396821486","1396821491"],"photo_ids_order":["1396821483","1396821484","1396821485","1396821486","1396821488","1396821491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3101416407e85290f1769ebd96b7aad8.jpg","text":"TemporaryFile(/tmp/multipartBody4367280480532576388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389463626,"filename":"image_29112025_05_03_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/11/29/e3df66b3dfa4b04ededd1c0fa6c800d3.jpg","text":"TemporaryFile(/tmp/multipartBody6171822588306481749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389463626,"filename":"image_29112025_05_03_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/11/29/b606b9d99f319ed5fcfa85dcacbd9588.jpg","text":"TemporaryFile(/tmp/multipartBody4285223047657280587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389463626,"filename":"image_29112025_05_03_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bca6d2832b05b79cfaef6db30dfed559.jpg","text":"TemporaryFile(/tmp/multipartBody2092757987576778089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389463626,"filename":"image_29112025_05_03_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/11/29/8d3cf95dd8657c727b35558e157bd734.jpg","text":"TemporaryFile(/tmp/multipartBody982879860422865701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389463626,"filename":"image_29112025_05_03_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/11/29/1a0703c818409cec0f7b7508e5196569.jpg","text":"TemporaryFile(/tmp/multipartBody1790933658128489703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389463626,"filename":"image_29112025_05_03_54_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821485","file1":"1396821484","file0":"1396821483","file4":"1396821488","file5":"1396821491","file3":"1396821486"},"map_files_photo_id_array":[{"photo_id":"1396821491","filename":"file5"},{"photo_id":"1396821485","filename":"file2"},{"photo_id":"1396821488","filename":"file4"},{"photo_id":"1396821484","filename":"file1"},{"photo_id":"1396821483","filename":"file0"},{"photo_id":"1396821486","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821488":["hashtag1","hashtag2"]},{"1396821485":["hashtag1","hashtag2"]},{"1396821484":["hashtag1","hashtag2"]},{"1396821483":["hashtag1","hashtag2"]},{"1396821486":["hashtag1","hashtag2"]},{"1396821491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821488, 1396821485, 1396821484, 1396821483, 1396821486, 1396821491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53537583351135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:10:42.413886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_49_2843.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_52_3668.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_55_2564.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_58_2641.jpg', '/home/pi/Desktop/images/31102025/08/42/image_31102025_08_43_01_3521.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_04_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/08/42/image_31102025_08_42_49_2843.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_52_3668.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_55_2564.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_42_58_2641.jpg
/home/pi/Desktop/images/31102025/08/42/image_31102025_08_43_01_3521.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_04_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":["1396821504","1396821506","1396821503","1396821505","1396821507","1396821501"],"photo_ids_order":["1396821501","1396821503","1396821504","1396821505","1396821506","1396821507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd8655a31d9eb6ba6a4bea5168f52045.jpg","text":"TemporaryFile(/tmp/multipartBody5322640920208132601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389503477,"filename":"image_31102025_08_42_55_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1eee9f531929d671e56f6e78f985fb97.jpg","text":"TemporaryFile(/tmp/multipartBody1322813294289480648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389503477,"filename":"image_31102025_08_43_01_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55eb1669ebc5d64e7219e49ddef877c9.jpg","text":"TemporaryFile(/tmp/multipartBody8462021987668339839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389503477,"filename":"image_31102025_08_42_52_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/258d9f6818d55410c8c5a670017b32df.jpg","text":"TemporaryFile(/tmp/multipartBody1883681656728984612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389503477,"filename":"image_31102025_08_42_58_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd8640b9b45a207c139df08d2097d226.jpg","text":"TemporaryFile(/tmp/multipartBody9065158768347641435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389503477,"filename":"image_31102025_08_43_04_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5cb30c8424098071e1f78d3e7970eea7.jpg","text":"TemporaryFile(/tmp/multipartBody5895153454125888417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389503477,"filename":"image_31102025_08_42_49_2843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821504","file1":"1396821503","file0":"1396821501","file4":"1396821506","file5":"1396821507","file3":"1396821505"},"map_files_photo_id_array":[{"photo_id":"1396821507","filename":"file5"},{"photo_id":"1396821504","filename":"file2"},{"photo_id":"1396821506","filename":"file4"},{"photo_id":"1396821503","filename":"file1"},{"photo_id":"1396821501","filename":"file0"},{"photo_id":"1396821505","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396821504":["hashtag1","hashtag2"]},{"1396821506":["hashtag1","hashtag2"]},{"1396821503":["hashtag1","hashtag2"]},{"1396821505":["hashtag1","hashtag2"]},{"1396821507":["hashtag1","hashtag2"]},{"1396821501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396821504, 1396821506, 1396821503, 1396821505, 1396821507, 1396821501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24449706077576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:11:22.576916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/03/image_29112025_05_04_04_9918.jpg', '/home/pi/Desktop/images/29112025/05/04/image_29112025_05_04_14_9762.jpg', '/home/pi/Desktop/images/29112025/05/04/image_29112025_05_04_24_9713.jpg', '/home/pi/Desktop/images/29112025/05/04/image_29112025_05_04_34_10672.jpg', '/home/pi/Desktop/images/29112025/05/04/image_29112025_05_04_44_9594.jpg', '/home/pi/Desktop/images/29112025/05/04/image_29112025_05_04_55_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/03/image_29112025_05_04_04_9918.jpg
/home/pi/Desktop/images/29112025/05/04/image_29112025_05_04_14_9762.jpg
/home/pi/Desktop/images/29112025/05/04/image_29112025_05_04_24_9713.jpg
/home/pi/Desktop/images/29112025/05/04/image_29112025_05_04_34_10672.jpg
/home/pi/Desktop/images/29112025/05/04/image_29112025_05_04_44_9594.jpg
/home/pi/Desktop/images/29112025/05/04/image_29112025_05_04_55_10571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821519","1396821524","1396821521","1396821511","1396821514","1396821516"],"photo_ids_order":["1396821511","1396821514","1396821516","1396821519","1396821521","1396821524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56481a012f329dcd72df70e8b6800839.jpg","text":"TemporaryFile(/tmp/multipartBody7359793151195337501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389543286,"filename":"image_29112025_05_04_34_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bf7e5116ea91b74e2398eee64073e32.jpg","text":"TemporaryFile(/tmp/multipartBody1800017003710197523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389543286,"filename":"image_29112025_05_04_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8cea8f1a1b0f3d692843bc8e6a08ba4.jpg","text":"TemporaryFile(/tmp/multipartBody191414493719153313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389543286,"filename":"image_29112025_05_04_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/11/29/fa8bf6d2cd7ae53dc040105d7f146dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6960661037909290381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389543286,"filename":"image_29112025_05_04_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/11/29/e2eb6cebf2fd00d6522302daa585e9a2.jpg","text":"TemporaryFile(/tmp/multipartBody5548250433358541070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389543286,"filename":"image_29112025_05_04_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2bb239935be1dd4a048a9d3b44d6e6e.jpg","text":"TemporaryFile(/tmp/multipartBody7371379835523423455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389543286,"filename":"image_29112025_05_04_24_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821516","file1":"1396821514","file0":"1396821511","file4":"1396821521","file5":"1396821524","file3":"1396821519"},"map_files_photo_id_array":[{"photo_id":"1396821524","filename":"file5"},{"photo_id":"1396821516","filename":"file2"},{"photo_id":"1396821521","filename":"file4"},{"photo_id":"1396821514","filename":"file1"},{"photo_id":"1396821511","filename":"file0"},{"photo_id":"1396821519","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821519":["hashtag1","hashtag2"]},{"1396821524":["hashtag1","hashtag2"]},{"1396821521":["hashtag1","hashtag2"]},{"1396821511":["hashtag1","hashtag2"]},{"1396821514":["hashtag1","hashtag2"]},{"1396821516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821519, 1396821524, 1396821521, 1396821511, 1396821514, 1396821516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1697416305542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:12:03.223177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/04/image_29112025_05_05_04_9708.jpg', '/home/pi/Desktop/images/29112025/05/05/image_29112025_05_05_14_9622.jpg', '/home/pi/Desktop/images/29112025/05/05/image_29112025_05_05_25_10732.jpg', '/home/pi/Desktop/images/29112025/05/05/image_29112025_05_05_34_9548.jpg', '/home/pi/Desktop/images/29112025/05/05/image_29112025_05_05_44_9637.jpg', '/home/pi/Desktop/images/29112025/05/05/image_29112025_05_05_54_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/04/image_29112025_05_05_04_9708.jpg
/home/pi/Desktop/images/29112025/05/05/image_29112025_05_05_14_9622.jpg
/home/pi/Desktop/images/29112025/05/05/image_29112025_05_05_25_10732.jpg
/home/pi/Desktop/images/29112025/05/05/image_29112025_05_05_34_9548.jpg
/home/pi/Desktop/images/29112025/05/05/image_29112025_05_05_44_9637.jpg
/home/pi/Desktop/images/29112025/05/05/image_29112025_05_05_54_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":["1396821530","1396821527","1396821535","1396821529","1396821532","1396821528"],"photo_ids_order":["1396821527","1396821528","1396821529","1396821530","1396821532","1396821535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44af56c184dbefb79af50a741a1a838b.jpg","text":"TemporaryFile(/tmp/multipartBody3745775823379633691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389583970,"filename":"image_29112025_05_05_34_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54322001fc3c56f909529df88d56c195.jpg","text":"TemporaryFile(/tmp/multipartBody17516379864952143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389583970,"filename":"image_29112025_05_05_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/11/29/dc83da13303bff3e02f5744241d465ae.jpg","text":"TemporaryFile(/tmp/multipartBody156840417944397326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389583970,"filename":"image_29112025_05_05_54_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cbde4d0ba60b5d3c5a5047ef3d182e0.jpg","text":"TemporaryFile(/tmp/multipartBody933373005872505180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389583970,"filename":"image_29112025_05_05_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/11/29/0401174d76f9bce3aee0cfec5efd508a.jpg","text":"TemporaryFile(/tmp/multipartBody7027010103387575182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389583970,"filename":"image_29112025_05_05_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e46429e36b496aa313855dfd1f2ae26d.jpg","text":"TemporaryFile(/tmp/multipartBody1816428532459893897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389583970,"filename":"image_29112025_05_05_14_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821529","file1":"1396821528","file0":"1396821527","file4":"1396821532","file5":"1396821535","file3":"1396821530"},"map_files_photo_id_array":[{"photo_id":"1396821535","filename":"file5"},{"photo_id":"1396821529","filename":"file2"},{"photo_id":"1396821532","filename":"file4"},{"photo_id":"1396821528","filename":"file1"},{"photo_id":"1396821527","filename":"file0"},{"photo_id":"1396821530","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821530":["hashtag1","hashtag2"]},{"1396821527":["hashtag1","hashtag2"]},{"1396821535":["hashtag1","hashtag2"]},{"1396821529":["hashtag1","hashtag2"]},{"1396821532":["hashtag1","hashtag2"]},{"1396821528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821530, 1396821527, 1396821535, 1396821529, 1396821532, 1396821528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38471794128418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:12:42.848335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_10_3728.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_13_2638.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_15_2661.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_19_3776.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_22_2609.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_24_2500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_10_3728.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_13_2638.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_15_2661.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_19_3776.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_22_2609.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_24_2500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821545","1396821548","1396821547","1396821543","1396821546","1396821549"],"photo_ids_order":["1396821543","1396821545","1396821546","1396821547","1396821548","1396821549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/678f6d29d1223fe709ae1e6c809ba513.jpg","text":"TemporaryFile(/tmp/multipartBody4321380641270574994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389623910,"filename":"image_31102025_08_43_13_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e124204d836eab59d6fc8e478d9b9505.jpg","text":"TemporaryFile(/tmp/multipartBody8973511348315338448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389623910,"filename":"image_31102025_08_43_22_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a80d1ff8dce7b4b9c194001525b2e0d5.jpg","text":"TemporaryFile(/tmp/multipartBody8777757923167041350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389623910,"filename":"image_31102025_08_43_19_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39681ecf1c75d38dd8ebc2cd63fccf6f.jpg","text":"TemporaryFile(/tmp/multipartBody3217894963642213046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389623910,"filename":"image_31102025_08_43_10_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b81aa7b6aedb42cb1e5e4026fae065c6.jpg","text":"TemporaryFile(/tmp/multipartBody1511228666319477577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389623910,"filename":"image_31102025_08_43_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/11/29/4f5ae8ec8d04232f4ebd155ded2d93da.jpg","text":"TemporaryFile(/tmp/multipartBody9161658657345564227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389623910,"filename":"image_31102025_08_43_24_2500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821546","file1":"1396821545","file0":"1396821543","file4":"1396821548","file5":"1396821549","file3":"1396821547"},"map_files_photo_id_array":[{"photo_id":"1396821549","filename":"file5"},{"photo_id":"1396821546","filename":"file2"},{"photo_id":"1396821548","filename":"file4"},{"photo_id":"1396821545","filename":"file1"},{"photo_id":"1396821543","filename":"file0"},{"photo_id":"1396821547","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396821545":["hashtag1","hashtag2"]},{"1396821548":["hashtag1","hashtag2"]},{"1396821547":["hashtag1","hashtag2"]},{"1396821543":["hashtag1","hashtag2"]},{"1396821546":["hashtag1","hashtag2"]},{"1396821549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396821545, 1396821548, 1396821547, 1396821543, 1396821546, 1396821549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.465409994125366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:13:22.006978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/05/image_29112025_05_06_04_9717.jpg', '/home/pi/Desktop/images/29112025/05/06/image_29112025_05_06_14_9660.jpg', '/home/pi/Desktop/images/29112025/05/06/image_29112025_05_06_24_10603.jpg', '/home/pi/Desktop/images/29112025/05/06/image_29112025_05_06_34_9625.jpg', '/home/pi/Desktop/images/29112025/05/06/image_29112025_05_06_45_10620.jpg', '/home/pi/Desktop/images/29112025/05/06/image_29112025_05_06_54_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/05/image_29112025_05_06_04_9717.jpg
/home/pi/Desktop/images/29112025/05/06/image_29112025_05_06_14_9660.jpg
/home/pi/Desktop/images/29112025/05/06/image_29112025_05_06_24_10603.jpg
/home/pi/Desktop/images/29112025/05/06/image_29112025_05_06_34_9625.jpg
/home/pi/Desktop/images/29112025/05/06/image_29112025_05_06_45_10620.jpg
/home/pi/Desktop/images/29112025/05/06/image_29112025_05_06_54_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821563","1396821566","1396821551","1396821561","1396821558","1396821555"],"photo_ids_order":["1396821551","1396821555","1396821558","1396821561","1396821563","1396821566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8a9abc331c54b865ec9221d7c87fa21.jpg","text":"TemporaryFile(/tmp/multipartBody3825264556521801037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389662721,"filename":"image_29112025_05_06_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0d1ba3a30dd16877cf4d5ccbdc3b369.jpg","text":"TemporaryFile(/tmp/multipartBody5879782235051043145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389662721,"filename":"image_29112025_05_06_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/11/29/0be42e27dbdd46f6cac000210db52e6e.jpg","text":"TemporaryFile(/tmp/multipartBody2923597962201372743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389662721,"filename":"image_29112025_05_06_04_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/833fe8cc77712e6e75607d1a188664f4.jpg","text":"TemporaryFile(/tmp/multipartBody8940920616528746063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389662721,"filename":"image_29112025_05_06_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72db332159255b78058e9103246f4393.jpg","text":"TemporaryFile(/tmp/multipartBody3981691846181588421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389662721,"filename":"image_29112025_05_06_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/11/29/c8f6381900349c5f4fed4e607bc1a083.jpg","text":"TemporaryFile(/tmp/multipartBody9029805745339980512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389662721,"filename":"image_29112025_05_06_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821558","file1":"1396821555","file0":"1396821551","file4":"1396821563","file5":"1396821566","file3":"1396821561"},"map_files_photo_id_array":[{"photo_id":"1396821566","filename":"file5"},{"photo_id":"1396821558","filename":"file2"},{"photo_id":"1396821563","filename":"file4"},{"photo_id":"1396821555","filename":"file1"},{"photo_id":"1396821551","filename":"file0"},{"photo_id":"1396821561","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821563":["hashtag1","hashtag2"]},{"1396821566":["hashtag1","hashtag2"]},{"1396821551":["hashtag1","hashtag2"]},{"1396821561":["hashtag1","hashtag2"]},{"1396821558":["hashtag1","hashtag2"]},{"1396821555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821563, 1396821566, 1396821551, 1396821561, 1396821558, 1396821555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56356644630432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:14:03.010648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/06/image_29112025_05_07_04_9728.jpg', '/home/pi/Desktop/images/29112025/05/07/image_29112025_05_07_14_9779.jpg', '/home/pi/Desktop/images/29112025/05/07/image_29112025_05_07_24_10701.jpg', '/home/pi/Desktop/images/29112025/05/07/image_29112025_05_07_34_9749.jpg', '/home/pi/Desktop/images/29112025/05/07/image_29112025_05_07_44_9770.jpg', '/home/pi/Desktop/images/29112025/05/07/image_29112025_05_07_55_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/06/image_29112025_05_07_04_9728.jpg
/home/pi/Desktop/images/29112025/05/07/image_29112025_05_07_14_9779.jpg
/home/pi/Desktop/images/29112025/05/07/image_29112025_05_07_24_10701.jpg
/home/pi/Desktop/images/29112025/05/07/image_29112025_05_07_34_9749.jpg
/home/pi/Desktop/images/29112025/05/07/image_29112025_05_07_44_9770.jpg
/home/pi/Desktop/images/29112025/05/07/image_29112025_05_07_55_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821572","1396821581","1396821575","1396821569","1396821570","1396821573"],"photo_ids_order":["1396821569","1396821570","1396821572","1396821573","1396821575","1396821581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/837376c204f0298f6c2a934c1d121891.jpg","text":"TemporaryFile(/tmp/multipartBody3141285613619849960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389705386,"filename":"image_29112025_05_07_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/11/29/d5b63ad21cfb41680d196f348a5ba615.jpg","text":"TemporaryFile(/tmp/multipartBody4179923667158039842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389705386,"filename":"image_29112025_05_07_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/11/29/fa633d1f111c04fd6d9e06ebaabc0d59.jpg","text":"TemporaryFile(/tmp/multipartBody7512134260678712708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389705386,"filename":"image_29112025_05_07_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/11/29/30979e7601e86a8da7db794452864f78.jpg","text":"TemporaryFile(/tmp/multipartBody8823544453140471053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389705386,"filename":"image_29112025_05_07_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/11/29/3c0d60af92f1f3384063b2f5ef0c3de7.jpg","text":"TemporaryFile(/tmp/multipartBody1079040164900020126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389705386,"filename":"image_29112025_05_07_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/11/29/d3d09458c6aecc863208458926de4ac3.jpg","text":"TemporaryFile(/tmp/multipartBody5977707679574374609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389705386,"filename":"image_29112025_05_07_34_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821572","file1":"1396821570","file0":"1396821569","file4":"1396821575","file5":"1396821581","file3":"1396821573"},"map_files_photo_id_array":[{"photo_id":"1396821581","filename":"file5"},{"photo_id":"1396821572","filename":"file2"},{"photo_id":"1396821575","filename":"file4"},{"photo_id":"1396821570","filename":"file1"},{"photo_id":"1396821569","filename":"file0"},{"photo_id":"1396821573","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821572":["hashtag1","hashtag2"]},{"1396821581":["hashtag1","hashtag2"]},{"1396821575":["hashtag1","hashtag2"]},{"1396821569":["hashtag1","hashtag2"]},{"1396821570":["hashtag1","hashtag2"]},{"1396821573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821572, 1396821581, 1396821575, 1396821569, 1396821570, 1396821573)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.62507677078247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:15:03.543968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 05:15:12.410242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_52_2539.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_55_2824.jpg', '/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_58_3540.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_07_3011.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_10_3812.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_13_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_52_2539.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_55_2824.jpg
/home/pi/Desktop/images/25112025/17/44/image_25112025_17_44_58_3540.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_07_3011.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_10_3812.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_13_2528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821596","1396821592","1396821601","1396821604","1396821599","1396821590"],"photo_ids_order":["1396821590","1396821592","1396821596","1396821599","1396821601","1396821604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bf5272d5757ca7c4301113070949434.jpg","text":"TemporaryFile(/tmp/multipartBody8883297821739832653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389776871,"filename":"image_25112025_17_44_58_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9812d68057db45a574cc4abdaa67b189.jpg","text":"TemporaryFile(/tmp/multipartBody7568350001081826631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389776871,"filename":"image_25112025_17_44_55_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17b68a77da42d810c8ea609cc222de0d.jpg","text":"TemporaryFile(/tmp/multipartBody2926095706276230182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389776871,"filename":"image_25112025_17_45_10_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a481deca5e7604d9c24f53295604bb7e.jpg","text":"TemporaryFile(/tmp/multipartBody180665058643455311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389776871,"filename":"image_25112025_17_45_13_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5d42e67ca09cb2efa4efd24ce93f48f.jpg","text":"TemporaryFile(/tmp/multipartBody4346092024175985777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389776871,"filename":"image_25112025_17_45_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/11/29/55ba3cf5b488f372162450100df241ec.jpg","text":"TemporaryFile(/tmp/multipartBody188546026640143279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389776871,"filename":"image_25112025_17_44_52_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821596","file1":"1396821592","file0":"1396821590","file4":"1396821601","file5":"1396821604","file3":"1396821599"},"map_files_photo_id_array":[{"photo_id":"1396821604","filename":"file5"},{"photo_id":"1396821596","filename":"file2"},{"photo_id":"1396821601","filename":"file4"},{"photo_id":"1396821592","filename":"file1"},{"photo_id":"1396821590","filename":"file0"},{"photo_id":"1396821599","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396821596":["hashtag1","hashtag2"]},{"1396821592":["hashtag1","hashtag2"]},{"1396821601":["hashtag1","hashtag2"]},{"1396821604":["hashtag1","hashtag2"]},{"1396821599":["hashtag1","hashtag2"]},{"1396821590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396821596, 1396821592, 1396821601, 1396821604, 1396821599, 1396821590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.043742418289185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:16:03.242251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/07/image_29112025_05_08_04_9614.jpg', '/home/pi/Desktop/images/29112025/05/08/image_29112025_05_08_24_9703.jpg', '/home/pi/Desktop/images/29112025/05/08/image_29112025_05_08_35_10808.jpg', '/home/pi/Desktop/images/29112025/05/08/image_29112025_05_08_44_9636.jpg', '/home/pi/Desktop/images/29112025/05/08/image_29112025_05_08_54_9543.jpg', '/home/pi/Desktop/images/29112025/05/08/image_29112025_05_09_04_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/07/image_29112025_05_08_04_9614.jpg
/home/pi/Desktop/images/29112025/05/08/image_29112025_05_08_24_9703.jpg
/home/pi/Desktop/images/29112025/05/08/image_29112025_05_08_35_10808.jpg
/home/pi/Desktop/images/29112025/05/08/image_29112025_05_08_44_9636.jpg
/home/pi/Desktop/images/29112025/05/08/image_29112025_05_08_54_9543.jpg
/home/pi/Desktop/images/29112025/05/08/image_29112025_05_09_04_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":["1396821611","1396821614","1396821608","1396821607","1396821606","1396821609"],"photo_ids_order":["1396821606","1396821607","1396821608","1396821609","1396821611","1396821614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6cfb1b16661aac907afa69a8e4f1e2f8.jpg","text":"TemporaryFile(/tmp/multipartBody1173777549144774088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389823966,"filename":"image_29112025_05_08_54_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efd5a68b6baf30df994939c0d95d8886.jpg","text":"TemporaryFile(/tmp/multipartBody5505017918906895789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389823966,"filename":"image_29112025_05_09_04_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60abea44cafbdc6781d5df183d179ac7.jpg","text":"TemporaryFile(/tmp/multipartBody5496130910305014360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389823966,"filename":"image_29112025_05_08_35_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd18de81b37850215ec15b707e4bce30.jpg","text":"TemporaryFile(/tmp/multipartBody8123369308274764444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389823966,"filename":"image_29112025_05_08_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/11/29/cd7440a4e7f46869202ab0c6ec947e1f.jpg","text":"TemporaryFile(/tmp/multipartBody8274002927147607845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389823966,"filename":"image_29112025_05_08_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/11/29/6c89248f1831d73ab760438259a8b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody4102537424608482383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389823966,"filename":"image_29112025_05_08_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821608","file1":"1396821607","file0":"1396821606","file4":"1396821611","file5":"1396821614","file3":"1396821609"},"map_files_photo_id_array":[{"photo_id":"1396821614","filename":"file5"},{"photo_id":"1396821608","filename":"file2"},{"photo_id":"1396821611","filename":"file4"},{"photo_id":"1396821607","filename":"file1"},{"photo_id":"1396821606","filename":"file0"},{"photo_id":"1396821609","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821611":["hashtag1","hashtag2"]},{"1396821614":["hashtag1","hashtag2"]},{"1396821608":["hashtag1","hashtag2"]},{"1396821607":["hashtag1","hashtag2"]},{"1396821606":["hashtag1","hashtag2"]},{"1396821609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821611, 1396821614, 1396821608, 1396821607, 1396821606, 1396821609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.766308069229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:16:42.754532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_28_3866.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_31_2783.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_34_2806.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_36_2622.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_40_3697.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_43_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/08/43/image_31102025_08_43_28_3866.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_31_2783.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_34_2806.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_36_2622.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_40_3697.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_43_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":["1396821632","1396821628","1396821631","1396821625","1396821630","1396821633"],"photo_ids_order":["1396821625","1396821628","1396821630","1396821631","1396821632","1396821633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b0cdb47f844b0fb4290fbe837461f7c.jpg","text":"TemporaryFile(/tmp/multipartBody6101969634317344932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389863839,"filename":"image_31102025_08_43_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/11/29/7c667b0379c078e9d5ef946d72f9ac21.jpg","text":"TemporaryFile(/tmp/multipartBody5511004857219129523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389863839,"filename":"image_31102025_08_43_31_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82d4f8d2af3debc93249c0bbe93a5a26.jpg","text":"TemporaryFile(/tmp/multipartBody1230702314225502676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389863839,"filename":"image_31102025_08_43_36_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63baf2fec2b2237de8f0f99dfaa4c3c5.jpg","text":"TemporaryFile(/tmp/multipartBody3799009283628805762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389863839,"filename":"image_31102025_08_43_28_3866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca60bc12d2d6858b7c1a3a6516eeb47d.jpg","text":"TemporaryFile(/tmp/multipartBody7894028077393812505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389863839,"filename":"image_31102025_08_43_34_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b860b0379660fde4cb12bb6b03b41cdb.jpg","text":"TemporaryFile(/tmp/multipartBody2164713621849119126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389863839,"filename":"image_31102025_08_43_43_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821630","file1":"1396821628","file0":"1396821625","file4":"1396821632","file5":"1396821633","file3":"1396821631"},"map_files_photo_id_array":[{"photo_id":"1396821633","filename":"file5"},{"photo_id":"1396821630","filename":"file2"},{"photo_id":"1396821632","filename":"file4"},{"photo_id":"1396821628","filename":"file1"},{"photo_id":"1396821625","filename":"file0"},{"photo_id":"1396821631","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396821632":["hashtag1","hashtag2"]},{"1396821628":["hashtag1","hashtag2"]},{"1396821631":["hashtag1","hashtag2"]},{"1396821625":["hashtag1","hashtag2"]},{"1396821630":["hashtag1","hashtag2"]},{"1396821633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396821632, 1396821628, 1396821631, 1396821625, 1396821630, 1396821633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75201964378357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:17:21.996945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_14_9783.jpg', '/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_24_9762.jpg', '/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_35_10682.jpg', '/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_44_9572.jpg', '/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_54_9711.jpg', '/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_14_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_14_9783.jpg
/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_24_9762.jpg
/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_35_10682.jpg
/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_44_9572.jpg
/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_54_9711.jpg
/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_14_9614.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.609889030456543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:17:31.947051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_16_2644.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_19_3638.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_22_2641.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_26_3594.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_28_2655.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_31_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_16_2644.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_19_3638.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_22_2641.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_26_3594.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_28_2655.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_31_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821653","1396821652","1396821655","1396821645","1396821654","1396821648"],"photo_ids_order":["1396821645","1396821648","1396821652","1396821653","1396821654","1396821655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14c105079c82a124c23cae30e9c48272.jpg","text":"TemporaryFile(/tmp/multipartBody8116740022262162496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389914216,"filename":"image_25112025_17_45_26_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd070d34bb4bc3e79bad926845ff51c0.jpg","text":"TemporaryFile(/tmp/multipartBody184884071163126121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389914216,"filename":"image_25112025_17_45_22_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d053d54b124d96b5c4f3134e80e8070.jpg","text":"TemporaryFile(/tmp/multipartBody8902862672213316609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389914216,"filename":"image_25112025_17_45_31_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/053553d2bac4ecf31380c32e86e1fed3.jpg","text":"TemporaryFile(/tmp/multipartBody930702557798905903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389914216,"filename":"image_25112025_17_45_16_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d38a9be9dd20582e90af0545fd91da9d.jpg","text":"TemporaryFile(/tmp/multipartBody3425628147608409108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389914216,"filename":"image_25112025_17_45_28_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc72d37fc309d5276338dca5feb86c36.jpg","text":"TemporaryFile(/tmp/multipartBody2659781618755960099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389914216,"filename":"image_25112025_17_45_19_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821652","file1":"1396821648","file0":"1396821645","file4":"1396821654","file5":"1396821655","file3":"1396821653"},"map_files_photo_id_array":[{"photo_id":"1396821655","filename":"file5"},{"photo_id":"1396821652","filename":"file2"},{"photo_id":"1396821654","filename":"file4"},{"photo_id":"1396821648","filename":"file1"},{"photo_id":"1396821645","filename":"file0"},{"photo_id":"1396821653","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396821653":["hashtag1","hashtag2"]},{"1396821652":["hashtag1","hashtag2"]},{"1396821655":["hashtag1","hashtag2"]},{"1396821645":["hashtag1","hashtag2"]},{"1396821654":["hashtag1","hashtag2"]},{"1396821648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396821653, 1396821652, 1396821655, 1396821645, 1396821654, 1396821648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.756667137145996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:18:12.169902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_37_2712.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_40_2714.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_44_3684.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_46_2681.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_49_2553.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_52_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_37_2712.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_40_2714.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_44_3684.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_46_2681.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_49_2553.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_52_3621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396821656","1396821664","1396821658","1396821667","1396821661","1396821669"],"photo_ids_order":["1396821656","1396821658","1396821661","1396821664","1396821667","1396821669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/994a677e6f7b471c8aa16e3876b44f82.jpg","text":"TemporaryFile(/tmp/multipartBody2526506238326616069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389956235,"filename":"image_25112025_17_45_37_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bd4c5d9ea9c0f35bdd7844ca57db514.jpg","text":"TemporaryFile(/tmp/multipartBody4748302794297492607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389956235,"filename":"image_25112025_17_45_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/11/29/944260babdf136807a0b0df9093d47df.jpg","text":"TemporaryFile(/tmp/multipartBody4637427492241126348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389956235,"filename":"image_25112025_17_45_40_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aca490a711fddbbc4a45ea39caf1001e.jpg","text":"TemporaryFile(/tmp/multipartBody1619968897479481198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389956235,"filename":"image_25112025_17_45_49_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/776341b681c4c081e3c5080f31eeb98f.jpg","text":"TemporaryFile(/tmp/multipartBody6181832007554247399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389956235,"filename":"image_25112025_17_45_44_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7675b431a3e907b924cf45ca2c4c713e.jpg","text":"TemporaryFile(/tmp/multipartBody221481969827560560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764389956235,"filename":"image_25112025_17_45_52_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821661","file1":"1396821658","file0":"1396821656","file4":"1396821667","file5":"1396821669","file3":"1396821664"},"map_files_photo_id_array":[{"photo_id":"1396821669","filename":"file5"},{"photo_id":"1396821661","filename":"file2"},{"photo_id":"1396821667","filename":"file4"},{"photo_id":"1396821658","filename":"file1"},{"photo_id":"1396821656","filename":"file0"},{"photo_id":"1396821664","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396821656":["hashtag1","hashtag2"]},{"1396821664":["hashtag1","hashtag2"]},{"1396821658":["hashtag1","hashtag2"]},{"1396821667":["hashtag1","hashtag2"]},{"1396821661":["hashtag1","hashtag2"]},{"1396821669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396821656, 1396821664, 1396821658, 1396821667, 1396821661, 1396821669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22703003883362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:19:03.292573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_14_9783.jpg', '/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_24_9762.jpg', '/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_35_10682.jpg', '/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_44_9572.jpg', '/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_54_9711.jpg', '/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_14_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_14_9783.jpg
/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_24_9762.jpg
/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_35_10682.jpg
/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_44_9572.jpg
/home/pi/Desktop/images/29112025/05/09/image_29112025_05_09_54_9711.jpg
/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_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":["1396821680","1396821674","1396821683","1396821677","1396821673","1396821675"],"photo_ids_order":["1396821673","1396821674","1396821675","1396821677","1396821680","1396821683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df0d4a4887dd57478c00ef78e818b0a2.jpg","text":"TemporaryFile(/tmp/multipartBody5267515779537585006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390004215,"filename":"image_29112025_05_09_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/11/29/0e2173d09ff9c37b1ea3e82886704218.jpg","text":"TemporaryFile(/tmp/multipartBody3231020735704947552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390004215,"filename":"image_29112025_05_09_24_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97e155ba16c623a49162fb9dec66a39a.jpg","text":"TemporaryFile(/tmp/multipartBody3749656517123181524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390004215,"filename":"image_29112025_05_10_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/11/29/ef215120867d353821704250abac9fc2.jpg","text":"TemporaryFile(/tmp/multipartBody4822237961169740971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390004215,"filename":"image_29112025_05_09_44_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/893ebcb83029b67c169173a502cdc38a.jpg","text":"TemporaryFile(/tmp/multipartBody8325249836987929456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390004215,"filename":"image_29112025_05_09_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/11/29/40b399d4a5afe838b90611258c2dc263.jpg","text":"TemporaryFile(/tmp/multipartBody317193762573521918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390004215,"filename":"image_29112025_05_09_35_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821675","file1":"1396821674","file0":"1396821673","file4":"1396821680","file5":"1396821683","file3":"1396821677"},"map_files_photo_id_array":[{"photo_id":"1396821683","filename":"file5"},{"photo_id":"1396821675","filename":"file2"},{"photo_id":"1396821680","filename":"file4"},{"photo_id":"1396821674","filename":"file1"},{"photo_id":"1396821673","filename":"file0"},{"photo_id":"1396821677","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396821680":["hashtag1","hashtag2"]},{"1396821674":["hashtag1","hashtag2"]},{"1396821683":["hashtag1","hashtag2"]},{"1396821677":["hashtag1","hashtag2"]},{"1396821673":["hashtag1","hashtag2"]},{"1396821675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396821680, 1396821674, 1396821683, 1396821677, 1396821673, 1396821675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.563942432403564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:19:42.222068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_46_2560.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_52_3703.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_55_2690.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_57_2527.jpg', '/home/pi/Desktop/images/31102025/08/43/image_31102025_08_44_01_3780.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_04_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/08/43/image_31102025_08_43_46_2560.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_52_3703.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_55_2690.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_43_57_2527.jpg
/home/pi/Desktop/images/31102025/08/43/image_31102025_08_44_01_3780.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_04_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":["1396821890","1396821851","1396821926","1396821964","1396821774","1396821813"],"photo_ids_order":["1396821774","1396821813","1396821851","1396821890","1396821926","1396821964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e76749fb58f6dc7763bea270912836e4.jpg","text":"TemporaryFile(/tmp/multipartBody6703221527168066044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390043293,"filename":"image_31102025_08_43_57_2527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f74def2c7ca5a0c22e462392d978abd.jpg","text":"TemporaryFile(/tmp/multipartBody1097054589467847819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390043293,"filename":"image_31102025_08_43_55_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/878f409191758596eb1f058264ed679e.jpg","text":"TemporaryFile(/tmp/multipartBody819712632670883771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390043293,"filename":"image_31102025_08_44_01_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75d25e87038171f152edda6a02fadb4c.jpg","text":"TemporaryFile(/tmp/multipartBody6033961919865758952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390043293,"filename":"image_31102025_08_44_04_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b9667bd7c7bf0b856e66e9d915e55ed.jpg","text":"TemporaryFile(/tmp/multipartBody4200467159302154442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390043293,"filename":"image_31102025_08_43_46_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9fbd3927e671f2fb6d7fac77c5bf65e.jpg","text":"TemporaryFile(/tmp/multipartBody4304859906783480134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390043293,"filename":"image_31102025_08_43_52_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396821851","file1":"1396821813","file0":"1396821774","file4":"1396821926","file5":"1396821964","file3":"1396821890"},"map_files_photo_id_array":[{"photo_id":"1396821964","filename":"file5"},{"photo_id":"1396821851","filename":"file2"},{"photo_id":"1396821926","filename":"file4"},{"photo_id":"1396821813","filename":"file1"},{"photo_id":"1396821774","filename":"file0"},{"photo_id":"1396821890","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396821890":["hashtag1","hashtag2"]},{"1396821851":["hashtag1","hashtag2"]},{"1396821926":["hashtag1","hashtag2"]},{"1396821964":["hashtag1","hashtag2"]},{"1396821774":["hashtag1","hashtag2"]},{"1396821813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396821890, 1396821851, 1396821926, 1396821964, 1396821774, 1396821813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25425577163696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:20:22.407218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_24_9563.jpg', '/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_34_10641.jpg', '/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_44_9617.jpg', '/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_55_10639.jpg', '/home/pi/Desktop/images/29112025/05/10/image_29112025_05_11_04_9643.jpg', '/home/pi/Desktop/images/29112025/05/11/image_29112025_05_11_14_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_24_9563.jpg
/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_34_10641.jpg
/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_44_9617.jpg
/home/pi/Desktop/images/29112025/05/10/image_29112025_05_10_55_10639.jpg
/home/pi/Desktop/images/29112025/05/10/image_29112025_05_11_04_9643.jpg
/home/pi/Desktop/images/29112025/05/11/image_29112025_05_11_14_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":["1396822259","1396822220","1396822183","1396822299","1396822102","1396822146"],"photo_ids_order":["1396822102","1396822146","1396822183","1396822220","1396822259","1396822299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bbb9000027c7fd8f3ddcc01ff19a5051.jpg","text":"TemporaryFile(/tmp/multipartBody4477742084534965709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390083157,"filename":"image_29112025_05_11_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/11/29/ba1cd00b1ab60fd2789e24972f5d2488.jpg","text":"TemporaryFile(/tmp/multipartBody2175049004232781407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390083157,"filename":"image_29112025_05_10_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b173eb3718f7656c632b74f2996c1364.jpg","text":"TemporaryFile(/tmp/multipartBody2769650017066584953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390083157,"filename":"image_29112025_05_10_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01fa308220951639dfedb282fe822dde.jpg","text":"TemporaryFile(/tmp/multipartBody8939150849271735392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390083157,"filename":"image_29112025_05_11_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a8011f34aea5a46a2f6266bd104737a.jpg","text":"TemporaryFile(/tmp/multipartBody3370171031488648062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390083157,"filename":"image_29112025_05_10_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/313bbb2cb921a7de4be7e72120387c32.jpg","text":"TemporaryFile(/tmp/multipartBody3335955771863594812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390083157,"filename":"image_29112025_05_10_34_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396822183","file1":"1396822146","file0":"1396822102","file4":"1396822259","file5":"1396822299","file3":"1396822220"},"map_files_photo_id_array":[{"photo_id":"1396822299","filename":"file5"},{"photo_id":"1396822183","filename":"file2"},{"photo_id":"1396822259","filename":"file4"},{"photo_id":"1396822146","filename":"file1"},{"photo_id":"1396822102","filename":"file0"},{"photo_id":"1396822220","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396822259":["hashtag1","hashtag2"]},{"1396822220":["hashtag1","hashtag2"]},{"1396822183":["hashtag1","hashtag2"]},{"1396822299":["hashtag1","hashtag2"]},{"1396822102":["hashtag1","hashtag2"]},{"1396822146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396822259, 1396822220, 1396822183, 1396822299, 1396822102, 1396822146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89726448059082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:21:03.165202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/11/image_29112025_05_11_34_10626.jpg', '/home/pi/Desktop/images/29112025/05/11/image_29112025_05_11_44_9716.jpg', '/home/pi/Desktop/images/29112025/05/11/image_29112025_05_11_55_10541.jpg', '/home/pi/Desktop/images/29112025/05/11/image_29112025_05_12_04_9680.jpg', '/home/pi/Desktop/images/29112025/05/12/image_29112025_05_12_14_9612.jpg', '/home/pi/Desktop/images/29112025/05/12/image_29112025_05_12_25_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/11/image_29112025_05_11_34_10626.jpg
/home/pi/Desktop/images/29112025/05/11/image_29112025_05_11_44_9716.jpg
/home/pi/Desktop/images/29112025/05/11/image_29112025_05_11_55_10541.jpg
/home/pi/Desktop/images/29112025/05/11/image_29112025_05_12_04_9680.jpg
/home/pi/Desktop/images/29112025/05/12/image_29112025_05_12_14_9612.jpg
/home/pi/Desktop/images/29112025/05/12/image_29112025_05_12_25_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":["1396822442","1396822643","1396822601","1396822560","1396822521","1396822478"],"photo_ids_order":["1396822442","1396822478","1396822521","1396822560","1396822601","1396822643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e76d01f794aa0bdf70a981617cb0c217.jpg","text":"TemporaryFile(/tmp/multipartBody1128264959545911069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390123958,"filename":"image_29112025_05_11_34_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb8fbd28288a760410d5bdbbc542ec56.jpg","text":"TemporaryFile(/tmp/multipartBody7677763077906598001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390123958,"filename":"image_29112025_05_12_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1a7f0eefd8ff861631638a3bc99a74b.jpg","text":"TemporaryFile(/tmp/multipartBody1374094007721550834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390123958,"filename":"image_29112025_05_12_14_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73d1708b64748601bdaed73a88dbe301.jpg","text":"TemporaryFile(/tmp/multipartBody7153736063665300767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390123958,"filename":"image_29112025_05_12_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/11/29/7ba0eb78322137b6ff3a92ef7c0e95b7.jpg","text":"TemporaryFile(/tmp/multipartBody5587962486131587409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390123958,"filename":"image_29112025_05_11_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/11/29/12343a8058b16cabaaa3417d7e677cc3.jpg","text":"TemporaryFile(/tmp/multipartBody870448933120644757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390123958,"filename":"image_29112025_05_11_44_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396822521","file1":"1396822478","file0":"1396822442","file4":"1396822601","file5":"1396822643","file3":"1396822560"},"map_files_photo_id_array":[{"photo_id":"1396822643","filename":"file5"},{"photo_id":"1396822521","filename":"file2"},{"photo_id":"1396822601","filename":"file4"},{"photo_id":"1396822478","filename":"file1"},{"photo_id":"1396822442","filename":"file0"},{"photo_id":"1396822560","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396822442":["hashtag1","hashtag2"]},{"1396822643":["hashtag1","hashtag2"]},{"1396822601":["hashtag1","hashtag2"]},{"1396822560":["hashtag1","hashtag2"]},{"1396822521":["hashtag1","hashtag2"]},{"1396822478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396822442, 1396822643, 1396822601, 1396822560, 1396822521, 1396822478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60198402404785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:21:42.640319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_06_2595.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_10_3640.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_13_2541.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_15_2599.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_19_3694.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_22_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/08/44/image_31102025_08_44_06_2595.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_10_3640.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_13_2541.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_15_2599.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_19_3694.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_22_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":["1396822711","1396822714","1396822719","1396822710","1396822704","1396822713"],"photo_ids_order":["1396822704","1396822710","1396822711","1396822713","1396822714","1396822719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49a8d4ebfd51a7159442881706af1947.jpg","text":"TemporaryFile(/tmp/multipartBody2631710562607791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390163699,"filename":"image_31102025_08_44_13_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3b2d52f7e62af5ce29c64813535f085.jpg","text":"TemporaryFile(/tmp/multipartBody6825777308196706011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390163699,"filename":"image_31102025_08_44_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/11/29/1585178bb4a1eaecaef806f3478c5191.jpg","text":"TemporaryFile(/tmp/multipartBody1067494092304650272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390163699,"filename":"image_31102025_08_44_22_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64ffa8c3b80f321eccc756da79974f2f.jpg","text":"TemporaryFile(/tmp/multipartBody1972760072979704795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390163699,"filename":"image_31102025_08_44_10_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74f88cd2eeb9eef74b3366ce0e420459.jpg","text":"TemporaryFile(/tmp/multipartBody6809910175569249775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390163699,"filename":"image_31102025_08_44_06_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf6f7ad867844ed9d7a5cb2eac24ed3c.jpg","text":"TemporaryFile(/tmp/multipartBody4503125125228242485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390163699,"filename":"image_31102025_08_44_15_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396822711","file1":"1396822710","file0":"1396822704","file4":"1396822714","file5":"1396822719","file3":"1396822713"},"map_files_photo_id_array":[{"photo_id":"1396822719","filename":"file5"},{"photo_id":"1396822711","filename":"file2"},{"photo_id":"1396822714","filename":"file4"},{"photo_id":"1396822710","filename":"file1"},{"photo_id":"1396822704","filename":"file0"},{"photo_id":"1396822713","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396822711":["hashtag1","hashtag2"]},{"1396822714":["hashtag1","hashtag2"]},{"1396822719":["hashtag1","hashtag2"]},{"1396822710":["hashtag1","hashtag2"]},{"1396822704":["hashtag1","hashtag2"]},{"1396822713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396822711, 1396822714, 1396822719, 1396822710, 1396822704, 1396822713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22171425819397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:22:22.792834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/12/image_29112025_05_12_34_9553.jpg', '/home/pi/Desktop/images/29112025/05/12/image_29112025_05_12_44_9677.jpg', '/home/pi/Desktop/images/29112025/05/12/image_29112025_05_12_54_10565.jpg', '/home/pi/Desktop/images/29112025/05/12/image_29112025_05_13_04_9674.jpg', '/home/pi/Desktop/images/29112025/05/13/image_29112025_05_13_14_9636.jpg', '/home/pi/Desktop/images/29112025/05/13/image_29112025_05_13_24_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/12/image_29112025_05_12_34_9553.jpg
/home/pi/Desktop/images/29112025/05/12/image_29112025_05_12_44_9677.jpg
/home/pi/Desktop/images/29112025/05/12/image_29112025_05_12_54_10565.jpg
/home/pi/Desktop/images/29112025/05/12/image_29112025_05_13_04_9674.jpg
/home/pi/Desktop/images/29112025/05/13/image_29112025_05_13_14_9636.jpg
/home/pi/Desktop/images/29112025/05/13/image_29112025_05_13_24_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":["1396822748","1396822744","1396822729","1396822740","1396822734","1396822737"],"photo_ids_order":["1396822729","1396822734","1396822737","1396822740","1396822744","1396822748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/755f342ad0f34389e54d33b2a3a5e2c1.jpg","text":"TemporaryFile(/tmp/multipartBody3849378558226859009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390203502,"filename":"image_29112025_05_13_24_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a017c508af0d934f6df22bdd07318ec4.jpg","text":"TemporaryFile(/tmp/multipartBody2450660384959011459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390203502,"filename":"image_29112025_05_13_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/11/29/c900151e181b21fbe39da3dbb38caa03.jpg","text":"TemporaryFile(/tmp/multipartBody7917291064395383958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390203502,"filename":"image_29112025_05_12_34_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3dc03b94b41fb87231878c1c6321c90f.jpg","text":"TemporaryFile(/tmp/multipartBody8127729310325811206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390203502,"filename":"image_29112025_05_13_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30301dacf25319c913ba794cb95559ba.jpg","text":"TemporaryFile(/tmp/multipartBody8668590997702050712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390203502,"filename":"image_29112025_05_12_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/11/29/0ff1913f3c2d792b13f0cbd26e164119.jpg","text":"TemporaryFile(/tmp/multipartBody5307246524960607070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390203502,"filename":"image_29112025_05_12_54_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396822737","file1":"1396822734","file0":"1396822729","file4":"1396822744","file5":"1396822748","file3":"1396822740"},"map_files_photo_id_array":[{"photo_id":"1396822748","filename":"file5"},{"photo_id":"1396822737","filename":"file2"},{"photo_id":"1396822744","filename":"file4"},{"photo_id":"1396822734","filename":"file1"},{"photo_id":"1396822729","filename":"file0"},{"photo_id":"1396822740","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396822748":["hashtag1","hashtag2"]},{"1396822744":["hashtag1","hashtag2"]},{"1396822729":["hashtag1","hashtag2"]},{"1396822740":["hashtag1","hashtag2"]},{"1396822734":["hashtag1","hashtag2"]},{"1396822737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396822748, 1396822744, 1396822729, 1396822740, 1396822734, 1396822737)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.784650802612305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:23:12.036023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_55_2597.jpg', '/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_59_3574.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_06_6990.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_07_1494.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_09_1521.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_10_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_55_2597.jpg
/home/pi/Desktop/images/25112025/17/45/image_25112025_17_45_59_3574.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_06_6990.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_07_1494.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_09_1521.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_10_1642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823185","1396823064","1396823145","1396823025","1396823109","1396822988"],"photo_ids_order":["1396822988","1396823025","1396823064","1396823109","1396823145","1396823185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/406d6a8f94216b4ea1d732aa2094bcae.jpg","text":"TemporaryFile(/tmp/multipartBody823470266285864953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390258046,"filename":"image_25112025_17_46_10_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7a7e1ea1c62920ada90394cff8692ad.jpg","text":"TemporaryFile(/tmp/multipartBody2192906063088509693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390258046,"filename":"image_25112025_17_46_06_6990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/171f161fc5171dd3586daf8df403e32b.jpg","text":"TemporaryFile(/tmp/multipartBody1301076073050512860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390258046,"filename":"image_25112025_17_46_09_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cf10994fb634ff6e7c4e21856732f50.jpg","text":"TemporaryFile(/tmp/multipartBody8590906544874721861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390258046,"filename":"image_25112025_17_45_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/11/29/8e8f80c04704ecf59f854771d79ecec1.jpg","text":"TemporaryFile(/tmp/multipartBody7752606192764904402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390258046,"filename":"image_25112025_17_46_07_1494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30fc82382b414887c4f61beb5ef7577e.jpg","text":"TemporaryFile(/tmp/multipartBody7367928297993566613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390258046,"filename":"image_25112025_17_45_55_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823064","file1":"1396823025","file0":"1396822988","file4":"1396823145","file5":"1396823185","file3":"1396823109"},"map_files_photo_id_array":[{"photo_id":"1396823185","filename":"file5"},{"photo_id":"1396823064","filename":"file2"},{"photo_id":"1396823145","filename":"file4"},{"photo_id":"1396823025","filename":"file1"},{"photo_id":"1396822988","filename":"file0"},{"photo_id":"1396823109","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396823185":["hashtag1","hashtag2"]},{"1396823064":["hashtag1","hashtag2"]},{"1396823145":["hashtag1","hashtag2"]},{"1396823025":["hashtag1","hashtag2"]},{"1396823109":["hashtag1","hashtag2"]},{"1396822988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396823185, 1396823064, 1396823145, 1396823025, 1396823109, 1396822988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.018277645111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:24:03.469402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/13/image_29112025_05_13_34_9504.jpg', '/home/pi/Desktop/images/29112025/05/13/image_29112025_05_13_45_10674.jpg', '/home/pi/Desktop/images/29112025/05/13/image_29112025_05_13_54_9844.jpg', '/home/pi/Desktop/images/29112025/05/13/image_29112025_05_14_04_9788.jpg', '/home/pi/Desktop/images/29112025/05/14/image_29112025_05_14_14_9678.jpg', '/home/pi/Desktop/images/29112025/05/14/image_29112025_05_14_24_9949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/13/image_29112025_05_13_34_9504.jpg
/home/pi/Desktop/images/29112025/05/13/image_29112025_05_13_45_10674.jpg
/home/pi/Desktop/images/29112025/05/13/image_29112025_05_13_54_9844.jpg
/home/pi/Desktop/images/29112025/05/13/image_29112025_05_14_04_9788.jpg
/home/pi/Desktop/images/29112025/05/14/image_29112025_05_14_14_9678.jpg
/home/pi/Desktop/images/29112025/05/14/image_29112025_05_14_24_9949.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823272","1396823320","1396823322","1396823271","1396823285","1396823273"],"photo_ids_order":["1396823271","1396823272","1396823273","1396823285","1396823320","1396823322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4177284c459a2b448917a07bbc447cc.jpg","text":"TemporaryFile(/tmp/multipartBody262580061557656583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390304243,"filename":"image_29112025_05_13_45_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9189cb008d09159a49b616dffcc7395c.jpg","text":"TemporaryFile(/tmp/multipartBody5967451959968416123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390304243,"filename":"image_29112025_05_14_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6831e5ec701cdf0897b85b246d9433a.jpg","text":"TemporaryFile(/tmp/multipartBody7368967094791575945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390304243,"filename":"image_29112025_05_14_24_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/191b9f3d709e5b12fca92a2032ed0805.jpg","text":"TemporaryFile(/tmp/multipartBody3415991491336719507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390304243,"filename":"image_29112025_05_13_34_9504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a1d4952264f8e58dcc3014e5d27a977.jpg","text":"TemporaryFile(/tmp/multipartBody7087353779309145741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390304243,"filename":"image_29112025_05_14_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/470050c15effeb7b08e5fff0e7fb5eea.jpg","text":"TemporaryFile(/tmp/multipartBody7344918769184368247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390304243,"filename":"image_29112025_05_13_54_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823273","file1":"1396823272","file0":"1396823271","file4":"1396823320","file5":"1396823322","file3":"1396823285"},"map_files_photo_id_array":[{"photo_id":"1396823322","filename":"file5"},{"photo_id":"1396823273","filename":"file2"},{"photo_id":"1396823320","filename":"file4"},{"photo_id":"1396823272","filename":"file1"},{"photo_id":"1396823271","filename":"file0"},{"photo_id":"1396823285","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823272":["hashtag1","hashtag2"]},{"1396823320":["hashtag1","hashtag2"]},{"1396823322":["hashtag1","hashtag2"]},{"1396823271":["hashtag1","hashtag2"]},{"1396823285":["hashtag1","hashtag2"]},{"1396823273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823272, 1396823320, 1396823322, 1396823271, 1396823285, 1396823273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62741732597351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:24:42.874284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_24_2740.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_28_3704.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_31_2607.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_33_2872.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_36_2811.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_40_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/08/44/image_31102025_08_44_24_2740.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_28_3704.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_31_2607.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_33_2872.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_36_2811.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_40_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":["1396823362","1396823367","1396823364","1396823358","1396823366","1396823360"],"photo_ids_order":["1396823358","1396823360","1396823362","1396823364","1396823366","1396823367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b37ea1cecca0c2f36d3e1b31c7140810.jpg","text":"TemporaryFile(/tmp/multipartBody2179037012505026757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390343985,"filename":"image_31102025_08_44_31_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be4c0e9952049003cd48dfbf129103e2.jpg","text":"TemporaryFile(/tmp/multipartBody1620370292858148531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390343985,"filename":"image_31102025_08_44_40_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b36fc6ec9bbe245d6b5fbd2da187fc48.jpg","text":"TemporaryFile(/tmp/multipartBody1956351131069298874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390343985,"filename":"image_31102025_08_44_33_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a98cadd5776669d3f0a637762a94a005.jpg","text":"TemporaryFile(/tmp/multipartBody7509168076806949519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390343985,"filename":"image_31102025_08_44_24_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e42408148ae4665a2ad4287bc3035ae3.jpg","text":"TemporaryFile(/tmp/multipartBody4115453846255829499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390343985,"filename":"image_31102025_08_44_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/11/29/8e92ad9ea523038f84cf7165f6590252.jpg","text":"TemporaryFile(/tmp/multipartBody2757503394674421665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390343985,"filename":"image_31102025_08_44_28_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823362","file1":"1396823360","file0":"1396823358","file4":"1396823366","file5":"1396823367","file3":"1396823364"},"map_files_photo_id_array":[{"photo_id":"1396823367","filename":"file5"},{"photo_id":"1396823362","filename":"file2"},{"photo_id":"1396823366","filename":"file4"},{"photo_id":"1396823360","filename":"file1"},{"photo_id":"1396823358","filename":"file0"},{"photo_id":"1396823364","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396823362":["hashtag1","hashtag2"]},{"1396823367":["hashtag1","hashtag2"]},{"1396823364":["hashtag1","hashtag2"]},{"1396823358":["hashtag1","hashtag2"]},{"1396823366":["hashtag1","hashtag2"]},{"1396823360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396823362, 1396823367, 1396823364, 1396823358, 1396823366, 1396823360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63274788856506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:25:22.116107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/14/image_29112025_05_14_44_9758.jpg', '/home/pi/Desktop/images/29112025/05/14/image_29112025_05_14_54_9653.jpg', '/home/pi/Desktop/images/29112025/05/14/image_29112025_05_15_04_10593.jpg', '/home/pi/Desktop/images/29112025/05/15/image_29112025_05_15_14_9649.jpg', '/home/pi/Desktop/images/29112025/05/15/image_29112025_05_15_25_10499.jpg', '/home/pi/Desktop/images/29112025/05/15/image_29112025_05_15_34_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/14/image_29112025_05_14_44_9758.jpg
/home/pi/Desktop/images/29112025/05/14/image_29112025_05_14_54_9653.jpg
/home/pi/Desktop/images/29112025/05/14/image_29112025_05_15_04_10593.jpg
/home/pi/Desktop/images/29112025/05/15/image_29112025_05_15_14_9649.jpg
/home/pi/Desktop/images/29112025/05/15/image_29112025_05_15_25_10499.jpg
/home/pi/Desktop/images/29112025/05/15/image_29112025_05_15_34_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823374","1396823371","1396823379","1396823382","1396823376","1396823384"],"photo_ids_order":["1396823371","1396823374","1396823376","1396823379","1396823382","1396823384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c15dbcad65dd82b3333b3b731a3c1f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1179002585479391150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390382831,"filename":"image_29112025_05_14_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/11/29/4839172a7914b31765dd66808cf21c53.jpg","text":"TemporaryFile(/tmp/multipartBody3656028919157840160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390382831,"filename":"image_29112025_05_14_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/11/29/b76d58d0d8949807ff575d676eb4ec0b.jpg","text":"TemporaryFile(/tmp/multipartBody4105237858092170203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390382831,"filename":"image_29112025_05_15_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/11/29/d7c39a3c6fb32c97ce94af9640e742eb.jpg","text":"TemporaryFile(/tmp/multipartBody4367282665783469832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390382831,"filename":"image_29112025_05_15_25_10499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73b440b4a723006081222aaed90db2f7.jpg","text":"TemporaryFile(/tmp/multipartBody1865048018278943562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390382831,"filename":"image_29112025_05_15_04_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/997a6318e0e7d6f9a706bd8cae31f0ee.jpg","text":"TemporaryFile(/tmp/multipartBody7328576011972749082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390382831,"filename":"image_29112025_05_15_34_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823376","file1":"1396823374","file0":"1396823371","file4":"1396823382","file5":"1396823384","file3":"1396823379"},"map_files_photo_id_array":[{"photo_id":"1396823384","filename":"file5"},{"photo_id":"1396823376","filename":"file2"},{"photo_id":"1396823382","filename":"file4"},{"photo_id":"1396823374","filename":"file1"},{"photo_id":"1396823371","filename":"file0"},{"photo_id":"1396823379","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823374":["hashtag1","hashtag2"]},{"1396823371":["hashtag1","hashtag2"]},{"1396823379":["hashtag1","hashtag2"]},{"1396823382":["hashtag1","hashtag2"]},{"1396823376":["hashtag1","hashtag2"]},{"1396823384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823374, 1396823371, 1396823379, 1396823382, 1396823376, 1396823384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.26715564727783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:26:03.635537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/15/image_29112025_05_15_44_9633.jpg', '/home/pi/Desktop/images/29112025/05/15/image_29112025_05_15_54_9911.jpg', '/home/pi/Desktop/images/29112025/05/16/image_29112025_05_16_24_9644.jpg', '/home/pi/Desktop/images/29112025/05/16/image_29112025_05_16_34_9798.jpg', '/home/pi/Desktop/images/29112025/05/16/image_29112025_05_16_45_10887.jpg', '/home/pi/Desktop/images/29112025/05/16/image_29112025_05_16_54_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/15/image_29112025_05_15_44_9633.jpg
/home/pi/Desktop/images/29112025/05/15/image_29112025_05_15_54_9911.jpg
/home/pi/Desktop/images/29112025/05/16/image_29112025_05_16_24_9644.jpg
/home/pi/Desktop/images/29112025/05/16/image_29112025_05_16_34_9798.jpg
/home/pi/Desktop/images/29112025/05/16/image_29112025_05_16_45_10887.jpg
/home/pi/Desktop/images/29112025/05/16/image_29112025_05_16_54_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823398","1396823391","1396823394","1396823390","1396823387","1396823392"],"photo_ids_order":["1396823387","1396823390","1396823391","1396823392","1396823394","1396823398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdba975fd381ab7d270252a74552ea85.jpg","text":"TemporaryFile(/tmp/multipartBody6353923022278228303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390424364,"filename":"image_29112025_05_16_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d00b4772399a6f968d3642ab9e2ee491.jpg","text":"TemporaryFile(/tmp/multipartBody6172669623921011196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390424364,"filename":"image_29112025_05_16_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/11/29/f12945ede6b90739a702e8590bedf7c6.jpg","text":"TemporaryFile(/tmp/multipartBody5260429676137809246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390424364,"filename":"image_29112025_05_16_45_10887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10d0c2e58c05f7f270d225c2a66797ab.jpg","text":"TemporaryFile(/tmp/multipartBody8652929643421434275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390424364,"filename":"image_29112025_05_15_54_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc915c24fdb5473761e10fd594ba4b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8984056347473514179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390424364,"filename":"image_29112025_05_15_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/11/29/04e1077b595a10b68e0805c90fb36fd1.jpg","text":"TemporaryFile(/tmp/multipartBody4016186006208577835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390424364,"filename":"image_29112025_05_16_34_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823391","file1":"1396823390","file0":"1396823387","file4":"1396823394","file5":"1396823398","file3":"1396823392"},"map_files_photo_id_array":[{"photo_id":"1396823398","filename":"file5"},{"photo_id":"1396823391","filename":"file2"},{"photo_id":"1396823394","filename":"file4"},{"photo_id":"1396823390","filename":"file1"},{"photo_id":"1396823387","filename":"file0"},{"photo_id":"1396823392","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823398":["hashtag1","hashtag2"]},{"1396823391":["hashtag1","hashtag2"]},{"1396823394":["hashtag1","hashtag2"]},{"1396823390":["hashtag1","hashtag2"]},{"1396823387":["hashtag1","hashtag2"]},{"1396823392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823398, 1396823391, 1396823394, 1396823390, 1396823387, 1396823392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3582239151001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:26:43.104979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_43_2761.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_45_2574.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_49_3655.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_52_2795.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_54_2583.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_58_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_43_2761.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_45_2574.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_49_3655.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_52_2795.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_54_2583.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_58_3649.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9846856594085693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:27:02.827049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/16/image_29112025_05_17_04_9662.jpg', '/home/pi/Desktop/images/29112025/05/17/image_29112025_05_17_14_9683.jpg', '/home/pi/Desktop/images/29112025/05/17/image_29112025_05_17_44_9706.jpg', '/home/pi/Desktop/images/29112025/05/17/image_29112025_05_17_55_10580.jpg', '/home/pi/Desktop/images/29112025/05/18/image_29112025_05_18_14_9612.jpg', '/home/pi/Desktop/images/29112025/05/18/image_29112025_05_18_25_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/16/image_29112025_05_17_04_9662.jpg
/home/pi/Desktop/images/29112025/05/17/image_29112025_05_17_14_9683.jpg
/home/pi/Desktop/images/29112025/05/17/image_29112025_05_17_44_9706.jpg
/home/pi/Desktop/images/29112025/05/17/image_29112025_05_17_55_10580.jpg
/home/pi/Desktop/images/29112025/05/18/image_29112025_05_18_14_9612.jpg
/home/pi/Desktop/images/29112025/05/18/image_29112025_05_18_25_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":["1396823419","1396823416","1396823415","1396823414","1396823423","1396823417"],"photo_ids_order":["1396823414","1396823415","1396823416","1396823417","1396823419","1396823423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e047efd48d1343e42e3c029450146595.jpg","text":"TemporaryFile(/tmp/multipartBody8664764810325307467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390483619,"filename":"image_29112025_05_18_14_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d646700cf69d3b28b3be9a42261b42e0.jpg","text":"TemporaryFile(/tmp/multipartBody2451918149253254721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390483619,"filename":"image_29112025_05_17_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0f28775d28b58ca3325caaf6291b3a9.jpg","text":"TemporaryFile(/tmp/multipartBody6087461908211063852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390483619,"filename":"image_29112025_05_17_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dae2769b4fd9ec48a3d6b222b1880071.jpg","text":"TemporaryFile(/tmp/multipartBody5693580849900140367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390483619,"filename":"image_29112025_05_17_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/11/29/d454a42d7e1f435672e4ce996e543bb2.jpg","text":"TemporaryFile(/tmp/multipartBody8991377980989810481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390483619,"filename":"image_29112025_05_18_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/11/29/8633d94c98936ae7dbbe5c3be23614cb.jpg","text":"TemporaryFile(/tmp/multipartBody1296708802522324514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390483619,"filename":"image_29112025_05_17_55_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823416","file1":"1396823415","file0":"1396823414","file4":"1396823419","file5":"1396823423","file3":"1396823417"},"map_files_photo_id_array":[{"photo_id":"1396823423","filename":"file5"},{"photo_id":"1396823416","filename":"file2"},{"photo_id":"1396823419","filename":"file4"},{"photo_id":"1396823415","filename":"file1"},{"photo_id":"1396823414","filename":"file0"},{"photo_id":"1396823417","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823419":["hashtag1","hashtag2"]},{"1396823416":["hashtag1","hashtag2"]},{"1396823415":["hashtag1","hashtag2"]},{"1396823414":["hashtag1","hashtag2"]},{"1396823423":["hashtag1","hashtag2"]},{"1396823417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823419, 1396823416, 1396823415, 1396823414, 1396823423, 1396823417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73244047164917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:27:42.228453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_43_2761.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_45_2574.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_49_3655.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_52_2795.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_54_2583.jpg', '/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_58_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_43_2761.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_45_2574.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_49_3655.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_52_2795.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_54_2583.jpg
/home/pi/Desktop/images/31102025/08/44/image_31102025_08_44_58_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823434","1396823433","1396823436","1396823430","1396823432","1396823435"],"photo_ids_order":["1396823430","1396823432","1396823433","1396823434","1396823435","1396823436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28be6afc1953659e8a532b66841c5492.jpg","text":"TemporaryFile(/tmp/multipartBody7466892045477464619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390523154,"filename":"image_31102025_08_44_52_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f44450fb366913e3f57ac83d5c326d0.jpg","text":"TemporaryFile(/tmp/multipartBody9004567386472360030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390523154,"filename":"image_31102025_08_44_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/11/29/0baf66d5e6ef13eb343cc656268d5fc8.jpg","text":"TemporaryFile(/tmp/multipartBody3195236834835539012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390523154,"filename":"image_31102025_08_44_58_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93ac6a445039e0854f63c1b49d7ddf6e.jpg","text":"TemporaryFile(/tmp/multipartBody5111195992263655744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390523154,"filename":"image_31102025_08_44_43_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb0e1abbf323198bf394a06e84f8e394.jpg","text":"TemporaryFile(/tmp/multipartBody7635862200033746066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390523154,"filename":"image_31102025_08_44_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/11/29/8d81ac8f4203a7ef696e99366394c055.jpg","text":"TemporaryFile(/tmp/multipartBody5912354840899310335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390523154,"filename":"image_31102025_08_44_54_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823433","file1":"1396823432","file0":"1396823430","file4":"1396823435","file5":"1396823436","file3":"1396823434"},"map_files_photo_id_array":[{"photo_id":"1396823436","filename":"file5"},{"photo_id":"1396823433","filename":"file2"},{"photo_id":"1396823435","filename":"file4"},{"photo_id":"1396823432","filename":"file1"},{"photo_id":"1396823430","filename":"file0"},{"photo_id":"1396823434","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396823434":["hashtag1","hashtag2"]},{"1396823433":["hashtag1","hashtag2"]},{"1396823436":["hashtag1","hashtag2"]},{"1396823430":["hashtag1","hashtag2"]},{"1396823432":["hashtag1","hashtag2"]},{"1396823435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396823434, 1396823433, 1396823436, 1396823430, 1396823432, 1396823435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.655627727508545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:28:22.346579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/18/image_29112025_05_18_34_9635.jpg', '/home/pi/Desktop/images/29112025/05/18/image_29112025_05_18_44_9578.jpg', '/home/pi/Desktop/images/29112025/05/18/image_29112025_05_18_55_10734.jpg', '/home/pi/Desktop/images/29112025/05/18/image_29112025_05_19_04_9586.jpg', '/home/pi/Desktop/images/29112025/05/19/image_29112025_05_19_24_10473.jpg', '/home/pi/Desktop/images/29112025/05/19/image_29112025_05_19_34_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/18/image_29112025_05_18_34_9635.jpg
/home/pi/Desktop/images/29112025/05/18/image_29112025_05_18_44_9578.jpg
/home/pi/Desktop/images/29112025/05/18/image_29112025_05_18_55_10734.jpg
/home/pi/Desktop/images/29112025/05/18/image_29112025_05_19_04_9586.jpg
/home/pi/Desktop/images/29112025/05/19/image_29112025_05_19_24_10473.jpg
/home/pi/Desktop/images/29112025/05/19/image_29112025_05_19_34_9540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823443","1396823446","1396823449","1396823440","1396823451","1396823453"],"photo_ids_order":["1396823440","1396823443","1396823446","1396823449","1396823451","1396823453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83159e4264ad24b616af1daa423f0696.jpg","text":"TemporaryFile(/tmp/multipartBody1273782923501976274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390563221,"filename":"image_29112025_05_18_44_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ef35299fae2a18072a34320aed4e3b9.jpg","text":"TemporaryFile(/tmp/multipartBody9010322639226503146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390563221,"filename":"image_29112025_05_18_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/11/29/8552264599f6531cf57959b986af84ab.jpg","text":"TemporaryFile(/tmp/multipartBody2150545277904096257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390563221,"filename":"image_29112025_05_19_04_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db9872ee8fd4a5b85cf58c375d6d16b6.jpg","text":"TemporaryFile(/tmp/multipartBody6596141318513461556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390563221,"filename":"image_29112025_05_18_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05cf0317daace4ce082525465bff7ab6.jpg","text":"TemporaryFile(/tmp/multipartBody4408338773640878327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390563221,"filename":"image_29112025_05_19_24_10473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56d3cf1bf9eadba2d06ed9bd664f581a.jpg","text":"TemporaryFile(/tmp/multipartBody1942322201228675881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390563221,"filename":"image_29112025_05_19_34_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823446","file1":"1396823443","file0":"1396823440","file4":"1396823451","file5":"1396823453","file3":"1396823449"},"map_files_photo_id_array":[{"photo_id":"1396823453","filename":"file5"},{"photo_id":"1396823446","filename":"file2"},{"photo_id":"1396823451","filename":"file4"},{"photo_id":"1396823443","filename":"file1"},{"photo_id":"1396823440","filename":"file0"},{"photo_id":"1396823449","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823443":["hashtag1","hashtag2"]},{"1396823446":["hashtag1","hashtag2"]},{"1396823449":["hashtag1","hashtag2"]},{"1396823440":["hashtag1","hashtag2"]},{"1396823451":["hashtag1","hashtag2"]},{"1396823453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823443, 1396823446, 1396823449, 1396823440, 1396823451, 1396823453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.524826765060425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:29:03.608754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/19/image_29112025_05_19_45_10721.jpg', '/home/pi/Desktop/images/29112025/05/19/image_29112025_05_19_54_9619.jpg', '/home/pi/Desktop/images/29112025/05/19/image_29112025_05_20_04_9745.jpg', '/home/pi/Desktop/images/29112025/05/20/image_29112025_05_20_14_9774.jpg', '/home/pi/Desktop/images/29112025/05/20/image_29112025_05_20_24_10651.jpg', '/home/pi/Desktop/images/29112025/05/20/image_29112025_05_20_34_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/19/image_29112025_05_19_45_10721.jpg
/home/pi/Desktop/images/29112025/05/19/image_29112025_05_19_54_9619.jpg
/home/pi/Desktop/images/29112025/05/19/image_29112025_05_20_04_9745.jpg
/home/pi/Desktop/images/29112025/05/20/image_29112025_05_20_14_9774.jpg
/home/pi/Desktop/images/29112025/05/20/image_29112025_05_20_24_10651.jpg
/home/pi/Desktop/images/29112025/05/20/image_29112025_05_20_34_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":["1396823455","1396823458","1396823454","1396823457","1396823465","1396823468"],"photo_ids_order":["1396823454","1396823455","1396823457","1396823458","1396823465","1396823468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03b7b118b8f41c0678253e93ea45505f.jpg","text":"TemporaryFile(/tmp/multipartBody3193672208054176430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390604538,"filename":"image_29112025_05_19_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/11/29/3e7fff302e71b6bcc69a33c7b6d825b8.jpg","text":"TemporaryFile(/tmp/multipartBody8916177235773077074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390604538,"filename":"image_29112025_05_20_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/11/29/cac2097b46afaa0a7bfee4837f3b8d39.jpg","text":"TemporaryFile(/tmp/multipartBody6061737908402339714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390604538,"filename":"image_29112025_05_19_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/11/29/87d98d084779a84fd4fe2ed2f15d52a8.jpg","text":"TemporaryFile(/tmp/multipartBody2710198301938663014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390604538,"filename":"image_29112025_05_20_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/11/29/8fb620eed82238b5ebe2e9c3f756d756.jpg","text":"TemporaryFile(/tmp/multipartBody2289970922575037747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390604538,"filename":"image_29112025_05_20_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8570b666a6c25656680e2bccd5da7a2a.jpg","text":"TemporaryFile(/tmp/multipartBody5304001834404083706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390604538,"filename":"image_29112025_05_20_34_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823457","file1":"1396823455","file0":"1396823454","file4":"1396823465","file5":"1396823468","file3":"1396823458"},"map_files_photo_id_array":[{"photo_id":"1396823468","filename":"file5"},{"photo_id":"1396823457","filename":"file2"},{"photo_id":"1396823465","filename":"file4"},{"photo_id":"1396823455","filename":"file1"},{"photo_id":"1396823454","filename":"file0"},{"photo_id":"1396823458","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823455":["hashtag1","hashtag2"]},{"1396823458":["hashtag1","hashtag2"]},{"1396823454":["hashtag1","hashtag2"]},{"1396823457":["hashtag1","hashtag2"]},{"1396823465":["hashtag1","hashtag2"]},{"1396823468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823455, 1396823458, 1396823454, 1396823457, 1396823465, 1396823468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.287702322006226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:29:42.642101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_01_2629.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_03_2605.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_07_3934.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_10_2668.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_12_2601.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_15_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/08/45/image_31102025_08_45_01_2629.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_03_2605.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_07_3934.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_10_2668.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_12_2601.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_15_2951.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823510","1396823504","1396823511","1396823505","1396823513","1396823501"],"photo_ids_order":["1396823501","1396823504","1396823505","1396823510","1396823511","1396823513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab291cbc0d0196193bfc3c407d5943a6.jpg","text":"TemporaryFile(/tmp/multipartBody1751618630415269637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390643690,"filename":"image_31102025_08_45_10_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e01691fbec581db4f8e71d9f8fc04fdd.jpg","text":"TemporaryFile(/tmp/multipartBody1152123842526558162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390643690,"filename":"image_31102025_08_45_03_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c71a40816980108c5470500e8c67914.jpg","text":"TemporaryFile(/tmp/multipartBody3469792024064644575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390643690,"filename":"image_31102025_08_45_12_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/212acdffdf12caae83eac220d9c8a036.jpg","text":"TemporaryFile(/tmp/multipartBody2382481664152296106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390643690,"filename":"image_31102025_08_45_07_3934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/882010c0891f699bb5aac853cfe96266.jpg","text":"TemporaryFile(/tmp/multipartBody161763099309090231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390643690,"filename":"image_31102025_08_45_15_2951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbd3eed102c4335c13fac63f7a4d87eb.jpg","text":"TemporaryFile(/tmp/multipartBody5295842099202810961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390643690,"filename":"image_31102025_08_45_01_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823505","file1":"1396823504","file0":"1396823501","file4":"1396823511","file5":"1396823513","file3":"1396823510"},"map_files_photo_id_array":[{"photo_id":"1396823513","filename":"file5"},{"photo_id":"1396823505","filename":"file2"},{"photo_id":"1396823511","filename":"file4"},{"photo_id":"1396823504","filename":"file1"},{"photo_id":"1396823501","filename":"file0"},{"photo_id":"1396823510","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396823510":["hashtag1","hashtag2"]},{"1396823504":["hashtag1","hashtag2"]},{"1396823511":["hashtag1","hashtag2"]},{"1396823505":["hashtag1","hashtag2"]},{"1396823513":["hashtag1","hashtag2"]},{"1396823501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396823510, 1396823504, 1396823511, 1396823505, 1396823513, 1396823501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7937753200531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:30:25.662198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/20/image_29112025_05_20_44_9581.jpg', '/home/pi/Desktop/images/29112025/05/20/image_29112025_05_20_54_10713.jpg', '/home/pi/Desktop/images/29112025/05/20/image_29112025_05_21_04_9703.jpg', '/home/pi/Desktop/images/29112025/05/21/image_29112025_05_21_14_9610.jpg', '/home/pi/Desktop/images/29112025/05/21/image_29112025_05_21_24_10684.jpg', '/home/pi/Desktop/images/29112025/05/21/image_29112025_05_21_34_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/20/image_29112025_05_20_44_9581.jpg
/home/pi/Desktop/images/29112025/05/20/image_29112025_05_20_54_10713.jpg
/home/pi/Desktop/images/29112025/05/20/image_29112025_05_21_04_9703.jpg
/home/pi/Desktop/images/29112025/05/21/image_29112025_05_21_14_9610.jpg
/home/pi/Desktop/images/29112025/05/21/image_29112025_05_21_24_10684.jpg
/home/pi/Desktop/images/29112025/05/21/image_29112025_05_21_34_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823530","1396823524","1396823533","1396823527","1396823520","1396823517"],"photo_ids_order":["1396823517","1396823520","1396823524","1396823527","1396823530","1396823533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38a2c8027406a4ce86f07870546e44a7.jpg","text":"TemporaryFile(/tmp/multipartBody7506988844172553008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390686335,"filename":"image_29112025_05_21_24_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1c3fef395659d298baadb65b1b7049d.jpg","text":"TemporaryFile(/tmp/multipartBody318409398072442099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390686335,"filename":"image_29112025_05_21_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/11/29/606adc926e5191b480a54766a5c26350.jpg","text":"TemporaryFile(/tmp/multipartBody6876042281942355357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390686335,"filename":"image_29112025_05_21_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd8d61ca44be4fcaa1d1e9e78e526b61.jpg","text":"TemporaryFile(/tmp/multipartBody4004269120346154630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390686335,"filename":"image_29112025_05_21_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/11/29/0629fc6c156b8baef22a20dfd185f43e.jpg","text":"TemporaryFile(/tmp/multipartBody7118049522098941042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390686335,"filename":"image_29112025_05_20_54_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84ea90784e396263f64636970c4fc812.jpg","text":"TemporaryFile(/tmp/multipartBody3493550699793390915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390686335,"filename":"image_29112025_05_20_44_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823524","file1":"1396823520","file0":"1396823517","file4":"1396823530","file5":"1396823533","file3":"1396823527"},"map_files_photo_id_array":[{"photo_id":"1396823533","filename":"file5"},{"photo_id":"1396823524","filename":"file2"},{"photo_id":"1396823530","filename":"file4"},{"photo_id":"1396823520","filename":"file1"},{"photo_id":"1396823517","filename":"file0"},{"photo_id":"1396823527","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823530":["hashtag1","hashtag2"]},{"1396823524":["hashtag1","hashtag2"]},{"1396823533":["hashtag1","hashtag2"]},{"1396823527":["hashtag1","hashtag2"]},{"1396823520":["hashtag1","hashtag2"]},{"1396823517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823530, 1396823524, 1396823533, 1396823527, 1396823520, 1396823517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.02705454826355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:31:12.363901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
2025-11-29 05:31:22.300168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/21/image_29112025_05_21_44_9657.jpg', '/home/pi/Desktop/images/29112025/05/21/image_29112025_05_21_55_10705.jpg', '/home/pi/Desktop/images/29112025/05/21/image_29112025_05_22_04_9806.jpg', '/home/pi/Desktop/images/29112025/05/22/image_29112025_05_22_14_9789.jpg', '/home/pi/Desktop/images/29112025/05/22/image_29112025_05_22_24_9671.jpg', '/home/pi/Desktop/images/29112025/05/22/image_29112025_05_22_35_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/21/image_29112025_05_21_44_9657.jpg
/home/pi/Desktop/images/29112025/05/21/image_29112025_05_21_55_10705.jpg
/home/pi/Desktop/images/29112025/05/21/image_29112025_05_22_04_9806.jpg
/home/pi/Desktop/images/29112025/05/22/image_29112025_05_22_14_9789.jpg
/home/pi/Desktop/images/29112025/05/22/image_29112025_05_22_24_9671.jpg
/home/pi/Desktop/images/29112025/05/22/image_29112025_05_22_35_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":["1396823548","1396823542","1396823536","1396823544","1396823538","1396823540"],"photo_ids_order":["1396823536","1396823538","1396823540","1396823542","1396823544","1396823548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20b8cab305f85119911c250facacafd6.jpg","text":"TemporaryFile(/tmp/multipartBody5933613621875426034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390743537,"filename":"image_29112025_05_22_35_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d96a72e8e472e9df0e0e058871500c7a.jpg","text":"TemporaryFile(/tmp/multipartBody7299990100682734147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390743537,"filename":"image_29112025_05_22_14_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a898b53b4600ceb367fc75cbffc5085.jpg","text":"TemporaryFile(/tmp/multipartBody528755875441807818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390743537,"filename":"image_29112025_05_21_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/11/29/2a4ea185b1aa862f1e2c23182a6864e9.jpg","text":"TemporaryFile(/tmp/multipartBody5656541859715733513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390743537,"filename":"image_29112025_05_22_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/11/29/7e8262f53a8e6ac3444643024fb18ee6.jpg","text":"TemporaryFile(/tmp/multipartBody7182692257432352714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390743537,"filename":"image_29112025_05_21_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/11/29/69be7a0ba4fdd269f6e80c8421897be0.jpg","text":"TemporaryFile(/tmp/multipartBody5767320627361372748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390743537,"filename":"image_29112025_05_22_04_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823540","file1":"1396823538","file0":"1396823536","file4":"1396823544","file5":"1396823548","file3":"1396823542"},"map_files_photo_id_array":[{"photo_id":"1396823548","filename":"file5"},{"photo_id":"1396823540","filename":"file2"},{"photo_id":"1396823544","filename":"file4"},{"photo_id":"1396823538","filename":"file1"},{"photo_id":"1396823536","filename":"file0"},{"photo_id":"1396823542","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823548":["hashtag1","hashtag2"]},{"1396823542":["hashtag1","hashtag2"]},{"1396823536":["hashtag1","hashtag2"]},{"1396823544":["hashtag1","hashtag2"]},{"1396823538":["hashtag1","hashtag2"]},{"1396823540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823548, 1396823542, 1396823536, 1396823544, 1396823538, 1396823540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77536106109619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:32:02.914255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 05:32:12.606433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_13_2549.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_16_3707.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_19_2673.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_22_2766.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_25_2737.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_28_3781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_13_2549.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_16_3707.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_19_2673.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_22_2766.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_25_2737.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_28_3781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823560","1396823557","1396823556","1396823570","1396823564","1396823567"],"photo_ids_order":["1396823556","1396823557","1396823560","1396823564","1396823567","1396823570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1b7f195e0a61a712111307633aff855.jpg","text":"TemporaryFile(/tmp/multipartBody8998678037024455273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390794842,"filename":"image_25112025_17_46_19_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ae0d1723f3dae94c34f08359bd70caa.jpg","text":"TemporaryFile(/tmp/multipartBody3550042719440708686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390794842,"filename":"image_25112025_17_46_16_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27b8dbe6435237adf9d98fbed13d1d4b.jpg","text":"TemporaryFile(/tmp/multipartBody7938434339478290778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390794842,"filename":"image_25112025_17_46_13_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c5a6f77dfe59f20ace925d43e296fa3.jpg","text":"TemporaryFile(/tmp/multipartBody2759481496425738508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390794842,"filename":"image_25112025_17_46_28_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a95f65b4ff495b35ee41cb40439b8206.jpg","text":"TemporaryFile(/tmp/multipartBody370606465110575275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390794842,"filename":"image_25112025_17_46_22_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ed0416e59cfd866c902b2b8ee39deab.jpg","text":"TemporaryFile(/tmp/multipartBody5654255162870166514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390794842,"filename":"image_25112025_17_46_25_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823560","file1":"1396823557","file0":"1396823556","file4":"1396823567","file5":"1396823570","file3":"1396823564"},"map_files_photo_id_array":[{"photo_id":"1396823570","filename":"file5"},{"photo_id":"1396823560","filename":"file2"},{"photo_id":"1396823567","filename":"file4"},{"photo_id":"1396823557","filename":"file1"},{"photo_id":"1396823556","filename":"file0"},{"photo_id":"1396823564","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396823560":["hashtag1","hashtag2"]},{"1396823557":["hashtag1","hashtag2"]},{"1396823556":["hashtag1","hashtag2"]},{"1396823570":["hashtag1","hashtag2"]},{"1396823564":["hashtag1","hashtag2"]},{"1396823567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396823560, 1396823557, 1396823556, 1396823570, 1396823564, 1396823567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.503602743148804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:33:03.496116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/22/image_29112025_05_22_44_9698.jpg', '/home/pi/Desktop/images/29112025/05/22/image_29112025_05_23_05_10685.jpg', '/home/pi/Desktop/images/29112025/05/23/image_29112025_05_23_14_9739.jpg', '/home/pi/Desktop/images/29112025/05/23/image_29112025_05_23_24_9529.jpg', '/home/pi/Desktop/images/29112025/05/23/image_29112025_05_23_34_10674.jpg', '/home/pi/Desktop/images/29112025/05/23/image_29112025_05_23_44_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/22/image_29112025_05_22_44_9698.jpg
/home/pi/Desktop/images/29112025/05/22/image_29112025_05_23_05_10685.jpg
/home/pi/Desktop/images/29112025/05/23/image_29112025_05_23_14_9739.jpg
/home/pi/Desktop/images/29112025/05/23/image_29112025_05_23_24_9529.jpg
/home/pi/Desktop/images/29112025/05/23/image_29112025_05_23_34_10674.jpg
/home/pi/Desktop/images/29112025/05/23/image_29112025_05_23_44_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823581","1396823575","1396823578","1396823574","1396823576","1396823585"],"photo_ids_order":["1396823574","1396823575","1396823576","1396823578","1396823581","1396823585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/318b99730f73e4ff4765e507cc583068.jpg","text":"TemporaryFile(/tmp/multipartBody3352448382775117886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390848392,"filename":"image_29112025_05_23_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/11/29/caa0c632438ee8db9ecd28a10a70dffb.jpg","text":"TemporaryFile(/tmp/multipartBody8807461541912551170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390848392,"filename":"image_29112025_05_23_05_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8101c4022cd877c69c91e3b60a02582.jpg","text":"TemporaryFile(/tmp/multipartBody7866474256038903108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390848392,"filename":"image_29112025_05_23_24_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3aef83e8ea1d94394c01c59cb5c3f481.jpg","text":"TemporaryFile(/tmp/multipartBody3205237092498435768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390848392,"filename":"image_29112025_05_22_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/11/29/56681b281e94dc84cef5c6e328868fab.jpg","text":"TemporaryFile(/tmp/multipartBody430801889622077569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390848392,"filename":"image_29112025_05_23_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/11/29/62108551f98871d88b7e8766d1e953bc.jpg","text":"TemporaryFile(/tmp/multipartBody540638844201872321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390848392,"filename":"image_29112025_05_23_44_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823576","file1":"1396823575","file0":"1396823574","file4":"1396823581","file5":"1396823585","file3":"1396823578"},"map_files_photo_id_array":[{"photo_id":"1396823585","filename":"file5"},{"photo_id":"1396823576","filename":"file2"},{"photo_id":"1396823581","filename":"file4"},{"photo_id":"1396823575","filename":"file1"},{"photo_id":"1396823574","filename":"file0"},{"photo_id":"1396823578","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823581":["hashtag1","hashtag2"]},{"1396823575":["hashtag1","hashtag2"]},{"1396823578":["hashtag1","hashtag2"]},{"1396823574":["hashtag1","hashtag2"]},{"1396823576":["hashtag1","hashtag2"]},{"1396823585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823581, 1396823575, 1396823578, 1396823574, 1396823576, 1396823585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36555027961731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:34:03.010289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/23/image_29112025_05_23_54_9704.jpg', '/home/pi/Desktop/images/29112025/05/23/image_29112025_05_24_04_10702.jpg', '/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_14_10029.jpg', '/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_25_10047.jpg', '/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_34_9547.jpg', '/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_44_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/23/image_29112025_05_23_54_9704.jpg
/home/pi/Desktop/images/29112025/05/23/image_29112025_05_24_04_10702.jpg
/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_14_10029.jpg
/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_25_10047.jpg
/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_34_9547.jpg
/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_44_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":["1396823593","1396823596","1396823602","1396823592","1396823594","1396823599"],"photo_ids_order":["1396823592","1396823593","1396823594","1396823596","1396823599","1396823602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa9041f2fef9c8af4a90ce4fba073d68.jpg","text":"TemporaryFile(/tmp/multipartBody4296262579908916197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390906184,"filename":"image_29112025_05_24_04_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4052fe7023998a1d3c896b366886531.jpg","text":"TemporaryFile(/tmp/multipartBody3158830354717426597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390906184,"filename":"image_29112025_05_24_25_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5609cf858863322a9363845158ee0dd7.jpg","text":"TemporaryFile(/tmp/multipartBody1460837523372346494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390906184,"filename":"image_29112025_05_24_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b830045e5889b52c7212d7f815a662c0.jpg","text":"TemporaryFile(/tmp/multipartBody5693102303265871839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390906184,"filename":"image_29112025_05_23_54_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/546bf8a6142344f337e288f867bc9281.jpg","text":"TemporaryFile(/tmp/multipartBody4963377060505355972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390906184,"filename":"image_29112025_05_24_14_10029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fe9881f0c6332bdeabc5611a53a5fff.jpg","text":"TemporaryFile(/tmp/multipartBody8660853415144603396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390906184,"filename":"image_29112025_05_24_34_9547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823594","file1":"1396823593","file0":"1396823592","file4":"1396823599","file5":"1396823602","file3":"1396823596"},"map_files_photo_id_array":[{"photo_id":"1396823602","filename":"file5"},{"photo_id":"1396823594","filename":"file2"},{"photo_id":"1396823599","filename":"file4"},{"photo_id":"1396823593","filename":"file1"},{"photo_id":"1396823592","filename":"file0"},{"photo_id":"1396823596","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823593":["hashtag1","hashtag2"]},{"1396823596":["hashtag1","hashtag2"]},{"1396823602":["hashtag1","hashtag2"]},{"1396823592":["hashtag1","hashtag2"]},{"1396823594":["hashtag1","hashtag2"]},{"1396823599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823593, 1396823596, 1396823602, 1396823592, 1396823594, 1396823599)","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 = 1396823594 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_14_10029.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.75773048400879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:35:12.058037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_31_2749.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_34_2549.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_37_3569.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_40_2650.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_43_2608.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_46_3512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_31_2749.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_34_2549.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_37_3569.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_40_2650.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_43_2608.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_46_3512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823617","1396823620","1396823622","1396823624","1396823612","1396823615"],"photo_ids_order":["1396823612","1396823615","1396823617","1396823620","1396823622","1396823624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58ba080dcaa3cc94277d9b96e79efd1f.jpg","text":"TemporaryFile(/tmp/multipartBody1670806407100467147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390976134,"filename":"image_25112025_17_46_37_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0acc81ff037f7407ce066c2552681c7.jpg","text":"TemporaryFile(/tmp/multipartBody6482524899684448231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390976134,"filename":"image_25112025_17_46_40_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e8011a000f47dbc2ac8dfcbea45e8bd.jpg","text":"TemporaryFile(/tmp/multipartBody3243832618531447107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390976134,"filename":"image_25112025_17_46_43_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/697d3af68f6cb25dc296c278d313217c.jpg","text":"TemporaryFile(/tmp/multipartBody5586579081515260985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390976134,"filename":"image_25112025_17_46_46_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad7e9a6690b5ba3266707d639612a38c.jpg","text":"TemporaryFile(/tmp/multipartBody1731024634335249955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390976134,"filename":"image_25112025_17_46_31_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72efe4a4c339d00fd29dc0c366ad4684.jpg","text":"TemporaryFile(/tmp/multipartBody6349393247595262960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764390976134,"filename":"image_25112025_17_46_34_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823617","file1":"1396823615","file0":"1396823612","file4":"1396823622","file5":"1396823624","file3":"1396823620"},"map_files_photo_id_array":[{"photo_id":"1396823624","filename":"file5"},{"photo_id":"1396823617","filename":"file2"},{"photo_id":"1396823622","filename":"file4"},{"photo_id":"1396823615","filename":"file1"},{"photo_id":"1396823612","filename":"file0"},{"photo_id":"1396823620","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396823617":["hashtag1","hashtag2"]},{"1396823620":["hashtag1","hashtag2"]},{"1396823622":["hashtag1","hashtag2"]},{"1396823624":["hashtag1","hashtag2"]},{"1396823612":["hashtag1","hashtag2"]},{"1396823615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396823617, 1396823620, 1396823622, 1396823624, 1396823612, 1396823615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.15678858757019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:36:02.862596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_54_10680.jpg', '/home/pi/Desktop/images/29112025/05/24/image_29112025_05_25_04_9578.jpg', '/home/pi/Desktop/images/29112025/05/25/image_29112025_05_25_14_9751.jpg', '/home/pi/Desktop/images/29112025/05/25/image_29112025_05_25_24_10725.jpg', '/home/pi/Desktop/images/29112025/05/25/image_29112025_05_25_34_9828.jpg', '/home/pi/Desktop/images/29112025/05/25/image_29112025_05_25_44_9545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/24/image_29112025_05_24_54_10680.jpg
/home/pi/Desktop/images/29112025/05/24/image_29112025_05_25_04_9578.jpg
/home/pi/Desktop/images/29112025/05/25/image_29112025_05_25_14_9751.jpg
/home/pi/Desktop/images/29112025/05/25/image_29112025_05_25_24_10725.jpg
/home/pi/Desktop/images/29112025/05/25/image_29112025_05_25_34_9828.jpg
/home/pi/Desktop/images/29112025/05/25/image_29112025_05_25_44_9545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823629","1396823631","1396823634","1396823628","1396823637","1396823627"],"photo_ids_order":["1396823627","1396823628","1396823629","1396823631","1396823634","1396823637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3ca34f3004b10c7e3388a352ba5f1a1.jpg","text":"TemporaryFile(/tmp/multipartBody1303270089360547028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391026151,"filename":"image_29112025_05_25_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/11/29/363347deeef8800f2ee7c8f5fd67fb2c.jpg","text":"TemporaryFile(/tmp/multipartBody71565200581943853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391026151,"filename":"image_29112025_05_25_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/11/29/db0bec15f64256afcac0550d86a502f2.jpg","text":"TemporaryFile(/tmp/multipartBody4746162420545910474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391026151,"filename":"image_29112025_05_25_34_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c3c76d6f11634fa070af8759f65db44.jpg","text":"TemporaryFile(/tmp/multipartBody9346471155967396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391026151,"filename":"image_29112025_05_25_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/11/29/5d0201cde405fb6eb889dcd480ce32dc.jpg","text":"TemporaryFile(/tmp/multipartBody36832619660398282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391026151,"filename":"image_29112025_05_25_44_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b658b4570155b4d2691cf2f05c864e83.jpg","text":"TemporaryFile(/tmp/multipartBody5572260591602622733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391026151,"filename":"image_29112025_05_24_54_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823629","file1":"1396823628","file0":"1396823627","file4":"1396823634","file5":"1396823637","file3":"1396823631"},"map_files_photo_id_array":[{"photo_id":"1396823637","filename":"file5"},{"photo_id":"1396823629","filename":"file2"},{"photo_id":"1396823634","filename":"file4"},{"photo_id":"1396823628","filename":"file1"},{"photo_id":"1396823627","filename":"file0"},{"photo_id":"1396823631","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823629":["hashtag1","hashtag2"]},{"1396823631":["hashtag1","hashtag2"]},{"1396823634":["hashtag1","hashtag2"]},{"1396823628":["hashtag1","hashtag2"]},{"1396823637":["hashtag1","hashtag2"]},{"1396823627":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823629, 1396823631, 1396823634, 1396823628, 1396823637, 1396823627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.503915548324585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:36:42.464206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_19_3658.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_22_2675.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_24_2618.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_27_2872.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_31_3812.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_33_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/08/45/image_31102025_08_45_19_3658.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_22_2675.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_24_2618.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_27_2872.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_31_3812.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_33_2547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823647","1396823650","1396823644","1396823646","1396823649","1396823648"],"photo_ids_order":["1396823644","1396823646","1396823647","1396823648","1396823649","1396823650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d953f025b7b1af6034b19754de57f4c3.jpg","text":"TemporaryFile(/tmp/multipartBody8624580619313236727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391063556,"filename":"image_31102025_08_45_24_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/348c20274565c258928d2682ac1111c4.jpg","text":"TemporaryFile(/tmp/multipartBody951595813054365703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391063556,"filename":"image_31102025_08_45_33_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28e7750b10bbf904c2731f9dffea9551.jpg","text":"TemporaryFile(/tmp/multipartBody8393669859641020370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391063556,"filename":"image_31102025_08_45_19_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a08cd2d08e253459938f0a3f13d1daec.jpg","text":"TemporaryFile(/tmp/multipartBody5608183365879657178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391063556,"filename":"image_31102025_08_45_22_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/879dbc0d25415fe0480f89517d45f94e.jpg","text":"TemporaryFile(/tmp/multipartBody8327261295821753027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391063556,"filename":"image_31102025_08_45_31_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc43a999409f39346ca1ef99ef61aa2f.jpg","text":"TemporaryFile(/tmp/multipartBody6505296793167598665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391063556,"filename":"image_31102025_08_45_27_2872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823647","file1":"1396823646","file0":"1396823644","file4":"1396823649","file5":"1396823650","file3":"1396823648"},"map_files_photo_id_array":[{"photo_id":"1396823650","filename":"file5"},{"photo_id":"1396823647","filename":"file2"},{"photo_id":"1396823649","filename":"file4"},{"photo_id":"1396823646","filename":"file1"},{"photo_id":"1396823644","filename":"file0"},{"photo_id":"1396823648","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396823647":["hashtag1","hashtag2"]},{"1396823650":["hashtag1","hashtag2"]},{"1396823644":["hashtag1","hashtag2"]},{"1396823646":["hashtag1","hashtag2"]},{"1396823649":["hashtag1","hashtag2"]},{"1396823648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396823647, 1396823650, 1396823644, 1396823646, 1396823649, 1396823648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88621711730957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:37:22.631624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/25/image_29112025_05_25_55_10760.jpg', '/home/pi/Desktop/images/29112025/05/25/image_29112025_05_26_04_9617.jpg', '/home/pi/Desktop/images/29112025/05/26/image_29112025_05_26_24_9765.jpg', '/home/pi/Desktop/images/29112025/05/26/image_29112025_05_26_54_9672.jpg', '/home/pi/Desktop/images/29112025/05/26/image_29112025_05_27_04_10635.jpg', '/home/pi/Desktop/images/29112025/05/27/image_29112025_05_27_14_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/25/image_29112025_05_25_55_10760.jpg
/home/pi/Desktop/images/29112025/05/25/image_29112025_05_26_04_9617.jpg
/home/pi/Desktop/images/29112025/05/26/image_29112025_05_26_24_9765.jpg
/home/pi/Desktop/images/29112025/05/26/image_29112025_05_26_54_9672.jpg
/home/pi/Desktop/images/29112025/05/26/image_29112025_05_27_04_10635.jpg
/home/pi/Desktop/images/29112025/05/27/image_29112025_05_27_14_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":["1396823669","1396823660","1396823663","1396823657","1396823666","1396823654"],"photo_ids_order":["1396823654","1396823657","1396823660","1396823663","1396823666","1396823669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9378799fe7cddd42a3904bec28f91e7f.jpg","text":"TemporaryFile(/tmp/multipartBody5324738995151280363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391103343,"filename":"image_29112025_05_27_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f63baefd9f5a6b594244b48d7af0ab9b.jpg","text":"TemporaryFile(/tmp/multipartBody2106902482041860725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391103343,"filename":"image_29112025_05_26_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/11/29/80b4ae4d07a333010780c7c6d465970b.jpg","text":"TemporaryFile(/tmp/multipartBody7978168100583690182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391103343,"filename":"image_29112025_05_26_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/11/29/efd71cc834d102f443a95cc709d89ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5647725097573604199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391103343,"filename":"image_29112025_05_26_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17da7dfdf2c85fe7aa232d3355b37671.jpg","text":"TemporaryFile(/tmp/multipartBody5929960696944597483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391103343,"filename":"image_29112025_05_27_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b097704931ebbc49682159cde0db70cd.jpg","text":"TemporaryFile(/tmp/multipartBody398564687604367206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391103343,"filename":"image_29112025_05_25_55_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823660","file1":"1396823657","file0":"1396823654","file4":"1396823666","file5":"1396823669","file3":"1396823663"},"map_files_photo_id_array":[{"photo_id":"1396823669","filename":"file5"},{"photo_id":"1396823660","filename":"file2"},{"photo_id":"1396823666","filename":"file4"},{"photo_id":"1396823657","filename":"file1"},{"photo_id":"1396823654","filename":"file0"},{"photo_id":"1396823663","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823669":["hashtag1","hashtag2"]},{"1396823660":["hashtag1","hashtag2"]},{"1396823663":["hashtag1","hashtag2"]},{"1396823657":["hashtag1","hashtag2"]},{"1396823666":["hashtag1","hashtag2"]},{"1396823654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823669, 1396823660, 1396823663, 1396823657, 1396823666, 1396823654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09002375602722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:38:02.463893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/27/image_29112025_05_27_24_9615.jpg', '/home/pi/Desktop/images/29112025/05/27/image_29112025_05_27_34_10710.jpg', '/home/pi/Desktop/images/29112025/05/27/image_29112025_05_27_55_10529.jpg', '/home/pi/Desktop/images/29112025/05/27/image_29112025_05_28_04_9660.jpg', '/home/pi/Desktop/images/29112025/05/28/image_29112025_05_28_14_9452.jpg', '/home/pi/Desktop/images/29112025/05/28/image_29112025_05_28_34_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/27/image_29112025_05_27_24_9615.jpg
/home/pi/Desktop/images/29112025/05/27/image_29112025_05_27_34_10710.jpg
/home/pi/Desktop/images/29112025/05/27/image_29112025_05_27_55_10529.jpg
/home/pi/Desktop/images/29112025/05/27/image_29112025_05_28_04_9660.jpg
/home/pi/Desktop/images/29112025/05/28/image_29112025_05_28_14_9452.jpg
/home/pi/Desktop/images/29112025/05/28/image_29112025_05_28_34_9762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823671","1396823674","1396823676","1396823679","1396823673","1396823672"],"photo_ids_order":["1396823671","1396823672","1396823673","1396823674","1396823676","1396823679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbcb01c8fc7dffafbe5ad719c2a16c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4617415772544909337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391143196,"filename":"image_29112025_05_27_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/11/29/80c9680af9048666d75389086a3e557d.jpg","text":"TemporaryFile(/tmp/multipartBody4467487515674089425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391143196,"filename":"image_29112025_05_28_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/11/29/9a898b9471a478155e07570e5b11a876.jpg","text":"TemporaryFile(/tmp/multipartBody6822269803091709445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391143196,"filename":"image_29112025_05_28_14_9452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01786fe3d621497839c5345449c46136.jpg","text":"TemporaryFile(/tmp/multipartBody8920543395477083842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391143196,"filename":"image_29112025_05_28_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9d82ffacf147958c8002a9b065f8343.jpg","text":"TemporaryFile(/tmp/multipartBody8567459791344725625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391143196,"filename":"image_29112025_05_27_55_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9b11d8050a25df27061088e91354a30.jpg","text":"TemporaryFile(/tmp/multipartBody3679344739295653369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391143196,"filename":"image_29112025_05_27_34_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823673","file1":"1396823672","file0":"1396823671","file4":"1396823676","file5":"1396823679","file3":"1396823674"},"map_files_photo_id_array":[{"photo_id":"1396823679","filename":"file5"},{"photo_id":"1396823673","filename":"file2"},{"photo_id":"1396823676","filename":"file4"},{"photo_id":"1396823672","filename":"file1"},{"photo_id":"1396823671","filename":"file0"},{"photo_id":"1396823674","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823671":["hashtag1","hashtag2"]},{"1396823674":["hashtag1","hashtag2"]},{"1396823676":["hashtag1","hashtag2"]},{"1396823679":["hashtag1","hashtag2"]},{"1396823673":["hashtag1","hashtag2"]},{"1396823672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823671, 1396823674, 1396823676, 1396823679, 1396823673, 1396823672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0095899105072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:38:41.973579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_37_3602.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_40_2698.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_43_2753.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_45_2635.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_49_3643.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_51_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/08/45/image_31102025_08_45_37_3602.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_40_2698.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_43_2753.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_45_2635.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_49_3643.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_51_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":["1396823692","1396823689","1396823691","1396823693","1396823687","1396823690"],"photo_ids_order":["1396823687","1396823689","1396823690","1396823691","1396823692","1396823693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1d41dd6ec027833aab9dc9c3a56f2e0.jpg","text":"TemporaryFile(/tmp/multipartBody6321205471598091728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391183030,"filename":"image_31102025_08_45_49_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b225f1cfe7119f37b6ff8b81a536f77.jpg","text":"TemporaryFile(/tmp/multipartBody4486883275563847826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391183030,"filename":"image_31102025_08_45_40_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5bdf39f6fc62a2a546465b5f4efa4eea.jpg","text":"TemporaryFile(/tmp/multipartBody3479683392561322787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391183030,"filename":"image_31102025_08_45_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/11/29/f2a56f25877f3604f8cca0143fc8ea7d.jpg","text":"TemporaryFile(/tmp/multipartBody1029145200620761259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391183030,"filename":"image_31102025_08_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/11/29/8ecb677bcdcbcdba37d476fef87085b3.jpg","text":"TemporaryFile(/tmp/multipartBody8344296412595742997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391183030,"filename":"image_31102025_08_45_37_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da9d747160ae37123b5ca9fb4e361c07.jpg","text":"TemporaryFile(/tmp/multipartBody7846757527891888995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391183030,"filename":"image_31102025_08_45_43_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823690","file1":"1396823689","file0":"1396823687","file4":"1396823692","file5":"1396823693","file3":"1396823691"},"map_files_photo_id_array":[{"photo_id":"1396823693","filename":"file5"},{"photo_id":"1396823690","filename":"file2"},{"photo_id":"1396823692","filename":"file4"},{"photo_id":"1396823689","filename":"file1"},{"photo_id":"1396823687","filename":"file0"},{"photo_id":"1396823691","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396823692":["hashtag1","hashtag2"]},{"1396823689":["hashtag1","hashtag2"]},{"1396823691":["hashtag1","hashtag2"]},{"1396823693":["hashtag1","hashtag2"]},{"1396823687":["hashtag1","hashtag2"]},{"1396823690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396823692, 1396823689, 1396823691, 1396823693, 1396823687, 1396823690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19202184677124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:39:22.170597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/28/image_29112025_05_28_44_9849.jpg', '/home/pi/Desktop/images/29112025/05/28/image_29112025_05_28_54_9778.jpg', '/home/pi/Desktop/images/29112025/05/28/image_29112025_05_29_04_10636.jpg', '/home/pi/Desktop/images/29112025/05/29/image_29112025_05_29_14_9575.jpg', '/home/pi/Desktop/images/29112025/05/29/image_29112025_05_29_24_9698.jpg', '/home/pi/Desktop/images/29112025/05/29/image_29112025_05_29_35_10857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/28/image_29112025_05_28_44_9849.jpg
/home/pi/Desktop/images/29112025/05/28/image_29112025_05_28_54_9778.jpg
/home/pi/Desktop/images/29112025/05/28/image_29112025_05_29_04_10636.jpg
/home/pi/Desktop/images/29112025/05/29/image_29112025_05_29_14_9575.jpg
/home/pi/Desktop/images/29112025/05/29/image_29112025_05_29_24_9698.jpg
/home/pi/Desktop/images/29112025/05/29/image_29112025_05_29_35_10857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823702","1396823709","1396823699","1396823706","1396823696","1396823705"],"photo_ids_order":["1396823696","1396823699","1396823702","1396823705","1396823706","1396823709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9fd0c9642250dd7610e47fea5e3aa45e.jpg","text":"TemporaryFile(/tmp/multipartBody5439701027321812534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391222877,"filename":"image_29112025_05_29_04_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03f92d37333799d61d65ba996f65b0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2898567391643951803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391222877,"filename":"image_29112025_05_29_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/11/29/fbcceead4db9f508653ee5a7afa832ee.jpg","text":"TemporaryFile(/tmp/multipartBody9028811243165270360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391222877,"filename":"image_29112025_05_28_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/11/29/1bed9a7c7a4fed1428e060e322e2cd0d.jpg","text":"TemporaryFile(/tmp/multipartBody9185500147338087171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391222877,"filename":"image_29112025_05_29_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/11/29/2779fc2481a9c72de859b7832cfa30d3.jpg","text":"TemporaryFile(/tmp/multipartBody1340872672526548784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391222877,"filename":"image_29112025_05_28_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/11/29/24a87767bb357968d5ce49213c717c53.jpg","text":"TemporaryFile(/tmp/multipartBody5957007173035834896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391222877,"filename":"image_29112025_05_29_14_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823702","file1":"1396823699","file0":"1396823696","file4":"1396823706","file5":"1396823709","file3":"1396823705"},"map_files_photo_id_array":[{"photo_id":"1396823709","filename":"file5"},{"photo_id":"1396823702","filename":"file2"},{"photo_id":"1396823706","filename":"file4"},{"photo_id":"1396823699","filename":"file1"},{"photo_id":"1396823696","filename":"file0"},{"photo_id":"1396823705","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823702":["hashtag1","hashtag2"]},{"1396823709":["hashtag1","hashtag2"]},{"1396823699":["hashtag1","hashtag2"]},{"1396823706":["hashtag1","hashtag2"]},{"1396823696":["hashtag1","hashtag2"]},{"1396823705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823702, 1396823709, 1396823699, 1396823706, 1396823696, 1396823705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20964193344116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:40:02.760015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/29/image_29112025_05_29_44_9700.jpg', '/home/pi/Desktop/images/29112025/05/29/image_29112025_05_29_54_9627.jpg', '/home/pi/Desktop/images/29112025/05/29/image_29112025_05_30_05_10642.jpg', '/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_14_9670.jpg', '/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_24_9567.jpg', '/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_35_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/29/image_29112025_05_29_44_9700.jpg
/home/pi/Desktop/images/29112025/05/29/image_29112025_05_29_54_9627.jpg
/home/pi/Desktop/images/29112025/05/29/image_29112025_05_30_05_10642.jpg
/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_14_9670.jpg
/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_24_9567.jpg
/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_35_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":["1396823719","1396823713","1396823712","1396823715","1396823717","1396823714"],"photo_ids_order":["1396823712","1396823713","1396823714","1396823715","1396823717","1396823719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2c8e56fb242fba60c70c4ec5b27e506.jpg","text":"TemporaryFile(/tmp/multipartBody9066996715123585504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391263505,"filename":"image_29112025_05_30_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/11/29/7364b94cd4bea3324d8de25263155727.jpg","text":"TemporaryFile(/tmp/multipartBody6725960746003279727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391263505,"filename":"image_29112025_05_29_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/11/29/755bf5086ba2c4620de20a841ead074c.jpg","text":"TemporaryFile(/tmp/multipartBody6995094965514763736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391263505,"filename":"image_29112025_05_29_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/11/29/20fcddb237f11d7e3a6f06186f45ed07.jpg","text":"TemporaryFile(/tmp/multipartBody1011263611575362822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391263505,"filename":"image_29112025_05_30_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/11/29/ed2997d97c1125cefc6ef9d32b4cd4d0.jpg","text":"TemporaryFile(/tmp/multipartBody985146197999492013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391263505,"filename":"image_29112025_05_30_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b53f0831e44f1fd16bf5836be422b22.jpg","text":"TemporaryFile(/tmp/multipartBody5357783531220177505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391263505,"filename":"image_29112025_05_30_05_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823714","file1":"1396823713","file0":"1396823712","file4":"1396823717","file5":"1396823719","file3":"1396823715"},"map_files_photo_id_array":[{"photo_id":"1396823719","filename":"file5"},{"photo_id":"1396823714","filename":"file2"},{"photo_id":"1396823717","filename":"file4"},{"photo_id":"1396823713","filename":"file1"},{"photo_id":"1396823712","filename":"file0"},{"photo_id":"1396823715","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823719":["hashtag1","hashtag2"]},{"1396823713":["hashtag1","hashtag2"]},{"1396823712":["hashtag1","hashtag2"]},{"1396823715":["hashtag1","hashtag2"]},{"1396823717":["hashtag1","hashtag2"]},{"1396823714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823719, 1396823713, 1396823712, 1396823715, 1396823717, 1396823714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41171073913574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:40:42.319382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_54_2625.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_58_3864.jpg', '/home/pi/Desktop/images/31102025/08/45/image_31102025_08_46_00_2566.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_03_2693.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_07_3614.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_09_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/08/45/image_31102025_08_45_54_2625.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_45_58_3864.jpg
/home/pi/Desktop/images/31102025/08/45/image_31102025_08_46_00_2566.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_03_2693.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_07_3614.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_09_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":["1396823728","1396823737","1396823731","1396823739","1396823733","1396823735"],"photo_ids_order":["1396823728","1396823731","1396823733","1396823735","1396823737","1396823739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1eb49c78dc1d05adfcbf16e812c5cc5.jpg","text":"TemporaryFile(/tmp/multipartBody5425437588003287403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391303380,"filename":"image_31102025_08_45_54_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eccdf6344b202f6b6c9ed42d0c298db3.jpg","text":"TemporaryFile(/tmp/multipartBody4481794043358591474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391303380,"filename":"image_31102025_08_46_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/11/29/3cec6d879df15b95783f61ec0f9cff04.jpg","text":"TemporaryFile(/tmp/multipartBody5066253200514478249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391303380,"filename":"image_31102025_08_45_58_3864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19c28e51d2efd38c652621b7db81e528.jpg","text":"TemporaryFile(/tmp/multipartBody821620590805640114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391303380,"filename":"image_31102025_08_46_09_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cecdf6267c445b14ecfdf2e454e381d1.jpg","text":"TemporaryFile(/tmp/multipartBody7046317697539628757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391303380,"filename":"image_31102025_08_46_00_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ac3d095350dac9df51a6f081931bd58.jpg","text":"TemporaryFile(/tmp/multipartBody4902188932792160207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391303380,"filename":"image_31102025_08_46_03_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823733","file1":"1396823731","file0":"1396823728","file4":"1396823737","file5":"1396823739","file3":"1396823735"},"map_files_photo_id_array":[{"photo_id":"1396823739","filename":"file5"},{"photo_id":"1396823733","filename":"file2"},{"photo_id":"1396823737","filename":"file4"},{"photo_id":"1396823731","filename":"file1"},{"photo_id":"1396823728","filename":"file0"},{"photo_id":"1396823735","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396823728":["hashtag1","hashtag2"]},{"1396823737":["hashtag1","hashtag2"]},{"1396823731":["hashtag1","hashtag2"]},{"1396823739":["hashtag1","hashtag2"]},{"1396823733":["hashtag1","hashtag2"]},{"1396823735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396823728, 1396823737, 1396823731, 1396823739, 1396823733, 1396823735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.651957750320435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:41:22.508419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_44_9601.jpg', '/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_54_9670.jpg', '/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_08_14478.jpg', '/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_14_5614.jpg', '/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_25_10751.jpg', '/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_34_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_44_9601.jpg
/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_54_9670.jpg
/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_08_14478.jpg
/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_14_5614.jpg
/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_25_10751.jpg
/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_34_9586.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6602010726928711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:41:32.472886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_49_2572.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_52_3593.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_55_2518.jpg', '/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_58_3669.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_01_2609.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_04_2902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_49_2572.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_52_3593.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_55_2518.jpg
/home/pi/Desktop/images/25112025/17/46/image_25112025_17_46_58_3669.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_01_2609.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_04_2902.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823761","1396823758","1396823760","1396823754","1396823762","1396823750"],"photo_ids_order":["1396823750","1396823754","1396823758","1396823760","1396823761","1396823762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b57847b4acdbbc32c526336d314cdb44.jpg","text":"TemporaryFile(/tmp/multipartBody5098290119854959226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391354709,"filename":"image_25112025_17_47_01_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff954953fb03fd6d1c77563f724c9a60.jpg","text":"TemporaryFile(/tmp/multipartBody1101937162649370458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391354709,"filename":"image_25112025_17_46_55_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/259a8e886df1a5ace41990417f1855a3.jpg","text":"TemporaryFile(/tmp/multipartBody3438185152636595291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391354709,"filename":"image_25112025_17_46_58_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6046448b2c1ebbb3a2c0dcd9a45f69d9.jpg","text":"TemporaryFile(/tmp/multipartBody2888538462782185460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391354709,"filename":"image_25112025_17_46_52_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55078d9dc6861680e2295db7ad2ae563.jpg","text":"TemporaryFile(/tmp/multipartBody6765396045626284276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391354709,"filename":"image_25112025_17_47_04_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf90ee1bbc831e3341858da809b9695e.jpg","text":"TemporaryFile(/tmp/multipartBody5338241454574868907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391354709,"filename":"image_25112025_17_46_49_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823758","file1":"1396823754","file0":"1396823750","file4":"1396823761","file5":"1396823762","file3":"1396823760"},"map_files_photo_id_array":[{"photo_id":"1396823762","filename":"file5"},{"photo_id":"1396823758","filename":"file2"},{"photo_id":"1396823761","filename":"file4"},{"photo_id":"1396823754","filename":"file1"},{"photo_id":"1396823750","filename":"file0"},{"photo_id":"1396823760","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396823761":["hashtag1","hashtag2"]},{"1396823758":["hashtag1","hashtag2"]},{"1396823760":["hashtag1","hashtag2"]},{"1396823754":["hashtag1","hashtag2"]},{"1396823762":["hashtag1","hashtag2"]},{"1396823750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396823761, 1396823758, 1396823760, 1396823754, 1396823762, 1396823750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.501424074172974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:42:12.570425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_07_2639.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_10_3593.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_13_2641.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_16_2721.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_19_3823.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_22_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_07_2639.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_10_3593.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_13_2641.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_16_2721.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_19_3823.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_22_2728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823776","1396823772","1396823774","1396823768","1396823777","1396823765"],"photo_ids_order":["1396823765","1396823768","1396823772","1396823774","1396823776","1396823777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8c13baad07b4d5e3a2549cc989b2dd5.jpg","text":"TemporaryFile(/tmp/multipartBody7608275008520939625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391402524,"filename":"image_25112025_17_47_19_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8b6e7a0968f6b9c47f100f8daa76e6e.jpg","text":"TemporaryFile(/tmp/multipartBody4008513445731155725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391402524,"filename":"image_25112025_17_47_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/11/29/15de57aa893bc5bb34912b8aa7d00f10.jpg","text":"TemporaryFile(/tmp/multipartBody2319628610173231617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391402524,"filename":"image_25112025_17_47_16_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a250939305440d15eede517c964eade.jpg","text":"TemporaryFile(/tmp/multipartBody7077307190866833283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391402524,"filename":"image_25112025_17_47_10_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59bbe507b187247be3bcc2bfb7aad4fa.jpg","text":"TemporaryFile(/tmp/multipartBody564784945360117132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391402524,"filename":"image_25112025_17_47_22_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2ff9991de03261fc8ebe3821345d41a.jpg","text":"TemporaryFile(/tmp/multipartBody4903347254850459204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391402524,"filename":"image_25112025_17_47_07_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823772","file1":"1396823768","file0":"1396823765","file4":"1396823776","file5":"1396823777","file3":"1396823774"},"map_files_photo_id_array":[{"photo_id":"1396823777","filename":"file5"},{"photo_id":"1396823772","filename":"file2"},{"photo_id":"1396823776","filename":"file4"},{"photo_id":"1396823768","filename":"file1"},{"photo_id":"1396823765","filename":"file0"},{"photo_id":"1396823774","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396823776":["hashtag1","hashtag2"]},{"1396823772":["hashtag1","hashtag2"]},{"1396823774":["hashtag1","hashtag2"]},{"1396823768":["hashtag1","hashtag2"]},{"1396823777":["hashtag1","hashtag2"]},{"1396823765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396823776, 1396823772, 1396823774, 1396823768, 1396823777, 1396823765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.391029596328735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:43:03.557204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_44_9601.jpg', '/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_54_9670.jpg', '/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_08_14478.jpg', '/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_14_5614.jpg', '/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_25_10751.jpg', '/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_34_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_44_9601.jpg
/home/pi/Desktop/images/29112025/05/30/image_29112025_05_30_54_9670.jpg
/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_08_14478.jpg
/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_14_5614.jpg
/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_25_10751.jpg
/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_34_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823779","1396823781","1396823778","1396823787","1396823780","1396823783"],"photo_ids_order":["1396823778","1396823779","1396823780","1396823781","1396823783","1396823787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df439d77472649251cc3291fd6697d14.jpg","text":"TemporaryFile(/tmp/multipartBody3495884311270056127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391444333,"filename":"image_29112025_05_30_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/11/29/8595481a7a0ec178335ecac4e619e616.jpg","text":"TemporaryFile(/tmp/multipartBody2266394210845252946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391444333,"filename":"image_29112025_05_31_14_5614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a4004a45f530290edc56e240818d3e2.jpg","text":"TemporaryFile(/tmp/multipartBody2600466368403618801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391444333,"filename":"image_29112025_05_30_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/11/29/39705abcb97adc8ec7e0c299c976ea2c.jpg","text":"TemporaryFile(/tmp/multipartBody7390972537490919806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391444333,"filename":"image_29112025_05_31_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8e25c9615745a79a656dd473e55ae9d.jpg","text":"TemporaryFile(/tmp/multipartBody7889703803867427064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391444333,"filename":"image_29112025_05_31_08_14478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af44f87c2593d332d5564411fb75e927.jpg","text":"TemporaryFile(/tmp/multipartBody7025086392842741100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391444333,"filename":"image_29112025_05_31_25_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823780","file1":"1396823779","file0":"1396823778","file4":"1396823783","file5":"1396823787","file3":"1396823781"},"map_files_photo_id_array":[{"photo_id":"1396823787","filename":"file5"},{"photo_id":"1396823780","filename":"file2"},{"photo_id":"1396823783","filename":"file4"},{"photo_id":"1396823779","filename":"file1"},{"photo_id":"1396823778","filename":"file0"},{"photo_id":"1396823781","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823779":["hashtag1","hashtag2"]},{"1396823781":["hashtag1","hashtag2"]},{"1396823778":["hashtag1","hashtag2"]},{"1396823787":["hashtag1","hashtag2"]},{"1396823780":["hashtag1","hashtag2"]},{"1396823783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823779, 1396823781, 1396823778, 1396823787, 1396823780, 1396823783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72834777832031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:43:42.806897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_12_2695.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_16_3600.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_18_2629.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_21_2791.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_25_3749.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_28_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/08/46/image_31102025_08_46_12_2695.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_16_3600.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_18_2629.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_21_2791.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_25_3749.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_28_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":["1396823801","1396823800","1396823799","1396823798","1396823795","1396823797"],"photo_ids_order":["1396823795","1396823797","1396823798","1396823799","1396823800","1396823801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f19ef4a7f7a523bb47101b65433f9d2c.jpg","text":"TemporaryFile(/tmp/multipartBody6925359477617739070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391483860,"filename":"image_31102025_08_46_28_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da0e1195f4f4119c66d328b30d0a0f44.jpg","text":"TemporaryFile(/tmp/multipartBody7133682383663974263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391483860,"filename":"image_31102025_08_46_25_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c30f85f5c796aa89ad441bb91a74f4c.jpg","text":"TemporaryFile(/tmp/multipartBody9162752705827164741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391483860,"filename":"image_31102025_08_46_21_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/509cd4713f6ed186ef915613fb899d68.jpg","text":"TemporaryFile(/tmp/multipartBody1563788327227498624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391483860,"filename":"image_31102025_08_46_18_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/642b8b957ee2376192f4d63d6d543887.jpg","text":"TemporaryFile(/tmp/multipartBody7200000693010616879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391483860,"filename":"image_31102025_08_46_12_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/456bccfcc76b2b24cad92e3dd896870b.jpg","text":"TemporaryFile(/tmp/multipartBody8842574757850021620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391483860,"filename":"image_31102025_08_46_16_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823798","file1":"1396823797","file0":"1396823795","file4":"1396823800","file5":"1396823801","file3":"1396823799"},"map_files_photo_id_array":[{"photo_id":"1396823801","filename":"file5"},{"photo_id":"1396823798","filename":"file2"},{"photo_id":"1396823800","filename":"file4"},{"photo_id":"1396823797","filename":"file1"},{"photo_id":"1396823795","filename":"file0"},{"photo_id":"1396823799","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396823801":["hashtag1","hashtag2"]},{"1396823800":["hashtag1","hashtag2"]},{"1396823799":["hashtag1","hashtag2"]},{"1396823798":["hashtag1","hashtag2"]},{"1396823795":["hashtag1","hashtag2"]},{"1396823797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396823801, 1396823800, 1396823799, 1396823798, 1396823795, 1396823797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72160482406616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:44:22.004379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_44_9664.jpg', '/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_55_10682.jpg', '/home/pi/Desktop/images/29112025/05/32/image_29112025_05_32_14_9569.jpg', '/home/pi/Desktop/images/29112025/05/32/image_29112025_05_32_24_10370.jpg', '/home/pi/Desktop/images/29112025/05/32/image_29112025_05_32_34_9751.jpg', '/home/pi/Desktop/images/29112025/05/32/image_29112025_05_32_44_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_44_9664.jpg
/home/pi/Desktop/images/29112025/05/31/image_29112025_05_31_55_10682.jpg
/home/pi/Desktop/images/29112025/05/32/image_29112025_05_32_14_9569.jpg
/home/pi/Desktop/images/29112025/05/32/image_29112025_05_32_24_10370.jpg
/home/pi/Desktop/images/29112025/05/32/image_29112025_05_32_34_9751.jpg
/home/pi/Desktop/images/29112025/05/32/image_29112025_05_32_44_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823812","1396823806","1396823814","1396823816","1396823819","1396823810"],"photo_ids_order":["1396823806","1396823810","1396823812","1396823814","1396823816","1396823819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efcd6838165a24237cf19a1930e46e7f.jpg","text":"TemporaryFile(/tmp/multipartBody5164726353598925099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391522714,"filename":"image_29112025_05_32_14_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a88074e027adfa0e76449487fea263d0.jpg","text":"TemporaryFile(/tmp/multipartBody3278647192190346354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391522714,"filename":"image_29112025_05_31_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/11/29/38a185ddfcaac5fcc947e6bbc08dd8d8.jpg","text":"TemporaryFile(/tmp/multipartBody1027398766390581645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391522714,"filename":"image_29112025_05_32_24_10370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5ecfbc5b4f973f1a883f2c44f299a59.jpg","text":"TemporaryFile(/tmp/multipartBody3427859970649640929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391522714,"filename":"image_29112025_05_32_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/11/29/ba77164737f4c024ee2eb0bb90fa5fed.jpg","text":"TemporaryFile(/tmp/multipartBody6938440531818530885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391522714,"filename":"image_29112025_05_32_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/11/29/ed51d90645f47efe41df7b9bd94854b7.jpg","text":"TemporaryFile(/tmp/multipartBody1593138388923046742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391522714,"filename":"image_29112025_05_31_55_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823812","file1":"1396823810","file0":"1396823806","file4":"1396823816","file5":"1396823819","file3":"1396823814"},"map_files_photo_id_array":[{"photo_id":"1396823819","filename":"file5"},{"photo_id":"1396823812","filename":"file2"},{"photo_id":"1396823816","filename":"file4"},{"photo_id":"1396823810","filename":"file1"},{"photo_id":"1396823806","filename":"file0"},{"photo_id":"1396823814","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823812":["hashtag1","hashtag2"]},{"1396823806":["hashtag1","hashtag2"]},{"1396823814":["hashtag1","hashtag2"]},{"1396823816":["hashtag1","hashtag2"]},{"1396823819":["hashtag1","hashtag2"]},{"1396823810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823812, 1396823806, 1396823814, 1396823816, 1396823819, 1396823810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.152339935302734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:45:02.811174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/32/image_29112025_05_32_54_10530.jpg', '/home/pi/Desktop/images/29112025/05/32/image_29112025_05_33_05_10172.jpg', '/home/pi/Desktop/images/29112025/05/33/image_29112025_05_33_14_9424.jpg', '/home/pi/Desktop/images/29112025/05/33/image_29112025_05_33_25_10716.jpg', '/home/pi/Desktop/images/29112025/05/33/image_29112025_05_33_34_9676.jpg', '/home/pi/Desktop/images/29112025/05/33/image_29112025_05_33_44_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/32/image_29112025_05_32_54_10530.jpg
/home/pi/Desktop/images/29112025/05/32/image_29112025_05_33_05_10172.jpg
/home/pi/Desktop/images/29112025/05/33/image_29112025_05_33_14_9424.jpg
/home/pi/Desktop/images/29112025/05/33/image_29112025_05_33_25_10716.jpg
/home/pi/Desktop/images/29112025/05/33/image_29112025_05_33_34_9676.jpg
/home/pi/Desktop/images/29112025/05/33/image_29112025_05_33_44_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":["1396823821","1396823826","1396823829","1396823820","1396823823","1396823822"],"photo_ids_order":["1396823820","1396823821","1396823822","1396823823","1396823826","1396823829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d77a3e48e11c416aac2b71c95c31c91e.jpg","text":"TemporaryFile(/tmp/multipartBody6317096426965527037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391563596,"filename":"image_29112025_05_33_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/11/29/9422bc22ddc584228942e406a06aa2c8.jpg","text":"TemporaryFile(/tmp/multipartBody4323213925062045949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391563596,"filename":"image_29112025_05_33_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/11/29/530d3245e4ccaf556b6236119f8b77fb.jpg","text":"TemporaryFile(/tmp/multipartBody3386173593967145724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391563596,"filename":"image_29112025_05_33_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/11/29/7112162a54b9203c538501626a6753ca.jpg","text":"TemporaryFile(/tmp/multipartBody3455725673452409567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391563596,"filename":"image_29112025_05_32_54_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29b92def2cce4499675bdfec521633e1.jpg","text":"TemporaryFile(/tmp/multipartBody1827333921403142935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391563596,"filename":"image_29112025_05_33_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bfda62045ea56a35d41752705a2104f8.jpg","text":"TemporaryFile(/tmp/multipartBody1017943421052591599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391563596,"filename":"image_29112025_05_33_14_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823822","file1":"1396823821","file0":"1396823820","file4":"1396823826","file5":"1396823829","file3":"1396823823"},"map_files_photo_id_array":[{"photo_id":"1396823829","filename":"file5"},{"photo_id":"1396823822","filename":"file2"},{"photo_id":"1396823826","filename":"file4"},{"photo_id":"1396823821","filename":"file1"},{"photo_id":"1396823820","filename":"file0"},{"photo_id":"1396823823","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823821":["hashtag1","hashtag2"]},{"1396823826":["hashtag1","hashtag2"]},{"1396823829":["hashtag1","hashtag2"]},{"1396823820":["hashtag1","hashtag2"]},{"1396823823":["hashtag1","hashtag2"]},{"1396823822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823821, 1396823826, 1396823829, 1396823820, 1396823823, 1396823822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14988708496094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:45:42.220344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_30_2553.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_34_3648.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_36_2650.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_39_2696.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_43_3717.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_46_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_30_2553.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_34_3648.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_36_2650.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_39_2696.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_43_3717.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_46_2749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823842","1396823839","1396823844","1396823841","1396823840","1396823837"],"photo_ids_order":["1396823837","1396823839","1396823840","1396823841","1396823842","1396823844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdb80c601fe6bb23425793b7d35f3e14.jpg","text":"TemporaryFile(/tmp/multipartBody1412303611011989747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391603243,"filename":"image_31102025_08_46_43_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6edd1075d342845bb0320efe6bcc66a1.jpg","text":"TemporaryFile(/tmp/multipartBody3412546113301376545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391603243,"filename":"image_31102025_08_46_34_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57d7c87e3b7f3332747c8af499350da7.jpg","text":"TemporaryFile(/tmp/multipartBody3797499127711857349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391603243,"filename":"image_31102025_08_46_46_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d77b4e6c1c3002e6e2eee0e9587f887.jpg","text":"TemporaryFile(/tmp/multipartBody2780998930217228968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391603243,"filename":"image_31102025_08_46_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/11/29/76170ff92ab648a849e4cfad36851c73.jpg","text":"TemporaryFile(/tmp/multipartBody87863648737235366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391603243,"filename":"image_31102025_08_46_36_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24363a054b43f9ac29a83d0a0088804c.jpg","text":"TemporaryFile(/tmp/multipartBody3385947711115339931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391603243,"filename":"image_31102025_08_46_30_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823840","file1":"1396823839","file0":"1396823837","file4":"1396823842","file5":"1396823844","file3":"1396823841"},"map_files_photo_id_array":[{"photo_id":"1396823844","filename":"file5"},{"photo_id":"1396823840","filename":"file2"},{"photo_id":"1396823842","filename":"file4"},{"photo_id":"1396823839","filename":"file1"},{"photo_id":"1396823837","filename":"file0"},{"photo_id":"1396823841","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396823842":["hashtag1","hashtag2"]},{"1396823839":["hashtag1","hashtag2"]},{"1396823844":["hashtag1","hashtag2"]},{"1396823841":["hashtag1","hashtag2"]},{"1396823840":["hashtag1","hashtag2"]},{"1396823837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396823842, 1396823839, 1396823844, 1396823841, 1396823840, 1396823837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.150439500808716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:46:22.404089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/33/image_29112025_05_33_54_9832.jpg', '/home/pi/Desktop/images/29112025/05/33/image_29112025_05_34_04_9816.jpg', '/home/pi/Desktop/images/29112025/05/34/image_29112025_05_34_15_10740.jpg', '/home/pi/Desktop/images/29112025/05/34/image_29112025_05_34_24_9581.jpg', '/home/pi/Desktop/images/29112025/05/34/image_29112025_05_34_35_10532.jpg', '/home/pi/Desktop/images/29112025/05/34/image_29112025_05_34_44_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/33/image_29112025_05_33_54_9832.jpg
/home/pi/Desktop/images/29112025/05/33/image_29112025_05_34_04_9816.jpg
/home/pi/Desktop/images/29112025/05/34/image_29112025_05_34_15_10740.jpg
/home/pi/Desktop/images/29112025/05/34/image_29112025_05_34_24_9581.jpg
/home/pi/Desktop/images/29112025/05/34/image_29112025_05_34_35_10532.jpg
/home/pi/Desktop/images/29112025/05/34/image_29112025_05_34_44_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":["1396823860","1396823854","1396823848","1396823857","1396823862","1396823850"],"photo_ids_order":["1396823848","1396823850","1396823854","1396823857","1396823860","1396823862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccdf266680231cca272d710ccb81e2b6.jpg","text":"TemporaryFile(/tmp/multipartBody5349626137105463765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391643111,"filename":"image_29112025_05_34_35_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/009b913054470518c3121dad2a16f23e.jpg","text":"TemporaryFile(/tmp/multipartBody5320330914890768312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391643111,"filename":"image_29112025_05_34_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/11/29/e1e30822f84de89703c3b82a58a71cdd.jpg","text":"TemporaryFile(/tmp/multipartBody5142238334046186966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391643111,"filename":"image_29112025_05_33_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/11/29/a6de41904f55f2d9ad0a54628f8dd3ad.jpg","text":"TemporaryFile(/tmp/multipartBody3234964755287518412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391643111,"filename":"image_29112025_05_34_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e43a7a270b57102ee38484ada7cc396.jpg","text":"TemporaryFile(/tmp/multipartBody8682911594629967543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391643111,"filename":"image_29112025_05_34_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/11/29/704850423464fb263bac92015ba9aa6f.jpg","text":"TemporaryFile(/tmp/multipartBody1209933674980151530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391643111,"filename":"image_29112025_05_34_04_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823854","file1":"1396823850","file0":"1396823848","file4":"1396823860","file5":"1396823862","file3":"1396823857"},"map_files_photo_id_array":[{"photo_id":"1396823862","filename":"file5"},{"photo_id":"1396823854","filename":"file2"},{"photo_id":"1396823860","filename":"file4"},{"photo_id":"1396823850","filename":"file1"},{"photo_id":"1396823848","filename":"file0"},{"photo_id":"1396823857","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823860":["hashtag1","hashtag2"]},{"1396823854":["hashtag1","hashtag2"]},{"1396823848":["hashtag1","hashtag2"]},{"1396823857":["hashtag1","hashtag2"]},{"1396823862":["hashtag1","hashtag2"]},{"1396823850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823860, 1396823854, 1396823848, 1396823857, 1396823862, 1396823850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88407874107361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:47:03.245486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/34/image_29112025_05_34_54_9928.jpg', '/home/pi/Desktop/images/29112025/05/35/image_29112025_05_35_04_10061.jpg', '/home/pi/Desktop/images/29112025/05/35/image_29112025_05_35_14_9751.jpg', '/home/pi/Desktop/images/29112025/05/35/image_29112025_05_35_35_10694.jpg', '/home/pi/Desktop/images/29112025/05/35/image_29112025_05_35_44_9674.jpg', '/home/pi/Desktop/images/29112025/05/35/image_29112025_05_35_54_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/34/image_29112025_05_34_54_9928.jpg
/home/pi/Desktop/images/29112025/05/35/image_29112025_05_35_04_10061.jpg
/home/pi/Desktop/images/29112025/05/35/image_29112025_05_35_14_9751.jpg
/home/pi/Desktop/images/29112025/05/35/image_29112025_05_35_35_10694.jpg
/home/pi/Desktop/images/29112025/05/35/image_29112025_05_35_44_9674.jpg
/home/pi/Desktop/images/29112025/05/35/image_29112025_05_35_54_9923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823863","1396823872","1396823866","1396823868","1396823865","1396823864"],"photo_ids_order":["1396823863","1396823864","1396823865","1396823866","1396823868","1396823872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69a190c978fd9276512aa3e3a24696b1.jpg","text":"TemporaryFile(/tmp/multipartBody4314416081942534157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391684038,"filename":"image_29112025_05_34_54_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/085c8e12a916591e77475ce68ce45876.jpg","text":"TemporaryFile(/tmp/multipartBody557016858521587799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391684038,"filename":"image_29112025_05_35_54_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e800dd13a5a6d22e193791a17e04a366.jpg","text":"TemporaryFile(/tmp/multipartBody4470480602340593356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391684038,"filename":"image_29112025_05_35_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/11/29/162f4c12034c64e493ae9169bf2c49d0.jpg","text":"TemporaryFile(/tmp/multipartBody572605642089848792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391684038,"filename":"image_29112025_05_35_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1047f2a72bb1ec9e0e72ce1fd4a4ad66.jpg","text":"TemporaryFile(/tmp/multipartBody2052085257176129198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391684038,"filename":"image_29112025_05_35_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/11/29/ed5bb924fb733fcef5e47f612b7259f7.jpg","text":"TemporaryFile(/tmp/multipartBody58048246105512374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391684038,"filename":"image_29112025_05_35_04_10061.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823865","file1":"1396823864","file0":"1396823863","file4":"1396823868","file5":"1396823872","file3":"1396823866"},"map_files_photo_id_array":[{"photo_id":"1396823872","filename":"file5"},{"photo_id":"1396823865","filename":"file2"},{"photo_id":"1396823868","filename":"file4"},{"photo_id":"1396823864","filename":"file1"},{"photo_id":"1396823863","filename":"file0"},{"photo_id":"1396823866","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823863":["hashtag1","hashtag2"]},{"1396823872":["hashtag1","hashtag2"]},{"1396823866":["hashtag1","hashtag2"]},{"1396823868":["hashtag1","hashtag2"]},{"1396823865":["hashtag1","hashtag2"]},{"1396823864":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823863, 1396823872, 1396823866, 1396823868, 1396823865, 1396823864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70490860939026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:47:42.732372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_48_2690.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_52_3580.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_54_2565.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_57_2805.jpg', '/home/pi/Desktop/images/31102025/08/46/image_31102025_08_47_01_3764.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_04_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/08/46/image_31102025_08_46_48_2690.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_52_3580.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_54_2565.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_46_57_2805.jpg
/home/pi/Desktop/images/31102025/08/46/image_31102025_08_47_01_3764.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_04_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":["1396823900","1396823899","1396823902","1396823898","1396823901","1396823879"],"photo_ids_order":["1396823879","1396823898","1396823899","1396823900","1396823901","1396823902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/726c260c2de970e97ee1dd98d9af34f7.jpg","text":"TemporaryFile(/tmp/multipartBody5902120677004157191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391723800,"filename":"image_31102025_08_46_57_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79ccdf76c0191b292d696db005046ac0.jpg","text":"TemporaryFile(/tmp/multipartBody6025714569977948526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391723800,"filename":"image_31102025_08_46_54_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c711cd5cb4937333b2cab88288029fa.jpg","text":"TemporaryFile(/tmp/multipartBody2087397719792902565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391723800,"filename":"image_31102025_08_47_04_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32bdaf4ebe75c4dca810f7b067037e0c.jpg","text":"TemporaryFile(/tmp/multipartBody1301825332440994767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391723800,"filename":"image_31102025_08_46_52_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eee2b1e4a3433894a80dce566b5136ce.jpg","text":"TemporaryFile(/tmp/multipartBody469127971340596881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391723800,"filename":"image_31102025_08_47_01_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/894244407648f619a982f6197f8d6a56.jpg","text":"TemporaryFile(/tmp/multipartBody4777333515498144132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391723800,"filename":"image_31102025_08_46_48_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823899","file1":"1396823898","file0":"1396823879","file4":"1396823901","file5":"1396823902","file3":"1396823900"},"map_files_photo_id_array":[{"photo_id":"1396823902","filename":"file5"},{"photo_id":"1396823899","filename":"file2"},{"photo_id":"1396823901","filename":"file4"},{"photo_id":"1396823898","filename":"file1"},{"photo_id":"1396823879","filename":"file0"},{"photo_id":"1396823900","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396823900":["hashtag1","hashtag2"]},{"1396823899":["hashtag1","hashtag2"]},{"1396823902":["hashtag1","hashtag2"]},{"1396823898":["hashtag1","hashtag2"]},{"1396823901":["hashtag1","hashtag2"]},{"1396823879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396823900, 1396823899, 1396823902, 1396823898, 1396823901, 1396823879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74564290046692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:48:21.900633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/35/image_29112025_05_36_04_9658.jpg', '/home/pi/Desktop/images/29112025/05/36/image_29112025_05_36_24_10085.jpg', '/home/pi/Desktop/images/29112025/05/36/image_29112025_05_36_34_10549.jpg', '/home/pi/Desktop/images/29112025/05/36/image_29112025_05_36_44_9910.jpg', '/home/pi/Desktop/images/29112025/05/36/image_29112025_05_36_54_9896.jpg', '/home/pi/Desktop/images/29112025/05/37/image_29112025_05_37_14_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/35/image_29112025_05_36_04_9658.jpg
/home/pi/Desktop/images/29112025/05/36/image_29112025_05_36_24_10085.jpg
/home/pi/Desktop/images/29112025/05/36/image_29112025_05_36_34_10549.jpg
/home/pi/Desktop/images/29112025/05/36/image_29112025_05_36_44_9910.jpg
/home/pi/Desktop/images/29112025/05/36/image_29112025_05_36_54_9896.jpg
/home/pi/Desktop/images/29112025/05/37/image_29112025_05_37_14_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":["1396823909","1396823919","1396823907","1396823904","1396823915","1396823912"],"photo_ids_order":["1396823904","1396823907","1396823909","1396823912","1396823915","1396823919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/721a823b25feb7e351f31b9695f41e21.jpg","text":"TemporaryFile(/tmp/multipartBody6084080472875604568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391762639,"filename":"image_29112025_05_36_34_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1dbd96c33c47ea8d42f30bd16078cee1.jpg","text":"TemporaryFile(/tmp/multipartBody4245794043604052947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391762639,"filename":"image_29112025_05_37_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/11/29/045c723c85926ccda55b01201bd7377a.jpg","text":"TemporaryFile(/tmp/multipartBody5862182214356202191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391762639,"filename":"image_29112025_05_36_24_10085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3631aebd70ea7f5aa9076653c49e04d.jpg","text":"TemporaryFile(/tmp/multipartBody2101147091884171057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391762639,"filename":"image_29112025_05_36_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1771b553ceeb1726f060cec29ee7751c.jpg","text":"TemporaryFile(/tmp/multipartBody4883775590772404929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391762639,"filename":"image_29112025_05_36_54_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/972195219cfa7d423ef78da55bf8a5e7.jpg","text":"TemporaryFile(/tmp/multipartBody5242936852457580491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391762639,"filename":"image_29112025_05_36_44_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823909","file1":"1396823907","file0":"1396823904","file4":"1396823915","file5":"1396823919","file3":"1396823912"},"map_files_photo_id_array":[{"photo_id":"1396823919","filename":"file5"},{"photo_id":"1396823909","filename":"file2"},{"photo_id":"1396823915","filename":"file4"},{"photo_id":"1396823907","filename":"file1"},{"photo_id":"1396823904","filename":"file0"},{"photo_id":"1396823912","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823909":["hashtag1","hashtag2"]},{"1396823919":["hashtag1","hashtag2"]},{"1396823907":["hashtag1","hashtag2"]},{"1396823904":["hashtag1","hashtag2"]},{"1396823915":["hashtag1","hashtag2"]},{"1396823912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823909, 1396823919, 1396823907, 1396823904, 1396823915, 1396823912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69552278518677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:49:03.115503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/37/image_29112025_05_37_24_9559.jpg', '/home/pi/Desktop/images/29112025/05/37/image_29112025_05_37_44_9801.jpg', '/home/pi/Desktop/images/29112025/05/37/image_29112025_05_37_54_9721.jpg', '/home/pi/Desktop/images/29112025/05/37/image_29112025_05_38_04_9695.jpg', '/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_15_10810.jpg', '/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_24_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/37/image_29112025_05_37_24_9559.jpg
/home/pi/Desktop/images/29112025/05/37/image_29112025_05_37_44_9801.jpg
/home/pi/Desktop/images/29112025/05/37/image_29112025_05_37_54_9721.jpg
/home/pi/Desktop/images/29112025/05/37/image_29112025_05_38_04_9695.jpg
/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_15_10810.jpg
/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_24_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":["1396823929","1396823923","1396823922","1396823921","1396823924","1396823927"],"photo_ids_order":["1396823921","1396823922","1396823923","1396823924","1396823927","1396823929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/261e3d5e797a2d3e55f39ca3cc8fe378.jpg","text":"TemporaryFile(/tmp/multipartBody4275122366244491906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391804004,"filename":"image_29112025_05_38_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/11/29/89a843e44bd651d9665873f1b80deb60.jpg","text":"TemporaryFile(/tmp/multipartBody4916726005621991267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391804004,"filename":"image_29112025_05_37_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/11/29/350e9e858ff6455a44c70f86a22c1980.jpg","text":"TemporaryFile(/tmp/multipartBody1132317326563256762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391804004,"filename":"image_29112025_05_37_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/11/29/6efd256209a498585c93f8ed39322cde.jpg","text":"TemporaryFile(/tmp/multipartBody7616644668957376200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391804004,"filename":"image_29112025_05_37_24_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c41b23a75f25bb1e38eb07a1d090cba4.jpg","text":"TemporaryFile(/tmp/multipartBody7920913170970265966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391804004,"filename":"image_29112025_05_38_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/11/29/1803954ea49a83aa122934e91e5d0ac2.jpg","text":"TemporaryFile(/tmp/multipartBody1596334968918731198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391804004,"filename":"image_29112025_05_38_15_10810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823923","file1":"1396823922","file0":"1396823921","file4":"1396823927","file5":"1396823929","file3":"1396823924"},"map_files_photo_id_array":[{"photo_id":"1396823929","filename":"file5"},{"photo_id":"1396823923","filename":"file2"},{"photo_id":"1396823927","filename":"file4"},{"photo_id":"1396823922","filename":"file1"},{"photo_id":"1396823921","filename":"file0"},{"photo_id":"1396823924","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396823929":["hashtag1","hashtag2"]},{"1396823923":["hashtag1","hashtag2"]},{"1396823922":["hashtag1","hashtag2"]},{"1396823921":["hashtag1","hashtag2"]},{"1396823924":["hashtag1","hashtag2"]},{"1396823927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396823929, 1396823923, 1396823922, 1396823921, 1396823924, 1396823927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3511905670166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:49:42.190336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_06_2683.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_09_2605.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_13_3683.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_15_2805.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_18_2552.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_22_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/08/47/image_31102025_08_47_06_2683.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_09_2605.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_13_3683.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_15_2805.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_18_2552.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_22_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":["1396823950","1396823943","1396823946","1396823948","1396823945","1396823939"],"photo_ids_order":["1396823939","1396823943","1396823945","1396823946","1396823948","1396823950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0a17510518914b957e5935e18159cc2.jpg","text":"TemporaryFile(/tmp/multipartBody8590086824053056345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391843247,"filename":"image_31102025_08_47_22_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/412d5581b0e743d788cb745324a9ed9c.jpg","text":"TemporaryFile(/tmp/multipartBody6835867978354504309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391843247,"filename":"image_31102025_08_47_09_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbe605c40c465ed1e958226af50e5a87.jpg","text":"TemporaryFile(/tmp/multipartBody3441880535430877979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391843247,"filename":"image_31102025_08_47_15_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47d088a475ccdf954860c2e255fb28f5.jpg","text":"TemporaryFile(/tmp/multipartBody5105189674191122093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391843247,"filename":"image_31102025_08_47_18_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b67ecd7e978714d1d80fd966379e2f79.jpg","text":"TemporaryFile(/tmp/multipartBody891075803825138139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391843247,"filename":"image_31102025_08_47_13_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5688efceeee37bf99c294e48bbbd3277.jpg","text":"TemporaryFile(/tmp/multipartBody8965825653342454785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391843247,"filename":"image_31102025_08_47_06_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823945","file1":"1396823943","file0":"1396823939","file4":"1396823948","file5":"1396823950","file3":"1396823946"},"map_files_photo_id_array":[{"photo_id":"1396823950","filename":"file5"},{"photo_id":"1396823945","filename":"file2"},{"photo_id":"1396823948","filename":"file4"},{"photo_id":"1396823943","filename":"file1"},{"photo_id":"1396823939","filename":"file0"},{"photo_id":"1396823946","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396823950":["hashtag1","hashtag2"]},{"1396823943":["hashtag1","hashtag2"]},{"1396823946":["hashtag1","hashtag2"]},{"1396823948":["hashtag1","hashtag2"]},{"1396823945":["hashtag1","hashtag2"]},{"1396823939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396823950, 1396823943, 1396823946, 1396823948, 1396823945, 1396823939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.448622941970825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:50:22.396912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_34_9654.jpg', '/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_45_10625.jpg', '/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_54_9618.jpg', '/home/pi/Desktop/images/29112025/05/38/image_29112025_05_39_04_9664.jpg', '/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_24_9906.jpg', '/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_34_9654.jpg
/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_45_10625.jpg
/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_54_9618.jpg
/home/pi/Desktop/images/29112025/05/38/image_29112025_05_39_04_9664.jpg
/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_24_9906.jpg
/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_34_9624.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6067769527435303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:50:32.366038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_25_2666.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_28_2791.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_31_3568.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_34_2604.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_36_2705.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_40_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_25_2666.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_28_2791.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_31_3568.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_34_2604.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_36_2705.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_40_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":["1396823971","1396823967","1396823982","1396823990","1396823963","1396823989"],"photo_ids_order":["1396823963","1396823967","1396823971","1396823982","1396823989","1396823990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18c225ee6f30d8cbdda4c42d366968f3.jpg","text":"TemporaryFile(/tmp/multipartBody1863883520679727172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391894650,"filename":"image_25112025_17_47_31_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/481daba568539c0fbcd3529580b3c317.jpg","text":"TemporaryFile(/tmp/multipartBody6398191925950257719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391894650,"filename":"image_25112025_17_47_28_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1774c0e2f6c19116a62e983dac627e27.jpg","text":"TemporaryFile(/tmp/multipartBody8016451629231538457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391894650,"filename":"image_25112025_17_47_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/11/29/e72a8136e40c41522dbd760196351072.jpg","text":"TemporaryFile(/tmp/multipartBody7208212353038793909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391894650,"filename":"image_25112025_17_47_40_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65f642834aa15d8a31f19ccfcc3f1910.jpg","text":"TemporaryFile(/tmp/multipartBody2283390999529229872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391894650,"filename":"image_25112025_17_47_25_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a039a3bf8fe63caf1ce4deb6ad6d4908.jpg","text":"TemporaryFile(/tmp/multipartBody4914365617917976820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391894650,"filename":"image_25112025_17_47_36_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823971","file1":"1396823967","file0":"1396823963","file4":"1396823989","file5":"1396823990","file3":"1396823982"},"map_files_photo_id_array":[{"photo_id":"1396823990","filename":"file5"},{"photo_id":"1396823971","filename":"file2"},{"photo_id":"1396823989","filename":"file4"},{"photo_id":"1396823967","filename":"file1"},{"photo_id":"1396823963","filename":"file0"},{"photo_id":"1396823982","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396823971":["hashtag1","hashtag2"]},{"1396823967":["hashtag1","hashtag2"]},{"1396823982":["hashtag1","hashtag2"]},{"1396823990":["hashtag1","hashtag2"]},{"1396823963":["hashtag1","hashtag2"]},{"1396823989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396823971, 1396823967, 1396823982, 1396823990, 1396823963, 1396823989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.832300901412964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:51:12.548052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_43_2632.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_46_3587.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_49_2684.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_51_2607.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_55_3695.jpg', '/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_58_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_43_2632.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_46_3587.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_49_2684.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_51_2607.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_55_3695.jpg
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_47_58_2701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396823991","1396823996","1396823999","1396823993","1396824002","1396824005"],"photo_ids_order":["1396823991","1396823993","1396823996","1396823999","1396824002","1396824005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3796bb0347ef8526e7b4106c47ddd37.jpg","text":"TemporaryFile(/tmp/multipartBody2265840806536110216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391934687,"filename":"image_25112025_17_47_43_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fad65c9590b07b7708ef2f05b0de89f0.jpg","text":"TemporaryFile(/tmp/multipartBody1545653054693038826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391934687,"filename":"image_25112025_17_47_49_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d5ac184b681d17511755cc50c05cf44.jpg","text":"TemporaryFile(/tmp/multipartBody3853339592916441984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391934687,"filename":"image_25112025_17_47_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/11/29/3372b051723c771490b2a0f961a95cfb.jpg","text":"TemporaryFile(/tmp/multipartBody6301022288659478870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391934687,"filename":"image_25112025_17_47_46_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68adcded5df1e37e7b8827b822420a80.jpg","text":"TemporaryFile(/tmp/multipartBody6614206014744720803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391934687,"filename":"image_25112025_17_47_55_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d056f7a3a897640bbd3240ca2acab9d.jpg","text":"TemporaryFile(/tmp/multipartBody236733896017174492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391934687,"filename":"image_25112025_17_47_58_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396823996","file1":"1396823993","file0":"1396823991","file4":"1396824002","file5":"1396824005","file3":"1396823999"},"map_files_photo_id_array":[{"photo_id":"1396824005","filename":"file5"},{"photo_id":"1396823996","filename":"file2"},{"photo_id":"1396824002","filename":"file4"},{"photo_id":"1396823993","filename":"file1"},{"photo_id":"1396823991","filename":"file0"},{"photo_id":"1396823999","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396823991":["hashtag1","hashtag2"]},{"1396823996":["hashtag1","hashtag2"]},{"1396823999":["hashtag1","hashtag2"]},{"1396823993":["hashtag1","hashtag2"]},{"1396824002":["hashtag1","hashtag2"]},{"1396824005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396823991, 1396823996, 1396823999, 1396823993, 1396824002, 1396824005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.492103099823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:52:03.137297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_34_9654.jpg', '/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_45_10625.jpg', '/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_54_9618.jpg', '/home/pi/Desktop/images/29112025/05/38/image_29112025_05_39_04_9664.jpg', '/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_24_9906.jpg', '/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_34_9654.jpg
/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_45_10625.jpg
/home/pi/Desktop/images/29112025/05/38/image_29112025_05_38_54_9618.jpg
/home/pi/Desktop/images/29112025/05/38/image_29112025_05_39_04_9664.jpg
/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_24_9906.jpg
/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_34_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":["1396824013","1396824016","1396824019","1396824012","1396824014","1396824011"],"photo_ids_order":["1396824011","1396824012","1396824013","1396824014","1396824016","1396824019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b81b16ccef5bc0dfd7dd049561feeb1.jpg","text":"TemporaryFile(/tmp/multipartBody1219210474676981097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391983889,"filename":"image_29112025_05_38_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/362cc43689d2152494c24fa4f3bd629d.jpg","text":"TemporaryFile(/tmp/multipartBody5677582699291882353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391983889,"filename":"image_29112025_05_39_24_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcc1afbc9ed1825564773bef9577506a.jpg","text":"TemporaryFile(/tmp/multipartBody6624079985010515551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391983889,"filename":"image_29112025_05_39_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/11/29/2c4a95049aac71d72a37437835b180b8.jpg","text":"TemporaryFile(/tmp/multipartBody8300484869755300469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391983889,"filename":"image_29112025_05_38_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f96e079493a6435bf5fea1197528301.jpg","text":"TemporaryFile(/tmp/multipartBody2359844214455059729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391983889,"filename":"image_29112025_05_39_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef1fcb3a0660b9e32ce3b5e5656f297a.jpg","text":"TemporaryFile(/tmp/multipartBody3404287227418337005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764391983889,"filename":"image_29112025_05_38_34_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824013","file1":"1396824012","file0":"1396824011","file4":"1396824016","file5":"1396824019","file3":"1396824014"},"map_files_photo_id_array":[{"photo_id":"1396824019","filename":"file5"},{"photo_id":"1396824013","filename":"file2"},{"photo_id":"1396824016","filename":"file4"},{"photo_id":"1396824012","filename":"file1"},{"photo_id":"1396824011","filename":"file0"},{"photo_id":"1396824014","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396824013":["hashtag1","hashtag2"]},{"1396824016":["hashtag1","hashtag2"]},{"1396824019":["hashtag1","hashtag2"]},{"1396824012":["hashtag1","hashtag2"]},{"1396824014":["hashtag1","hashtag2"]},{"1396824011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396824013, 1396824016, 1396824019, 1396824012, 1396824014, 1396824011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.019505977630615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:52:42.719770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_24_2504.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_27_2719.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_31_3587.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_33_2633.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_37_3698.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_39_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_24_2504.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_27_2719.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_31_3587.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_33_2633.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_37_3698.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_39_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396824031","1396824034","1396824028","1396824030","1396824033","1396824032"],"photo_ids_order":["1396824028","1396824030","1396824031","1396824032","1396824033","1396824034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d06562b1c44773a23455b8873f182a53.jpg","text":"TemporaryFile(/tmp/multipartBody1699245376770288915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392023762,"filename":"image_31102025_08_47_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/11/29/6547e141eb8f8168428ad5602325b688.jpg","text":"TemporaryFile(/tmp/multipartBody7558020577261822266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392023762,"filename":"image_31102025_08_47_39_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c417f5ce20bd3b4bd6ab17747413055.jpg","text":"TemporaryFile(/tmp/multipartBody874114555330536225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392023762,"filename":"image_31102025_08_47_24_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22eb2f9919065afe94d89397a02cc7ce.jpg","text":"TemporaryFile(/tmp/multipartBody8872195805304831472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392023762,"filename":"image_31102025_08_47_27_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/929ba33bbbc247c4c323a24eba3aa14e.jpg","text":"TemporaryFile(/tmp/multipartBody6960478759800922373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392023762,"filename":"image_31102025_08_47_37_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a0a2472e21252dbf9b80e0bd8ed3dcd.jpg","text":"TemporaryFile(/tmp/multipartBody280655520655272486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392023762,"filename":"image_31102025_08_47_33_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824031","file1":"1396824030","file0":"1396824028","file4":"1396824033","file5":"1396824034","file3":"1396824032"},"map_files_photo_id_array":[{"photo_id":"1396824034","filename":"file5"},{"photo_id":"1396824031","filename":"file2"},{"photo_id":"1396824033","filename":"file4"},{"photo_id":"1396824030","filename":"file1"},{"photo_id":"1396824028","filename":"file0"},{"photo_id":"1396824032","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396824031":["hashtag1","hashtag2"]},{"1396824034":["hashtag1","hashtag2"]},{"1396824028":["hashtag1","hashtag2"]},{"1396824030":["hashtag1","hashtag2"]},{"1396824033":["hashtag1","hashtag2"]},{"1396824032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396824031, 1396824034, 1396824028, 1396824030, 1396824033, 1396824032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.14207363128662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:53:31.869652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/47/image_25112025_17_48_00_2533.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_04_3602.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_07_2738.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_10_3578.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_13_2604.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_16_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/47/image_25112025_17_48_00_2533.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_04_3602.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_07_2738.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_10_3578.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_13_2604.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_16_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":["1396824067","1396824066","1396824042","1396824065","1396824047","1396824044"],"photo_ids_order":["1396824042","1396824044","1396824047","1396824065","1396824066","1396824067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e399092ece422610a6151c6b91359c6.jpg","text":"TemporaryFile(/tmp/multipartBody3360450591668136794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392074119,"filename":"image_25112025_17_48_16_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a80fca405001ef570dab3ae1db7ee09.jpg","text":"TemporaryFile(/tmp/multipartBody12114995498971027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392074119,"filename":"image_25112025_17_48_13_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9067df8f8d926561498a9ebd66bdb7b.jpg","text":"TemporaryFile(/tmp/multipartBody4706407608335708242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392074119,"filename":"image_25112025_17_48_00_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba35297f482a89b38886d0a8bc30a311.jpg","text":"TemporaryFile(/tmp/multipartBody3873156896353308264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392074119,"filename":"image_25112025_17_48_10_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e9ce2e6f831be0552357814026a3dad.jpg","text":"TemporaryFile(/tmp/multipartBody6167826139632443361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392074119,"filename":"image_25112025_17_48_07_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/085774165a1d25831b3191a78b5b3113.jpg","text":"TemporaryFile(/tmp/multipartBody5244467182959284095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392074119,"filename":"image_25112025_17_48_04_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824047","file1":"1396824044","file0":"1396824042","file4":"1396824066","file5":"1396824067","file3":"1396824065"},"map_files_photo_id_array":[{"photo_id":"1396824067","filename":"file5"},{"photo_id":"1396824047","filename":"file2"},{"photo_id":"1396824066","filename":"file4"},{"photo_id":"1396824044","filename":"file1"},{"photo_id":"1396824042","filename":"file0"},{"photo_id":"1396824065","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396824067":["hashtag1","hashtag2"]},{"1396824066":["hashtag1","hashtag2"]},{"1396824042":["hashtag1","hashtag2"]},{"1396824065":["hashtag1","hashtag2"]},{"1396824047":["hashtag1","hashtag2"]},{"1396824044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396824067, 1396824066, 1396824042, 1396824065, 1396824047, 1396824044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79782962799072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 05:54:12.196517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_18_2686.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_22_3841.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_25_2609.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_27_2553.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_31_3580.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_33_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_18_2686.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_22_3841.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_25_2609.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_27_2553.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_31_3580.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_33_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":["1396824081","1396824075","1396824078","1396824071","1396824068","1396824082"],"photo_ids_order":["1396824068","1396824071","1396824075","1396824078","1396824081","1396824082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0e48ef08f855d48ec977b45e07c2119.jpg","text":"TemporaryFile(/tmp/multipartBody9032227996402963415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392114271,"filename":"image_25112025_17_48_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/11/29/acf15dc02cacc1c8e6d791346a94520b.jpg","text":"TemporaryFile(/tmp/multipartBody3601798228756382671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392114271,"filename":"image_25112025_17_48_25_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d178c7e8797d85b0b14414a5e2eca04.jpg","text":"TemporaryFile(/tmp/multipartBody4462868387340402674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392114271,"filename":"image_25112025_17_48_27_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54263394c7578f4bbf3ae3e5e73faf91.jpg","text":"TemporaryFile(/tmp/multipartBody1348661396498920799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392114271,"filename":"image_25112025_17_48_22_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c11842b6af88fadd80dc47b0881a3b2.jpg","text":"TemporaryFile(/tmp/multipartBody4262585166481749771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392114271,"filename":"image_25112025_17_48_18_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e4873bd7ad1efabf3a8ef38fc808face.jpg","text":"TemporaryFile(/tmp/multipartBody5280720792352403984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392114271,"filename":"image_25112025_17_48_33_2547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824075","file1":"1396824071","file0":"1396824068","file4":"1396824081","file5":"1396824082","file3":"1396824078"},"map_files_photo_id_array":[{"photo_id":"1396824082","filename":"file5"},{"photo_id":"1396824075","filename":"file2"},{"photo_id":"1396824081","filename":"file4"},{"photo_id":"1396824071","filename":"file1"},{"photo_id":"1396824068","filename":"file0"},{"photo_id":"1396824078","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396824081":["hashtag1","hashtag2"]},{"1396824075":["hashtag1","hashtag2"]},{"1396824078":["hashtag1","hashtag2"]},{"1396824071":["hashtag1","hashtag2"]},{"1396824068":["hashtag1","hashtag2"]},{"1396824082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396824081, 1396824075, 1396824078, 1396824071, 1396824068, 1396824082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.784597635269165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:55:03.103478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_45_10591.jpg', '/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_54_9553.jpg', '/home/pi/Desktop/images/29112025/05/39/image_29112025_05_40_04_9848.jpg', '/home/pi/Desktop/images/29112025/05/40/image_29112025_05_40_14_9691.jpg', '/home/pi/Desktop/images/29112025/05/40/image_29112025_05_40_24_10542.jpg', '/home/pi/Desktop/images/29112025/05/40/image_29112025_05_40_34_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_45_10591.jpg
/home/pi/Desktop/images/29112025/05/39/image_29112025_05_39_54_9553.jpg
/home/pi/Desktop/images/29112025/05/39/image_29112025_05_40_04_9848.jpg
/home/pi/Desktop/images/29112025/05/40/image_29112025_05_40_14_9691.jpg
/home/pi/Desktop/images/29112025/05/40/image_29112025_05_40_24_10542.jpg
/home/pi/Desktop/images/29112025/05/40/image_29112025_05_40_34_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396824087","1396824095","1396824086","1396824089","1396824088","1396824091"],"photo_ids_order":["1396824086","1396824087","1396824088","1396824089","1396824091","1396824095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a77a9d885ac904929ba3c12a0e3da2e8.jpg","text":"TemporaryFile(/tmp/multipartBody3689300937422063547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392163908,"filename":"image_29112025_05_39_54_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08b329377ced82bbd7275e2884390366.jpg","text":"TemporaryFile(/tmp/multipartBody7194422008633242756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392163908,"filename":"image_29112025_05_40_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/11/29/2a6912ca1355b108d3a4ef02fa30f1a4.jpg","text":"TemporaryFile(/tmp/multipartBody5509791718441604088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392163908,"filename":"image_29112025_05_39_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/11/29/2a182e7776ee295ed39e536c32fa6f05.jpg","text":"TemporaryFile(/tmp/multipartBody7805474625437736428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392163908,"filename":"image_29112025_05_40_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/117354815cd6d872ab5540dbff0de8a5.jpg","text":"TemporaryFile(/tmp/multipartBody7675708959898541781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392163908,"filename":"image_29112025_05_40_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/11/29/a132f933b26438b6be90387dbdaba164.jpg","text":"TemporaryFile(/tmp/multipartBody2088184186439465570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392163908,"filename":"image_29112025_05_40_24_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824088","file1":"1396824087","file0":"1396824086","file4":"1396824091","file5":"1396824095","file3":"1396824089"},"map_files_photo_id_array":[{"photo_id":"1396824095","filename":"file5"},{"photo_id":"1396824088","filename":"file2"},{"photo_id":"1396824091","filename":"file4"},{"photo_id":"1396824087","filename":"file1"},{"photo_id":"1396824086","filename":"file0"},{"photo_id":"1396824089","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396824087":["hashtag1","hashtag2"]},{"1396824095":["hashtag1","hashtag2"]},{"1396824086":["hashtag1","hashtag2"]},{"1396824089":["hashtag1","hashtag2"]},{"1396824088":["hashtag1","hashtag2"]},{"1396824091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396824087, 1396824095, 1396824086, 1396824089, 1396824088, 1396824091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98259449005127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:55:42.396472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_42_2741.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_45_2977.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_49_3545.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_51_2797.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_54_2578.jpg', '/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_58_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_42_2741.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_45_2977.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_49_3545.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_51_2797.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_54_2578.jpg
/home/pi/Desktop/images/31102025/08/47/image_31102025_08_47_58_3665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396824109","1396824111","1396824108","1396824110","1396824104","1396824107"],"photo_ids_order":["1396824104","1396824107","1396824108","1396824109","1396824110","1396824111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a42441cea848b5d84d8b91449327bae.jpg","text":"TemporaryFile(/tmp/multipartBody842270988647687221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392203486,"filename":"image_31102025_08_47_51_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/689deb140df19edba3ab8619c8f6f2a7.jpg","text":"TemporaryFile(/tmp/multipartBody2831671219114409098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392203486,"filename":"image_31102025_08_47_58_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49f016f8106fd54f0c25f1acfd70b519.jpg","text":"TemporaryFile(/tmp/multipartBody5822846315298083256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392203486,"filename":"image_31102025_08_47_49_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84fe19e5c5072746d275cdd7933e1e4c.jpg","text":"TemporaryFile(/tmp/multipartBody6564086980252446731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392203486,"filename":"image_31102025_08_47_54_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec11c5cfed502865f1980715bb1981b6.jpg","text":"TemporaryFile(/tmp/multipartBody3334698752771540127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392203486,"filename":"image_31102025_08_47_42_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/696f90169de547a111ad6300bd5aafbf.jpg","text":"TemporaryFile(/tmp/multipartBody8115324250848960412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392203486,"filename":"image_31102025_08_47_45_2977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824108","file1":"1396824107","file0":"1396824104","file4":"1396824110","file5":"1396824111","file3":"1396824109"},"map_files_photo_id_array":[{"photo_id":"1396824111","filename":"file5"},{"photo_id":"1396824108","filename":"file2"},{"photo_id":"1396824110","filename":"file4"},{"photo_id":"1396824107","filename":"file1"},{"photo_id":"1396824104","filename":"file0"},{"photo_id":"1396824109","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396824109":["hashtag1","hashtag2"]},{"1396824111":["hashtag1","hashtag2"]},{"1396824108":["hashtag1","hashtag2"]},{"1396824110":["hashtag1","hashtag2"]},{"1396824104":["hashtag1","hashtag2"]},{"1396824107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396824109, 1396824111, 1396824108, 1396824110, 1396824104, 1396824107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.726988792419434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 05:56:22.614494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/40/image_29112025_05_40_44_9753.jpg', '/home/pi/Desktop/images/29112025/05/40/image_29112025_05_40_54_10666.jpg', '/home/pi/Desktop/images/29112025/05/40/image_29112025_05_41_04_9560.jpg', '/home/pi/Desktop/images/29112025/05/41/image_29112025_05_41_15_10643.jpg', '/home/pi/Desktop/images/29112025/05/41/image_29112025_05_41_24_9738.jpg', '/home/pi/Desktop/images/29112025/05/41/image_29112025_05_41_34_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/40/image_29112025_05_40_44_9753.jpg
/home/pi/Desktop/images/29112025/05/40/image_29112025_05_40_54_10666.jpg
/home/pi/Desktop/images/29112025/05/40/image_29112025_05_41_04_9560.jpg
/home/pi/Desktop/images/29112025/05/41/image_29112025_05_41_15_10643.jpg
/home/pi/Desktop/images/29112025/05/41/image_29112025_05_41_24_9738.jpg
/home/pi/Desktop/images/29112025/05/41/image_29112025_05_41_34_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396824130","1396824118","1396824126","1396824120","1396824114","1396824122"],"photo_ids_order":["1396824114","1396824118","1396824120","1396824122","1396824126","1396824130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/555da891159f2db7c5e69f70e16dc8b0.jpg","text":"TemporaryFile(/tmp/multipartBody436531412037660460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392243314,"filename":"image_29112025_05_41_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48a9b59e0d122be832ae0c7e074d7aab.jpg","text":"TemporaryFile(/tmp/multipartBody4650894218317766496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392243314,"filename":"image_29112025_05_40_54_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/216601bb993f45bcfaabde4b2d209406.jpg","text":"TemporaryFile(/tmp/multipartBody895536227189573823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392243314,"filename":"image_29112025_05_41_24_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11b1882a6054de457b0e13137d5f348e.jpg","text":"TemporaryFile(/tmp/multipartBody6015360298089547677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392243314,"filename":"image_29112025_05_41_04_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d013ac78cf4efab010773966e7112076.jpg","text":"TemporaryFile(/tmp/multipartBody1854126592848674269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392243314,"filename":"image_29112025_05_40_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/11/29/497de6346130c5ad5df67f204e5970e0.jpg","text":"TemporaryFile(/tmp/multipartBody8008905988827412136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392243314,"filename":"image_29112025_05_41_15_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824120","file1":"1396824118","file0":"1396824114","file4":"1396824126","file5":"1396824130","file3":"1396824122"},"map_files_photo_id_array":[{"photo_id":"1396824130","filename":"file5"},{"photo_id":"1396824120","filename":"file2"},{"photo_id":"1396824126","filename":"file4"},{"photo_id":"1396824118","filename":"file1"},{"photo_id":"1396824114","filename":"file0"},{"photo_id":"1396824122","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396824130":["hashtag1","hashtag2"]},{"1396824118":["hashtag1","hashtag2"]},{"1396824126":["hashtag1","hashtag2"]},{"1396824120":["hashtag1","hashtag2"]},{"1396824114":["hashtag1","hashtag2"]},{"1396824122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396824130, 1396824118, 1396824126, 1396824120, 1396824114, 1396824122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.534820556640625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:57:02.534528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/41/image_29112025_05_41_44_9739.jpg', '/home/pi/Desktop/images/29112025/05/41/image_29112025_05_41_55_10800.jpg', '/home/pi/Desktop/images/29112025/05/41/image_29112025_05_42_04_9605.jpg', '/home/pi/Desktop/images/29112025/05/42/image_29112025_05_42_14_9658.jpg', '/home/pi/Desktop/images/29112025/05/42/image_29112025_05_42_25_10672.jpg', '/home/pi/Desktop/images/29112025/05/42/image_29112025_05_42_34_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/41/image_29112025_05_41_44_9739.jpg
/home/pi/Desktop/images/29112025/05/41/image_29112025_05_41_55_10800.jpg
/home/pi/Desktop/images/29112025/05/41/image_29112025_05_42_04_9605.jpg
/home/pi/Desktop/images/29112025/05/42/image_29112025_05_42_14_9658.jpg
/home/pi/Desktop/images/29112025/05/42/image_29112025_05_42_25_10672.jpg
/home/pi/Desktop/images/29112025/05/42/image_29112025_05_42_34_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396824151","1396824154","1396824156","1396824150","1396824152","1396824149"],"photo_ids_order":["1396824149","1396824150","1396824151","1396824152","1396824154","1396824156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a39c70c2ddf1d1e2ddcb8b7791c45440.jpg","text":"TemporaryFile(/tmp/multipartBody3856258817924717745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392283321,"filename":"image_29112025_05_42_04_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c775b72da3a1f8511a2ea9aa10062fb.jpg","text":"TemporaryFile(/tmp/multipartBody8086908316110411694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392283321,"filename":"image_29112025_05_42_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4cddbea9b8e8b3e76bd7c2c28768c32.jpg","text":"TemporaryFile(/tmp/multipartBody5711964140427358743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392283321,"filename":"image_29112025_05_42_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/11/29/56ba2afa573af95a4e2c7f5eda30881b.jpg","text":"TemporaryFile(/tmp/multipartBody3381878011072344090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392283321,"filename":"image_29112025_05_41_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/11/29/623f5cbbfeeb1e228778a821cd478b9b.jpg","text":"TemporaryFile(/tmp/multipartBody1339295864298394281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392283321,"filename":"image_29112025_05_42_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/11/29/46806128382aad8bd744c0041776ff38.jpg","text":"TemporaryFile(/tmp/multipartBody1436805650452177276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392283321,"filename":"image_29112025_05_41_44_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824151","file1":"1396824150","file0":"1396824149","file4":"1396824154","file5":"1396824156","file3":"1396824152"},"map_files_photo_id_array":[{"photo_id":"1396824156","filename":"file5"},{"photo_id":"1396824151","filename":"file2"},{"photo_id":"1396824154","filename":"file4"},{"photo_id":"1396824150","filename":"file1"},{"photo_id":"1396824149","filename":"file0"},{"photo_id":"1396824152","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396824151":["hashtag1","hashtag2"]},{"1396824154":["hashtag1","hashtag2"]},{"1396824156":["hashtag1","hashtag2"]},{"1396824150":["hashtag1","hashtag2"]},{"1396824152":["hashtag1","hashtag2"]},{"1396824149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396824151, 1396824154, 1396824156, 1396824150, 1396824152, 1396824149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.980406045913696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:57:41.899939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/47/image_31102025_08_48_00_2489.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_03_2891.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_07_3647.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_10_2743.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_12_2660.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_15_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/08/47/image_31102025_08_48_00_2489.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_03_2891.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_07_3647.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_10_2743.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_12_2660.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_15_2698.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396824171","1396824165","1396824168","1396824177","1396824173","1396824175"],"photo_ids_order":["1396824165","1396824168","1396824171","1396824173","1396824175","1396824177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4326436cefdc67862ed8b63b1cb7a4d6.jpg","text":"TemporaryFile(/tmp/multipartBody5724877703309222074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392323024,"filename":"image_31102025_08_48_07_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b41f7faadae1296dedd3995976a7b45c.jpg","text":"TemporaryFile(/tmp/multipartBody8889973911429151282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392323024,"filename":"image_31102025_08_48_00_2489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/241474b18bc08a28a6e01a34e5a5da09.jpg","text":"TemporaryFile(/tmp/multipartBody1007028396610532005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392323024,"filename":"image_31102025_08_48_03_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c1eb889242809414084f01a36185097.jpg","text":"TemporaryFile(/tmp/multipartBody3801256620875698570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392323024,"filename":"image_31102025_08_48_15_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95a722ded0e1a7ac264d4afc30ac3686.jpg","text":"TemporaryFile(/tmp/multipartBody1065682332542236701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392323024,"filename":"image_31102025_08_48_10_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31abe3c27030224d53c961a26d55891c.jpg","text":"TemporaryFile(/tmp/multipartBody2513388402082099177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392323024,"filename":"image_31102025_08_48_12_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824171","file1":"1396824168","file0":"1396824165","file4":"1396824175","file5":"1396824177","file3":"1396824173"},"map_files_photo_id_array":[{"photo_id":"1396824177","filename":"file5"},{"photo_id":"1396824171","filename":"file2"},{"photo_id":"1396824175","filename":"file4"},{"photo_id":"1396824168","filename":"file1"},{"photo_id":"1396824165","filename":"file0"},{"photo_id":"1396824173","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396824171":["hashtag1","hashtag2"]},{"1396824165":["hashtag1","hashtag2"]},{"1396824168":["hashtag1","hashtag2"]},{"1396824177":["hashtag1","hashtag2"]},{"1396824173":["hashtag1","hashtag2"]},{"1396824175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396824171, 1396824165, 1396824168, 1396824177, 1396824173, 1396824175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.16281270980835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 05:59:03.324875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/42/image_29112025_05_42_44_9671.jpg', '/home/pi/Desktop/images/29112025/05/42/image_29112025_05_42_54_9830.jpg', '/home/pi/Desktop/images/29112025/05/42/image_29112025_05_43_04_10394.jpg', '/home/pi/Desktop/images/29112025/05/43/image_29112025_05_43_14_9598.jpg', '/home/pi/Desktop/images/29112025/05/43/image_29112025_05_43_24_10188.jpg', '/home/pi/Desktop/images/29112025/05/43/image_29112025_05_43_35_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/42/image_29112025_05_42_44_9671.jpg
/home/pi/Desktop/images/29112025/05/42/image_29112025_05_42_54_9830.jpg
/home/pi/Desktop/images/29112025/05/42/image_29112025_05_43_04_10394.jpg
/home/pi/Desktop/images/29112025/05/43/image_29112025_05_43_14_9598.jpg
/home/pi/Desktop/images/29112025/05/43/image_29112025_05_43_24_10188.jpg
/home/pi/Desktop/images/29112025/05/43/image_29112025_05_43_35_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":["1396824183","1396824195","1396824180","1396824193","1396824187","1396824190"],"photo_ids_order":["1396824180","1396824183","1396824187","1396824190","1396824193","1396824195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60419ba2174efc0c2f487fe7ad875279.jpg","text":"TemporaryFile(/tmp/multipartBody7333644513742346561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392404309,"filename":"image_29112025_05_42_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/11/29/508f20300d599c0d954932a89d96db48.jpg","text":"TemporaryFile(/tmp/multipartBody2833688110478767396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392404309,"filename":"image_29112025_05_43_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/11/29/228d29581e1cb02f8cbc236dac06e569.jpg","text":"TemporaryFile(/tmp/multipartBody2955608938053617388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392404309,"filename":"image_29112025_05_42_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/11/29/12db7c2421a987132a24eb8654ceb7da.jpg","text":"TemporaryFile(/tmp/multipartBody3571472794587983770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392404309,"filename":"image_29112025_05_43_24_10188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dab847d01c3f393e6a20578514f8c9b7.jpg","text":"TemporaryFile(/tmp/multipartBody4376961170200464472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392404309,"filename":"image_29112025_05_43_04_10394.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03591c066fa82108fbee2781069201c4.jpg","text":"TemporaryFile(/tmp/multipartBody3032697152092137445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392404309,"filename":"image_29112025_05_43_14_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824187","file1":"1396824183","file0":"1396824180","file4":"1396824193","file5":"1396824195","file3":"1396824190"},"map_files_photo_id_array":[{"photo_id":"1396824195","filename":"file5"},{"photo_id":"1396824187","filename":"file2"},{"photo_id":"1396824193","filename":"file4"},{"photo_id":"1396824183","filename":"file1"},{"photo_id":"1396824180","filename":"file0"},{"photo_id":"1396824190","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396824183":["hashtag1","hashtag2"]},{"1396824195":["hashtag1","hashtag2"]},{"1396824180":["hashtag1","hashtag2"]},{"1396824193":["hashtag1","hashtag2"]},{"1396824187":["hashtag1","hashtag2"]},{"1396824190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396824183, 1396824195, 1396824180, 1396824193, 1396824187, 1396824190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.163952350616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 05:59:42.402132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_19_3672.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_21_2678.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_24_2632.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_28_3681.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_30_2644.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_33_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/08/48/image_31102025_08_48_19_3672.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_21_2678.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_24_2632.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_28_3681.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_30_2644.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_33_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":["1396824223","1396824232","1396824229","1396824202","1396824227","1396824200"],"photo_ids_order":["1396824200","1396824202","1396824223","1396824227","1396824229","1396824232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5bdfe8c034016024c02cf1bc6b5ee143.jpg","text":"TemporaryFile(/tmp/multipartBody7959150303995452258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392443449,"filename":"image_31102025_08_48_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/11/29/3a5fe23872da45ba67f217e81211ddbc.jpg","text":"TemporaryFile(/tmp/multipartBody3979277859367762313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392443449,"filename":"image_31102025_08_48_33_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bebe5520cd933c2e3baa3b546567bba.jpg","text":"TemporaryFile(/tmp/multipartBody5771023329326431122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392443449,"filename":"image_31102025_08_48_30_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9364234b94a1965069276190423f85cb.jpg","text":"TemporaryFile(/tmp/multipartBody6047794751330432391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392443449,"filename":"image_31102025_08_48_21_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/266b145a585a4c50693e6775f8d41391.jpg","text":"TemporaryFile(/tmp/multipartBody642076303930635063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392443449,"filename":"image_31102025_08_48_28_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a55b33aa2f18090e1c6a0b3ff0c4ba83.jpg","text":"TemporaryFile(/tmp/multipartBody3867486177710907882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392443449,"filename":"image_31102025_08_48_19_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824223","file1":"1396824202","file0":"1396824200","file4":"1396824229","file5":"1396824232","file3":"1396824227"},"map_files_photo_id_array":[{"photo_id":"1396824232","filename":"file5"},{"photo_id":"1396824223","filename":"file2"},{"photo_id":"1396824229","filename":"file4"},{"photo_id":"1396824202","filename":"file1"},{"photo_id":"1396824200","filename":"file0"},{"photo_id":"1396824227","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396824223":["hashtag1","hashtag2"]},{"1396824232":["hashtag1","hashtag2"]},{"1396824229":["hashtag1","hashtag2"]},{"1396824202":["hashtag1","hashtag2"]},{"1396824227":["hashtag1","hashtag2"]},{"1396824200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396824223, 1396824232, 1396824229, 1396824202, 1396824227, 1396824200)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.15437412261963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 06:00:32.669821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_37_3780.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_40_2702.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_43_2636.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_46_3566.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_49_2652.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_51_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_37_3780.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_40_2702.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_43_2636.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_46_3566.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_49_2652.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_51_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":["1396824288","1396824246","1396824249","1396824240","1396824243","1396824323"],"photo_ids_order":["1396824240","1396824243","1396824246","1396824249","1396824288","1396824323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/614e3ab743696c7fdeb7f69815bf7631.jpg","text":"TemporaryFile(/tmp/multipartBody4400677723109497958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392494877,"filename":"image_25112025_17_48_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/11/29/5b834a9c951de3cdcb719578a834c7bf.jpg","text":"TemporaryFile(/tmp/multipartBody5788054915350956325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392494877,"filename":"image_25112025_17_48_43_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27ad333aea679f12b7713d688ea13b21.jpg","text":"TemporaryFile(/tmp/multipartBody2528298054928845553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392494877,"filename":"image_25112025_17_48_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/11/29/45a3148cf2fbc09bbd2de6ca60ff658e.jpg","text":"TemporaryFile(/tmp/multipartBody7028191845399854684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392494877,"filename":"image_25112025_17_48_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/11/29/a9a5a1d26b94ed126efca0cc6728c2c4.jpg","text":"TemporaryFile(/tmp/multipartBody8537904992148318093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392494877,"filename":"image_25112025_17_48_40_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6f53ee723cacd459a3e2604e5a6a7c5.jpg","text":"TemporaryFile(/tmp/multipartBody5496137005774305739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392494877,"filename":"image_25112025_17_48_51_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824246","file1":"1396824243","file0":"1396824240","file4":"1396824288","file5":"1396824323","file3":"1396824249"},"map_files_photo_id_array":[{"photo_id":"1396824323","filename":"file5"},{"photo_id":"1396824246","filename":"file2"},{"photo_id":"1396824288","filename":"file4"},{"photo_id":"1396824243","filename":"file1"},{"photo_id":"1396824240","filename":"file0"},{"photo_id":"1396824249","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396824288":["hashtag1","hashtag2"]},{"1396824246":["hashtag1","hashtag2"]},{"1396824249":["hashtag1","hashtag2"]},{"1396824240":["hashtag1","hashtag2"]},{"1396824243":["hashtag1","hashtag2"]},{"1396824323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396824288, 1396824246, 1396824249, 1396824240, 1396824243, 1396824323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12641739845276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 06:01:12.808891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_55_3608.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_58_2506.jpg', '/home/pi/Desktop/images/25112025/17/48/image_25112025_17_49_00_2730.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_04_3645.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_07_2724.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_09_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_55_3608.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_48_58_2506.jpg
/home/pi/Desktop/images/25112025/17/48/image_25112025_17_49_00_2730.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_04_3645.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_07_2724.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_09_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396824505","1396824543","1396824465","1396824630","1396824671","1396824587"],"photo_ids_order":["1396824465","1396824505","1396824543","1396824587","1396824630","1396824671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c329a38bc3d5dd529855215d7150b6d.jpg","text":"TemporaryFile(/tmp/multipartBody922111027936072273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392534902,"filename":"image_25112025_17_48_58_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56f595230ea1373ccb5709bdbc4f51b0.jpg","text":"TemporaryFile(/tmp/multipartBody6532297079836205951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392534902,"filename":"image_25112025_17_49_00_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ab6e05761f5c1b2801d68ccc103c89c.jpg","text":"TemporaryFile(/tmp/multipartBody5161269378853354104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392534902,"filename":"image_25112025_17_48_55_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f5bcaf67d50c244095c59d7cc2c37ed.jpg","text":"TemporaryFile(/tmp/multipartBody666451910873104869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392534902,"filename":"image_25112025_17_49_07_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/23531ef27a7307ae4081f8d6afae7166.jpg","text":"TemporaryFile(/tmp/multipartBody8313958341961369389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392534902,"filename":"image_25112025_17_49_09_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4cba945ca1611e4c69edb967a0cd2b8.jpg","text":"TemporaryFile(/tmp/multipartBody8959205083726761549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392534902,"filename":"image_25112025_17_49_04_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824543","file1":"1396824505","file0":"1396824465","file4":"1396824630","file5":"1396824671","file3":"1396824587"},"map_files_photo_id_array":[{"photo_id":"1396824671","filename":"file5"},{"photo_id":"1396824543","filename":"file2"},{"photo_id":"1396824630","filename":"file4"},{"photo_id":"1396824505","filename":"file1"},{"photo_id":"1396824465","filename":"file0"},{"photo_id":"1396824587","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396824505":["hashtag1","hashtag2"]},{"1396824543":["hashtag1","hashtag2"]},{"1396824465":["hashtag1","hashtag2"]},{"1396824630":["hashtag1","hashtag2"]},{"1396824671":["hashtag1","hashtag2"]},{"1396824587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396824505, 1396824543, 1396824465, 1396824630, 1396824671, 1396824587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.745105028152466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:02:02.584615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/43/image_29112025_05_43_44_9693.jpg', '/home/pi/Desktop/images/29112025/05/43/image_29112025_05_43_54_9689.jpg', '/home/pi/Desktop/images/29112025/05/43/image_29112025_05_44_05_10678.jpg', '/home/pi/Desktop/images/29112025/05/44/image_29112025_05_44_14_9662.jpg', '/home/pi/Desktop/images/29112025/05/44/image_29112025_05_44_24_9623.jpg', '/home/pi/Desktop/images/29112025/05/44/image_29112025_05_44_34_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/43/image_29112025_05_43_44_9693.jpg
/home/pi/Desktop/images/29112025/05/43/image_29112025_05_43_54_9689.jpg
/home/pi/Desktop/images/29112025/05/43/image_29112025_05_44_05_10678.jpg
/home/pi/Desktop/images/29112025/05/44/image_29112025_05_44_14_9662.jpg
/home/pi/Desktop/images/29112025/05/44/image_29112025_05_44_24_9623.jpg
/home/pi/Desktop/images/29112025/05/44/image_29112025_05_44_34_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":["1396824975","1396824903","1396824989","1396824986","1396824941","1396824868"],"photo_ids_order":["1396824868","1396824903","1396824941","1396824975","1396824986","1396824989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ece1223e000883ed2dc27e4bb64ec5e.jpg","text":"TemporaryFile(/tmp/multipartBody8863392106164695883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392583292,"filename":"image_29112025_05_44_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05e012e6c62460ecdab68a10b2f61623.jpg","text":"TemporaryFile(/tmp/multipartBody8342556724817412941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392583292,"filename":"image_29112025_05_43_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/11/29/6a28e3583ed04faf57bcf264c5ad6e22.jpg","text":"TemporaryFile(/tmp/multipartBody6977131755309223400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392583292,"filename":"image_29112025_05_44_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/11/29/1ea2cc97c273882c5a0686fa47451791.jpg","text":"TemporaryFile(/tmp/multipartBody1317032067321443403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392583292,"filename":"image_29112025_05_44_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/11/29/224ffec893568b6baafaf6fc5de19540.jpg","text":"TemporaryFile(/tmp/multipartBody7387163447711042581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392583292,"filename":"image_29112025_05_44_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/11/29/a1be4074e1dec3a0a02c1a7c21822750.jpg","text":"TemporaryFile(/tmp/multipartBody4265426792343738274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392583292,"filename":"image_29112025_05_43_44_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396824941","file1":"1396824903","file0":"1396824868","file4":"1396824986","file5":"1396824989","file3":"1396824975"},"map_files_photo_id_array":[{"photo_id":"1396824989","filename":"file5"},{"photo_id":"1396824941","filename":"file2"},{"photo_id":"1396824986","filename":"file4"},{"photo_id":"1396824903","filename":"file1"},{"photo_id":"1396824868","filename":"file0"},{"photo_id":"1396824975","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396824975":["hashtag1","hashtag2"]},{"1396824903":["hashtag1","hashtag2"]},{"1396824989":["hashtag1","hashtag2"]},{"1396824986":["hashtag1","hashtag2"]},{"1396824941":["hashtag1","hashtag2"]},{"1396824868":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396824975, 1396824903, 1396824989, 1396824986, 1396824941, 1396824868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09792423248291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:02:42.029771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_36_3646.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_39_2705.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_42_2815.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_46_3746.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_48_2594.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_51_2839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_36_3646.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_39_2705.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_42_2815.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_46_3746.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_48_2594.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_51_2839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396824996","1396825029","1396825026","1396825028","1396825007","1396825027"],"photo_ids_order":["1396824996","1396825007","1396825026","1396825027","1396825028","1396825029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81c23ec458a9067e2df3aa8183c4f77d.jpg","text":"TemporaryFile(/tmp/multipartBody5742515591470641471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392623070,"filename":"image_31102025_08_48_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/11/29/70b5944e69e751e12f448491c8a7ab3b.jpg","text":"TemporaryFile(/tmp/multipartBody4542644545799321826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392623070,"filename":"image_31102025_08_48_51_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab458a5f27c87dcca67ca266717f6776.jpg","text":"TemporaryFile(/tmp/multipartBody4291853366148541013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392623070,"filename":"image_31102025_08_48_42_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4745f32c5a490e6639524fedd3a2cf27.jpg","text":"TemporaryFile(/tmp/multipartBody8923650994282157776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392623070,"filename":"image_31102025_08_48_48_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b74e3f796ffb8668f32ebe7c5657c998.jpg","text":"TemporaryFile(/tmp/multipartBody9009297951832006467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392623070,"filename":"image_31102025_08_48_39_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/acd77b94a749392098b1e48fbbb7e835.jpg","text":"TemporaryFile(/tmp/multipartBody1331347665116103986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392623070,"filename":"image_31102025_08_48_46_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825026","file1":"1396825007","file0":"1396824996","file4":"1396825028","file5":"1396825029","file3":"1396825027"},"map_files_photo_id_array":[{"photo_id":"1396825029","filename":"file5"},{"photo_id":"1396825026","filename":"file2"},{"photo_id":"1396825028","filename":"file4"},{"photo_id":"1396825007","filename":"file1"},{"photo_id":"1396824996","filename":"file0"},{"photo_id":"1396825027","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396824996":["hashtag1","hashtag2"]},{"1396825029":["hashtag1","hashtag2"]},{"1396825026":["hashtag1","hashtag2"]},{"1396825028":["hashtag1","hashtag2"]},{"1396825007":["hashtag1","hashtag2"]},{"1396825027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396824996, 1396825029, 1396825026, 1396825028, 1396825007, 1396825027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13128399848938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:03:22.184222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/44/image_29112025_05_44_45_10762.jpg', '/home/pi/Desktop/images/29112025/05/44/image_29112025_05_44_54_9894.jpg', '/home/pi/Desktop/images/29112025/05/44/image_29112025_05_45_04_9668.jpg', '/home/pi/Desktop/images/29112025/05/45/image_29112025_05_45_14_9965.jpg', '/home/pi/Desktop/images/29112025/05/45/image_29112025_05_45_24_9629.jpg', '/home/pi/Desktop/images/29112025/05/45/image_29112025_05_45_34_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/44/image_29112025_05_44_45_10762.jpg
/home/pi/Desktop/images/29112025/05/44/image_29112025_05_44_54_9894.jpg
/home/pi/Desktop/images/29112025/05/44/image_29112025_05_45_04_9668.jpg
/home/pi/Desktop/images/29112025/05/45/image_29112025_05_45_14_9965.jpg
/home/pi/Desktop/images/29112025/05/45/image_29112025_05_45_24_9629.jpg
/home/pi/Desktop/images/29112025/05/45/image_29112025_05_45_34_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825263","1396825184","1396825301","1396825144","1396825330","1396825225"],"photo_ids_order":["1396825144","1396825184","1396825225","1396825263","1396825301","1396825330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/818ff6d61580a205e91a62643ab54c97.jpg","text":"TemporaryFile(/tmp/multipartBody7864730602802637324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392662924,"filename":"image_29112025_05_45_14_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/508819972828392638b7e61c2fbe2538.jpg","text":"TemporaryFile(/tmp/multipartBody2430719376401891976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392662924,"filename":"image_29112025_05_44_54_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b96d88efc402a857e2d8fce0b01e31c9.jpg","text":"TemporaryFile(/tmp/multipartBody3700365973297627470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392662924,"filename":"image_29112025_05_45_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd4cbaa598e287e7122e0307dcb846ef.jpg","text":"TemporaryFile(/tmp/multipartBody3128480501522674217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392662924,"filename":"image_29112025_05_44_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/11/29/3de0aaf7043841e7013c0c5e9479dac6.jpg","text":"TemporaryFile(/tmp/multipartBody5667949126990130436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392662924,"filename":"image_29112025_05_45_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/11/29/b33bec986cbee62b6968037e2d4c4cc0.jpg","text":"TemporaryFile(/tmp/multipartBody1065942267960981385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392662924,"filename":"image_29112025_05_45_04_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825225","file1":"1396825184","file0":"1396825144","file4":"1396825301","file5":"1396825330","file3":"1396825263"},"map_files_photo_id_array":[{"photo_id":"1396825330","filename":"file5"},{"photo_id":"1396825225","filename":"file2"},{"photo_id":"1396825301","filename":"file4"},{"photo_id":"1396825184","filename":"file1"},{"photo_id":"1396825144","filename":"file0"},{"photo_id":"1396825263","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825263":["hashtag1","hashtag2"]},{"1396825184":["hashtag1","hashtag2"]},{"1396825301":["hashtag1","hashtag2"]},{"1396825144":["hashtag1","hashtag2"]},{"1396825330":["hashtag1","hashtag2"]},{"1396825225":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825263, 1396825184, 1396825301, 1396825144, 1396825330, 1396825225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91393256187439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:04:02.925709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/45/image_29112025_05_45_44_9725.jpg', '/home/pi/Desktop/images/29112025/05/45/image_29112025_05_45_54_9673.jpg', '/home/pi/Desktop/images/29112025/05/45/image_29112025_05_46_05_10723.jpg', '/home/pi/Desktop/images/29112025/05/46/image_29112025_05_46_14_9730.jpg', '/home/pi/Desktop/images/29112025/05/46/image_29112025_05_46_24_9602.jpg', '/home/pi/Desktop/images/29112025/05/46/image_29112025_05_46_34_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/45/image_29112025_05_45_44_9725.jpg
/home/pi/Desktop/images/29112025/05/45/image_29112025_05_45_54_9673.jpg
/home/pi/Desktop/images/29112025/05/45/image_29112025_05_46_05_10723.jpg
/home/pi/Desktop/images/29112025/05/46/image_29112025_05_46_14_9730.jpg
/home/pi/Desktop/images/29112025/05/46/image_29112025_05_46_24_9602.jpg
/home/pi/Desktop/images/29112025/05/46/image_29112025_05_46_34_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":["1396825458","1396825407","1396825433","1396825430","1396825375","1396825402"],"photo_ids_order":["1396825375","1396825402","1396825407","1396825430","1396825433","1396825458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df35a63dc99123fe2a999992f7a20a64.jpg","text":"TemporaryFile(/tmp/multipartBody7668581987441017247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392703706,"filename":"image_29112025_05_46_34_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a52e20d2acbf8bdc5bb97946adb325e0.jpg","text":"TemporaryFile(/tmp/multipartBody6654691409249235330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392703706,"filename":"image_29112025_05_46_05_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7387a209f98b0c0e49e172189ed90f86.jpg","text":"TemporaryFile(/tmp/multipartBody3491088995318096934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392703706,"filename":"image_29112025_05_46_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/11/29/b3eedb1deaf0288abf7dc1049cd9ac8c.jpg","text":"TemporaryFile(/tmp/multipartBody5494196729550579825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392703706,"filename":"image_29112025_05_46_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/11/29/8b7b207a1298cb600df09f9bedc5e82b.jpg","text":"TemporaryFile(/tmp/multipartBody875882017716004043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392703706,"filename":"image_29112025_05_45_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/11/29/5bde3758de4cef714bda44e556d55803.jpg","text":"TemporaryFile(/tmp/multipartBody3296910226211753709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392703706,"filename":"image_29112025_05_45_54_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825407","file1":"1396825402","file0":"1396825375","file4":"1396825433","file5":"1396825458","file3":"1396825430"},"map_files_photo_id_array":[{"photo_id":"1396825458","filename":"file5"},{"photo_id":"1396825407","filename":"file2"},{"photo_id":"1396825433","filename":"file4"},{"photo_id":"1396825402","filename":"file1"},{"photo_id":"1396825375","filename":"file0"},{"photo_id":"1396825430","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825458":["hashtag1","hashtag2"]},{"1396825407":["hashtag1","hashtag2"]},{"1396825433":["hashtag1","hashtag2"]},{"1396825430":["hashtag1","hashtag2"]},{"1396825375":["hashtag1","hashtag2"]},{"1396825402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825458, 1396825407, 1396825433, 1396825430, 1396825375, 1396825402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.277549743652344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:04:42.391310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_54_2912.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_58_3617.jpg', '/home/pi/Desktop/images/31102025/08/48/image_31102025_08_49_00_2813.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_03_2857.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_06_2769.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_09_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/08/48/image_31102025_08_48_54_2912.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_48_58_3617.jpg
/home/pi/Desktop/images/31102025/08/48/image_31102025_08_49_00_2813.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_03_2857.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_06_2769.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_09_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":["1396825467","1396825470","1396825464","1396825469","1396825471","1396825468"],"photo_ids_order":["1396825464","1396825467","1396825468","1396825469","1396825470","1396825471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8f15231ffd0c1eaaee4377b95768e55.jpg","text":"TemporaryFile(/tmp/multipartBody7682723369104032762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392743425,"filename":"image_31102025_08_48_58_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17a5f7e070058e537fd13e3c5ab9bcae.jpg","text":"TemporaryFile(/tmp/multipartBody6081537280122762147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392743425,"filename":"image_31102025_08_49_06_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a59f3e62cb0828a15ef8c6b821b86f5.jpg","text":"TemporaryFile(/tmp/multipartBody4898504121364756528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392743425,"filename":"image_31102025_08_48_54_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3706ffb366d3f70607662f7c14c59c0.jpg","text":"TemporaryFile(/tmp/multipartBody7878327302185928050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392743425,"filename":"image_31102025_08_49_03_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ffb6e69f594a1bdb866dd5ca09ac9b5.jpg","text":"TemporaryFile(/tmp/multipartBody3365609712961448553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392743425,"filename":"image_31102025_08_49_09_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b054f0e3fa177fb32ed6d0a6e06ab29a.jpg","text":"TemporaryFile(/tmp/multipartBody8972641678539846876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392743425,"filename":"image_31102025_08_49_00_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825468","file1":"1396825467","file0":"1396825464","file4":"1396825470","file5":"1396825471","file3":"1396825469"},"map_files_photo_id_array":[{"photo_id":"1396825471","filename":"file5"},{"photo_id":"1396825468","filename":"file2"},{"photo_id":"1396825470","filename":"file4"},{"photo_id":"1396825467","filename":"file1"},{"photo_id":"1396825464","filename":"file0"},{"photo_id":"1396825469","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396825467":["hashtag1","hashtag2"]},{"1396825470":["hashtag1","hashtag2"]},{"1396825464":["hashtag1","hashtag2"]},{"1396825469":["hashtag1","hashtag2"]},{"1396825471":["hashtag1","hashtag2"]},{"1396825468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396825467, 1396825470, 1396825464, 1396825469, 1396825471, 1396825468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9578058719635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:05:22.559794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/46/image_29112025_05_47_04_9737.jpg', '/home/pi/Desktop/images/29112025/05/47/image_29112025_05_47_15_10634.jpg', '/home/pi/Desktop/images/29112025/05/47/image_29112025_05_47_24_9590.jpg', '/home/pi/Desktop/images/29112025/05/47/image_29112025_05_47_34_9705.jpg', '/home/pi/Desktop/images/29112025/05/47/image_29112025_05_47_45_10781.jpg', '/home/pi/Desktop/images/29112025/05/47/image_29112025_05_47_54_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/46/image_29112025_05_47_04_9737.jpg
/home/pi/Desktop/images/29112025/05/47/image_29112025_05_47_15_10634.jpg
/home/pi/Desktop/images/29112025/05/47/image_29112025_05_47_24_9590.jpg
/home/pi/Desktop/images/29112025/05/47/image_29112025_05_47_34_9705.jpg
/home/pi/Desktop/images/29112025/05/47/image_29112025_05_47_45_10781.jpg
/home/pi/Desktop/images/29112025/05/47/image_29112025_05_47_54_9571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825478","1396825493","1396825481","1396825475","1396825480","1396825483"],"photo_ids_order":["1396825475","1396825478","1396825480","1396825481","1396825483","1396825493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5ef7e8e4927de497db41ff6fe0b2a4a.jpg","text":"TemporaryFile(/tmp/multipartBody6552055362665140698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392783259,"filename":"image_29112025_05_47_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/11/29/515a3215c3e87f6833139732574359fd.jpg","text":"TemporaryFile(/tmp/multipartBody7039988023813546259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392783259,"filename":"image_29112025_05_47_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/11/29/e0adc705ae86b439b62e7767b379fa43.jpg","text":"TemporaryFile(/tmp/multipartBody143522938873299746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392783259,"filename":"image_29112025_05_47_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/11/29/f69ebd16c361391a13436911fccf2bd8.jpg","text":"TemporaryFile(/tmp/multipartBody976561183007411307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392783259,"filename":"image_29112025_05_47_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/11/29/18b0b69974664dd4a7d4552bc01c8266.jpg","text":"TemporaryFile(/tmp/multipartBody5508976909427470570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392783259,"filename":"image_29112025_05_47_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a8f3d4c81fb7b501fa753c88a7bd9c9.jpg","text":"TemporaryFile(/tmp/multipartBody6242468976479046694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392783259,"filename":"image_29112025_05_47_45_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825480","file1":"1396825478","file0":"1396825475","file4":"1396825483","file5":"1396825493","file3":"1396825481"},"map_files_photo_id_array":[{"photo_id":"1396825493","filename":"file5"},{"photo_id":"1396825480","filename":"file2"},{"photo_id":"1396825483","filename":"file4"},{"photo_id":"1396825478","filename":"file1"},{"photo_id":"1396825475","filename":"file0"},{"photo_id":"1396825481","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825478":["hashtag1","hashtag2"]},{"1396825493":["hashtag1","hashtag2"]},{"1396825481":["hashtag1","hashtag2"]},{"1396825475":["hashtag1","hashtag2"]},{"1396825480":["hashtag1","hashtag2"]},{"1396825483":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825478, 1396825493, 1396825481, 1396825475, 1396825480, 1396825483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0385684967041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:06:03.181420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/48/image_29112025_05_48_14_9800.jpg', '/home/pi/Desktop/images/29112025/05/48/image_29112025_05_48_24_9811.jpg', '/home/pi/Desktop/images/29112025/05/48/image_29112025_05_48_34_10544.jpg', '/home/pi/Desktop/images/29112025/05/48/image_29112025_05_48_44_9667.jpg', '/home/pi/Desktop/images/29112025/05/48/image_29112025_05_48_55_10639.jpg', '/home/pi/Desktop/images/29112025/05/48/image_29112025_05_49_04_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/48/image_29112025_05_48_14_9800.jpg
/home/pi/Desktop/images/29112025/05/48/image_29112025_05_48_24_9811.jpg
/home/pi/Desktop/images/29112025/05/48/image_29112025_05_48_34_10544.jpg
/home/pi/Desktop/images/29112025/05/48/image_29112025_05_48_44_9667.jpg
/home/pi/Desktop/images/29112025/05/48/image_29112025_05_48_55_10639.jpg
/home/pi/Desktop/images/29112025/05/48/image_29112025_05_49_04_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825504","1396825512","1396825506","1396825509","1396825505","1396825507"],"photo_ids_order":["1396825504","1396825505","1396825506","1396825507","1396825509","1396825512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e92465fdc6d54f71434346c7c528812c.jpg","text":"TemporaryFile(/tmp/multipartBody2184303494856147749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392823935,"filename":"image_29112025_05_48_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/11/29/9843ad040f3d452faceca9985b030228.jpg","text":"TemporaryFile(/tmp/multipartBody330862219690680233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392823935,"filename":"image_29112025_05_49_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/11/29/67009c71c58475d930ee86f6c1af6d5d.jpg","text":"TemporaryFile(/tmp/multipartBody4439778309146328130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392823935,"filename":"image_29112025_05_48_34_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c2c54250fd1965e393086373b2d0475.jpg","text":"TemporaryFile(/tmp/multipartBody809925704185734500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392823935,"filename":"image_29112025_05_48_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dcdc3f017af9dc1eb8903bb36ab482b9.jpg","text":"TemporaryFile(/tmp/multipartBody979031900330998720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392823935,"filename":"image_29112025_05_48_24_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d05446b25251c6a5eec95cbac621e191.jpg","text":"TemporaryFile(/tmp/multipartBody5336292699315055247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392823935,"filename":"image_29112025_05_48_44_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825506","file1":"1396825505","file0":"1396825504","file4":"1396825509","file5":"1396825512","file3":"1396825507"},"map_files_photo_id_array":[{"photo_id":"1396825512","filename":"file5"},{"photo_id":"1396825506","filename":"file2"},{"photo_id":"1396825509","filename":"file4"},{"photo_id":"1396825505","filename":"file1"},{"photo_id":"1396825504","filename":"file0"},{"photo_id":"1396825507","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825504":["hashtag1","hashtag2"]},{"1396825512":["hashtag1","hashtag2"]},{"1396825506":["hashtag1","hashtag2"]},{"1396825509":["hashtag1","hashtag2"]},{"1396825505":["hashtag1","hashtag2"]},{"1396825507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825504, 1396825512, 1396825506, 1396825509, 1396825505, 1396825507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51386022567749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:06:42.769746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_12_3604.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_15_2599.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_18_3559.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_21_2642.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_24_2734.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_27_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/08/49/image_31102025_08_49_12_3604.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_15_2599.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_18_3559.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_21_2642.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_24_2734.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_27_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":["1396825530","1396825526","1396825531","1396825534","1396825528","1396825522"],"photo_ids_order":["1396825522","1396825526","1396825528","1396825530","1396825531","1396825534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a13463f2a9db63e13051178a1c6e240.jpg","text":"TemporaryFile(/tmp/multipartBody5190373409547388055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392863814,"filename":"image_31102025_08_49_21_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e5e795b7d1b7c67fe3664d3a4c8b98a.jpg","text":"TemporaryFile(/tmp/multipartBody3359073513894408205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392863814,"filename":"image_31102025_08_49_15_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f454ae2a4feaf65acabff1b192240bc1.jpg","text":"TemporaryFile(/tmp/multipartBody4744019981777523851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392863814,"filename":"image_31102025_08_49_24_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddeb9d88fc083038241625fdfd3511e1.jpg","text":"TemporaryFile(/tmp/multipartBody4841603600818757016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392863814,"filename":"image_31102025_08_49_27_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0a46ef6e18d7fa84a2288ed8bac136a.jpg","text":"TemporaryFile(/tmp/multipartBody7202652823063981007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392863814,"filename":"image_31102025_08_49_18_3559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32cfa8e340736355a5d896906f8a315f.jpg","text":"TemporaryFile(/tmp/multipartBody4251940168646835309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392863814,"filename":"image_31102025_08_49_12_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825528","file1":"1396825526","file0":"1396825522","file4":"1396825531","file5":"1396825534","file3":"1396825530"},"map_files_photo_id_array":[{"photo_id":"1396825534","filename":"file5"},{"photo_id":"1396825528","filename":"file2"},{"photo_id":"1396825531","filename":"file4"},{"photo_id":"1396825526","filename":"file1"},{"photo_id":"1396825522","filename":"file0"},{"photo_id":"1396825530","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396825530":["hashtag1","hashtag2"]},{"1396825526":["hashtag1","hashtag2"]},{"1396825531":["hashtag1","hashtag2"]},{"1396825534":["hashtag1","hashtag2"]},{"1396825528":["hashtag1","hashtag2"]},{"1396825522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396825530, 1396825526, 1396825531, 1396825534, 1396825528, 1396825522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72904586791992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:07:21.931364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_14_9712.jpg', '/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_24_9773.jpg', '/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_35_10621.jpg', '/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_44_9624.jpg', '/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_54_9596.jpg', '/home/pi/Desktop/images/29112025/05/49/image_29112025_05_50_04_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_14_9712.jpg
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_24_9773.jpg
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_35_10621.jpg
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_44_9624.jpg
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_54_9596.jpg
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_50_04_10705.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6146955490112305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 06:07:32.020115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_13_3695.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_16_2567.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_19_3595.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_22_2640.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_24_2562.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_28_3645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_13_3695.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_16_2567.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_19_3595.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_22_2640.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_24_2562.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_28_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":["1396825587","1396825583","1396825565","1396825553","1396825562","1396825585"],"photo_ids_order":["1396825553","1396825562","1396825565","1396825583","1396825585","1396825587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26b22ed0e88528bf04772c7cd1359bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3919182568121004815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392914241,"filename":"image_25112025_17_49_28_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f6ea09aa0a0f606cdbad269e334d2f1.jpg","text":"TemporaryFile(/tmp/multipartBody3527480537557589435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392914241,"filename":"image_25112025_17_49_22_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5757c12e5b0ed963eff5ffebdcaf4403.jpg","text":"TemporaryFile(/tmp/multipartBody3378781904561362701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392914241,"filename":"image_25112025_17_49_19_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6af06f0e9dee359368ccdb9c1065417f.jpg","text":"TemporaryFile(/tmp/multipartBody7904088056633457184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392914241,"filename":"image_25112025_17_49_13_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad37e626fa180af5a03942f14738c41c.jpg","text":"TemporaryFile(/tmp/multipartBody1272410671281777470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392914241,"filename":"image_25112025_17_49_16_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f46e0060c0499a5c29ebb367033ba637.jpg","text":"TemporaryFile(/tmp/multipartBody3130501592683265080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392914241,"filename":"image_25112025_17_49_24_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825565","file1":"1396825562","file0":"1396825553","file4":"1396825585","file5":"1396825587","file3":"1396825583"},"map_files_photo_id_array":[{"photo_id":"1396825587","filename":"file5"},{"photo_id":"1396825565","filename":"file2"},{"photo_id":"1396825585","filename":"file4"},{"photo_id":"1396825562","filename":"file1"},{"photo_id":"1396825553","filename":"file0"},{"photo_id":"1396825583","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396825587":["hashtag1","hashtag2"]},{"1396825583":["hashtag1","hashtag2"]},{"1396825565":["hashtag1","hashtag2"]},{"1396825553":["hashtag1","hashtag2"]},{"1396825562":["hashtag1","hashtag2"]},{"1396825585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396825587, 1396825583, 1396825565, 1396825553, 1396825562, 1396825585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.710777759552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 06:08:12.193829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_31_2767.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_33_2617.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_37_3700.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_40_2644.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_42_2553.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_46_3824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_31_2767.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_33_2617.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_37_3700.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_40_2644.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_42_2553.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_46_3824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825593","1396825596","1396825601","1396825588","1396825599","1396825590"],"photo_ids_order":["1396825588","1396825590","1396825593","1396825596","1396825599","1396825601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d45d2d5d8e66a1c77f8e0bbec00e0bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5775067519652770762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392954281,"filename":"image_25112025_17_49_37_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ca79ffa7d7e0844e920beb669eb7478.jpg","text":"TemporaryFile(/tmp/multipartBody2261753597903252982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392954281,"filename":"image_25112025_17_49_40_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1947bed695207cd84262922de7daaf1e.jpg","text":"TemporaryFile(/tmp/multipartBody6870090074384694123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392954281,"filename":"image_25112025_17_49_46_3824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/306ff333fd2e496eb986ca963de8839c.jpg","text":"TemporaryFile(/tmp/multipartBody1004984286506589224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392954281,"filename":"image_25112025_17_49_31_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/66585a227e970e37333755fedbe1e030.jpg","text":"TemporaryFile(/tmp/multipartBody500697474752770681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392954281,"filename":"image_25112025_17_49_42_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/683afb34994c9146bba1560152c8ab25.jpg","text":"TemporaryFile(/tmp/multipartBody5453697733137676312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764392954281,"filename":"image_25112025_17_49_33_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825593","file1":"1396825590","file0":"1396825588","file4":"1396825599","file5":"1396825601","file3":"1396825596"},"map_files_photo_id_array":[{"photo_id":"1396825601","filename":"file5"},{"photo_id":"1396825593","filename":"file2"},{"photo_id":"1396825599","filename":"file4"},{"photo_id":"1396825590","filename":"file1"},{"photo_id":"1396825588","filename":"file0"},{"photo_id":"1396825596","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396825593":["hashtag1","hashtag2"]},{"1396825596":["hashtag1","hashtag2"]},{"1396825601":["hashtag1","hashtag2"]},{"1396825588":["hashtag1","hashtag2"]},{"1396825599":["hashtag1","hashtag2"]},{"1396825590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396825593, 1396825596, 1396825601, 1396825588, 1396825599, 1396825590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45348143577576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:09:03.143570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_14_9712.jpg', '/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_24_9773.jpg', '/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_35_10621.jpg', '/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_44_9624.jpg', '/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_54_9596.jpg', '/home/pi/Desktop/images/29112025/05/49/image_29112025_05_50_04_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_14_9712.jpg
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_24_9773.jpg
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_35_10621.jpg
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_44_9624.jpg
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_49_54_9596.jpg
/home/pi/Desktop/images/29112025/05/49/image_29112025_05_50_04_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825605","1396825607","1396825612","1396825606","1396825615","1396825609"],"photo_ids_order":["1396825605","1396825606","1396825607","1396825609","1396825612","1396825615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b70ef62311c510a5c98625fd89f59bec.jpg","text":"TemporaryFile(/tmp/multipartBody4427424593883504504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393004458,"filename":"image_29112025_05_49_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/11/29/c6fee6a20141513df78341f9ea4e0b31.jpg","text":"TemporaryFile(/tmp/multipartBody6014163374193610004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393004458,"filename":"image_29112025_05_49_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/11/29/2eca65e43b5b76abe7c3a6a572a7c869.jpg","text":"TemporaryFile(/tmp/multipartBody5019658402419790197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393004458,"filename":"image_29112025_05_49_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5bf3f1f7b1e49f287ead47f2d469931a.jpg","text":"TemporaryFile(/tmp/multipartBody929739223463651345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393004458,"filename":"image_29112025_05_49_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/11/29/b3c6af1d8e6f111a2b32b46818d3c14b.jpg","text":"TemporaryFile(/tmp/multipartBody904427088558844100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393004458,"filename":"image_29112025_05_50_04_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d6c2be996b2d8b19f402816af272643e.jpg","text":"TemporaryFile(/tmp/multipartBody1054806673422579017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393004458,"filename":"image_29112025_05_49_44_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825607","file1":"1396825606","file0":"1396825605","file4":"1396825612","file5":"1396825615","file3":"1396825609"},"map_files_photo_id_array":[{"photo_id":"1396825615","filename":"file5"},{"photo_id":"1396825607","filename":"file2"},{"photo_id":"1396825612","filename":"file4"},{"photo_id":"1396825606","filename":"file1"},{"photo_id":"1396825605","filename":"file0"},{"photo_id":"1396825609","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825605":["hashtag1","hashtag2"]},{"1396825607":["hashtag1","hashtag2"]},{"1396825612":["hashtag1","hashtag2"]},{"1396825606":["hashtag1","hashtag2"]},{"1396825615":["hashtag1","hashtag2"]},{"1396825609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825605, 1396825607, 1396825612, 1396825606, 1396825615, 1396825609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32352662086487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:09:42.318317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_30_2573.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_33_2685.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_36_3752.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_39_2730.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_42_2560.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_45_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_30_2573.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_33_2685.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_36_3752.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_39_2730.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_42_2560.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_45_3680.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9309399127960205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:10:02.929188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/50/image_29112025_05_50_14_9695.jpg', '/home/pi/Desktop/images/29112025/05/50/image_29112025_05_50_24_9829.jpg', '/home/pi/Desktop/images/29112025/05/50/image_29112025_05_50_35_10559.jpg', '/home/pi/Desktop/images/29112025/05/50/image_29112025_05_50_44_9756.jpg', '/home/pi/Desktop/images/29112025/05/50/image_29112025_05_50_54_9711.jpg', '/home/pi/Desktop/images/29112025/05/50/image_29112025_05_51_05_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/50/image_29112025_05_50_14_9695.jpg
/home/pi/Desktop/images/29112025/05/50/image_29112025_05_50_24_9829.jpg
/home/pi/Desktop/images/29112025/05/50/image_29112025_05_50_35_10559.jpg
/home/pi/Desktop/images/29112025/05/50/image_29112025_05_50_44_9756.jpg
/home/pi/Desktop/images/29112025/05/50/image_29112025_05_50_54_9711.jpg
/home/pi/Desktop/images/29112025/05/50/image_29112025_05_51_05_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":["1396825635","1396825629","1396825632","1396825628","1396825630","1396825627"],"photo_ids_order":["1396825627","1396825628","1396825629","1396825630","1396825632","1396825635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffb29679c57c408415db75e031fcaaa7.jpg","text":"TemporaryFile(/tmp/multipartBody7199317505331202153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393063689,"filename":"image_29112025_05_51_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/11/29/59a9dab1b2a000d95525fb344d65275d.jpg","text":"TemporaryFile(/tmp/multipartBody7432808097365684414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393063689,"filename":"image_29112025_05_50_35_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/186b9043f35b3a1fdb65b1ef5dcd7ea6.jpg","text":"TemporaryFile(/tmp/multipartBody5692114799092330562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393063689,"filename":"image_29112025_05_50_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/11/29/91b2361a1b044bd3f3b911d7add384fe.jpg","text":"TemporaryFile(/tmp/multipartBody4980746738607089416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393063689,"filename":"image_29112025_05_50_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/367ae4acb7e349bc4a07764dcc3a4128.jpg","text":"TemporaryFile(/tmp/multipartBody5270839735615899676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393063689,"filename":"image_29112025_05_50_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0ab1cd4e3b559100bd66f751140375f.jpg","text":"TemporaryFile(/tmp/multipartBody3602058302684370349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393063689,"filename":"image_29112025_05_50_14_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825629","file1":"1396825628","file0":"1396825627","file4":"1396825632","file5":"1396825635","file3":"1396825630"},"map_files_photo_id_array":[{"photo_id":"1396825635","filename":"file5"},{"photo_id":"1396825629","filename":"file2"},{"photo_id":"1396825632","filename":"file4"},{"photo_id":"1396825628","filename":"file1"},{"photo_id":"1396825627","filename":"file0"},{"photo_id":"1396825630","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825635":["hashtag1","hashtag2"]},{"1396825629":["hashtag1","hashtag2"]},{"1396825632":["hashtag1","hashtag2"]},{"1396825628":["hashtag1","hashtag2"]},{"1396825630":["hashtag1","hashtag2"]},{"1396825627":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825635, 1396825629, 1396825632, 1396825628, 1396825630, 1396825627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01793360710144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:10:42.468060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_30_2573.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_33_2685.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_36_3752.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_39_2730.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_42_2560.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_45_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_30_2573.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_33_2685.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_36_3752.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_39_2730.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_42_2560.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_45_3680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825647","1396825650","1396825644","1396825649","1396825651","1396825648"],"photo_ids_order":["1396825644","1396825647","1396825648","1396825649","1396825650","1396825651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59114a45f99cacaf9c58cddf6036b1b9.jpg","text":"TemporaryFile(/tmp/multipartBody1714807011534790940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393103383,"filename":"image_31102025_08_49_33_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7989d01f335dd7c5d87c67349d6a88f4.jpg","text":"TemporaryFile(/tmp/multipartBody6167453831629078341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393103383,"filename":"image_31102025_08_49_42_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55555974140ce01e49028d3647e915e2.jpg","text":"TemporaryFile(/tmp/multipartBody2042893524222583659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393103383,"filename":"image_31102025_08_49_30_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a48816ed31e0b2ab36acaef25da7a70e.jpg","text":"TemporaryFile(/tmp/multipartBody5447793639380511752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393103383,"filename":"image_31102025_08_49_39_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93371e811c9a4c19dac7a58a83dcbc73.jpg","text":"TemporaryFile(/tmp/multipartBody3983144118276655546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393103383,"filename":"image_31102025_08_49_45_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95c937f242b32835c09630bc6e9b5f5c.jpg","text":"TemporaryFile(/tmp/multipartBody3788769333843612065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393103383,"filename":"image_31102025_08_49_36_3752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825648","file1":"1396825647","file0":"1396825644","file4":"1396825650","file5":"1396825651","file3":"1396825649"},"map_files_photo_id_array":[{"photo_id":"1396825651","filename":"file5"},{"photo_id":"1396825648","filename":"file2"},{"photo_id":"1396825650","filename":"file4"},{"photo_id":"1396825647","filename":"file1"},{"photo_id":"1396825644","filename":"file0"},{"photo_id":"1396825649","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396825647":["hashtag1","hashtag2"]},{"1396825650":["hashtag1","hashtag2"]},{"1396825644":["hashtag1","hashtag2"]},{"1396825649":["hashtag1","hashtag2"]},{"1396825651":["hashtag1","hashtag2"]},{"1396825648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396825647, 1396825650, 1396825644, 1396825649, 1396825651, 1396825648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80608654022217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:11:22.644944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/51/image_29112025_05_51_15_9848.jpg', '/home/pi/Desktop/images/29112025/05/51/image_29112025_05_51_24_9593.jpg', '/home/pi/Desktop/images/29112025/05/51/image_29112025_05_51_35_10581.jpg', '/home/pi/Desktop/images/29112025/05/51/image_29112025_05_51_44_9639.jpg', '/home/pi/Desktop/images/29112025/05/51/image_29112025_05_51_54_9714.jpg', '/home/pi/Desktop/images/29112025/05/52/image_29112025_05_52_14_9903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/51/image_29112025_05_51_15_9848.jpg
/home/pi/Desktop/images/29112025/05/51/image_29112025_05_51_24_9593.jpg
/home/pi/Desktop/images/29112025/05/51/image_29112025_05_51_35_10581.jpg
/home/pi/Desktop/images/29112025/05/51/image_29112025_05_51_44_9639.jpg
/home/pi/Desktop/images/29112025/05/51/image_29112025_05_51_54_9714.jpg
/home/pi/Desktop/images/29112025/05/52/image_29112025_05_52_14_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":["1396825664","1396825661","1396825655","1396825669","1396825657","1396825666"],"photo_ids_order":["1396825655","1396825657","1396825661","1396825664","1396825666","1396825669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f81a22c310bdf7d795d10a8417f1b05.jpg","text":"TemporaryFile(/tmp/multipartBody1545355177817601948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393143345,"filename":"image_29112025_05_51_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e16491e2122983873874791a4b1acde9.jpg","text":"TemporaryFile(/tmp/multipartBody8609200924682722367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393143345,"filename":"image_29112025_05_51_35_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9a520afde43abb77b136ae6433e89fa.jpg","text":"TemporaryFile(/tmp/multipartBody1531863450907785109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393143345,"filename":"image_29112025_05_51_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/11/29/4eee1ee060077dd4a934110aa1dac5d5.jpg","text":"TemporaryFile(/tmp/multipartBody8591897756091023058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393143345,"filename":"image_29112025_05_52_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/11/29/cf7f1637a6042480693d9587cff9ad17.jpg","text":"TemporaryFile(/tmp/multipartBody905195358095731402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393143345,"filename":"image_29112025_05_51_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67bc95be00ca1e860f25c601dbd0f0d3.jpg","text":"TemporaryFile(/tmp/multipartBody4940815003020986385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393143345,"filename":"image_29112025_05_51_54_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825661","file1":"1396825657","file0":"1396825655","file4":"1396825666","file5":"1396825669","file3":"1396825664"},"map_files_photo_id_array":[{"photo_id":"1396825669","filename":"file5"},{"photo_id":"1396825661","filename":"file2"},{"photo_id":"1396825666","filename":"file4"},{"photo_id":"1396825657","filename":"file1"},{"photo_id":"1396825655","filename":"file0"},{"photo_id":"1396825664","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825664":["hashtag1","hashtag2"]},{"1396825661":["hashtag1","hashtag2"]},{"1396825655":["hashtag1","hashtag2"]},{"1396825669":["hashtag1","hashtag2"]},{"1396825657":["hashtag1","hashtag2"]},{"1396825666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825664, 1396825661, 1396825655, 1396825669, 1396825657, 1396825666)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.49639630317688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 06:12:13.023023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_49_2755.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_52_2683.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_54_2655.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_58_3530.jpg', '/home/pi/Desktop/images/25112025/17/49/image_25112025_17_50_00_2670.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_07_3019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_49_2755.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_52_2683.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_54_2655.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_49_58_3530.jpg
/home/pi/Desktop/images/25112025/17/49/image_25112025_17_50_00_2670.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_07_3019.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825722","1396825716","1396825719","1396825713","1396825709","1396825690"],"photo_ids_order":["1396825690","1396825709","1396825713","1396825716","1396825719","1396825722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a466e9e1d3b295aeb51ca1924262924e.jpg","text":"TemporaryFile(/tmp/multipartBody1298016418657030708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393195256,"filename":"image_25112025_17_51_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a5c44f5a5fa0664793e54abbfe189a1.jpg","text":"TemporaryFile(/tmp/multipartBody4309395060300547966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393195256,"filename":"image_25112025_17_49_58_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43e34d6ba06b3f6a40928804260965bd.jpg","text":"TemporaryFile(/tmp/multipartBody6801477198697237117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393195256,"filename":"image_25112025_17_50_00_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35d827afd12168820ef890adeab64da7.jpg","text":"TemporaryFile(/tmp/multipartBody6555883557743051677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393195256,"filename":"image_25112025_17_49_54_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b46fbd8b605c44301f4e47c56eeb1cba.jpg","text":"TemporaryFile(/tmp/multipartBody1631271954805691331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393195256,"filename":"image_25112025_17_49_52_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/753a4e9744655135754c0c6c113b2f91.jpg","text":"TemporaryFile(/tmp/multipartBody6402735820385781689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393195256,"filename":"image_25112025_17_49_49_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825713","file1":"1396825709","file0":"1396825690","file4":"1396825719","file5":"1396825722","file3":"1396825716"},"map_files_photo_id_array":[{"photo_id":"1396825722","filename":"file5"},{"photo_id":"1396825713","filename":"file2"},{"photo_id":"1396825719","filename":"file4"},{"photo_id":"1396825709","filename":"file1"},{"photo_id":"1396825690","filename":"file0"},{"photo_id":"1396825716","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396825722":["hashtag1","hashtag2"]},{"1396825716":["hashtag1","hashtag2"]},{"1396825719":["hashtag1","hashtag2"]},{"1396825713":["hashtag1","hashtag2"]},{"1396825709":["hashtag1","hashtag2"]},{"1396825690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396825722, 1396825716, 1396825719, 1396825713, 1396825709, 1396825690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.100778579711914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:13:03.337799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/52/image_29112025_05_52_25_10757.jpg', '/home/pi/Desktop/images/29112025/05/52/image_29112025_05_52_34_9758.jpg', '/home/pi/Desktop/images/29112025/05/52/image_29112025_05_52_44_9620.jpg', '/home/pi/Desktop/images/29112025/05/52/image_29112025_05_52_54_10565.jpg', '/home/pi/Desktop/images/29112025/05/52/image_29112025_05_53_04_9779.jpg', '/home/pi/Desktop/images/29112025/05/53/image_29112025_05_53_14_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/52/image_29112025_05_52_25_10757.jpg
/home/pi/Desktop/images/29112025/05/52/image_29112025_05_52_34_9758.jpg
/home/pi/Desktop/images/29112025/05/52/image_29112025_05_52_44_9620.jpg
/home/pi/Desktop/images/29112025/05/52/image_29112025_05_52_54_10565.jpg
/home/pi/Desktop/images/29112025/05/52/image_29112025_05_53_04_9779.jpg
/home/pi/Desktop/images/29112025/05/53/image_29112025_05_53_14_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":["1396825728","1396825730","1396825727","1396825735","1396825732","1396825729"],"photo_ids_order":["1396825727","1396825728","1396825729","1396825730","1396825732","1396825735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b427a80de82dcfca65e13759e98ecd49.jpg","text":"TemporaryFile(/tmp/multipartBody6449175796481981017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393244122,"filename":"image_29112025_05_52_34_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d656d72aca5123e06c1173d640c9c06.jpg","text":"TemporaryFile(/tmp/multipartBody3928483278071778968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393244122,"filename":"image_29112025_05_52_54_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93398be5943420a04a51cbf4b750f8d4.jpg","text":"TemporaryFile(/tmp/multipartBody1219406303930214434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393244122,"filename":"image_29112025_05_52_25_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6034a5bf327ae927905f7faf3cceef7.jpg","text":"TemporaryFile(/tmp/multipartBody3469513138898846480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393244122,"filename":"image_29112025_05_53_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/11/29/77bf32e873fbdd2067e197de2844b06b.jpg","text":"TemporaryFile(/tmp/multipartBody4440179707687512110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393244122,"filename":"image_29112025_05_53_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fecec46969967385466591bce720030f.jpg","text":"TemporaryFile(/tmp/multipartBody8890480050212510548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393244122,"filename":"image_29112025_05_52_44_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825729","file1":"1396825728","file0":"1396825727","file4":"1396825732","file5":"1396825735","file3":"1396825730"},"map_files_photo_id_array":[{"photo_id":"1396825735","filename":"file5"},{"photo_id":"1396825729","filename":"file2"},{"photo_id":"1396825732","filename":"file4"},{"photo_id":"1396825728","filename":"file1"},{"photo_id":"1396825727","filename":"file0"},{"photo_id":"1396825730","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825728":["hashtag1","hashtag2"]},{"1396825730":["hashtag1","hashtag2"]},{"1396825727":["hashtag1","hashtag2"]},{"1396825735":["hashtag1","hashtag2"]},{"1396825732":["hashtag1","hashtag2"]},{"1396825729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825728, 1396825730, 1396825727, 1396825735, 1396825732, 1396825729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30208730697632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:13:42.690420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_48_2642.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_51_2545.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_54_3803.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_57_2693.jpg', '/home/pi/Desktop/images/31102025/08/49/image_31102025_08_50_00_2560.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_03_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_48_2642.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_51_2545.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_54_3803.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_49_57_2693.jpg
/home/pi/Desktop/images/31102025/08/49/image_31102025_08_50_00_2560.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_03_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825746","1396825749","1396825748","1396825750","1396825744","1396825747"],"photo_ids_order":["1396825744","1396825746","1396825747","1396825748","1396825749","1396825750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3898de2c11c0083073d67346cec51259.jpg","text":"TemporaryFile(/tmp/multipartBody8430153479502768008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393283718,"filename":"image_31102025_08_49_51_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0847a1d3f99f4a05b652002162b467f.jpg","text":"TemporaryFile(/tmp/multipartBody361172392592982272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393283718,"filename":"image_31102025_08_50_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/11/29/3ea7caca4ce5f0774530973bba13f3d4.jpg","text":"TemporaryFile(/tmp/multipartBody7323215468999900434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393283718,"filename":"image_31102025_08_49_57_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c170bb658f6fda350a99ad56d16c37aa.jpg","text":"TemporaryFile(/tmp/multipartBody9178340804894879472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393283718,"filename":"image_31102025_08_50_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/11/29/be7d28103e2a1f6176c8d1dd8a067c15.jpg","text":"TemporaryFile(/tmp/multipartBody7757474530132434898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393283718,"filename":"image_31102025_08_49_48_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fa29a3fa9ceb3bcf1c4d5ad2dab32a5.jpg","text":"TemporaryFile(/tmp/multipartBody7699264831732489504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393283718,"filename":"image_31102025_08_49_54_3803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825747","file1":"1396825746","file0":"1396825744","file4":"1396825749","file5":"1396825750","file3":"1396825748"},"map_files_photo_id_array":[{"photo_id":"1396825750","filename":"file5"},{"photo_id":"1396825747","filename":"file2"},{"photo_id":"1396825749","filename":"file4"},{"photo_id":"1396825746","filename":"file1"},{"photo_id":"1396825744","filename":"file0"},{"photo_id":"1396825748","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396825746":["hashtag1","hashtag2"]},{"1396825749":["hashtag1","hashtag2"]},{"1396825748":["hashtag1","hashtag2"]},{"1396825750":["hashtag1","hashtag2"]},{"1396825744":["hashtag1","hashtag2"]},{"1396825747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396825746, 1396825749, 1396825748, 1396825750, 1396825744, 1396825747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16140627861023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:14:21.911297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/53/image_29112025_05_53_25_10833.jpg', '/home/pi/Desktop/images/29112025/05/53/image_29112025_05_53_34_9555.jpg', '/home/pi/Desktop/images/29112025/05/53/image_29112025_05_53_44_9798.jpg', '/home/pi/Desktop/images/29112025/05/53/image_29112025_05_53_54_9739.jpg', '/home/pi/Desktop/images/29112025/05/53/image_29112025_05_54_04_10647.jpg', '/home/pi/Desktop/images/29112025/05/54/image_29112025_05_54_14_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/53/image_29112025_05_53_25_10833.jpg
/home/pi/Desktop/images/29112025/05/53/image_29112025_05_53_34_9555.jpg
/home/pi/Desktop/images/29112025/05/53/image_29112025_05_53_44_9798.jpg
/home/pi/Desktop/images/29112025/05/53/image_29112025_05_53_54_9739.jpg
/home/pi/Desktop/images/29112025/05/53/image_29112025_05_54_04_10647.jpg
/home/pi/Desktop/images/29112025/05/54/image_29112025_05_54_14_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":["1396825764","1396825758","1396825760","1396825768","1396825753","1396825762"],"photo_ids_order":["1396825753","1396825758","1396825760","1396825762","1396825764","1396825768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/baf20a7fbb00be12822c2a196c384fd8.jpg","text":"TemporaryFile(/tmp/multipartBody2971922427404719155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393322682,"filename":"image_29112025_05_54_04_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8dc2ba0b3ad18b9eb5220c043a012353.jpg","text":"TemporaryFile(/tmp/multipartBody6025941949666695251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393322682,"filename":"image_29112025_05_53_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/11/29/d9a4cc044ff900229e588b872f0f536a.jpg","text":"TemporaryFile(/tmp/multipartBody6832774837913515525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393322682,"filename":"image_29112025_05_53_44_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1aa9100c3c1e6da106a9671c0f09cafe.jpg","text":"TemporaryFile(/tmp/multipartBody9105992988831846298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393322682,"filename":"image_29112025_05_54_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/11/29/e339016b9491cbc606d6f559af7c6deb.jpg","text":"TemporaryFile(/tmp/multipartBody8059633025136833049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393322682,"filename":"image_29112025_05_53_25_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a04c294f206858e205041ae5d461780.jpg","text":"TemporaryFile(/tmp/multipartBody7008814556523053830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393322682,"filename":"image_29112025_05_53_54_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825760","file1":"1396825758","file0":"1396825753","file4":"1396825764","file5":"1396825768","file3":"1396825762"},"map_files_photo_id_array":[{"photo_id":"1396825768","filename":"file5"},{"photo_id":"1396825760","filename":"file2"},{"photo_id":"1396825764","filename":"file4"},{"photo_id":"1396825758","filename":"file1"},{"photo_id":"1396825753","filename":"file0"},{"photo_id":"1396825762","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825764":["hashtag1","hashtag2"]},{"1396825758":["hashtag1","hashtag2"]},{"1396825760":["hashtag1","hashtag2"]},{"1396825768":["hashtag1","hashtag2"]},{"1396825753":["hashtag1","hashtag2"]},{"1396825762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825764, 1396825758, 1396825760, 1396825768, 1396825753, 1396825762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33279252052307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:15:02.834731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/54/image_29112025_05_54_25_10560.jpg', '/home/pi/Desktop/images/29112025/05/54/image_29112025_05_54_34_9556.jpg', '/home/pi/Desktop/images/29112025/05/54/image_29112025_05_54_44_9596.jpg', '/home/pi/Desktop/images/29112025/05/54/image_29112025_05_54_55_10711.jpg', '/home/pi/Desktop/images/29112025/05/54/image_29112025_05_55_04_9724.jpg', '/home/pi/Desktop/images/29112025/05/55/image_29112025_05_55_14_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/54/image_29112025_05_54_25_10560.jpg
/home/pi/Desktop/images/29112025/05/54/image_29112025_05_54_34_9556.jpg
/home/pi/Desktop/images/29112025/05/54/image_29112025_05_54_44_9596.jpg
/home/pi/Desktop/images/29112025/05/54/image_29112025_05_54_55_10711.jpg
/home/pi/Desktop/images/29112025/05/54/image_29112025_05_55_04_9724.jpg
/home/pi/Desktop/images/29112025/05/55/image_29112025_05_55_14_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825779","1396825770","1396825773","1396825775","1396825772","1396825771"],"photo_ids_order":["1396825770","1396825771","1396825772","1396825773","1396825775","1396825779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae31f2ee52c8adea9ed3649ae3066c75.jpg","text":"TemporaryFile(/tmp/multipartBody8250885388404815535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393363630,"filename":"image_29112025_05_55_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/11/29/e2e9407717549909d1345a92a5cc17be.jpg","text":"TemporaryFile(/tmp/multipartBody2587866015739719537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393363630,"filename":"image_29112025_05_54_25_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/addb0f79b39930941ab9a0d64685dcc5.jpg","text":"TemporaryFile(/tmp/multipartBody3225229674119297853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393363630,"filename":"image_29112025_05_54_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7257e71abe522dd2d95504a79c9f5d7.jpg","text":"TemporaryFile(/tmp/multipartBody8245582147687303805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393363630,"filename":"image_29112025_05_55_04_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8690a377af46539de3edab7bd873e86.jpg","text":"TemporaryFile(/tmp/multipartBody638545114512019352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393363630,"filename":"image_29112025_05_54_44_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d92c8421e043d22ae992f5601fb86004.jpg","text":"TemporaryFile(/tmp/multipartBody8889418971470331227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393363630,"filename":"image_29112025_05_54_34_9556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825772","file1":"1396825771","file0":"1396825770","file4":"1396825775","file5":"1396825779","file3":"1396825773"},"map_files_photo_id_array":[{"photo_id":"1396825779","filename":"file5"},{"photo_id":"1396825772","filename":"file2"},{"photo_id":"1396825775","filename":"file4"},{"photo_id":"1396825771","filename":"file1"},{"photo_id":"1396825770","filename":"file0"},{"photo_id":"1396825773","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825779":["hashtag1","hashtag2"]},{"1396825770":["hashtag1","hashtag2"]},{"1396825773":["hashtag1","hashtag2"]},{"1396825775":["hashtag1","hashtag2"]},{"1396825772":["hashtag1","hashtag2"]},{"1396825771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825779, 1396825770, 1396825773, 1396825775, 1396825772, 1396825771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09184145927429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:15:42.065862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_06_2775.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_09_2651.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_12_3624.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_15_2597.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_18_2685.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_21_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_06_2775.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_09_2651.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_12_3624.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_15_2597.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_18_2685.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_21_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825801","1396825800","1396825803","1396825799","1396825802","1396825797"],"photo_ids_order":["1396825797","1396825799","1396825800","1396825801","1396825802","1396825803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6251f72a22cf56063859e02184eeba59.jpg","text":"TemporaryFile(/tmp/multipartBody7849947855183931521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393403141,"filename":"image_31102025_08_50_15_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5842dafd48103f547990c4520188ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1346106393444785867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393403141,"filename":"image_31102025_08_50_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/11/29/230495d7f43a3471d40fe6acc2bd5380.jpg","text":"TemporaryFile(/tmp/multipartBody2053326027033756599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393403141,"filename":"image_31102025_08_50_21_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b6d5944ce947392ba6a30e17e62c9ca.jpg","text":"TemporaryFile(/tmp/multipartBody3888396236217399788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393403141,"filename":"image_31102025_08_50_09_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5be0537028c4197c6043bb8bb94aee6.jpg","text":"TemporaryFile(/tmp/multipartBody5242524699941516522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393403141,"filename":"image_31102025_08_50_18_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bee8237abb4d84f26eaf46c7cb6f0aac.jpg","text":"TemporaryFile(/tmp/multipartBody8044707359460078330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393403141,"filename":"image_31102025_08_50_06_2775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825800","file1":"1396825799","file0":"1396825797","file4":"1396825802","file5":"1396825803","file3":"1396825801"},"map_files_photo_id_array":[{"photo_id":"1396825803","filename":"file5"},{"photo_id":"1396825800","filename":"file2"},{"photo_id":"1396825802","filename":"file4"},{"photo_id":"1396825799","filename":"file1"},{"photo_id":"1396825797","filename":"file0"},{"photo_id":"1396825801","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396825801":["hashtag1","hashtag2"]},{"1396825800":["hashtag1","hashtag2"]},{"1396825803":["hashtag1","hashtag2"]},{"1396825799":["hashtag1","hashtag2"]},{"1396825802":["hashtag1","hashtag2"]},{"1396825797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396825801, 1396825800, 1396825803, 1396825799, 1396825802, 1396825797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8115553855896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:16:22.276625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/55/image_29112025_05_55_24_9830.jpg', '/home/pi/Desktop/images/29112025/05/55/image_29112025_05_55_34_10632.jpg', '/home/pi/Desktop/images/29112025/05/55/image_29112025_05_55_44_9872.jpg', '/home/pi/Desktop/images/29112025/05/55/image_29112025_05_55_54_9521.jpg', '/home/pi/Desktop/images/29112025/05/55/image_29112025_05_56_05_10824.jpg', '/home/pi/Desktop/images/29112025/05/56/image_29112025_05_56_14_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/55/image_29112025_05_55_24_9830.jpg
/home/pi/Desktop/images/29112025/05/55/image_29112025_05_55_34_10632.jpg
/home/pi/Desktop/images/29112025/05/55/image_29112025_05_55_44_9872.jpg
/home/pi/Desktop/images/29112025/05/55/image_29112025_05_55_54_9521.jpg
/home/pi/Desktop/images/29112025/05/55/image_29112025_05_56_05_10824.jpg
/home/pi/Desktop/images/29112025/05/56/image_29112025_05_56_14_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":["1396825806","1396825811","1396825814","1396825808","1396825816","1396825819"],"photo_ids_order":["1396825806","1396825808","1396825811","1396825814","1396825816","1396825819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ef9090a5bfa74518e4863ce840f2bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6234813450613098010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393443009,"filename":"image_29112025_05_55_24_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0f2a862be274467d7b76d2e6ad7e798.jpg","text":"TemporaryFile(/tmp/multipartBody1679467685469375304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393443009,"filename":"image_29112025_05_55_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/11/29/9ddf5bc0a3f49740b390e4d9d5a5e661.jpg","text":"TemporaryFile(/tmp/multipartBody3413208113455242291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393443009,"filename":"image_29112025_05_55_54_9521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e6b20a119aed147af883e1947585f05.jpg","text":"TemporaryFile(/tmp/multipartBody2997757358082737196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393443009,"filename":"image_29112025_05_55_34_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/098b3ff6698e6d44574ac0d5c4413301.jpg","text":"TemporaryFile(/tmp/multipartBody5661097663414257037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393443009,"filename":"image_29112025_05_56_05_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b90ae99dc0534eb369a2e3e3121db301.jpg","text":"TemporaryFile(/tmp/multipartBody907135917084812239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393443009,"filename":"image_29112025_05_56_14_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825811","file1":"1396825808","file0":"1396825806","file4":"1396825816","file5":"1396825819","file3":"1396825814"},"map_files_photo_id_array":[{"photo_id":"1396825819","filename":"file5"},{"photo_id":"1396825811","filename":"file2"},{"photo_id":"1396825816","filename":"file4"},{"photo_id":"1396825808","filename":"file1"},{"photo_id":"1396825806","filename":"file0"},{"photo_id":"1396825814","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825806":["hashtag1","hashtag2"]},{"1396825811":["hashtag1","hashtag2"]},{"1396825814":["hashtag1","hashtag2"]},{"1396825808":["hashtag1","hashtag2"]},{"1396825816":["hashtag1","hashtag2"]},{"1396825819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825806, 1396825811, 1396825814, 1396825808, 1396825816, 1396825819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.778403759002686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:17:03.046340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/56/image_29112025_05_56_24_9684.jpg', '/home/pi/Desktop/images/29112025/05/56/image_29112025_05_56_35_10657.jpg', '/home/pi/Desktop/images/29112025/05/56/image_29112025_05_56_44_9645.jpg', '/home/pi/Desktop/images/29112025/05/56/image_29112025_05_56_54_9698.jpg', '/home/pi/Desktop/images/29112025/05/56/image_29112025_05_57_05_10727.jpg', '/home/pi/Desktop/images/29112025/05/57/image_29112025_05_57_14_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/56/image_29112025_05_56_24_9684.jpg
/home/pi/Desktop/images/29112025/05/56/image_29112025_05_56_35_10657.jpg
/home/pi/Desktop/images/29112025/05/56/image_29112025_05_56_44_9645.jpg
/home/pi/Desktop/images/29112025/05/56/image_29112025_05_56_54_9698.jpg
/home/pi/Desktop/images/29112025/05/56/image_29112025_05_57_05_10727.jpg
/home/pi/Desktop/images/29112025/05/57/image_29112025_05_57_14_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":["1396825827","1396825832","1396825835","1396825829","1396825825","1396825828"],"photo_ids_order":["1396825825","1396825827","1396825828","1396825829","1396825832","1396825835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4141c1668f9575e0a71dcd861491bd72.jpg","text":"TemporaryFile(/tmp/multipartBody8523700405628512359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393483837,"filename":"image_29112025_05_56_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/11/29/076e430caee0d2036138bdeb3aacc460.jpg","text":"TemporaryFile(/tmp/multipartBody2851647584135651152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393483837,"filename":"image_29112025_05_57_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/11/29/4de77443a4b1c92306fc3c87e7e6df51.jpg","text":"TemporaryFile(/tmp/multipartBody5847893259636362472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393483837,"filename":"image_29112025_05_57_14_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50ed2cbcb97ecb45de74a3107ce37d8f.jpg","text":"TemporaryFile(/tmp/multipartBody9057471078896999600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393483837,"filename":"image_29112025_05_56_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/11/29/47aea10fe6b371a8571b050f98371183.jpg","text":"TemporaryFile(/tmp/multipartBody8597993173362303521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393483837,"filename":"image_29112025_05_56_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/11/29/e2a6479f114ba5055e0b5d02a0ee4388.jpg","text":"TemporaryFile(/tmp/multipartBody8958501595563899035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393483837,"filename":"image_29112025_05_56_44_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825828","file1":"1396825827","file0":"1396825825","file4":"1396825832","file5":"1396825835","file3":"1396825829"},"map_files_photo_id_array":[{"photo_id":"1396825835","filename":"file5"},{"photo_id":"1396825828","filename":"file2"},{"photo_id":"1396825832","filename":"file4"},{"photo_id":"1396825827","filename":"file1"},{"photo_id":"1396825825","filename":"file0"},{"photo_id":"1396825829","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825827":["hashtag1","hashtag2"]},{"1396825832":["hashtag1","hashtag2"]},{"1396825835":["hashtag1","hashtag2"]},{"1396825829":["hashtag1","hashtag2"]},{"1396825825":["hashtag1","hashtag2"]},{"1396825828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825827, 1396825832, 1396825835, 1396825829, 1396825825, 1396825828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44584560394287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:17:42.445803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_24_2580.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_27_2865.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_31_3718.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_33_2567.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_36_2621.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_39_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/08/50/image_31102025_08_50_24_2580.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_27_2865.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_31_3718.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_33_2567.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_36_2621.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_39_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":["1396825845","1396825848","1396825842","1396825844","1396825843","1396825846"],"photo_ids_order":["1396825842","1396825843","1396825844","1396825845","1396825846","1396825848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/643fd06cd23dce7c0574313551d7506b.jpg","text":"TemporaryFile(/tmp/multipartBody4985280867762807427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393523477,"filename":"image_31102025_08_50_33_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cfcf75ae272c0ba5649001d25b20f685.jpg","text":"TemporaryFile(/tmp/multipartBody2742916876642339283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393523477,"filename":"image_31102025_08_50_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/11/29/53578938e4bacb488ccc3a4c278f02e6.jpg","text":"TemporaryFile(/tmp/multipartBody8941624299292874268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393523477,"filename":"image_31102025_08_50_24_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/511b10effbf5f20e3fb62556ae4846b4.jpg","text":"TemporaryFile(/tmp/multipartBody7400107611436620906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393523477,"filename":"image_31102025_08_50_31_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbf7af37d92df2960a57ce021b3131fd.jpg","text":"TemporaryFile(/tmp/multipartBody3658788358536087891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393523477,"filename":"image_31102025_08_50_27_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0da9d78ad1dadd2d5c492b5fe2f15a36.jpg","text":"TemporaryFile(/tmp/multipartBody3460235583684959767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393523477,"filename":"image_31102025_08_50_36_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825844","file1":"1396825843","file0":"1396825842","file4":"1396825846","file5":"1396825848","file3":"1396825845"},"map_files_photo_id_array":[{"photo_id":"1396825848","filename":"file5"},{"photo_id":"1396825844","filename":"file2"},{"photo_id":"1396825846","filename":"file4"},{"photo_id":"1396825843","filename":"file1"},{"photo_id":"1396825842","filename":"file0"},{"photo_id":"1396825845","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396825845":["hashtag1","hashtag2"]},{"1396825848":["hashtag1","hashtag2"]},{"1396825842":["hashtag1","hashtag2"]},{"1396825844":["hashtag1","hashtag2"]},{"1396825843":["hashtag1","hashtag2"]},{"1396825846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396825845, 1396825848, 1396825842, 1396825844, 1396825843, 1396825846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89254665374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:18:22.691476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/57/image_29112025_05_57_24_9590.jpg', '/home/pi/Desktop/images/29112025/05/57/image_29112025_05_57_34_10514.jpg', '/home/pi/Desktop/images/29112025/05/57/image_29112025_05_57_44_9643.jpg', '/home/pi/Desktop/images/29112025/05/57/image_29112025_05_57_54_9715.jpg', '/home/pi/Desktop/images/29112025/05/58/image_29112025_05_58_14_9601.jpg', '/home/pi/Desktop/images/29112025/05/58/image_29112025_05_58_25_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/57/image_29112025_05_57_24_9590.jpg
/home/pi/Desktop/images/29112025/05/57/image_29112025_05_57_34_10514.jpg
/home/pi/Desktop/images/29112025/05/57/image_29112025_05_57_44_9643.jpg
/home/pi/Desktop/images/29112025/05/57/image_29112025_05_57_54_9715.jpg
/home/pi/Desktop/images/29112025/05/58/image_29112025_05_58_14_9601.jpg
/home/pi/Desktop/images/29112025/05/58/image_29112025_05_58_25_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":["1396825860","1396825865","1396825852","1396825861","1396825855","1396825858"],"photo_ids_order":["1396825852","1396825855","1396825858","1396825860","1396825861","1396825865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12a8315e51eec00a61e830a16d988b28.jpg","text":"TemporaryFile(/tmp/multipartBody7928902187464302433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393563408,"filename":"image_29112025_05_57_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fbda77727de01d238e00f9ac4896d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7324430920200298270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393563408,"filename":"image_29112025_05_58_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/11/29/7f532756e0e6fa0b11796162e8a7ce16.jpg","text":"TemporaryFile(/tmp/multipartBody3538179660617355181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393563408,"filename":"image_29112025_05_57_24_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5669b81a277395ad0b0196931aa249a7.jpg","text":"TemporaryFile(/tmp/multipartBody8705913692885521203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393563408,"filename":"image_29112025_05_58_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e07dc2f35e98ec7c16bf9486aa895e3.jpg","text":"TemporaryFile(/tmp/multipartBody7783448399610119619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393563408,"filename":"image_29112025_05_57_34_10514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf7fadf9586b1f8c07b2799e88ced7c1.jpg","text":"TemporaryFile(/tmp/multipartBody6019779573551316600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393563408,"filename":"image_29112025_05_57_44_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825858","file1":"1396825855","file0":"1396825852","file4":"1396825861","file5":"1396825865","file3":"1396825860"},"map_files_photo_id_array":[{"photo_id":"1396825865","filename":"file5"},{"photo_id":"1396825858","filename":"file2"},{"photo_id":"1396825861","filename":"file4"},{"photo_id":"1396825855","filename":"file1"},{"photo_id":"1396825852","filename":"file0"},{"photo_id":"1396825860","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825860":["hashtag1","hashtag2"]},{"1396825865":["hashtag1","hashtag2"]},{"1396825852":["hashtag1","hashtag2"]},{"1396825861":["hashtag1","hashtag2"]},{"1396825855":["hashtag1","hashtag2"]},{"1396825858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825860, 1396825865, 1396825852, 1396825861, 1396825855, 1396825858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.528783321380615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:19:03.641853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/58/image_29112025_05_58_34_9708.jpg', '/home/pi/Desktop/images/29112025/05/58/image_29112025_05_58_44_9756.jpg', '/home/pi/Desktop/images/29112025/05/58/image_29112025_05_58_54_9668.jpg', '/home/pi/Desktop/images/29112025/05/58/image_29112025_05_59_04_10634.jpg', '/home/pi/Desktop/images/29112025/05/59/image_29112025_05_59_14_9677.jpg', '/home/pi/Desktop/images/29112025/05/59/image_29112025_05_59_24_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/58/image_29112025_05_58_34_9708.jpg
/home/pi/Desktop/images/29112025/05/58/image_29112025_05_58_44_9756.jpg
/home/pi/Desktop/images/29112025/05/58/image_29112025_05_58_54_9668.jpg
/home/pi/Desktop/images/29112025/05/58/image_29112025_05_59_04_10634.jpg
/home/pi/Desktop/images/29112025/05/59/image_29112025_05_59_14_9677.jpg
/home/pi/Desktop/images/29112025/05/59/image_29112025_05_59_24_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":["1396825909","1396825889","1396825880","1396825888","1396825903","1396825912"],"photo_ids_order":["1396825880","1396825888","1396825889","1396825903","1396825909","1396825912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af41e5f975e3191a2190e8cb33e77ea4.jpg","text":"TemporaryFile(/tmp/multipartBody68409821310670519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393604630,"filename":"image_29112025_05_59_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d707beb37d8ac16ca91ebd36cd73ac01.jpg","text":"TemporaryFile(/tmp/multipartBody4778603394964786310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393604630,"filename":"image_29112025_05_58_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/11/29/13793da854a420db79828400b7bacc1f.jpg","text":"TemporaryFile(/tmp/multipartBody9088603530175777588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393604630,"filename":"image_29112025_05_58_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5efc9a6bea5f072ec3f92ca0e2b09f0a.jpg","text":"TemporaryFile(/tmp/multipartBody6980900368788436290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393604630,"filename":"image_29112025_05_58_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7922264eec0b75f3a5acad1efd79559.jpg","text":"TemporaryFile(/tmp/multipartBody2902224200898436456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393604630,"filename":"image_29112025_05_59_04_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89fa05abe7c3e9c1cded001ab72f8c4c.jpg","text":"TemporaryFile(/tmp/multipartBody5600586911681411016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393604630,"filename":"image_29112025_05_59_24_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825889","file1":"1396825888","file0":"1396825880","file4":"1396825909","file5":"1396825912","file3":"1396825903"},"map_files_photo_id_array":[{"photo_id":"1396825912","filename":"file5"},{"photo_id":"1396825889","filename":"file2"},{"photo_id":"1396825909","filename":"file4"},{"photo_id":"1396825888","filename":"file1"},{"photo_id":"1396825880","filename":"file0"},{"photo_id":"1396825903","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825909":["hashtag1","hashtag2"]},{"1396825889":["hashtag1","hashtag2"]},{"1396825880":["hashtag1","hashtag2"]},{"1396825888":["hashtag1","hashtag2"]},{"1396825903":["hashtag1","hashtag2"]},{"1396825912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825909, 1396825889, 1396825880, 1396825888, 1396825903, 1396825912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33736991882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:19:42.751876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_42_2714.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_45_2569.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_48_3685.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_51_2788.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_54_2775.jpg', '/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_57_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_42_2714.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_45_2569.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_48_3685.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_51_2788.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_54_2775.jpg
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_50_57_3546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825920","1396825923","1396825922","1396825921","1396825924","1396825918"],"photo_ids_order":["1396825918","1396825920","1396825921","1396825922","1396825923","1396825924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/718ba50d19b330d298470c31abd5d970.jpg","text":"TemporaryFile(/tmp/multipartBody6358051087507148193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393643784,"filename":"image_31102025_08_50_45_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d045b5cab97880e6ba5f6b38730618d.jpg","text":"TemporaryFile(/tmp/multipartBody4779500389428030451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393643784,"filename":"image_31102025_08_50_54_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae9e41558c68824db9102c366ed11b28.jpg","text":"TemporaryFile(/tmp/multipartBody4733496485652867947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393643784,"filename":"image_31102025_08_50_51_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d9fc37c21e5b384bc59f85ac903e2df.jpg","text":"TemporaryFile(/tmp/multipartBody4468557232825435124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393643784,"filename":"image_31102025_08_50_48_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4adef8eb77b56e8ab0d905611dd587c7.jpg","text":"TemporaryFile(/tmp/multipartBody9156697981613503365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393643784,"filename":"image_31102025_08_50_57_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/565047291876fdb761a80a300bcfb727.jpg","text":"TemporaryFile(/tmp/multipartBody1125548905891745836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393643784,"filename":"image_31102025_08_50_42_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825921","file1":"1396825920","file0":"1396825918","file4":"1396825923","file5":"1396825924","file3":"1396825922"},"map_files_photo_id_array":[{"photo_id":"1396825924","filename":"file5"},{"photo_id":"1396825921","filename":"file2"},{"photo_id":"1396825923","filename":"file4"},{"photo_id":"1396825920","filename":"file1"},{"photo_id":"1396825918","filename":"file0"},{"photo_id":"1396825922","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396825920":["hashtag1","hashtag2"]},{"1396825923":["hashtag1","hashtag2"]},{"1396825922":["hashtag1","hashtag2"]},{"1396825921":["hashtag1","hashtag2"]},{"1396825924":["hashtag1","hashtag2"]},{"1396825918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396825920, 1396825923, 1396825922, 1396825921, 1396825924, 1396825918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33295559883118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:20:21.929577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/05/59/image_29112025_05_59_34_10570.jpg', '/home/pi/Desktop/images/29112025/05/59/image_29112025_05_59_44_9649.jpg', '/home/pi/Desktop/images/29112025/05/59/image_29112025_06_00_05_10788.jpg', '/home/pi/Desktop/images/29112025/06/00/image_29112025_06_00_14_9773.jpg', '/home/pi/Desktop/images/29112025/06/00/image_29112025_06_00_24_9753.jpg', '/home/pi/Desktop/images/29112025/06/00/image_29112025_06_00_35_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/05/59/image_29112025_05_59_34_10570.jpg
/home/pi/Desktop/images/29112025/05/59/image_29112025_05_59_44_9649.jpg
/home/pi/Desktop/images/29112025/05/59/image_29112025_06_00_05_10788.jpg
/home/pi/Desktop/images/29112025/06/00/image_29112025_06_00_14_9773.jpg
/home/pi/Desktop/images/29112025/06/00/image_29112025_06_00_24_9753.jpg
/home/pi/Desktop/images/29112025/06/00/image_29112025_06_00_35_10602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825937","1396825931","1396825934","1396825928","1396825942","1396825939"],"photo_ids_order":["1396825928","1396825931","1396825934","1396825937","1396825939","1396825942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25f299721d555a7350a580a20b2d6060.jpg","text":"TemporaryFile(/tmp/multipartBody6156334855657379318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393682664,"filename":"image_29112025_06_00_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/11/29/f989ba5acb708879cf78fac97de3ee94.jpg","text":"TemporaryFile(/tmp/multipartBody3360571107981755312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393682664,"filename":"image_29112025_05_59_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/11/29/b84fb08308b6345de5a6b194ecd2b93a.jpg","text":"TemporaryFile(/tmp/multipartBody5510138262002348644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393682664,"filename":"image_29112025_06_00_05_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1107dcc727259775a6c63b87f8c55ea1.jpg","text":"TemporaryFile(/tmp/multipartBody3929548209673188234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393682664,"filename":"image_29112025_05_59_34_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85e850d9c1a81c077b58642a79cd08a1.jpg","text":"TemporaryFile(/tmp/multipartBody2538814041051768569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393682664,"filename":"image_29112025_06_00_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/11/29/6b80116c2d973436ea6d09aa4837ae40.jpg","text":"TemporaryFile(/tmp/multipartBody4622714626080531462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393682664,"filename":"image_29112025_06_00_24_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825934","file1":"1396825931","file0":"1396825928","file4":"1396825939","file5":"1396825942","file3":"1396825937"},"map_files_photo_id_array":[{"photo_id":"1396825942","filename":"file5"},{"photo_id":"1396825934","filename":"file2"},{"photo_id":"1396825939","filename":"file4"},{"photo_id":"1396825931","filename":"file1"},{"photo_id":"1396825928","filename":"file0"},{"photo_id":"1396825937","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825937":["hashtag1","hashtag2"]},{"1396825931":["hashtag1","hashtag2"]},{"1396825934":["hashtag1","hashtag2"]},{"1396825928":["hashtag1","hashtag2"]},{"1396825942":["hashtag1","hashtag2"]},{"1396825939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825937, 1396825931, 1396825934, 1396825928, 1396825942, 1396825939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68391299247742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:21:02.960212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/00/image_29112025_06_00_44_9770.jpg', '/home/pi/Desktop/images/29112025/06/00/image_29112025_06_00_54_9604.jpg', '/home/pi/Desktop/images/29112025/06/00/image_29112025_06_01_05_10660.jpg', '/home/pi/Desktop/images/29112025/06/01/image_29112025_06_01_14_9618.jpg', '/home/pi/Desktop/images/29112025/06/01/image_29112025_06_01_24_9809.jpg', '/home/pi/Desktop/images/29112025/06/01/image_29112025_06_01_34_9988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/00/image_29112025_06_00_44_9770.jpg
/home/pi/Desktop/images/29112025/06/00/image_29112025_06_00_54_9604.jpg
/home/pi/Desktop/images/29112025/06/00/image_29112025_06_01_05_10660.jpg
/home/pi/Desktop/images/29112025/06/01/image_29112025_06_01_14_9618.jpg
/home/pi/Desktop/images/29112025/06/01/image_29112025_06_01_24_9809.jpg
/home/pi/Desktop/images/29112025/06/01/image_29112025_06_01_34_9988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825950","1396825947","1396825955","1396825946","1396825948","1396825945"],"photo_ids_order":["1396825945","1396825946","1396825947","1396825948","1396825950","1396825955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a54949242016709b91cc9b5a2d62bde.jpg","text":"TemporaryFile(/tmp/multipartBody4290898589843531642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393723759,"filename":"image_29112025_06_01_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/11/29/c12fc7e66177b1216a4ce987aae19b66.jpg","text":"TemporaryFile(/tmp/multipartBody3481633758894277366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393723759,"filename":"image_29112025_06_01_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba83466d5a98331e580b8951e786f154.jpg","text":"TemporaryFile(/tmp/multipartBody2467914244744488041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393723759,"filename":"image_29112025_06_01_34_9988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d3ce1a7ce92f938b3ff49f361dd42f8.jpg","text":"TemporaryFile(/tmp/multipartBody8912657486961883971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393723759,"filename":"image_29112025_06_00_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1abdf11af4e31cf78f722054c8e8f237.jpg","text":"TemporaryFile(/tmp/multipartBody6369368080974185264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393723759,"filename":"image_29112025_06_01_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/11/29/1e4d2da68c57383ac5ab3e408ca43abe.jpg","text":"TemporaryFile(/tmp/multipartBody4525050423960725092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393723759,"filename":"image_29112025_06_00_44_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825947","file1":"1396825946","file0":"1396825945","file4":"1396825950","file5":"1396825955","file3":"1396825948"},"map_files_photo_id_array":[{"photo_id":"1396825955","filename":"file5"},{"photo_id":"1396825947","filename":"file2"},{"photo_id":"1396825950","filename":"file4"},{"photo_id":"1396825946","filename":"file1"},{"photo_id":"1396825945","filename":"file0"},{"photo_id":"1396825948","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825950":["hashtag1","hashtag2"]},{"1396825947":["hashtag1","hashtag2"]},{"1396825955":["hashtag1","hashtag2"]},{"1396825946":["hashtag1","hashtag2"]},{"1396825948":["hashtag1","hashtag2"]},{"1396825945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825950, 1396825947, 1396825955, 1396825946, 1396825948, 1396825945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.976298809051514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:21:42.194340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/50/image_31102025_08_51_00_2675.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_03_2731.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_06_2692.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_09_3688.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_12_2656.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_15_2874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/50/image_31102025_08_51_00_2675.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_03_2731.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_06_2692.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_09_3688.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_12_2656.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_15_2874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396825965","1396825968","1396825967","1396825966","1396825969","1396825963"],"photo_ids_order":["1396825963","1396825965","1396825966","1396825967","1396825968","1396825969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27f27fed70458884ee9536fed1d0997d.jpg","text":"TemporaryFile(/tmp/multipartBody5122937664538131297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393763276,"filename":"image_31102025_08_51_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/11/29/9021314270e848931fcdc43ea5b0ea0f.jpg","text":"TemporaryFile(/tmp/multipartBody7442338206420367355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393763276,"filename":"image_31102025_08_51_12_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d75397585f264d7cbb65e1055de61ed.jpg","text":"TemporaryFile(/tmp/multipartBody8094297857800906002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393763276,"filename":"image_31102025_08_51_09_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0eb84910f22d620484ef15b1db90ada2.jpg","text":"TemporaryFile(/tmp/multipartBody4361464369201197192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393763276,"filename":"image_31102025_08_51_06_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ec883053a312ef8fea9f0713bbb7159.jpg","text":"TemporaryFile(/tmp/multipartBody1398946792528878717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393763276,"filename":"image_31102025_08_51_15_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e83b2123e9b15c0e337432123e8242a.jpg","text":"TemporaryFile(/tmp/multipartBody7045117794692933710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393763276,"filename":"image_31102025_08_51_00_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825966","file1":"1396825965","file0":"1396825963","file4":"1396825968","file5":"1396825969","file3":"1396825967"},"map_files_photo_id_array":[{"photo_id":"1396825969","filename":"file5"},{"photo_id":"1396825966","filename":"file2"},{"photo_id":"1396825968","filename":"file4"},{"photo_id":"1396825965","filename":"file1"},{"photo_id":"1396825963","filename":"file0"},{"photo_id":"1396825967","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396825965":["hashtag1","hashtag2"]},{"1396825968":["hashtag1","hashtag2"]},{"1396825967":["hashtag1","hashtag2"]},{"1396825966":["hashtag1","hashtag2"]},{"1396825969":["hashtag1","hashtag2"]},{"1396825963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396825965, 1396825968, 1396825967, 1396825966, 1396825969, 1396825963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.684471130371094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:22:22.439194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/01/image_29112025_06_01_44_9664.jpg', '/home/pi/Desktop/images/29112025/06/01/image_29112025_06_01_54_10593.jpg', '/home/pi/Desktop/images/29112025/06/01/image_29112025_06_02_04_9841.jpg', '/home/pi/Desktop/images/29112025/06/02/image_29112025_06_02_14_9679.jpg', '/home/pi/Desktop/images/29112025/06/02/image_29112025_06_02_25_10736.jpg', '/home/pi/Desktop/images/29112025/06/02/image_29112025_06_02_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/01/image_29112025_06_01_44_9664.jpg
/home/pi/Desktop/images/29112025/06/01/image_29112025_06_01_54_10593.jpg
/home/pi/Desktop/images/29112025/06/01/image_29112025_06_02_04_9841.jpg
/home/pi/Desktop/images/29112025/06/02/image_29112025_06_02_14_9679.jpg
/home/pi/Desktop/images/29112025/06/02/image_29112025_06_02_25_10736.jpg
/home/pi/Desktop/images/29112025/06/02/image_29112025_06_02_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":["1396825973","1396825982","1396825976","1396825984","1396825978","1396825980"],"photo_ids_order":["1396825973","1396825976","1396825978","1396825980","1396825982","1396825984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3aac560aa91645df4a24c41f2ba86a7b.jpg","text":"TemporaryFile(/tmp/multipartBody2942971249598740983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393803195,"filename":"image_29112025_06_01_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/11/29/b1b78df78f43b1fc32d4aceb268828e6.jpg","text":"TemporaryFile(/tmp/multipartBody262700373813646402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393803195,"filename":"image_29112025_06_02_25_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c71133f46099403b7b33e7520cd7e96d.jpg","text":"TemporaryFile(/tmp/multipartBody3689803316874552769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393803195,"filename":"image_29112025_06_01_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/11/29/55450ea87b0a292bd0a44a284e8f6ddc.jpg","text":"TemporaryFile(/tmp/multipartBody3893890418075110239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393803195,"filename":"image_29112025_06_02_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/11/29/07bfa3df3bba3b016610daccbf0cade3.jpg","text":"TemporaryFile(/tmp/multipartBody6954984469445666577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393803195,"filename":"image_29112025_06_02_04_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c708c414bf17f78a6923e9d7e26ec938.jpg","text":"TemporaryFile(/tmp/multipartBody6576405762549149624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393803195,"filename":"image_29112025_06_02_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825978","file1":"1396825976","file0":"1396825973","file4":"1396825982","file5":"1396825984","file3":"1396825980"},"map_files_photo_id_array":[{"photo_id":"1396825984","filename":"file5"},{"photo_id":"1396825978","filename":"file2"},{"photo_id":"1396825982","filename":"file4"},{"photo_id":"1396825976","filename":"file1"},{"photo_id":"1396825973","filename":"file0"},{"photo_id":"1396825980","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825973":["hashtag1","hashtag2"]},{"1396825982":["hashtag1","hashtag2"]},{"1396825976":["hashtag1","hashtag2"]},{"1396825984":["hashtag1","hashtag2"]},{"1396825978":["hashtag1","hashtag2"]},{"1396825980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825973, 1396825982, 1396825976, 1396825984, 1396825978, 1396825980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51991891860962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:23:03.162636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/02/image_29112025_06_02_44_9568.jpg', '/home/pi/Desktop/images/29112025/06/02/image_29112025_06_02_54_10639.jpg', '/home/pi/Desktop/images/29112025/06/02/image_29112025_06_03_04_9827.jpg', '/home/pi/Desktop/images/29112025/06/03/image_29112025_06_03_14_9633.jpg', '/home/pi/Desktop/images/29112025/06/03/image_29112025_06_03_25_10635.jpg', '/home/pi/Desktop/images/29112025/06/03/image_29112025_06_03_34_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/02/image_29112025_06_02_44_9568.jpg
/home/pi/Desktop/images/29112025/06/02/image_29112025_06_02_54_10639.jpg
/home/pi/Desktop/images/29112025/06/02/image_29112025_06_03_04_9827.jpg
/home/pi/Desktop/images/29112025/06/03/image_29112025_06_03_14_9633.jpg
/home/pi/Desktop/images/29112025/06/03/image_29112025_06_03_25_10635.jpg
/home/pi/Desktop/images/29112025/06/03/image_29112025_06_03_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":["1396825986","1396825991","1396825985","1396825988","1396825987","1396825995"],"photo_ids_order":["1396825985","1396825986","1396825987","1396825988","1396825991","1396825995"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d583732566c167217fd559434f3c5426.jpg","text":"TemporaryFile(/tmp/multipartBody7343285043568883099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393843996,"filename":"image_29112025_06_02_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/11/29/a1c98c9641d0b629f5bc75b8da535828.jpg","text":"TemporaryFile(/tmp/multipartBody4971461240406452171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393843996,"filename":"image_29112025_06_03_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/11/29/86426f81180aa3e5c175745c8c846386.jpg","text":"TemporaryFile(/tmp/multipartBody5505223390153589907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393843996,"filename":"image_29112025_06_02_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/11/29/b057f695620e2eca8b25643fdeafa384.jpg","text":"TemporaryFile(/tmp/multipartBody4860736834769562716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393843996,"filename":"image_29112025_06_03_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/11/29/aa8ee8ecaba3af4c902af3dbb9fa6c4a.jpg","text":"TemporaryFile(/tmp/multipartBody3431612388289344760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393843996,"filename":"image_29112025_06_03_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/11/29/114dbe91c3d1acc4947007572168aee8.jpg","text":"TemporaryFile(/tmp/multipartBody5305939650719975366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393843996,"filename":"image_29112025_06_03_34_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396825987","file1":"1396825986","file0":"1396825985","file4":"1396825991","file5":"1396825995","file3":"1396825988"},"map_files_photo_id_array":[{"photo_id":"1396825995","filename":"file5"},{"photo_id":"1396825987","filename":"file2"},{"photo_id":"1396825991","filename":"file4"},{"photo_id":"1396825986","filename":"file1"},{"photo_id":"1396825985","filename":"file0"},{"photo_id":"1396825988","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396825986":["hashtag1","hashtag2"]},{"1396825991":["hashtag1","hashtag2"]},{"1396825985":["hashtag1","hashtag2"]},{"1396825988":["hashtag1","hashtag2"]},{"1396825987":["hashtag1","hashtag2"]},{"1396825995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396825986, 1396825991, 1396825985, 1396825988, 1396825987, 1396825995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43878126144409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:23:42.476088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_18_3679.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_21_2623.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_24_2749.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_27_3669.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_30_2547.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_33_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_18_3679.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_21_2623.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_24_2749.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_27_3669.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_30_2547.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_33_2735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826046","1396826040","1396826016","1396826047","1396826014","1396826044"],"photo_ids_order":["1396826014","1396826016","1396826040","1396826044","1396826046","1396826047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10c8594c2a02ce7aae29c7839366713f.jpg","text":"TemporaryFile(/tmp/multipartBody8095517860269343056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393883533,"filename":"image_31102025_08_51_30_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3f52f220281039ebaac293dca08ba77.jpg","text":"TemporaryFile(/tmp/multipartBody4644492328659501296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393883533,"filename":"image_31102025_08_51_24_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62c33edf85ad0836153dfda6ddfc5a4b.jpg","text":"TemporaryFile(/tmp/multipartBody8656910563228755694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393883533,"filename":"image_31102025_08_51_21_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e914603ee8983ed2fd90f7724a52fe89.jpg","text":"TemporaryFile(/tmp/multipartBody6621619684234123926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393883533,"filename":"image_31102025_08_51_33_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55c4e3842cb78fae50e34a5bef48c622.jpg","text":"TemporaryFile(/tmp/multipartBody8440771113831672336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393883533,"filename":"image_31102025_08_51_18_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7de3b65198398d5331048e70790ad50c.jpg","text":"TemporaryFile(/tmp/multipartBody8960211654577649682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393883533,"filename":"image_31102025_08_51_27_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826040","file1":"1396826016","file0":"1396826014","file4":"1396826046","file5":"1396826047","file3":"1396826044"},"map_files_photo_id_array":[{"photo_id":"1396826047","filename":"file5"},{"photo_id":"1396826040","filename":"file2"},{"photo_id":"1396826046","filename":"file4"},{"photo_id":"1396826016","filename":"file1"},{"photo_id":"1396826014","filename":"file0"},{"photo_id":"1396826044","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826046":["hashtag1","hashtag2"]},{"1396826040":["hashtag1","hashtag2"]},{"1396826016":["hashtag1","hashtag2"]},{"1396826047":["hashtag1","hashtag2"]},{"1396826014":["hashtag1","hashtag2"]},{"1396826044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826046, 1396826040, 1396826016, 1396826047, 1396826014, 1396826044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.522634506225586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:24:22.653172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/03/image_29112025_06_03_44_9634.jpg', '/home/pi/Desktop/images/29112025/06/03/image_29112025_06_03_55_10677.jpg', '/home/pi/Desktop/images/29112025/06/04/image_29112025_06_04_14_9636.jpg', '/home/pi/Desktop/images/29112025/06/04/image_29112025_06_04_25_10743.jpg', '/home/pi/Desktop/images/29112025/06/04/image_29112025_06_04_44_9743.jpg', '/home/pi/Desktop/images/29112025/06/05/image_29112025_06_05_14_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/03/image_29112025_06_03_44_9634.jpg
/home/pi/Desktop/images/29112025/06/03/image_29112025_06_03_55_10677.jpg
/home/pi/Desktop/images/29112025/06/04/image_29112025_06_04_14_9636.jpg
/home/pi/Desktop/images/29112025/06/04/image_29112025_06_04_25_10743.jpg
/home/pi/Desktop/images/29112025/06/04/image_29112025_06_04_44_9743.jpg
/home/pi/Desktop/images/29112025/06/05/image_29112025_06_05_14_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826054","1396826063","1396826051","1396826059","1396826056","1396826061"],"photo_ids_order":["1396826051","1396826054","1396826056","1396826059","1396826061","1396826063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6f8bd4156c60a60981cc417947c6f41.jpg","text":"TemporaryFile(/tmp/multipartBody7476684561027939549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393923406,"filename":"image_29112025_06_03_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/11/29/abb1671fdf22db91bce77ccc90df4341.jpg","text":"TemporaryFile(/tmp/multipartBody1504746304367789126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393923406,"filename":"image_29112025_06_05_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09830bfd43cc0ff1e3c9d0b9cff5b8bc.jpg","text":"TemporaryFile(/tmp/multipartBody4573573006708826543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393923406,"filename":"image_29112025_06_03_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee87450ceb2ee0cf9154a83f98bee1e9.jpg","text":"TemporaryFile(/tmp/multipartBody4548596248341959237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393923406,"filename":"image_29112025_06_04_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/11/29/f8d98b2732f38884bb21683b40a6afce.jpg","text":"TemporaryFile(/tmp/multipartBody621375847141761869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393923406,"filename":"image_29112025_06_04_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/11/29/c4ec4fac20b14fc1d7e1afe6a1977f0d.jpg","text":"TemporaryFile(/tmp/multipartBody7425668422077521797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393923406,"filename":"image_29112025_06_04_44_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826056","file1":"1396826054","file0":"1396826051","file4":"1396826061","file5":"1396826063","file3":"1396826059"},"map_files_photo_id_array":[{"photo_id":"1396826063","filename":"file5"},{"photo_id":"1396826056","filename":"file2"},{"photo_id":"1396826061","filename":"file4"},{"photo_id":"1396826054","filename":"file1"},{"photo_id":"1396826051","filename":"file0"},{"photo_id":"1396826059","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826054":["hashtag1","hashtag2"]},{"1396826063":["hashtag1","hashtag2"]},{"1396826051":["hashtag1","hashtag2"]},{"1396826059":["hashtag1","hashtag2"]},{"1396826056":["hashtag1","hashtag2"]},{"1396826061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826054, 1396826063, 1396826051, 1396826059, 1396826056, 1396826061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.591763973236084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:25:02.555205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/05/image_29112025_06_05_54_9832.jpg', '/home/pi/Desktop/images/29112025/06/05/image_29112025_06_06_04_9882.jpg', '/home/pi/Desktop/images/29112025/06/06/image_29112025_06_06_14_9718.jpg', '/home/pi/Desktop/images/29112025/06/06/image_29112025_06_06_25_10788.jpg', '/home/pi/Desktop/images/29112025/06/06/image_29112025_06_06_34_9698.jpg', '/home/pi/Desktop/images/29112025/06/06/image_29112025_06_06_44_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/05/image_29112025_06_05_54_9832.jpg
/home/pi/Desktop/images/29112025/06/05/image_29112025_06_06_04_9882.jpg
/home/pi/Desktop/images/29112025/06/06/image_29112025_06_06_14_9718.jpg
/home/pi/Desktop/images/29112025/06/06/image_29112025_06_06_25_10788.jpg
/home/pi/Desktop/images/29112025/06/06/image_29112025_06_06_34_9698.jpg
/home/pi/Desktop/images/29112025/06/06/image_29112025_06_06_44_9563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826067","1396826066","1396826065","1396826074","1396826068","1396826070"],"photo_ids_order":["1396826065","1396826066","1396826067","1396826068","1396826070","1396826074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1cd25460f8f1ef05f0deef87fcc734b.jpg","text":"TemporaryFile(/tmp/multipartBody5424488530543771056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393963481,"filename":"image_29112025_06_06_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/11/29/af692d98c5c045cc38115be9f531af78.jpg","text":"TemporaryFile(/tmp/multipartBody9050019132631257636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393963481,"filename":"image_29112025_06_06_04_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a619444944543c664925b11780d07007.jpg","text":"TemporaryFile(/tmp/multipartBody5249967813388236207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393963481,"filename":"image_29112025_06_05_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/11/29/9befa29bde65f19da7594f56fc5f24ca.jpg","text":"TemporaryFile(/tmp/multipartBody4085817583614964719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393963481,"filename":"image_29112025_06_06_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c43d99fdecb416ca1727fc7ac1684fd3.jpg","text":"TemporaryFile(/tmp/multipartBody3168733808713535131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393963481,"filename":"image_29112025_06_06_25_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2c88b0f3345f21379333613221c44f2.jpg","text":"TemporaryFile(/tmp/multipartBody6350444063607211668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764393963481,"filename":"image_29112025_06_06_34_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826067","file1":"1396826066","file0":"1396826065","file4":"1396826070","file5":"1396826074","file3":"1396826068"},"map_files_photo_id_array":[{"photo_id":"1396826074","filename":"file5"},{"photo_id":"1396826067","filename":"file2"},{"photo_id":"1396826070","filename":"file4"},{"photo_id":"1396826066","filename":"file1"},{"photo_id":"1396826065","filename":"file0"},{"photo_id":"1396826068","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826067":["hashtag1","hashtag2"]},{"1396826066":["hashtag1","hashtag2"]},{"1396826065":["hashtag1","hashtag2"]},{"1396826074":["hashtag1","hashtag2"]},{"1396826068":["hashtag1","hashtag2"]},{"1396826070":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826067, 1396826066, 1396826065, 1396826074, 1396826068, 1396826070)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.20413517951965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:26:02.689954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/06/image_29112025_06_06_55_10668.jpg', '/home/pi/Desktop/images/29112025/06/06/image_29112025_06_07_05_9922.jpg', '/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_14_9680.jpg', '/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_24_9624.jpg', '/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_35_10656.jpg', '/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_44_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/06/image_29112025_06_06_55_10668.jpg
/home/pi/Desktop/images/29112025/06/06/image_29112025_06_07_05_9922.jpg
/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_14_9680.jpg
/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_24_9624.jpg
/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_35_10656.jpg
/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_44_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":["1396826090","1396826084","1396826087","1396826083","1396826082","1396826085"],"photo_ids_order":["1396826082","1396826083","1396826084","1396826085","1396826087","1396826090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a49bd91f9d3e287945e4fcbd94dd6be.jpg","text":"TemporaryFile(/tmp/multipartBody399578002470977343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394023458,"filename":"image_29112025_06_07_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/11/29/0c953381c2e3c48f5a636ef84b38233e.jpg","text":"TemporaryFile(/tmp/multipartBody5144218533291245712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394023458,"filename":"image_29112025_06_07_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/11/29/25e18b4443cd6593c5a4731a3d19ba09.jpg","text":"TemporaryFile(/tmp/multipartBody5981578501646745769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394023458,"filename":"image_29112025_06_07_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/11/29/72ae685f2769c775d1a20d1ef65612a8.jpg","text":"TemporaryFile(/tmp/multipartBody6600604299159355886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394023458,"filename":"image_29112025_06_07_05_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d97b36248d01cc7d1e935b68882f265b.jpg","text":"TemporaryFile(/tmp/multipartBody3688363714062878753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394023458,"filename":"image_29112025_06_06_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02f747559fff1510297a0527bf2d7c8f.jpg","text":"TemporaryFile(/tmp/multipartBody9184791863993141695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394023458,"filename":"image_29112025_06_07_24_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826084","file1":"1396826083","file0":"1396826082","file4":"1396826087","file5":"1396826090","file3":"1396826085"},"map_files_photo_id_array":[{"photo_id":"1396826090","filename":"file5"},{"photo_id":"1396826084","filename":"file2"},{"photo_id":"1396826087","filename":"file4"},{"photo_id":"1396826083","filename":"file1"},{"photo_id":"1396826082","filename":"file0"},{"photo_id":"1396826085","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826090":["hashtag1","hashtag2"]},{"1396826084":["hashtag1","hashtag2"]},{"1396826087":["hashtag1","hashtag2"]},{"1396826083":["hashtag1","hashtag2"]},{"1396826082":["hashtag1","hashtag2"]},{"1396826085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826090, 1396826084, 1396826087, 1396826083, 1396826082, 1396826085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2341034412384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:26:42.092268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_36_3576.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_39_2646.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_42_2568.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_45_3831.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_48_2673.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_51_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_36_3576.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_39_2646.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_42_2568.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_45_3831.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_48_2673.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_51_2715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826106","1396826099","1396826102","1396826101","1396826104","1396826097"],"photo_ids_order":["1396826097","1396826099","1396826101","1396826102","1396826104","1396826106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6aef15450764e19b492b6cbbbb2e082c.jpg","text":"TemporaryFile(/tmp/multipartBody3964911158088543899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394063202,"filename":"image_31102025_08_51_51_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f4517eee695e100b066c91cd975e236.jpg","text":"TemporaryFile(/tmp/multipartBody8495458359062008875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394063202,"filename":"image_31102025_08_51_39_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6862ce5af2bb51ea9ce186078438d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3029390364393067322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394063202,"filename":"image_31102025_08_51_45_3831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d323b51a807ed32b6ff97d884714734d.jpg","text":"TemporaryFile(/tmp/multipartBody6915527578922323625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394063202,"filename":"image_31102025_08_51_42_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bc553b94e2b8c11e2fbea8f736be63e.jpg","text":"TemporaryFile(/tmp/multipartBody8299577091361937404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394063202,"filename":"image_31102025_08_51_48_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/929f4153ca076d3542f6f5da8d1b006f.jpg","text":"TemporaryFile(/tmp/multipartBody1165624841506540260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394063202,"filename":"image_31102025_08_51_36_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826101","file1":"1396826099","file0":"1396826097","file4":"1396826104","file5":"1396826106","file3":"1396826102"},"map_files_photo_id_array":[{"photo_id":"1396826106","filename":"file5"},{"photo_id":"1396826101","filename":"file2"},{"photo_id":"1396826104","filename":"file4"},{"photo_id":"1396826099","filename":"file1"},{"photo_id":"1396826097","filename":"file0"},{"photo_id":"1396826102","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826106":["hashtag1","hashtag2"]},{"1396826099":["hashtag1","hashtag2"]},{"1396826102":["hashtag1","hashtag2"]},{"1396826101":["hashtag1","hashtag2"]},{"1396826104":["hashtag1","hashtag2"]},{"1396826097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826106, 1396826099, 1396826102, 1396826101, 1396826104, 1396826097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21054553985596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:27:22.251514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_54_9769.jpg', '/home/pi/Desktop/images/29112025/06/07/image_29112025_06_08_04_9838.jpg', '/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_14_9860.jpg', '/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_25_10793.jpg', '/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_34_9776.jpg', '/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_44_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_54_9769.jpg
/home/pi/Desktop/images/29112025/06/07/image_29112025_06_08_04_9838.jpg
/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_14_9860.jpg
/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_25_10793.jpg
/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_34_9776.jpg
/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_44_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.6559391021728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 06:27:32.322267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_11_3631.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_13_2642.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_16_2836.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_20_3556.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_22_2656.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_26_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_11_3631.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_13_2642.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_16_2836.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_20_3556.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_22_2656.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_26_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":["1396826127","1396826121","1396826129","1396826117","1396826128","1396826125"],"photo_ids_order":["1396826117","1396826121","1396826125","1396826127","1396826128","1396826129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0871f40b17a79cfea14cfb96fed69cf.jpg","text":"TemporaryFile(/tmp/multipartBody5581491742046774876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394114564,"filename":"image_25112025_17_51_20_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92178db17e6f993eedd0de343c4b496e.jpg","text":"TemporaryFile(/tmp/multipartBody8766526246502501365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394114564,"filename":"image_25112025_17_51_13_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0882bfaabdec79252c744b60e3ee566d.jpg","text":"TemporaryFile(/tmp/multipartBody545440506773094736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394114564,"filename":"image_25112025_17_51_26_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60af39c628e1140f92e29e1f6ee9d6a9.jpg","text":"TemporaryFile(/tmp/multipartBody7135248538004292287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394114564,"filename":"image_25112025_17_51_11_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b48eedd746ecea5d143fe98b87e163ef.jpg","text":"TemporaryFile(/tmp/multipartBody2343783658237260956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394114564,"filename":"image_25112025_17_51_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/11/29/5a8b53f4cdd571ddb90075afae7bc9dc.jpg","text":"TemporaryFile(/tmp/multipartBody2180636721315966163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394114564,"filename":"image_25112025_17_51_16_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826125","file1":"1396826121","file0":"1396826117","file4":"1396826128","file5":"1396826129","file3":"1396826127"},"map_files_photo_id_array":[{"photo_id":"1396826129","filename":"file5"},{"photo_id":"1396826125","filename":"file2"},{"photo_id":"1396826128","filename":"file4"},{"photo_id":"1396826121","filename":"file1"},{"photo_id":"1396826117","filename":"file0"},{"photo_id":"1396826127","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396826127":["hashtag1","hashtag2"]},{"1396826121":["hashtag1","hashtag2"]},{"1396826129":["hashtag1","hashtag2"]},{"1396826117":["hashtag1","hashtag2"]},{"1396826128":["hashtag1","hashtag2"]},{"1396826125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396826127, 1396826121, 1396826129, 1396826117, 1396826128, 1396826125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42907190322876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 06:28:12.449875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_29_2641.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_31_2722.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_35_3528.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_38_2882.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_40_2609.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_43_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_29_2641.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_31_2722.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_35_3528.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_38_2882.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_40_2609.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_43_2699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826130","1396826141","1396826135","1396826138","1396826132","1396826143"],"photo_ids_order":["1396826130","1396826132","1396826135","1396826138","1396826141","1396826143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d8b724701b938d16951649d71d1cac1.jpg","text":"TemporaryFile(/tmp/multipartBody3434390623100179954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394154581,"filename":"image_25112025_17_51_29_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a92c0e425a7954d032c5c1823071290.jpg","text":"TemporaryFile(/tmp/multipartBody691287177693867955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394154581,"filename":"image_25112025_17_51_40_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c11b56592600c7f02c8cf3bee312d432.jpg","text":"TemporaryFile(/tmp/multipartBody1947327792516058968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394154581,"filename":"image_25112025_17_51_35_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3447cef8d580b50cea7f400dc2d0dca9.jpg","text":"TemporaryFile(/tmp/multipartBody5300918493793161548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394154581,"filename":"image_25112025_17_51_38_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1735e5bf107293f9c72e0c1ea9870b61.jpg","text":"TemporaryFile(/tmp/multipartBody1720967208572109007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394154581,"filename":"image_25112025_17_51_31_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f29360585360212a241f53f973a69fff.jpg","text":"TemporaryFile(/tmp/multipartBody8415600967227832170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394154581,"filename":"image_25112025_17_51_43_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826135","file1":"1396826132","file0":"1396826130","file4":"1396826141","file5":"1396826143","file3":"1396826138"},"map_files_photo_id_array":[{"photo_id":"1396826143","filename":"file5"},{"photo_id":"1396826135","filename":"file2"},{"photo_id":"1396826141","filename":"file4"},{"photo_id":"1396826132","filename":"file1"},{"photo_id":"1396826130","filename":"file0"},{"photo_id":"1396826138","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396826130":["hashtag1","hashtag2"]},{"1396826141":["hashtag1","hashtag2"]},{"1396826135":["hashtag1","hashtag2"]},{"1396826138":["hashtag1","hashtag2"]},{"1396826132":["hashtag1","hashtag2"]},{"1396826143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396826130, 1396826141, 1396826135, 1396826138, 1396826132, 1396826143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62011766433716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:29:03.497391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_54_9769.jpg', '/home/pi/Desktop/images/29112025/06/07/image_29112025_06_08_04_9838.jpg', '/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_14_9860.jpg', '/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_25_10793.jpg', '/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_34_9776.jpg', '/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_44_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/07/image_29112025_06_07_54_9769.jpg
/home/pi/Desktop/images/29112025/06/07/image_29112025_06_08_04_9838.jpg
/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_14_9860.jpg
/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_25_10793.jpg
/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_34_9776.jpg
/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_44_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":["1396826151","1396826153","1396826156","1396826146","1396826149","1396826160"],"photo_ids_order":["1396826146","1396826149","1396826151","1396826153","1396826156","1396826160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e29a72eec1257b893bda1085951fba7.jpg","text":"TemporaryFile(/tmp/multipartBody2652235440861381242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394204369,"filename":"image_29112025_06_08_14_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/878b9697aa41d2c40d48d8bd47c2c383.jpg","text":"TemporaryFile(/tmp/multipartBody5075433806252788331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394204369,"filename":"image_29112025_06_08_25_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62219fa2e47740d988ca80bb2379f406.jpg","text":"TemporaryFile(/tmp/multipartBody8677575367810918441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394204369,"filename":"image_29112025_06_08_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/11/29/f401ff5ccda53e0bb88c4bcc74975f44.jpg","text":"TemporaryFile(/tmp/multipartBody1671341682063108334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394204369,"filename":"image_29112025_06_07_54_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36f867ea0ed9cb9ed1660698ada7b848.jpg","text":"TemporaryFile(/tmp/multipartBody90786862007979048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394204369,"filename":"image_29112025_06_08_04_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b00c78df8bb14e55c4c8e7155b6bb1c.jpg","text":"TemporaryFile(/tmp/multipartBody80475914510977352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394204369,"filename":"image_29112025_06_08_44_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826151","file1":"1396826149","file0":"1396826146","file4":"1396826156","file5":"1396826160","file3":"1396826153"},"map_files_photo_id_array":[{"photo_id":"1396826160","filename":"file5"},{"photo_id":"1396826151","filename":"file2"},{"photo_id":"1396826156","filename":"file4"},{"photo_id":"1396826149","filename":"file1"},{"photo_id":"1396826146","filename":"file0"},{"photo_id":"1396826153","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826151":["hashtag1","hashtag2"]},{"1396826153":["hashtag1","hashtag2"]},{"1396826156":["hashtag1","hashtag2"]},{"1396826146":["hashtag1","hashtag2"]},{"1396826149":["hashtag1","hashtag2"]},{"1396826160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826151, 1396826153, 1396826156, 1396826146, 1396826149, 1396826160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.437281131744385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:29:42.707930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_53_2729.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_57_3785.jpg', '/home/pi/Desktop/images/31102025/08/51/image_31102025_08_52_00_2734.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_03_2713.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_05_2724.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_09_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_53_2729.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_51_57_3785.jpg
/home/pi/Desktop/images/31102025/08/51/image_31102025_08_52_00_2734.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_03_2713.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_05_2724.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_09_3646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826171","1396826170","1396826173","1396826167","1396826172","1396826169"],"photo_ids_order":["1396826167","1396826169","1396826170","1396826171","1396826172","1396826173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89fa93317172dd6750c779854c031d73.jpg","text":"TemporaryFile(/tmp/multipartBody1776210593161697477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394243791,"filename":"image_31102025_08_52_03_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57ea255aa9711bf514aef83c1689c3e5.jpg","text":"TemporaryFile(/tmp/multipartBody689215791435245514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394243791,"filename":"image_31102025_08_52_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/11/29/d01dee91e565cb86d940fa8ad9a33744.jpg","text":"TemporaryFile(/tmp/multipartBody4337248878759411139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394243791,"filename":"image_31102025_08_52_09_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d65adaf985b5f0b556ba714b3b00a09.jpg","text":"TemporaryFile(/tmp/multipartBody3717593627701881562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394243791,"filename":"image_31102025_08_51_53_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1e92f3129d67ba6ea1408d921e6fcd8.jpg","text":"TemporaryFile(/tmp/multipartBody2804032560897390979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394243791,"filename":"image_31102025_08_52_05_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e668ddc1b664f74a54585acd7cecda14.jpg","text":"TemporaryFile(/tmp/multipartBody8172106575800118755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394243791,"filename":"image_31102025_08_51_57_3785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826170","file1":"1396826169","file0":"1396826167","file4":"1396826172","file5":"1396826173","file3":"1396826171"},"map_files_photo_id_array":[{"photo_id":"1396826173","filename":"file5"},{"photo_id":"1396826170","filename":"file2"},{"photo_id":"1396826172","filename":"file4"},{"photo_id":"1396826169","filename":"file1"},{"photo_id":"1396826167","filename":"file0"},{"photo_id":"1396826171","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826171":["hashtag1","hashtag2"]},{"1396826170":["hashtag1","hashtag2"]},{"1396826173":["hashtag1","hashtag2"]},{"1396826167":["hashtag1","hashtag2"]},{"1396826172":["hashtag1","hashtag2"]},{"1396826169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826171, 1396826170, 1396826173, 1396826167, 1396826172, 1396826169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.856565952301025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:30:21.978972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_55_10680.jpg', '/home/pi/Desktop/images/29112025/06/08/image_29112025_06_09_04_9594.jpg', '/home/pi/Desktop/images/29112025/06/09/image_29112025_06_09_25_10711.jpg', '/home/pi/Desktop/images/29112025/06/09/image_29112025_06_10_04_10643.jpg', '/home/pi/Desktop/images/29112025/06/10/image_29112025_06_10_54_9614.jpg', '/home/pi/Desktop/images/29112025/06/10/image_29112025_06_11_04_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/08/image_29112025_06_08_55_10680.jpg
/home/pi/Desktop/images/29112025/06/08/image_29112025_06_09_04_9594.jpg
/home/pi/Desktop/images/29112025/06/09/image_29112025_06_09_25_10711.jpg
/home/pi/Desktop/images/29112025/06/09/image_29112025_06_10_04_10643.jpg
/home/pi/Desktop/images/29112025/06/10/image_29112025_06_10_54_9614.jpg
/home/pi/Desktop/images/29112025/06/10/image_29112025_06_11_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":["1396826183","1396826180","1396826176","1396826185","1396826190","1396826187"],"photo_ids_order":["1396826176","1396826180","1396826183","1396826185","1396826187","1396826190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/509c4975dfa5ef388f916a83693f00c3.jpg","text":"TemporaryFile(/tmp/multipartBody2774996838102530931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394282744,"filename":"image_29112025_06_09_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/11/29/e4018542f9166a377040295684da14dc.jpg","text":"TemporaryFile(/tmp/multipartBody8917160434147221482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394282744,"filename":"image_29112025_06_09_04_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/853c09d8113b3b1149f96e6cec9dff16.jpg","text":"TemporaryFile(/tmp/multipartBody3354826563549384156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394282744,"filename":"image_29112025_06_08_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8d931f77e457b1b6984f000a959ce84.jpg","text":"TemporaryFile(/tmp/multipartBody5122075090512457788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394282744,"filename":"image_29112025_06_10_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6dbcd1917bec426d4e260360ec97cf57.jpg","text":"TemporaryFile(/tmp/multipartBody1629570677837947134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394282744,"filename":"image_29112025_06_11_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/11/29/66cbd0623b4a88d198f132baff573c1b.jpg","text":"TemporaryFile(/tmp/multipartBody1103959840176306438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394282744,"filename":"image_29112025_06_10_54_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826183","file1":"1396826180","file0":"1396826176","file4":"1396826187","file5":"1396826190","file3":"1396826185"},"map_files_photo_id_array":[{"photo_id":"1396826190","filename":"file5"},{"photo_id":"1396826183","filename":"file2"},{"photo_id":"1396826187","filename":"file4"},{"photo_id":"1396826180","filename":"file1"},{"photo_id":"1396826176","filename":"file0"},{"photo_id":"1396826185","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826183":["hashtag1","hashtag2"]},{"1396826180":["hashtag1","hashtag2"]},{"1396826176":["hashtag1","hashtag2"]},{"1396826185":["hashtag1","hashtag2"]},{"1396826190":["hashtag1","hashtag2"]},{"1396826187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826183, 1396826180, 1396826176, 1396826185, 1396826190, 1396826187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68568205833435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:31:02.735997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/11/image_29112025_06_11_14_10705.jpg', '/home/pi/Desktop/images/29112025/06/11/image_29112025_06_11_34_9623.jpg', '/home/pi/Desktop/images/29112025/06/11/image_29112025_06_11_45_10771.jpg', '/home/pi/Desktop/images/29112025/06/11/image_29112025_06_11_54_9636.jpg', '/home/pi/Desktop/images/29112025/06/12/image_29112025_06_12_15_10662.jpg', '/home/pi/Desktop/images/29112025/06/12/image_29112025_06_12_24_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/11/image_29112025_06_11_14_10705.jpg
/home/pi/Desktop/images/29112025/06/11/image_29112025_06_11_34_9623.jpg
/home/pi/Desktop/images/29112025/06/11/image_29112025_06_11_45_10771.jpg
/home/pi/Desktop/images/29112025/06/11/image_29112025_06_11_54_9636.jpg
/home/pi/Desktop/images/29112025/06/12/image_29112025_06_12_15_10662.jpg
/home/pi/Desktop/images/29112025/06/12/image_29112025_06_12_24_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826198","1396826192","1396826195","1396826201","1396826191","1396826193"],"photo_ids_order":["1396826191","1396826192","1396826193","1396826195","1396826198","1396826201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d65b68614c52c07f8b8c15555d180e88.jpg","text":"TemporaryFile(/tmp/multipartBody7892736510478694786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394323586,"filename":"image_29112025_06_12_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/11/29/98158d9607cd1c0f8ee79d10575432a1.jpg","text":"TemporaryFile(/tmp/multipartBody3634579204071972629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394323586,"filename":"image_29112025_06_11_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/11/29/2b32cb3006cf8048d209603fdf39385a.jpg","text":"TemporaryFile(/tmp/multipartBody4937936636932579351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394323586,"filename":"image_29112025_06_11_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/11/29/bdb503c9c04870fd05c2e0ab7b7b98e3.jpg","text":"TemporaryFile(/tmp/multipartBody1659155520429555433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394323586,"filename":"image_29112025_06_12_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/11/29/1d69a28a41ce01be0e4927ce7dc0ffbb.jpg","text":"TemporaryFile(/tmp/multipartBody2296211889195132759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394323586,"filename":"image_29112025_06_11_14_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad886f1b3ced7d014b05e3baee943e19.jpg","text":"TemporaryFile(/tmp/multipartBody2662464732730141714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394323586,"filename":"image_29112025_06_11_45_10771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826193","file1":"1396826192","file0":"1396826191","file4":"1396826198","file5":"1396826201","file3":"1396826195"},"map_files_photo_id_array":[{"photo_id":"1396826201","filename":"file5"},{"photo_id":"1396826193","filename":"file2"},{"photo_id":"1396826198","filename":"file4"},{"photo_id":"1396826192","filename":"file1"},{"photo_id":"1396826191","filename":"file0"},{"photo_id":"1396826195","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826198":["hashtag1","hashtag2"]},{"1396826192":["hashtag1","hashtag2"]},{"1396826195":["hashtag1","hashtag2"]},{"1396826201":["hashtag1","hashtag2"]},{"1396826191":["hashtag1","hashtag2"]},{"1396826193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826198, 1396826192, 1396826195, 1396826201, 1396826191, 1396826193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49130058288574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:31:42.115254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_12_2551.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_15_3642.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_18_2607.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_21_2614.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_24_3662.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_27_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/08/52/image_31102025_08_52_12_2551.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_15_3642.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_18_2607.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_21_2614.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_24_3662.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_27_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":["1396826211","1396826210","1396826213","1396826207","1396826212","1396826209"],"photo_ids_order":["1396826207","1396826209","1396826210","1396826211","1396826212","1396826213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dce2a39aeb4cdc0e16bc5788240638bc.jpg","text":"TemporaryFile(/tmp/multipartBody4876255079140096945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394363284,"filename":"image_31102025_08_52_21_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c3ac3d2d4a0f0dcec307500bcf653f2.jpg","text":"TemporaryFile(/tmp/multipartBody2737236861024079560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394363284,"filename":"image_31102025_08_52_18_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0df6539b6451056560f522393ebea4e1.jpg","text":"TemporaryFile(/tmp/multipartBody8854696151334421861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394363284,"filename":"image_31102025_08_52_27_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e46f84094f436f393a9eec894fffb60b.jpg","text":"TemporaryFile(/tmp/multipartBody6793955671507001773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394363284,"filename":"image_31102025_08_52_12_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/215e21c949037d9d6ebb8db967cce8d6.jpg","text":"TemporaryFile(/tmp/multipartBody8658707957169437894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394363284,"filename":"image_31102025_08_52_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/11/29/8f7eb05a494370571a7ede87d9135e50.jpg","text":"TemporaryFile(/tmp/multipartBody5078573110837545932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394363284,"filename":"image_31102025_08_52_15_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826210","file1":"1396826209","file0":"1396826207","file4":"1396826212","file5":"1396826213","file3":"1396826211"},"map_files_photo_id_array":[{"photo_id":"1396826213","filename":"file5"},{"photo_id":"1396826210","filename":"file2"},{"photo_id":"1396826212","filename":"file4"},{"photo_id":"1396826209","filename":"file1"},{"photo_id":"1396826207","filename":"file0"},{"photo_id":"1396826211","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826211":["hashtag1","hashtag2"]},{"1396826210":["hashtag1","hashtag2"]},{"1396826213":["hashtag1","hashtag2"]},{"1396826207":["hashtag1","hashtag2"]},{"1396826212":["hashtag1","hashtag2"]},{"1396826209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826211, 1396826210, 1396826213, 1396826207, 1396826212, 1396826209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.378891944885254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:32:23.490453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/12/image_29112025_06_12_45_10642.jpg', '/home/pi/Desktop/images/29112025/06/12/image_29112025_06_12_54_9673.jpg', '/home/pi/Desktop/images/29112025/06/12/image_29112025_06_13_04_9756.jpg', '/home/pi/Desktop/images/29112025/06/13/image_29112025_06_13_15_10648.jpg', '/home/pi/Desktop/images/29112025/06/13/image_29112025_06_13_24_9618.jpg', '/home/pi/Desktop/images/29112025/06/13/image_29112025_06_13_34_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/12/image_29112025_06_12_45_10642.jpg
/home/pi/Desktop/images/29112025/06/12/image_29112025_06_12_54_9673.jpg
/home/pi/Desktop/images/29112025/06/12/image_29112025_06_13_04_9756.jpg
/home/pi/Desktop/images/29112025/06/13/image_29112025_06_13_15_10648.jpg
/home/pi/Desktop/images/29112025/06/13/image_29112025_06_13_24_9618.jpg
/home/pi/Desktop/images/29112025/06/13/image_29112025_06_13_34_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826223","1396826217","1396826226","1396826220","1396826228","1396826231"],"photo_ids_order":["1396826217","1396826220","1396826223","1396826226","1396826228","1396826231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/633c0aebb51bad7440e24ea6c3abf3d5.jpg","text":"TemporaryFile(/tmp/multipartBody4196529647004966072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394404259,"filename":"image_29112025_06_13_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/11/29/c4f4be18154684ac6ed05b68329b941c.jpg","text":"TemporaryFile(/tmp/multipartBody1206394184308201468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394404259,"filename":"image_29112025_06_12_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75dbc33708dfe8700c8f209d057f53a4.jpg","text":"TemporaryFile(/tmp/multipartBody3124618580093885276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394404259,"filename":"image_29112025_06_13_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/11/29/d5335af30da5c4721e802741fe6c5807.jpg","text":"TemporaryFile(/tmp/multipartBody5321371564727021338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394404259,"filename":"image_29112025_06_12_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/11/29/581ee358b1eb34f58479db9bfaf37b73.jpg","text":"TemporaryFile(/tmp/multipartBody5365458936151812539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394404259,"filename":"image_29112025_06_13_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/11/29/c2bdf612c3438f35aa1304d4e30f27de.jpg","text":"TemporaryFile(/tmp/multipartBody8759879158255671775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394404259,"filename":"image_29112025_06_13_34_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826223","file1":"1396826220","file0":"1396826217","file4":"1396826228","file5":"1396826231","file3":"1396826226"},"map_files_photo_id_array":[{"photo_id":"1396826231","filename":"file5"},{"photo_id":"1396826223","filename":"file2"},{"photo_id":"1396826228","filename":"file4"},{"photo_id":"1396826220","filename":"file1"},{"photo_id":"1396826217","filename":"file0"},{"photo_id":"1396826226","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826223":["hashtag1","hashtag2"]},{"1396826217":["hashtag1","hashtag2"]},{"1396826226":["hashtag1","hashtag2"]},{"1396826220":["hashtag1","hashtag2"]},{"1396826228":["hashtag1","hashtag2"]},{"1396826231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826223, 1396826217, 1396826226, 1396826220, 1396826228, 1396826231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3401243686676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:33:03.068715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/13/image_29112025_06_13_44_9834.jpg', '/home/pi/Desktop/images/29112025/06/13/image_29112025_06_13_55_10725.jpg', '/home/pi/Desktop/images/29112025/06/13/image_29112025_06_14_04_9679.jpg', '/home/pi/Desktop/images/29112025/06/14/image_29112025_06_14_14_9772.jpg', '/home/pi/Desktop/images/29112025/06/14/image_29112025_06_14_34_10570.jpg', '/home/pi/Desktop/images/29112025/06/14/image_29112025_06_14_44_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/13/image_29112025_06_13_44_9834.jpg
/home/pi/Desktop/images/29112025/06/13/image_29112025_06_13_55_10725.jpg
/home/pi/Desktop/images/29112025/06/13/image_29112025_06_14_04_9679.jpg
/home/pi/Desktop/images/29112025/06/14/image_29112025_06_14_14_9772.jpg
/home/pi/Desktop/images/29112025/06/14/image_29112025_06_14_34_10570.jpg
/home/pi/Desktop/images/29112025/06/14/image_29112025_06_14_44_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826250","1396826240","1396826234","1396826243","1396826254","1396826233"],"photo_ids_order":["1396826233","1396826234","1396826240","1396826243","1396826250","1396826254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/163f914f66b147444abd947a845ac750.jpg","text":"TemporaryFile(/tmp/multipartBody7368239852367150551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394443900,"filename":"image_29112025_06_14_34_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61fc28bdce4da68d632d8e7259fa9aa4.jpg","text":"TemporaryFile(/tmp/multipartBody1433215064971383736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394443900,"filename":"image_29112025_06_14_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac5e10e146d3344b5d40e4432b2bd592.jpg","text":"TemporaryFile(/tmp/multipartBody4155438210011523668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394443900,"filename":"image_29112025_06_13_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/11/29/45af47f130c0c3ee66c720736638406e.jpg","text":"TemporaryFile(/tmp/multipartBody5563285859278280852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394443900,"filename":"image_29112025_06_14_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/11/29/3cdd3f08a8d4a9a877145df954a266cb.jpg","text":"TemporaryFile(/tmp/multipartBody3908437282994404064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394443900,"filename":"image_29112025_06_14_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/11/29/2666f20ee1cd5780a544ae58b64a3439.jpg","text":"TemporaryFile(/tmp/multipartBody1580415917461103896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394443900,"filename":"image_29112025_06_13_44_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826240","file1":"1396826234","file0":"1396826233","file4":"1396826250","file5":"1396826254","file3":"1396826243"},"map_files_photo_id_array":[{"photo_id":"1396826254","filename":"file5"},{"photo_id":"1396826240","filename":"file2"},{"photo_id":"1396826250","filename":"file4"},{"photo_id":"1396826234","filename":"file1"},{"photo_id":"1396826233","filename":"file0"},{"photo_id":"1396826243","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826250":["hashtag1","hashtag2"]},{"1396826240":["hashtag1","hashtag2"]},{"1396826234":["hashtag1","hashtag2"]},{"1396826243":["hashtag1","hashtag2"]},{"1396826254":["hashtag1","hashtag2"]},{"1396826233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826250, 1396826240, 1396826234, 1396826243, 1396826254, 1396826233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27414298057556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:33:42.576143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_30_2852.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_33_3586.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_36_2786.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_39_2711.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_41_2712.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_45_3833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_30_2852.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_33_3586.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_36_2786.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_39_2711.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_41_2712.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_45_3833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826297","1396826300","1396826293","1396826296","1396826298","1396826295"],"photo_ids_order":["1396826293","1396826295","1396826296","1396826297","1396826298","1396826300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b88530df992fd0bd60aa3af2f53d405e.jpg","text":"TemporaryFile(/tmp/multipartBody865453227068758701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394483674,"filename":"image_31102025_08_52_39_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f62784faae590e90a089f768904b342.jpg","text":"TemporaryFile(/tmp/multipartBody5737652979765339879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394483674,"filename":"image_31102025_08_52_45_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2dc7317e16ec2d67eef6439e9c343d33.jpg","text":"TemporaryFile(/tmp/multipartBody6106845177275190695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394483674,"filename":"image_31102025_08_52_30_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11bfe8b3b910e67423c41d912253f8c7.jpg","text":"TemporaryFile(/tmp/multipartBody7324060595932037251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394483674,"filename":"image_31102025_08_52_36_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f965c55e9ceb057710a7e8b5025e72de.jpg","text":"TemporaryFile(/tmp/multipartBody4970657443721565411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394483674,"filename":"image_31102025_08_52_41_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/516372c5c658f538dfb0d21c7334da09.jpg","text":"TemporaryFile(/tmp/multipartBody7617997696030551176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394483674,"filename":"image_31102025_08_52_33_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826296","file1":"1396826295","file0":"1396826293","file4":"1396826298","file5":"1396826300","file3":"1396826297"},"map_files_photo_id_array":[{"photo_id":"1396826300","filename":"file5"},{"photo_id":"1396826296","filename":"file2"},{"photo_id":"1396826298","filename":"file4"},{"photo_id":"1396826295","filename":"file1"},{"photo_id":"1396826293","filename":"file0"},{"photo_id":"1396826297","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826297":["hashtag1","hashtag2"]},{"1396826300":["hashtag1","hashtag2"]},{"1396826293":["hashtag1","hashtag2"]},{"1396826296":["hashtag1","hashtag2"]},{"1396826298":["hashtag1","hashtag2"]},{"1396826295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826297, 1396826300, 1396826293, 1396826296, 1396826298, 1396826295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.925347328186035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:34:24.655162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/14/image_29112025_06_15_04_10702.jpg', '/home/pi/Desktop/images/29112025/06/15/image_29112025_06_15_14_9690.jpg', '/home/pi/Desktop/images/29112025/06/15/image_29112025_06_15_24_9805.jpg', '/home/pi/Desktop/images/29112025/06/15/image_29112025_06_15_35_10685.jpg', '/home/pi/Desktop/images/29112025/06/15/image_29112025_06_15_54_9789.jpg', '/home/pi/Desktop/images/29112025/06/15/image_29112025_06_16_04_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/14/image_29112025_06_15_04_10702.jpg
/home/pi/Desktop/images/29112025/06/15/image_29112025_06_15_14_9690.jpg
/home/pi/Desktop/images/29112025/06/15/image_29112025_06_15_24_9805.jpg
/home/pi/Desktop/images/29112025/06/15/image_29112025_06_15_35_10685.jpg
/home/pi/Desktop/images/29112025/06/15/image_29112025_06_15_54_9789.jpg
/home/pi/Desktop/images/29112025/06/15/image_29112025_06_16_04_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826316","1396826304","1396826307","1396826309","1396826311","1396826314"],"photo_ids_order":["1396826304","1396826307","1396826309","1396826311","1396826314","1396826316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0012d9c1eef112532cdb36e3693306eb.jpg","text":"TemporaryFile(/tmp/multipartBody2836224168559535081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394525411,"filename":"image_29112025_06_16_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/11/29/222217df17ea73a927dcc5de1d017d81.jpg","text":"TemporaryFile(/tmp/multipartBody6085420251806139858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394525411,"filename":"image_29112025_06_15_04_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/151a92ec71e900841e5c232971026a21.jpg","text":"TemporaryFile(/tmp/multipartBody6070831540304008148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394525411,"filename":"image_29112025_06_15_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7ca2ae7b723a7feb2e46732160164a5.jpg","text":"TemporaryFile(/tmp/multipartBody6822523711222490176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394525411,"filename":"image_29112025_06_15_24_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de7199cfd916f6b0760618e56c048445.jpg","text":"TemporaryFile(/tmp/multipartBody3628541965226560008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394525411,"filename":"image_29112025_06_15_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/11/29/7f61a8f4cbcf2a3b0a5e46f1628b738e.jpg","text":"TemporaryFile(/tmp/multipartBody8029197766293343880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394525411,"filename":"image_29112025_06_15_54_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826309","file1":"1396826307","file0":"1396826304","file4":"1396826314","file5":"1396826316","file3":"1396826311"},"map_files_photo_id_array":[{"photo_id":"1396826316","filename":"file5"},{"photo_id":"1396826309","filename":"file2"},{"photo_id":"1396826314","filename":"file4"},{"photo_id":"1396826307","filename":"file1"},{"photo_id":"1396826304","filename":"file0"},{"photo_id":"1396826311","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826316":["hashtag1","hashtag2"]},{"1396826304":["hashtag1","hashtag2"]},{"1396826307":["hashtag1","hashtag2"]},{"1396826309":["hashtag1","hashtag2"]},{"1396826311":["hashtag1","hashtag2"]},{"1396826314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826316, 1396826304, 1396826307, 1396826309, 1396826311, 1396826314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19212794303894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:35:02.776037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/16/image_29112025_06_16_15_10742.jpg', '/home/pi/Desktop/images/29112025/06/16/image_29112025_06_16_34_9818.jpg', '/home/pi/Desktop/images/29112025/06/16/image_29112025_06_16_55_10656.jpg', '/home/pi/Desktop/images/29112025/06/16/image_29112025_06_17_04_9762.jpg', '/home/pi/Desktop/images/29112025/06/17/image_29112025_06_17_14_9743.jpg', '/home/pi/Desktop/images/29112025/06/17/image_29112025_06_17_25_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/16/image_29112025_06_16_15_10742.jpg
/home/pi/Desktop/images/29112025/06/16/image_29112025_06_16_34_9818.jpg
/home/pi/Desktop/images/29112025/06/16/image_29112025_06_16_55_10656.jpg
/home/pi/Desktop/images/29112025/06/16/image_29112025_06_17_04_9762.jpg
/home/pi/Desktop/images/29112025/06/17/image_29112025_06_17_14_9743.jpg
/home/pi/Desktop/images/29112025/06/17/image_29112025_06_17_25_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826322","1396826319","1396826318","1396826326","1396826320","1396826317"],"photo_ids_order":["1396826317","1396826318","1396826319","1396826320","1396826322","1396826326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af7aa4378771e0a343d7821c12e51ff0.jpg","text":"TemporaryFile(/tmp/multipartBody4598154713655217493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394563602,"filename":"image_29112025_06_17_14_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b601d5c2a669b8e01ab9ebb6d65e8e5.jpg","text":"TemporaryFile(/tmp/multipartBody8539080980420702750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394563602,"filename":"image_29112025_06_16_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0716df1a26cc5ddc082ffb297b50e1c.jpg","text":"TemporaryFile(/tmp/multipartBody3366694985521048777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394563602,"filename":"image_29112025_06_16_34_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db08ed7ee0e5291f024aa66c8fd1837d.jpg","text":"TemporaryFile(/tmp/multipartBody8229206313243923763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394563602,"filename":"image_29112025_06_17_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec82954619a95fc0f30a0b359d9ebdcf.jpg","text":"TemporaryFile(/tmp/multipartBody2857992231691509423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394563602,"filename":"image_29112025_06_17_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/126ec4a20cb4221097d4e1b35633d071.jpg","text":"TemporaryFile(/tmp/multipartBody9069533870754629787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394563602,"filename":"image_29112025_06_16_15_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826319","file1":"1396826318","file0":"1396826317","file4":"1396826322","file5":"1396826326","file3":"1396826320"},"map_files_photo_id_array":[{"photo_id":"1396826326","filename":"file5"},{"photo_id":"1396826319","filename":"file2"},{"photo_id":"1396826322","filename":"file4"},{"photo_id":"1396826318","filename":"file1"},{"photo_id":"1396826317","filename":"file0"},{"photo_id":"1396826320","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826322":["hashtag1","hashtag2"]},{"1396826319":["hashtag1","hashtag2"]},{"1396826318":["hashtag1","hashtag2"]},{"1396826326":["hashtag1","hashtag2"]},{"1396826320":["hashtag1","hashtag2"]},{"1396826317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826322, 1396826319, 1396826318, 1396826326, 1396826320, 1396826317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05693984031677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:35:41.993487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_48_2619.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_51_2779.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_57_6397.jpg', '/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_59_1762.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_03_4257.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_05_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_48_2619.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_51_2779.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_57_6397.jpg
/home/pi/Desktop/images/31102025/08/52/image_31102025_08_52_59_1762.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_03_4257.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_05_1674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826343","1396826342","1396826341","1396826344","1396826340","1396826334"],"photo_ids_order":["1396826334","1396826340","1396826341","1396826342","1396826343","1396826344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/386802a9cb06265e0f4474618471e2b3.jpg","text":"TemporaryFile(/tmp/multipartBody8615995181255110911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394603043,"filename":"image_31102025_08_53_03_4257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74f6a525017897c4bf5337f7f90a1075.jpg","text":"TemporaryFile(/tmp/multipartBody7919563639191869809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394603043,"filename":"image_31102025_08_52_59_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6af5812b5397b9ea4b4cc6ab8e7f162b.jpg","text":"TemporaryFile(/tmp/multipartBody2206223460252053164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394603043,"filename":"image_31102025_08_52_57_6397.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a6740cd79305e5ffd60374e7dd523df.jpg","text":"TemporaryFile(/tmp/multipartBody4766236972131403656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394603043,"filename":"image_31102025_08_53_05_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9ad5c079a3a79d81e17d8c5c56df0f5.jpg","text":"TemporaryFile(/tmp/multipartBody6020642352927337301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394603043,"filename":"image_31102025_08_52_51_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0cd399eb1f846d50f5705000dd9154f8.jpg","text":"TemporaryFile(/tmp/multipartBody1242004704838280917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394603043,"filename":"image_31102025_08_52_48_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826341","file1":"1396826340","file0":"1396826334","file4":"1396826343","file5":"1396826344","file3":"1396826342"},"map_files_photo_id_array":[{"photo_id":"1396826344","filename":"file5"},{"photo_id":"1396826341","filename":"file2"},{"photo_id":"1396826343","filename":"file4"},{"photo_id":"1396826340","filename":"file1"},{"photo_id":"1396826334","filename":"file0"},{"photo_id":"1396826342","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826343":["hashtag1","hashtag2"]},{"1396826342":["hashtag1","hashtag2"]},{"1396826341":["hashtag1","hashtag2"]},{"1396826344":["hashtag1","hashtag2"]},{"1396826340":["hashtag1","hashtag2"]},{"1396826334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826343, 1396826342, 1396826341, 1396826344, 1396826340, 1396826334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.660749673843384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:36:22.238095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/17/image_29112025_06_17_44_9722.jpg', '/home/pi/Desktop/images/29112025/06/17/image_29112025_06_17_54_9719.jpg', '/home/pi/Desktop/images/29112025/06/17/image_29112025_06_18_04_9867.jpg', '/home/pi/Desktop/images/29112025/06/18/image_29112025_06_18_24_9568.jpg', '/home/pi/Desktop/images/29112025/06/18/image_29112025_06_18_34_9559.jpg', '/home/pi/Desktop/images/29112025/06/18/image_29112025_06_18_44_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/17/image_29112025_06_17_44_9722.jpg
/home/pi/Desktop/images/29112025/06/17/image_29112025_06_17_54_9719.jpg
/home/pi/Desktop/images/29112025/06/17/image_29112025_06_18_04_9867.jpg
/home/pi/Desktop/images/29112025/06/18/image_29112025_06_18_24_9568.jpg
/home/pi/Desktop/images/29112025/06/18/image_29112025_06_18_34_9559.jpg
/home/pi/Desktop/images/29112025/06/18/image_29112025_06_18_44_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826346","1396826357","1396826360","1396826352","1396826355","1396826349"],"photo_ids_order":["1396826346","1396826349","1396826352","1396826355","1396826357","1396826360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/907cf35a3404fcba41e0b185001a198c.jpg","text":"TemporaryFile(/tmp/multipartBody5149222123792971201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394643003,"filename":"image_29112025_06_17_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/11/29/ec2a2b439945bbb67449147b1d958d31.jpg","text":"TemporaryFile(/tmp/multipartBody4925918142564058455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394643003,"filename":"image_29112025_06_18_34_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43262e6275a49fb6e6fb75a9326fd67c.jpg","text":"TemporaryFile(/tmp/multipartBody5390968577265504548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394643003,"filename":"image_29112025_06_18_44_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d49cf813b0b2ea31507f4b39ca191c41.jpg","text":"TemporaryFile(/tmp/multipartBody6769433252737513134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394643003,"filename":"image_29112025_06_18_04_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/909b531bb73f0eb32618f6ee88f6212e.jpg","text":"TemporaryFile(/tmp/multipartBody5029094502822565305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394643003,"filename":"image_29112025_06_18_24_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5003fda66333b90943b6175c5b0a0d54.jpg","text":"TemporaryFile(/tmp/multipartBody7746982420888563175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394643003,"filename":"image_29112025_06_17_54_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826352","file1":"1396826349","file0":"1396826346","file4":"1396826357","file5":"1396826360","file3":"1396826355"},"map_files_photo_id_array":[{"photo_id":"1396826360","filename":"file5"},{"photo_id":"1396826352","filename":"file2"},{"photo_id":"1396826357","filename":"file4"},{"photo_id":"1396826349","filename":"file1"},{"photo_id":"1396826346","filename":"file0"},{"photo_id":"1396826355","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826346":["hashtag1","hashtag2"]},{"1396826357":["hashtag1","hashtag2"]},{"1396826360":["hashtag1","hashtag2"]},{"1396826352":["hashtag1","hashtag2"]},{"1396826355":["hashtag1","hashtag2"]},{"1396826349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826346, 1396826357, 1396826360, 1396826352, 1396826355, 1396826349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2396981716156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:37:03.166468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/18/image_29112025_06_18_54_9632.jpg', '/home/pi/Desktop/images/29112025/06/18/image_29112025_06_19_04_9649.jpg', '/home/pi/Desktop/images/29112025/06/19/image_29112025_06_19_14_10718.jpg', '/home/pi/Desktop/images/29112025/06/19/image_29112025_06_19_24_9606.jpg', '/home/pi/Desktop/images/29112025/06/19/image_29112025_06_19_35_10626.jpg', '/home/pi/Desktop/images/29112025/06/19/image_29112025_06_19_45_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/18/image_29112025_06_18_54_9632.jpg
/home/pi/Desktop/images/29112025/06/18/image_29112025_06_19_04_9649.jpg
/home/pi/Desktop/images/29112025/06/19/image_29112025_06_19_14_10718.jpg
/home/pi/Desktop/images/29112025/06/19/image_29112025_06_19_24_9606.jpg
/home/pi/Desktop/images/29112025/06/19/image_29112025_06_19_35_10626.jpg
/home/pi/Desktop/images/29112025/06/19/image_29112025_06_19_45_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826364","1396826366","1396826369","1396826371","1396826370","1396826367"],"photo_ids_order":["1396826364","1396826366","1396826367","1396826369","1396826370","1396826371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6a1d5d0b474c3698546f44712a8efce.jpg","text":"TemporaryFile(/tmp/multipartBody8733712152221159315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394684005,"filename":"image_29112025_06_18_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/482e58db77608c4a0518484809fd461c.jpg","text":"TemporaryFile(/tmp/multipartBody4553726400527101233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394684005,"filename":"image_29112025_06_19_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/11/29/90b0f6647052b1ad6e7fcb8c027d2494.jpg","text":"TemporaryFile(/tmp/multipartBody7786284343989139888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394684005,"filename":"image_29112025_06_19_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc0a4f6111549fb4a4e2309a4046979e.jpg","text":"TemporaryFile(/tmp/multipartBody4869814039058594147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394684005,"filename":"image_29112025_06_19_45_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a05a01d58047f96f741f7701174c235.jpg","text":"TemporaryFile(/tmp/multipartBody1701532408478173649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394684005,"filename":"image_29112025_06_19_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe5474d686551679ef894f52344899e8.jpg","text":"TemporaryFile(/tmp/multipartBody436617384897648299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394684005,"filename":"image_29112025_06_19_14_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826367","file1":"1396826366","file0":"1396826364","file4":"1396826370","file5":"1396826371","file3":"1396826369"},"map_files_photo_id_array":[{"photo_id":"1396826371","filename":"file5"},{"photo_id":"1396826367","filename":"file2"},{"photo_id":"1396826370","filename":"file4"},{"photo_id":"1396826366","filename":"file1"},{"photo_id":"1396826364","filename":"file0"},{"photo_id":"1396826369","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826364":["hashtag1","hashtag2"]},{"1396826366":["hashtag1","hashtag2"]},{"1396826369":["hashtag1","hashtag2"]},{"1396826371":["hashtag1","hashtag2"]},{"1396826370":["hashtag1","hashtag2"]},{"1396826367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826364, 1396826366, 1396826369, 1396826371, 1396826370, 1396826367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.160508155822754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:37:42.654253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_06_1646.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_15_8296.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_18_3007.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_19_1596.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_21_1594.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_25_4561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_06_1646.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_15_8296.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_18_3007.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_19_1596.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_21_1594.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_25_4561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826381","1396826384","1396826386","1396826380","1396826377","1396826388"],"photo_ids_order":["1396826377","1396826380","1396826381","1396826384","1396826386","1396826388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63dde89deaf3fed63ee50eee31c2307c.jpg","text":"TemporaryFile(/tmp/multipartBody7034393882477212834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394723769,"filename":"image_31102025_08_53_18_3007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29da8fb028a900d6a2f4703ff6eecf16.jpg","text":"TemporaryFile(/tmp/multipartBody1187226129541686453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394723769,"filename":"image_31102025_08_53_19_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/341014f9133bef023c357ef74807d486.jpg","text":"TemporaryFile(/tmp/multipartBody7836389678981720430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394723769,"filename":"image_31102025_08_53_21_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3d91aafd8cc950b7eeb1614b141216a.jpg","text":"TemporaryFile(/tmp/multipartBody2585398668795643279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394723769,"filename":"image_31102025_08_53_15_8296.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f375bd251c93db0143f26ae9088e446.jpg","text":"TemporaryFile(/tmp/multipartBody8419198560305060024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394723769,"filename":"image_31102025_08_53_06_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee9605ce21035a4c1e7cef869c1ff422.jpg","text":"TemporaryFile(/tmp/multipartBody1019266407862371095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394723769,"filename":"image_31102025_08_53_25_4561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826381","file1":"1396826380","file0":"1396826377","file4":"1396826386","file5":"1396826388","file3":"1396826384"},"map_files_photo_id_array":[{"photo_id":"1396826388","filename":"file5"},{"photo_id":"1396826381","filename":"file2"},{"photo_id":"1396826386","filename":"file4"},{"photo_id":"1396826380","filename":"file1"},{"photo_id":"1396826377","filename":"file0"},{"photo_id":"1396826384","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826381":["hashtag1","hashtag2"]},{"1396826384":["hashtag1","hashtag2"]},{"1396826386":["hashtag1","hashtag2"]},{"1396826380":["hashtag1","hashtag2"]},{"1396826377":["hashtag1","hashtag2"]},{"1396826388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826381, 1396826384, 1396826386, 1396826380, 1396826377, 1396826388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27946376800537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:38:22.854048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/19/image_29112025_06_19_54_9763.jpg', '/home/pi/Desktop/images/29112025/06/19/image_29112025_06_20_04_9717.jpg', '/home/pi/Desktop/images/29112025/06/20/image_29112025_06_20_14_9835.jpg', '/home/pi/Desktop/images/29112025/06/20/image_29112025_06_20_25_10762.jpg', '/home/pi/Desktop/images/29112025/06/20/image_29112025_06_20_34_9685.jpg', '/home/pi/Desktop/images/29112025/06/20/image_29112025_06_20_44_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/19/image_29112025_06_19_54_9763.jpg
/home/pi/Desktop/images/29112025/06/19/image_29112025_06_20_04_9717.jpg
/home/pi/Desktop/images/29112025/06/20/image_29112025_06_20_14_9835.jpg
/home/pi/Desktop/images/29112025/06/20/image_29112025_06_20_25_10762.jpg
/home/pi/Desktop/images/29112025/06/20/image_29112025_06_20_34_9685.jpg
/home/pi/Desktop/images/29112025/06/20/image_29112025_06_20_44_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826403","1396826392","1396826395","1396826398","1396826404","1396826401"],"photo_ids_order":["1396826392","1396826395","1396826398","1396826401","1396826403","1396826404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a52afdc2320328d75cc6d6b878f12095.jpg","text":"TemporaryFile(/tmp/multipartBody7569867512555520860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394763616,"filename":"image_29112025_06_20_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/11/29/7877179b8542055321c2e505318ab334.jpg","text":"TemporaryFile(/tmp/multipartBody8432014784190822230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394763616,"filename":"image_29112025_06_19_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b263e40badde63887009ce1a722e55a3.jpg","text":"TemporaryFile(/tmp/multipartBody1421488012342627775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394763616,"filename":"image_29112025_06_20_04_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce5f00a5325f00b8a5704d766856a22a.jpg","text":"TemporaryFile(/tmp/multipartBody4518679867238223253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394763616,"filename":"image_29112025_06_20_14_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/702f6dcb5a0d1494eb6b4a568708b783.jpg","text":"TemporaryFile(/tmp/multipartBody5666097851878056172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394763616,"filename":"image_29112025_06_20_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/11/29/167880bbec36f15ac3db0570eaae5d36.jpg","text":"TemporaryFile(/tmp/multipartBody8195850573769226241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394763616,"filename":"image_29112025_06_20_25_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826398","file1":"1396826395","file0":"1396826392","file4":"1396826403","file5":"1396826404","file3":"1396826401"},"map_files_photo_id_array":[{"photo_id":"1396826404","filename":"file5"},{"photo_id":"1396826398","filename":"file2"},{"photo_id":"1396826403","filename":"file4"},{"photo_id":"1396826395","filename":"file1"},{"photo_id":"1396826392","filename":"file0"},{"photo_id":"1396826401","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826403":["hashtag1","hashtag2"]},{"1396826392":["hashtag1","hashtag2"]},{"1396826395":["hashtag1","hashtag2"]},{"1396826398":["hashtag1","hashtag2"]},{"1396826404":["hashtag1","hashtag2"]},{"1396826401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826403, 1396826392, 1396826395, 1396826398, 1396826404, 1396826401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09561204910278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:39:03.024304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/20/image_29112025_06_20_54_9730.jpg', '/home/pi/Desktop/images/29112025/06/20/image_29112025_06_21_04_10674.jpg', '/home/pi/Desktop/images/29112025/06/21/image_29112025_06_21_14_9597.jpg', '/home/pi/Desktop/images/29112025/06/21/image_29112025_06_21_24_9814.jpg', '/home/pi/Desktop/images/29112025/06/21/image_29112025_06_21_34_10560.jpg', '/home/pi/Desktop/images/29112025/06/21/image_29112025_06_21_44_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/20/image_29112025_06_20_54_9730.jpg
/home/pi/Desktop/images/29112025/06/20/image_29112025_06_21_04_10674.jpg
/home/pi/Desktop/images/29112025/06/21/image_29112025_06_21_14_9597.jpg
/home/pi/Desktop/images/29112025/06/21/image_29112025_06_21_24_9814.jpg
/home/pi/Desktop/images/29112025/06/21/image_29112025_06_21_34_10560.jpg
/home/pi/Desktop/images/29112025/06/21/image_29112025_06_21_44_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826415","1396826418","1396826420","1396826423","1396826417","1396826413"],"photo_ids_order":["1396826413","1396826415","1396826417","1396826418","1396826420","1396826423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4191fd5659794ece8610cf4e3c6a7b74.jpg","text":"TemporaryFile(/tmp/multipartBody8369848513938181908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394803970,"filename":"image_29112025_06_21_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/11/29/57133985bc57c1d906c0d683f74e9976.jpg","text":"TemporaryFile(/tmp/multipartBody1534822420486777552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394803970,"filename":"image_29112025_06_21_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/197b62c7991a0d65267aca904dda51b6.jpg","text":"TemporaryFile(/tmp/multipartBody8203797052806341265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394803970,"filename":"image_29112025_06_21_34_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f30c4beca9a4b28d1cf770fdbc4b9f2.jpg","text":"TemporaryFile(/tmp/multipartBody747060215381175444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394803970,"filename":"image_29112025_06_21_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/11/29/bc071702fdaa60fd19896ab9a57bde78.jpg","text":"TemporaryFile(/tmp/multipartBody5738477229973992508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394803970,"filename":"image_29112025_06_21_14_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63ba836fec1644d02b61f7636159e380.jpg","text":"TemporaryFile(/tmp/multipartBody5051212056815892471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394803970,"filename":"image_29112025_06_20_54_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826417","file1":"1396826415","file0":"1396826413","file4":"1396826420","file5":"1396826423","file3":"1396826418"},"map_files_photo_id_array":[{"photo_id":"1396826423","filename":"file5"},{"photo_id":"1396826417","filename":"file2"},{"photo_id":"1396826420","filename":"file4"},{"photo_id":"1396826415","filename":"file1"},{"photo_id":"1396826413","filename":"file0"},{"photo_id":"1396826418","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826415":["hashtag1","hashtag2"]},{"1396826418":["hashtag1","hashtag2"]},{"1396826420":["hashtag1","hashtag2"]},{"1396826423":["hashtag1","hashtag2"]},{"1396826417":["hashtag1","hashtag2"]},{"1396826413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826415, 1396826418, 1396826420, 1396826423, 1396826417, 1396826413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45797514915466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:39:41.995721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_27_1584.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_29_1638.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_30_1754.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_32_1809.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_36_4174.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_39_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/08/53/image_31102025_08_53_27_1584.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_29_1638.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_30_1754.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_32_1809.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_36_4174.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_39_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":["1396826436","1396826430","1396826438","1396826435","1396826434","1396826433"],"photo_ids_order":["1396826430","1396826433","1396826434","1396826435","1396826436","1396826438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf56ad073dc94294b229baa81d7bb3df.jpg","text":"TemporaryFile(/tmp/multipartBody6143725639779419016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394843147,"filename":"image_31102025_08_53_36_4174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8953371c1b8f9374cffd823c3591a366.jpg","text":"TemporaryFile(/tmp/multipartBody6046439539162515453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394843147,"filename":"image_31102025_08_53_27_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbff35a0c38409e1114f774e134d288a.jpg","text":"TemporaryFile(/tmp/multipartBody3819040172014623187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394843147,"filename":"image_31102025_08_53_39_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17283670997db84a4394c68946790d8d.jpg","text":"TemporaryFile(/tmp/multipartBody8863517351531168494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394843147,"filename":"image_31102025_08_53_32_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c748bad9638828725243929e39b7a8b1.jpg","text":"TemporaryFile(/tmp/multipartBody6637399565732176352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394843147,"filename":"image_31102025_08_53_30_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e4ac9201e481fb366ac6fc5d44190dd.jpg","text":"TemporaryFile(/tmp/multipartBody2533385130614189452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394843147,"filename":"image_31102025_08_53_29_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826434","file1":"1396826433","file0":"1396826430","file4":"1396826436","file5":"1396826438","file3":"1396826435"},"map_files_photo_id_array":[{"photo_id":"1396826438","filename":"file5"},{"photo_id":"1396826434","filename":"file2"},{"photo_id":"1396826436","filename":"file4"},{"photo_id":"1396826433","filename":"file1"},{"photo_id":"1396826430","filename":"file0"},{"photo_id":"1396826435","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826436":["hashtag1","hashtag2"]},{"1396826430":["hashtag1","hashtag2"]},{"1396826438":["hashtag1","hashtag2"]},{"1396826435":["hashtag1","hashtag2"]},{"1396826434":["hashtag1","hashtag2"]},{"1396826433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826436, 1396826430, 1396826438, 1396826435, 1396826434, 1396826433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33544182777405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:40:22.165186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/21/image_29112025_06_22_04_9895.jpg', '/home/pi/Desktop/images/29112025/06/22/image_29112025_06_22_14_10536.jpg', '/home/pi/Desktop/images/29112025/06/22/image_29112025_06_22_24_9787.jpg', '/home/pi/Desktop/images/29112025/06/22/image_29112025_06_22_34_9842.jpg', '/home/pi/Desktop/images/29112025/06/22/image_29112025_06_22_45_10678.jpg', '/home/pi/Desktop/images/29112025/06/22/image_29112025_06_22_54_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/21/image_29112025_06_22_04_9895.jpg
/home/pi/Desktop/images/29112025/06/22/image_29112025_06_22_14_10536.jpg
/home/pi/Desktop/images/29112025/06/22/image_29112025_06_22_24_9787.jpg
/home/pi/Desktop/images/29112025/06/22/image_29112025_06_22_34_9842.jpg
/home/pi/Desktop/images/29112025/06/22/image_29112025_06_22_45_10678.jpg
/home/pi/Desktop/images/29112025/06/22/image_29112025_06_22_54_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":["1396826442","1396826445","1396826450","1396826453","1396826455","1396826448"],"photo_ids_order":["1396826442","1396826445","1396826448","1396826450","1396826453","1396826455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f60a73eacb6c96933cee5cb9acf3c83.jpg","text":"TemporaryFile(/tmp/multipartBody3045555182288907054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394882930,"filename":"image_29112025_06_22_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/11/29/5171305a30be673b823918ac95a39bff.jpg","text":"TemporaryFile(/tmp/multipartBody3584911861564563089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394882930,"filename":"image_29112025_06_22_14_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc3a8ab3ce13760c49c3d180c7ffd1b5.jpg","text":"TemporaryFile(/tmp/multipartBody2582850996818057837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394882930,"filename":"image_29112025_06_22_34_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a96fb8adfd5ad42e8744be171fb8e729.jpg","text":"TemporaryFile(/tmp/multipartBody33061480009340774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394882930,"filename":"image_29112025_06_22_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/11/29/ddfa7ee7f356932586ee5f1d5fd2d210.jpg","text":"TemporaryFile(/tmp/multipartBody2382088304053484598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394882930,"filename":"image_29112025_06_22_54_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/963c19ee8fc7b0dcfdbd83482f605684.jpg","text":"TemporaryFile(/tmp/multipartBody4522832064192380767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394882930,"filename":"image_29112025_06_22_24_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826448","file1":"1396826445","file0":"1396826442","file4":"1396826453","file5":"1396826455","file3":"1396826450"},"map_files_photo_id_array":[{"photo_id":"1396826455","filename":"file5"},{"photo_id":"1396826448","filename":"file2"},{"photo_id":"1396826453","filename":"file4"},{"photo_id":"1396826445","filename":"file1"},{"photo_id":"1396826442","filename":"file0"},{"photo_id":"1396826450","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826442":["hashtag1","hashtag2"]},{"1396826445":["hashtag1","hashtag2"]},{"1396826450":["hashtag1","hashtag2"]},{"1396826453":["hashtag1","hashtag2"]},{"1396826455":["hashtag1","hashtag2"]},{"1396826448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826442, 1396826445, 1396826450, 1396826453, 1396826455, 1396826448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90379810333252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:41:03.091278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/22/image_29112025_06_23_04_9646.jpg', '/home/pi/Desktop/images/29112025/06/23/image_29112025_06_23_15_10628.jpg', '/home/pi/Desktop/images/29112025/06/23/image_29112025_06_23_34_9836.jpg', '/home/pi/Desktop/images/29112025/06/23/image_29112025_06_23_45_10642.jpg', '/home/pi/Desktop/images/29112025/06/23/image_29112025_06_24_04_9866.jpg', '/home/pi/Desktop/images/29112025/06/24/image_29112025_06_24_14_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/22/image_29112025_06_23_04_9646.jpg
/home/pi/Desktop/images/29112025/06/23/image_29112025_06_23_15_10628.jpg
/home/pi/Desktop/images/29112025/06/23/image_29112025_06_23_34_9836.jpg
/home/pi/Desktop/images/29112025/06/23/image_29112025_06_23_45_10642.jpg
/home/pi/Desktop/images/29112025/06/23/image_29112025_06_24_04_9866.jpg
/home/pi/Desktop/images/29112025/06/24/image_29112025_06_24_14_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":["1396826463","1396826457","1396826459","1396826458","1396826466","1396826460"],"photo_ids_order":["1396826457","1396826458","1396826459","1396826460","1396826463","1396826466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed93d3031295f1f1b38f8a410e12183b.jpg","text":"TemporaryFile(/tmp/multipartBody4945226702236637335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394923948,"filename":"image_29112025_06_24_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/11/29/15a41f43367096dd949b4bf17e143cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7617043521941891237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394923948,"filename":"image_29112025_06_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/11/29/7edb7de26649660f618184b51a682af4.jpg","text":"TemporaryFile(/tmp/multipartBody2245312015994301958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394923948,"filename":"image_29112025_06_23_34_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdab4a029c46bf6b8faabe6d8eff624e.jpg","text":"TemporaryFile(/tmp/multipartBody6541358368665884707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394923948,"filename":"image_29112025_06_23_15_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01caf8fbf8a625a9e997fe43c116cc5e.jpg","text":"TemporaryFile(/tmp/multipartBody445326441418750624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394923948,"filename":"image_29112025_06_24_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/11/29/e1f4115ca6f0cfe61fa412daeb4e18e8.jpg","text":"TemporaryFile(/tmp/multipartBody1465377494017877656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394923948,"filename":"image_29112025_06_23_45_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826459","file1":"1396826458","file0":"1396826457","file4":"1396826463","file5":"1396826466","file3":"1396826460"},"map_files_photo_id_array":[{"photo_id":"1396826466","filename":"file5"},{"photo_id":"1396826459","filename":"file2"},{"photo_id":"1396826463","filename":"file4"},{"photo_id":"1396826458","filename":"file1"},{"photo_id":"1396826457","filename":"file0"},{"photo_id":"1396826460","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826463":["hashtag1","hashtag2"]},{"1396826457":["hashtag1","hashtag2"]},{"1396826459":["hashtag1","hashtag2"]},{"1396826458":["hashtag1","hashtag2"]},{"1396826466":["hashtag1","hashtag2"]},{"1396826460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826463, 1396826457, 1396826459, 1396826458, 1396826466, 1396826460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.737727880477905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:41:42.448650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_42_2696.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_45_2818.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_48_3536.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_51_2688.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_53_2569.jpg', '/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_57_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/08/53/image_31102025_08_53_42_2696.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_45_2818.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_48_3536.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_51_2688.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_53_2569.jpg
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_53_57_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":["1396826480","1396826483","1396826482","1396826479","1396826472","1396826481"],"photo_ids_order":["1396826472","1396826479","1396826480","1396826481","1396826482","1396826483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2408bdd140b979176098e8a5f20882fa.jpg","text":"TemporaryFile(/tmp/multipartBody6469978672505600518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394963572,"filename":"image_31102025_08_53_48_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5943fe38e9bdf3bfa92f560d8892055.jpg","text":"TemporaryFile(/tmp/multipartBody5335569461582907715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394963572,"filename":"image_31102025_08_53_57_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68f4e91c6431482dd37b381db50a1266.jpg","text":"TemporaryFile(/tmp/multipartBody721382079365173538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394963572,"filename":"image_31102025_08_53_53_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1dbba94330a9d5177342e81e9af9145.jpg","text":"TemporaryFile(/tmp/multipartBody6204244653901828669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394963572,"filename":"image_31102025_08_53_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/11/29/e8af8b57cb43a0ae31685a0a59eae707.jpg","text":"TemporaryFile(/tmp/multipartBody484012624008314540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394963572,"filename":"image_31102025_08_53_42_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/645258fe383e90f430f02e9106017342.jpg","text":"TemporaryFile(/tmp/multipartBody2935638851785088996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764394963572,"filename":"image_31102025_08_53_51_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826480","file1":"1396826479","file0":"1396826472","file4":"1396826482","file5":"1396826483","file3":"1396826481"},"map_files_photo_id_array":[{"photo_id":"1396826483","filename":"file5"},{"photo_id":"1396826480","filename":"file2"},{"photo_id":"1396826482","filename":"file4"},{"photo_id":"1396826479","filename":"file1"},{"photo_id":"1396826472","filename":"file0"},{"photo_id":"1396826481","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826480":["hashtag1","hashtag2"]},{"1396826483":["hashtag1","hashtag2"]},{"1396826482":["hashtag1","hashtag2"]},{"1396826479":["hashtag1","hashtag2"]},{"1396826472":["hashtag1","hashtag2"]},{"1396826481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826480, 1396826483, 1396826482, 1396826479, 1396826472, 1396826481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92177748680115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:42:22.599410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/24/image_29112025_06_24_24_10602.jpg', '/home/pi/Desktop/images/29112025/06/24/image_29112025_06_24_34_9629.jpg', '/home/pi/Desktop/images/29112025/06/24/image_29112025_06_25_04_9732.jpg', '/home/pi/Desktop/images/29112025/06/25/image_29112025_06_25_14_9569.jpg', '/home/pi/Desktop/images/29112025/06/25/image_29112025_06_25_25_10726.jpg', '/home/pi/Desktop/images/29112025/06/25/image_29112025_06_25_44_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/24/image_29112025_06_24_24_10602.jpg
/home/pi/Desktop/images/29112025/06/24/image_29112025_06_24_34_9629.jpg
/home/pi/Desktop/images/29112025/06/24/image_29112025_06_25_04_9732.jpg
/home/pi/Desktop/images/29112025/06/25/image_29112025_06_25_14_9569.jpg
/home/pi/Desktop/images/29112025/06/25/image_29112025_06_25_25_10726.jpg
/home/pi/Desktop/images/29112025/06/25/image_29112025_06_25_44_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826502","1396826496","1396826499","1396826490","1396826493","1396826487"],"photo_ids_order":["1396826487","1396826490","1396826493","1396826496","1396826499","1396826502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/122aef712bbefdc0d2f54b0ed06d6d0b.jpg","text":"TemporaryFile(/tmp/multipartBody5585129826471182693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395003404,"filename":"image_29112025_06_25_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/11/29/22a9f55344ae05596efe08a68721aea3.jpg","text":"TemporaryFile(/tmp/multipartBody6009296179661881151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395003404,"filename":"image_29112025_06_25_14_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e347a09f1ece887067a2d4786abacd58.jpg","text":"TemporaryFile(/tmp/multipartBody7670483022453601187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395003404,"filename":"image_29112025_06_25_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/11/29/83d97a5080d59e82fd075b30963a41e0.jpg","text":"TemporaryFile(/tmp/multipartBody3365786434293438571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395003404,"filename":"image_29112025_06_24_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/11/29/a0ae498b514e359d27d5e37d9250b9c2.jpg","text":"TemporaryFile(/tmp/multipartBody8746596156522139589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395003404,"filename":"image_29112025_06_25_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50fdc93385a352def0c070568dcbe966.jpg","text":"TemporaryFile(/tmp/multipartBody3692762503101904655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395003404,"filename":"image_29112025_06_24_24_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826493","file1":"1396826490","file0":"1396826487","file4":"1396826499","file5":"1396826502","file3":"1396826496"},"map_files_photo_id_array":[{"photo_id":"1396826502","filename":"file5"},{"photo_id":"1396826493","filename":"file2"},{"photo_id":"1396826499","filename":"file4"},{"photo_id":"1396826490","filename":"file1"},{"photo_id":"1396826487","filename":"file0"},{"photo_id":"1396826496","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826502":["hashtag1","hashtag2"]},{"1396826496":["hashtag1","hashtag2"]},{"1396826499":["hashtag1","hashtag2"]},{"1396826490":["hashtag1","hashtag2"]},{"1396826493":["hashtag1","hashtag2"]},{"1396826487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826502, 1396826496, 1396826499, 1396826490, 1396826493, 1396826487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79507541656494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:43:03.469283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/25/image_29112025_06_25_54_9852.jpg', '/home/pi/Desktop/images/29112025/06/26/image_29112025_06_26_34_9676.jpg', '/home/pi/Desktop/images/29112025/06/26/image_29112025_06_26_44_10625.jpg', '/home/pi/Desktop/images/29112025/06/26/image_29112025_06_26_54_9726.jpg', '/home/pi/Desktop/images/29112025/06/26/image_29112025_06_27_04_9688.jpg', '/home/pi/Desktop/images/29112025/06/27/image_29112025_06_27_15_10817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/25/image_29112025_06_25_54_9852.jpg
/home/pi/Desktop/images/29112025/06/26/image_29112025_06_26_34_9676.jpg
/home/pi/Desktop/images/29112025/06/26/image_29112025_06_26_44_10625.jpg
/home/pi/Desktop/images/29112025/06/26/image_29112025_06_26_54_9726.jpg
/home/pi/Desktop/images/29112025/06/26/image_29112025_06_27_04_9688.jpg
/home/pi/Desktop/images/29112025/06/27/image_29112025_06_27_15_10817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826514","1396826505","1396826510","1396826507","1396826504","1396826506"],"photo_ids_order":["1396826504","1396826505","1396826506","1396826507","1396826510","1396826514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e446ebe7a0e4116a426587cfcad93a6.jpg","text":"TemporaryFile(/tmp/multipartBody7924251280813192734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395044303,"filename":"image_29112025_06_27_15_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77bca0e999ea93aed1c75ea1e2a984b7.jpg","text":"TemporaryFile(/tmp/multipartBody5543415077165448519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395044303,"filename":"image_29112025_06_26_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/11/29/dd74ef5b1fb2590b5a46fdc21aadf233.jpg","text":"TemporaryFile(/tmp/multipartBody8230639547820193827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395044303,"filename":"image_29112025_06_27_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/11/29/83df1fdaf023a917b0f718e642fdf9bf.jpg","text":"TemporaryFile(/tmp/multipartBody8508828101400618900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395044303,"filename":"image_29112025_06_26_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/11/29/1ce6696203d03415a4ced5383b5772a6.jpg","text":"TemporaryFile(/tmp/multipartBody4780435834501440068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395044303,"filename":"image_29112025_06_25_54_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7430fc94bf4c3990bfdb0534758fc46b.jpg","text":"TemporaryFile(/tmp/multipartBody1854187020987941878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395044303,"filename":"image_29112025_06_26_44_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826506","file1":"1396826505","file0":"1396826504","file4":"1396826510","file5":"1396826514","file3":"1396826507"},"map_files_photo_id_array":[{"photo_id":"1396826514","filename":"file5"},{"photo_id":"1396826506","filename":"file2"},{"photo_id":"1396826510","filename":"file4"},{"photo_id":"1396826505","filename":"file1"},{"photo_id":"1396826504","filename":"file0"},{"photo_id":"1396826507","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826514":["hashtag1","hashtag2"]},{"1396826505":["hashtag1","hashtag2"]},{"1396826510":["hashtag1","hashtag2"]},{"1396826507":["hashtag1","hashtag2"]},{"1396826504":["hashtag1","hashtag2"]},{"1396826506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826514, 1396826505, 1396826510, 1396826507, 1396826504, 1396826506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.632041215896606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:43:42.928274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/53/image_31102025_08_54_00_2561.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_02_2683.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_06_3670.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_14_7488.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_15_1685.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_17_1807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/53/image_31102025_08_54_00_2561.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_02_2683.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_06_3670.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_14_7488.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_15_1685.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_17_1807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826525","1396826522","1396826530","1396826524","1396826527","1396826526"],"photo_ids_order":["1396826522","1396826524","1396826525","1396826526","1396826527","1396826530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d47d88194cd5e2096ba5c9c01df87593.jpg","text":"TemporaryFile(/tmp/multipartBody4741615788943130994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395084042,"filename":"image_31102025_08_54_06_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/945a596a2af2e0faec5e139b9d70c0c9.jpg","text":"TemporaryFile(/tmp/multipartBody1775867790635551030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395084042,"filename":"image_31102025_08_54_00_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c83628c99ea055af103954ef32a46f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4276799323958242839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395084042,"filename":"image_31102025_08_54_17_1807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/455cff4b3b3a36fee28bd1cc4aff1086.jpg","text":"TemporaryFile(/tmp/multipartBody3394192172412071917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395084042,"filename":"image_31102025_08_54_02_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3fc8d41be1dca9caef47c7b5fec4954.jpg","text":"TemporaryFile(/tmp/multipartBody168021070190082551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395084042,"filename":"image_31102025_08_54_15_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54aeff80c3c6c56d5af9d6b392d49e4f.jpg","text":"TemporaryFile(/tmp/multipartBody6495833533336614297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395084042,"filename":"image_31102025_08_54_14_7488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826525","file1":"1396826524","file0":"1396826522","file4":"1396826527","file5":"1396826530","file3":"1396826526"},"map_files_photo_id_array":[{"photo_id":"1396826530","filename":"file5"},{"photo_id":"1396826525","filename":"file2"},{"photo_id":"1396826527","filename":"file4"},{"photo_id":"1396826524","filename":"file1"},{"photo_id":"1396826522","filename":"file0"},{"photo_id":"1396826526","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826525":["hashtag1","hashtag2"]},{"1396826522":["hashtag1","hashtag2"]},{"1396826530":["hashtag1","hashtag2"]},{"1396826524":["hashtag1","hashtag2"]},{"1396826527":["hashtag1","hashtag2"]},{"1396826526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826525, 1396826522, 1396826530, 1396826524, 1396826527, 1396826526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03765678405762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:44:22.110214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/27/image_29112025_06_27_24_9564.jpg', '/home/pi/Desktop/images/29112025/06/27/image_29112025_06_27_34_9760.jpg', '/home/pi/Desktop/images/29112025/06/27/image_29112025_06_27_44_9801.jpg', '/home/pi/Desktop/images/29112025/06/27/image_29112025_06_28_04_9666.jpg', '/home/pi/Desktop/images/29112025/06/28/image_29112025_06_28_14_9714.jpg', '/home/pi/Desktop/images/29112025/06/28/image_29112025_06_28_25_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/27/image_29112025_06_27_24_9564.jpg
/home/pi/Desktop/images/29112025/06/27/image_29112025_06_27_34_9760.jpg
/home/pi/Desktop/images/29112025/06/27/image_29112025_06_27_44_9801.jpg
/home/pi/Desktop/images/29112025/06/27/image_29112025_06_28_04_9666.jpg
/home/pi/Desktop/images/29112025/06/28/image_29112025_06_28_14_9714.jpg
/home/pi/Desktop/images/29112025/06/28/image_29112025_06_28_25_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826535","1396826538","1396826549","1396826557","1396826542","1396826545"],"photo_ids_order":["1396826535","1396826538","1396826542","1396826545","1396826549","1396826557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53cb9fc0ff8a3727643acbaf1e4b343a.jpg","text":"TemporaryFile(/tmp/multipartBody402303394868197738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395122917,"filename":"image_29112025_06_27_24_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b37f12871fd6bb8540e8525a4f88d2f.jpg","text":"TemporaryFile(/tmp/multipartBody4868970883217043199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395122917,"filename":"image_29112025_06_27_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/11/29/c8cefee0cb7d54a96c6c5981531ef252.jpg","text":"TemporaryFile(/tmp/multipartBody4764133237632714945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395122917,"filename":"image_29112025_06_28_14_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27a1e50b57969abfcbfd83df81cb2e87.jpg","text":"TemporaryFile(/tmp/multipartBody8864680604462710423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395122917,"filename":"image_29112025_06_28_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/11/29/36cbdcd3997f464d1e4438fc3ca427e7.jpg","text":"TemporaryFile(/tmp/multipartBody604464144334036458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395122917,"filename":"image_29112025_06_27_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/11/29/1b97c5fc19f3962aaed6f0dc0e302022.jpg","text":"TemporaryFile(/tmp/multipartBody7353959623918890847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395122917,"filename":"image_29112025_06_28_04_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826542","file1":"1396826538","file0":"1396826535","file4":"1396826549","file5":"1396826557","file3":"1396826545"},"map_files_photo_id_array":[{"photo_id":"1396826557","filename":"file5"},{"photo_id":"1396826542","filename":"file2"},{"photo_id":"1396826549","filename":"file4"},{"photo_id":"1396826538","filename":"file1"},{"photo_id":"1396826535","filename":"file0"},{"photo_id":"1396826545","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826535":["hashtag1","hashtag2"]},{"1396826538":["hashtag1","hashtag2"]},{"1396826549":["hashtag1","hashtag2"]},{"1396826557":["hashtag1","hashtag2"]},{"1396826542":["hashtag1","hashtag2"]},{"1396826545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826535, 1396826538, 1396826549, 1396826557, 1396826542, 1396826545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.210684299468994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:45:02.879036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/28/image_29112025_06_28_34_9532.jpg', '/home/pi/Desktop/images/29112025/06/28/image_29112025_06_28_44_9844.jpg', '/home/pi/Desktop/images/29112025/06/28/image_29112025_06_28_55_10738.jpg', '/home/pi/Desktop/images/29112025/06/28/image_29112025_06_29_04_9687.jpg', '/home/pi/Desktop/images/29112025/06/29/image_29112025_06_29_14_9865.jpg', '/home/pi/Desktop/images/29112025/06/29/image_29112025_06_29_24_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/28/image_29112025_06_28_34_9532.jpg
/home/pi/Desktop/images/29112025/06/28/image_29112025_06_28_44_9844.jpg
/home/pi/Desktop/images/29112025/06/28/image_29112025_06_28_55_10738.jpg
/home/pi/Desktop/images/29112025/06/28/image_29112025_06_29_04_9687.jpg
/home/pi/Desktop/images/29112025/06/29/image_29112025_06_29_14_9865.jpg
/home/pi/Desktop/images/29112025/06/29/image_29112025_06_29_24_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826561","1396826558","1396826569","1396826560","1396826562","1396826565"],"photo_ids_order":["1396826558","1396826560","1396826561","1396826562","1396826565","1396826569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c94c864fd5503dab919d578a800e8c91.jpg","text":"TemporaryFile(/tmp/multipartBody2557256186066034223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395163801,"filename":"image_29112025_06_28_55_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90acda51486ed8b30df1d3cc7397616b.jpg","text":"TemporaryFile(/tmp/multipartBody5997077756752321565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395163801,"filename":"image_29112025_06_28_34_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d1209045742ead32f40cbaa27f4e125.jpg","text":"TemporaryFile(/tmp/multipartBody5948454921207187067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395163801,"filename":"image_29112025_06_29_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/11/29/8c9d3575cf59a68571f3898a3c38d59a.jpg","text":"TemporaryFile(/tmp/multipartBody4591109020666192734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395163801,"filename":"image_29112025_06_28_44_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f27efcbe40ba8a6e3f1f7e354e7e7768.jpg","text":"TemporaryFile(/tmp/multipartBody6784544166826401222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395163801,"filename":"image_29112025_06_29_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/11/29/45ee44b90d80bdbe75e482497dc34073.jpg","text":"TemporaryFile(/tmp/multipartBody9163588249915684887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395163801,"filename":"image_29112025_06_29_14_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826561","file1":"1396826560","file0":"1396826558","file4":"1396826565","file5":"1396826569","file3":"1396826562"},"map_files_photo_id_array":[{"photo_id":"1396826569","filename":"file5"},{"photo_id":"1396826561","filename":"file2"},{"photo_id":"1396826565","filename":"file4"},{"photo_id":"1396826560","filename":"file1"},{"photo_id":"1396826558","filename":"file0"},{"photo_id":"1396826562","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826561":["hashtag1","hashtag2"]},{"1396826558":["hashtag1","hashtag2"]},{"1396826569":["hashtag1","hashtag2"]},{"1396826560":["hashtag1","hashtag2"]},{"1396826562":["hashtag1","hashtag2"]},{"1396826565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826561, 1396826558, 1396826569, 1396826560, 1396826562, 1396826565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.215895652770996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:45:42.493346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_19_1698.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_21_1715.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_23_2824.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_27_3696.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_30_2745.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_34_4677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_19_1698.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_21_1715.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_23_2824.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_27_3696.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_30_2745.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_34_4677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826582","1396826576","1396826579","1396826581","1396826578","1396826580"],"photo_ids_order":["1396826576","1396826578","1396826579","1396826580","1396826581","1396826582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1d31f92e988a004f2be692624d812a3.jpg","text":"TemporaryFile(/tmp/multipartBody2887494944260555993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395203617,"filename":"image_31102025_08_54_34_4677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f87bbe97823f819ea869b90310db4905.jpg","text":"TemporaryFile(/tmp/multipartBody5922225625954767021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395203617,"filename":"image_31102025_08_54_19_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c88513661baf4ac5953b96716487cf0c.jpg","text":"TemporaryFile(/tmp/multipartBody8023154458741915223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395203617,"filename":"image_31102025_08_54_23_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3575bb970f75d710050a501612248511.jpg","text":"TemporaryFile(/tmp/multipartBody8160366001885381247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395203617,"filename":"image_31102025_08_54_30_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13b3c59f02bae98026c45fb9f1ef6fa1.jpg","text":"TemporaryFile(/tmp/multipartBody7600931302189566441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395203617,"filename":"image_31102025_08_54_21_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b10726fc3226e5b04490fedeb906f2a3.jpg","text":"TemporaryFile(/tmp/multipartBody1876230953219386936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395203617,"filename":"image_31102025_08_54_27_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826579","file1":"1396826578","file0":"1396826576","file4":"1396826581","file5":"1396826582","file3":"1396826580"},"map_files_photo_id_array":[{"photo_id":"1396826582","filename":"file5"},{"photo_id":"1396826579","filename":"file2"},{"photo_id":"1396826581","filename":"file4"},{"photo_id":"1396826578","filename":"file1"},{"photo_id":"1396826576","filename":"file0"},{"photo_id":"1396826580","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826582":["hashtag1","hashtag2"]},{"1396826576":["hashtag1","hashtag2"]},{"1396826579":["hashtag1","hashtag2"]},{"1396826581":["hashtag1","hashtag2"]},{"1396826578":["hashtag1","hashtag2"]},{"1396826580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826582, 1396826576, 1396826579, 1396826581, 1396826578, 1396826580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53705167770386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:46:22.674257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/29/image_29112025_06_29_35_10798.jpg', '/home/pi/Desktop/images/29112025/06/29/image_29112025_06_29_45_9928.jpg', '/home/pi/Desktop/images/29112025/06/29/image_29112025_06_30_04_9768.jpg', '/home/pi/Desktop/images/29112025/06/30/image_29112025_06_30_14_9871.jpg', '/home/pi/Desktop/images/29112025/06/30/image_29112025_06_30_25_10806.jpg', '/home/pi/Desktop/images/29112025/06/30/image_29112025_06_30_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/29/image_29112025_06_29_35_10798.jpg
/home/pi/Desktop/images/29112025/06/29/image_29112025_06_29_45_9928.jpg
/home/pi/Desktop/images/29112025/06/29/image_29112025_06_30_04_9768.jpg
/home/pi/Desktop/images/29112025/06/30/image_29112025_06_30_14_9871.jpg
/home/pi/Desktop/images/29112025/06/30/image_29112025_06_30_25_10806.jpg
/home/pi/Desktop/images/29112025/06/30/image_29112025_06_30_34_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826585","1396826590","1396826587","1396826602","1396826595","1396826598"],"photo_ids_order":["1396826585","1396826587","1396826590","1396826595","1396826598","1396826602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ebbc3470f379f5c6a3b826377286e6ea.jpg","text":"TemporaryFile(/tmp/multipartBody3372909065569433795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395243441,"filename":"image_29112025_06_29_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/11/29/8be0bc7c59c508f60fb04803d0d93278.jpg","text":"TemporaryFile(/tmp/multipartBody3067689967239655744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395243441,"filename":"image_29112025_06_30_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c62a833397067d1ebe65241840dddb8.jpg","text":"TemporaryFile(/tmp/multipartBody5241455704210451141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395243441,"filename":"image_29112025_06_29_45_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac825dcdba299d527886309c0d6fbb35.jpg","text":"TemporaryFile(/tmp/multipartBody5543232485570577597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395243441,"filename":"image_29112025_06_30_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/11/29/7f62944dcc71dbf7246f0973b87a6d4e.jpg","text":"TemporaryFile(/tmp/multipartBody4365416684695796119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395243441,"filename":"image_29112025_06_30_14_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80a490350edd49ab9f6a639a98b5122b.jpg","text":"TemporaryFile(/tmp/multipartBody5327157657803144318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395243441,"filename":"image_29112025_06_30_25_10806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826590","file1":"1396826587","file0":"1396826585","file4":"1396826598","file5":"1396826602","file3":"1396826595"},"map_files_photo_id_array":[{"photo_id":"1396826602","filename":"file5"},{"photo_id":"1396826590","filename":"file2"},{"photo_id":"1396826598","filename":"file4"},{"photo_id":"1396826587","filename":"file1"},{"photo_id":"1396826585","filename":"file0"},{"photo_id":"1396826595","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826585":["hashtag1","hashtag2"]},{"1396826590":["hashtag1","hashtag2"]},{"1396826587":["hashtag1","hashtag2"]},{"1396826602":["hashtag1","hashtag2"]},{"1396826595":["hashtag1","hashtag2"]},{"1396826598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826585, 1396826590, 1396826587, 1396826602, 1396826595, 1396826598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.096022605895996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:47:02.648513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/30/image_29112025_06_30_44_10095.jpg', '/home/pi/Desktop/images/29112025/06/30/image_29112025_06_30_54_9547.jpg', '/home/pi/Desktop/images/29112025/06/30/image_29112025_06_31_05_10703.jpg', '/home/pi/Desktop/images/29112025/06/31/image_29112025_06_31_24_9849.jpg', '/home/pi/Desktop/images/29112025/06/31/image_29112025_06_31_34_9628.jpg', '/home/pi/Desktop/images/29112025/06/31/image_29112025_06_31_44_10190.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/30/image_29112025_06_30_44_10095.jpg
/home/pi/Desktop/images/29112025/06/30/image_29112025_06_30_54_9547.jpg
/home/pi/Desktop/images/29112025/06/30/image_29112025_06_31_05_10703.jpg
/home/pi/Desktop/images/29112025/06/31/image_29112025_06_31_24_9849.jpg
/home/pi/Desktop/images/29112025/06/31/image_29112025_06_31_34_9628.jpg
/home/pi/Desktop/images/29112025/06/31/image_29112025_06_31_44_10190.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826613","1396826616","1396826610","1396826609","1396826611","1396826608"],"photo_ids_order":["1396826608","1396826609","1396826610","1396826611","1396826613","1396826616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9fdbf3cfab730185bb5fb3b209e21ff9.jpg","text":"TemporaryFile(/tmp/multipartBody8481439057612681159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395283499,"filename":"image_29112025_06_31_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/11/29/fe53fda6cdc81d51d5fc5064ff0c1e0b.jpg","text":"TemporaryFile(/tmp/multipartBody5547267961341894978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395283499,"filename":"image_29112025_06_31_44_10190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15fe4efcc7f2b861e41ff0b2ae5932ce.jpg","text":"TemporaryFile(/tmp/multipartBody5250147233002897361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395283499,"filename":"image_29112025_06_31_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/11/29/5f12f85279756e32fe0ccfed03aaaa1c.jpg","text":"TemporaryFile(/tmp/multipartBody1244986013264397183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395283499,"filename":"image_29112025_06_30_54_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93859a5bd291f8be481151c7f19f86c0.jpg","text":"TemporaryFile(/tmp/multipartBody7568575016013478119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395283499,"filename":"image_29112025_06_31_24_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd979d3097b00da69f44fc33c9313b26.jpg","text":"TemporaryFile(/tmp/multipartBody7537307799382191333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395283499,"filename":"image_29112025_06_30_44_10095.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826610","file1":"1396826609","file0":"1396826608","file4":"1396826613","file5":"1396826616","file3":"1396826611"},"map_files_photo_id_array":[{"photo_id":"1396826616","filename":"file5"},{"photo_id":"1396826610","filename":"file2"},{"photo_id":"1396826613","filename":"file4"},{"photo_id":"1396826609","filename":"file1"},{"photo_id":"1396826608","filename":"file0"},{"photo_id":"1396826611","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826613":["hashtag1","hashtag2"]},{"1396826616":["hashtag1","hashtag2"]},{"1396826610":["hashtag1","hashtag2"]},{"1396826609":["hashtag1","hashtag2"]},{"1396826611":["hashtag1","hashtag2"]},{"1396826608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826613, 1396826616, 1396826610, 1396826609, 1396826611, 1396826608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99087715148926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:47:42.002249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_36_1657.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_39_2700.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_41_2551.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_45_3669.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_48_2908.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_53_1753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_36_1657.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_39_2700.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_41_2551.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_45_3669.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_48_2908.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_53_1753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826628","1396826630","1396826627","1396826629","1396826632","1396826625"],"photo_ids_order":["1396826625","1396826627","1396826628","1396826629","1396826630","1396826632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61e4d311fe1b530241c95bf7272a93f2.jpg","text":"TemporaryFile(/tmp/multipartBody5172316958636545639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395323156,"filename":"image_31102025_08_54_41_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b7e4348abc79be1d856c0324f1dc637.jpg","text":"TemporaryFile(/tmp/multipartBody7551396335586582004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395323156,"filename":"image_31102025_08_54_48_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90247fff71a05d26231bead1a4331faf.jpg","text":"TemporaryFile(/tmp/multipartBody5953776169782544021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395323156,"filename":"image_31102025_08_54_39_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b93866c989f8153d4fdb3acefe4c2a0.jpg","text":"TemporaryFile(/tmp/multipartBody2718305305927038017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395323156,"filename":"image_31102025_08_54_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/11/29/ddfa82f9e17ce8875114fef0690139ff.jpg","text":"TemporaryFile(/tmp/multipartBody6250664945970286527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395323156,"filename":"image_31102025_08_54_53_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e4c088698ac55c5c0746719f6c619cad.jpg","text":"TemporaryFile(/tmp/multipartBody1337218686904945217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395323156,"filename":"image_31102025_08_54_36_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826628","file1":"1396826627","file0":"1396826625","file4":"1396826630","file5":"1396826632","file3":"1396826629"},"map_files_photo_id_array":[{"photo_id":"1396826632","filename":"file5"},{"photo_id":"1396826628","filename":"file2"},{"photo_id":"1396826630","filename":"file4"},{"photo_id":"1396826627","filename":"file1"},{"photo_id":"1396826625","filename":"file0"},{"photo_id":"1396826629","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826628":["hashtag1","hashtag2"]},{"1396826630":["hashtag1","hashtag2"]},{"1396826627":["hashtag1","hashtag2"]},{"1396826629":["hashtag1","hashtag2"]},{"1396826632":["hashtag1","hashtag2"]},{"1396826625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826628, 1396826630, 1396826627, 1396826629, 1396826632, 1396826625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80626177787781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:48:22.175668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/31/image_29112025_06_31_54_9658.jpg', '/home/pi/Desktop/images/29112025/06/31/image_29112025_06_32_04_10729.jpg', '/home/pi/Desktop/images/29112025/06/32/image_29112025_06_32_14_9818.jpg', '/home/pi/Desktop/images/29112025/06/32/image_29112025_06_32_24_9683.jpg', '/home/pi/Desktop/images/29112025/06/32/image_29112025_06_32_34_9773.jpg', '/home/pi/Desktop/images/29112025/06/32/image_29112025_06_32_54_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/31/image_29112025_06_31_54_9658.jpg
/home/pi/Desktop/images/29112025/06/31/image_29112025_06_32_04_10729.jpg
/home/pi/Desktop/images/29112025/06/32/image_29112025_06_32_14_9818.jpg
/home/pi/Desktop/images/29112025/06/32/image_29112025_06_32_24_9683.jpg
/home/pi/Desktop/images/29112025/06/32/image_29112025_06_32_34_9773.jpg
/home/pi/Desktop/images/29112025/06/32/image_29112025_06_32_54_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":["1396826636","1396826651","1396826639","1396826647","1396826641","1396826644"],"photo_ids_order":["1396826636","1396826639","1396826641","1396826644","1396826647","1396826651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4516db00b4b6663d4f6cc4b224d41a1b.jpg","text":"TemporaryFile(/tmp/multipartBody4424919474094855664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395362933,"filename":"image_29112025_06_31_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/11/29/872a5b4b2dbf729d553c9a917e9f7a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4062895732788758589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395362933,"filename":"image_29112025_06_32_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/11/29/7a8d1b04fd3194813e9d36321c5bce26.jpg","text":"TemporaryFile(/tmp/multipartBody5567798756450195544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395362933,"filename":"image_29112025_06_32_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/11/29/b5cffcfe1481fb0265f3bab9157d206e.jpg","text":"TemporaryFile(/tmp/multipartBody6996430398680386215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395362933,"filename":"image_29112025_06_32_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/11/29/e4789a90b0bbb5d3c22aef6de2c4d1a9.jpg","text":"TemporaryFile(/tmp/multipartBody4661230132793466135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395362933,"filename":"image_29112025_06_32_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/11/29/2f6fadd6dff4b9664c19d50b39eacd35.jpg","text":"TemporaryFile(/tmp/multipartBody6698269060661310465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395362933,"filename":"image_29112025_06_32_24_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826641","file1":"1396826639","file0":"1396826636","file4":"1396826647","file5":"1396826651","file3":"1396826644"},"map_files_photo_id_array":[{"photo_id":"1396826651","filename":"file5"},{"photo_id":"1396826641","filename":"file2"},{"photo_id":"1396826647","filename":"file4"},{"photo_id":"1396826639","filename":"file1"},{"photo_id":"1396826636","filename":"file0"},{"photo_id":"1396826644","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826636":["hashtag1","hashtag2"]},{"1396826651":["hashtag1","hashtag2"]},{"1396826639":["hashtag1","hashtag2"]},{"1396826647":["hashtag1","hashtag2"]},{"1396826641":["hashtag1","hashtag2"]},{"1396826644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826636, 1396826651, 1396826639, 1396826647, 1396826641, 1396826644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36225485801697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:49:03.280659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/32/image_29112025_06_33_04_9601.jpg', '/home/pi/Desktop/images/29112025/06/33/image_29112025_06_33_15_10775.jpg', '/home/pi/Desktop/images/29112025/06/33/image_29112025_06_33_24_9832.jpg', '/home/pi/Desktop/images/29112025/06/33/image_29112025_06_33_34_9624.jpg', '/home/pi/Desktop/images/29112025/06/33/image_29112025_06_33_54_9898.jpg', '/home/pi/Desktop/images/29112025/06/34/image_29112025_06_34_14_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/32/image_29112025_06_33_04_9601.jpg
/home/pi/Desktop/images/29112025/06/33/image_29112025_06_33_15_10775.jpg
/home/pi/Desktop/images/29112025/06/33/image_29112025_06_33_24_9832.jpg
/home/pi/Desktop/images/29112025/06/33/image_29112025_06_33_34_9624.jpg
/home/pi/Desktop/images/29112025/06/33/image_29112025_06_33_54_9898.jpg
/home/pi/Desktop/images/29112025/06/34/image_29112025_06_34_14_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826655","1396826660","1396826654","1396826663","1396826653","1396826656"],"photo_ids_order":["1396826653","1396826654","1396826655","1396826656","1396826660","1396826663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6024c498d0deb362dcfcaae42a2e8542.jpg","text":"TemporaryFile(/tmp/multipartBody6771954212224063542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395404314,"filename":"image_29112025_06_33_24_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e1061b880b55efc4bd43560df16a7be.jpg","text":"TemporaryFile(/tmp/multipartBody3967052799971882592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395404314,"filename":"image_29112025_06_33_54_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4278b97013fca64c918d7d664f83917.jpg","text":"TemporaryFile(/tmp/multipartBody3525262350563716604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395404314,"filename":"image_29112025_06_33_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/11/29/430acca3a88b230eae8234addd57fc9b.jpg","text":"TemporaryFile(/tmp/multipartBody2962796022371079420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395404314,"filename":"image_29112025_06_34_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/11/29/e49f12ffafb7fdedb7048352886a8081.jpg","text":"TemporaryFile(/tmp/multipartBody2427403619842983199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395404314,"filename":"image_29112025_06_33_04_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d956af3903351e9e1359c6347c9593f.jpg","text":"TemporaryFile(/tmp/multipartBody1928121975874479987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395404314,"filename":"image_29112025_06_33_34_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826655","file1":"1396826654","file0":"1396826653","file4":"1396826660","file5":"1396826663","file3":"1396826656"},"map_files_photo_id_array":[{"photo_id":"1396826663","filename":"file5"},{"photo_id":"1396826655","filename":"file2"},{"photo_id":"1396826660","filename":"file4"},{"photo_id":"1396826654","filename":"file1"},{"photo_id":"1396826653","filename":"file0"},{"photo_id":"1396826656","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826655":["hashtag1","hashtag2"]},{"1396826660":["hashtag1","hashtag2"]},{"1396826654":["hashtag1","hashtag2"]},{"1396826663":["hashtag1","hashtag2"]},{"1396826653":["hashtag1","hashtag2"]},{"1396826656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826655, 1396826660, 1396826654, 1396826663, 1396826653, 1396826656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.916043758392334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:49:42.319662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_57_4103.jpg', '/home/pi/Desktop/images/31102025/08/54/image_31102025_08_55_00_2642.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_03_2791.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_06_3023.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_08_2448.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_12_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_54_57_4103.jpg
/home/pi/Desktop/images/31102025/08/54/image_31102025_08_55_00_2642.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_03_2791.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_06_3023.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_08_2448.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_12_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826675","1396826677","1396826671","1396826674","1396826676","1396826673"],"photo_ids_order":["1396826671","1396826673","1396826674","1396826675","1396826676","1396826677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79974f90bee930be616ec32b76cc53b5.jpg","text":"TemporaryFile(/tmp/multipartBody8022177049982246278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395443422,"filename":"image_31102025_08_55_06_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e584ac289795e148c90d8a05603a8208.jpg","text":"TemporaryFile(/tmp/multipartBody6860080501633171202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395443422,"filename":"image_31102025_08_55_12_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edbef3f46904c0c87591ceeb72f673e7.jpg","text":"TemporaryFile(/tmp/multipartBody3373485666586053315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395443422,"filename":"image_31102025_08_54_57_4103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/131614c10cc5b00382715230004599cc.jpg","text":"TemporaryFile(/tmp/multipartBody5404857610543720680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395443422,"filename":"image_31102025_08_55_03_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d19a53cf0382193fdfdcd3d24e7088f2.jpg","text":"TemporaryFile(/tmp/multipartBody2664331487877528677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395443422,"filename":"image_31102025_08_55_08_2448.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0dc4268e51946550b94b85e2ea7ad28.jpg","text":"TemporaryFile(/tmp/multipartBody2569363622080149584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395443422,"filename":"image_31102025_08_55_00_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826674","file1":"1396826673","file0":"1396826671","file4":"1396826676","file5":"1396826677","file3":"1396826675"},"map_files_photo_id_array":[{"photo_id":"1396826677","filename":"file5"},{"photo_id":"1396826674","filename":"file2"},{"photo_id":"1396826676","filename":"file4"},{"photo_id":"1396826673","filename":"file1"},{"photo_id":"1396826671","filename":"file0"},{"photo_id":"1396826675","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826675":["hashtag1","hashtag2"]},{"1396826677":["hashtag1","hashtag2"]},{"1396826671":["hashtag1","hashtag2"]},{"1396826674":["hashtag1","hashtag2"]},{"1396826676":["hashtag1","hashtag2"]},{"1396826673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826675, 1396826677, 1396826671, 1396826674, 1396826676, 1396826673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.824321031570435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:50:22.439370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/34/image_29112025_06_34_25_10632.jpg', '/home/pi/Desktop/images/29112025/06/34/image_29112025_06_34_34_9712.jpg', '/home/pi/Desktop/images/29112025/06/34/image_29112025_06_34_44_9655.jpg', '/home/pi/Desktop/images/29112025/06/34/image_29112025_06_35_04_9761.jpg', '/home/pi/Desktop/images/29112025/06/35/image_29112025_06_35_14_9702.jpg', '/home/pi/Desktop/images/29112025/06/35/image_29112025_06_35_24_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/34/image_29112025_06_34_25_10632.jpg
/home/pi/Desktop/images/29112025/06/34/image_29112025_06_34_34_9712.jpg
/home/pi/Desktop/images/29112025/06/34/image_29112025_06_34_44_9655.jpg
/home/pi/Desktop/images/29112025/06/34/image_29112025_06_35_04_9761.jpg
/home/pi/Desktop/images/29112025/06/35/image_29112025_06_35_14_9702.jpg
/home/pi/Desktop/images/29112025/06/35/image_29112025_06_35_24_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826693","1396826687","1396826681","1396826684","1396826689","1396826691"],"photo_ids_order":["1396826681","1396826684","1396826687","1396826689","1396826691","1396826693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7f5338bf15ca6dc86cf8d67dccf5047.jpg","text":"TemporaryFile(/tmp/multipartBody3324044110938176689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395483207,"filename":"image_29112025_06_35_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6566d926fb4ed8cf67d429a0f562c50.jpg","text":"TemporaryFile(/tmp/multipartBody9195623533912413358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395483207,"filename":"image_29112025_06_34_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/11/29/e42cf49f4ead952c548df0331f842e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5904746060563683724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395483207,"filename":"image_29112025_06_34_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a26e87bb71b5bb6fd36897b731333a4.jpg","text":"TemporaryFile(/tmp/multipartBody4001308074361668587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395483207,"filename":"image_29112025_06_34_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/11/29/f9da0f878b6b14d510ea89a6c0ec0374.jpg","text":"TemporaryFile(/tmp/multipartBody4697832613730481301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395483207,"filename":"image_29112025_06_35_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/11/29/0e5d55a50c65ea93075cb46a2594a88e.jpg","text":"TemporaryFile(/tmp/multipartBody1954121789408434075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395483207,"filename":"image_29112025_06_35_14_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826687","file1":"1396826684","file0":"1396826681","file4":"1396826691","file5":"1396826693","file3":"1396826689"},"map_files_photo_id_array":[{"photo_id":"1396826693","filename":"file5"},{"photo_id":"1396826687","filename":"file2"},{"photo_id":"1396826691","filename":"file4"},{"photo_id":"1396826684","filename":"file1"},{"photo_id":"1396826681","filename":"file0"},{"photo_id":"1396826689","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826693":["hashtag1","hashtag2"]},{"1396826687":["hashtag1","hashtag2"]},{"1396826681":["hashtag1","hashtag2"]},{"1396826684":["hashtag1","hashtag2"]},{"1396826689":["hashtag1","hashtag2"]},{"1396826691":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826693, 1396826687, 1396826681, 1396826684, 1396826689, 1396826691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98336482048035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:51:03.114561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/35/image_29112025_06_35_35_10684.jpg', '/home/pi/Desktop/images/29112025/06/35/image_29112025_06_35_44_9650.jpg', '/home/pi/Desktop/images/29112025/06/35/image_29112025_06_35_54_9602.jpg', '/home/pi/Desktop/images/29112025/06/35/image_29112025_06_36_04_9944.jpg', '/home/pi/Desktop/images/29112025/06/36/image_29112025_06_36_15_10801.jpg', '/home/pi/Desktop/images/29112025/06/36/image_29112025_06_36_34_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/35/image_29112025_06_35_35_10684.jpg
/home/pi/Desktop/images/29112025/06/35/image_29112025_06_35_44_9650.jpg
/home/pi/Desktop/images/29112025/06/35/image_29112025_06_35_54_9602.jpg
/home/pi/Desktop/images/29112025/06/35/image_29112025_06_36_04_9944.jpg
/home/pi/Desktop/images/29112025/06/36/image_29112025_06_36_15_10801.jpg
/home/pi/Desktop/images/29112025/06/36/image_29112025_06_36_34_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":["1396826699","1396826696","1396826705","1396826698","1396826702","1396826697"],"photo_ids_order":["1396826696","1396826697","1396826698","1396826699","1396826702","1396826705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf23e0f8477da7f1ccf9bf32a4e93866.jpg","text":"TemporaryFile(/tmp/multipartBody2291694314628825031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395523969,"filename":"image_29112025_06_36_04_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7cf6747a1db12f34a70acb09e7d94d83.jpg","text":"TemporaryFile(/tmp/multipartBody1517067122157186653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395523969,"filename":"image_29112025_06_35_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/11/29/1b7edeacb6e925c8506b51bfbd2371dd.jpg","text":"TemporaryFile(/tmp/multipartBody6575461499002335069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395523969,"filename":"image_29112025_06_36_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/11/29/a1028a3fb27aacb0833acf204ddcbb4f.jpg","text":"TemporaryFile(/tmp/multipartBody1707942645064563260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395523969,"filename":"image_29112025_06_35_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/11/29/2372e7cf54420c78ec02a625b933fc89.jpg","text":"TemporaryFile(/tmp/multipartBody3006689036095232388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395523969,"filename":"image_29112025_06_36_15_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03b7d702e49fff73f37edecbed80c600.jpg","text":"TemporaryFile(/tmp/multipartBody9152744713891524403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395523969,"filename":"image_29112025_06_35_44_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826698","file1":"1396826697","file0":"1396826696","file4":"1396826702","file5":"1396826705","file3":"1396826699"},"map_files_photo_id_array":[{"photo_id":"1396826705","filename":"file5"},{"photo_id":"1396826698","filename":"file2"},{"photo_id":"1396826702","filename":"file4"},{"photo_id":"1396826697","filename":"file1"},{"photo_id":"1396826696","filename":"file0"},{"photo_id":"1396826699","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826699":["hashtag1","hashtag2"]},{"1396826696":["hashtag1","hashtag2"]},{"1396826705":["hashtag1","hashtag2"]},{"1396826698":["hashtag1","hashtag2"]},{"1396826702":["hashtag1","hashtag2"]},{"1396826697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826699, 1396826696, 1396826705, 1396826698, 1396826702, 1396826697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.328261613845825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:51:42.577844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_14_2610.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_17_2690.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_21_3711.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_26_5450.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_28_1669.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_30_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_14_2610.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_17_2690.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_21_3711.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_26_5450.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_28_1669.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_30_1715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826715","1396826718","1396826717","1396826716","1396826719","1396826713"],"photo_ids_order":["1396826713","1396826715","1396826716","1396826717","1396826718","1396826719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d47e77af594e5c400b141790e5aabd6.jpg","text":"TemporaryFile(/tmp/multipartBody5345493999772715920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395563683,"filename":"image_31102025_08_55_17_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e40cfaf623fc26d3192c4c5c366c2ec.jpg","text":"TemporaryFile(/tmp/multipartBody6232713077202420351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395563683,"filename":"image_31102025_08_55_28_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2fe8adc78e12ceb43ee09c17526f5c0.jpg","text":"TemporaryFile(/tmp/multipartBody2466459910555112928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395563683,"filename":"image_31102025_08_55_26_5450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2b723fd08190c2cccdec44a2595e861.jpg","text":"TemporaryFile(/tmp/multipartBody6378143867588089828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395563683,"filename":"image_31102025_08_55_21_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c41aac5754634381e55a30159f3f32b3.jpg","text":"TemporaryFile(/tmp/multipartBody6028890509655725136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395563683,"filename":"image_31102025_08_55_30_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/967115868e7040867d8e8c9cf367c61d.jpg","text":"TemporaryFile(/tmp/multipartBody5670275565726677373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395563683,"filename":"image_31102025_08_55_14_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826716","file1":"1396826715","file0":"1396826713","file4":"1396826718","file5":"1396826719","file3":"1396826717"},"map_files_photo_id_array":[{"photo_id":"1396826719","filename":"file5"},{"photo_id":"1396826716","filename":"file2"},{"photo_id":"1396826718","filename":"file4"},{"photo_id":"1396826715","filename":"file1"},{"photo_id":"1396826713","filename":"file0"},{"photo_id":"1396826717","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826715":["hashtag1","hashtag2"]},{"1396826718":["hashtag1","hashtag2"]},{"1396826717":["hashtag1","hashtag2"]},{"1396826716":["hashtag1","hashtag2"]},{"1396826719":["hashtag1","hashtag2"]},{"1396826713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826715, 1396826718, 1396826717, 1396826716, 1396826719, 1396826713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42969107627869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:52:22.800373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/36/image_29112025_06_36_45_10734.jpg', '/home/pi/Desktop/images/29112025/06/36/image_29112025_06_36_54_9704.jpg', '/home/pi/Desktop/images/29112025/06/36/image_29112025_06_37_04_9693.jpg', '/home/pi/Desktop/images/29112025/06/37/image_29112025_06_37_14_9776.jpg', '/home/pi/Desktop/images/29112025/06/37/image_29112025_06_37_24_10580.jpg', '/home/pi/Desktop/images/29112025/06/37/image_29112025_06_37_34_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/36/image_29112025_06_36_45_10734.jpg
/home/pi/Desktop/images/29112025/06/36/image_29112025_06_36_54_9704.jpg
/home/pi/Desktop/images/29112025/06/36/image_29112025_06_37_04_9693.jpg
/home/pi/Desktop/images/29112025/06/37/image_29112025_06_37_14_9776.jpg
/home/pi/Desktop/images/29112025/06/37/image_29112025_06_37_24_10580.jpg
/home/pi/Desktop/images/29112025/06/37/image_29112025_06_37_34_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826735","1396826723","1396826732","1396826726","1396826728","1396826730"],"photo_ids_order":["1396826723","1396826726","1396826728","1396826730","1396826732","1396826735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b53ab5185825094f36a8cc67c56388f.jpg","text":"TemporaryFile(/tmp/multipartBody8210678606261957380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395603561,"filename":"image_29112025_06_37_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/11/29/d2c7bda398f4681087921eb3b0232a49.jpg","text":"TemporaryFile(/tmp/multipartBody7550132801796249171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395603561,"filename":"image_29112025_06_36_45_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cfc31c6317ab2effaf98f7bd09d5db3b.jpg","text":"TemporaryFile(/tmp/multipartBody203718534846874764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395603561,"filename":"image_29112025_06_37_24_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d191ef8459f04e6cbbff698213d1af3f.jpg","text":"TemporaryFile(/tmp/multipartBody4784266612682112563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395603561,"filename":"image_29112025_06_36_54_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3bb2e7682092574f85820b14f83bcb8.jpg","text":"TemporaryFile(/tmp/multipartBody1498281718634059575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395603561,"filename":"image_29112025_06_37_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3de6d4253af4e4b3aed511d1eb6a49e.jpg","text":"TemporaryFile(/tmp/multipartBody2495212984917139074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395603561,"filename":"image_29112025_06_37_14_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826728","file1":"1396826726","file0":"1396826723","file4":"1396826732","file5":"1396826735","file3":"1396826730"},"map_files_photo_id_array":[{"photo_id":"1396826735","filename":"file5"},{"photo_id":"1396826728","filename":"file2"},{"photo_id":"1396826732","filename":"file4"},{"photo_id":"1396826726","filename":"file1"},{"photo_id":"1396826723","filename":"file0"},{"photo_id":"1396826730","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826735":["hashtag1","hashtag2"]},{"1396826723":["hashtag1","hashtag2"]},{"1396826732":["hashtag1","hashtag2"]},{"1396826726":["hashtag1","hashtag2"]},{"1396826728":["hashtag1","hashtag2"]},{"1396826730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826735, 1396826723, 1396826732, 1396826726, 1396826728, 1396826730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00140047073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:53:02.535334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/37/image_29112025_06_37_44_9715.jpg', '/home/pi/Desktop/images/29112025/06/37/image_29112025_06_37_54_10587.jpg', '/home/pi/Desktop/images/29112025/06/38/image_29112025_06_38_14_9702.jpg', '/home/pi/Desktop/images/29112025/06/38/image_29112025_06_38_24_9835.jpg', '/home/pi/Desktop/images/29112025/06/38/image_29112025_06_38_44_9663.jpg', '/home/pi/Desktop/images/29112025/06/38/image_29112025_06_38_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/37/image_29112025_06_37_44_9715.jpg
/home/pi/Desktop/images/29112025/06/37/image_29112025_06_37_54_10587.jpg
/home/pi/Desktop/images/29112025/06/38/image_29112025_06_38_14_9702.jpg
/home/pi/Desktop/images/29112025/06/38/image_29112025_06_38_24_9835.jpg
/home/pi/Desktop/images/29112025/06/38/image_29112025_06_38_44_9663.jpg
/home/pi/Desktop/images/29112025/06/38/image_29112025_06_38_54_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826738","1396826746","1396826740","1396826737","1396826742","1396826739"],"photo_ids_order":["1396826737","1396826738","1396826739","1396826740","1396826742","1396826746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afb5150bbd8a016392e890a4b70b05ee.jpg","text":"TemporaryFile(/tmp/multipartBody6574994255334863691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395643404,"filename":"image_29112025_06_37_54_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d7d4caf974c09baab261e8da0a72622.jpg","text":"TemporaryFile(/tmp/multipartBody8344389962939968658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395643404,"filename":"image_29112025_06_38_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3204e5681a1db9eb42c45a307af93153.jpg","text":"TemporaryFile(/tmp/multipartBody7879489447385145903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395643404,"filename":"image_29112025_06_38_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/11/29/1fc0a4dcd7120800c6857915e194d433.jpg","text":"TemporaryFile(/tmp/multipartBody7209255692104263956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395643404,"filename":"image_29112025_06_37_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/11/29/34e65ea3f883f3fc8d4267f83cd1e960.jpg","text":"TemporaryFile(/tmp/multipartBody4927701282347426941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395643404,"filename":"image_29112025_06_38_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/11/29/55aceb4ff9c32b6101c212f2e9820d7a.jpg","text":"TemporaryFile(/tmp/multipartBody6448399200508078639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395643404,"filename":"image_29112025_06_38_14_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826739","file1":"1396826738","file0":"1396826737","file4":"1396826742","file5":"1396826746","file3":"1396826740"},"map_files_photo_id_array":[{"photo_id":"1396826746","filename":"file5"},{"photo_id":"1396826739","filename":"file2"},{"photo_id":"1396826742","filename":"file4"},{"photo_id":"1396826738","filename":"file1"},{"photo_id":"1396826737","filename":"file0"},{"photo_id":"1396826740","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826738":["hashtag1","hashtag2"]},{"1396826746":["hashtag1","hashtag2"]},{"1396826740":["hashtag1","hashtag2"]},{"1396826737":["hashtag1","hashtag2"]},{"1396826742":["hashtag1","hashtag2"]},{"1396826739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826738, 1396826746, 1396826740, 1396826737, 1396826742, 1396826739)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.18525552749634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:54:02.873252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/38/image_29112025_06_39_04_10600.jpg', '/home/pi/Desktop/images/29112025/06/39/image_29112025_06_39_24_9715.jpg', '/home/pi/Desktop/images/29112025/06/39/image_29112025_06_39_35_10713.jpg', '/home/pi/Desktop/images/29112025/06/39/image_29112025_06_39_44_9780.jpg', '/home/pi/Desktop/images/29112025/06/39/image_29112025_06_39_54_9593.jpg', '/home/pi/Desktop/images/29112025/06/39/image_29112025_06_40_05_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/38/image_29112025_06_39_04_10600.jpg
/home/pi/Desktop/images/29112025/06/39/image_29112025_06_39_24_9715.jpg
/home/pi/Desktop/images/29112025/06/39/image_29112025_06_39_35_10713.jpg
/home/pi/Desktop/images/29112025/06/39/image_29112025_06_39_44_9780.jpg
/home/pi/Desktop/images/29112025/06/39/image_29112025_06_39_54_9593.jpg
/home/pi/Desktop/images/29112025/06/39/image_29112025_06_40_05_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":["1396826756","1396826764","1396826758","1396826755","1396826760","1396826757"],"photo_ids_order":["1396826755","1396826756","1396826757","1396826758","1396826760","1396826764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/032c852ec20b115d8ac76253946e0574.jpg","text":"TemporaryFile(/tmp/multipartBody6396183491059379671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395703751,"filename":"image_29112025_06_39_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/11/29/ea496f419236b7b69a51652c70a68238.jpg","text":"TemporaryFile(/tmp/multipartBody3839218680942870578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395703751,"filename":"image_29112025_06_40_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/11/29/9ba6adfa0384a8533a774c8deb1b49c8.jpg","text":"TemporaryFile(/tmp/multipartBody3042971853994956724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395703751,"filename":"image_29112025_06_39_44_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94a1f9995edb2eaa33424d3788cd365e.jpg","text":"TemporaryFile(/tmp/multipartBody2503996126706422181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395703751,"filename":"image_29112025_06_39_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/11/29/d3a32bd2acae513a9b3e6ded6da1b8f5.jpg","text":"TemporaryFile(/tmp/multipartBody9115710505620105620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395703751,"filename":"image_29112025_06_39_54_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6cf2010ec81cf02579f16d96205c6aab.jpg","text":"TemporaryFile(/tmp/multipartBody4172175586432140227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395703751,"filename":"image_29112025_06_39_35_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826757","file1":"1396826756","file0":"1396826755","file4":"1396826760","file5":"1396826764","file3":"1396826758"},"map_files_photo_id_array":[{"photo_id":"1396826764","filename":"file5"},{"photo_id":"1396826757","filename":"file2"},{"photo_id":"1396826760","filename":"file4"},{"photo_id":"1396826756","filename":"file1"},{"photo_id":"1396826755","filename":"file0"},{"photo_id":"1396826758","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826756":["hashtag1","hashtag2"]},{"1396826764":["hashtag1","hashtag2"]},{"1396826758":["hashtag1","hashtag2"]},{"1396826755":["hashtag1","hashtag2"]},{"1396826760":["hashtag1","hashtag2"]},{"1396826757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826756, 1396826764, 1396826758, 1396826755, 1396826760, 1396826757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59807109832764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:54:42.197660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_32_2676.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_36_3636.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_39_2534.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_51_12408.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_54_3017.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_56_1583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_32_2676.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_36_3636.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_39_2534.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_51_12408.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_54_3017.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_56_1583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826780","1396826777","1396826776","1396826779","1396826773","1396826778"],"photo_ids_order":["1396826773","1396826776","1396826777","1396826778","1396826779","1396826780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48f90dcdce9934e3c22d7df888e11861.jpg","text":"TemporaryFile(/tmp/multipartBody9205474186315149534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395743274,"filename":"image_31102025_08_55_56_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95a1a300643a73c3748df1f00291c53a.jpg","text":"TemporaryFile(/tmp/multipartBody6184767289833552937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395743274,"filename":"image_31102025_08_55_39_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82dcf508eb60e1583542ddfeb611e858.jpg","text":"TemporaryFile(/tmp/multipartBody8969932915365938981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395743274,"filename":"image_31102025_08_55_36_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/366751fc04d3ba43c756733f74a95c68.jpg","text":"TemporaryFile(/tmp/multipartBody5571064479426989768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395743274,"filename":"image_31102025_08_55_54_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/966984f91a0c32c1cd705be21d026257.jpg","text":"TemporaryFile(/tmp/multipartBody1538696852765791585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395743274,"filename":"image_31102025_08_55_32_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/671129295b86fd973dd5a412f7985001.jpg","text":"TemporaryFile(/tmp/multipartBody4494333668761041442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395743274,"filename":"image_31102025_08_55_51_12408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826777","file1":"1396826776","file0":"1396826773","file4":"1396826779","file5":"1396826780","file3":"1396826778"},"map_files_photo_id_array":[{"photo_id":"1396826780","filename":"file5"},{"photo_id":"1396826777","filename":"file2"},{"photo_id":"1396826779","filename":"file4"},{"photo_id":"1396826776","filename":"file1"},{"photo_id":"1396826773","filename":"file0"},{"photo_id":"1396826778","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826780":["hashtag1","hashtag2"]},{"1396826777":["hashtag1","hashtag2"]},{"1396826776":["hashtag1","hashtag2"]},{"1396826779":["hashtag1","hashtag2"]},{"1396826773":["hashtag1","hashtag2"]},{"1396826778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826780, 1396826777, 1396826776, 1396826779, 1396826773, 1396826778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5244665145874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:55:22.448273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/40/image_29112025_06_40_14_9679.jpg', '/home/pi/Desktop/images/29112025/06/40/image_29112025_06_40_24_9791.jpg', '/home/pi/Desktop/images/29112025/06/40/image_29112025_06_40_35_10591.jpg', '/home/pi/Desktop/images/29112025/06/40/image_29112025_06_40_44_9722.jpg', '/home/pi/Desktop/images/29112025/06/40/image_29112025_06_40_54_9751.jpg', '/home/pi/Desktop/images/29112025/06/40/image_29112025_06_41_04_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/40/image_29112025_06_40_14_9679.jpg
/home/pi/Desktop/images/29112025/06/40/image_29112025_06_40_24_9791.jpg
/home/pi/Desktop/images/29112025/06/40/image_29112025_06_40_35_10591.jpg
/home/pi/Desktop/images/29112025/06/40/image_29112025_06_40_44_9722.jpg
/home/pi/Desktop/images/29112025/06/40/image_29112025_06_40_54_9751.jpg
/home/pi/Desktop/images/29112025/06/40/image_29112025_06_41_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":["1396826798","1396826792","1396826786","1396826795","1396826789","1396826783"],"photo_ids_order":["1396826783","1396826786","1396826789","1396826792","1396826795","1396826798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/997e8c1f4d811957e5d36d26ac265b0f.jpg","text":"TemporaryFile(/tmp/multipartBody3645781485276571954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395783205,"filename":"image_29112025_06_41_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/11/29/dfe0e32e24b9d0c2b2e5b0980db06f2f.jpg","text":"TemporaryFile(/tmp/multipartBody7004386451252232742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395783205,"filename":"image_29112025_06_40_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/11/29/6e96f72e1e58179f3e5b8a9f62cad650.jpg","text":"TemporaryFile(/tmp/multipartBody6955650185729072115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395783205,"filename":"image_29112025_06_40_24_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/392cc326ff9bec2f8c2e97f13cf9993d.jpg","text":"TemporaryFile(/tmp/multipartBody8930348816434314669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395783205,"filename":"image_29112025_06_40_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e25ab2f4ace16d526720547f1f17fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4045496391611511210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395783205,"filename":"image_29112025_06_40_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/11/29/a1dbcd29ed1cfb2f9b5680884d1ec151.jpg","text":"TemporaryFile(/tmp/multipartBody3495604911470330305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395783205,"filename":"image_29112025_06_40_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826789","file1":"1396826786","file0":"1396826783","file4":"1396826795","file5":"1396826798","file3":"1396826792"},"map_files_photo_id_array":[{"photo_id":"1396826798","filename":"file5"},{"photo_id":"1396826789","filename":"file2"},{"photo_id":"1396826795","filename":"file4"},{"photo_id":"1396826786","filename":"file1"},{"photo_id":"1396826783","filename":"file0"},{"photo_id":"1396826792","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826798":["hashtag1","hashtag2"]},{"1396826792":["hashtag1","hashtag2"]},{"1396826786":["hashtag1","hashtag2"]},{"1396826795":["hashtag1","hashtag2"]},{"1396826789":["hashtag1","hashtag2"]},{"1396826783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826798, 1396826792, 1396826786, 1396826795, 1396826789, 1396826783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0697979927063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:56:02.973563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/41/image_29112025_06_41_15_10673.jpg', '/home/pi/Desktop/images/29112025/06/41/image_29112025_06_41_24_9607.jpg', '/home/pi/Desktop/images/29112025/06/41/image_29112025_06_41_34_9725.jpg', '/home/pi/Desktop/images/29112025/06/41/image_29112025_06_41_45_10649.jpg', '/home/pi/Desktop/images/29112025/06/41/image_29112025_06_41_54_9720.jpg', '/home/pi/Desktop/images/29112025/06/41/image_29112025_06_42_04_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/41/image_29112025_06_41_15_10673.jpg
/home/pi/Desktop/images/29112025/06/41/image_29112025_06_41_24_9607.jpg
/home/pi/Desktop/images/29112025/06/41/image_29112025_06_41_34_9725.jpg
/home/pi/Desktop/images/29112025/06/41/image_29112025_06_41_45_10649.jpg
/home/pi/Desktop/images/29112025/06/41/image_29112025_06_41_54_9720.jpg
/home/pi/Desktop/images/29112025/06/41/image_29112025_06_42_04_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":["1396826805","1396826808","1396826802","1396826801","1396826800","1396826803"],"photo_ids_order":["1396826800","1396826801","1396826802","1396826803","1396826805","1396826808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d87bb283f3779ad24776b97d8a422cd.jpg","text":"TemporaryFile(/tmp/multipartBody5682305068378835536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395823776,"filename":"image_29112025_06_41_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/11/29/ff08506683378a2ecf51304bc2acb873.jpg","text":"TemporaryFile(/tmp/multipartBody4717907690569013355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395823776,"filename":"image_29112025_06_42_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/11/29/cb0326880c005f92d67915014694e11c.jpg","text":"TemporaryFile(/tmp/multipartBody6919704193055667752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395823776,"filename":"image_29112025_06_41_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/11/29/8f23440fa63a912f48e08936ad198455.jpg","text":"TemporaryFile(/tmp/multipartBody308631601160093829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395823776,"filename":"image_29112025_06_41_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c0d4b237e5d6aeee7ef4aab703b8143.jpg","text":"TemporaryFile(/tmp/multipartBody7303732230871631670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395823776,"filename":"image_29112025_06_41_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/11/29/9c28c730ec4a7b8ae6127a710ac9d1ff.jpg","text":"TemporaryFile(/tmp/multipartBody3780199393023921270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395823776,"filename":"image_29112025_06_41_45_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826802","file1":"1396826801","file0":"1396826800","file4":"1396826805","file5":"1396826808","file3":"1396826803"},"map_files_photo_id_array":[{"photo_id":"1396826808","filename":"file5"},{"photo_id":"1396826802","filename":"file2"},{"photo_id":"1396826805","filename":"file4"},{"photo_id":"1396826801","filename":"file1"},{"photo_id":"1396826800","filename":"file0"},{"photo_id":"1396826803","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826805":["hashtag1","hashtag2"]},{"1396826808":["hashtag1","hashtag2"]},{"1396826802":["hashtag1","hashtag2"]},{"1396826801":["hashtag1","hashtag2"]},{"1396826800":["hashtag1","hashtag2"]},{"1396826803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826805, 1396826808, 1396826802, 1396826801, 1396826800, 1396826803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74832201004028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 06:56:42.592939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_57_1590.jpg', '/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_59_1937.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_01_1684.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_02_1615.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_04_1596.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_06_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_57_1590.jpg
/home/pi/Desktop/images/31102025/08/55/image_31102025_08_55_59_1937.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_01_1684.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_02_1615.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_04_1596.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_06_1639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826820","1396826822","1396826821","1396826824","1396826818","1396826823"],"photo_ids_order":["1396826818","1396826820","1396826821","1396826822","1396826823","1396826824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20479f33211012f6461960d7c446b39f.jpg","text":"TemporaryFile(/tmp/multipartBody3289155064401808248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395863686,"filename":"image_31102025_08_55_59_1937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3f811acad338294afad1a9b59b78f23.jpg","text":"TemporaryFile(/tmp/multipartBody5141447202910424246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395863686,"filename":"image_31102025_08_56_02_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3a83f2dcdd1b40bcab42b4704b708b7.jpg","text":"TemporaryFile(/tmp/multipartBody6226701430112797251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395863686,"filename":"image_31102025_08_56_01_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97d39f9a6bee0e796ef3043be799ff46.jpg","text":"TemporaryFile(/tmp/multipartBody8021472563858483415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395863686,"filename":"image_31102025_08_56_06_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0d40df9193383fc45153a67965d6750.jpg","text":"TemporaryFile(/tmp/multipartBody4044021289142136960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395863686,"filename":"image_31102025_08_55_57_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bca96ea042518042f8f96f98bc48f820.jpg","text":"TemporaryFile(/tmp/multipartBody2875484299798626645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395863686,"filename":"image_31102025_08_56_04_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826821","file1":"1396826820","file0":"1396826818","file4":"1396826823","file5":"1396826824","file3":"1396826822"},"map_files_photo_id_array":[{"photo_id":"1396826824","filename":"file5"},{"photo_id":"1396826821","filename":"file2"},{"photo_id":"1396826823","filename":"file4"},{"photo_id":"1396826820","filename":"file1"},{"photo_id":"1396826818","filename":"file0"},{"photo_id":"1396826822","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396826820":["hashtag1","hashtag2"]},{"1396826822":["hashtag1","hashtag2"]},{"1396826821":["hashtag1","hashtag2"]},{"1396826824":["hashtag1","hashtag2"]},{"1396826818":["hashtag1","hashtag2"]},{"1396826823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396826820, 1396826822, 1396826821, 1396826824, 1396826818, 1396826823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30869722366333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 06:57:22.747360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/42/image_29112025_06_42_15_10794.jpg', '/home/pi/Desktop/images/29112025/06/42/image_29112025_06_42_24_9569.jpg', '/home/pi/Desktop/images/29112025/06/42/image_29112025_06_42_34_9767.jpg', '/home/pi/Desktop/images/29112025/06/42/image_29112025_06_42_45_10556.jpg', '/home/pi/Desktop/images/29112025/06/42/image_29112025_06_42_54_9905.jpg', '/home/pi/Desktop/images/29112025/06/42/image_29112025_06_43_04_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/42/image_29112025_06_42_15_10794.jpg
/home/pi/Desktop/images/29112025/06/42/image_29112025_06_42_24_9569.jpg
/home/pi/Desktop/images/29112025/06/42/image_29112025_06_42_34_9767.jpg
/home/pi/Desktop/images/29112025/06/42/image_29112025_06_42_45_10556.jpg
/home/pi/Desktop/images/29112025/06/42/image_29112025_06_42_54_9905.jpg
/home/pi/Desktop/images/29112025/06/42/image_29112025_06_43_04_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826845","1396826830","1396826833","1396826827","1396826841","1396826838"],"photo_ids_order":["1396826827","1396826830","1396826833","1396826838","1396826841","1396826845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c64884f4e944d9f5a7a3f1884cf6141.jpg","text":"TemporaryFile(/tmp/multipartBody8159694882296895071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395903498,"filename":"image_29112025_06_43_04_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dcbe0cf8b9ecc581cf955395e85db586.jpg","text":"TemporaryFile(/tmp/multipartBody222950402687345247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395903498,"filename":"image_29112025_06_42_24_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fed385ec922c7ec064ae4dfa90fbb2a.jpg","text":"TemporaryFile(/tmp/multipartBody91012637712343097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395903498,"filename":"image_29112025_06_42_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/11/29/c77b4a389a06116857070b22f1e39641.jpg","text":"TemporaryFile(/tmp/multipartBody244078956672335407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395903498,"filename":"image_29112025_06_42_15_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83ddc6cdb762c2436dd02dfac23bf789.jpg","text":"TemporaryFile(/tmp/multipartBody4863918615429896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395903498,"filename":"image_29112025_06_42_54_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/284479173e9e0a56331f849c95cf56a6.jpg","text":"TemporaryFile(/tmp/multipartBody1807867997870138459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764395903498,"filename":"image_29112025_06_42_45_10556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826833","file1":"1396826830","file0":"1396826827","file4":"1396826841","file5":"1396826845","file3":"1396826838"},"map_files_photo_id_array":[{"photo_id":"1396826845","filename":"file5"},{"photo_id":"1396826833","filename":"file2"},{"photo_id":"1396826841","filename":"file4"},{"photo_id":"1396826830","filename":"file1"},{"photo_id":"1396826827","filename":"file0"},{"photo_id":"1396826838","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826845":["hashtag1","hashtag2"]},{"1396826830":["hashtag1","hashtag2"]},{"1396826833":["hashtag1","hashtag2"]},{"1396826827":["hashtag1","hashtag2"]},{"1396826841":["hashtag1","hashtag2"]},{"1396826838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826845, 1396826830, 1396826833, 1396826827, 1396826841, 1396826838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69248938560486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 06:59:03.167534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/43/image_29112025_06_43_24_10695.jpg', '/home/pi/Desktop/images/29112025/06/43/image_29112025_06_43_44_9692.jpg', '/home/pi/Desktop/images/29112025/06/43/image_29112025_06_43_54_9767.jpg', '/home/pi/Desktop/images/29112025/06/43/image_29112025_06_44_04_10611.jpg', '/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_24_9815.jpg', '/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_35_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/43/image_29112025_06_43_24_10695.jpg
/home/pi/Desktop/images/29112025/06/43/image_29112025_06_43_44_9692.jpg
/home/pi/Desktop/images/29112025/06/43/image_29112025_06_43_54_9767.jpg
/home/pi/Desktop/images/29112025/06/43/image_29112025_06_44_04_10611.jpg
/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_24_9815.jpg
/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_35_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396826855","1396826860","1396826874","1396826868","1396826871","1396826865"],"photo_ids_order":["1396826855","1396826860","1396826865","1396826868","1396826871","1396826874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f54e32dd4f4b782224248fdd83c3cbb.jpg","text":"TemporaryFile(/tmp/multipartBody2450688515225010317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396004131,"filename":"image_29112025_06_43_24_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3ecfbd3a70bbeeacb1fde49cde8814d.jpg","text":"TemporaryFile(/tmp/multipartBody82883438437013482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396004131,"filename":"image_29112025_06_43_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/11/29/db4a748e4fc7a443a1f5aae183645390.jpg","text":"TemporaryFile(/tmp/multipartBody1225616223361133325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396004131,"filename":"image_29112025_06_44_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/11/29/a3e941568365c65ebc21d88f043099d7.jpg","text":"TemporaryFile(/tmp/multipartBody5541911420170297362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396004131,"filename":"image_29112025_06_44_04_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28e1ad271b6768de8396d5da612276e1.jpg","text":"TemporaryFile(/tmp/multipartBody2810523939261500991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396004131,"filename":"image_29112025_06_44_24_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7adf7d38ff9acfd12cf2b7d94380c97a.jpg","text":"TemporaryFile(/tmp/multipartBody6276867548089013033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396004131,"filename":"image_29112025_06_43_54_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826865","file1":"1396826860","file0":"1396826855","file4":"1396826871","file5":"1396826874","file3":"1396826868"},"map_files_photo_id_array":[{"photo_id":"1396826874","filename":"file5"},{"photo_id":"1396826865","filename":"file2"},{"photo_id":"1396826871","filename":"file4"},{"photo_id":"1396826860","filename":"file1"},{"photo_id":"1396826855","filename":"file0"},{"photo_id":"1396826868","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396826855":["hashtag1","hashtag2"]},{"1396826860":["hashtag1","hashtag2"]},{"1396826874":["hashtag1","hashtag2"]},{"1396826868":["hashtag1","hashtag2"]},{"1396826871":["hashtag1","hashtag2"]},{"1396826865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396826855, 1396826860, 1396826874, 1396826868, 1396826871, 1396826865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2732880115509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:00:02.912212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_44_9714.jpg', '/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_54_9762.jpg', '/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_14_10243.jpg', '/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_24_9900.jpg', '/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_35_10670.jpg', '/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_44_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_44_9714.jpg
/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_54_9762.jpg
/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_14_10243.jpg
/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_24_9900.jpg
/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_35_10670.jpg
/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_44_9742.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6751694679260254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 07:00:12.517275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_47_3593.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_49_2597.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_53_3630.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_55_2623.jpg', '/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_58_2795.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_01_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_47_3593.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_49_2597.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_53_3630.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_55_2623.jpg
/home/pi/Desktop/images/25112025/17/51/image_25112025_17_51_58_2795.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_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":["1396826904","1396826897","1396826901","1396826893","1396826899","1396826895"],"photo_ids_order":["1396826893","1396826895","1396826897","1396826899","1396826901","1396826904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3f9d11368bb1b7ad014a411ed679202.jpg","text":"TemporaryFile(/tmp/multipartBody6716661141579448515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396074618,"filename":"image_25112025_17_52_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/11/29/f2d8627daca6ca9d867e24cb673d1996.jpg","text":"TemporaryFile(/tmp/multipartBody2839350858241325209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396074618,"filename":"image_25112025_17_51_53_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c412b8d952a52956f8d98dda4cd6dcc.jpg","text":"TemporaryFile(/tmp/multipartBody4349451676198795986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396074618,"filename":"image_25112025_17_51_58_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac4dcc479db217c6a82ad2effcb8f8d6.jpg","text":"TemporaryFile(/tmp/multipartBody1561892594364615040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396074618,"filename":"image_25112025_17_51_47_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2a3b9600329bb122b511826f30f49e4.jpg","text":"TemporaryFile(/tmp/multipartBody9116024032103097354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396074618,"filename":"image_25112025_17_51_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/11/29/266cde7359a3e1cdc0fd2675bc1b75e8.jpg","text":"TemporaryFile(/tmp/multipartBody1274149226858063348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396074618,"filename":"image_25112025_17_51_49_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396826897","file1":"1396826895","file0":"1396826893","file4":"1396826901","file5":"1396826904","file3":"1396826899"},"map_files_photo_id_array":[{"photo_id":"1396826904","filename":"file5"},{"photo_id":"1396826897","filename":"file2"},{"photo_id":"1396826901","filename":"file4"},{"photo_id":"1396826895","filename":"file1"},{"photo_id":"1396826893","filename":"file0"},{"photo_id":"1396826899","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396826904":["hashtag1","hashtag2"]},{"1396826897":["hashtag1","hashtag2"]},{"1396826901":["hashtag1","hashtag2"]},{"1396826893":["hashtag1","hashtag2"]},{"1396826899":["hashtag1","hashtag2"]},{"1396826895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396826904, 1396826897, 1396826901, 1396826893, 1396826899, 1396826895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17082214355469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:01:03.400303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_44_9714.jpg', '/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_54_9762.jpg', '/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_14_10243.jpg', '/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_24_9900.jpg', '/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_35_10670.jpg', '/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_44_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_44_9714.jpg
/home/pi/Desktop/images/29112025/06/44/image_29112025_06_44_54_9762.jpg
/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_14_10243.jpg
/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_24_9900.jpg
/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_35_10670.jpg
/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_44_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396827065","1396827212","1396827137","1396827101","1396827031","1396827174"],"photo_ids_order":["1396827031","1396827065","1396827101","1396827137","1396827174","1396827212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3346cb9455350a40c68094eedf9b3532.jpg","text":"TemporaryFile(/tmp/multipartBody1217237913413257192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396124215,"filename":"image_29112025_06_44_54_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9272afc75271191dca8d09e265f02287.jpg","text":"TemporaryFile(/tmp/multipartBody3839675945466274411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396124215,"filename":"image_29112025_06_45_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ab6c8fc36fffd5276b46e5fa0d80702.jpg","text":"TemporaryFile(/tmp/multipartBody4141989631041777723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396124215,"filename":"image_29112025_06_45_24_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74094567d9a47642ea4cfab0a5c942a5.jpg","text":"TemporaryFile(/tmp/multipartBody3999912881645377380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396124215,"filename":"image_29112025_06_45_14_10243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ffd66783b1dabe508ad08375954e858.jpg","text":"TemporaryFile(/tmp/multipartBody7034660160353166938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396124215,"filename":"image_29112025_06_44_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/11/29/254e9b370aa9dd59e29b57fd17dd5969.jpg","text":"TemporaryFile(/tmp/multipartBody1884424349487116847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396124215,"filename":"image_29112025_06_45_35_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396827101","file1":"1396827065","file0":"1396827031","file4":"1396827174","file5":"1396827212","file3":"1396827137"},"map_files_photo_id_array":[{"photo_id":"1396827212","filename":"file5"},{"photo_id":"1396827101","filename":"file2"},{"photo_id":"1396827174","filename":"file4"},{"photo_id":"1396827065","filename":"file1"},{"photo_id":"1396827031","filename":"file0"},{"photo_id":"1396827137","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396827065":["hashtag1","hashtag2"]},{"1396827212":["hashtag1","hashtag2"]},{"1396827137":["hashtag1","hashtag2"]},{"1396827101":["hashtag1","hashtag2"]},{"1396827031":["hashtag1","hashtag2"]},{"1396827174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396827065, 1396827212, 1396827137, 1396827101, 1396827031, 1396827174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49150085449219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:01:42.784389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_08_2534.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_12_3790.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_15_2625.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_17_2819.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_21_3503.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_24_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/08/56/image_31102025_08_56_08_2534.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_12_3790.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_15_2625.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_17_2819.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_21_3503.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_24_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":["1396827425","1396827598","1396827388","1396827460","1396827348","1396827528"],"photo_ids_order":["1396827348","1396827388","1396827425","1396827460","1396827528","1396827598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd331d2182e0e912bcbc74e81cbfed15.jpg","text":"TemporaryFile(/tmp/multipartBody6691714705494334178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396163868,"filename":"image_31102025_08_56_15_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58dba39c4cdb508a6e4c2af04a66a114.jpg","text":"TemporaryFile(/tmp/multipartBody1310191392078941196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396163868,"filename":"image_31102025_08_56_24_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfb195f6821970f841e06bf46895c89a.jpg","text":"TemporaryFile(/tmp/multipartBody2496337461623901420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396163868,"filename":"image_31102025_08_56_12_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25141985dc0d2ce6823fd1450595fe86.jpg","text":"TemporaryFile(/tmp/multipartBody4331322338284533962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396163868,"filename":"image_31102025_08_56_17_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fba793dc1b0f60880a3f88e7c228b07a.jpg","text":"TemporaryFile(/tmp/multipartBody843201060946196607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396163868,"filename":"image_31102025_08_56_08_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5cb0606ce65d4faf9007e656a8909499.jpg","text":"TemporaryFile(/tmp/multipartBody8952835572467974533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396163868,"filename":"image_31102025_08_56_21_3503.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396827425","file1":"1396827388","file0":"1396827348","file4":"1396827528","file5":"1396827598","file3":"1396827460"},"map_files_photo_id_array":[{"photo_id":"1396827598","filename":"file5"},{"photo_id":"1396827425","filename":"file2"},{"photo_id":"1396827528","filename":"file4"},{"photo_id":"1396827388","filename":"file1"},{"photo_id":"1396827348","filename":"file0"},{"photo_id":"1396827460","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396827425":["hashtag1","hashtag2"]},{"1396827598":["hashtag1","hashtag2"]},{"1396827388":["hashtag1","hashtag2"]},{"1396827460":["hashtag1","hashtag2"]},{"1396827348":["hashtag1","hashtag2"]},{"1396827528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396827425, 1396827598, 1396827388, 1396827460, 1396827348, 1396827528)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.997084617614746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 07:02:31.947144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_04_3608.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_07_2685.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_17_3976.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_19_1962.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_24_4398.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_27_3096.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_04_3608.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_07_2685.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_17_3976.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_19_1962.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_24_4398.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_27_3096.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396828211","1396827968","1396828164","1396828092","1396828020","1396827930"],"photo_ids_order":["1396827930","1396827968","1396828020","1396828092","1396828164","1396828211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85898adae94e0e81f74b7be27a8678fd.jpg","text":"TemporaryFile(/tmp/multipartBody1751869014936507279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396214148,"filename":"image_25112025_17_52_27_3096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf3ba60cd4ae84a2343e1980152165f8.jpg","text":"TemporaryFile(/tmp/multipartBody4759391626972063687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396214148,"filename":"image_25112025_17_52_07_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/852689e546b67cb0ae346d4f8782da5d.jpg","text":"TemporaryFile(/tmp/multipartBody8965026943067940844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396214148,"filename":"image_25112025_17_52_24_4398.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/629b8c1d3d1b61ac0c6e3254daac9756.jpg","text":"TemporaryFile(/tmp/multipartBody7486837459240999535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396214148,"filename":"image_25112025_17_52_19_1962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bdd2dd6385b7884ccbb6cd31c5bca0f6.jpg","text":"TemporaryFile(/tmp/multipartBody5515496465098871958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396214148,"filename":"image_25112025_17_52_17_3976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cef240bb91afbd9c711d7026d67f4e6.jpg","text":"TemporaryFile(/tmp/multipartBody2022602879777479949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396214148,"filename":"image_25112025_17_52_04_3608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396828020","file1":"1396827968","file0":"1396827930","file4":"1396828164","file5":"1396828211","file3":"1396828092"},"map_files_photo_id_array":[{"photo_id":"1396828211","filename":"file5"},{"photo_id":"1396828020","filename":"file2"},{"photo_id":"1396828164","filename":"file4"},{"photo_id":"1396827968","filename":"file1"},{"photo_id":"1396827930","filename":"file0"},{"photo_id":"1396828092","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396828211":["hashtag1","hashtag2"]},{"1396827968":["hashtag1","hashtag2"]},{"1396828164":["hashtag1","hashtag2"]},{"1396828092":["hashtag1","hashtag2"]},{"1396828020":["hashtag1","hashtag2"]},{"1396827930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396828211, 1396827968, 1396828164, 1396828092, 1396828020, 1396827930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11541247367859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 07:03:12.030158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_28_1539.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_31_2796.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_34_2664.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_38_3697.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_44_3467.jpg', '/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_46_2497.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_28_1539.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_31_2796.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_34_2664.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_38_3697.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_44_3467.jpg
/home/pi/Desktop/images/25112025/17/52/image_25112025_17_52_46_2497.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396828555","1396828477","1396828438","1396828593","1396828518","1396828401"],"photo_ids_order":["1396828401","1396828438","1396828477","1396828518","1396828555","1396828593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99ef77cad1b33f94a58091a00f3d6185.jpg","text":"TemporaryFile(/tmp/multipartBody5398753092661363191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396254111,"filename":"image_25112025_17_52_44_3467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/059b1730b2e68484f8864fd4cee6d106.jpg","text":"TemporaryFile(/tmp/multipartBody1663963559908880215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396254111,"filename":"image_25112025_17_52_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/11/29/fc4217b307947032d399b172d277a9f6.jpg","text":"TemporaryFile(/tmp/multipartBody4038928474808367976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396254111,"filename":"image_25112025_17_52_31_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3482b2f1f91db5625d88d6ed401c171.jpg","text":"TemporaryFile(/tmp/multipartBody466278504212961223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396254111,"filename":"image_25112025_17_52_46_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb955cadd8102baea4196e8956d6f92d.jpg","text":"TemporaryFile(/tmp/multipartBody9208697305133076474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396254111,"filename":"image_25112025_17_52_38_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10842bf9788aca523792c1281b584d51.jpg","text":"TemporaryFile(/tmp/multipartBody5270980930965557064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396254111,"filename":"image_25112025_17_52_28_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396828477","file1":"1396828438","file0":"1396828401","file4":"1396828555","file5":"1396828593","file3":"1396828518"},"map_files_photo_id_array":[{"photo_id":"1396828593","filename":"file5"},{"photo_id":"1396828477","filename":"file2"},{"photo_id":"1396828555","filename":"file4"},{"photo_id":"1396828438","filename":"file1"},{"photo_id":"1396828401","filename":"file0"},{"photo_id":"1396828518","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396828555":["hashtag1","hashtag2"]},{"1396828477":["hashtag1","hashtag2"]},{"1396828438":["hashtag1","hashtag2"]},{"1396828593":["hashtag1","hashtag2"]},{"1396828518":["hashtag1","hashtag2"]},{"1396828401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396828555, 1396828477, 1396828438, 1396828593, 1396828518, 1396828401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64611315727234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:04:02.907291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_54_9642.jpg', '/home/pi/Desktop/images/29112025/06/45/image_29112025_06_46_04_9646.jpg', '/home/pi/Desktop/images/29112025/06/46/image_29112025_06_46_24_9814.jpg', '/home/pi/Desktop/images/29112025/06/46/image_29112025_06_46_34_9799.jpg', '/home/pi/Desktop/images/29112025/06/46/image_29112025_06_46_44_10563.jpg', '/home/pi/Desktop/images/29112025/06/46/image_29112025_06_47_04_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/45/image_29112025_06_45_54_9642.jpg
/home/pi/Desktop/images/29112025/06/45/image_29112025_06_46_04_9646.jpg
/home/pi/Desktop/images/29112025/06/46/image_29112025_06_46_24_9814.jpg
/home/pi/Desktop/images/29112025/06/46/image_29112025_06_46_34_9799.jpg
/home/pi/Desktop/images/29112025/06/46/image_29112025_06_46_44_10563.jpg
/home/pi/Desktop/images/29112025/06/46/image_29112025_06_47_04_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396829092","1396829029","1396829203","1396829163","1396829127","1396828959"],"photo_ids_order":["1396828959","1396829029","1396829092","1396829127","1396829163","1396829203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b24e3a4fdbeb50b6088e564220560ed.jpg","text":"TemporaryFile(/tmp/multipartBody5580786766258958400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396303783,"filename":"image_29112025_06_46_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc890a1710d8d48205a263e87b18ad6c.jpg","text":"TemporaryFile(/tmp/multipartBody3537847988135438624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396303783,"filename":"image_29112025_06_46_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/11/29/7f6c92acebfb4bc13edc67a95afc8b1f.jpg","text":"TemporaryFile(/tmp/multipartBody887344166358239083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396303783,"filename":"image_29112025_06_47_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/11/29/334c902daa36a2b4f7a4bc982ffd909a.jpg","text":"TemporaryFile(/tmp/multipartBody1009820383118094971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396303783,"filename":"image_29112025_06_46_44_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fff13cc289ac692ded57d5e87b7cb406.jpg","text":"TemporaryFile(/tmp/multipartBody4711605619355783475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396303783,"filename":"image_29112025_06_46_34_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/206e11ef113fe1d3505389ae4a2a9003.jpg","text":"TemporaryFile(/tmp/multipartBody8167277340426665966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396303783,"filename":"image_29112025_06_45_54_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396829092","file1":"1396829029","file0":"1396828959","file4":"1396829163","file5":"1396829203","file3":"1396829127"},"map_files_photo_id_array":[{"photo_id":"1396829203","filename":"file5"},{"photo_id":"1396829092","filename":"file2"},{"photo_id":"1396829163","filename":"file4"},{"photo_id":"1396829029","filename":"file1"},{"photo_id":"1396828959","filename":"file0"},{"photo_id":"1396829127","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396829092":["hashtag1","hashtag2"]},{"1396829029":["hashtag1","hashtag2"]},{"1396829203":["hashtag1","hashtag2"]},{"1396829163":["hashtag1","hashtag2"]},{"1396829127":["hashtag1","hashtag2"]},{"1396828959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396829092, 1396829029, 1396829203, 1396829163, 1396829127, 1396828959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08785700798035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:04:42.245782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_26_2588.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_30_3607.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_32_2682.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_35_2732.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_39_3753.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_42_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_26_2588.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_30_3607.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_32_2682.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_35_2732.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_39_3753.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_42_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396829380","1396829416","1396829487","1396829340","1396829523","1396829453"],"photo_ids_order":["1396829340","1396829380","1396829416","1396829453","1396829487","1396829523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a752e5397f01ccfcddfe32779940dac6.jpg","text":"TemporaryFile(/tmp/multipartBody209080364678927662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396343309,"filename":"image_31102025_08_56_30_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94657ed287f96f0e2b9ee0ce7a8e3207.jpg","text":"TemporaryFile(/tmp/multipartBody1716514360080390693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396343309,"filename":"image_31102025_08_56_32_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ad6a04c80aa2798b84b601fc1c81a59.jpg","text":"TemporaryFile(/tmp/multipartBody3506387208415117083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396343309,"filename":"image_31102025_08_56_39_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cdd78a489f14b1c1d586ad5f00c0b84c.jpg","text":"TemporaryFile(/tmp/multipartBody2731585954683968733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396343309,"filename":"image_31102025_08_56_26_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b24064f3ea28b7ba46dd008ca6efb0c.jpg","text":"TemporaryFile(/tmp/multipartBody9213934515572423680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396343309,"filename":"image_31102025_08_56_42_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/701ba23ed61dbd93ff5342dc6d728067.jpg","text":"TemporaryFile(/tmp/multipartBody5130683179043414740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396343309,"filename":"image_31102025_08_56_35_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396829416","file1":"1396829380","file0":"1396829340","file4":"1396829487","file5":"1396829523","file3":"1396829453"},"map_files_photo_id_array":[{"photo_id":"1396829523","filename":"file5"},{"photo_id":"1396829416","filename":"file2"},{"photo_id":"1396829487","filename":"file4"},{"photo_id":"1396829380","filename":"file1"},{"photo_id":"1396829340","filename":"file0"},{"photo_id":"1396829453","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396829380":["hashtag1","hashtag2"]},{"1396829416":["hashtag1","hashtag2"]},{"1396829487":["hashtag1","hashtag2"]},{"1396829340":["hashtag1","hashtag2"]},{"1396829523":["hashtag1","hashtag2"]},{"1396829453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396829380, 1396829416, 1396829487, 1396829340, 1396829523, 1396829453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26551651954651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:05:22.419964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/47/image_29112025_06_47_15_10844.jpg', '/home/pi/Desktop/images/29112025/06/47/image_29112025_06_47_24_9734.jpg', '/home/pi/Desktop/images/29112025/06/47/image_29112025_06_47_34_9688.jpg', '/home/pi/Desktop/images/29112025/06/47/image_29112025_06_48_05_10782.jpg', '/home/pi/Desktop/images/29112025/06/48/image_29112025_06_48_14_9756.jpg', '/home/pi/Desktop/images/29112025/06/48/image_29112025_06_48_24_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/47/image_29112025_06_47_15_10844.jpg
/home/pi/Desktop/images/29112025/06/47/image_29112025_06_47_24_9734.jpg
/home/pi/Desktop/images/29112025/06/47/image_29112025_06_47_34_9688.jpg
/home/pi/Desktop/images/29112025/06/47/image_29112025_06_48_05_10782.jpg
/home/pi/Desktop/images/29112025/06/48/image_29112025_06_48_14_9756.jpg
/home/pi/Desktop/images/29112025/06/48/image_29112025_06_48_24_9559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396829830","1396829953","1396829682","1396829916","1396829762","1396829875"],"photo_ids_order":["1396829682","1396829762","1396829830","1396829875","1396829916","1396829953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b491a919fc99a3053a2bbf1cc28d947b.jpg","text":"TemporaryFile(/tmp/multipartBody6073039480891855250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396383214,"filename":"image_29112025_06_47_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/11/29/643720ad0a565def62d5c9143b484a76.jpg","text":"TemporaryFile(/tmp/multipartBody1065660144712582313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396383214,"filename":"image_29112025_06_48_24_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0602aed46eebddc18dd00f86e0eadc7.jpg","text":"TemporaryFile(/tmp/multipartBody1495572208371237488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396383214,"filename":"image_29112025_06_47_15_10844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6754b5245f4c81fe6f02659fb4e156d3.jpg","text":"TemporaryFile(/tmp/multipartBody225708187288052047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396383214,"filename":"image_29112025_06_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/11/29/51aabea2165335e2d731935bca4e8968.jpg","text":"TemporaryFile(/tmp/multipartBody5367676098793961143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396383214,"filename":"image_29112025_06_47_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/11/29/5e7c75d5840fbe2cfaa42f9c9dfa69f8.jpg","text":"TemporaryFile(/tmp/multipartBody4781313517755084808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396383214,"filename":"image_29112025_06_48_05_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396829830","file1":"1396829762","file0":"1396829682","file4":"1396829916","file5":"1396829953","file3":"1396829875"},"map_files_photo_id_array":[{"photo_id":"1396829953","filename":"file5"},{"photo_id":"1396829830","filename":"file2"},{"photo_id":"1396829916","filename":"file4"},{"photo_id":"1396829762","filename":"file1"},{"photo_id":"1396829682","filename":"file0"},{"photo_id":"1396829875","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396829830":["hashtag1","hashtag2"]},{"1396829953":["hashtag1","hashtag2"]},{"1396829682":["hashtag1","hashtag2"]},{"1396829916":["hashtag1","hashtag2"]},{"1396829762":["hashtag1","hashtag2"]},{"1396829875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396829830, 1396829953, 1396829682, 1396829916, 1396829762, 1396829875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1295862197876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:06:02.998238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/48/image_29112025_06_48_35_10725.jpg', '/home/pi/Desktop/images/29112025/06/48/image_29112025_06_48_44_9635.jpg', '/home/pi/Desktop/images/29112025/06/48/image_29112025_06_48_54_9619.jpg', '/home/pi/Desktop/images/29112025/06/49/image_29112025_06_49_14_9821.jpg', '/home/pi/Desktop/images/29112025/06/49/image_29112025_06_49_24_9817.jpg', '/home/pi/Desktop/images/29112025/06/49/image_29112025_06_49_45_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/48/image_29112025_06_48_35_10725.jpg
/home/pi/Desktop/images/29112025/06/48/image_29112025_06_48_44_9635.jpg
/home/pi/Desktop/images/29112025/06/48/image_29112025_06_48_54_9619.jpg
/home/pi/Desktop/images/29112025/06/49/image_29112025_06_49_14_9821.jpg
/home/pi/Desktop/images/29112025/06/49/image_29112025_06_49_24_9817.jpg
/home/pi/Desktop/images/29112025/06/49/image_29112025_06_49_45_10722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396830308","1396830199","1396830268","1396830235","1396830270","1396830234"],"photo_ids_order":["1396830199","1396830234","1396830235","1396830268","1396830270","1396830308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4624f2f45163b53d6d5afca403887aaf.jpg","text":"TemporaryFile(/tmp/multipartBody4106111494233676109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396423765,"filename":"image_29112025_06_49_45_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7d05e2f057dc2894c1b26e75b370440.jpg","text":"TemporaryFile(/tmp/multipartBody5021039773400489171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396423765,"filename":"image_29112025_06_48_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/11/29/ee7b789874aff2d64654c84552bdbead.jpg","text":"TemporaryFile(/tmp/multipartBody3323862348244366153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396423765,"filename":"image_29112025_06_49_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/11/29/8a90775647d11c010926001fef90794a.jpg","text":"TemporaryFile(/tmp/multipartBody4108904644878934354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396423765,"filename":"image_29112025_06_48_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/11/29/0d027d35f14fa553ce29555592cf674a.jpg","text":"TemporaryFile(/tmp/multipartBody5923553203533639770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396423765,"filename":"image_29112025_06_49_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/11/29/dd9a2c24a5196278dfeb0a56a50b49dd.jpg","text":"TemporaryFile(/tmp/multipartBody7236533735869467905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396423765,"filename":"image_29112025_06_48_44_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396830235","file1":"1396830234","file0":"1396830199","file4":"1396830270","file5":"1396830308","file3":"1396830268"},"map_files_photo_id_array":[{"photo_id":"1396830308","filename":"file5"},{"photo_id":"1396830235","filename":"file2"},{"photo_id":"1396830270","filename":"file4"},{"photo_id":"1396830234","filename":"file1"},{"photo_id":"1396830199","filename":"file0"},{"photo_id":"1396830268","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396830308":["hashtag1","hashtag2"]},{"1396830199":["hashtag1","hashtag2"]},{"1396830268":["hashtag1","hashtag2"]},{"1396830235":["hashtag1","hashtag2"]},{"1396830270":["hashtag1","hashtag2"]},{"1396830234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396830308, 1396830199, 1396830268, 1396830235, 1396830270, 1396830234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.760305643081665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:06:42.551778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_44_2663.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_48_3605.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_51_2724.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_53_2613.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_57_3673.jpg', '/home/pi/Desktop/images/31102025/08/56/image_31102025_08_57_00_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/08/56/image_31102025_08_56_44_2663.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_48_3605.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_51_2724.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_53_2613.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_56_57_3673.jpg
/home/pi/Desktop/images/31102025/08/56/image_31102025_08_57_00_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":["1396830496","1396830592","1396830445","1396830403","1396830552","1396830629"],"photo_ids_order":["1396830403","1396830445","1396830496","1396830552","1396830592","1396830629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d334883e2d58ed14dbce92cf2017d3d0.jpg","text":"TemporaryFile(/tmp/multipartBody3625021124661807181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396463614,"filename":"image_31102025_08_56_51_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/336ddba5be726ef798aa1583828a4517.jpg","text":"TemporaryFile(/tmp/multipartBody7518492117322765720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396463614,"filename":"image_31102025_08_56_57_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1862ced516a56396abcd452e5d38ca2.jpg","text":"TemporaryFile(/tmp/multipartBody1286008329830710000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396463614,"filename":"image_31102025_08_56_48_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a129ce767b5b5060001791a95fe6bf85.jpg","text":"TemporaryFile(/tmp/multipartBody6321773866945094324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396463614,"filename":"image_31102025_08_56_44_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3382c75f9a3755a698d1f6e809736521.jpg","text":"TemporaryFile(/tmp/multipartBody8000906748301009445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396463614,"filename":"image_31102025_08_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/11/29/3eacc1476d27ea158c51fc6a3f819710.jpg","text":"TemporaryFile(/tmp/multipartBody1449494285565708716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396463614,"filename":"image_31102025_08_57_00_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396830496","file1":"1396830445","file0":"1396830403","file4":"1396830592","file5":"1396830629","file3":"1396830552"},"map_files_photo_id_array":[{"photo_id":"1396830629","filename":"file5"},{"photo_id":"1396830496","filename":"file2"},{"photo_id":"1396830592","filename":"file4"},{"photo_id":"1396830445","filename":"file1"},{"photo_id":"1396830403","filename":"file0"},{"photo_id":"1396830552","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396830496":["hashtag1","hashtag2"]},{"1396830592":["hashtag1","hashtag2"]},{"1396830445":["hashtag1","hashtag2"]},{"1396830403":["hashtag1","hashtag2"]},{"1396830552":["hashtag1","hashtag2"]},{"1396830629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396830496, 1396830592, 1396830445, 1396830403, 1396830552, 1396830629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00057363510132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:07:22.713583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/49/image_29112025_06_49_54_9791.jpg', '/home/pi/Desktop/images/29112025/06/49/image_29112025_06_50_04_9943.jpg', '/home/pi/Desktop/images/29112025/06/50/image_29112025_06_50_14_9626.jpg', '/home/pi/Desktop/images/29112025/06/50/image_29112025_06_50_54_9680.jpg', '/home/pi/Desktop/images/29112025/06/50/image_29112025_06_51_05_10824.jpg', '/home/pi/Desktop/images/29112025/06/51/image_29112025_06_51_14_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/49/image_29112025_06_49_54_9791.jpg
/home/pi/Desktop/images/29112025/06/49/image_29112025_06_50_04_9943.jpg
/home/pi/Desktop/images/29112025/06/50/image_29112025_06_50_14_9626.jpg
/home/pi/Desktop/images/29112025/06/50/image_29112025_06_50_54_9680.jpg
/home/pi/Desktop/images/29112025/06/50/image_29112025_06_51_05_10824.jpg
/home/pi/Desktop/images/29112025/06/51/image_29112025_06_51_14_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":["1396830868","1396830913","1396831011","1396831052","1396830956","1396830801"],"photo_ids_order":["1396830801","1396830868","1396830913","1396830956","1396831011","1396831052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/929ca273f256af22398164003bbd3bac.jpg","text":"TemporaryFile(/tmp/multipartBody4839904218016285760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396503472,"filename":"image_29112025_06_50_04_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/949f5ee26de6cd7751f8b4560373a1a1.jpg","text":"TemporaryFile(/tmp/multipartBody5588394499789120581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396503472,"filename":"image_29112025_06_50_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/11/29/68b92e7018c43df34154b3ddcbb3f23b.jpg","text":"TemporaryFile(/tmp/multipartBody4584664566724819309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396503472,"filename":"image_29112025_06_51_05_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80417e208691a635a9767a9dceeaa63e.jpg","text":"TemporaryFile(/tmp/multipartBody8919206833260155312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396503472,"filename":"image_29112025_06_51_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/11/29/aa953b1f7372086c25247efd8c3c25b9.jpg","text":"TemporaryFile(/tmp/multipartBody6269567971562530652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396503472,"filename":"image_29112025_06_50_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/11/29/39049dfff04a058f1a1f9b03f2c9a488.jpg","text":"TemporaryFile(/tmp/multipartBody2900128613763961859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396503472,"filename":"image_29112025_06_49_54_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396830913","file1":"1396830868","file0":"1396830801","file4":"1396831011","file5":"1396831052","file3":"1396830956"},"map_files_photo_id_array":[{"photo_id":"1396831052","filename":"file5"},{"photo_id":"1396830913","filename":"file2"},{"photo_id":"1396831011","filename":"file4"},{"photo_id":"1396830868","filename":"file1"},{"photo_id":"1396830801","filename":"file0"},{"photo_id":"1396830956","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396830868":["hashtag1","hashtag2"]},{"1396830913":["hashtag1","hashtag2"]},{"1396831011":["hashtag1","hashtag2"]},{"1396831052":["hashtag1","hashtag2"]},{"1396830956":["hashtag1","hashtag2"]},{"1396830801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396830868, 1396830913, 1396831011, 1396831052, 1396830956, 1396830801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.021101236343384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:08:02.354487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/51/image_29112025_06_51_45_10693.jpg', '/home/pi/Desktop/images/29112025/06/51/image_29112025_06_51_54_9761.jpg', '/home/pi/Desktop/images/29112025/06/52/image_29112025_06_52_24_9722.jpg', '/home/pi/Desktop/images/29112025/06/52/image_29112025_06_52_34_9680.jpg', '/home/pi/Desktop/images/29112025/06/52/image_29112025_06_53_04_9586.jpg', '/home/pi/Desktop/images/29112025/06/53/image_29112025_06_53_14_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/51/image_29112025_06_51_45_10693.jpg
/home/pi/Desktop/images/29112025/06/51/image_29112025_06_51_54_9761.jpg
/home/pi/Desktop/images/29112025/06/52/image_29112025_06_52_24_9722.jpg
/home/pi/Desktop/images/29112025/06/52/image_29112025_06_52_34_9680.jpg
/home/pi/Desktop/images/29112025/06/52/image_29112025_06_53_04_9586.jpg
/home/pi/Desktop/images/29112025/06/53/image_29112025_06_53_14_9591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396831327","1396831194","1396831367","1396831289","1396831424","1396831232"],"photo_ids_order":["1396831194","1396831232","1396831289","1396831327","1396831367","1396831424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1651797c86fa612d75ce61ca49c570e.jpg","text":"TemporaryFile(/tmp/multipartBody6984220804068306320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396543174,"filename":"image_29112025_06_52_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f9df7af0249e516aedb7aee005c3c28.jpg","text":"TemporaryFile(/tmp/multipartBody3401644119524176090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396543174,"filename":"image_29112025_06_51_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adadcd64aed903e4abde74d640b839a7.jpg","text":"TemporaryFile(/tmp/multipartBody6039042169679895012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396543174,"filename":"image_29112025_06_53_04_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7e17b1da5d2e58fedac45f5de7d32b8.jpg","text":"TemporaryFile(/tmp/multipartBody5408726907906422960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396543174,"filename":"image_29112025_06_52_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b42e9e181113e941c912ff4f05730d63.jpg","text":"TemporaryFile(/tmp/multipartBody8904620023191785684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396543174,"filename":"image_29112025_06_53_14_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c90ad9a07199d608fa9e672646ebe5d.jpg","text":"TemporaryFile(/tmp/multipartBody1105799728932658260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396543174,"filename":"image_29112025_06_51_54_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396831289","file1":"1396831232","file0":"1396831194","file4":"1396831367","file5":"1396831424","file3":"1396831327"},"map_files_photo_id_array":[{"photo_id":"1396831424","filename":"file5"},{"photo_id":"1396831289","filename":"file2"},{"photo_id":"1396831367","filename":"file4"},{"photo_id":"1396831232","filename":"file1"},{"photo_id":"1396831194","filename":"file0"},{"photo_id":"1396831327","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396831327":["hashtag1","hashtag2"]},{"1396831194":["hashtag1","hashtag2"]},{"1396831367":["hashtag1","hashtag2"]},{"1396831289":["hashtag1","hashtag2"]},{"1396831424":["hashtag1","hashtag2"]},{"1396831232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396831327, 1396831194, 1396831367, 1396831289, 1396831424, 1396831232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26985740661621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:08:41.901041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_02_2686.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_05_2549.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_09_3668.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_11_2677.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_14_2749.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_18_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_02_2686.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_05_2549.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_09_3668.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_11_2677.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_14_2749.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_18_3748.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9814097881317139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:09:02.853224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/53/image_29112025_06_53_24_10722.jpg', '/home/pi/Desktop/images/29112025/06/53/image_29112025_06_53_34_9773.jpg', '/home/pi/Desktop/images/29112025/06/53/image_29112025_06_53_44_10201.jpg', '/home/pi/Desktop/images/29112025/06/53/image_29112025_06_53_54_9696.jpg', '/home/pi/Desktop/images/29112025/06/54/image_29112025_06_54_15_10662.jpg', '/home/pi/Desktop/images/29112025/06/54/image_29112025_06_54_24_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/53/image_29112025_06_53_24_10722.jpg
/home/pi/Desktop/images/29112025/06/53/image_29112025_06_53_34_9773.jpg
/home/pi/Desktop/images/29112025/06/53/image_29112025_06_53_44_10201.jpg
/home/pi/Desktop/images/29112025/06/53/image_29112025_06_53_54_9696.jpg
/home/pi/Desktop/images/29112025/06/54/image_29112025_06_54_15_10662.jpg
/home/pi/Desktop/images/29112025/06/54/image_29112025_06_54_24_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396832029","1396831927","1396832043","1396832001","1396832048","1396831961"],"photo_ids_order":["1396831927","1396831961","1396832001","1396832029","1396832043","1396832048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d80ccb784660d0a828a06911261dda24.jpg","text":"TemporaryFile(/tmp/multipartBody1490011284758216386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396608126,"filename":"image_29112025_06_53_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58ca131d281c308575962fb9b10f7242.jpg","text":"TemporaryFile(/tmp/multipartBody5640431183193708274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396608126,"filename":"image_29112025_06_53_24_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac3afa087b4e3b4c5e6371629b01a08d.jpg","text":"TemporaryFile(/tmp/multipartBody409399138803195291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396608126,"filename":"image_29112025_06_54_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/11/29/dc41326e481d097bb09b82d4dc3c3c18.jpg","text":"TemporaryFile(/tmp/multipartBody70401522973108678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396608126,"filename":"image_29112025_06_53_44_10201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f4ea8033a0cb7853a1f61152edfa802.jpg","text":"TemporaryFile(/tmp/multipartBody7097938227073064366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396608126,"filename":"image_29112025_06_54_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/11/29/277e64cad8c35966d725a0cc84c05ec2.jpg","text":"TemporaryFile(/tmp/multipartBody7509873841330432480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396608126,"filename":"image_29112025_06_53_34_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396832001","file1":"1396831961","file0":"1396831927","file4":"1396832043","file5":"1396832048","file3":"1396832029"},"map_files_photo_id_array":[{"photo_id":"1396832048","filename":"file5"},{"photo_id":"1396832001","filename":"file2"},{"photo_id":"1396832043","filename":"file4"},{"photo_id":"1396831961","filename":"file1"},{"photo_id":"1396831927","filename":"file0"},{"photo_id":"1396832029","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396832029":["hashtag1","hashtag2"]},{"1396831927":["hashtag1","hashtag2"]},{"1396832043":["hashtag1","hashtag2"]},{"1396832001":["hashtag1","hashtag2"]},{"1396832048":["hashtag1","hashtag2"]},{"1396831961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396832029, 1396831927, 1396832043, 1396832001, 1396832048, 1396831961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.12662148475647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:10:02.678932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/54/image_29112025_06_54_34_9772.jpg', '/home/pi/Desktop/images/29112025/06/54/image_29112025_06_54_44_9681.jpg', '/home/pi/Desktop/images/29112025/06/54/image_29112025_06_54_54_10618.jpg', '/home/pi/Desktop/images/29112025/06/54/image_29112025_06_55_04_9596.jpg', '/home/pi/Desktop/images/29112025/06/55/image_29112025_06_55_24_9190.jpg', '/home/pi/Desktop/images/29112025/06/55/image_29112025_06_55_44_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/54/image_29112025_06_54_34_9772.jpg
/home/pi/Desktop/images/29112025/06/54/image_29112025_06_54_44_9681.jpg
/home/pi/Desktop/images/29112025/06/54/image_29112025_06_54_54_10618.jpg
/home/pi/Desktop/images/29112025/06/54/image_29112025_06_55_04_9596.jpg
/home/pi/Desktop/images/29112025/06/55/image_29112025_06_55_24_9190.jpg
/home/pi/Desktop/images/29112025/06/55/image_29112025_06_55_44_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":["1396832602","1396832484","1396832394","1396832442","1396832666","1396832561"],"photo_ids_order":["1396832394","1396832442","1396832484","1396832561","1396832602","1396832666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0529f631dcd17f0619ee3f83545c36b2.jpg","text":"TemporaryFile(/tmp/multipartBody1472127737076862102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396663497,"filename":"image_29112025_06_55_24_9190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15b54d7c8e504fafda83ad56feeaa8a8.jpg","text":"TemporaryFile(/tmp/multipartBody5490188627533355960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396663497,"filename":"image_29112025_06_54_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/11/29/e2922d3e14c63cec7e7ac7ba2b32b324.jpg","text":"TemporaryFile(/tmp/multipartBody2118583754752807817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396663497,"filename":"image_29112025_06_54_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/11/29/0dab41660e204514a88b74520c55e001.jpg","text":"TemporaryFile(/tmp/multipartBody7006465013100598207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396663497,"filename":"image_29112025_06_54_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/11/29/99544815ac4d7683d01afd2120dbffe0.jpg","text":"TemporaryFile(/tmp/multipartBody6083035685266550214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396663497,"filename":"image_29112025_06_55_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b277fcd95530f2bde7cda14966d89f99.jpg","text":"TemporaryFile(/tmp/multipartBody8056629852566386148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396663497,"filename":"image_29112025_06_55_04_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396832484","file1":"1396832442","file0":"1396832394","file4":"1396832602","file5":"1396832666","file3":"1396832561"},"map_files_photo_id_array":[{"photo_id":"1396832666","filename":"file5"},{"photo_id":"1396832484","filename":"file2"},{"photo_id":"1396832602","filename":"file4"},{"photo_id":"1396832442","filename":"file1"},{"photo_id":"1396832394","filename":"file0"},{"photo_id":"1396832561","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396832602":["hashtag1","hashtag2"]},{"1396832484":["hashtag1","hashtag2"]},{"1396832394":["hashtag1","hashtag2"]},{"1396832442":["hashtag1","hashtag2"]},{"1396832666":["hashtag1","hashtag2"]},{"1396832561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396832602, 1396832484, 1396832394, 1396832442, 1396832666, 1396832561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12198853492737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:10:42.252095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_02_2686.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_05_2549.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_09_3668.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_11_2677.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_14_2749.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_18_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_02_2686.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_05_2549.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_09_3668.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_11_2677.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_14_2749.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_18_3748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396832821","1396832803","1396832817","1396832820","1396832774","1396832819"],"photo_ids_order":["1396832774","1396832803","1396832817","1396832819","1396832820","1396832821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf804a8c008e8cedce2b2f9f625a16ba.jpg","text":"TemporaryFile(/tmp/multipartBody203565662942107403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396703193,"filename":"image_31102025_08_57_18_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7a1d7d3eed8c07544141c1021119db3.jpg","text":"TemporaryFile(/tmp/multipartBody2094360569023016522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396703193,"filename":"image_31102025_08_57_05_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6dfecf8efad7e8d25484684b943000f2.jpg","text":"TemporaryFile(/tmp/multipartBody5594559531619605018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396703193,"filename":"image_31102025_08_57_09_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d82b4848786838babaff64a2e5500b78.jpg","text":"TemporaryFile(/tmp/multipartBody6649506303912158879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396703193,"filename":"image_31102025_08_57_14_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2e38b1a6a5a23027e4a03a143193297.jpg","text":"TemporaryFile(/tmp/multipartBody3756064623163866726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396703193,"filename":"image_31102025_08_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/11/29/490e618213497f3a74e4306e6feed9c1.jpg","text":"TemporaryFile(/tmp/multipartBody4499044617939264457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396703193,"filename":"image_31102025_08_57_11_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396832817","file1":"1396832803","file0":"1396832774","file4":"1396832820","file5":"1396832821","file3":"1396832819"},"map_files_photo_id_array":[{"photo_id":"1396832821","filename":"file5"},{"photo_id":"1396832817","filename":"file2"},{"photo_id":"1396832820","filename":"file4"},{"photo_id":"1396832803","filename":"file1"},{"photo_id":"1396832774","filename":"file0"},{"photo_id":"1396832819","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396832821":["hashtag1","hashtag2"]},{"1396832803":["hashtag1","hashtag2"]},{"1396832817":["hashtag1","hashtag2"]},{"1396832820":["hashtag1","hashtag2"]},{"1396832774":["hashtag1","hashtag2"]},{"1396832819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396832821, 1396832803, 1396832817, 1396832820, 1396832774, 1396832819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.520509004592896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:11:22.410065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/55/image_29112025_06_55_54_9755.jpg', '/home/pi/Desktop/images/29112025/06/55/image_29112025_06_56_05_10691.jpg', '/home/pi/Desktop/images/29112025/06/56/image_29112025_06_56_14_9584.jpg', '/home/pi/Desktop/images/29112025/06/56/image_29112025_06_56_24_9607.jpg', '/home/pi/Desktop/images/29112025/06/56/image_29112025_06_56_44_9775.jpg', '/home/pi/Desktop/images/29112025/06/56/image_29112025_06_57_05_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/55/image_29112025_06_55_54_9755.jpg
/home/pi/Desktop/images/29112025/06/55/image_29112025_06_56_05_10691.jpg
/home/pi/Desktop/images/29112025/06/56/image_29112025_06_56_14_9584.jpg
/home/pi/Desktop/images/29112025/06/56/image_29112025_06_56_24_9607.jpg
/home/pi/Desktop/images/29112025/06/56/image_29112025_06_56_44_9775.jpg
/home/pi/Desktop/images/29112025/06/56/image_29112025_06_57_05_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396832840","1396832837","1396832825","1396832830","1396832833","1396832827"],"photo_ids_order":["1396832825","1396832827","1396832830","1396832833","1396832837","1396832840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f675a815abe237ee04215e39031651bd.jpg","text":"TemporaryFile(/tmp/multipartBody3642893928671121839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396743218,"filename":"image_29112025_06_57_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/11/29/586a110cc3ca9edaf6fb588fe8444489.jpg","text":"TemporaryFile(/tmp/multipartBody4988037659472704106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396743218,"filename":"image_29112025_06_56_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/11/29/256173a7a19dd39869b6734877538b27.jpg","text":"TemporaryFile(/tmp/multipartBody4940283494481369675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396743218,"filename":"image_29112025_06_55_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/11/29/2532016ecbefbee7a11d3d277b324651.jpg","text":"TemporaryFile(/tmp/multipartBody4560764122552728906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396743218,"filename":"image_29112025_06_56_14_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba42d6d8cfad642060f74091d07f3c60.jpg","text":"TemporaryFile(/tmp/multipartBody2654352057873717403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396743218,"filename":"image_29112025_06_56_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b030a8895c3d53ecf6d197114198082.jpg","text":"TemporaryFile(/tmp/multipartBody3310194772391131673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396743218,"filename":"image_29112025_06_56_05_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396832830","file1":"1396832827","file0":"1396832825","file4":"1396832837","file5":"1396832840","file3":"1396832833"},"map_files_photo_id_array":[{"photo_id":"1396832840","filename":"file5"},{"photo_id":"1396832830","filename":"file2"},{"photo_id":"1396832837","filename":"file4"},{"photo_id":"1396832827","filename":"file1"},{"photo_id":"1396832825","filename":"file0"},{"photo_id":"1396832833","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396832840":["hashtag1","hashtag2"]},{"1396832837":["hashtag1","hashtag2"]},{"1396832825":["hashtag1","hashtag2"]},{"1396832830":["hashtag1","hashtag2"]},{"1396832833":["hashtag1","hashtag2"]},{"1396832827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396832840, 1396832837, 1396832825, 1396832830, 1396832833, 1396832827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47232937812805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:12:03.098834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_24_9745.jpg', '/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_35_10594.jpg', '/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_45_9825.jpg', '/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_54_9678.jpg', '/home/pi/Desktop/images/29112025/06/57/image_29112025_06_58_04_9789.jpg', '/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_15_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_24_9745.jpg
/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_35_10594.jpg
/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_45_9825.jpg
/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_54_9678.jpg
/home/pi/Desktop/images/29112025/06/57/image_29112025_06_58_04_9789.jpg
/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_15_10685.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6956307888031006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 07:12:12.605221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_02_3672.jpg', '/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_07_2708.jpg', '/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_11_3663.jpg', '/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_29_3650.jpg', '/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_31_2691.jpg', '/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_38_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_02_3672.jpg
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_07_2708.jpg
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_11_3663.jpg
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_29_3650.jpg
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_31_2691.jpg
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_38_3679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396832853","1396832862","1396832856","1396832859","1396832846","1396832849"],"photo_ids_order":["1396832846","1396832849","1396832853","1396832856","1396832859","1396832862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/741614c08331a9f890be8ccc32f87652.jpg","text":"TemporaryFile(/tmp/multipartBody4781614397017123228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396794743,"filename":"image_25112025_17_53_11_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5f1c1aadd96010a5bb92f2d2339ae96.jpg","text":"TemporaryFile(/tmp/multipartBody2634392041491154217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396794743,"filename":"image_25112025_17_53_38_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c250dcb1a432651948f05c25643512e.jpg","text":"TemporaryFile(/tmp/multipartBody6137578363028713364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396794743,"filename":"image_25112025_17_53_29_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f39d6efa9fbeffe755b6e234c43b6920.jpg","text":"TemporaryFile(/tmp/multipartBody585366266149106074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396794743,"filename":"image_25112025_17_53_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/11/29/3fdc707510f0e79f59574e8b54ae91c9.jpg","text":"TemporaryFile(/tmp/multipartBody8922237773900181834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396794743,"filename":"image_25112025_17_53_02_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8aa5584cf52230be28802e7c80616f10.jpg","text":"TemporaryFile(/tmp/multipartBody1223162792538098256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396794743,"filename":"image_25112025_17_53_07_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396832853","file1":"1396832849","file0":"1396832846","file4":"1396832859","file5":"1396832862","file3":"1396832856"},"map_files_photo_id_array":[{"photo_id":"1396832862","filename":"file5"},{"photo_id":"1396832853","filename":"file2"},{"photo_id":"1396832859","filename":"file4"},{"photo_id":"1396832849","filename":"file1"},{"photo_id":"1396832846","filename":"file0"},{"photo_id":"1396832856","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396832853":["hashtag1","hashtag2"]},{"1396832862":["hashtag1","hashtag2"]},{"1396832856":["hashtag1","hashtag2"]},{"1396832859":["hashtag1","hashtag2"]},{"1396832846":["hashtag1","hashtag2"]},{"1396832849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396832853, 1396832862, 1396832856, 1396832859, 1396832846, 1396832849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30260181427002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:13:02.560367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_24_9745.jpg', '/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_35_10594.jpg', '/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_45_9825.jpg', '/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_54_9678.jpg', '/home/pi/Desktop/images/29112025/06/57/image_29112025_06_58_04_9789.jpg', '/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_15_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_24_9745.jpg
/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_35_10594.jpg
/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_45_9825.jpg
/home/pi/Desktop/images/29112025/06/57/image_29112025_06_57_54_9678.jpg
/home/pi/Desktop/images/29112025/06/57/image_29112025_06_58_04_9789.jpg
/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_15_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":["1396832871","1396832874","1396832868","1396832867","1396832869","1396832866"],"photo_ids_order":["1396832866","1396832867","1396832868","1396832869","1396832871","1396832874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f0cb1dc2f2180948d1ca2bff1661577.jpg","text":"TemporaryFile(/tmp/multipartBody1695307584473082263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396843465,"filename":"image_29112025_06_58_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/11/29/89b9112413e857dc4e0ed11c81ba0e81.jpg","text":"TemporaryFile(/tmp/multipartBody3824826163172186637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396843465,"filename":"image_29112025_06_58_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/11/29/d57d0708bbcdae77f6950f1110d7fb93.jpg","text":"TemporaryFile(/tmp/multipartBody3601259826610413420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396843465,"filename":"image_29112025_06_57_45_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/460b3d274b68ed46e0d3e713f106835b.jpg","text":"TemporaryFile(/tmp/multipartBody3983016420579205502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396843465,"filename":"image_29112025_06_57_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0db08ec1127cb539968073af41648ed3.jpg","text":"TemporaryFile(/tmp/multipartBody7317523696264804598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396843465,"filename":"image_29112025_06_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/11/29/6f301521177164531f7c87a922dc48df.jpg","text":"TemporaryFile(/tmp/multipartBody6415207025173004559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396843465,"filename":"image_29112025_06_57_24_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396832868","file1":"1396832867","file0":"1396832866","file4":"1396832871","file5":"1396832874","file3":"1396832869"},"map_files_photo_id_array":[{"photo_id":"1396832874","filename":"file5"},{"photo_id":"1396832868","filename":"file2"},{"photo_id":"1396832871","filename":"file4"},{"photo_id":"1396832867","filename":"file1"},{"photo_id":"1396832866","filename":"file0"},{"photo_id":"1396832869","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396832871":["hashtag1","hashtag2"]},{"1396832874":["hashtag1","hashtag2"]},{"1396832868":["hashtag1","hashtag2"]},{"1396832867":["hashtag1","hashtag2"]},{"1396832869":["hashtag1","hashtag2"]},{"1396832866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396832871, 1396832874, 1396832868, 1396832867, 1396832869, 1396832866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32765555381775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:13:41.857770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_20_2668.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_23_2701.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_27_3652.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_29_2659.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_32_2684.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_36_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/08/57/image_31102025_08_57_20_2668.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_23_2701.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_27_3652.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_29_2659.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_32_2684.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_36_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":["1396832889","1396832883","1396832891","1396832888","1396832887","1396832890"],"photo_ids_order":["1396832883","1396832887","1396832888","1396832889","1396832890","1396832891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68d5c288cebaa722e64c77060219f038.jpg","text":"TemporaryFile(/tmp/multipartBody5744227702821016408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396882973,"filename":"image_31102025_08_57_29_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de2efc1b515b2135ab800aa52ee356d8.jpg","text":"TemporaryFile(/tmp/multipartBody5333728229954130319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396882973,"filename":"image_31102025_08_57_20_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7498030e4841d536702ce9430d64700.jpg","text":"TemporaryFile(/tmp/multipartBody8914945006307604725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396882973,"filename":"image_31102025_08_57_36_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69e172eb559b74a03b87779009384e99.jpg","text":"TemporaryFile(/tmp/multipartBody2990945295581855288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396882973,"filename":"image_31102025_08_57_27_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2fec58ec5bf92353803143c8455e172.jpg","text":"TemporaryFile(/tmp/multipartBody2542543395929685490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396882973,"filename":"image_31102025_08_57_23_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68be2fa2a5f146854b9933de8953c89d.jpg","text":"TemporaryFile(/tmp/multipartBody10704368690473175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396882973,"filename":"image_31102025_08_57_32_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396832888","file1":"1396832887","file0":"1396832883","file4":"1396832890","file5":"1396832891","file3":"1396832889"},"map_files_photo_id_array":[{"photo_id":"1396832891","filename":"file5"},{"photo_id":"1396832888","filename":"file2"},{"photo_id":"1396832890","filename":"file4"},{"photo_id":"1396832887","filename":"file1"},{"photo_id":"1396832883","filename":"file0"},{"photo_id":"1396832889","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396832889":["hashtag1","hashtag2"]},{"1396832883":["hashtag1","hashtag2"]},{"1396832891":["hashtag1","hashtag2"]},{"1396832888":["hashtag1","hashtag2"]},{"1396832887":["hashtag1","hashtag2"]},{"1396832890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396832889, 1396832883, 1396832891, 1396832888, 1396832887, 1396832890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73067545890808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:14:22.053620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_25_9919.jpg', '/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_34_9588.jpg', '/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_44_9735.jpg', '/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_55_10655.jpg', '/home/pi/Desktop/images/29112025/06/58/image_29112025_06_59_04_9746.jpg', '/home/pi/Desktop/images/29112025/06/59/image_29112025_06_59_14_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_25_9919.jpg
/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_34_9588.jpg
/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_44_9735.jpg
/home/pi/Desktop/images/29112025/06/58/image_29112025_06_58_55_10655.jpg
/home/pi/Desktop/images/29112025/06/58/image_29112025_06_59_04_9746.jpg
/home/pi/Desktop/images/29112025/06/59/image_29112025_06_59_14_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":["1396832909","1396832903","1396832912","1396832906","1396832896","1396832899"],"photo_ids_order":["1396832896","1396832899","1396832903","1396832906","1396832909","1396832912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c4306d14d294c2a56b525525151e971.jpg","text":"TemporaryFile(/tmp/multipartBody2341039202598648225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396922812,"filename":"image_29112025_06_59_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/11/29/18729fa37ed38e6fac2f2183ff4ec35b.jpg","text":"TemporaryFile(/tmp/multipartBody7948350422363776808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396922812,"filename":"image_29112025_06_58_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/11/29/4b48eea5b05c6cff571e4f91294a2b1b.jpg","text":"TemporaryFile(/tmp/multipartBody5129912834542898630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396922812,"filename":"image_29112025_06_59_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/11/29/2997609385900b26e9fcca9129a9f377.jpg","text":"TemporaryFile(/tmp/multipartBody2033775383733792056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396922812,"filename":"image_29112025_06_58_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5290316947b53c6a93d34e5a1beaa1b7.jpg","text":"TemporaryFile(/tmp/multipartBody7987203598049825227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396922812,"filename":"image_29112025_06_58_25_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93643a64844f2a00bd0b1f911555e290.jpg","text":"TemporaryFile(/tmp/multipartBody6690994396437934079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396922812,"filename":"image_29112025_06_58_34_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396832903","file1":"1396832899","file0":"1396832896","file4":"1396832909","file5":"1396832912","file3":"1396832906"},"map_files_photo_id_array":[{"photo_id":"1396832912","filename":"file5"},{"photo_id":"1396832903","filename":"file2"},{"photo_id":"1396832909","filename":"file4"},{"photo_id":"1396832899","filename":"file1"},{"photo_id":"1396832896","filename":"file0"},{"photo_id":"1396832906","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396832909":["hashtag1","hashtag2"]},{"1396832903":["hashtag1","hashtag2"]},{"1396832912":["hashtag1","hashtag2"]},{"1396832906":["hashtag1","hashtag2"]},{"1396832896":["hashtag1","hashtag2"]},{"1396832899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396832909, 1396832903, 1396832912, 1396832906, 1396832896, 1396832899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87537693977356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:15:02.950733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/06/59/image_29112025_06_59_34_10603.jpg', '/home/pi/Desktop/images/29112025/06/59/image_29112025_06_59_55_10655.jpg', '/home/pi/Desktop/images/29112025/06/59/image_29112025_07_00_04_9672.jpg', '/home/pi/Desktop/images/29112025/07/00/image_29112025_07_00_14_9641.jpg', '/home/pi/Desktop/images/29112025/07/00/image_29112025_07_00_44_9800.jpg', '/home/pi/Desktop/images/29112025/07/00/image_29112025_07_00_54_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/06/59/image_29112025_06_59_34_10603.jpg
/home/pi/Desktop/images/29112025/06/59/image_29112025_06_59_55_10655.jpg
/home/pi/Desktop/images/29112025/06/59/image_29112025_07_00_04_9672.jpg
/home/pi/Desktop/images/29112025/07/00/image_29112025_07_00_14_9641.jpg
/home/pi/Desktop/images/29112025/07/00/image_29112025_07_00_44_9800.jpg
/home/pi/Desktop/images/29112025/07/00/image_29112025_07_00_54_9853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396832920","1396832923","1396832922","1396832925","1396832928","1396832921"],"photo_ids_order":["1396832920","1396832921","1396832922","1396832923","1396832925","1396832928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbec164cf9fdc82b3bc129dbc70de2a9.jpg","text":"TemporaryFile(/tmp/multipartBody3751799157691930159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396963814,"filename":"image_29112025_06_59_34_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/405c11b95866bec4381f1e08d2af75fb.jpg","text":"TemporaryFile(/tmp/multipartBody5227844975028817603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396963814,"filename":"image_29112025_07_00_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/11/29/6e5b2c7df817c14df80631c1a393c1b7.jpg","text":"TemporaryFile(/tmp/multipartBody657940569435657054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396963814,"filename":"image_29112025_07_00_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/11/29/f103ab0f89534bd7657527db463aaa95.jpg","text":"TemporaryFile(/tmp/multipartBody3851610947387637597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396963814,"filename":"image_29112025_07_00_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/11/29/759aad92ddd22e023ef86ab095fc5fb5.jpg","text":"TemporaryFile(/tmp/multipartBody8606247283340316107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396963814,"filename":"image_29112025_07_00_54_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cefa85f917598987ef3c535dbc7505e1.jpg","text":"TemporaryFile(/tmp/multipartBody4437817919547900866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764396963814,"filename":"image_29112025_06_59_55_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396832922","file1":"1396832921","file0":"1396832920","file4":"1396832925","file5":"1396832928","file3":"1396832923"},"map_files_photo_id_array":[{"photo_id":"1396832928","filename":"file5"},{"photo_id":"1396832922","filename":"file2"},{"photo_id":"1396832925","filename":"file4"},{"photo_id":"1396832921","filename":"file1"},{"photo_id":"1396832920","filename":"file0"},{"photo_id":"1396832923","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396832920":["hashtag1","hashtag2"]},{"1396832923":["hashtag1","hashtag2"]},{"1396832922":["hashtag1","hashtag2"]},{"1396832925":["hashtag1","hashtag2"]},{"1396832928":["hashtag1","hashtag2"]},{"1396832921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396832920, 1396832923, 1396832922, 1396832925, 1396832928, 1396832921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19837284088135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:15:42.230160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_39_2767.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_41_2675.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_44_2684.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_48_3740.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_50_2661.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_53_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_39_2767.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_41_2675.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_44_2684.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_48_3740.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_50_2661.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_53_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396833234","1396833158","1396833085","1396833046","1396833198","1396833121"],"photo_ids_order":["1396833046","1396833085","1396833121","1396833158","1396833198","1396833234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f65fbfe0097e4e9fbbfe026e780ac49.jpg","text":"TemporaryFile(/tmp/multipartBody5008570466662071141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397003297,"filename":"image_31102025_08_57_53_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45aa24f5fb0279d640197c463e3da695.jpg","text":"TemporaryFile(/tmp/multipartBody7345788592311646792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397003297,"filename":"image_31102025_08_57_48_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7e42cf85be38492e829da957a880fc3.jpg","text":"TemporaryFile(/tmp/multipartBody3568356026545044497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397003297,"filename":"image_31102025_08_57_41_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e016c0f6d18f792273139fde6b534df.jpg","text":"TemporaryFile(/tmp/multipartBody7762811715520983542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397003297,"filename":"image_31102025_08_57_39_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6e1e445e8b996012707906278ee06b3.jpg","text":"TemporaryFile(/tmp/multipartBody4610725991106569995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397003297,"filename":"image_31102025_08_57_50_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f358ffdc644c3214d66c485188e1a13d.jpg","text":"TemporaryFile(/tmp/multipartBody1699176013588730946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397003297,"filename":"image_31102025_08_57_44_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396833121","file1":"1396833085","file0":"1396833046","file4":"1396833198","file5":"1396833234","file3":"1396833158"},"map_files_photo_id_array":[{"photo_id":"1396833234","filename":"file5"},{"photo_id":"1396833121","filename":"file2"},{"photo_id":"1396833198","filename":"file4"},{"photo_id":"1396833085","filename":"file1"},{"photo_id":"1396833046","filename":"file0"},{"photo_id":"1396833158","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396833234":["hashtag1","hashtag2"]},{"1396833158":["hashtag1","hashtag2"]},{"1396833085":["hashtag1","hashtag2"]},{"1396833046":["hashtag1","hashtag2"]},{"1396833198":["hashtag1","hashtag2"]},{"1396833121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396833234, 1396833158, 1396833085, 1396833046, 1396833198, 1396833121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21597194671631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:16:22.399634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/00/image_29112025_07_01_04_9729.jpg', '/home/pi/Desktop/images/29112025/07/01/image_29112025_07_01_34_9718.jpg', '/home/pi/Desktop/images/29112025/07/01/image_29112025_07_01_44_9692.jpg', '/home/pi/Desktop/images/29112025/07/01/image_29112025_07_01_54_10698.jpg', '/home/pi/Desktop/images/29112025/07/02/image_29112025_07_02_14_9821.jpg', '/home/pi/Desktop/images/29112025/07/02/image_29112025_07_02_24_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/00/image_29112025_07_01_04_9729.jpg
/home/pi/Desktop/images/29112025/07/01/image_29112025_07_01_34_9718.jpg
/home/pi/Desktop/images/29112025/07/01/image_29112025_07_01_44_9692.jpg
/home/pi/Desktop/images/29112025/07/01/image_29112025_07_01_54_10698.jpg
/home/pi/Desktop/images/29112025/07/02/image_29112025_07_02_14_9821.jpg
/home/pi/Desktop/images/29112025/07/02/image_29112025_07_02_24_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396833483","1396833420","1396833377","1396833518","1396833574","1396833553"],"photo_ids_order":["1396833377","1396833420","1396833483","1396833518","1396833553","1396833574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cfa466fcb416a252afa1f1ba84757a9.jpg","text":"TemporaryFile(/tmp/multipartBody5801385166887627975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397043151,"filename":"image_29112025_07_01_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/11/29/8b549ead98869a242d396d1c698b501e.jpg","text":"TemporaryFile(/tmp/multipartBody7168634684771330528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397043151,"filename":"image_29112025_07_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/11/29/23e41ba234c610abeb36c830ca4df6f1.jpg","text":"TemporaryFile(/tmp/multipartBody5264518237063862442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397043151,"filename":"image_29112025_07_01_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52b6580db60236a2a9c1a5e14d272aae.jpg","text":"TemporaryFile(/tmp/multipartBody4003852377078715913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397043151,"filename":"image_29112025_07_01_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/11/29/11aca1056cb4933642d38f56fceee506.jpg","text":"TemporaryFile(/tmp/multipartBody5630954366100964431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397043151,"filename":"image_29112025_07_02_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/11/29/c831290ffde3237f3612e04dbd14db9e.jpg","text":"TemporaryFile(/tmp/multipartBody4846511476966953947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397043151,"filename":"image_29112025_07_02_14_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396833483","file1":"1396833420","file0":"1396833377","file4":"1396833553","file5":"1396833574","file3":"1396833518"},"map_files_photo_id_array":[{"photo_id":"1396833574","filename":"file5"},{"photo_id":"1396833483","filename":"file2"},{"photo_id":"1396833553","filename":"file4"},{"photo_id":"1396833420","filename":"file1"},{"photo_id":"1396833377","filename":"file0"},{"photo_id":"1396833518","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396833483":["hashtag1","hashtag2"]},{"1396833420":["hashtag1","hashtag2"]},{"1396833377":["hashtag1","hashtag2"]},{"1396833518":["hashtag1","hashtag2"]},{"1396833574":["hashtag1","hashtag2"]},{"1396833553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396833483, 1396833420, 1396833377, 1396833518, 1396833574, 1396833553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.51456618309021 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-11-29 07:17:12.508540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_40_2586.jpg', '/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_43_2656.jpg', '/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_47_3701.jpg', '/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_49_2670.jpg', '/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_52_2546.jpg', '/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_55_3513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_40_2586.jpg
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_43_2656.jpg
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_47_3701.jpg
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_49_2670.jpg
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_52_2546.jpg
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_55_3513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396833575","1396833755","1396833716","1396833679","1396833625","1396833585"],"photo_ids_order":["1396833575","1396833585","1396833625","1396833679","1396833716","1396833755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6abf0ab9f5b7bbefd02629dcbf23bcf5.jpg","text":"TemporaryFile(/tmp/multipartBody5868324230015737738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397094584,"filename":"image_25112025_17_53_40_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee084c35ddbfcfb1a8236a0563794548.jpg","text":"TemporaryFile(/tmp/multipartBody4449651406905804965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397094584,"filename":"image_25112025_17_53_55_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86d9bd94b53ce97c718287887f260b23.jpg","text":"TemporaryFile(/tmp/multipartBody6265421977263225425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397094584,"filename":"image_25112025_17_53_52_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1fb72d87d893d41657db4ea2ac7459a.jpg","text":"TemporaryFile(/tmp/multipartBody5613958514565822094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397094584,"filename":"image_25112025_17_53_49_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e584c1f9987fa39aa29b2192dbe4c2f7.jpg","text":"TemporaryFile(/tmp/multipartBody5448793856754144696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397094584,"filename":"image_25112025_17_53_47_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73175aa04c8712b90840cc852dbcf93b.jpg","text":"TemporaryFile(/tmp/multipartBody394838406039821119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397094584,"filename":"image_25112025_17_53_43_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396833625","file1":"1396833585","file0":"1396833575","file4":"1396833716","file5":"1396833755","file3":"1396833679"},"map_files_photo_id_array":[{"photo_id":"1396833755","filename":"file5"},{"photo_id":"1396833625","filename":"file2"},{"photo_id":"1396833716","filename":"file4"},{"photo_id":"1396833585","filename":"file1"},{"photo_id":"1396833575","filename":"file0"},{"photo_id":"1396833679","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396833575":["hashtag1","hashtag2"]},{"1396833755":["hashtag1","hashtag2"]},{"1396833716":["hashtag1","hashtag2"]},{"1396833679":["hashtag1","hashtag2"]},{"1396833625":["hashtag1","hashtag2"]},{"1396833585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396833575, 1396833755, 1396833716, 1396833679, 1396833625, 1396833585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.323309659957886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:18:03.010358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/02/image_29112025_07_02_34_10655.jpg', '/home/pi/Desktop/images/29112025/07/02/image_29112025_07_02_44_9732.jpg', '/home/pi/Desktop/images/29112025/07/02/image_29112025_07_02_54_9634.jpg', '/home/pi/Desktop/images/29112025/07/02/image_29112025_07_03_04_10728.jpg', '/home/pi/Desktop/images/29112025/07/03/image_29112025_07_03_14_9874.jpg', '/home/pi/Desktop/images/29112025/07/03/image_29112025_07_03_24_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/02/image_29112025_07_02_34_10655.jpg
/home/pi/Desktop/images/29112025/07/02/image_29112025_07_02_44_9732.jpg
/home/pi/Desktop/images/29112025/07/02/image_29112025_07_02_54_9634.jpg
/home/pi/Desktop/images/29112025/07/02/image_29112025_07_03_04_10728.jpg
/home/pi/Desktop/images/29112025/07/03/image_29112025_07_03_14_9874.jpg
/home/pi/Desktop/images/29112025/07/03/image_29112025_07_03_24_9737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396833867","1396833846","1396833992","1396833896","1396833934","1396833844"],"photo_ids_order":["1396833844","1396833846","1396833867","1396833896","1396833934","1396833992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d3a1f1cc6b989ccfe4c39ec52cbceaa.jpg","text":"TemporaryFile(/tmp/multipartBody5357099133609264472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397143867,"filename":"image_29112025_07_02_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/11/29/77d60d7b13679827148079450622c230.jpg","text":"TemporaryFile(/tmp/multipartBody5711718704297407780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397143867,"filename":"image_29112025_07_02_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d5651e43fb9a684e626fd64e0f45028.jpg","text":"TemporaryFile(/tmp/multipartBody6047011120061381001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397143867,"filename":"image_29112025_07_03_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/11/29/cc626563769a564f2ac8f577cda283ec.jpg","text":"TemporaryFile(/tmp/multipartBody1946270562267665055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397143867,"filename":"image_29112025_07_03_04_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e63b96266fa04f3ccf21e55ff6074b88.jpg","text":"TemporaryFile(/tmp/multipartBody2354952617142539582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397143867,"filename":"image_29112025_07_03_14_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/562ebc2ab1305b362116c36f746a5493.jpg","text":"TemporaryFile(/tmp/multipartBody3134595901124521926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397143867,"filename":"image_29112025_07_02_34_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396833867","file1":"1396833846","file0":"1396833844","file4":"1396833934","file5":"1396833992","file3":"1396833896"},"map_files_photo_id_array":[{"photo_id":"1396833992","filename":"file5"},{"photo_id":"1396833867","filename":"file2"},{"photo_id":"1396833934","filename":"file4"},{"photo_id":"1396833846","filename":"file1"},{"photo_id":"1396833844","filename":"file0"},{"photo_id":"1396833896","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396833867":["hashtag1","hashtag2"]},{"1396833846":["hashtag1","hashtag2"]},{"1396833992":["hashtag1","hashtag2"]},{"1396833896":["hashtag1","hashtag2"]},{"1396833934":["hashtag1","hashtag2"]},{"1396833844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396833867, 1396833846, 1396833992, 1396833896, 1396833934, 1396833844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.052276611328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:19:03.465505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/03/image_29112025_07_03_34_9642.jpg', '/home/pi/Desktop/images/29112025/07/03/image_29112025_07_03_44_10631.jpg', '/home/pi/Desktop/images/29112025/07/03/image_29112025_07_03_54_9769.jpg', '/home/pi/Desktop/images/29112025/07/03/image_29112025_07_04_04_9772.jpg', '/home/pi/Desktop/images/29112025/07/04/image_29112025_07_04_15_10647.jpg', '/home/pi/Desktop/images/29112025/07/04/image_29112025_07_04_24_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/03/image_29112025_07_03_34_9642.jpg
/home/pi/Desktop/images/29112025/07/03/image_29112025_07_03_44_10631.jpg
/home/pi/Desktop/images/29112025/07/03/image_29112025_07_03_54_9769.jpg
/home/pi/Desktop/images/29112025/07/03/image_29112025_07_04_04_9772.jpg
/home/pi/Desktop/images/29112025/07/04/image_29112025_07_04_15_10647.jpg
/home/pi/Desktop/images/29112025/07/04/image_29112025_07_04_24_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":["1396834288","1396834291","1396834174","1396834234","1396834278","1396834137"],"photo_ids_order":["1396834137","1396834174","1396834234","1396834278","1396834288","1396834291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84298e62d3a0c30fc1fb663f4ff05bb5.jpg","text":"TemporaryFile(/tmp/multipartBody2115891763798886244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397204502,"filename":"image_29112025_07_04_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/11/29/19d822e85940a9c9cb6e6bde027f557e.jpg","text":"TemporaryFile(/tmp/multipartBody7985563521115738461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397204502,"filename":"image_29112025_07_04_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/11/29/1226a5ba65b6628f7dd5edc1416147c8.jpg","text":"TemporaryFile(/tmp/multipartBody2486753412113970972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397204502,"filename":"image_29112025_07_03_44_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4b079ad8ebdf8df02c0c1a26e1e2d16.jpg","text":"TemporaryFile(/tmp/multipartBody6161008120131507265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397204502,"filename":"image_29112025_07_03_54_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cfc377751ce624a19f8376839fd74cc1.jpg","text":"TemporaryFile(/tmp/multipartBody411478485451016752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397204502,"filename":"image_29112025_07_04_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/11/29/c73044648a0acbdc4db2717d291654a9.jpg","text":"TemporaryFile(/tmp/multipartBody7536485137470761669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397204502,"filename":"image_29112025_07_03_34_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396834234","file1":"1396834174","file0":"1396834137","file4":"1396834288","file5":"1396834291","file3":"1396834278"},"map_files_photo_id_array":[{"photo_id":"1396834291","filename":"file5"},{"photo_id":"1396834234","filename":"file2"},{"photo_id":"1396834288","filename":"file4"},{"photo_id":"1396834174","filename":"file1"},{"photo_id":"1396834137","filename":"file0"},{"photo_id":"1396834278","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396834288":["hashtag1","hashtag2"]},{"1396834291":["hashtag1","hashtag2"]},{"1396834174":["hashtag1","hashtag2"]},{"1396834234":["hashtag1","hashtag2"]},{"1396834278":["hashtag1","hashtag2"]},{"1396834137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396834288, 1396834291, 1396834174, 1396834234, 1396834278, 1396834137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33979082107544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:19:42.609745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_57_3639.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_59_2623.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_02_2754.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_06_3574.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_08_2596.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_11_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/08/57/image_31102025_08_57_57_3639.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_59_2623.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_02_2754.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_06_3574.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_08_2596.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_11_2650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.1816365718841553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:20:03.249000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/04/image_29112025_07_04_34_9602.jpg', '/home/pi/Desktop/images/29112025/07/04/image_29112025_07_04_44_10576.jpg', '/home/pi/Desktop/images/29112025/07/04/image_29112025_07_04_54_9650.jpg', '/home/pi/Desktop/images/29112025/07/05/image_29112025_07_05_15_10761.jpg', '/home/pi/Desktop/images/29112025/07/05/image_29112025_07_05_24_9593.jpg', '/home/pi/Desktop/images/29112025/07/05/image_29112025_07_05_44_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/04/image_29112025_07_04_34_9602.jpg
/home/pi/Desktop/images/29112025/07/04/image_29112025_07_04_44_10576.jpg
/home/pi/Desktop/images/29112025/07/04/image_29112025_07_04_54_9650.jpg
/home/pi/Desktop/images/29112025/07/05/image_29112025_07_05_15_10761.jpg
/home/pi/Desktop/images/29112025/07/05/image_29112025_07_05_24_9593.jpg
/home/pi/Desktop/images/29112025/07/05/image_29112025_07_05_44_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396834388","1396834387","1396834390","1396834392","1396834395","1396834389"],"photo_ids_order":["1396834387","1396834388","1396834389","1396834390","1396834392","1396834395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e49af4a7709f71fe999dfcea92a261b.jpg","text":"TemporaryFile(/tmp/multipartBody889735541775718076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397264027,"filename":"image_29112025_07_04_44_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99fc8fe6272a76dcd04ffb5066a036f5.jpg","text":"TemporaryFile(/tmp/multipartBody8576747880700139788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397264027,"filename":"image_29112025_07_04_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/11/29/dab9197bb9a001f6ba4c8c45b8ff191a.jpg","text":"TemporaryFile(/tmp/multipartBody2722036482304775334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397264027,"filename":"image_29112025_07_05_15_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1330e39bebd2d917da4c4cf451204cc3.jpg","text":"TemporaryFile(/tmp/multipartBody3901748899635857381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397264027,"filename":"image_29112025_07_05_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d861d25b63e4452918d22db7d3830cdc.jpg","text":"TemporaryFile(/tmp/multipartBody815886856827982807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397264027,"filename":"image_29112025_07_05_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/11/29/7c63d7f8c4f23571630d45964194aa7f.jpg","text":"TemporaryFile(/tmp/multipartBody6005599062653914109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397264027,"filename":"image_29112025_07_04_54_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396834389","file1":"1396834388","file0":"1396834387","file4":"1396834392","file5":"1396834395","file3":"1396834390"},"map_files_photo_id_array":[{"photo_id":"1396834395","filename":"file5"},{"photo_id":"1396834389","filename":"file2"},{"photo_id":"1396834392","filename":"file4"},{"photo_id":"1396834388","filename":"file1"},{"photo_id":"1396834387","filename":"file0"},{"photo_id":"1396834390","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396834388":["hashtag1","hashtag2"]},{"1396834387":["hashtag1","hashtag2"]},{"1396834390":["hashtag1","hashtag2"]},{"1396834392":["hashtag1","hashtag2"]},{"1396834395":["hashtag1","hashtag2"]},{"1396834389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396834388, 1396834387, 1396834390, 1396834392, 1396834395, 1396834389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77851843833923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:20:42.821746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_57_3639.jpg', '/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_59_2623.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_02_2754.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_06_3574.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_08_2596.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_11_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/08/57/image_31102025_08_57_57_3639.jpg
/home/pi/Desktop/images/31102025/08/57/image_31102025_08_57_59_2623.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_02_2754.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_06_3574.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_08_2596.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_11_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":["1396834562","1396834466","1396834505","1396834561","1396834543","1396834563"],"photo_ids_order":["1396834466","1396834505","1396834543","1396834561","1396834562","1396834563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff03c9524d7f70a2c067b341ae007f3a.jpg","text":"TemporaryFile(/tmp/multipartBody9190969997238080675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397303767,"filename":"image_31102025_08_58_08_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecb6214687e4296f2429892f567e1261.jpg","text":"TemporaryFile(/tmp/multipartBody6320201062042678946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397303767,"filename":"image_31102025_08_57_57_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da42e93a1f44217ca42144f69d352f95.jpg","text":"TemporaryFile(/tmp/multipartBody703085232958948800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397303767,"filename":"image_31102025_08_57_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/11/29/055ba800b58d8328cec1c8c69bf8e382.jpg","text":"TemporaryFile(/tmp/multipartBody2074420289960878556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397303767,"filename":"image_31102025_08_58_06_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/373771672d8d60eb2d19bb261baee5f7.jpg","text":"TemporaryFile(/tmp/multipartBody4644121658180690573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397303767,"filename":"image_31102025_08_58_02_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/348744b65c399a3efb1e797f996ca91a.jpg","text":"TemporaryFile(/tmp/multipartBody8056248085512889069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397303767,"filename":"image_31102025_08_58_11_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396834543","file1":"1396834505","file0":"1396834466","file4":"1396834562","file5":"1396834563","file3":"1396834561"},"map_files_photo_id_array":[{"photo_id":"1396834563","filename":"file5"},{"photo_id":"1396834543","filename":"file2"},{"photo_id":"1396834562","filename":"file4"},{"photo_id":"1396834505","filename":"file1"},{"photo_id":"1396834466","filename":"file0"},{"photo_id":"1396834561","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396834562":["hashtag1","hashtag2"]},{"1396834466":["hashtag1","hashtag2"]},{"1396834505":["hashtag1","hashtag2"]},{"1396834561":["hashtag1","hashtag2"]},{"1396834543":["hashtag1","hashtag2"]},{"1396834563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396834562, 1396834466, 1396834505, 1396834561, 1396834543, 1396834563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.958632469177246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:21:22.066736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/05/image_29112025_07_06_04_9677.jpg', '/home/pi/Desktop/images/29112025/07/06/image_29112025_07_06_14_10664.jpg', '/home/pi/Desktop/images/29112025/07/06/image_29112025_07_06_24_9785.jpg', '/home/pi/Desktop/images/29112025/07/06/image_29112025_07_06_34_9647.jpg', '/home/pi/Desktop/images/29112025/07/06/image_29112025_07_06_44_10541.jpg', '/home/pi/Desktop/images/29112025/07/06/image_29112025_07_06_54_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/05/image_29112025_07_06_04_9677.jpg
/home/pi/Desktop/images/29112025/07/06/image_29112025_07_06_14_10664.jpg
/home/pi/Desktop/images/29112025/07/06/image_29112025_07_06_24_9785.jpg
/home/pi/Desktop/images/29112025/07/06/image_29112025_07_06_34_9647.jpg
/home/pi/Desktop/images/29112025/07/06/image_29112025_07_06_44_10541.jpg
/home/pi/Desktop/images/29112025/07/06/image_29112025_07_06_54_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":["1396834676","1396834567","1396834636","1396834596","1396834572","1396834569"],"photo_ids_order":["1396834567","1396834569","1396834572","1396834596","1396834636","1396834676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c26b93a26b199bcb0d1f634dd737d13f.jpg","text":"TemporaryFile(/tmp/multipartBody1562804240657060500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397342827,"filename":"image_29112025_07_06_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/11/29/aeef5571ee1bc9b828e8c50e2f21aed2.jpg","text":"TemporaryFile(/tmp/multipartBody4104016436490235142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397342827,"filename":"image_29112025_07_06_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/11/29/0719b4fa9c384bfa403a98147d156676.jpg","text":"TemporaryFile(/tmp/multipartBody228295859709875989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397342827,"filename":"image_29112025_07_06_44_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3901665f3bbeb1891cb519322bb0e43.jpg","text":"TemporaryFile(/tmp/multipartBody6452955291058598706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397342827,"filename":"image_29112025_07_06_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3edbf58877d79f38c8f24000de9bcb5d.jpg","text":"TemporaryFile(/tmp/multipartBody5032107689992994785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397342827,"filename":"image_29112025_07_06_24_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4825493796a525b6d8f15787c3a2e3b6.jpg","text":"TemporaryFile(/tmp/multipartBody8255872949976981701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397342827,"filename":"image_29112025_07_06_14_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396834572","file1":"1396834569","file0":"1396834567","file4":"1396834636","file5":"1396834676","file3":"1396834596"},"map_files_photo_id_array":[{"photo_id":"1396834676","filename":"file5"},{"photo_id":"1396834572","filename":"file2"},{"photo_id":"1396834636","filename":"file4"},{"photo_id":"1396834569","filename":"file1"},{"photo_id":"1396834567","filename":"file0"},{"photo_id":"1396834596","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396834676":["hashtag1","hashtag2"]},{"1396834567":["hashtag1","hashtag2"]},{"1396834636":["hashtag1","hashtag2"]},{"1396834596":["hashtag1","hashtag2"]},{"1396834572":["hashtag1","hashtag2"]},{"1396834569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396834676, 1396834567, 1396834636, 1396834596, 1396834572, 1396834569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26313591003418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:22:02.688783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_25_10716.jpg', '/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_35_9842.jpg', '/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_44_9595.jpg', '/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_14_9770.jpg', '/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_34_10634.jpg', '/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_44_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_25_10716.jpg
/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_35_9842.jpg
/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_44_9595.jpg
/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_14_9770.jpg
/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_34_10634.jpg
/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_44_9656.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6815941333770752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 07:22:12.301137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_58_2588.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_02_3658.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_04_2618.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_07_2648.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_10_3592.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_13_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/53/image_25112025_17_53_58_2588.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_02_3658.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_04_2618.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_07_2648.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_10_3592.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_13_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396834781","1396834794","1396834788","1396834797","1396834791","1396834764"],"photo_ids_order":["1396834764","1396834781","1396834788","1396834791","1396834794","1396834797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f26b6fb179c7fe022e78e115d3b912b.jpg","text":"TemporaryFile(/tmp/multipartBody8080180833494225754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397395682,"filename":"image_25112025_17_54_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/11/29/28171470780a94fa2bdba14c1a2e3ada.jpg","text":"TemporaryFile(/tmp/multipartBody5661921836960153665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397395682,"filename":"image_25112025_17_54_10_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff9486b5df70cdb8cda80355440f9720.jpg","text":"TemporaryFile(/tmp/multipartBody1679570395779600697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397395682,"filename":"image_25112025_17_54_04_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/720f14cbc84c58dabcb4ad7cd05c5f55.jpg","text":"TemporaryFile(/tmp/multipartBody7936212844481409052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397395682,"filename":"image_25112025_17_54_13_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f10b0f68ae134df07ad5783d66269e77.jpg","text":"TemporaryFile(/tmp/multipartBody8685476244799486100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397395682,"filename":"image_25112025_17_54_07_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de9c5bf69bf304ac36053d35bcafbe7e.jpg","text":"TemporaryFile(/tmp/multipartBody8235119985216844747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397395682,"filename":"image_25112025_17_53_58_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396834788","file1":"1396834781","file0":"1396834764","file4":"1396834794","file5":"1396834797","file3":"1396834791"},"map_files_photo_id_array":[{"photo_id":"1396834797","filename":"file5"},{"photo_id":"1396834788","filename":"file2"},{"photo_id":"1396834794","filename":"file4"},{"photo_id":"1396834781","filename":"file1"},{"photo_id":"1396834764","filename":"file0"},{"photo_id":"1396834791","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396834781":["hashtag1","hashtag2"]},{"1396834794":["hashtag1","hashtag2"]},{"1396834788":["hashtag1","hashtag2"]},{"1396834797":["hashtag1","hashtag2"]},{"1396834791":["hashtag1","hashtag2"]},{"1396834764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396834781, 1396834794, 1396834788, 1396834797, 1396834791, 1396834764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.004074811935425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:23:03.241846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_25_10716.jpg', '/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_35_9842.jpg', '/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_44_9595.jpg', '/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_14_9770.jpg', '/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_34_10634.jpg', '/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_44_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_25_10716.jpg
/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_35_9842.jpg
/home/pi/Desktop/images/29112025/07/07/image_29112025_07_07_44_9595.jpg
/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_14_9770.jpg
/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_34_10634.jpg
/home/pi/Desktop/images/29112025/07/08/image_29112025_07_08_44_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396834802","1396834852","1396834927","1396834816","1396834801","1396834890"],"photo_ids_order":["1396834801","1396834802","1396834816","1396834852","1396834890","1396834927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38429ea1875bb2c0256e07e3b7fcbc4f.jpg","text":"TemporaryFile(/tmp/multipartBody281071716537535429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397444077,"filename":"image_29112025_07_07_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/11/29/28e635b97fae1431f58c0d45eb6070e9.jpg","text":"TemporaryFile(/tmp/multipartBody4307751191103151001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397444077,"filename":"image_29112025_07_08_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/11/29/f634f4d7c8434578ea3d94e02384f07a.jpg","text":"TemporaryFile(/tmp/multipartBody8613446656343398643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397444077,"filename":"image_29112025_07_08_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b43cd71c1d305686638ccf6d02b999f7.jpg","text":"TemporaryFile(/tmp/multipartBody2347225726261413859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397444077,"filename":"image_29112025_07_07_44_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d4cdeabda7eac45867f4b14fd358e74.jpg","text":"TemporaryFile(/tmp/multipartBody2718591249207007497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397444077,"filename":"image_29112025_07_07_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a5d5d1750fd047b91073d5edf0c6ecd.jpg","text":"TemporaryFile(/tmp/multipartBody6274015114028016871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397444077,"filename":"image_29112025_07_08_34_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396834816","file1":"1396834802","file0":"1396834801","file4":"1396834890","file5":"1396834927","file3":"1396834852"},"map_files_photo_id_array":[{"photo_id":"1396834927","filename":"file5"},{"photo_id":"1396834816","filename":"file2"},{"photo_id":"1396834890","filename":"file4"},{"photo_id":"1396834802","filename":"file1"},{"photo_id":"1396834801","filename":"file0"},{"photo_id":"1396834852","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396834802":["hashtag1","hashtag2"]},{"1396834852":["hashtag1","hashtag2"]},{"1396834927":["hashtag1","hashtag2"]},{"1396834816":["hashtag1","hashtag2"]},{"1396834801":["hashtag1","hashtag2"]},{"1396834890":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396834802, 1396834852, 1396834927, 1396834816, 1396834801, 1396834890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57243323326111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:23:42.484612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_15_3772.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_17_2748.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_20_2715.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_23_2709.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_27_3834.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_29_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/08/58/image_31102025_08_58_15_3772.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_17_2748.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_20_2715.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_23_2709.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_27_3834.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_29_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835071","1396835047","1396834987","1396835023","1396835022","1396835019"],"photo_ids_order":["1396834987","1396835019","1396835022","1396835023","1396835047","1396835071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2d73efb606433c4f25cc75578114593.jpg","text":"TemporaryFile(/tmp/multipartBody2063167739647053528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397483570,"filename":"image_31102025_08_58_29_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d1e4aaa0b62ec6590e5abfd19cd8d02.jpg","text":"TemporaryFile(/tmp/multipartBody9095621270324775669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397483570,"filename":"image_31102025_08_58_27_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07386a984cf84bc979c3ed40c8a079b1.jpg","text":"TemporaryFile(/tmp/multipartBody2314998795678987347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397483570,"filename":"image_31102025_08_58_15_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/424c2eee339b1ad6de50a8f74b5aeb5e.jpg","text":"TemporaryFile(/tmp/multipartBody4581713263573718390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397483570,"filename":"image_31102025_08_58_23_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c1ca85517317b514672d1a01b6e0d42.jpg","text":"TemporaryFile(/tmp/multipartBody2269569823264113486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397483570,"filename":"image_31102025_08_58_20_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ad2174a84cf27de7d2da2061487a33f.jpg","text":"TemporaryFile(/tmp/multipartBody343860199942109861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397483570,"filename":"image_31102025_08_58_17_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835022","file1":"1396835019","file0":"1396834987","file4":"1396835047","file5":"1396835071","file3":"1396835023"},"map_files_photo_id_array":[{"photo_id":"1396835071","filename":"file5"},{"photo_id":"1396835022","filename":"file2"},{"photo_id":"1396835047","filename":"file4"},{"photo_id":"1396835019","filename":"file1"},{"photo_id":"1396834987","filename":"file0"},{"photo_id":"1396835023","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396835071":["hashtag1","hashtag2"]},{"1396835047":["hashtag1","hashtag2"]},{"1396834987":["hashtag1","hashtag2"]},{"1396835023":["hashtag1","hashtag2"]},{"1396835022":["hashtag1","hashtag2"]},{"1396835019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396835071, 1396835047, 1396834987, 1396835023, 1396835022, 1396835019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50112843513489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:24:22.645708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/08/image_29112025_07_09_05_10589.jpg', '/home/pi/Desktop/images/29112025/07/09/image_29112025_07_09_14_9701.jpg', '/home/pi/Desktop/images/29112025/07/09/image_29112025_07_09_24_9581.jpg', '/home/pi/Desktop/images/29112025/07/09/image_29112025_07_09_54_9831.jpg', '/home/pi/Desktop/images/29112025/07/09/image_29112025_07_10_04_9874.jpg', '/home/pi/Desktop/images/29112025/07/10/image_29112025_07_10_14_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/08/image_29112025_07_09_05_10589.jpg
/home/pi/Desktop/images/29112025/07/09/image_29112025_07_09_14_9701.jpg
/home/pi/Desktop/images/29112025/07/09/image_29112025_07_09_24_9581.jpg
/home/pi/Desktop/images/29112025/07/09/image_29112025_07_09_54_9831.jpg
/home/pi/Desktop/images/29112025/07/09/image_29112025_07_10_04_9874.jpg
/home/pi/Desktop/images/29112025/07/10/image_29112025_07_10_14_9785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835497","1396835416","1396835233","1396835475","1396835334","1396835492"],"photo_ids_order":["1396835233","1396835334","1396835416","1396835475","1396835492","1396835497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0a3fe5789388a66a44fe75fd3b1f3f5.jpg","text":"TemporaryFile(/tmp/multipartBody454487061172291075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397523392,"filename":"image_29112025_07_10_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1374da45aa0057c360ece8f30146ee30.jpg","text":"TemporaryFile(/tmp/multipartBody6138853587506324864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397523392,"filename":"image_29112025_07_09_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70c27b61dda94feb855d0785485ac101.jpg","text":"TemporaryFile(/tmp/multipartBody259669173388749582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397523392,"filename":"image_29112025_07_09_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/11/29/3890ddc5db2bac2738b79c02389a68f9.jpg","text":"TemporaryFile(/tmp/multipartBody2697973863907028642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397523392,"filename":"image_29112025_07_09_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/11/29/5a0694b34102f05d35ed1201fa9d7278.jpg","text":"TemporaryFile(/tmp/multipartBody5333699735554405469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397523392,"filename":"image_29112025_07_09_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/11/29/da70393474bb4143c9cd44a1754fd6fc.jpg","text":"TemporaryFile(/tmp/multipartBody2399871488421294905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397523392,"filename":"image_29112025_07_10_04_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835416","file1":"1396835334","file0":"1396835233","file4":"1396835492","file5":"1396835497","file3":"1396835475"},"map_files_photo_id_array":[{"photo_id":"1396835497","filename":"file5"},{"photo_id":"1396835416","filename":"file2"},{"photo_id":"1396835492","filename":"file4"},{"photo_id":"1396835334","filename":"file1"},{"photo_id":"1396835233","filename":"file0"},{"photo_id":"1396835475","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835497":["hashtag1","hashtag2"]},{"1396835416":["hashtag1","hashtag2"]},{"1396835233":["hashtag1","hashtag2"]},{"1396835475":["hashtag1","hashtag2"]},{"1396835334":["hashtag1","hashtag2"]},{"1396835492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835497, 1396835416, 1396835233, 1396835475, 1396835334, 1396835492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10808181762695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:25:02.519572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/10/image_29112025_07_10_44_9701.jpg', '/home/pi/Desktop/images/29112025/07/10/image_29112025_07_10_54_10328.jpg', '/home/pi/Desktop/images/29112025/07/10/image_29112025_07_11_04_9760.jpg', '/home/pi/Desktop/images/29112025/07/11/image_29112025_07_11_14_9740.jpg', '/home/pi/Desktop/images/29112025/07/11/image_29112025_07_11_25_10796.jpg', '/home/pi/Desktop/images/29112025/07/11/image_29112025_07_11_34_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/10/image_29112025_07_10_44_9701.jpg
/home/pi/Desktop/images/29112025/07/10/image_29112025_07_10_54_10328.jpg
/home/pi/Desktop/images/29112025/07/10/image_29112025_07_11_04_9760.jpg
/home/pi/Desktop/images/29112025/07/11/image_29112025_07_11_14_9740.jpg
/home/pi/Desktop/images/29112025/07/11/image_29112025_07_11_25_10796.jpg
/home/pi/Desktop/images/29112025/07/11/image_29112025_07_11_34_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835504","1396835507","1396835501","1396835500","1396835499","1396835502"],"photo_ids_order":["1396835499","1396835500","1396835501","1396835502","1396835504","1396835507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/422a60b88f46cd36959d4c4c341bbc9f.jpg","text":"TemporaryFile(/tmp/multipartBody5552823721978542186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397563406,"filename":"image_29112025_07_11_25_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd8da422852d6220f491a9e655122623.jpg","text":"TemporaryFile(/tmp/multipartBody3958858783019242495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397563406,"filename":"image_29112025_07_11_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/11/29/5e05dd023295a34818646676e286b6cd.jpg","text":"TemporaryFile(/tmp/multipartBody5539475085025269820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397563406,"filename":"image_29112025_07_11_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/11/29/d297a7844d63a4d8a039e33900741d74.jpg","text":"TemporaryFile(/tmp/multipartBody4806270250872110848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397563406,"filename":"image_29112025_07_10_54_10328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28a7f90b9f4c88b0183077a463406f19.jpg","text":"TemporaryFile(/tmp/multipartBody2098067937092331841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397563406,"filename":"image_29112025_07_10_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/11/29/e7ccf22dc37de8f86d156a56f9991800.jpg","text":"TemporaryFile(/tmp/multipartBody1882739607757958777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397563406,"filename":"image_29112025_07_11_14_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835501","file1":"1396835500","file0":"1396835499","file4":"1396835504","file5":"1396835507","file3":"1396835502"},"map_files_photo_id_array":[{"photo_id":"1396835507","filename":"file5"},{"photo_id":"1396835501","filename":"file2"},{"photo_id":"1396835504","filename":"file4"},{"photo_id":"1396835500","filename":"file1"},{"photo_id":"1396835499","filename":"file0"},{"photo_id":"1396835502","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835504":["hashtag1","hashtag2"]},{"1396835507":["hashtag1","hashtag2"]},{"1396835501":["hashtag1","hashtag2"]},{"1396835500":["hashtag1","hashtag2"]},{"1396835499":["hashtag1","hashtag2"]},{"1396835502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835504, 1396835507, 1396835501, 1396835500, 1396835499, 1396835502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25002598762512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:25:41.984856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_32_2658.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_35_2856.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_39_3691.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_41_2572.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_44_2700.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_48_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_32_2658.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_35_2856.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_39_3691.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_41_2572.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_44_2700.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_48_3692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835522","1396835516","1396835521","1396835524","1396835520","1396835523"],"photo_ids_order":["1396835516","1396835520","1396835521","1396835522","1396835523","1396835524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ebcefc7ba81ea377ddcdea5575cc5d1.jpg","text":"TemporaryFile(/tmp/multipartBody3641866750064244650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397603125,"filename":"image_31102025_08_58_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/11/29/9fc416423debeecea8c5b49890b93f66.jpg","text":"TemporaryFile(/tmp/multipartBody9173458691867773104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397603125,"filename":"image_31102025_08_58_32_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/015615adf41338556a1daf89d83422b3.jpg","text":"TemporaryFile(/tmp/multipartBody4938286140906618292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397603125,"filename":"image_31102025_08_58_39_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0199226d029fb5d205a84bb415e6a33c.jpg","text":"TemporaryFile(/tmp/multipartBody4502058449231186220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397603125,"filename":"image_31102025_08_58_48_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef0cff5ecada5c3ab49b300f5bdc36a6.jpg","text":"TemporaryFile(/tmp/multipartBody4411522706472709035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397603125,"filename":"image_31102025_08_58_35_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bda187795f075a85d2a5ffef123a38e5.jpg","text":"TemporaryFile(/tmp/multipartBody4600712886169900692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397603125,"filename":"image_31102025_08_58_44_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835521","file1":"1396835520","file0":"1396835516","file4":"1396835523","file5":"1396835524","file3":"1396835522"},"map_files_photo_id_array":[{"photo_id":"1396835524","filename":"file5"},{"photo_id":"1396835521","filename":"file2"},{"photo_id":"1396835523","filename":"file4"},{"photo_id":"1396835520","filename":"file1"},{"photo_id":"1396835516","filename":"file0"},{"photo_id":"1396835522","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396835522":["hashtag1","hashtag2"]},{"1396835516":["hashtag1","hashtag2"]},{"1396835521":["hashtag1","hashtag2"]},{"1396835524":["hashtag1","hashtag2"]},{"1396835520":["hashtag1","hashtag2"]},{"1396835523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396835522, 1396835516, 1396835521, 1396835524, 1396835520, 1396835523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79228401184082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:26:22.188893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/11/image_29112025_07_11_55_10730.jpg', '/home/pi/Desktop/images/29112025/07/11/image_29112025_07_12_04_9632.jpg', '/home/pi/Desktop/images/29112025/07/12/image_29112025_07_12_14_9844.jpg', '/home/pi/Desktop/images/29112025/07/12/image_29112025_07_12_24_9735.jpg', '/home/pi/Desktop/images/29112025/07/12/image_29112025_07_12_35_10736.jpg', '/home/pi/Desktop/images/29112025/07/12/image_29112025_07_12_44_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/11/image_29112025_07_11_55_10730.jpg
/home/pi/Desktop/images/29112025/07/11/image_29112025_07_12_04_9632.jpg
/home/pi/Desktop/images/29112025/07/12/image_29112025_07_12_14_9844.jpg
/home/pi/Desktop/images/29112025/07/12/image_29112025_07_12_24_9735.jpg
/home/pi/Desktop/images/29112025/07/12/image_29112025_07_12_35_10736.jpg
/home/pi/Desktop/images/29112025/07/12/image_29112025_07_12_44_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":["1396835540","1396835537","1396835544","1396835532","1396835526","1396835529"],"photo_ids_order":["1396835526","1396835529","1396835532","1396835537","1396835540","1396835544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed3f33818ab00dee60d547095b1319b5.jpg","text":"TemporaryFile(/tmp/multipartBody6737923220894273845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397642960,"filename":"image_29112025_07_12_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d9951447a8df47ff764efb4011b0337.jpg","text":"TemporaryFile(/tmp/multipartBody6357826748719553721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397642960,"filename":"image_29112025_07_12_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/11/29/8b32b478bda0e5df99c3836d16009e35.jpg","text":"TemporaryFile(/tmp/multipartBody8765049290478974063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397642960,"filename":"image_29112025_07_12_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9b61ec29521b37e77d71d3b75ac14f3.jpg","text":"TemporaryFile(/tmp/multipartBody1694660154940829180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397642960,"filename":"image_29112025_07_12_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/11/29/c04f93496e60807346c0d38521becf38.jpg","text":"TemporaryFile(/tmp/multipartBody5725892542171691094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397642960,"filename":"image_29112025_07_11_55_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/795b7a44a0edd82e002637e78de94604.jpg","text":"TemporaryFile(/tmp/multipartBody718638587079233423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397642960,"filename":"image_29112025_07_12_04_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835532","file1":"1396835529","file0":"1396835526","file4":"1396835540","file5":"1396835544","file3":"1396835537"},"map_files_photo_id_array":[{"photo_id":"1396835544","filename":"file5"},{"photo_id":"1396835532","filename":"file2"},{"photo_id":"1396835540","filename":"file4"},{"photo_id":"1396835529","filename":"file1"},{"photo_id":"1396835526","filename":"file0"},{"photo_id":"1396835537","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835540":["hashtag1","hashtag2"]},{"1396835537":["hashtag1","hashtag2"]},{"1396835544":["hashtag1","hashtag2"]},{"1396835532":["hashtag1","hashtag2"]},{"1396835526":["hashtag1","hashtag2"]},{"1396835529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835540, 1396835537, 1396835544, 1396835532, 1396835526, 1396835529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8068687915802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:27:03.042548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/12/image_29112025_07_12_54_9777.jpg', '/home/pi/Desktop/images/29112025/07/13/image_29112025_07_13_24_9820.jpg', '/home/pi/Desktop/images/29112025/07/13/image_29112025_07_13_34_9932.jpg', '/home/pi/Desktop/images/29112025/07/13/image_29112025_07_13_45_10638.jpg', '/home/pi/Desktop/images/29112025/07/13/image_29112025_07_14_04_9670.jpg', '/home/pi/Desktop/images/29112025/07/14/image_29112025_07_14_14_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/12/image_29112025_07_12_54_9777.jpg
/home/pi/Desktop/images/29112025/07/13/image_29112025_07_13_24_9820.jpg
/home/pi/Desktop/images/29112025/07/13/image_29112025_07_13_34_9932.jpg
/home/pi/Desktop/images/29112025/07/13/image_29112025_07_13_45_10638.jpg
/home/pi/Desktop/images/29112025/07/13/image_29112025_07_14_04_9670.jpg
/home/pi/Desktop/images/29112025/07/14/image_29112025_07_14_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":["1396835549","1396835552","1396835551","1396835554","1396835556","1396835559"],"photo_ids_order":["1396835549","1396835551","1396835552","1396835554","1396835556","1396835559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57d593917a33b528cd8f54b9d4753c02.jpg","text":"TemporaryFile(/tmp/multipartBody958991345103641726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397683925,"filename":"image_29112025_07_12_54_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e3835c5608bd3d231871c2d99ad7ce3.jpg","text":"TemporaryFile(/tmp/multipartBody7321591369767016112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397683925,"filename":"image_29112025_07_13_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/11/29/494890d1e8d2ce5005890a5e612a0d8d.jpg","text":"TemporaryFile(/tmp/multipartBody1795347518126454164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397683925,"filename":"image_29112025_07_13_24_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df8dc11fba6c8da77da9cd224d502366.jpg","text":"TemporaryFile(/tmp/multipartBody2364955727245248284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397683925,"filename":"image_29112025_07_13_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/11/29/7d6e700711eb345245eee12d627e7e12.jpg","text":"TemporaryFile(/tmp/multipartBody4896577506517804807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397683925,"filename":"image_29112025_07_14_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/11/29/ab6d5b1570e5bf166802e22edf0e6c40.jpg","text":"TemporaryFile(/tmp/multipartBody2157072375547724288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397683925,"filename":"image_29112025_07_14_14_9881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835552","file1":"1396835551","file0":"1396835549","file4":"1396835556","file5":"1396835559","file3":"1396835554"},"map_files_photo_id_array":[{"photo_id":"1396835559","filename":"file5"},{"photo_id":"1396835552","filename":"file2"},{"photo_id":"1396835556","filename":"file4"},{"photo_id":"1396835551","filename":"file1"},{"photo_id":"1396835549","filename":"file0"},{"photo_id":"1396835554","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835549":["hashtag1","hashtag2"]},{"1396835552":["hashtag1","hashtag2"]},{"1396835551":["hashtag1","hashtag2"]},{"1396835554":["hashtag1","hashtag2"]},{"1396835556":["hashtag1","hashtag2"]},{"1396835559":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835549, 1396835552, 1396835551, 1396835554, 1396835556, 1396835559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.591389179229736 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-11-29 07:28:02.969023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/14/image_29112025_07_14_24_9798.jpg', '/home/pi/Desktop/images/29112025/07/14/image_29112025_07_14_34_10707.jpg', '/home/pi/Desktop/images/29112025/07/14/image_29112025_07_14_44_9743.jpg', '/home/pi/Desktop/images/29112025/07/14/image_29112025_07_14_54_9691.jpg', '/home/pi/Desktop/images/29112025/07/14/image_29112025_07_15_05_10743.jpg', '/home/pi/Desktop/images/29112025/07/15/image_29112025_07_15_14_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/14/image_29112025_07_14_24_9798.jpg
/home/pi/Desktop/images/29112025/07/14/image_29112025_07_14_34_10707.jpg
/home/pi/Desktop/images/29112025/07/14/image_29112025_07_14_44_9743.jpg
/home/pi/Desktop/images/29112025/07/14/image_29112025_07_14_54_9691.jpg
/home/pi/Desktop/images/29112025/07/14/image_29112025_07_15_05_10743.jpg
/home/pi/Desktop/images/29112025/07/15/image_29112025_07_15_14_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835621","1396835615","1396835614","1396835617","1396835602","1396835594"],"photo_ids_order":["1396835594","1396835602","1396835614","1396835615","1396835617","1396835621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1062b3277416fd8c7f5708332bc5aadb.jpg","text":"TemporaryFile(/tmp/multipartBody1379931666997906735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397743745,"filename":"image_29112025_07_15_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/11/29/2c7ae4178172ed06bd1f403ca65f59ab.jpg","text":"TemporaryFile(/tmp/multipartBody5965952941588386656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397743745,"filename":"image_29112025_07_14_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/11/29/4b7d79b5fba9bedc83445b0c1781d280.jpg","text":"TemporaryFile(/tmp/multipartBody9146706732033961203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397743745,"filename":"image_29112025_07_14_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/11/29/cfd7ca4644631c1a00cc390dddda55da.jpg","text":"TemporaryFile(/tmp/multipartBody8592329131563565750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397743745,"filename":"image_29112025_07_15_05_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9df9398d263f5af4240c7f25f7b0131.jpg","text":"TemporaryFile(/tmp/multipartBody3091440233283093581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397743745,"filename":"image_29112025_07_14_34_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12aa9b903d74a9f1c80e82b0e4407dd5.jpg","text":"TemporaryFile(/tmp/multipartBody186945508073482967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397743745,"filename":"image_29112025_07_14_24_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835614","file1":"1396835602","file0":"1396835594","file4":"1396835617","file5":"1396835621","file3":"1396835615"},"map_files_photo_id_array":[{"photo_id":"1396835621","filename":"file5"},{"photo_id":"1396835614","filename":"file2"},{"photo_id":"1396835617","filename":"file4"},{"photo_id":"1396835602","filename":"file1"},{"photo_id":"1396835594","filename":"file0"},{"photo_id":"1396835615","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835621":["hashtag1","hashtag2"]},{"1396835615":["hashtag1","hashtag2"]},{"1396835614":["hashtag1","hashtag2"]},{"1396835617":["hashtag1","hashtag2"]},{"1396835602":["hashtag1","hashtag2"]},{"1396835594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835621, 1396835615, 1396835614, 1396835617, 1396835602, 1396835594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.736687660217285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:28:42.536254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_50_2585.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_53_2645.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_56_3611.jpg', '/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_59_2551.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_03_3767.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_05_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/08/58/image_31102025_08_58_50_2585.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_53_2645.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_56_3611.jpg
/home/pi/Desktop/images/31102025/08/58/image_31102025_08_58_59_2551.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_03_3767.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_05_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":["1396835630","1396835633","1396835632","1396835629","1396835631","1396835628"],"photo_ids_order":["1396835628","1396835629","1396835630","1396835631","1396835632","1396835633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e16b7a035dbd31e83bafd1bb8cd9cfa.jpg","text":"TemporaryFile(/tmp/multipartBody7924653170300485506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397783629,"filename":"image_31102025_08_58_56_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3c1e47df5d9b019c031d37cae069142.jpg","text":"TemporaryFile(/tmp/multipartBody5532890512462767007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397783629,"filename":"image_31102025_08_59_05_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bef326dd1adb0d48e60265393eee2d23.jpg","text":"TemporaryFile(/tmp/multipartBody4960317243183811767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397783629,"filename":"image_31102025_08_59_03_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/815fe19f24159ee1498abe6bcd8899c8.jpg","text":"TemporaryFile(/tmp/multipartBody7751913735835049735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397783629,"filename":"image_31102025_08_58_53_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcd2012b6e983a6f91f9a496437c33b5.jpg","text":"TemporaryFile(/tmp/multipartBody740198403050325399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397783629,"filename":"image_31102025_08_58_59_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7159a79e40998ef258104805da477a93.jpg","text":"TemporaryFile(/tmp/multipartBody1648032192650346087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397783629,"filename":"image_31102025_08_58_50_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835630","file1":"1396835629","file0":"1396835628","file4":"1396835632","file5":"1396835633","file3":"1396835631"},"map_files_photo_id_array":[{"photo_id":"1396835633","filename":"file5"},{"photo_id":"1396835630","filename":"file2"},{"photo_id":"1396835632","filename":"file4"},{"photo_id":"1396835629","filename":"file1"},{"photo_id":"1396835628","filename":"file0"},{"photo_id":"1396835631","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396835630":["hashtag1","hashtag2"]},{"1396835633":["hashtag1","hashtag2"]},{"1396835632":["hashtag1","hashtag2"]},{"1396835629":["hashtag1","hashtag2"]},{"1396835631":["hashtag1","hashtag2"]},{"1396835628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396835630, 1396835633, 1396835632, 1396835629, 1396835631, 1396835628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23281407356262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:29:22.639023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/15/image_29112025_07_15_54_9689.jpg', '/home/pi/Desktop/images/29112025/07/15/image_29112025_07_16_04_9814.jpg', '/home/pi/Desktop/images/29112025/07/16/image_29112025_07_16_25_10722.jpg', '/home/pi/Desktop/images/29112025/07/16/image_29112025_07_16_34_9846.jpg', '/home/pi/Desktop/images/29112025/07/16/image_29112025_07_17_04_10317.jpg', '/home/pi/Desktop/images/29112025/07/17/image_29112025_07_17_24_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/15/image_29112025_07_15_54_9689.jpg
/home/pi/Desktop/images/29112025/07/15/image_29112025_07_16_04_9814.jpg
/home/pi/Desktop/images/29112025/07/16/image_29112025_07_16_25_10722.jpg
/home/pi/Desktop/images/29112025/07/16/image_29112025_07_16_34_9846.jpg
/home/pi/Desktop/images/29112025/07/16/image_29112025_07_17_04_10317.jpg
/home/pi/Desktop/images/29112025/07/17/image_29112025_07_17_24_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":["1396835648","1396835642","1396835645","1396835662","1396835653","1396835638"],"photo_ids_order":["1396835638","1396835642","1396835645","1396835648","1396835653","1396835662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb03ff1c42581696f0d437fd8f37410b.jpg","text":"TemporaryFile(/tmp/multipartBody4245947654134812719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397823391,"filename":"image_29112025_07_16_34_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1b77237fdbfcc1db75f0e724271c3e2.jpg","text":"TemporaryFile(/tmp/multipartBody3426438247970366053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397823391,"filename":"image_29112025_07_16_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/11/29/83e4e3596189003162bf9795265eca94.jpg","text":"TemporaryFile(/tmp/multipartBody2600771341695222131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397823391,"filename":"image_29112025_07_16_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/11/29/0a633d8e27a42d3b2983fd574c5faf74.jpg","text":"TemporaryFile(/tmp/multipartBody763602238460051406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397823391,"filename":"image_29112025_07_17_24_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71c0caaf9b3174eb2c0f53b56d581cc7.jpg","text":"TemporaryFile(/tmp/multipartBody6675382890418810976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397823391,"filename":"image_29112025_07_17_04_10317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/addf5a78c267b1d167dee45a9a35ced9.jpg","text":"TemporaryFile(/tmp/multipartBody6320623034879690828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397823391,"filename":"image_29112025_07_15_54_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835645","file1":"1396835642","file0":"1396835638","file4":"1396835653","file5":"1396835662","file3":"1396835648"},"map_files_photo_id_array":[{"photo_id":"1396835662","filename":"file5"},{"photo_id":"1396835645","filename":"file2"},{"photo_id":"1396835653","filename":"file4"},{"photo_id":"1396835642","filename":"file1"},{"photo_id":"1396835638","filename":"file0"},{"photo_id":"1396835648","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835648":["hashtag1","hashtag2"]},{"1396835642":["hashtag1","hashtag2"]},{"1396835645":["hashtag1","hashtag2"]},{"1396835662":["hashtag1","hashtag2"]},{"1396835653":["hashtag1","hashtag2"]},{"1396835638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835648, 1396835642, 1396835645, 1396835662, 1396835653, 1396835638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.66925930976868 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-11-29 07:30:12.936875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_16_2560.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_19_3489.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_22_2644.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_25_3710.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_28_2524.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_31_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_16_2560.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_19_3489.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_22_2644.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_25_3710.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_28_2524.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_31_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835669","1396835663","1396835698","1396835665","1396835673","1396835700"],"photo_ids_order":["1396835663","1396835665","1396835669","1396835673","1396835698","1396835700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc594d725e11f5ee1e89aa2e873ffc83.jpg","text":"TemporaryFile(/tmp/multipartBody1472342376349511932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397875037,"filename":"image_25112025_17_54_22_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5fb72f1429f40c303375ee57c8dfb826.jpg","text":"TemporaryFile(/tmp/multipartBody3885145187562828092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397875037,"filename":"image_25112025_17_54_16_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6166aedba4b82114453409da99cb9c4.jpg","text":"TemporaryFile(/tmp/multipartBody4159175939777921993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397875037,"filename":"image_25112025_17_54_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/11/29/6d1f017f980fba6bd962fbd3ceadbf4b.jpg","text":"TemporaryFile(/tmp/multipartBody4105513669693068380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397875037,"filename":"image_25112025_17_54_19_3489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f343fee72f1dd901ccf85348a76a6cce.jpg","text":"TemporaryFile(/tmp/multipartBody5927416055823294565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397875037,"filename":"image_25112025_17_54_25_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f41ef7d61224e562cd4509dbfb707f0.jpg","text":"TemporaryFile(/tmp/multipartBody1888439895113685057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397875037,"filename":"image_25112025_17_54_31_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835669","file1":"1396835665","file0":"1396835663","file4":"1396835698","file5":"1396835700","file3":"1396835673"},"map_files_photo_id_array":[{"photo_id":"1396835700","filename":"file5"},{"photo_id":"1396835669","filename":"file2"},{"photo_id":"1396835698","filename":"file4"},{"photo_id":"1396835665","filename":"file1"},{"photo_id":"1396835663","filename":"file0"},{"photo_id":"1396835673","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396835669":["hashtag1","hashtag2"]},{"1396835663":["hashtag1","hashtag2"]},{"1396835698":["hashtag1","hashtag2"]},{"1396835665":["hashtag1","hashtag2"]},{"1396835673":["hashtag1","hashtag2"]},{"1396835700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396835669, 1396835663, 1396835698, 1396835665, 1396835673, 1396835700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.85586357116699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 07:31:12.209468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_34_3664.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_37_2688.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_40_2617.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_43_3634.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_46_2785.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_49_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_34_3664.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_37_2688.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_40_2617.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_43_3634.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_46_2785.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_49_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835702","1396835705","1396835713","1396835716","1396835710","1396835703"],"photo_ids_order":["1396835702","1396835703","1396835705","1396835710","1396835713","1396835716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08edd989fb588284e511c92416c645f5.jpg","text":"TemporaryFile(/tmp/multipartBody9129999046392608641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397934292,"filename":"image_25112025_17_54_34_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8067b8c0109cf1b72d9d73a1d850847.jpg","text":"TemporaryFile(/tmp/multipartBody941282964971122082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397934292,"filename":"image_25112025_17_54_40_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a30e70c1edb26d7ee4066bf5b00dbbde.jpg","text":"TemporaryFile(/tmp/multipartBody64291178046773170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397934292,"filename":"image_25112025_17_54_46_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d0b11d0b150620cf3b350ebda040cb0.jpg","text":"TemporaryFile(/tmp/multipartBody5084333267121355969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397934292,"filename":"image_25112025_17_54_49_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/870014b87ad0553b1dd37d051ff0311a.jpg","text":"TemporaryFile(/tmp/multipartBody2472198017778125584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397934292,"filename":"image_25112025_17_54_43_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25f8ea645343ac77a400cbc6e47e83b9.jpg","text":"TemporaryFile(/tmp/multipartBody683767282270673070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397934292,"filename":"image_25112025_17_54_37_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835705","file1":"1396835703","file0":"1396835702","file4":"1396835713","file5":"1396835716","file3":"1396835710"},"map_files_photo_id_array":[{"photo_id":"1396835716","filename":"file5"},{"photo_id":"1396835705","filename":"file2"},{"photo_id":"1396835713","filename":"file4"},{"photo_id":"1396835703","filename":"file1"},{"photo_id":"1396835702","filename":"file0"},{"photo_id":"1396835710","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396835702":["hashtag1","hashtag2"]},{"1396835705":["hashtag1","hashtag2"]},{"1396835713":["hashtag1","hashtag2"]},{"1396835716":["hashtag1","hashtag2"]},{"1396835710":["hashtag1","hashtag2"]},{"1396835703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396835702, 1396835705, 1396835713, 1396835716, 1396835710, 1396835703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96952533721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:32:02.787520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/17/image_29112025_07_17_34_9636.jpg', '/home/pi/Desktop/images/29112025/07/17/image_29112025_07_17_44_9691.jpg', '/home/pi/Desktop/images/29112025/07/17/image_29112025_07_17_54_10569.jpg', '/home/pi/Desktop/images/29112025/07/18/image_29112025_07_18_14_9799.jpg', '/home/pi/Desktop/images/29112025/07/18/image_29112025_07_18_25_10682.jpg', '/home/pi/Desktop/images/29112025/07/18/image_29112025_07_18_34_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/17/image_29112025_07_17_34_9636.jpg
/home/pi/Desktop/images/29112025/07/17/image_29112025_07_17_44_9691.jpg
/home/pi/Desktop/images/29112025/07/17/image_29112025_07_17_54_10569.jpg
/home/pi/Desktop/images/29112025/07/18/image_29112025_07_18_14_9799.jpg
/home/pi/Desktop/images/29112025/07/18/image_29112025_07_18_25_10682.jpg
/home/pi/Desktop/images/29112025/07/18/image_29112025_07_18_34_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835723","1396835725","1396835722","1396835730","1396835724","1396835727"],"photo_ids_order":["1396835722","1396835723","1396835724","1396835725","1396835727","1396835730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b99a5195e479a391aa71554f4ad0f79.jpg","text":"TemporaryFile(/tmp/multipartBody3831015536533555024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397983643,"filename":"image_29112025_07_17_44_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0726a00fb73547deef4b54bc725321d4.jpg","text":"TemporaryFile(/tmp/multipartBody3433526777894327219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397983643,"filename":"image_29112025_07_18_14_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9a744c098e9b15807f6a593473dda82.jpg","text":"TemporaryFile(/tmp/multipartBody7083480976985978729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397983643,"filename":"image_29112025_07_17_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53e14d180006f82252ddb3dc8edda7d6.jpg","text":"TemporaryFile(/tmp/multipartBody4787382237689241785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397983643,"filename":"image_29112025_07_18_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d5d693c0eaaa08a4ccfa3a5f3ef9677.jpg","text":"TemporaryFile(/tmp/multipartBody6163238075894256951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397983643,"filename":"image_29112025_07_17_54_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68c67c9fd0128a966a6b1a76f5db7b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8703374460423881631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764397983643,"filename":"image_29112025_07_18_25_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835724","file1":"1396835723","file0":"1396835722","file4":"1396835727","file5":"1396835730","file3":"1396835725"},"map_files_photo_id_array":[{"photo_id":"1396835730","filename":"file5"},{"photo_id":"1396835724","filename":"file2"},{"photo_id":"1396835727","filename":"file4"},{"photo_id":"1396835723","filename":"file1"},{"photo_id":"1396835722","filename":"file0"},{"photo_id":"1396835725","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835723":["hashtag1","hashtag2"]},{"1396835725":["hashtag1","hashtag2"]},{"1396835722":["hashtag1","hashtag2"]},{"1396835730":["hashtag1","hashtag2"]},{"1396835724":["hashtag1","hashtag2"]},{"1396835727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835723, 1396835725, 1396835722, 1396835730, 1396835724, 1396835727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.109073638916016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:32:42.375691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_08_2659.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_11_2733.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_14_3538.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_17_2658.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_20_2748.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_23_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_08_2659.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_11_2733.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_14_3538.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_17_2658.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_20_2748.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_23_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835753","1396835752","1396835755","1396835740","1396835754","1396835751"],"photo_ids_order":["1396835740","1396835751","1396835752","1396835753","1396835754","1396835755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/405f97eb4d125f5c9c72991406b260f5.jpg","text":"TemporaryFile(/tmp/multipartBody5473400567703982619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398023481,"filename":"image_31102025_08_59_17_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84032534b7f0439b0c7d2b56dd5d1c42.jpg","text":"TemporaryFile(/tmp/multipartBody8169001632569395600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398023481,"filename":"image_31102025_08_59_14_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7cfec1ceae770e54f3e07d4cfdc9c780.jpg","text":"TemporaryFile(/tmp/multipartBody8302753220210471485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398023481,"filename":"image_31102025_08_59_23_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f282278c9041eda7de22f9de5c7b7ac.jpg","text":"TemporaryFile(/tmp/multipartBody2068354675076094277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398023481,"filename":"image_31102025_08_59_08_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eeccdea04034d7a29dece4d75a4646b3.jpg","text":"TemporaryFile(/tmp/multipartBody9173544101569564418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398023481,"filename":"image_31102025_08_59_20_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38857d5a1f77ad6b94225f3a6b8b6fde.jpg","text":"TemporaryFile(/tmp/multipartBody3473783584127330726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398023481,"filename":"image_31102025_08_59_11_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835752","file1":"1396835751","file0":"1396835740","file4":"1396835754","file5":"1396835755","file3":"1396835753"},"map_files_photo_id_array":[{"photo_id":"1396835755","filename":"file5"},{"photo_id":"1396835752","filename":"file2"},{"photo_id":"1396835754","filename":"file4"},{"photo_id":"1396835751","filename":"file1"},{"photo_id":"1396835740","filename":"file0"},{"photo_id":"1396835753","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396835753":["hashtag1","hashtag2"]},{"1396835752":["hashtag1","hashtag2"]},{"1396835755":["hashtag1","hashtag2"]},{"1396835740":["hashtag1","hashtag2"]},{"1396835754":["hashtag1","hashtag2"]},{"1396835751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396835753, 1396835752, 1396835755, 1396835740, 1396835754, 1396835751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98737144470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:33:22.526189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/18/image_29112025_07_18_44_9823.jpg', '/home/pi/Desktop/images/29112025/07/18/image_29112025_07_18_54_9829.jpg', '/home/pi/Desktop/images/29112025/07/18/image_29112025_07_19_05_10646.jpg', '/home/pi/Desktop/images/29112025/07/19/image_29112025_07_19_14_9590.jpg', '/home/pi/Desktop/images/29112025/07/19/image_29112025_07_19_24_9734.jpg', '/home/pi/Desktop/images/29112025/07/19/image_29112025_07_19_54_10314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/18/image_29112025_07_18_44_9823.jpg
/home/pi/Desktop/images/29112025/07/18/image_29112025_07_18_54_9829.jpg
/home/pi/Desktop/images/29112025/07/18/image_29112025_07_19_05_10646.jpg
/home/pi/Desktop/images/29112025/07/19/image_29112025_07_19_14_9590.jpg
/home/pi/Desktop/images/29112025/07/19/image_29112025_07_19_24_9734.jpg
/home/pi/Desktop/images/29112025/07/19/image_29112025_07_19_54_10314.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835768","1396835762","1396835764","1396835772","1396835775","1396835759"],"photo_ids_order":["1396835759","1396835762","1396835764","1396835768","1396835772","1396835775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b259521de4c27f0aa2b6492542c650ab.jpg","text":"TemporaryFile(/tmp/multipartBody8800515434913149691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398063276,"filename":"image_29112025_07_19_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/11/29/ceb088aebd9b4eb3e2e685ed593383f1.jpg","text":"TemporaryFile(/tmp/multipartBody3577783503294089104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398063276,"filename":"image_29112025_07_18_54_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7943187ff91545a9df12fe093128bca.jpg","text":"TemporaryFile(/tmp/multipartBody2471929933977683189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398063276,"filename":"image_29112025_07_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/11/29/555dbcb3323a2fde193d6b1d6fe39e06.jpg","text":"TemporaryFile(/tmp/multipartBody360818336806554070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398063276,"filename":"image_29112025_07_19_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/11/29/fb74f7f2cc569f19a2eb5137f0c3d5ca.jpg","text":"TemporaryFile(/tmp/multipartBody1818429773065459137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398063276,"filename":"image_29112025_07_19_54_10314.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/708e80dbb80f0d619465076e9ad0cd7c.jpg","text":"TemporaryFile(/tmp/multipartBody5405936924663584806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398063276,"filename":"image_29112025_07_18_44_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835764","file1":"1396835762","file0":"1396835759","file4":"1396835772","file5":"1396835775","file3":"1396835768"},"map_files_photo_id_array":[{"photo_id":"1396835775","filename":"file5"},{"photo_id":"1396835764","filename":"file2"},{"photo_id":"1396835772","filename":"file4"},{"photo_id":"1396835762","filename":"file1"},{"photo_id":"1396835759","filename":"file0"},{"photo_id":"1396835768","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835768":["hashtag1","hashtag2"]},{"1396835762":["hashtag1","hashtag2"]},{"1396835764":["hashtag1","hashtag2"]},{"1396835772":["hashtag1","hashtag2"]},{"1396835775":["hashtag1","hashtag2"]},{"1396835759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835768, 1396835762, 1396835764, 1396835772, 1396835775, 1396835759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76446080207825 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-11-29 07:34:11.841321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_52_3661.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_55_2627.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_58_2677.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_07_3011.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_11_3579.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_14_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_52_3661.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_55_2627.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_58_2677.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_07_3011.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_11_3579.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_14_2541.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 4.268531560897827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:34:21.851359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/19/image_29112025_07_20_04_9664.jpg', '/home/pi/Desktop/images/29112025/07/20/image_29112025_07_20_14_9684.jpg', '/home/pi/Desktop/images/29112025/07/20/image_29112025_07_20_25_10703.jpg', '/home/pi/Desktop/images/29112025/07/20/image_29112025_07_20_34_9747.jpg', '/home/pi/Desktop/images/29112025/07/20/image_29112025_07_20_44_9842.jpg', '/home/pi/Desktop/images/29112025/07/20/image_29112025_07_20_54_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/19/image_29112025_07_20_04_9664.jpg
/home/pi/Desktop/images/29112025/07/20/image_29112025_07_20_14_9684.jpg
/home/pi/Desktop/images/29112025/07/20/image_29112025_07_20_25_10703.jpg
/home/pi/Desktop/images/29112025/07/20/image_29112025_07_20_34_9747.jpg
/home/pi/Desktop/images/29112025/07/20/image_29112025_07_20_44_9842.jpg
/home/pi/Desktop/images/29112025/07/20/image_29112025_07_20_54_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835794","1396835797","1396835791","1396835779","1396835787","1396835783"],"photo_ids_order":["1396835779","1396835783","1396835787","1396835791","1396835794","1396835797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b669c3ed1964db652f0a709fd13f9903.jpg","text":"TemporaryFile(/tmp/multipartBody5680023344229433374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398122607,"filename":"image_29112025_07_20_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/11/29/d199a0906d57a47b3c22256c25974ecd.jpg","text":"TemporaryFile(/tmp/multipartBody1718218826327219494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398122607,"filename":"image_29112025_07_20_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/11/29/01e336f161b1c122c47fc72c3ca07d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4931956952348784512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398122607,"filename":"image_29112025_07_20_34_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3131af780edfb2cc17e25344d1488365.jpg","text":"TemporaryFile(/tmp/multipartBody5416053723318738398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398122607,"filename":"image_29112025_07_20_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a1359befe937c30e2a0b17d7f082aaf.jpg","text":"TemporaryFile(/tmp/multipartBody2739585367468464608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398122607,"filename":"image_29112025_07_20_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/11/29/090968f741e13ad1f4b22ee6836fc8ab.jpg","text":"TemporaryFile(/tmp/multipartBody907796587680888196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398122607,"filename":"image_29112025_07_20_14_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835787","file1":"1396835783","file0":"1396835779","file4":"1396835794","file5":"1396835797","file3":"1396835791"},"map_files_photo_id_array":[{"photo_id":"1396835797","filename":"file5"},{"photo_id":"1396835787","filename":"file2"},{"photo_id":"1396835794","filename":"file4"},{"photo_id":"1396835783","filename":"file1"},{"photo_id":"1396835779","filename":"file0"},{"photo_id":"1396835791","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835794":["hashtag1","hashtag2"]},{"1396835797":["hashtag1","hashtag2"]},{"1396835791":["hashtag1","hashtag2"]},{"1396835779":["hashtag1","hashtag2"]},{"1396835787":["hashtag1","hashtag2"]},{"1396835783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835794, 1396835797, 1396835791, 1396835779, 1396835787, 1396835783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30659341812134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:35:02.708959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/20/image_29112025_07_21_05_10753.jpg', '/home/pi/Desktop/images/29112025/07/21/image_29112025_07_21_14_9804.jpg', '/home/pi/Desktop/images/29112025/07/21/image_29112025_07_21_24_9698.jpg', '/home/pi/Desktop/images/29112025/07/21/image_29112025_07_21_35_10535.jpg', '/home/pi/Desktop/images/29112025/07/21/image_29112025_07_21_44_9570.jpg', '/home/pi/Desktop/images/29112025/07/21/image_29112025_07_21_54_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/20/image_29112025_07_21_05_10753.jpg
/home/pi/Desktop/images/29112025/07/21/image_29112025_07_21_14_9804.jpg
/home/pi/Desktop/images/29112025/07/21/image_29112025_07_21_24_9698.jpg
/home/pi/Desktop/images/29112025/07/21/image_29112025_07_21_35_10535.jpg
/home/pi/Desktop/images/29112025/07/21/image_29112025_07_21_44_9570.jpg
/home/pi/Desktop/images/29112025/07/21/image_29112025_07_21_54_9841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835801","1396835804","1396835807","1396835800","1396835799","1396835802"],"photo_ids_order":["1396835799","1396835800","1396835801","1396835802","1396835804","1396835807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dacce4c70a7e8c32a41c053e690d09fb.jpg","text":"TemporaryFile(/tmp/multipartBody8964485278164886446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398163540,"filename":"image_29112025_07_21_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/11/29/518a91caf76a06f1d3d66d28a9c7a428.jpg","text":"TemporaryFile(/tmp/multipartBody5309925718021709753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398163540,"filename":"image_29112025_07_21_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/11/29/954392b21e625fcbc061e80f4295fbb9.jpg","text":"TemporaryFile(/tmp/multipartBody8372969443415419908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398163540,"filename":"image_29112025_07_21_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/11/29/09db8a990b24ea81ec8cb10babfd9f3f.jpg","text":"TemporaryFile(/tmp/multipartBody2986191200752928714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398163540,"filename":"image_29112025_07_21_14_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/659c28e1c620b4202756335fd9196ff3.jpg","text":"TemporaryFile(/tmp/multipartBody7872162672349687516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398163540,"filename":"image_29112025_07_21_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/11/29/fff44394c0713d97d7a58ac2435f98c2.jpg","text":"TemporaryFile(/tmp/multipartBody7020083007699657493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398163540,"filename":"image_29112025_07_21_35_10535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835801","file1":"1396835800","file0":"1396835799","file4":"1396835804","file5":"1396835807","file3":"1396835802"},"map_files_photo_id_array":[{"photo_id":"1396835807","filename":"file5"},{"photo_id":"1396835801","filename":"file2"},{"photo_id":"1396835804","filename":"file4"},{"photo_id":"1396835800","filename":"file1"},{"photo_id":"1396835799","filename":"file0"},{"photo_id":"1396835802","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835801":["hashtag1","hashtag2"]},{"1396835804":["hashtag1","hashtag2"]},{"1396835807":["hashtag1","hashtag2"]},{"1396835800":["hashtag1","hashtag2"]},{"1396835799":["hashtag1","hashtag2"]},{"1396835802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835801, 1396835804, 1396835807, 1396835800, 1396835799, 1396835802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74867796897888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:35:42.012459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_29_2671.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_32_3624.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_35_2709.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_38_2725.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_42_3740.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_44_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/08/59/image_31102025_08_59_29_2671.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_32_3624.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_35_2709.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_38_2725.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_42_3740.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_44_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":["1396835825","1396835827","1396835821","1396835818","1396835823","1396835826"],"photo_ids_order":["1396835818","1396835821","1396835823","1396835825","1396835826","1396835827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bfc00250a0283828145d1f934ee33dc.jpg","text":"TemporaryFile(/tmp/multipartBody3205594100124293683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398203099,"filename":"image_31102025_08_59_38_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ddf7432821db98b8f6688536ce28887.jpg","text":"TemporaryFile(/tmp/multipartBody7209828327769227275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398203099,"filename":"image_31102025_08_59_44_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7fd9b5c20bf8e89944df19f2eba0737d.jpg","text":"TemporaryFile(/tmp/multipartBody7102966906692133534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398203099,"filename":"image_31102025_08_59_32_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b72359ce82acfa6421836ed1d246675.jpg","text":"TemporaryFile(/tmp/multipartBody1768212742014390943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398203099,"filename":"image_31102025_08_59_29_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e03ce8a42cbaa36418bea806109bafc3.jpg","text":"TemporaryFile(/tmp/multipartBody1501042180482748026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398203099,"filename":"image_31102025_08_59_35_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a301a90a14b3e3f01e556f52dda640e4.jpg","text":"TemporaryFile(/tmp/multipartBody4236879338851232454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398203099,"filename":"image_31102025_08_59_42_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835823","file1":"1396835821","file0":"1396835818","file4":"1396835826","file5":"1396835827","file3":"1396835825"},"map_files_photo_id_array":[{"photo_id":"1396835827","filename":"file5"},{"photo_id":"1396835823","filename":"file2"},{"photo_id":"1396835826","filename":"file4"},{"photo_id":"1396835821","filename":"file1"},{"photo_id":"1396835818","filename":"file0"},{"photo_id":"1396835825","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396835825":["hashtag1","hashtag2"]},{"1396835827":["hashtag1","hashtag2"]},{"1396835821":["hashtag1","hashtag2"]},{"1396835818":["hashtag1","hashtag2"]},{"1396835823":["hashtag1","hashtag2"]},{"1396835826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396835825, 1396835827, 1396835821, 1396835818, 1396835823, 1396835826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.957115650177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:36:22.193987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/21/image_29112025_07_22_04_9814.jpg', '/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_15_10658.jpg', '/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_24_9892.jpg', '/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_34_9657.jpg', '/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_44_9670.jpg', '/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_55_10823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/21/image_29112025_07_22_04_9814.jpg
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_15_10658.jpg
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_24_9892.jpg
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_34_9657.jpg
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_44_9670.jpg
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_55_10823.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6633410453796387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 07:36:32.263266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_52_3661.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_55_2627.jpg', '/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_58_2677.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_07_3011.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_11_3579.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_14_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_52_3661.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_55_2627.jpg
/home/pi/Desktop/images/25112025/17/54/image_25112025_17_54_58_2677.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_07_3011.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_11_3579.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_14_2541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835849","1396835843","1396835851","1396835839","1396835847","1396835850"],"photo_ids_order":["1396835839","1396835843","1396835847","1396835849","1396835850","1396835851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad83163d1f638abe22eb50db7803ce27.jpg","text":"TemporaryFile(/tmp/multipartBody6232721915720403777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398254368,"filename":"image_25112025_17_56_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/11/29/11ba8479e09bd3468a289157e4178c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3792670064050820253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398254368,"filename":"image_25112025_17_54_55_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3addf8d9eb60b67e1a702e034123e54f.jpg","text":"TemporaryFile(/tmp/multipartBody5373742244778449581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398254368,"filename":"image_25112025_17_56_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/11/29/23bdbe4ff92aac8ff9a50036a502c48a.jpg","text":"TemporaryFile(/tmp/multipartBody3480107518489902467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398254368,"filename":"image_25112025_17_54_52_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9513f62cede72191d2a432e30c39eda2.jpg","text":"TemporaryFile(/tmp/multipartBody6877359163512919113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398254368,"filename":"image_25112025_17_54_58_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/33ba55126a14220fb494fed27b2871d1.jpg","text":"TemporaryFile(/tmp/multipartBody8641403094682454984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398254368,"filename":"image_25112025_17_56_11_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835847","file1":"1396835843","file0":"1396835839","file4":"1396835850","file5":"1396835851","file3":"1396835849"},"map_files_photo_id_array":[{"photo_id":"1396835851","filename":"file5"},{"photo_id":"1396835847","filename":"file2"},{"photo_id":"1396835850","filename":"file4"},{"photo_id":"1396835843","filename":"file1"},{"photo_id":"1396835839","filename":"file0"},{"photo_id":"1396835849","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396835849":["hashtag1","hashtag2"]},{"1396835843":["hashtag1","hashtag2"]},{"1396835851":["hashtag1","hashtag2"]},{"1396835839":["hashtag1","hashtag2"]},{"1396835847":["hashtag1","hashtag2"]},{"1396835850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396835849, 1396835843, 1396835851, 1396835839, 1396835847, 1396835850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43217492103577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 07:37:12.300423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_17_3570.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_20_2847.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_23_2609.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_26_3617.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_29_2457.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_32_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_17_3570.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_20_2847.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_23_2609.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_26_3617.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_29_2457.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_32_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":["1396835852","1396835860","1396835863","1396835857","1396835866","1396835854"],"photo_ids_order":["1396835852","1396835854","1396835857","1396835860","1396835863","1396835866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1e4fb4f9627131c62a0ccf6eadc2cbd.jpg","text":"TemporaryFile(/tmp/multipartBody4637924089456390149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398294393,"filename":"image_25112025_17_56_17_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df90fb32243edf2ea2682108275299e5.jpg","text":"TemporaryFile(/tmp/multipartBody3110685227139101493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398294393,"filename":"image_25112025_17_56_26_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93952a2f381faaa9c0ba16bcd4870791.jpg","text":"TemporaryFile(/tmp/multipartBody5239346156892020741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398294393,"filename":"image_25112025_17_56_29_2457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ad4bba70086d22ceb218d3a837618c2.jpg","text":"TemporaryFile(/tmp/multipartBody5908706380993089998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398294393,"filename":"image_25112025_17_56_23_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cd77ba5daf82c1e899bff01dad0650b.jpg","text":"TemporaryFile(/tmp/multipartBody7222172256937482469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398294393,"filename":"image_25112025_17_56_32_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca919b0cd66240020018001fe95f6eec.jpg","text":"TemporaryFile(/tmp/multipartBody6450726794867534976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398294393,"filename":"image_25112025_17_56_20_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835857","file1":"1396835854","file0":"1396835852","file4":"1396835863","file5":"1396835866","file3":"1396835860"},"map_files_photo_id_array":[{"photo_id":"1396835866","filename":"file5"},{"photo_id":"1396835857","filename":"file2"},{"photo_id":"1396835863","filename":"file4"},{"photo_id":"1396835854","filename":"file1"},{"photo_id":"1396835852","filename":"file0"},{"photo_id":"1396835860","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396835852":["hashtag1","hashtag2"]},{"1396835860":["hashtag1","hashtag2"]},{"1396835863":["hashtag1","hashtag2"]},{"1396835857":["hashtag1","hashtag2"]},{"1396835866":["hashtag1","hashtag2"]},{"1396835854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396835852, 1396835860, 1396835863, 1396835857, 1396835866, 1396835854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.083887577056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:38:02.904315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/21/image_29112025_07_22_04_9814.jpg', '/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_15_10658.jpg', '/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_24_9892.jpg', '/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_34_9657.jpg', '/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_44_9670.jpg', '/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_55_10823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/21/image_29112025_07_22_04_9814.jpg
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_15_10658.jpg
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_24_9892.jpg
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_34_9657.jpg
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_44_9670.jpg
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_22_55_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":["1396835873","1396835875","1396835872","1396835880","1396835874","1396835877"],"photo_ids_order":["1396835872","1396835873","1396835874","1396835875","1396835877","1396835880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/848c58b088052f534e3771fde25f8943.jpg","text":"TemporaryFile(/tmp/multipartBody5447417445545636779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398343695,"filename":"image_29112025_07_22_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/11/29/7b0d11b4ef44fad06ec08482dd46b796.jpg","text":"TemporaryFile(/tmp/multipartBody5924212129583787390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398343695,"filename":"image_29112025_07_22_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4c0ecfb83c4996e3ab270b91da315ed.jpg","text":"TemporaryFile(/tmp/multipartBody6260330780136357116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398343695,"filename":"image_29112025_07_22_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/11/29/2032a87607b33d0592aa54f2dc1f98df.jpg","text":"TemporaryFile(/tmp/multipartBody3105256275850478693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398343695,"filename":"image_29112025_07_22_55_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7145d08a05533bb46c612b0d67bc3fa.jpg","text":"TemporaryFile(/tmp/multipartBody8248818844774830386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398343695,"filename":"image_29112025_07_22_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/11/29/2e34a7613b8b21ba6e0ece368ad964f4.jpg","text":"TemporaryFile(/tmp/multipartBody362001689259899871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398343695,"filename":"image_29112025_07_22_44_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835874","file1":"1396835873","file0":"1396835872","file4":"1396835877","file5":"1396835880","file3":"1396835875"},"map_files_photo_id_array":[{"photo_id":"1396835880","filename":"file5"},{"photo_id":"1396835874","filename":"file2"},{"photo_id":"1396835877","filename":"file4"},{"photo_id":"1396835873","filename":"file1"},{"photo_id":"1396835872","filename":"file0"},{"photo_id":"1396835875","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835873":["hashtag1","hashtag2"]},{"1396835875":["hashtag1","hashtag2"]},{"1396835872":["hashtag1","hashtag2"]},{"1396835880":["hashtag1","hashtag2"]},{"1396835874":["hashtag1","hashtag2"]},{"1396835877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835873, 1396835875, 1396835872, 1396835880, 1396835874, 1396835877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63094139099121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:38:42.506088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_47_2658.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_51_3674.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_53_2654.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_56_2849.jpg', '/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_59_2638.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_08_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_47_2658.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_51_3674.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_53_2654.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_56_2849.jpg
/home/pi/Desktop/images/31102025/08/59/image_31102025_08_59_59_2638.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_08_3015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835896","1396835890","1396835898","1396835892","1396835895","1396835897"],"photo_ids_order":["1396835890","1396835892","1396835895","1396835896","1396835897","1396835898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18df758ff2edd4c819900f8d65c5505d.jpg","text":"TemporaryFile(/tmp/multipartBody1023914914596614350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398383599,"filename":"image_31102025_08_59_56_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80b603c3d9b217140b03040e2dfd66bd.jpg","text":"TemporaryFile(/tmp/multipartBody4369716958711526392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398383599,"filename":"image_31102025_08_59_47_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0210e0d3e2e88222b04048e0039ff747.jpg","text":"TemporaryFile(/tmp/multipartBody3935786469304922576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398383599,"filename":"image_31102025_09_00_08_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8ac9686b2d6c0d4ea779b7d4f2137ba.jpg","text":"TemporaryFile(/tmp/multipartBody3188780908690591381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398383599,"filename":"image_31102025_08_59_51_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/163ac5352622acc06706adaab86af204.jpg","text":"TemporaryFile(/tmp/multipartBody1333747699722979714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398383599,"filename":"image_31102025_08_59_53_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c77ece49f4686e57fa5ee840718e2a27.jpg","text":"TemporaryFile(/tmp/multipartBody6678690187586870554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398383599,"filename":"image_31102025_08_59_59_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835895","file1":"1396835892","file0":"1396835890","file4":"1396835897","file5":"1396835898","file3":"1396835896"},"map_files_photo_id_array":[{"photo_id":"1396835898","filename":"file5"},{"photo_id":"1396835895","filename":"file2"},{"photo_id":"1396835897","filename":"file4"},{"photo_id":"1396835892","filename":"file1"},{"photo_id":"1396835890","filename":"file0"},{"photo_id":"1396835896","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396835896":["hashtag1","hashtag2"]},{"1396835890":["hashtag1","hashtag2"]},{"1396835898":["hashtag1","hashtag2"]},{"1396835892":["hashtag1","hashtag2"]},{"1396835895":["hashtag1","hashtag2"]},{"1396835897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396835896, 1396835890, 1396835898, 1396835892, 1396835895, 1396835897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.131136894226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:39:22.782477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/22/image_29112025_07_23_04_9655.jpg', '/home/pi/Desktop/images/29112025/07/23/image_29112025_07_23_14_9699.jpg', '/home/pi/Desktop/images/29112025/07/23/image_29112025_07_23_25_10707.jpg', '/home/pi/Desktop/images/29112025/07/23/image_29112025_07_23_34_9689.jpg', '/home/pi/Desktop/images/29112025/07/23/image_29112025_07_23_44_9836.jpg', '/home/pi/Desktop/images/29112025/07/23/image_29112025_07_23_54_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/22/image_29112025_07_23_04_9655.jpg
/home/pi/Desktop/images/29112025/07/23/image_29112025_07_23_14_9699.jpg
/home/pi/Desktop/images/29112025/07/23/image_29112025_07_23_25_10707.jpg
/home/pi/Desktop/images/29112025/07/23/image_29112025_07_23_34_9689.jpg
/home/pi/Desktop/images/29112025/07/23/image_29112025_07_23_44_9836.jpg
/home/pi/Desktop/images/29112025/07/23/image_29112025_07_23_54_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835905","1396835914","1396835902","1396835916","1396835910","1396835907"],"photo_ids_order":["1396835902","1396835905","1396835907","1396835910","1396835914","1396835916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4038fcda5602b1dc942cdfbcd634af60.jpg","text":"TemporaryFile(/tmp/multipartBody5955576972943728899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398423543,"filename":"image_29112025_07_23_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/11/29/6e3219e1d9e803f6c544f1cb6e99e8ae.jpg","text":"TemporaryFile(/tmp/multipartBody4223407902435359695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398423543,"filename":"image_29112025_07_23_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/11/29/1749d9a63f94bbf40fa251e2e9a99ca6.jpg","text":"TemporaryFile(/tmp/multipartBody2545225050389862569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398423543,"filename":"image_29112025_07_23_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/11/29/832c724137333047299c6020ed87a207.jpg","text":"TemporaryFile(/tmp/multipartBody1988309189171530748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398423543,"filename":"image_29112025_07_23_54_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38029cd3e16114ab19f630eef48c3c51.jpg","text":"TemporaryFile(/tmp/multipartBody1512411707407425116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398423543,"filename":"image_29112025_07_23_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c95f36fdca6f53e8f4b8ca96b0e22ec6.jpg","text":"TemporaryFile(/tmp/multipartBody389890940890351100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398423543,"filename":"image_29112025_07_23_25_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835907","file1":"1396835905","file0":"1396835902","file4":"1396835914","file5":"1396835916","file3":"1396835910"},"map_files_photo_id_array":[{"photo_id":"1396835916","filename":"file5"},{"photo_id":"1396835907","filename":"file2"},{"photo_id":"1396835914","filename":"file4"},{"photo_id":"1396835905","filename":"file1"},{"photo_id":"1396835902","filename":"file0"},{"photo_id":"1396835910","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835905":["hashtag1","hashtag2"]},{"1396835914":["hashtag1","hashtag2"]},{"1396835902":["hashtag1","hashtag2"]},{"1396835916":["hashtag1","hashtag2"]},{"1396835910":["hashtag1","hashtag2"]},{"1396835907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835905, 1396835914, 1396835902, 1396835916, 1396835910, 1396835907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.196948289871216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:40:05.158454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/23/image_29112025_07_24_05_10699.jpg', '/home/pi/Desktop/images/29112025/07/24/image_29112025_07_24_14_9764.jpg', '/home/pi/Desktop/images/29112025/07/24/image_29112025_07_24_24_9752.jpg', '/home/pi/Desktop/images/29112025/07/24/image_29112025_07_24_45_10785.jpg', '/home/pi/Desktop/images/29112025/07/24/image_29112025_07_24_54_9778.jpg', '/home/pi/Desktop/images/29112025/07/24/image_29112025_07_25_04_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/23/image_29112025_07_24_05_10699.jpg
/home/pi/Desktop/images/29112025/07/24/image_29112025_07_24_14_9764.jpg
/home/pi/Desktop/images/29112025/07/24/image_29112025_07_24_24_9752.jpg
/home/pi/Desktop/images/29112025/07/24/image_29112025_07_24_45_10785.jpg
/home/pi/Desktop/images/29112025/07/24/image_29112025_07_24_54_9778.jpg
/home/pi/Desktop/images/29112025/07/24/image_29112025_07_25_04_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835921","1396835923","1396835926","1396835929","1396835920","1396835919"],"photo_ids_order":["1396835919","1396835920","1396835921","1396835923","1396835926","1396835929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3302c2bef0f742c23922ddccba8a8fe1.jpg","text":"TemporaryFile(/tmp/multipartBody6630291051343011316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398465940,"filename":"image_29112025_07_24_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/11/29/7778d1f677d6e11960141137035e29f2.jpg","text":"TemporaryFile(/tmp/multipartBody7154446413306400975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398465940,"filename":"image_29112025_07_24_45_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04b602dd7b5791c4a233062409986091.jpg","text":"TemporaryFile(/tmp/multipartBody3827582945161211634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398465940,"filename":"image_29112025_07_24_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/11/29/aeba114d93947bb07f462f47068b4aba.jpg","text":"TemporaryFile(/tmp/multipartBody6282272050640245237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398465940,"filename":"image_29112025_07_25_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/741491c2907253e2cbbecd5aa32c845f.jpg","text":"TemporaryFile(/tmp/multipartBody5054596395832465784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398465940,"filename":"image_29112025_07_24_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/11/29/f9d02c758df650ca24f548750edb4301.jpg","text":"TemporaryFile(/tmp/multipartBody5021223069180209981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398465940,"filename":"image_29112025_07_24_05_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835921","file1":"1396835920","file0":"1396835919","file4":"1396835926","file5":"1396835929","file3":"1396835923"},"map_files_photo_id_array":[{"photo_id":"1396835929","filename":"file5"},{"photo_id":"1396835921","filename":"file2"},{"photo_id":"1396835926","filename":"file4"},{"photo_id":"1396835920","filename":"file1"},{"photo_id":"1396835919","filename":"file0"},{"photo_id":"1396835923","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396835921":["hashtag1","hashtag2"]},{"1396835923":["hashtag1","hashtag2"]},{"1396835926":["hashtag1","hashtag2"]},{"1396835929":["hashtag1","hashtag2"]},{"1396835920":["hashtag1","hashtag2"]},{"1396835919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396835921, 1396835923, 1396835926, 1396835929, 1396835920, 1396835919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.001362800598145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:40:44.702759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_11_3614.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_14_2963.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_17_2629.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_21_3607.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_23_2760.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_26_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/09/00/image_31102025_09_00_11_3614.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_14_2963.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_17_2629.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_21_3607.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_23_2760.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_26_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":["1396835939","1396835942","1396835941","1396835940","1396835943","1396835937"],"photo_ids_order":["1396835937","1396835939","1396835940","1396835941","1396835942","1396835943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cff7b5f0803914ce569e09a4708f6379.jpg","text":"TemporaryFile(/tmp/multipartBody7480677338011379290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398505789,"filename":"image_31102025_09_00_14_2963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b39229fe7bbb2aa40552c358e7e1a42.jpg","text":"TemporaryFile(/tmp/multipartBody550512022167242724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398505789,"filename":"image_31102025_09_00_23_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/332f3b4ce177c7f9f43d03fe0183fbd2.jpg","text":"TemporaryFile(/tmp/multipartBody9059523581872284893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398505789,"filename":"image_31102025_09_00_21_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96654e93748b2176fc1911ed816c1c5f.jpg","text":"TemporaryFile(/tmp/multipartBody1641864851866234522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398505789,"filename":"image_31102025_09_00_17_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bbccdc1e28a95185925aabc2cd05af2.jpg","text":"TemporaryFile(/tmp/multipartBody8063772848950991932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398505789,"filename":"image_31102025_09_00_26_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cb8da23db71eec3453a3553e7178a65.jpg","text":"TemporaryFile(/tmp/multipartBody8243595713960090958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398505789,"filename":"image_31102025_09_00_11_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835940","file1":"1396835939","file0":"1396835937","file4":"1396835942","file5":"1396835943","file3":"1396835941"},"map_files_photo_id_array":[{"photo_id":"1396835943","filename":"file5"},{"photo_id":"1396835940","filename":"file2"},{"photo_id":"1396835942","filename":"file4"},{"photo_id":"1396835939","filename":"file1"},{"photo_id":"1396835937","filename":"file0"},{"photo_id":"1396835941","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396835939":["hashtag1","hashtag2"]},{"1396835942":["hashtag1","hashtag2"]},{"1396835941":["hashtag1","hashtag2"]},{"1396835940":["hashtag1","hashtag2"]},{"1396835943":["hashtag1","hashtag2"]},{"1396835937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396835939, 1396835942, 1396835941, 1396835940, 1396835943, 1396835937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44852328300476 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-11-29 07:41:31.900268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_35_2917.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_38_2553.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_41_3632.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_44_2531.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_47_2647.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_50_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_35_2917.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_38_2553.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_41_3632.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_44_2531.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_47_2647.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_50_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":["1396835966","1396835951","1396835954","1396835965","1396835958","1396835963"],"photo_ids_order":["1396835951","1396835954","1396835958","1396835963","1396835965","1396835966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3aef1ccf146a7e53b7898ed2158ef510.jpg","text":"TemporaryFile(/tmp/multipartBody1977342565620941306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398553975,"filename":"image_25112025_17_56_50_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37484b9c692f99810012ccf053395563.jpg","text":"TemporaryFile(/tmp/multipartBody109637283691891963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398553975,"filename":"image_25112025_17_56_35_2917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c9aeb5993fe7838e84f6b114254d89a.jpg","text":"TemporaryFile(/tmp/multipartBody15029252259545337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398553975,"filename":"image_25112025_17_56_38_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/630d50fb03cd142e0c7c8dd36bcf4ff2.jpg","text":"TemporaryFile(/tmp/multipartBody520743620133379030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398553975,"filename":"image_25112025_17_56_47_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46d7d2929707d293e8cf8d571e4f6d70.jpg","text":"TemporaryFile(/tmp/multipartBody856779483644672813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398553975,"filename":"image_25112025_17_56_41_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71c36f2e74518d0289a4063abea6ab65.jpg","text":"TemporaryFile(/tmp/multipartBody1520383327030024712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398553975,"filename":"image_25112025_17_56_44_2531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835958","file1":"1396835954","file0":"1396835951","file4":"1396835965","file5":"1396835966","file3":"1396835963"},"map_files_photo_id_array":[{"photo_id":"1396835966","filename":"file5"},{"photo_id":"1396835958","filename":"file2"},{"photo_id":"1396835965","filename":"file4"},{"photo_id":"1396835954","filename":"file1"},{"photo_id":"1396835951","filename":"file0"},{"photo_id":"1396835963","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396835966":["hashtag1","hashtag2"]},{"1396835951":["hashtag1","hashtag2"]},{"1396835954":["hashtag1","hashtag2"]},{"1396835965":["hashtag1","hashtag2"]},{"1396835958":["hashtag1","hashtag2"]},{"1396835963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396835966, 1396835951, 1396835954, 1396835965, 1396835958, 1396835963)","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 = 1396835958 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_41_3632.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 62.25888442993164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:42:42.093684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_29_3641.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_32_2595.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_35_2769.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_41_2619.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_44_2643.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_48_3820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_29_3641.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_32_2595.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_35_2769.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_41_2619.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_44_2643.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_48_3820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396835980","1396835983","1396835982","1396835981","1396835984","1396835978"],"photo_ids_order":["1396835978","1396835980","1396835981","1396835982","1396835983","1396835984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46705e065164eb43baac243a0ce17775.jpg","text":"TemporaryFile(/tmp/multipartBody7665065851947227734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398623270,"filename":"image_31102025_09_00_32_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21efd94067e574a65a16f981bac8e966.jpg","text":"TemporaryFile(/tmp/multipartBody4931611808642162973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398623270,"filename":"image_31102025_09_00_44_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/997f57eb2b11cb07a954562a97ea174c.jpg","text":"TemporaryFile(/tmp/multipartBody891197646632492121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398623270,"filename":"image_31102025_09_00_41_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4238715b605cd6d4407d37123668ac8.jpg","text":"TemporaryFile(/tmp/multipartBody2695816609021394554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398623270,"filename":"image_31102025_09_00_35_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc216a28a7f3d276a19830994751c407.jpg","text":"TemporaryFile(/tmp/multipartBody885530813917720211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398623270,"filename":"image_31102025_09_00_48_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8061a1c9dbee9c58f1c830a00af84adb.jpg","text":"TemporaryFile(/tmp/multipartBody4262042449745331640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398623270,"filename":"image_31102025_09_00_29_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396835981","file1":"1396835980","file0":"1396835978","file4":"1396835983","file5":"1396835984","file3":"1396835982"},"map_files_photo_id_array":[{"photo_id":"1396835984","filename":"file5"},{"photo_id":"1396835981","filename":"file2"},{"photo_id":"1396835983","filename":"file4"},{"photo_id":"1396835980","filename":"file1"},{"photo_id":"1396835978","filename":"file0"},{"photo_id":"1396835982","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396835980":["hashtag1","hashtag2"]},{"1396835983":["hashtag1","hashtag2"]},{"1396835982":["hashtag1","hashtag2"]},{"1396835981":["hashtag1","hashtag2"]},{"1396835984":["hashtag1","hashtag2"]},{"1396835978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396835980, 1396835983, 1396835982, 1396835981, 1396835984, 1396835978)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.79683446884155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 07:43:32.311840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_53_2586.jpg', '/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_59_3578.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_02_2673.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_04_2729.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_08_3492.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_17_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_53_2586.jpg
/home/pi/Desktop/images/25112025/17/56/image_25112025_17_56_59_3578.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_02_2673.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_04_2729.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_08_3492.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_17_3728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836002","1396835998","1396836004","1396836001","1396835994","1396836003"],"photo_ids_order":["1396835994","1396835998","1396836001","1396836002","1396836003","1396836004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01f75b99513ef6204345efc59a5b3c87.jpg","text":"TemporaryFile(/tmp/multipartBody6905622108731110710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398679036,"filename":"image_25112025_17_57_04_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2307a4b02c0eb88da0252ec814ce818.jpg","text":"TemporaryFile(/tmp/multipartBody4812501712426602039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398679036,"filename":"image_25112025_17_56_59_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ff71bbb0f05032253decbb6bd83d466.jpg","text":"TemporaryFile(/tmp/multipartBody269959983954500496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398679036,"filename":"image_25112025_17_57_17_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/196c788c7a24e66ab5c6c724a4905942.jpg","text":"TemporaryFile(/tmp/multipartBody6566540856182464787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398679036,"filename":"image_25112025_17_57_02_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adc9b04c54984e49edbca0f2315981bb.jpg","text":"TemporaryFile(/tmp/multipartBody7004025557345661623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398679036,"filename":"image_25112025_17_56_53_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc96a2f3553334c01ca435c86bf998c1.jpg","text":"TemporaryFile(/tmp/multipartBody1365926494830979648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398679036,"filename":"image_25112025_17_57_08_3492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836001","file1":"1396835998","file0":"1396835994","file4":"1396836003","file5":"1396836004","file3":"1396836002"},"map_files_photo_id_array":[{"photo_id":"1396836004","filename":"file5"},{"photo_id":"1396836001","filename":"file2"},{"photo_id":"1396836003","filename":"file4"},{"photo_id":"1396835998","filename":"file1"},{"photo_id":"1396835994","filename":"file0"},{"photo_id":"1396836002","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396836002":["hashtag1","hashtag2"]},{"1396835998":["hashtag1","hashtag2"]},{"1396836004":["hashtag1","hashtag2"]},{"1396836001":["hashtag1","hashtag2"]},{"1396835994":["hashtag1","hashtag2"]},{"1396836003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396836002, 1396835998, 1396836004, 1396836001, 1396835994, 1396836003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.922415018081665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:44:23.803723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/25/image_29112025_07_25_14_9779.jpg', '/home/pi/Desktop/images/29112025/07/25/image_29112025_07_25_25_10915.jpg', '/home/pi/Desktop/images/29112025/07/25/image_29112025_07_25_34_9764.jpg', '/home/pi/Desktop/images/29112025/07/25/image_29112025_07_25_44_9629.jpg', '/home/pi/Desktop/images/29112025/07/25/image_29112025_07_25_54_9720.jpg', '/home/pi/Desktop/images/29112025/07/25/image_29112025_07_26_05_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/25/image_29112025_07_25_14_9779.jpg
/home/pi/Desktop/images/29112025/07/25/image_29112025_07_25_25_10915.jpg
/home/pi/Desktop/images/29112025/07/25/image_29112025_07_25_34_9764.jpg
/home/pi/Desktop/images/29112025/07/25/image_29112025_07_25_44_9629.jpg
/home/pi/Desktop/images/29112025/07/25/image_29112025_07_25_54_9720.jpg
/home/pi/Desktop/images/29112025/07/25/image_29112025_07_26_05_10793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836029","1396836020","1396836023","1396836010","1396836013","1396836016"],"photo_ids_order":["1396836010","1396836013","1396836016","1396836020","1396836023","1396836029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcf286dd5ab91a9c8a19c452fefdc9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5012617635185184820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398724521,"filename":"image_29112025_07_26_05_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7dd7e53019676d60f737ad315a672c46.jpg","text":"TemporaryFile(/tmp/multipartBody5214145258425500315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398724521,"filename":"image_29112025_07_25_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/11/29/81b0d52f355c09e9dcbdb8fd85abebf1.jpg","text":"TemporaryFile(/tmp/multipartBody5711923391915000192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398724521,"filename":"image_29112025_07_25_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/11/29/986917793c4ba536a7557474d427a45f.jpg","text":"TemporaryFile(/tmp/multipartBody2131225890242137172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398724521,"filename":"image_29112025_07_25_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/11/29/c21b48de1ae3af0c8fddf12c3129487f.jpg","text":"TemporaryFile(/tmp/multipartBody5174187245776448894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398724521,"filename":"image_29112025_07_25_25_10915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/664e9c56bbf0eb2cf1ad4108fd0a1fa1.jpg","text":"TemporaryFile(/tmp/multipartBody1528133550672454073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398724521,"filename":"image_29112025_07_25_34_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836016","file1":"1396836013","file0":"1396836010","file4":"1396836023","file5":"1396836029","file3":"1396836020"},"map_files_photo_id_array":[{"photo_id":"1396836029","filename":"file5"},{"photo_id":"1396836016","filename":"file2"},{"photo_id":"1396836023","filename":"file4"},{"photo_id":"1396836013","filename":"file1"},{"photo_id":"1396836010","filename":"file0"},{"photo_id":"1396836020","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836029":["hashtag1","hashtag2"]},{"1396836020":["hashtag1","hashtag2"]},{"1396836023":["hashtag1","hashtag2"]},{"1396836010":["hashtag1","hashtag2"]},{"1396836013":["hashtag1","hashtag2"]},{"1396836016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836029, 1396836020, 1396836023, 1396836010, 1396836013, 1396836016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75934195518494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 07:45:11.941550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_20_2653.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_22_2620.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_26_3558.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_28_2492.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_32_3580.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_35_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_20_2653.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_22_2620.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_26_3558.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_28_2492.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_32_3580.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_35_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836041","1396836035","1396836045","1396836030","1396836038","1396836032"],"photo_ids_order":["1396836030","1396836032","1396836035","1396836038","1396836041","1396836045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3d4b53d52909ab4025fee7456f28b3f.jpg","text":"TemporaryFile(/tmp/multipartBody6237524053608297518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398775798,"filename":"image_25112025_17_57_32_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4d1c6534df3b509103d54dab598f1f2.jpg","text":"TemporaryFile(/tmp/multipartBody2842485104576113276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398775798,"filename":"image_25112025_17_57_26_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b75cc6790d07fddc0fae991fc3f32a8.jpg","text":"TemporaryFile(/tmp/multipartBody7175564901879312623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398775798,"filename":"image_25112025_17_57_35_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d670c9e1672344c9814ee9f9f42879ec.jpg","text":"TemporaryFile(/tmp/multipartBody4873717867978442352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398775798,"filename":"image_25112025_17_57_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/11/29/c16a04f15a2af0d84fcc87a4909b223c.jpg","text":"TemporaryFile(/tmp/multipartBody2040332537593236971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398775798,"filename":"image_25112025_17_57_28_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b6c3ba26b8a2efeee9fd05cf36ecbce.jpg","text":"TemporaryFile(/tmp/multipartBody3147506885875039009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398775798,"filename":"image_25112025_17_57_22_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836035","file1":"1396836032","file0":"1396836030","file4":"1396836041","file5":"1396836045","file3":"1396836038"},"map_files_photo_id_array":[{"photo_id":"1396836045","filename":"file5"},{"photo_id":"1396836035","filename":"file2"},{"photo_id":"1396836041","filename":"file4"},{"photo_id":"1396836032","filename":"file1"},{"photo_id":"1396836030","filename":"file0"},{"photo_id":"1396836038","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396836041":["hashtag1","hashtag2"]},{"1396836035":["hashtag1","hashtag2"]},{"1396836045":["hashtag1","hashtag2"]},{"1396836030":["hashtag1","hashtag2"]},{"1396836038":["hashtag1","hashtag2"]},{"1396836032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396836041, 1396836035, 1396836045, 1396836030, 1396836038, 1396836032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.07481575012207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:46:02.601452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 07:46:12.185727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_38_3545.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_41_2674.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_43_2547.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_47_3675.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_50_2502.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_53_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_38_3545.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_41_2674.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_43_2547.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_47_3675.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_50_2502.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_53_3601.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 6.6350579261779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:46:22.189102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/26/image_29112025_07_26_14_9687.jpg', '/home/pi/Desktop/images/29112025/07/26/image_29112025_07_26_24_9717.jpg', '/home/pi/Desktop/images/29112025/07/26/image_29112025_07_26_35_10662.jpg', '/home/pi/Desktop/images/29112025/07/26/image_29112025_07_26_44_9637.jpg', '/home/pi/Desktop/images/29112025/07/26/image_29112025_07_27_05_10610.jpg', '/home/pi/Desktop/images/29112025/07/27/image_29112025_07_27_24_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/26/image_29112025_07_26_14_9687.jpg
/home/pi/Desktop/images/29112025/07/26/image_29112025_07_26_24_9717.jpg
/home/pi/Desktop/images/29112025/07/26/image_29112025_07_26_35_10662.jpg
/home/pi/Desktop/images/29112025/07/26/image_29112025_07_26_44_9637.jpg
/home/pi/Desktop/images/29112025/07/26/image_29112025_07_27_05_10610.jpg
/home/pi/Desktop/images/29112025/07/27/image_29112025_07_27_24_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836073","1396836070","1396836058","1396836066","1396836054","1396836062"],"photo_ids_order":["1396836054","1396836058","1396836062","1396836066","1396836070","1396836073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c60b0f1147794f2b039267e0c58df1a1.jpg","text":"TemporaryFile(/tmp/multipartBody4314190038576729431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398842981,"filename":"image_29112025_07_27_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/11/29/d67b3baeb1888f19102cbb3d035f515b.jpg","text":"TemporaryFile(/tmp/multipartBody8230848394133154771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398842981,"filename":"image_29112025_07_27_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b0d08633734fd8edfa7543a8501612c.jpg","text":"TemporaryFile(/tmp/multipartBody47976081317308558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398842981,"filename":"image_29112025_07_26_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1f7eebd4758a2d9b21038067fcaf4b2.jpg","text":"TemporaryFile(/tmp/multipartBody5786579290658187953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398842981,"filename":"image_29112025_07_26_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71c02181ab88a6251ab03be157b31181.jpg","text":"TemporaryFile(/tmp/multipartBody6610334304609893961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398842981,"filename":"image_29112025_07_26_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/11/29/12828da8269d10ca9f90cb8bb7154def.jpg","text":"TemporaryFile(/tmp/multipartBody6704391144744665953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398842981,"filename":"image_29112025_07_26_35_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836062","file1":"1396836058","file0":"1396836054","file4":"1396836070","file5":"1396836073","file3":"1396836066"},"map_files_photo_id_array":[{"photo_id":"1396836073","filename":"file5"},{"photo_id":"1396836062","filename":"file2"},{"photo_id":"1396836070","filename":"file4"},{"photo_id":"1396836058","filename":"file1"},{"photo_id":"1396836054","filename":"file0"},{"photo_id":"1396836066","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836073":["hashtag1","hashtag2"]},{"1396836070":["hashtag1","hashtag2"]},{"1396836058":["hashtag1","hashtag2"]},{"1396836066":["hashtag1","hashtag2"]},{"1396836054":["hashtag1","hashtag2"]},{"1396836062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836073, 1396836070, 1396836058, 1396836066, 1396836054, 1396836062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58603620529175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:47:02.936902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/27/image_29112025_07_27_35_10744.jpg', '/home/pi/Desktop/images/29112025/07/27/image_29112025_07_28_04_9903.jpg', '/home/pi/Desktop/images/29112025/07/28/image_29112025_07_28_25_9894.jpg', '/home/pi/Desktop/images/29112025/07/28/image_29112025_07_28_34_9812.jpg', '/home/pi/Desktop/images/29112025/07/28/image_29112025_07_28_44_9855.jpg', '/home/pi/Desktop/images/29112025/07/28/image_29112025_07_28_54_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/27/image_29112025_07_27_35_10744.jpg
/home/pi/Desktop/images/29112025/07/27/image_29112025_07_28_04_9903.jpg
/home/pi/Desktop/images/29112025/07/28/image_29112025_07_28_25_9894.jpg
/home/pi/Desktop/images/29112025/07/28/image_29112025_07_28_34_9812.jpg
/home/pi/Desktop/images/29112025/07/28/image_29112025_07_28_44_9855.jpg
/home/pi/Desktop/images/29112025/07/28/image_29112025_07_28_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":["1396836082","1396836076","1396836079","1396836075","1396836074","1396836077"],"photo_ids_order":["1396836074","1396836075","1396836076","1396836077","1396836079","1396836082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0489baf1d6f1c9d6017f42766f82ec74.jpg","text":"TemporaryFile(/tmp/multipartBody8536654788285809657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398883792,"filename":"image_29112025_07_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/11/29/f0a293d82a0daef71fddd113b04a0248.jpg","text":"TemporaryFile(/tmp/multipartBody6917168035467477949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398883792,"filename":"image_29112025_07_28_25_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9824cc94472eb3c95f31a7c0512332f4.jpg","text":"TemporaryFile(/tmp/multipartBody3021706666585945522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398883792,"filename":"image_29112025_07_28_44_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea8c0aaa903bdf9eee0f2fe10e9f77f9.jpg","text":"TemporaryFile(/tmp/multipartBody2124005012449537027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398883792,"filename":"image_29112025_07_28_04_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44bfa27c6b5375b32168d75a6e8ff373.jpg","text":"TemporaryFile(/tmp/multipartBody2479380057483610005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398883792,"filename":"image_29112025_07_27_35_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5a14137d8ce75eebc1337c0bb539a05.jpg","text":"TemporaryFile(/tmp/multipartBody4359193108107514976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398883792,"filename":"image_29112025_07_28_34_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836076","file1":"1396836075","file0":"1396836074","file4":"1396836079","file5":"1396836082","file3":"1396836077"},"map_files_photo_id_array":[{"photo_id":"1396836082","filename":"file5"},{"photo_id":"1396836076","filename":"file2"},{"photo_id":"1396836079","filename":"file4"},{"photo_id":"1396836075","filename":"file1"},{"photo_id":"1396836074","filename":"file0"},{"photo_id":"1396836077","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836082":["hashtag1","hashtag2"]},{"1396836076":["hashtag1","hashtag2"]},{"1396836079":["hashtag1","hashtag2"]},{"1396836075":["hashtag1","hashtag2"]},{"1396836074":["hashtag1","hashtag2"]},{"1396836077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836082, 1396836076, 1396836079, 1396836075, 1396836074, 1396836077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.661800384521484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:47:42.382891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_50_2551.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_53_2666.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_57_3682.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_59_2867.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_02_2766.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_05_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/09/00/image_31102025_09_00_50_2551.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_53_2666.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_57_3682.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_59_2867.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_02_2766.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_05_2643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0389647483825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:48:03.077217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/28/image_29112025_07_29_04_9776.jpg', '/home/pi/Desktop/images/29112025/07/29/image_29112025_07_29_24_9793.jpg', '/home/pi/Desktop/images/29112025/07/29/image_29112025_07_29_34_9748.jpg', '/home/pi/Desktop/images/29112025/07/29/image_29112025_07_29_44_9731.jpg', '/home/pi/Desktop/images/29112025/07/29/image_29112025_07_29_54_10666.jpg', '/home/pi/Desktop/images/29112025/07/29/image_29112025_07_30_04_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/28/image_29112025_07_29_04_9776.jpg
/home/pi/Desktop/images/29112025/07/29/image_29112025_07_29_24_9793.jpg
/home/pi/Desktop/images/29112025/07/29/image_29112025_07_29_34_9748.jpg
/home/pi/Desktop/images/29112025/07/29/image_29112025_07_29_44_9731.jpg
/home/pi/Desktop/images/29112025/07/29/image_29112025_07_29_54_10666.jpg
/home/pi/Desktop/images/29112025/07/29/image_29112025_07_30_04_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":["1396836101","1396836104","1396836103","1396836106","1396836102","1396836111"],"photo_ids_order":["1396836101","1396836102","1396836103","1396836104","1396836106","1396836111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/674f653d9ef860cb4a9fc92dc97e028a.jpg","text":"TemporaryFile(/tmp/multipartBody8291012594894637945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398943878,"filename":"image_29112025_07_29_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/11/29/4509095203fba08f2c3dbea3586a3bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5937173558900464275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398943878,"filename":"image_29112025_07_29_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/11/29/7b60398678b35f96385f0d29100ed00a.jpg","text":"TemporaryFile(/tmp/multipartBody202855742078441333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398943878,"filename":"image_29112025_07_29_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/11/29/110ae11669d3e39e341be506e7949a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7752987914880218361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398943878,"filename":"image_29112025_07_29_54_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74bd2bcce68ad26248bdcf44027c3976.jpg","text":"TemporaryFile(/tmp/multipartBody6430573070616044198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398943878,"filename":"image_29112025_07_29_24_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de076934c043cd4ad17ddf8dcd73a1d9.jpg","text":"TemporaryFile(/tmp/multipartBody7288533788134219942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764398943878,"filename":"image_29112025_07_30_04_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836103","file1":"1396836102","file0":"1396836101","file4":"1396836106","file5":"1396836111","file3":"1396836104"},"map_files_photo_id_array":[{"photo_id":"1396836111","filename":"file5"},{"photo_id":"1396836103","filename":"file2"},{"photo_id":"1396836106","filename":"file4"},{"photo_id":"1396836102","filename":"file1"},{"photo_id":"1396836101","filename":"file0"},{"photo_id":"1396836104","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836101":["hashtag1","hashtag2"]},{"1396836104":["hashtag1","hashtag2"]},{"1396836103":["hashtag1","hashtag2"]},{"1396836106":["hashtag1","hashtag2"]},{"1396836102":["hashtag1","hashtag2"]},{"1396836111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836101, 1396836104, 1396836103, 1396836106, 1396836102, 1396836111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79596972465515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:49:03.953326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/30/image_29112025_07_30_44_9732.jpg', '/home/pi/Desktop/images/29112025/07/30/image_29112025_07_30_54_9646.jpg', '/home/pi/Desktop/images/29112025/07/31/image_29112025_07_31_14_9839.jpg', '/home/pi/Desktop/images/29112025/07/31/image_29112025_07_31_24_9676.jpg', '/home/pi/Desktop/images/29112025/07/31/image_29112025_07_31_34_10063.jpg', '/home/pi/Desktop/images/29112025/07/31/image_29112025_07_31_45_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/30/image_29112025_07_30_44_9732.jpg
/home/pi/Desktop/images/29112025/07/30/image_29112025_07_30_54_9646.jpg
/home/pi/Desktop/images/29112025/07/31/image_29112025_07_31_14_9839.jpg
/home/pi/Desktop/images/29112025/07/31/image_29112025_07_31_24_9676.jpg
/home/pi/Desktop/images/29112025/07/31/image_29112025_07_31_34_10063.jpg
/home/pi/Desktop/images/29112025/07/31/image_29112025_07_31_45_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836121","1396836124","1396836132","1396836126","1396836129","1396836123"],"photo_ids_order":["1396836121","1396836123","1396836124","1396836126","1396836129","1396836132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fc643ffbe5b553d722feaa966b5f46b.jpg","text":"TemporaryFile(/tmp/multipartBody3924735554578999823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399004960,"filename":"image_29112025_07_30_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e86ab7a3bbb224384c9dc5df3f305eff.jpg","text":"TemporaryFile(/tmp/multipartBody1513259528688049621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399004960,"filename":"image_29112025_07_31_14_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cde2143048322231726f75d11cf1bf8.jpg","text":"TemporaryFile(/tmp/multipartBody4551591912253774913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399004960,"filename":"image_29112025_07_31_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/11/29/3b9ee2ac9abb1ff58fc48daec4bd62d8.jpg","text":"TemporaryFile(/tmp/multipartBody2035041698889687650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399004960,"filename":"image_29112025_07_31_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42cf5f477008d7a6e1d26b90a1d6a318.jpg","text":"TemporaryFile(/tmp/multipartBody928768859138213644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399004960,"filename":"image_29112025_07_31_34_10063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c61c06f4a8add62e187ec6d9bacf8bd.jpg","text":"TemporaryFile(/tmp/multipartBody2016186611509340900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399004960,"filename":"image_29112025_07_30_54_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836124","file1":"1396836123","file0":"1396836121","file4":"1396836129","file5":"1396836132","file3":"1396836126"},"map_files_photo_id_array":[{"photo_id":"1396836132","filename":"file5"},{"photo_id":"1396836124","filename":"file2"},{"photo_id":"1396836129","filename":"file4"},{"photo_id":"1396836123","filename":"file1"},{"photo_id":"1396836121","filename":"file0"},{"photo_id":"1396836126","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836121":["hashtag1","hashtag2"]},{"1396836124":["hashtag1","hashtag2"]},{"1396836132":["hashtag1","hashtag2"]},{"1396836126":["hashtag1","hashtag2"]},{"1396836129":["hashtag1","hashtag2"]},{"1396836123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836121, 1396836124, 1396836132, 1396836126, 1396836129, 1396836123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57257080078125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:49:43.101842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_50_2551.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_53_2666.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_57_3682.jpg', '/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_59_2867.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_02_2766.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_05_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/09/00/image_31102025_09_00_50_2551.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_53_2666.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_57_3682.jpg
/home/pi/Desktop/images/31102025/09/00/image_31102025_09_00_59_2867.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_02_2766.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_05_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836142","1396836145","1396836139","1396836144","1396836141","1396836143"],"photo_ids_order":["1396836139","1396836141","1396836142","1396836143","1396836144","1396836145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61420e5bfbaf0a95f4735840c14301d5.jpg","text":"TemporaryFile(/tmp/multipartBody3427723339052498543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399044092,"filename":"image_31102025_09_00_57_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6da4f0885e60acc386e223657facb529.jpg","text":"TemporaryFile(/tmp/multipartBody2457791750824505839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399044092,"filename":"image_31102025_09_01_05_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9e14d2df11d8779a3db41a3d78f394c.jpg","text":"TemporaryFile(/tmp/multipartBody6254905371041107421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399044092,"filename":"image_31102025_09_00_50_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39028c7e287b53ef44fd6c660014854b.jpg","text":"TemporaryFile(/tmp/multipartBody4267430395653257958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399044092,"filename":"image_31102025_09_01_02_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b43f1863e755c0d1b2c4aa37a1ac4449.jpg","text":"TemporaryFile(/tmp/multipartBody8857959112198837412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399044092,"filename":"image_31102025_09_00_53_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e687dc1cec547fcd51072934bf26416.jpg","text":"TemporaryFile(/tmp/multipartBody7231065885836915572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399044092,"filename":"image_31102025_09_00_59_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836142","file1":"1396836141","file0":"1396836139","file4":"1396836144","file5":"1396836145","file3":"1396836143"},"map_files_photo_id_array":[{"photo_id":"1396836145","filename":"file5"},{"photo_id":"1396836142","filename":"file2"},{"photo_id":"1396836144","filename":"file4"},{"photo_id":"1396836141","filename":"file1"},{"photo_id":"1396836139","filename":"file0"},{"photo_id":"1396836143","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396836142":["hashtag1","hashtag2"]},{"1396836145":["hashtag1","hashtag2"]},{"1396836139":["hashtag1","hashtag2"]},{"1396836144":["hashtag1","hashtag2"]},{"1396836141":["hashtag1","hashtag2"]},{"1396836143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396836142, 1396836145, 1396836139, 1396836144, 1396836141, 1396836143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55341553688049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:50:22.288958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/31/image_29112025_07_31_54_9628.jpg', '/home/pi/Desktop/images/29112025/07/32/image_29112025_07_32_15_10649.jpg', '/home/pi/Desktop/images/29112025/07/32/image_29112025_07_32_24_9757.jpg', '/home/pi/Desktop/images/29112025/07/32/image_29112025_07_32_34_9786.jpg', '/home/pi/Desktop/images/29112025/07/32/image_29112025_07_32_44_9660.jpg', '/home/pi/Desktop/images/29112025/07/32/image_29112025_07_33_04_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/31/image_29112025_07_31_54_9628.jpg
/home/pi/Desktop/images/29112025/07/32/image_29112025_07_32_15_10649.jpg
/home/pi/Desktop/images/29112025/07/32/image_29112025_07_32_24_9757.jpg
/home/pi/Desktop/images/29112025/07/32/image_29112025_07_32_34_9786.jpg
/home/pi/Desktop/images/29112025/07/32/image_29112025_07_32_44_9660.jpg
/home/pi/Desktop/images/29112025/07/32/image_29112025_07_33_04_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836149","1396836160","1396836154","1396836157","1396836151","1396836164"],"photo_ids_order":["1396836149","1396836151","1396836154","1396836157","1396836160","1396836164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19c31a9b0225ba78ba2558579ef9bcde.jpg","text":"TemporaryFile(/tmp/multipartBody724024749175629302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399083042,"filename":"image_29112025_07_31_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/11/29/e352539953540ac8700ae22e61a26412.jpg","text":"TemporaryFile(/tmp/multipartBody2510757323841864995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399083042,"filename":"image_29112025_07_32_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4d16e9898fa7e862957f2ce88bc17fc.jpg","text":"TemporaryFile(/tmp/multipartBody2839610035826903860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399083042,"filename":"image_29112025_07_32_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/11/29/cec372bff3dca7eb76accc3ae7f21a7b.jpg","text":"TemporaryFile(/tmp/multipartBody3519606988270128028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399083042,"filename":"image_29112025_07_32_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/11/29/d9492ea6315f0a255a2a8f9dec7191d5.jpg","text":"TemporaryFile(/tmp/multipartBody8409212995776966738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399083042,"filename":"image_29112025_07_32_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/11/29/7a7e6aed78801c9d0462c4d4a8610aff.jpg","text":"TemporaryFile(/tmp/multipartBody826230360112293808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399083042,"filename":"image_29112025_07_33_04_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836154","file1":"1396836151","file0":"1396836149","file4":"1396836160","file5":"1396836164","file3":"1396836157"},"map_files_photo_id_array":[{"photo_id":"1396836164","filename":"file5"},{"photo_id":"1396836154","filename":"file2"},{"photo_id":"1396836160","filename":"file4"},{"photo_id":"1396836151","filename":"file1"},{"photo_id":"1396836149","filename":"file0"},{"photo_id":"1396836157","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836149":["hashtag1","hashtag2"]},{"1396836160":["hashtag1","hashtag2"]},{"1396836154":["hashtag1","hashtag2"]},{"1396836157":["hashtag1","hashtag2"]},{"1396836151":["hashtag1","hashtag2"]},{"1396836164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836149, 1396836160, 1396836154, 1396836157, 1396836151, 1396836164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28990578651428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:51:03.049782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/33/image_29112025_07_33_24_10670.jpg', '/home/pi/Desktop/images/29112025/07/33/image_29112025_07_33_34_9775.jpg', '/home/pi/Desktop/images/29112025/07/33/image_29112025_07_33_44_9752.jpg', '/home/pi/Desktop/images/29112025/07/34/image_29112025_07_34_14_9667.jpg', '/home/pi/Desktop/images/29112025/07/34/image_29112025_07_34_24_9637.jpg', '/home/pi/Desktop/images/29112025/07/35/image_29112025_07_35_14_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/33/image_29112025_07_33_24_10670.jpg
/home/pi/Desktop/images/29112025/07/33/image_29112025_07_33_34_9775.jpg
/home/pi/Desktop/images/29112025/07/33/image_29112025_07_33_44_9752.jpg
/home/pi/Desktop/images/29112025/07/34/image_29112025_07_34_14_9667.jpg
/home/pi/Desktop/images/29112025/07/34/image_29112025_07_34_24_9637.jpg
/home/pi/Desktop/images/29112025/07/35/image_29112025_07_35_14_9978.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836166","1396836168","1396836173","1396836176","1396836170","1396836167"],"photo_ids_order":["1396836166","1396836167","1396836168","1396836170","1396836173","1396836176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bbed901ef9120254cfb680eca8379f52.jpg","text":"TemporaryFile(/tmp/multipartBody3726085026015189258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399123884,"filename":"image_29112025_07_33_24_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d60ee7b22367edbe45fc1438299edd93.jpg","text":"TemporaryFile(/tmp/multipartBody8466962054823596812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399123884,"filename":"image_29112025_07_33_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/11/29/0721edcab34c8e578d74ebc4bf6531d0.jpg","text":"TemporaryFile(/tmp/multipartBody2485917924364700901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399123884,"filename":"image_29112025_07_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/11/29/ace2ce59a24a359b08cbc327bc5bf7fb.jpg","text":"TemporaryFile(/tmp/multipartBody4768354240431640875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399123884,"filename":"image_29112025_07_35_14_9978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/021eb2f66b07b5f8cb9d70eb6a34fdff.jpg","text":"TemporaryFile(/tmp/multipartBody5058159610919818092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399123884,"filename":"image_29112025_07_34_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/11/29/16d6176bdadaa5186a5ba5d20b267794.jpg","text":"TemporaryFile(/tmp/multipartBody4113615363751627437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399123884,"filename":"image_29112025_07_33_34_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836168","file1":"1396836167","file0":"1396836166","file4":"1396836173","file5":"1396836176","file3":"1396836170"},"map_files_photo_id_array":[{"photo_id":"1396836176","filename":"file5"},{"photo_id":"1396836168","filename":"file2"},{"photo_id":"1396836173","filename":"file4"},{"photo_id":"1396836167","filename":"file1"},{"photo_id":"1396836166","filename":"file0"},{"photo_id":"1396836170","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836166":["hashtag1","hashtag2"]},{"1396836168":["hashtag1","hashtag2"]},{"1396836173":["hashtag1","hashtag2"]},{"1396836176":["hashtag1","hashtag2"]},{"1396836170":["hashtag1","hashtag2"]},{"1396836167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836166, 1396836168, 1396836173, 1396836176, 1396836170, 1396836167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.58389663696289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:52:03.088219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/35/image_29112025_07_35_24_10689.jpg', '/home/pi/Desktop/images/29112025/07/35/image_29112025_07_36_04_9597.jpg', '/home/pi/Desktop/images/29112025/07/36/image_29112025_07_36_34_9545.jpg', '/home/pi/Desktop/images/29112025/07/36/image_29112025_07_36_44_9948.jpg', '/home/pi/Desktop/images/29112025/07/36/image_29112025_07_36_55_10650.jpg', '/home/pi/Desktop/images/29112025/07/36/image_29112025_07_37_04_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/35/image_29112025_07_35_24_10689.jpg
/home/pi/Desktop/images/29112025/07/35/image_29112025_07_36_04_9597.jpg
/home/pi/Desktop/images/29112025/07/36/image_29112025_07_36_34_9545.jpg
/home/pi/Desktop/images/29112025/07/36/image_29112025_07_36_44_9948.jpg
/home/pi/Desktop/images/29112025/07/36/image_29112025_07_36_55_10650.jpg
/home/pi/Desktop/images/29112025/07/36/image_29112025_07_37_04_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836187","1396836189","1396836186","1396836191","1396836194","1396836188"],"photo_ids_order":["1396836186","1396836187","1396836188","1396836189","1396836191","1396836194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bfa5afd41ebe8507684e0afce595d12e.jpg","text":"TemporaryFile(/tmp/multipartBody8099645893442469038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399183915,"filename":"image_29112025_07_36_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/11/29/09a95fb0695ac454f08ee27eba23d473.jpg","text":"TemporaryFile(/tmp/multipartBody4079179025760535656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399183915,"filename":"image_29112025_07_36_44_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c158f31a68696586ef60aaa235abbe1.jpg","text":"TemporaryFile(/tmp/multipartBody1756713034037823909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399183915,"filename":"image_29112025_07_35_24_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dae860e4eb1daebd244781ee5488bbfd.jpg","text":"TemporaryFile(/tmp/multipartBody3944547327069505533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399183915,"filename":"image_29112025_07_36_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/11/29/b2b8f0f2decf618b1e399cc722c595fe.jpg","text":"TemporaryFile(/tmp/multipartBody876698223448583962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399183915,"filename":"image_29112025_07_37_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51c57f5b61cb3a5e845c781ab06429ec.jpg","text":"TemporaryFile(/tmp/multipartBody7906358134080367547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399183915,"filename":"image_29112025_07_36_34_9545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836188","file1":"1396836187","file0":"1396836186","file4":"1396836191","file5":"1396836194","file3":"1396836189"},"map_files_photo_id_array":[{"photo_id":"1396836194","filename":"file5"},{"photo_id":"1396836188","filename":"file2"},{"photo_id":"1396836191","filename":"file4"},{"photo_id":"1396836187","filename":"file1"},{"photo_id":"1396836186","filename":"file0"},{"photo_id":"1396836189","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836187":["hashtag1","hashtag2"]},{"1396836189":["hashtag1","hashtag2"]},{"1396836186":["hashtag1","hashtag2"]},{"1396836191":["hashtag1","hashtag2"]},{"1396836194":["hashtag1","hashtag2"]},{"1396836188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836187, 1396836189, 1396836186, 1396836191, 1396836194, 1396836188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02858233451843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:52:42.603874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_11_2747.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_14_2749.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_17_2816.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_20_3600.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_23_2724.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_26_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/09/01/image_31102025_09_01_11_2747.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_14_2749.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_17_2816.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_20_3600.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_23_2724.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_26_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836206","1396836209","1396836208","1396836207","1396836210","1396836204"],"photo_ids_order":["1396836204","1396836206","1396836207","1396836208","1396836209","1396836210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b50dfcc80556b0e35c44d1bba9d8c01.jpg","text":"TemporaryFile(/tmp/multipartBody1753403367922521033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399223737,"filename":"image_31102025_09_01_14_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5efe2b86b835c6868b87a7e89bfa924b.jpg","text":"TemporaryFile(/tmp/multipartBody8815220532901959893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399223737,"filename":"image_31102025_09_01_23_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2dda5ac923364e8b03d278137db87c5d.jpg","text":"TemporaryFile(/tmp/multipartBody1210755371869434482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399223737,"filename":"image_31102025_09_01_20_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b61d44c9fba9aa6810c2c3a56139670f.jpg","text":"TemporaryFile(/tmp/multipartBody761808166676071777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399223737,"filename":"image_31102025_09_01_17_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d80b3615329772ce0829547c21ed9a2.jpg","text":"TemporaryFile(/tmp/multipartBody6285857808046810655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399223737,"filename":"image_31102025_09_01_26_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c4ba544b58304c055b17e3984ae2e38.jpg","text":"TemporaryFile(/tmp/multipartBody931639899518585690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399223737,"filename":"image_31102025_09_01_11_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836207","file1":"1396836206","file0":"1396836204","file4":"1396836209","file5":"1396836210","file3":"1396836208"},"map_files_photo_id_array":[{"photo_id":"1396836210","filename":"file5"},{"photo_id":"1396836207","filename":"file2"},{"photo_id":"1396836209","filename":"file4"},{"photo_id":"1396836206","filename":"file1"},{"photo_id":"1396836204","filename":"file0"},{"photo_id":"1396836208","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396836206":["hashtag1","hashtag2"]},{"1396836209":["hashtag1","hashtag2"]},{"1396836208":["hashtag1","hashtag2"]},{"1396836207":["hashtag1","hashtag2"]},{"1396836210":["hashtag1","hashtag2"]},{"1396836204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396836206, 1396836209, 1396836208, 1396836207, 1396836210, 1396836204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.254945278167725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:53:22.823792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/37/image_29112025_07_37_14_9599.jpg', '/home/pi/Desktop/images/29112025/07/37/image_29112025_07_37_24_9710.jpg', '/home/pi/Desktop/images/29112025/07/37/image_29112025_07_37_34_10586.jpg', '/home/pi/Desktop/images/29112025/07/37/image_29112025_07_37_44_9582.jpg', '/home/pi/Desktop/images/29112025/07/37/image_29112025_07_37_55_10742.jpg', '/home/pi/Desktop/images/29112025/07/37/image_29112025_07_38_04_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/37/image_29112025_07_37_14_9599.jpg
/home/pi/Desktop/images/29112025/07/37/image_29112025_07_37_24_9710.jpg
/home/pi/Desktop/images/29112025/07/37/image_29112025_07_37_34_10586.jpg
/home/pi/Desktop/images/29112025/07/37/image_29112025_07_37_44_9582.jpg
/home/pi/Desktop/images/29112025/07/37/image_29112025_07_37_55_10742.jpg
/home/pi/Desktop/images/29112025/07/37/image_29112025_07_38_04_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836217","1396836214","1396836225","1396836222","1396836219","1396836230"],"photo_ids_order":["1396836214","1396836217","1396836219","1396836222","1396836225","1396836230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae412f41c4be95b6760f5c5c255102a2.jpg","text":"TemporaryFile(/tmp/multipartBody8079258588954003361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399263630,"filename":"image_29112025_07_37_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/11/29/142f095c979ef719fc49593b2fd7ca3b.jpg","text":"TemporaryFile(/tmp/multipartBody3817171368483813399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399263630,"filename":"image_29112025_07_37_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/11/29/f94832c47e777bbd0c9de378fc83a3bd.jpg","text":"TemporaryFile(/tmp/multipartBody450703443107679521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399263630,"filename":"image_29112025_07_37_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/11/29/c1b5f7f47b9902049d4f922f4f7c3b71.jpg","text":"TemporaryFile(/tmp/multipartBody452027550361319054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399263630,"filename":"image_29112025_07_37_44_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/363d6872a72812d3c499ad6700e8c050.jpg","text":"TemporaryFile(/tmp/multipartBody3745613550010410652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399263630,"filename":"image_29112025_07_37_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/11/29/7096b20a385373c54ab28f37666a0ba1.jpg","text":"TemporaryFile(/tmp/multipartBody910759189842936433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399263630,"filename":"image_29112025_07_38_04_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836219","file1":"1396836217","file0":"1396836214","file4":"1396836225","file5":"1396836230","file3":"1396836222"},"map_files_photo_id_array":[{"photo_id":"1396836230","filename":"file5"},{"photo_id":"1396836219","filename":"file2"},{"photo_id":"1396836225","filename":"file4"},{"photo_id":"1396836217","filename":"file1"},{"photo_id":"1396836214","filename":"file0"},{"photo_id":"1396836222","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836217":["hashtag1","hashtag2"]},{"1396836214":["hashtag1","hashtag2"]},{"1396836225":["hashtag1","hashtag2"]},{"1396836222":["hashtag1","hashtag2"]},{"1396836219":["hashtag1","hashtag2"]},{"1396836230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836217, 1396836214, 1396836225, 1396836222, 1396836219, 1396836230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.578413009643555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:54:02.728781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/38/image_29112025_07_38_14_9581.jpg', '/home/pi/Desktop/images/29112025/07/38/image_29112025_07_38_44_9767.jpg', '/home/pi/Desktop/images/29112025/07/38/image_29112025_07_38_54_9666.jpg', '/home/pi/Desktop/images/29112025/07/38/image_29112025_07_39_05_10826.jpg', '/home/pi/Desktop/images/29112025/07/39/image_29112025_07_39_14_9651.jpg', '/home/pi/Desktop/images/29112025/07/39/image_29112025_07_39_34_9870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/38/image_29112025_07_38_14_9581.jpg
/home/pi/Desktop/images/29112025/07/38/image_29112025_07_38_44_9767.jpg
/home/pi/Desktop/images/29112025/07/38/image_29112025_07_38_54_9666.jpg
/home/pi/Desktop/images/29112025/07/38/image_29112025_07_39_05_10826.jpg
/home/pi/Desktop/images/29112025/07/39/image_29112025_07_39_14_9651.jpg
/home/pi/Desktop/images/29112025/07/39/image_29112025_07_39_34_9870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836233","1396836241","1396836244","1396836238","1396836234","1396836236"],"photo_ids_order":["1396836233","1396836234","1396836236","1396836238","1396836241","1396836244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/717dc2526e28094ff288d9c440d30987.jpg","text":"TemporaryFile(/tmp/multipartBody6567685336495840124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399303575,"filename":"image_29112025_07_38_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/849e75101e9bb9a43b2991560c9c4f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7683200834701746215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399303575,"filename":"image_29112025_07_39_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/352985b5691054ff25ca02020d2f2bb5.jpg","text":"TemporaryFile(/tmp/multipartBody7722565700133514682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399303575,"filename":"image_29112025_07_39_34_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b5e42f08218f3a96620cb217f1939ce.jpg","text":"TemporaryFile(/tmp/multipartBody8803041944285060183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399303575,"filename":"image_29112025_07_39_05_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64bda5e24a6e2386f49e73b0ffa07385.jpg","text":"TemporaryFile(/tmp/multipartBody3280739063610214170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399303575,"filename":"image_29112025_07_38_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a486010dc589c3a543d902c760b814e0.jpg","text":"TemporaryFile(/tmp/multipartBody4163338813498640212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399303575,"filename":"image_29112025_07_38_54_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836236","file1":"1396836234","file0":"1396836233","file4":"1396836241","file5":"1396836244","file3":"1396836238"},"map_files_photo_id_array":[{"photo_id":"1396836244","filename":"file5"},{"photo_id":"1396836236","filename":"file2"},{"photo_id":"1396836241","filename":"file4"},{"photo_id":"1396836234","filename":"file1"},{"photo_id":"1396836233","filename":"file0"},{"photo_id":"1396836238","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836233":["hashtag1","hashtag2"]},{"1396836241":["hashtag1","hashtag2"]},{"1396836244":["hashtag1","hashtag2"]},{"1396836238":["hashtag1","hashtag2"]},{"1396836234":["hashtag1","hashtag2"]},{"1396836236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836233, 1396836241, 1396836244, 1396836238, 1396836234, 1396836236)","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 --last_days 30 --only_old 1
2025-11-29 07:54:42.003301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_29_3595.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_32_2744.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_35_2723.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_39_3714.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_41_2615.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_44_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/09/01/image_31102025_09_01_29_3595.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_32_2744.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_35_2723.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_39_3714.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_41_2615.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_44_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":["1396836256","1396836250","1396836261","1396836258","1396836252","1396836254"],"photo_ids_order":["1396836250","1396836252","1396836254","1396836256","1396836258","1396836261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a01faa0b1ca70e7f1fa84c928cf3963.jpg","text":"TemporaryFile(/tmp/multipartBody7616587991886874545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399343100,"filename":"image_31102025_09_01_39_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ebef56bd459383080f82a1d9fd045ef8.jpg","text":"TemporaryFile(/tmp/multipartBody238266338955515595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399343100,"filename":"image_31102025_09_01_29_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ac9ef98d4d930792ecb81a5c6c8a960.jpg","text":"TemporaryFile(/tmp/multipartBody7465482120980170112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399343100,"filename":"image_31102025_09_01_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/11/29/b477ab234025ca621f7129be7df522d4.jpg","text":"TemporaryFile(/tmp/multipartBody4519037605607333818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399343100,"filename":"image_31102025_09_01_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/11/29/74432607673c8f15de352c918621e03e.jpg","text":"TemporaryFile(/tmp/multipartBody7403437434520541557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399343100,"filename":"image_31102025_09_01_32_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3733c830b5b9a345ecb6d265be65fcb.jpg","text":"TemporaryFile(/tmp/multipartBody3765041394099869028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399343100,"filename":"image_31102025_09_01_35_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836254","file1":"1396836252","file0":"1396836250","file4":"1396836258","file5":"1396836261","file3":"1396836256"},"map_files_photo_id_array":[{"photo_id":"1396836261","filename":"file5"},{"photo_id":"1396836254","filename":"file2"},{"photo_id":"1396836258","filename":"file4"},{"photo_id":"1396836252","filename":"file1"},{"photo_id":"1396836250","filename":"file0"},{"photo_id":"1396836256","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396836256":["hashtag1","hashtag2"]},{"1396836250":["hashtag1","hashtag2"]},{"1396836261":["hashtag1","hashtag2"]},{"1396836258":["hashtag1","hashtag2"]},{"1396836252":["hashtag1","hashtag2"]},{"1396836254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396836256, 1396836250, 1396836261, 1396836258, 1396836252, 1396836254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.419668197631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:55:22.264120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/39/image_29112025_07_39_45_10725.jpg', '/home/pi/Desktop/images/29112025/07/39/image_29112025_07_39_54_9691.jpg', '/home/pi/Desktop/images/29112025/07/39/image_29112025_07_40_04_9736.jpg', '/home/pi/Desktop/images/29112025/07/40/image_29112025_07_40_14_9764.jpg', '/home/pi/Desktop/images/29112025/07/40/image_29112025_07_40_25_10814.jpg', '/home/pi/Desktop/images/29112025/07/40/image_29112025_07_40_34_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/39/image_29112025_07_39_45_10725.jpg
/home/pi/Desktop/images/29112025/07/39/image_29112025_07_39_54_9691.jpg
/home/pi/Desktop/images/29112025/07/39/image_29112025_07_40_04_9736.jpg
/home/pi/Desktop/images/29112025/07/40/image_29112025_07_40_14_9764.jpg
/home/pi/Desktop/images/29112025/07/40/image_29112025_07_40_25_10814.jpg
/home/pi/Desktop/images/29112025/07/40/image_29112025_07_40_34_9751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836280","1396836274","1396836276","1396836272","1396836269","1396836278"],"photo_ids_order":["1396836269","1396836272","1396836274","1396836276","1396836278","1396836280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76ac69426b884c2c3e28744358d83ab1.jpg","text":"TemporaryFile(/tmp/multipartBody1012278605456384059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399383070,"filename":"image_29112025_07_40_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/11/29/771b22e2aebcb89a0e7d20d6649cefe8.jpg","text":"TemporaryFile(/tmp/multipartBody8063660562490649788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399383070,"filename":"image_29112025_07_40_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/11/29/f908e81b298976bde0c3ff1314872bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6536705171566602557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399383070,"filename":"image_29112025_07_40_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/11/29/e4731c1a3a41474d39c986f168b52f3f.jpg","text":"TemporaryFile(/tmp/multipartBody4155574689687481442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399383070,"filename":"image_29112025_07_39_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/11/29/98bc010fff62f2c3f387a0291b6dd8f3.jpg","text":"TemporaryFile(/tmp/multipartBody2069637386771843597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399383070,"filename":"image_29112025_07_39_45_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/033abc6f9320d317a41d4568c92f609d.jpg","text":"TemporaryFile(/tmp/multipartBody7611281077741586679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399383070,"filename":"image_29112025_07_40_25_10814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836274","file1":"1396836272","file0":"1396836269","file4":"1396836278","file5":"1396836280","file3":"1396836276"},"map_files_photo_id_array":[{"photo_id":"1396836280","filename":"file5"},{"photo_id":"1396836274","filename":"file2"},{"photo_id":"1396836278","filename":"file4"},{"photo_id":"1396836272","filename":"file1"},{"photo_id":"1396836269","filename":"file0"},{"photo_id":"1396836276","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836280":["hashtag1","hashtag2"]},{"1396836274":["hashtag1","hashtag2"]},{"1396836276":["hashtag1","hashtag2"]},{"1396836272":["hashtag1","hashtag2"]},{"1396836269":["hashtag1","hashtag2"]},{"1396836278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836280, 1396836274, 1396836276, 1396836272, 1396836269, 1396836278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1849205493927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:56:02.714592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/40/image_29112025_07_40_44_10003.jpg', '/home/pi/Desktop/images/29112025/07/40/image_29112025_07_40_54_9753.jpg', '/home/pi/Desktop/images/29112025/07/41/image_29112025_07_41_24_10673.jpg', '/home/pi/Desktop/images/29112025/07/41/image_29112025_07_41_34_9589.jpg', '/home/pi/Desktop/images/29112025/07/41/image_29112025_07_42_04_9603.jpg', '/home/pi/Desktop/images/29112025/07/42/image_29112025_07_42_54_10145.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/40/image_29112025_07_40_44_10003.jpg
/home/pi/Desktop/images/29112025/07/40/image_29112025_07_40_54_9753.jpg
/home/pi/Desktop/images/29112025/07/41/image_29112025_07_41_24_10673.jpg
/home/pi/Desktop/images/29112025/07/41/image_29112025_07_41_34_9589.jpg
/home/pi/Desktop/images/29112025/07/41/image_29112025_07_42_04_9603.jpg
/home/pi/Desktop/images/29112025/07/42/image_29112025_07_42_54_10145.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836295","1396836298","1396836292","1396836291","1396836290","1396836287"],"photo_ids_order":["1396836287","1396836290","1396836291","1396836292","1396836295","1396836298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af8a239972e28f7be34f4f571a5de3ab.jpg","text":"TemporaryFile(/tmp/multipartBody2521339145258896827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399423517,"filename":"image_29112025_07_42_04_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85baf3dbfd0e60700af0451da88f2260.jpg","text":"TemporaryFile(/tmp/multipartBody845972233347771746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399423517,"filename":"image_29112025_07_42_54_10145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76c7e95e1ae045e8b90b84de9c3ecfd3.jpg","text":"TemporaryFile(/tmp/multipartBody4700269788424038626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399423517,"filename":"image_29112025_07_41_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/11/29/fbf9a32746a95e9bc2aa3baaad31c24f.jpg","text":"TemporaryFile(/tmp/multipartBody6247035732507562447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399423517,"filename":"image_29112025_07_41_24_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c72f4ff5286fe707198bb30f0f51a5e.jpg","text":"TemporaryFile(/tmp/multipartBody8254714881672945351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399423517,"filename":"image_29112025_07_40_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/11/29/707c8c26e5e941445fba40def18669c2.jpg","text":"TemporaryFile(/tmp/multipartBody5995574293975188438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399423517,"filename":"image_29112025_07_40_44_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836291","file1":"1396836290","file0":"1396836287","file4":"1396836295","file5":"1396836298","file3":"1396836292"},"map_files_photo_id_array":[{"photo_id":"1396836298","filename":"file5"},{"photo_id":"1396836291","filename":"file2"},{"photo_id":"1396836295","filename":"file4"},{"photo_id":"1396836290","filename":"file1"},{"photo_id":"1396836287","filename":"file0"},{"photo_id":"1396836292","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836295":["hashtag1","hashtag2"]},{"1396836298":["hashtag1","hashtag2"]},{"1396836292":["hashtag1","hashtag2"]},{"1396836291":["hashtag1","hashtag2"]},{"1396836290":["hashtag1","hashtag2"]},{"1396836287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836295, 1396836298, 1396836292, 1396836291, 1396836290, 1396836287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59265398979187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 07:56:42.326331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_47_3673.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_50_2711.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_53_2676.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_56_3631.jpg', '/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_59_2709.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_02_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/09/01/image_31102025_09_01_47_3673.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_50_2711.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_53_2676.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_56_3631.jpg
/home/pi/Desktop/images/31102025/09/01/image_31102025_09_01_59_2709.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_02_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":["1396836311","1396836314","1396836308","1396836313","1396836310","1396836312"],"photo_ids_order":["1396836308","1396836310","1396836311","1396836312","1396836313","1396836314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f96013d7354a317b09a91a7ffa362c30.jpg","text":"TemporaryFile(/tmp/multipartBody4883942615725757555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399463427,"filename":"image_31102025_09_01_53_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/501d284550021b1e6dd865d0691e8a8a.jpg","text":"TemporaryFile(/tmp/multipartBody660995736752572555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399463427,"filename":"image_31102025_09_02_02_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03ab93b39ea7fb253089d1ed580f6767.jpg","text":"TemporaryFile(/tmp/multipartBody6850428296226740916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399463427,"filename":"image_31102025_09_01_47_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a5886497f4f42892b10f787c5195d95.jpg","text":"TemporaryFile(/tmp/multipartBody1128667585455791076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399463427,"filename":"image_31102025_09_01_59_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e6bbd2f15539319b8f1950c56bb933d.jpg","text":"TemporaryFile(/tmp/multipartBody5906502736444495265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399463427,"filename":"image_31102025_09_01_50_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1a20dbf084174325158a456c76bdf22.jpg","text":"TemporaryFile(/tmp/multipartBody6967643713164724595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399463427,"filename":"image_31102025_09_01_56_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836311","file1":"1396836310","file0":"1396836308","file4":"1396836313","file5":"1396836314","file3":"1396836312"},"map_files_photo_id_array":[{"photo_id":"1396836314","filename":"file5"},{"photo_id":"1396836311","filename":"file2"},{"photo_id":"1396836313","filename":"file4"},{"photo_id":"1396836310","filename":"file1"},{"photo_id":"1396836308","filename":"file0"},{"photo_id":"1396836312","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396836311":["hashtag1","hashtag2"]},{"1396836314":["hashtag1","hashtag2"]},{"1396836308":["hashtag1","hashtag2"]},{"1396836313":["hashtag1","hashtag2"]},{"1396836310":["hashtag1","hashtag2"]},{"1396836312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396836311, 1396836314, 1396836308, 1396836313, 1396836310, 1396836312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59541392326355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 07:57:22.499549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/43/image_29112025_07_43_04_9965.jpg', '/home/pi/Desktop/images/29112025/07/43/image_29112025_07_43_14_10440.jpg', '/home/pi/Desktop/images/29112025/07/43/image_29112025_07_43_24_9673.jpg', '/home/pi/Desktop/images/29112025/07/43/image_29112025_07_44_04_9779.jpg', '/home/pi/Desktop/images/29112025/07/44/image_29112025_07_44_14_9802.jpg', '/home/pi/Desktop/images/29112025/07/44/image_29112025_07_44_34_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/43/image_29112025_07_43_04_9965.jpg
/home/pi/Desktop/images/29112025/07/43/image_29112025_07_43_14_10440.jpg
/home/pi/Desktop/images/29112025/07/43/image_29112025_07_43_24_9673.jpg
/home/pi/Desktop/images/29112025/07/43/image_29112025_07_44_04_9779.jpg
/home/pi/Desktop/images/29112025/07/44/image_29112025_07_44_14_9802.jpg
/home/pi/Desktop/images/29112025/07/44/image_29112025_07_44_34_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":["1396836332","1396836330","1396836324","1396836327","1396836321","1396836318"],"photo_ids_order":["1396836318","1396836321","1396836324","1396836327","1396836330","1396836332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/247bc7ce50ddd3056519180e3ac3414b.jpg","text":"TemporaryFile(/tmp/multipartBody4995014318373458702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399503262,"filename":"image_29112025_07_44_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cdb567592728b57b35a4ec1851564f1f.jpg","text":"TemporaryFile(/tmp/multipartBody4649574319110450462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399503262,"filename":"image_29112025_07_44_14_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7b5a32d9479d9a6b2dc9cbf2b8f03c6.jpg","text":"TemporaryFile(/tmp/multipartBody2197092419809137920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399503262,"filename":"image_29112025_07_43_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/11/29/aeee86012aa19c1c484670e27bffa511.jpg","text":"TemporaryFile(/tmp/multipartBody1062737244559970786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399503262,"filename":"image_29112025_07_44_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f07e6c22285536272dd18e9f4fc5192.jpg","text":"TemporaryFile(/tmp/multipartBody6388160237640473182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399503262,"filename":"image_29112025_07_43_14_10440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f8d06d6f6c030080018f2dbf30a81a9.jpg","text":"TemporaryFile(/tmp/multipartBody5682449641319207210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399503262,"filename":"image_29112025_07_43_04_9965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836324","file1":"1396836321","file0":"1396836318","file4":"1396836330","file5":"1396836332","file3":"1396836327"},"map_files_photo_id_array":[{"photo_id":"1396836332","filename":"file5"},{"photo_id":"1396836324","filename":"file2"},{"photo_id":"1396836330","filename":"file4"},{"photo_id":"1396836321","filename":"file1"},{"photo_id":"1396836318","filename":"file0"},{"photo_id":"1396836327","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836332":["hashtag1","hashtag2"]},{"1396836330":["hashtag1","hashtag2"]},{"1396836324":["hashtag1","hashtag2"]},{"1396836327":["hashtag1","hashtag2"]},{"1396836321":["hashtag1","hashtag2"]},{"1396836318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836332, 1396836330, 1396836324, 1396836327, 1396836321, 1396836318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.275323152542114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 07:59:02.909123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/44/image_29112025_07_45_05_10748.jpg', '/home/pi/Desktop/images/29112025/07/45/image_29112025_07_45_15_10119.jpg', '/home/pi/Desktop/images/29112025/07/45/image_29112025_07_45_24_9076.jpg', '/home/pi/Desktop/images/29112025/07/45/image_29112025_07_45_34_10630.jpg', '/home/pi/Desktop/images/29112025/07/45/image_29112025_07_45_44_9657.jpg', '/home/pi/Desktop/images/29112025/07/46/image_29112025_07_46_34_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/44/image_29112025_07_45_05_10748.jpg
/home/pi/Desktop/images/29112025/07/45/image_29112025_07_45_15_10119.jpg
/home/pi/Desktop/images/29112025/07/45/image_29112025_07_45_24_9076.jpg
/home/pi/Desktop/images/29112025/07/45/image_29112025_07_45_34_10630.jpg
/home/pi/Desktop/images/29112025/07/45/image_29112025_07_45_44_9657.jpg
/home/pi/Desktop/images/29112025/07/46/image_29112025_07_46_34_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":["1396836349","1396836342","1396836351","1396836345","1396836347","1396836338"],"photo_ids_order":["1396836338","1396836342","1396836345","1396836347","1396836349","1396836351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3eed4331f64604f039cf16188a106a0d.jpg","text":"TemporaryFile(/tmp/multipartBody5368665982563261486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399603859,"filename":"image_29112025_07_45_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/11/29/db3dd05e526fc0211eddd2d3c009c329.jpg","text":"TemporaryFile(/tmp/multipartBody7234091118291930752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399603859,"filename":"image_29112025_07_45_15_10119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f099b12817a1d9af4ac3b539a58e0768.jpg","text":"TemporaryFile(/tmp/multipartBody3380551858173374215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399603859,"filename":"image_29112025_07_46_34_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/903a52bf5277383ace35e49fb5b01231.jpg","text":"TemporaryFile(/tmp/multipartBody4095652634130722361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399603859,"filename":"image_29112025_07_45_24_9076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e826d7b1977d866b8b497eac14618f2.jpg","text":"TemporaryFile(/tmp/multipartBody2572091725531420123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399603859,"filename":"image_29112025_07_45_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca068c370a7baea3895b3e606e0021ee.jpg","text":"TemporaryFile(/tmp/multipartBody8783944980904613096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399603859,"filename":"image_29112025_07_45_05_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836345","file1":"1396836342","file0":"1396836338","file4":"1396836349","file5":"1396836351","file3":"1396836347"},"map_files_photo_id_array":[{"photo_id":"1396836351","filename":"file5"},{"photo_id":"1396836345","filename":"file2"},{"photo_id":"1396836349","filename":"file4"},{"photo_id":"1396836342","filename":"file1"},{"photo_id":"1396836338","filename":"file0"},{"photo_id":"1396836347","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836349":["hashtag1","hashtag2"]},{"1396836342":["hashtag1","hashtag2"]},{"1396836351":["hashtag1","hashtag2"]},{"1396836345":["hashtag1","hashtag2"]},{"1396836347":["hashtag1","hashtag2"]},{"1396836338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836349, 1396836342, 1396836351, 1396836345, 1396836347, 1396836338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52813243865967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:00:04.825386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 08:00:11.921995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_38_3545.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_41_2674.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_43_2547.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_47_3675.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_50_2502.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_53_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_38_3545.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_41_2674.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_43_2547.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_47_3675.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_50_2502.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_53_3601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836364","1396836375","1396836369","1396836378","1396836372","1396836366"],"photo_ids_order":["1396836364","1396836366","1396836369","1396836372","1396836375","1396836378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ce995cd567c0bcd2d1b3609e6704402.jpg","text":"TemporaryFile(/tmp/multipartBody463417357846278203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399673927,"filename":"image_25112025_17_57_38_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d12e207d03308fd8aae172a2ccafbe5.jpg","text":"TemporaryFile(/tmp/multipartBody630195500654429772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399673927,"filename":"image_25112025_17_57_50_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/632b30ba5d3b8991a0e25eaa51981993.jpg","text":"TemporaryFile(/tmp/multipartBody8831859555175412280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399673927,"filename":"image_25112025_17_57_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/11/29/eef44e8c355945f1b74a8f52914fffcd.jpg","text":"TemporaryFile(/tmp/multipartBody4556434008581113930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399673927,"filename":"image_25112025_17_57_53_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64c654a9d857eb773bccc3ed7f26b070.jpg","text":"TemporaryFile(/tmp/multipartBody3206517044747926216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399673927,"filename":"image_25112025_17_57_47_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cf2634b1812516359db5df8dbe6072d.jpg","text":"TemporaryFile(/tmp/multipartBody1614579075064033962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399673927,"filename":"image_25112025_17_57_41_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836369","file1":"1396836366","file0":"1396836364","file4":"1396836375","file5":"1396836378","file3":"1396836372"},"map_files_photo_id_array":[{"photo_id":"1396836378","filename":"file5"},{"photo_id":"1396836369","filename":"file2"},{"photo_id":"1396836375","filename":"file4"},{"photo_id":"1396836366","filename":"file1"},{"photo_id":"1396836364","filename":"file0"},{"photo_id":"1396836372","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396836364":["hashtag1","hashtag2"]},{"1396836375":["hashtag1","hashtag2"]},{"1396836369":["hashtag1","hashtag2"]},{"1396836378":["hashtag1","hashtag2"]},{"1396836372":["hashtag1","hashtag2"]},{"1396836366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396836364, 1396836375, 1396836369, 1396836378, 1396836372, 1396836366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.13771295547485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:01:02.944385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 08:01:12.393331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_56_2673.jpg', '/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_58_2558.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_02_3658.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_05_2747.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_07_2654.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_11_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_56_2673.jpg
/home/pi/Desktop/images/25112025/17/57/image_25112025_17_57_58_2558.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_02_3658.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_05_2747.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_07_2654.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_11_3713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836394","1396836397","1396836382","1396836391","1396836388","1396836384"],"photo_ids_order":["1396836382","1396836384","1396836388","1396836391","1396836394","1396836397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a0fc06d28ab521f345b70eef5aa4651.jpg","text":"TemporaryFile(/tmp/multipartBody4108178550452864013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399736839,"filename":"image_25112025_17_58_07_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/381e81df7df0a28e76a2627416c4b9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5783577401287758058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399736839,"filename":"image_25112025_17_58_11_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35973c13c84faa092cf52e4caa784a41.jpg","text":"TemporaryFile(/tmp/multipartBody6962539552612559578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399736839,"filename":"image_25112025_17_57_56_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d345b1986133269bde3b7528053e7322.jpg","text":"TemporaryFile(/tmp/multipartBody5393978200725355759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399736839,"filename":"image_25112025_17_58_05_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/212acfbc169fd930caa43372b29ffed0.jpg","text":"TemporaryFile(/tmp/multipartBody3447061249570973346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399736839,"filename":"image_25112025_17_58_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/11/29/ca72fd22132ac0b15f591d98f6843e20.jpg","text":"TemporaryFile(/tmp/multipartBody7113761219491750421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399736839,"filename":"image_25112025_17_57_58_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836388","file1":"1396836384","file0":"1396836382","file4":"1396836394","file5":"1396836397","file3":"1396836391"},"map_files_photo_id_array":[{"photo_id":"1396836397","filename":"file5"},{"photo_id":"1396836388","filename":"file2"},{"photo_id":"1396836394","filename":"file4"},{"photo_id":"1396836384","filename":"file1"},{"photo_id":"1396836382","filename":"file0"},{"photo_id":"1396836391","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396836394":["hashtag1","hashtag2"]},{"1396836397":["hashtag1","hashtag2"]},{"1396836382":["hashtag1","hashtag2"]},{"1396836391":["hashtag1","hashtag2"]},{"1396836388":["hashtag1","hashtag2"]},{"1396836384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396836394, 1396836397, 1396836382, 1396836391, 1396836388, 1396836384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.22154092788696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:02:03.111617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/46/image_29112025_07_46_44_10179.jpg', '/home/pi/Desktop/images/29112025/07/47/image_29112025_07_47_14_9443.jpg', '/home/pi/Desktop/images/29112025/07/47/image_29112025_07_47_34_9730.jpg', '/home/pi/Desktop/images/29112025/07/47/image_29112025_07_47_45_10871.jpg', '/home/pi/Desktop/images/29112025/07/48/image_29112025_07_48_14_9727.jpg', '/home/pi/Desktop/images/29112025/07/48/image_29112025_07_48_24_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/46/image_29112025_07_46_44_10179.jpg
/home/pi/Desktop/images/29112025/07/47/image_29112025_07_47_14_9443.jpg
/home/pi/Desktop/images/29112025/07/47/image_29112025_07_47_34_9730.jpg
/home/pi/Desktop/images/29112025/07/47/image_29112025_07_47_45_10871.jpg
/home/pi/Desktop/images/29112025/07/48/image_29112025_07_48_14_9727.jpg
/home/pi/Desktop/images/29112025/07/48/image_29112025_07_48_24_10665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836410","1396836404","1396836407","1396836412","1396836406","1396836402"],"photo_ids_order":["1396836402","1396836404","1396836406","1396836407","1396836410","1396836412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91d46e4c616ebaee2bfb716f2b1e774c.jpg","text":"TemporaryFile(/tmp/multipartBody2447964301523844044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399783919,"filename":"image_29112025_07_48_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/11/29/c9f03e5d33392e00aabef25fc708f222.jpg","text":"TemporaryFile(/tmp/multipartBody1998861436274129637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399783919,"filename":"image_29112025_07_47_14_9443.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb1c522bb5076751b79f859323bd543d.jpg","text":"TemporaryFile(/tmp/multipartBody4038829762099739163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399783919,"filename":"image_29112025_07_47_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/11/29/31c274d0b4bc670cf5bc719b2ce4653b.jpg","text":"TemporaryFile(/tmp/multipartBody8467081129123246427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399783919,"filename":"image_29112025_07_48_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4a545434967c672a5e1d57fef9310bed.jpg","text":"TemporaryFile(/tmp/multipartBody8728614547453957187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399783919,"filename":"image_29112025_07_47_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/11/29/273eed6f9b1298479f6119f8dba16fdf.jpg","text":"TemporaryFile(/tmp/multipartBody4268374779615103349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399783919,"filename":"image_29112025_07_46_44_10179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836406","file1":"1396836404","file0":"1396836402","file4":"1396836410","file5":"1396836412","file3":"1396836407"},"map_files_photo_id_array":[{"photo_id":"1396836412","filename":"file5"},{"photo_id":"1396836406","filename":"file2"},{"photo_id":"1396836410","filename":"file4"},{"photo_id":"1396836404","filename":"file1"},{"photo_id":"1396836402","filename":"file0"},{"photo_id":"1396836407","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396836410":["hashtag1","hashtag2"]},{"1396836404":["hashtag1","hashtag2"]},{"1396836407":["hashtag1","hashtag2"]},{"1396836412":["hashtag1","hashtag2"]},{"1396836406":["hashtag1","hashtag2"]},{"1396836402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396836410, 1396836404, 1396836407, 1396836412, 1396836406, 1396836402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.372217416763306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:02:42.676558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_05_3627.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_08_2586.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_11_2517.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_14_3631.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_17_2663.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_20_3518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_05_3627.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_08_2586.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_11_2517.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_14_3631.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_17_2663.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_20_3518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836427","1396836418","1396836423","1396836426","1396836420","1396836422"],"photo_ids_order":["1396836418","1396836420","1396836422","1396836423","1396836426","1396836427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89c327c94c075a7340786430412d5e6f.jpg","text":"TemporaryFile(/tmp/multipartBody5065863315720028395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399823781,"filename":"image_31102025_09_02_20_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1cccd5cd73c3212927c79c3b4e13bea.jpg","text":"TemporaryFile(/tmp/multipartBody6893823963202793565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399823781,"filename":"image_31102025_09_02_05_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1423a93666f44bbeb68510c1020e4cb.jpg","text":"TemporaryFile(/tmp/multipartBody6667794984147165516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399823781,"filename":"image_31102025_09_02_14_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95b854ce7b2dc3dba2f842a9774c2359.jpg","text":"TemporaryFile(/tmp/multipartBody1689018597323087667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399823781,"filename":"image_31102025_09_02_17_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9702781e65051b2dab25d728c9cbc50d.jpg","text":"TemporaryFile(/tmp/multipartBody3553747210836859243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399823781,"filename":"image_31102025_09_02_08_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e52f2469c6d4a5886e6a3681b54bf91.jpg","text":"TemporaryFile(/tmp/multipartBody2676337739201811193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399823781,"filename":"image_31102025_09_02_11_2517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836422","file1":"1396836420","file0":"1396836418","file4":"1396836426","file5":"1396836427","file3":"1396836423"},"map_files_photo_id_array":[{"photo_id":"1396836427","filename":"file5"},{"photo_id":"1396836422","filename":"file2"},{"photo_id":"1396836426","filename":"file4"},{"photo_id":"1396836420","filename":"file1"},{"photo_id":"1396836418","filename":"file0"},{"photo_id":"1396836423","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396836427":["hashtag1","hashtag2"]},{"1396836418":["hashtag1","hashtag2"]},{"1396836423":["hashtag1","hashtag2"]},{"1396836426":["hashtag1","hashtag2"]},{"1396836420":["hashtag1","hashtag2"]},{"1396836422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396836427, 1396836418, 1396836423, 1396836426, 1396836420, 1396836422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53528952598572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:03:23.742411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 08:03:33.028122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_14_2595.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_17_2827.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_20_3550.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_23_2756.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_26_2656.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_29_3614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_14_2595.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_17_2827.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_20_3550.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_23_2756.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_26_2656.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_29_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":["1396836445","1396836439","1396836442","1396836436","1396836447","1396836446"],"photo_ids_order":["1396836436","1396836439","1396836442","1396836445","1396836446","1396836447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96e680e230860406217c73aed4593894.jpg","text":"TemporaryFile(/tmp/multipartBody1991914840535452293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399875262,"filename":"image_25112025_17_58_23_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f297c66de14a8ffebcfd0b918210c103.jpg","text":"TemporaryFile(/tmp/multipartBody6745940494659840377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399875262,"filename":"image_25112025_17_58_17_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2b5278ecb3888f58578ad56fb9e7b79.jpg","text":"TemporaryFile(/tmp/multipartBody4097110807221666808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399875262,"filename":"image_25112025_17_58_20_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b22ecbadae09b85bd8160807fbe7b4d.jpg","text":"TemporaryFile(/tmp/multipartBody8177432919151627532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399875262,"filename":"image_25112025_17_58_14_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71bb67fb5430f8e3ad9b31cabc896e8e.jpg","text":"TemporaryFile(/tmp/multipartBody6477550144203100822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399875262,"filename":"image_25112025_17_58_29_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31c5196f4e85a4aafdf1fbeee2a2feb5.jpg","text":"TemporaryFile(/tmp/multipartBody3381646888446641562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399875262,"filename":"image_25112025_17_58_26_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836442","file1":"1396836439","file0":"1396836436","file4":"1396836446","file5":"1396836447","file3":"1396836445"},"map_files_photo_id_array":[{"photo_id":"1396836447","filename":"file5"},{"photo_id":"1396836442","filename":"file2"},{"photo_id":"1396836446","filename":"file4"},{"photo_id":"1396836439","filename":"file1"},{"photo_id":"1396836436","filename":"file0"},{"photo_id":"1396836445","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396836445":["hashtag1","hashtag2"]},{"1396836439":["hashtag1","hashtag2"]},{"1396836442":["hashtag1","hashtag2"]},{"1396836436":["hashtag1","hashtag2"]},{"1396836447":["hashtag1","hashtag2"]},{"1396836446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396836445, 1396836439, 1396836442, 1396836436, 1396836447, 1396836446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11974096298218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 08:04:12.014348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_32_2645.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_34_2658.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_37_2705.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_41_3659.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_43_2554.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_46_2857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_32_2645.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_34_2658.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_37_2705.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_41_3659.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_43_2554.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_46_2857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396836691","1396836607","1396836563","1396836731","1396836647","1396836521"],"photo_ids_order":["1396836521","1396836563","1396836607","1396836647","1396836691","1396836731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/282d1fb734e6427050527483fbd3fe3c.jpg","text":"TemporaryFile(/tmp/multipartBody8250045602109843472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399920498,"filename":"image_25112025_17_58_43_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8f40ea0d1ee5511704ede7755d9fd33.jpg","text":"TemporaryFile(/tmp/multipartBody714171078003410815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399920498,"filename":"image_25112025_17_58_37_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1500d3e79fc821ea53c034bf86716ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5141692575628253727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399920498,"filename":"image_25112025_17_58_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/11/29/21cdfcd6a058e2565593524be400e1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8861700449900216152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399920498,"filename":"image_25112025_17_58_46_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9bcc37d700489ca5c3c6e8d7464bff5.jpg","text":"TemporaryFile(/tmp/multipartBody7162516736949190894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399920498,"filename":"image_25112025_17_58_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/11/29/324b6b7aba57bdea42f83da70cd51095.jpg","text":"TemporaryFile(/tmp/multipartBody7437403428441294534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399920498,"filename":"image_25112025_17_58_32_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396836607","file1":"1396836563","file0":"1396836521","file4":"1396836691","file5":"1396836731","file3":"1396836647"},"map_files_photo_id_array":[{"photo_id":"1396836731","filename":"file5"},{"photo_id":"1396836607","filename":"file2"},{"photo_id":"1396836691","filename":"file4"},{"photo_id":"1396836563","filename":"file1"},{"photo_id":"1396836521","filename":"file0"},{"photo_id":"1396836647","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396836691":["hashtag1","hashtag2"]},{"1396836607":["hashtag1","hashtag2"]},{"1396836563":["hashtag1","hashtag2"]},{"1396836731":["hashtag1","hashtag2"]},{"1396836647":["hashtag1","hashtag2"]},{"1396836521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396836691, 1396836607, 1396836563, 1396836731, 1396836647, 1396836521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.77579998970032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:05:03.013683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/48/image_29112025_07_48_44_9682.jpg', '/home/pi/Desktop/images/29112025/07/48/image_29112025_07_49_04_9643.jpg', '/home/pi/Desktop/images/29112025/07/49/image_29112025_07_49_34_9605.jpg', '/home/pi/Desktop/images/29112025/07/50/image_29112025_07_50_14_9789.jpg', '/home/pi/Desktop/images/29112025/07/50/image_29112025_07_50_24_9796.jpg', '/home/pi/Desktop/images/29112025/07/50/image_29112025_07_50_54_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/48/image_29112025_07_48_44_9682.jpg
/home/pi/Desktop/images/29112025/07/48/image_29112025_07_49_04_9643.jpg
/home/pi/Desktop/images/29112025/07/49/image_29112025_07_49_34_9605.jpg
/home/pi/Desktop/images/29112025/07/50/image_29112025_07_50_14_9789.jpg
/home/pi/Desktop/images/29112025/07/50/image_29112025_07_50_24_9796.jpg
/home/pi/Desktop/images/29112025/07/50/image_29112025_07_50_54_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":["1396837252","1396837173","1396837012","1396837085","1396836944","1396836905"],"photo_ids_order":["1396836905","1396836944","1396837012","1396837085","1396837173","1396837252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7bd68678258fd9553511b132e299119.jpg","text":"TemporaryFile(/tmp/multipartBody7441458350562266226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399963932,"filename":"image_29112025_07_50_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/11/29/091f5144aef3a60c703fc874ecdf7ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3532346402942639873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399963932,"filename":"image_29112025_07_50_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/11/29/28c46a36d3761047db9af1f87f7f0dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8814179154719450684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399963932,"filename":"image_29112025_07_49_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7900508e12fa163cc86b2c849846e44.jpg","text":"TemporaryFile(/tmp/multipartBody3359860969536593659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399963932,"filename":"image_29112025_07_50_14_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f687bb1547f652c83c65929364a729b7.jpg","text":"TemporaryFile(/tmp/multipartBody8637031929496805098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399963932,"filename":"image_29112025_07_49_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/11/29/e461e1da2a5515e94f14fe7d1ce63bb5.jpg","text":"TemporaryFile(/tmp/multipartBody758498173751963861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764399963932,"filename":"image_29112025_07_48_44_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396837012","file1":"1396836944","file0":"1396836905","file4":"1396837173","file5":"1396837252","file3":"1396837085"},"map_files_photo_id_array":[{"photo_id":"1396837252","filename":"file5"},{"photo_id":"1396837012","filename":"file2"},{"photo_id":"1396837173","filename":"file4"},{"photo_id":"1396836944","filename":"file1"},{"photo_id":"1396836905","filename":"file0"},{"photo_id":"1396837085","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396837252":["hashtag1","hashtag2"]},{"1396837173":["hashtag1","hashtag2"]},{"1396837012":["hashtag1","hashtag2"]},{"1396837085":["hashtag1","hashtag2"]},{"1396836944":["hashtag1","hashtag2"]},{"1396836905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396837252, 1396837173, 1396837012, 1396837085, 1396836944, 1396836905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.098949670791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:05:42.446770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_23_2728.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_26_2647.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_28_2738.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_38_2619.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_44_2665.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_46_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_23_2728.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_26_2647.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_28_2738.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_38_2619.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_44_2665.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_46_2589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396837695","1396837767","1396837731","1396837632","1396837808","1396837523"],"photo_ids_order":["1396837523","1396837632","1396837695","1396837731","1396837767","1396837808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45043bed90aa74a0a4fba2615e6a3666.jpg","text":"TemporaryFile(/tmp/multipartBody5766640149883706261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400003568,"filename":"image_31102025_09_02_28_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d1efe80f7aee4f264826e1106b04ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3515032175242724050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400003568,"filename":"image_31102025_09_02_44_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/debbdd1ccc3a1c5be13917741fb1441b.jpg","text":"TemporaryFile(/tmp/multipartBody9195837432133837420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400003568,"filename":"image_31102025_09_02_38_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fcc33ec66f71f3f428f7451c2bca18ae.jpg","text":"TemporaryFile(/tmp/multipartBody7967336062589769582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400003568,"filename":"image_31102025_09_02_26_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6be0f83200d6724a1881dac8abae784.jpg","text":"TemporaryFile(/tmp/multipartBody8573982612686216992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400003568,"filename":"image_31102025_09_02_46_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac1bd5167a30e09049b36275024db131.jpg","text":"TemporaryFile(/tmp/multipartBody8413664749448349916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400003568,"filename":"image_31102025_09_02_23_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396837695","file1":"1396837632","file0":"1396837523","file4":"1396837767","file5":"1396837808","file3":"1396837731"},"map_files_photo_id_array":[{"photo_id":"1396837808","filename":"file5"},{"photo_id":"1396837695","filename":"file2"},{"photo_id":"1396837767","filename":"file4"},{"photo_id":"1396837632","filename":"file1"},{"photo_id":"1396837523","filename":"file0"},{"photo_id":"1396837731","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396837695":["hashtag1","hashtag2"]},{"1396837767":["hashtag1","hashtag2"]},{"1396837731":["hashtag1","hashtag2"]},{"1396837632":["hashtag1","hashtag2"]},{"1396837808":["hashtag1","hashtag2"]},{"1396837523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396837695, 1396837767, 1396837731, 1396837632, 1396837808, 1396837523)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.413413286209106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:06:42.645184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_50_3555.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_53_2858.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_56_2660.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_59_3686.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_02_2706.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_05_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/09/02/image_31102025_09_02_50_3555.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_53_2858.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_56_2660.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_59_3686.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_02_2706.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_05_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.0134377479553223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:07:03.451893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/50/image_29112025_07_51_05_10751.jpg', '/home/pi/Desktop/images/29112025/07/51/image_29112025_07_51_14_9664.jpg', '/home/pi/Desktop/images/29112025/07/52/image_29112025_07_52_25_10683.jpg', '/home/pi/Desktop/images/29112025/07/52/image_29112025_07_52_55_10755.jpg', '/home/pi/Desktop/images/29112025/07/52/image_29112025_07_53_04_9664.jpg', '/home/pi/Desktop/images/29112025/07/53/image_29112025_07_53_14_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/50/image_29112025_07_51_05_10751.jpg
/home/pi/Desktop/images/29112025/07/51/image_29112025_07_51_14_9664.jpg
/home/pi/Desktop/images/29112025/07/52/image_29112025_07_52_25_10683.jpg
/home/pi/Desktop/images/29112025/07/52/image_29112025_07_52_55_10755.jpg
/home/pi/Desktop/images/29112025/07/52/image_29112025_07_53_04_9664.jpg
/home/pi/Desktop/images/29112025/07/53/image_29112025_07_53_14_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":["1396838499","1396838643","1396838607","1396838552","1396838465","1396838708"],"photo_ids_order":["1396838465","1396838499","1396838552","1396838607","1396838643","1396838708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb906ccfa477270cbfdc36c6db2ca971.jpg","text":"TemporaryFile(/tmp/multipartBody1216941914121570619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400084321,"filename":"image_29112025_07_51_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2e3f8bc25ea9176f59c87647ed9d0dc.jpg","text":"TemporaryFile(/tmp/multipartBody5286145064391950290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400084321,"filename":"image_29112025_07_53_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da0ebf0848226c117d66bb6857f8cbfd.jpg","text":"TemporaryFile(/tmp/multipartBody5003807670023810789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400084321,"filename":"image_29112025_07_52_55_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ca500707092fdf57bcf790e00e77d67.jpg","text":"TemporaryFile(/tmp/multipartBody5973610610396148262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400084321,"filename":"image_29112025_07_52_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/11/29/3744ac7915fa579cbfc5ca3d2a924857.jpg","text":"TemporaryFile(/tmp/multipartBody2094153171305925573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400084321,"filename":"image_29112025_07_51_05_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8725ce122c46089f6ff4c709e7670ca8.jpg","text":"TemporaryFile(/tmp/multipartBody1581050995622309998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400084321,"filename":"image_29112025_07_53_14_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396838552","file1":"1396838499","file0":"1396838465","file4":"1396838643","file5":"1396838708","file3":"1396838607"},"map_files_photo_id_array":[{"photo_id":"1396838708","filename":"file5"},{"photo_id":"1396838552","filename":"file2"},{"photo_id":"1396838643","filename":"file4"},{"photo_id":"1396838499","filename":"file1"},{"photo_id":"1396838465","filename":"file0"},{"photo_id":"1396838607","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396838499":["hashtag1","hashtag2"]},{"1396838643":["hashtag1","hashtag2"]},{"1396838607":["hashtag1","hashtag2"]},{"1396838552":["hashtag1","hashtag2"]},{"1396838465":["hashtag1","hashtag2"]},{"1396838708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396838499, 1396838643, 1396838607, 1396838552, 1396838465, 1396838708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61126685142517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:07:42.904962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_50_3555.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_53_2858.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_56_2660.jpg', '/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_59_3686.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_02_2706.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_05_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/09/02/image_31102025_09_02_50_3555.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_53_2858.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_56_2660.jpg
/home/pi/Desktop/images/31102025/09/02/image_31102025_09_02_59_3686.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_02_2706.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_05_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":["1396838908","1396838871","1396839012","1396838978","1396839049","1396838941"],"photo_ids_order":["1396838871","1396838908","1396838941","1396838978","1396839012","1396839049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5059f52d935a55f37cf490e46aaf8492.jpg","text":"TemporaryFile(/tmp/multipartBody3382542149035210779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400123848,"filename":"image_31102025_09_02_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/11/29/f07622268268cd1e54ef6db6bb85d694.jpg","text":"TemporaryFile(/tmp/multipartBody3585404983104300730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400123848,"filename":"image_31102025_09_02_50_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d559ad7a54449cac52b4384eef22011e.jpg","text":"TemporaryFile(/tmp/multipartBody8525684992552707132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400123848,"filename":"image_31102025_09_03_02_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fa1af163249265da55a6047511383c5.jpg","text":"TemporaryFile(/tmp/multipartBody3035853724146392029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400123848,"filename":"image_31102025_09_02_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/11/29/67a20721ded273ecd1c883e733c800a6.jpg","text":"TemporaryFile(/tmp/multipartBody5288141529796592556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400123848,"filename":"image_31102025_09_03_05_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/170c48d9d5dec346e291fc1132f63aac.jpg","text":"TemporaryFile(/tmp/multipartBody5020278234030176085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400123848,"filename":"image_31102025_09_02_56_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396838941","file1":"1396838908","file0":"1396838871","file4":"1396839012","file5":"1396839049","file3":"1396838978"},"map_files_photo_id_array":[{"photo_id":"1396839049","filename":"file5"},{"photo_id":"1396838941","filename":"file2"},{"photo_id":"1396839012","filename":"file4"},{"photo_id":"1396838908","filename":"file1"},{"photo_id":"1396838871","filename":"file0"},{"photo_id":"1396838978","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396838908":["hashtag1","hashtag2"]},{"1396838871":["hashtag1","hashtag2"]},{"1396839012":["hashtag1","hashtag2"]},{"1396838978":["hashtag1","hashtag2"]},{"1396839049":["hashtag1","hashtag2"]},{"1396838941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396838908, 1396838871, 1396839012, 1396838978, 1396839049, 1396838941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85731387138367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:08:22.291655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/53/image_29112025_07_53_24_9677.jpg', '/home/pi/Desktop/images/29112025/07/54/image_29112025_07_54_54_9653.jpg', '/home/pi/Desktop/images/29112025/07/54/image_29112025_07_55_04_10632.jpg', '/home/pi/Desktop/images/29112025/07/55/image_29112025_07_55_14_9739.jpg', '/home/pi/Desktop/images/29112025/07/55/image_29112025_07_55_34_9692.jpg', '/home/pi/Desktop/images/29112025/07/56/image_29112025_07_56_15_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/53/image_29112025_07_53_24_9677.jpg
/home/pi/Desktop/images/29112025/07/54/image_29112025_07_54_54_9653.jpg
/home/pi/Desktop/images/29112025/07/54/image_29112025_07_55_04_10632.jpg
/home/pi/Desktop/images/29112025/07/55/image_29112025_07_55_14_9739.jpg
/home/pi/Desktop/images/29112025/07/55/image_29112025_07_55_34_9692.jpg
/home/pi/Desktop/images/29112025/07/56/image_29112025_07_56_15_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396839374","1396839332","1396839291","1396839244","1396839192","1396839372"],"photo_ids_order":["1396839192","1396839244","1396839291","1396839332","1396839372","1396839374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/33490099d75fe051e38a3b0b74029e93.jpg","text":"TemporaryFile(/tmp/multipartBody8460545680458054393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400163060,"filename":"image_29112025_07_56_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7a4852e2a28c6e3cfb3daa1acae08b6.jpg","text":"TemporaryFile(/tmp/multipartBody1646211707179580575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400163060,"filename":"image_29112025_07_55_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/11/29/ebe5f7011a914a25010e7f56a1343718.jpg","text":"TemporaryFile(/tmp/multipartBody8025751074290242556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400163060,"filename":"image_29112025_07_55_04_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6306d70b210bd914afbc580770271c62.jpg","text":"TemporaryFile(/tmp/multipartBody2757799758557530504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400163060,"filename":"image_29112025_07_54_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/11/29/66b3fbb56724b5a05bf2a1baeef308bc.jpg","text":"TemporaryFile(/tmp/multipartBody8991202700212721152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400163060,"filename":"image_29112025_07_53_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f81713a5f8b184cac5a35b7de8365579.jpg","text":"TemporaryFile(/tmp/multipartBody7984851530767971293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400163060,"filename":"image_29112025_07_55_34_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396839291","file1":"1396839244","file0":"1396839192","file4":"1396839372","file5":"1396839374","file3":"1396839332"},"map_files_photo_id_array":[{"photo_id":"1396839374","filename":"file5"},{"photo_id":"1396839291","filename":"file2"},{"photo_id":"1396839372","filename":"file4"},{"photo_id":"1396839244","filename":"file1"},{"photo_id":"1396839192","filename":"file0"},{"photo_id":"1396839332","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396839374":["hashtag1","hashtag2"]},{"1396839332":["hashtag1","hashtag2"]},{"1396839291":["hashtag1","hashtag2"]},{"1396839244":["hashtag1","hashtag2"]},{"1396839192":["hashtag1","hashtag2"]},{"1396839372":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396839374, 1396839332, 1396839291, 1396839244, 1396839192, 1396839372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3960337638855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:09:03.094613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/56/image_29112025_07_56_34_9722.jpg', '/home/pi/Desktop/images/29112025/07/56/image_29112025_07_56_55_10668.jpg', '/home/pi/Desktop/images/29112025/07/57/image_29112025_07_57_54_9657.jpg', '/home/pi/Desktop/images/29112025/07/58/image_29112025_07_58_45_10670.jpg', '/home/pi/Desktop/images/29112025/07/58/image_29112025_07_58_54_9588.jpg', '/home/pi/Desktop/images/29112025/07/58/image_29112025_07_59_04_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/56/image_29112025_07_56_34_9722.jpg
/home/pi/Desktop/images/29112025/07/56/image_29112025_07_56_55_10668.jpg
/home/pi/Desktop/images/29112025/07/57/image_29112025_07_57_54_9657.jpg
/home/pi/Desktop/images/29112025/07/58/image_29112025_07_58_45_10670.jpg
/home/pi/Desktop/images/29112025/07/58/image_29112025_07_58_54_9588.jpg
/home/pi/Desktop/images/29112025/07/58/image_29112025_07_59_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":["1396839377","1396839382","1396839376","1396839385","1396839379","1396839375"],"photo_ids_order":["1396839375","1396839376","1396839377","1396839379","1396839382","1396839385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e37895113cc503bdd7466cd6095e95b6.jpg","text":"TemporaryFile(/tmp/multipartBody7120502703647500385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400204130,"filename":"image_29112025_07_57_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/11/29/9a63db20397d879b00a024b59ce22c5f.jpg","text":"TemporaryFile(/tmp/multipartBody3633166434635356877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400204130,"filename":"image_29112025_07_58_54_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a34b358621c6f74ed8b240f0cfd56dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6029607669913058092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400204130,"filename":"image_29112025_07_56_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d484bfde042b1fe08a6343e6ee113e6.jpg","text":"TemporaryFile(/tmp/multipartBody364598523174434680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400204130,"filename":"image_29112025_07_59_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/11/29/2620701eddcff1a8bf968597b7a534d2.jpg","text":"TemporaryFile(/tmp/multipartBody2662059658276375323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400204130,"filename":"image_29112025_07_58_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/797b3a656acd3f3c2b08b108632f70a5.jpg","text":"TemporaryFile(/tmp/multipartBody186852945142660393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400204130,"filename":"image_29112025_07_56_34_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396839377","file1":"1396839376","file0":"1396839375","file4":"1396839382","file5":"1396839385","file3":"1396839379"},"map_files_photo_id_array":[{"photo_id":"1396839385","filename":"file5"},{"photo_id":"1396839377","filename":"file2"},{"photo_id":"1396839382","filename":"file4"},{"photo_id":"1396839376","filename":"file1"},{"photo_id":"1396839375","filename":"file0"},{"photo_id":"1396839379","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396839377":["hashtag1","hashtag2"]},{"1396839382":["hashtag1","hashtag2"]},{"1396839376":["hashtag1","hashtag2"]},{"1396839385":["hashtag1","hashtag2"]},{"1396839379":["hashtag1","hashtag2"]},{"1396839375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396839377, 1396839382, 1396839376, 1396839385, 1396839379, 1396839375)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.85000467300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:10:03.175307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/59/image_29112025_07_59_44_10670.jpg', '/home/pi/Desktop/images/29112025/07/59/image_29112025_07_59_54_9722.jpg', '/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_15_10268.jpg', '/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_24_9705.jpg', '/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_35_10629.jpg', '/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_45_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/59/image_29112025_07_59_44_10670.jpg
/home/pi/Desktop/images/29112025/07/59/image_29112025_07_59_54_9722.jpg
/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_15_10268.jpg
/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_24_9705.jpg
/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_35_10629.jpg
/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_45_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.6868805885314941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 08:10:12.821383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_50_3653.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_52_2541.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_56_3536.jpg', '/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_59_2614.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_01_2677.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_05_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_50_3653.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_52_2541.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_56_3536.jpg
/home/pi/Desktop/images/25112025/17/58/image_25112025_17_58_59_2614.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_01_2677.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_05_3590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396839776","1396839653","1396839736","1396839696","1396839613","1396839573"],"photo_ids_order":["1396839573","1396839613","1396839653","1396839696","1396839736","1396839776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b11a3e5760d6831e1d2015a0e22b897.jpg","text":"TemporaryFile(/tmp/multipartBody3576529742075270647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400275010,"filename":"image_25112025_17_59_05_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d56e09a8f0f51c4c8311bcaefdebc93.jpg","text":"TemporaryFile(/tmp/multipartBody170282857694044402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400275010,"filename":"image_25112025_17_58_56_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2934e3b6f9a3f7107f7a249d3a4fb93b.jpg","text":"TemporaryFile(/tmp/multipartBody692783910194553219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400275010,"filename":"image_25112025_17_59_01_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b27c073cd66dd87b8a5d7134031d970.jpg","text":"TemporaryFile(/tmp/multipartBody6586469757323299405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400275010,"filename":"image_25112025_17_58_59_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/affdccba0c6c3c594941f35268dca856.jpg","text":"TemporaryFile(/tmp/multipartBody6567452752298582204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400275010,"filename":"image_25112025_17_58_52_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/526703cf74019308e4c0f43b4d54474e.jpg","text":"TemporaryFile(/tmp/multipartBody7202162084693218402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400275010,"filename":"image_25112025_17_58_50_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396839653","file1":"1396839613","file0":"1396839573","file4":"1396839736","file5":"1396839776","file3":"1396839696"},"map_files_photo_id_array":[{"photo_id":"1396839776","filename":"file5"},{"photo_id":"1396839653","filename":"file2"},{"photo_id":"1396839736","filename":"file4"},{"photo_id":"1396839613","filename":"file1"},{"photo_id":"1396839573","filename":"file0"},{"photo_id":"1396839696","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396839776":["hashtag1","hashtag2"]},{"1396839653":["hashtag1","hashtag2"]},{"1396839736":["hashtag1","hashtag2"]},{"1396839696":["hashtag1","hashtag2"]},{"1396839613":["hashtag1","hashtag2"]},{"1396839573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396839776, 1396839653, 1396839736, 1396839696, 1396839613, 1396839573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.03423285484314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:11:02.580035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/07/59/image_29112025_07_59_44_10670.jpg', '/home/pi/Desktop/images/29112025/07/59/image_29112025_07_59_54_9722.jpg', '/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_15_10268.jpg', '/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_24_9705.jpg', '/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_35_10629.jpg', '/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_45_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/07/59/image_29112025_07_59_44_10670.jpg
/home/pi/Desktop/images/29112025/07/59/image_29112025_07_59_54_9722.jpg
/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_15_10268.jpg
/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_24_9705.jpg
/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_35_10629.jpg
/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_45_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396839921","1396839909","1396839962","1396839908","1396839847","1396839885"],"photo_ids_order":["1396839847","1396839885","1396839908","1396839909","1396839921","1396839962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c2a04c81fa9bf5041a30a0ebb07ba46.jpg","text":"TemporaryFile(/tmp/multipartBody6247970016772984055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400323451,"filename":"image_29112025_08_01_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/11/29/2eb925b398a5479a3a3432bdfec265c2.jpg","text":"TemporaryFile(/tmp/multipartBody3186515628452115619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400323451,"filename":"image_29112025_08_01_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/11/29/4005ece03d18c1f53585b0cc4ec7ae6a.jpg","text":"TemporaryFile(/tmp/multipartBody7059998990662061128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400323451,"filename":"image_29112025_08_01_45_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c351cadde665063d61c3495e82cfd9d.jpg","text":"TemporaryFile(/tmp/multipartBody6090928595020313724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400323451,"filename":"image_29112025_08_01_15_10268.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bfcae3d0ef04f18f2175b975ef9b82b8.jpg","text":"TemporaryFile(/tmp/multipartBody2332511074344397811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400323451,"filename":"image_29112025_07_59_44_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae3d23486ed079ad2dcc20f08974dfae.jpg","text":"TemporaryFile(/tmp/multipartBody4710898013525824059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400323451,"filename":"image_29112025_07_59_54_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396839908","file1":"1396839885","file0":"1396839847","file4":"1396839921","file5":"1396839962","file3":"1396839909"},"map_files_photo_id_array":[{"photo_id":"1396839962","filename":"file5"},{"photo_id":"1396839908","filename":"file2"},{"photo_id":"1396839921","filename":"file4"},{"photo_id":"1396839885","filename":"file1"},{"photo_id":"1396839847","filename":"file0"},{"photo_id":"1396839909","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396839921":["hashtag1","hashtag2"]},{"1396839909":["hashtag1","hashtag2"]},{"1396839962":["hashtag1","hashtag2"]},{"1396839908":["hashtag1","hashtag2"]},{"1396839847":["hashtag1","hashtag2"]},{"1396839885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396839921, 1396839909, 1396839962, 1396839908, 1396839847, 1396839885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.917064905166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:12:02.527303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_54_9349.jpg', '/home/pi/Desktop/images/29112025/08/01/image_29112025_08_02_05_10696.jpg', '/home/pi/Desktop/images/29112025/08/02/image_29112025_08_02_14_9282.jpg', '/home/pi/Desktop/images/29112025/08/02/image_29112025_08_02_25_10768.jpg', '/home/pi/Desktop/images/29112025/08/02/image_29112025_08_02_44_9741.jpg', '/home/pi/Desktop/images/29112025/08/03/image_29112025_08_03_15_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/01/image_29112025_08_01_54_9349.jpg
/home/pi/Desktop/images/29112025/08/01/image_29112025_08_02_05_10696.jpg
/home/pi/Desktop/images/29112025/08/02/image_29112025_08_02_14_9282.jpg
/home/pi/Desktop/images/29112025/08/02/image_29112025_08_02_25_10768.jpg
/home/pi/Desktop/images/29112025/08/02/image_29112025_08_02_44_9741.jpg
/home/pi/Desktop/images/29112025/08/03/image_29112025_08_03_15_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396839992","1396839994","1396839991","1396839993","1396839996","1396839999"],"photo_ids_order":["1396839991","1396839992","1396839993","1396839994","1396839996","1396839999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c89e762af5f4e29f1eb57de0b839d5d.jpg","text":"TemporaryFile(/tmp/multipartBody5206820224612490185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400383310,"filename":"image_29112025_08_02_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/11/29/c89c603add3fdf991e58cb1f9f274a43.jpg","text":"TemporaryFile(/tmp/multipartBody6110270472451616475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400383310,"filename":"image_29112025_08_02_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/11/29/7b13805c244b39a3ef8eb6ffdb84ab48.jpg","text":"TemporaryFile(/tmp/multipartBody1461067510205397490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400383310,"filename":"image_29112025_08_01_54_9349.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f26216f28de27dc8f13160d86c03b9e.jpg","text":"TemporaryFile(/tmp/multipartBody5315434530495872358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400383310,"filename":"image_29112025_08_02_14_9282.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1d2f61c589ca960484d3ad2a7cafbf7.jpg","text":"TemporaryFile(/tmp/multipartBody5027664275444282571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400383310,"filename":"image_29112025_08_02_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/11/29/57482232038b0986d108780532e1cad3.jpg","text":"TemporaryFile(/tmp/multipartBody4824905791276367072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400383310,"filename":"image_29112025_08_03_15_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396839993","file1":"1396839992","file0":"1396839991","file4":"1396839996","file5":"1396839999","file3":"1396839994"},"map_files_photo_id_array":[{"photo_id":"1396839999","filename":"file5"},{"photo_id":"1396839993","filename":"file2"},{"photo_id":"1396839996","filename":"file4"},{"photo_id":"1396839992","filename":"file1"},{"photo_id":"1396839991","filename":"file0"},{"photo_id":"1396839994","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396839992":["hashtag1","hashtag2"]},{"1396839994":["hashtag1","hashtag2"]},{"1396839991":["hashtag1","hashtag2"]},{"1396839993":["hashtag1","hashtag2"]},{"1396839996":["hashtag1","hashtag2"]},{"1396839999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396839992, 1396839994, 1396839991, 1396839993, 1396839996, 1396839999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2778582572937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:12:42.036603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_08_3662.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_11_2681.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_14_2689.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_17_3622.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_20_2709.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_25_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/09/03/image_31102025_09_03_08_3662.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_11_2681.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_14_2689.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_17_3622.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_20_2709.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_25_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":["1396840071","1396840053","1396840026","1396840070","1396840058","1396840072"],"photo_ids_order":["1396840026","1396840053","1396840058","1396840070","1396840071","1396840072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0549feb32eabe9b005002efac1a4cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6565025074613738784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400423177,"filename":"image_31102025_09_03_20_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f29761d6d0cd94bff33241229b4d625.jpg","text":"TemporaryFile(/tmp/multipartBody4406923625963707654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400423177,"filename":"image_31102025_09_03_11_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ded744b9a687234cffe2bd0abe40af43.jpg","text":"TemporaryFile(/tmp/multipartBody3795362722715643497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400423177,"filename":"image_31102025_09_03_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/11/29/07f7e022aedbe596b7e8d6be222baef5.jpg","text":"TemporaryFile(/tmp/multipartBody2743128749742065619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400423177,"filename":"image_31102025_09_03_17_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0dfaeb2f963baefb4896e6ce622a04b9.jpg","text":"TemporaryFile(/tmp/multipartBody2745591500696960589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400423177,"filename":"image_31102025_09_03_14_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96f901f56c4de38c22563cf6f3c3e523.jpg","text":"TemporaryFile(/tmp/multipartBody1724988891178967210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400423177,"filename":"image_31102025_09_03_25_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840058","file1":"1396840053","file0":"1396840026","file4":"1396840071","file5":"1396840072","file3":"1396840070"},"map_files_photo_id_array":[{"photo_id":"1396840072","filename":"file5"},{"photo_id":"1396840058","filename":"file2"},{"photo_id":"1396840071","filename":"file4"},{"photo_id":"1396840053","filename":"file1"},{"photo_id":"1396840026","filename":"file0"},{"photo_id":"1396840070","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396840071":["hashtag1","hashtag2"]},{"1396840053":["hashtag1","hashtag2"]},{"1396840026":["hashtag1","hashtag2"]},{"1396840070":["hashtag1","hashtag2"]},{"1396840058":["hashtag1","hashtag2"]},{"1396840072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396840071, 1396840053, 1396840026, 1396840070, 1396840058, 1396840072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07551550865173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:13:22.201375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/03/image_29112025_08_03_24_9747.jpg', '/home/pi/Desktop/images/29112025/08/03/image_29112025_08_03_54_9543.jpg', '/home/pi/Desktop/images/29112025/08/03/image_29112025_08_04_04_9769.jpg', '/home/pi/Desktop/images/29112025/08/04/image_29112025_08_04_15_10934.jpg', '/home/pi/Desktop/images/29112025/08/04/image_29112025_08_04_45_9902.jpg', '/home/pi/Desktop/images/29112025/08/04/image_29112025_08_04_54_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/03/image_29112025_08_03_24_9747.jpg
/home/pi/Desktop/images/29112025/08/03/image_29112025_08_03_54_9543.jpg
/home/pi/Desktop/images/29112025/08/03/image_29112025_08_04_04_9769.jpg
/home/pi/Desktop/images/29112025/08/04/image_29112025_08_04_15_10934.jpg
/home/pi/Desktop/images/29112025/08/04/image_29112025_08_04_45_9902.jpg
/home/pi/Desktop/images/29112025/08/04/image_29112025_08_04_54_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":["1396840095","1396840077","1396840086","1396840110","1396840081","1396840075"],"photo_ids_order":["1396840075","1396840077","1396840081","1396840086","1396840095","1396840110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62735e877d0bb6712eca78a858128908.jpg","text":"TemporaryFile(/tmp/multipartBody9162789862699046096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400462954,"filename":"image_29112025_08_04_45_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6172cab3435e9892b917f8fc0733d1f.jpg","text":"TemporaryFile(/tmp/multipartBody5998541842512058725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400462954,"filename":"image_29112025_08_03_54_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2712241ef6ea247aecb6ff296d40fe9f.jpg","text":"TemporaryFile(/tmp/multipartBody2699667104837520860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400462954,"filename":"image_29112025_08_04_15_10934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c34716163e7728291d2031d8dfc02d5.jpg","text":"TemporaryFile(/tmp/multipartBody1200982401977522285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400462954,"filename":"image_29112025_08_04_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/11/29/cc296995435198a8512ac94bb307d130.jpg","text":"TemporaryFile(/tmp/multipartBody6741580963942736650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400462954,"filename":"image_29112025_08_04_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/11/29/f3574b949fa568198cfc48d01905b086.jpg","text":"TemporaryFile(/tmp/multipartBody1081542217093505986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400462954,"filename":"image_29112025_08_03_24_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840081","file1":"1396840077","file0":"1396840075","file4":"1396840095","file5":"1396840110","file3":"1396840086"},"map_files_photo_id_array":[{"photo_id":"1396840110","filename":"file5"},{"photo_id":"1396840081","filename":"file2"},{"photo_id":"1396840095","filename":"file4"},{"photo_id":"1396840077","filename":"file1"},{"photo_id":"1396840075","filename":"file0"},{"photo_id":"1396840086","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840095":["hashtag1","hashtag2"]},{"1396840077":["hashtag1","hashtag2"]},{"1396840086":["hashtag1","hashtag2"]},{"1396840110":["hashtag1","hashtag2"]},{"1396840081":["hashtag1","hashtag2"]},{"1396840075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840095, 1396840077, 1396840086, 1396840110, 1396840081, 1396840075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.489070653915405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:14:03.233627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/05/image_29112025_08_05_15_9713.jpg', '/home/pi/Desktop/images/29112025/08/05/image_29112025_08_05_25_9834.jpg', '/home/pi/Desktop/images/29112025/08/05/image_29112025_08_05_34_9569.jpg', '/home/pi/Desktop/images/29112025/08/05/image_29112025_08_05_44_10005.jpg', '/home/pi/Desktop/images/29112025/08/05/image_29112025_08_06_05_9590.jpg', '/home/pi/Desktop/images/29112025/08/06/image_29112025_08_06_14_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/05/image_29112025_08_05_15_9713.jpg
/home/pi/Desktop/images/29112025/08/05/image_29112025_08_05_25_9834.jpg
/home/pi/Desktop/images/29112025/08/05/image_29112025_08_05_34_9569.jpg
/home/pi/Desktop/images/29112025/08/05/image_29112025_08_05_44_10005.jpg
/home/pi/Desktop/images/29112025/08/05/image_29112025_08_06_05_9590.jpg
/home/pi/Desktop/images/29112025/08/06/image_29112025_08_06_14_9859.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840293","1396840344","1396840305","1396840310","1396840252","1396840306"],"photo_ids_order":["1396840252","1396840293","1396840305","1396840306","1396840310","1396840344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c17eda66533cbc04fc94bf015b8fd94.jpg","text":"TemporaryFile(/tmp/multipartBody9213321335987191967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400504090,"filename":"image_29112025_08_05_25_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/298043c6405e6a2e5cb442aeadcc32f5.jpg","text":"TemporaryFile(/tmp/multipartBody4504331469628621121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400504090,"filename":"image_29112025_08_06_14_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5b5c453bfddbbf2bf71322ad3af7833.jpg","text":"TemporaryFile(/tmp/multipartBody5757236295761882386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400504090,"filename":"image_29112025_08_05_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/11/29/0199b8bac6662d7239f08220034f07d2.jpg","text":"TemporaryFile(/tmp/multipartBody6877643334993243301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400504090,"filename":"image_29112025_08_06_05_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bdb8c2c1b0abb867ef9affca99866907.jpg","text":"TemporaryFile(/tmp/multipartBody7147005057669491602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400504090,"filename":"image_29112025_08_05_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/545abe8ef44e658861a73a737657a634.jpg","text":"TemporaryFile(/tmp/multipartBody6517790426140479782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400504090,"filename":"image_29112025_08_05_44_10005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840305","file1":"1396840293","file0":"1396840252","file4":"1396840310","file5":"1396840344","file3":"1396840306"},"map_files_photo_id_array":[{"photo_id":"1396840344","filename":"file5"},{"photo_id":"1396840305","filename":"file2"},{"photo_id":"1396840310","filename":"file4"},{"photo_id":"1396840293","filename":"file1"},{"photo_id":"1396840252","filename":"file0"},{"photo_id":"1396840306","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840293":["hashtag1","hashtag2"]},{"1396840344":["hashtag1","hashtag2"]},{"1396840305":["hashtag1","hashtag2"]},{"1396840310":["hashtag1","hashtag2"]},{"1396840252":["hashtag1","hashtag2"]},{"1396840306":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840293, 1396840344, 1396840305, 1396840310, 1396840252, 1396840306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51738953590393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:14:42.490579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_29_3646.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_32_2620.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_34_2679.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_38_3819.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_41_2627.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_43_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/09/03/image_31102025_09_03_29_3646.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_32_2620.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_34_2679.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_38_3819.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_41_2627.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_43_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":["1396840383","1396840382","1396840379","1396840415","1396840381","1396840384"],"photo_ids_order":["1396840379","1396840381","1396840382","1396840383","1396840384","1396840415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4a3f0af29dd4b76986107e24f42aaa5.jpg","text":"TemporaryFile(/tmp/multipartBody6957317154870341699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400543591,"filename":"image_31102025_09_03_38_3819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37114e2505039d5e81de3a575357415b.jpg","text":"TemporaryFile(/tmp/multipartBody9222515735994506154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400543591,"filename":"image_31102025_09_03_34_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e3da56d15f31c8c5477f05dc2852af3.jpg","text":"TemporaryFile(/tmp/multipartBody3104487858361810032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400543591,"filename":"image_31102025_09_03_29_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db3b4187810fed3d0ab0c5376a44fa8f.jpg","text":"TemporaryFile(/tmp/multipartBody4241552808247071017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400543591,"filename":"image_31102025_09_03_43_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac6840dc4cf47232b4ed4ea442375937.jpg","text":"TemporaryFile(/tmp/multipartBody9176092440837819636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400543591,"filename":"image_31102025_09_03_32_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b0075809f1565d056cf945ee1705d8d.jpg","text":"TemporaryFile(/tmp/multipartBody3243916393083776387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400543591,"filename":"image_31102025_09_03_41_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840382","file1":"1396840381","file0":"1396840379","file4":"1396840384","file5":"1396840415","file3":"1396840383"},"map_files_photo_id_array":[{"photo_id":"1396840415","filename":"file5"},{"photo_id":"1396840382","filename":"file2"},{"photo_id":"1396840384","filename":"file4"},{"photo_id":"1396840381","filename":"file1"},{"photo_id":"1396840379","filename":"file0"},{"photo_id":"1396840383","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396840383":["hashtag1","hashtag2"]},{"1396840382":["hashtag1","hashtag2"]},{"1396840379":["hashtag1","hashtag2"]},{"1396840415":["hashtag1","hashtag2"]},{"1396840381":["hashtag1","hashtag2"]},{"1396840384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396840383, 1396840382, 1396840379, 1396840415, 1396840381, 1396840384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8542160987854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:15:22.738298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/06/image_29112025_08_06_24_9706.jpg', '/home/pi/Desktop/images/29112025/08/07/image_29112025_08_07_15_9807.jpg', '/home/pi/Desktop/images/29112025/08/07/image_29112025_08_07_30_15814.jpg', '/home/pi/Desktop/images/29112025/08/07/image_29112025_08_07_55_9889.jpg', '/home/pi/Desktop/images/29112025/08/07/image_29112025_08_08_04_9644.jpg', '/home/pi/Desktop/images/29112025/08/08/image_29112025_08_08_35_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/06/image_29112025_08_06_24_9706.jpg
/home/pi/Desktop/images/29112025/08/07/image_29112025_08_07_15_9807.jpg
/home/pi/Desktop/images/29112025/08/07/image_29112025_08_07_30_15814.jpg
/home/pi/Desktop/images/29112025/08/07/image_29112025_08_07_55_9889.jpg
/home/pi/Desktop/images/29112025/08/07/image_29112025_08_08_04_9644.jpg
/home/pi/Desktop/images/29112025/08/08/image_29112025_08_08_35_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":["1396840470","1396840464","1396840467","1396840461","1396840458","1396840456"],"photo_ids_order":["1396840456","1396840458","1396840461","1396840464","1396840467","1396840470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/183340189b57e54a1404cd952f9a230a.jpg","text":"TemporaryFile(/tmp/multipartBody506028007855121908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400583522,"filename":"image_29112025_08_08_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/11/29/16a7e533d7d3ca879b65b2380506c956.jpg","text":"TemporaryFile(/tmp/multipartBody6137589938961583056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400583522,"filename":"image_29112025_08_07_55_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4dee4a392498c420a9887c770572dcd9.jpg","text":"TemporaryFile(/tmp/multipartBody6084707493538152201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400583522,"filename":"image_29112025_08_08_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/11/29/27e6d982fbb209bfce3f0481336db544.jpg","text":"TemporaryFile(/tmp/multipartBody8850432282482876014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400583522,"filename":"image_29112025_08_07_30_15814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5069e13d4f104fc4c1bd9b8cf309675.jpg","text":"TemporaryFile(/tmp/multipartBody3564066186997712827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400583522,"filename":"image_29112025_08_07_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bdab43eeedbc0d2f179eacbd7188cb77.jpg","text":"TemporaryFile(/tmp/multipartBody2954155504621075379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400583522,"filename":"image_29112025_08_06_24_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840461","file1":"1396840458","file0":"1396840456","file4":"1396840467","file5":"1396840470","file3":"1396840464"},"map_files_photo_id_array":[{"photo_id":"1396840470","filename":"file5"},{"photo_id":"1396840461","filename":"file2"},{"photo_id":"1396840467","filename":"file4"},{"photo_id":"1396840458","filename":"file1"},{"photo_id":"1396840456","filename":"file0"},{"photo_id":"1396840464","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840470":["hashtag1","hashtag2"]},{"1396840464":["hashtag1","hashtag2"]},{"1396840467":["hashtag1","hashtag2"]},{"1396840461":["hashtag1","hashtag2"]},{"1396840458":["hashtag1","hashtag2"]},{"1396840456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840470, 1396840464, 1396840467, 1396840461, 1396840458, 1396840456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67661666870117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:16:02.420391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/08/image_29112025_08_08_44_9698.jpg', '/home/pi/Desktop/images/29112025/08/08/image_29112025_08_08_55_10682.jpg', '/home/pi/Desktop/images/29112025/08/08/image_29112025_08_09_05_9710.jpg', '/home/pi/Desktop/images/29112025/08/09/image_29112025_08_09_14_9713.jpg', '/home/pi/Desktop/images/29112025/08/09/image_29112025_08_09_25_10700.jpg', '/home/pi/Desktop/images/29112025/08/09/image_29112025_08_09_35_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/08/image_29112025_08_08_44_9698.jpg
/home/pi/Desktop/images/29112025/08/08/image_29112025_08_08_55_10682.jpg
/home/pi/Desktop/images/29112025/08/08/image_29112025_08_09_05_9710.jpg
/home/pi/Desktop/images/29112025/08/09/image_29112025_08_09_14_9713.jpg
/home/pi/Desktop/images/29112025/08/09/image_29112025_08_09_25_10700.jpg
/home/pi/Desktop/images/29112025/08/09/image_29112025_08_09_35_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":["1396840479","1396840473","1396840509","1396840512","1396840529","1396840480"],"photo_ids_order":["1396840473","1396840479","1396840480","1396840509","1396840512","1396840529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b204fdc3347bca5000b1304cae8f50d1.jpg","text":"TemporaryFile(/tmp/multipartBody2263468692156510604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400623190,"filename":"image_29112025_08_08_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9646dfdcd8d9be226294f2655a7552f5.jpg","text":"TemporaryFile(/tmp/multipartBody3247778801387697100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400623190,"filename":"image_29112025_08_08_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/11/29/00f46ea4b39e06da68294277449f6968.jpg","text":"TemporaryFile(/tmp/multipartBody7308314948393138343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400623190,"filename":"image_29112025_08_09_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/11/29/ca07c5011e3eb8f96a8359a119b93479.jpg","text":"TemporaryFile(/tmp/multipartBody8047795117975796701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400623190,"filename":"image_29112025_08_09_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/11/29/9a2b3d974867bbd9eb4dbfb2c3c6da09.jpg","text":"TemporaryFile(/tmp/multipartBody5642609661947468400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400623190,"filename":"image_29112025_08_09_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/11/29/33473512a5803bfe3f9d4e6083595b35.jpg","text":"TemporaryFile(/tmp/multipartBody144079149112875434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400623190,"filename":"image_29112025_08_09_05_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840480","file1":"1396840479","file0":"1396840473","file4":"1396840512","file5":"1396840529","file3":"1396840509"},"map_files_photo_id_array":[{"photo_id":"1396840529","filename":"file5"},{"photo_id":"1396840480","filename":"file2"},{"photo_id":"1396840512","filename":"file4"},{"photo_id":"1396840479","filename":"file1"},{"photo_id":"1396840473","filename":"file0"},{"photo_id":"1396840509","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840479":["hashtag1","hashtag2"]},{"1396840473":["hashtag1","hashtag2"]},{"1396840509":["hashtag1","hashtag2"]},{"1396840512":["hashtag1","hashtag2"]},{"1396840529":["hashtag1","hashtag2"]},{"1396840480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840479, 1396840473, 1396840509, 1396840512, 1396840529, 1396840480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17345881462097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:16:41.971068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_47_3662.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_50_2644.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_56_3547.jpg', '/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_59_2561.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_01_2689.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_05_3797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_47_3662.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_50_2644.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_56_3547.jpg
/home/pi/Desktop/images/31102025/09/03/image_31102025_09_03_59_2561.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_01_2689.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_05_3797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840551","1396840545","1396840542","1396840539","1396840547","1396840549"],"photo_ids_order":["1396840539","1396840542","1396840545","1396840547","1396840549","1396840551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/425b26301b97778b80c034a74c2f0caf.jpg","text":"TemporaryFile(/tmp/multipartBody5308311732326328187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400663098,"filename":"image_31102025_09_04_05_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/012002294582f876f5c1897c99d88e42.jpg","text":"TemporaryFile(/tmp/multipartBody281628991227125867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400663098,"filename":"image_31102025_09_03_56_3547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/427927ab25aa7d3270ff739d2077f16b.jpg","text":"TemporaryFile(/tmp/multipartBody3944243539147032868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400663098,"filename":"image_31102025_09_03_50_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d4a600e550a2244a04db4666db4c828.jpg","text":"TemporaryFile(/tmp/multipartBody2056132714146972024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400663098,"filename":"image_31102025_09_03_47_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/239170d157d24b458edb2d91462fe4c5.jpg","text":"TemporaryFile(/tmp/multipartBody6098867867354863423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400663098,"filename":"image_31102025_09_03_59_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e01e16148b6f7bff1ca77af316993421.jpg","text":"TemporaryFile(/tmp/multipartBody8762846989864192415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400663098,"filename":"image_31102025_09_04_01_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840545","file1":"1396840542","file0":"1396840539","file4":"1396840549","file5":"1396840551","file3":"1396840547"},"map_files_photo_id_array":[{"photo_id":"1396840551","filename":"file5"},{"photo_id":"1396840545","filename":"file2"},{"photo_id":"1396840549","filename":"file4"},{"photo_id":"1396840542","filename":"file1"},{"photo_id":"1396840539","filename":"file0"},{"photo_id":"1396840547","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396840551":["hashtag1","hashtag2"]},{"1396840545":["hashtag1","hashtag2"]},{"1396840542":["hashtag1","hashtag2"]},{"1396840539":["hashtag1","hashtag2"]},{"1396840547":["hashtag1","hashtag2"]},{"1396840549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396840551, 1396840545, 1396840542, 1396840539, 1396840547, 1396840549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79859280586243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:17:22.112490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/09/image_29112025_08_09_44_9684.jpg', '/home/pi/Desktop/images/29112025/08/09/image_29112025_08_09_54_9767.jpg', '/home/pi/Desktop/images/29112025/08/09/image_29112025_08_10_05_10840.jpg', '/home/pi/Desktop/images/29112025/08/10/image_29112025_08_10_24_9606.jpg', '/home/pi/Desktop/images/29112025/08/10/image_29112025_08_10_45_9623.jpg', '/home/pi/Desktop/images/29112025/08/11/image_29112025_08_11_15_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/09/image_29112025_08_09_44_9684.jpg
/home/pi/Desktop/images/29112025/08/09/image_29112025_08_09_54_9767.jpg
/home/pi/Desktop/images/29112025/08/09/image_29112025_08_10_05_10840.jpg
/home/pi/Desktop/images/29112025/08/10/image_29112025_08_10_24_9606.jpg
/home/pi/Desktop/images/29112025/08/10/image_29112025_08_10_45_9623.jpg
/home/pi/Desktop/images/29112025/08/11/image_29112025_08_11_15_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840572","1396840560","1396840557","1396840589","1396840553","1396840564"],"photo_ids_order":["1396840553","1396840557","1396840560","1396840564","1396840572","1396840589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ce6844caf709d049ab015e4ea35a61f.jpg","text":"TemporaryFile(/tmp/multipartBody5977825615485717613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400702868,"filename":"image_29112025_08_10_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/11/29/96dd36b0e424592d5d3006c5d07dee75.jpg","text":"TemporaryFile(/tmp/multipartBody7921067185525359602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400702868,"filename":"image_29112025_08_10_05_10840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f66c0e35b3c3505861e9ffa212fbe25.jpg","text":"TemporaryFile(/tmp/multipartBody8177768949567480605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400702868,"filename":"image_29112025_08_09_54_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d14e26f1f8e01d8c0c94cd2064c7f9e8.jpg","text":"TemporaryFile(/tmp/multipartBody4777471686865369992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400702868,"filename":"image_29112025_08_11_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/11/29/f068d8bb5eb52266b8557134b71d230a.jpg","text":"TemporaryFile(/tmp/multipartBody5749157702008991915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400702868,"filename":"image_29112025_08_09_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/11/29/d9baf45e7d50df00097d19cd7c6fbfb5.jpg","text":"TemporaryFile(/tmp/multipartBody7105809371028812048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400702868,"filename":"image_29112025_08_10_24_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840560","file1":"1396840557","file0":"1396840553","file4":"1396840572","file5":"1396840589","file3":"1396840564"},"map_files_photo_id_array":[{"photo_id":"1396840589","filename":"file5"},{"photo_id":"1396840560","filename":"file2"},{"photo_id":"1396840572","filename":"file4"},{"photo_id":"1396840557","filename":"file1"},{"photo_id":"1396840553","filename":"file0"},{"photo_id":"1396840564","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840572":["hashtag1","hashtag2"]},{"1396840560":["hashtag1","hashtag2"]},{"1396840557":["hashtag1","hashtag2"]},{"1396840589":["hashtag1","hashtag2"]},{"1396840553":["hashtag1","hashtag2"]},{"1396840564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840572, 1396840560, 1396840557, 1396840589, 1396840553, 1396840564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.966657400131226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:18:02.854821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/11/image_29112025_08_11_24_9672.jpg', '/home/pi/Desktop/images/29112025/08/11/image_29112025_08_11_34_9776.jpg', '/home/pi/Desktop/images/29112025/08/11/image_29112025_08_11_45_10792.jpg', '/home/pi/Desktop/images/29112025/08/11/image_29112025_08_11_55_9665.jpg', '/home/pi/Desktop/images/29112025/08/12/image_29112025_08_12_34_9714.jpg', '/home/pi/Desktop/images/29112025/08/12/image_29112025_08_12_54_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/11/image_29112025_08_11_24_9672.jpg
/home/pi/Desktop/images/29112025/08/11/image_29112025_08_11_34_9776.jpg
/home/pi/Desktop/images/29112025/08/11/image_29112025_08_11_45_10792.jpg
/home/pi/Desktop/images/29112025/08/11/image_29112025_08_11_55_9665.jpg
/home/pi/Desktop/images/29112025/08/12/image_29112025_08_12_34_9714.jpg
/home/pi/Desktop/images/29112025/08/12/image_29112025_08_12_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":["1396840596","1396840593","1396840602","1396840595","1396840598","1396840594"],"photo_ids_order":["1396840593","1396840594","1396840595","1396840596","1396840598","1396840602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d25c2fe3a716c11bb8c4cfe9893f8a34.jpg","text":"TemporaryFile(/tmp/multipartBody1535726396782190828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400743641,"filename":"image_29112025_08_11_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/11/29/2414c5e0bbad1a5d399bd4102da9bea9.jpg","text":"TemporaryFile(/tmp/multipartBody2341948153939584322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400743641,"filename":"image_29112025_08_11_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/11/29/243411312525906aa78ed2eb5ef02e62.jpg","text":"TemporaryFile(/tmp/multipartBody7653129375347527745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400743641,"filename":"image_29112025_08_12_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/11/29/7cbe38feffecf7d706f384635b1bdf81.jpg","text":"TemporaryFile(/tmp/multipartBody7982724727395877144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400743641,"filename":"image_29112025_08_11_45_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/010c804a4022978107113a8efafc2501.jpg","text":"TemporaryFile(/tmp/multipartBody1476817017024346489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400743641,"filename":"image_29112025_08_12_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ae8ccc7d03e75a5e2a45b5d6737dca3.jpg","text":"TemporaryFile(/tmp/multipartBody1663792678336351621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400743641,"filename":"image_29112025_08_11_34_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840595","file1":"1396840594","file0":"1396840593","file4":"1396840598","file5":"1396840602","file3":"1396840596"},"map_files_photo_id_array":[{"photo_id":"1396840602","filename":"file5"},{"photo_id":"1396840595","filename":"file2"},{"photo_id":"1396840598","filename":"file4"},{"photo_id":"1396840594","filename":"file1"},{"photo_id":"1396840593","filename":"file0"},{"photo_id":"1396840596","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840596":["hashtag1","hashtag2"]},{"1396840593":["hashtag1","hashtag2"]},{"1396840602":["hashtag1","hashtag2"]},{"1396840595":["hashtag1","hashtag2"]},{"1396840598":["hashtag1","hashtag2"]},{"1396840594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840596, 1396840593, 1396840602, 1396840595, 1396840598, 1396840594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02867031097412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:18:42.397417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_08_2655.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_11_2745.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_14_3570.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_17_2660.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_19_2523.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_23_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/09/04/image_31102025_09_04_08_2655.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_11_2745.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_14_3570.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_17_2660.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_19_2523.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_23_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":["1396840612","1396840609","1396840611","1396840610","1396840628","1396840622"],"photo_ids_order":["1396840609","1396840610","1396840611","1396840612","1396840622","1396840628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88e58650898a0206b43c6a66aaa8d139.jpg","text":"TemporaryFile(/tmp/multipartBody8697808429702543378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400783568,"filename":"image_31102025_09_04_17_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c6a3ebeac2ce5f12a43fa9aa95fd902.jpg","text":"TemporaryFile(/tmp/multipartBody3071278074418797927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400783568,"filename":"image_31102025_09_04_08_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91f2187453769d68a355dcc11ff8bb66.jpg","text":"TemporaryFile(/tmp/multipartBody4140460330028736292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400783568,"filename":"image_31102025_09_04_14_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e515be7b735c8f9b207823c339ea512d.jpg","text":"TemporaryFile(/tmp/multipartBody6296322866448513489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400783568,"filename":"image_31102025_09_04_11_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dcf2efc870cb0be9d20fffe3ae04b37f.jpg","text":"TemporaryFile(/tmp/multipartBody2750253696436024572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400783568,"filename":"image_31102025_09_04_23_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e70582bd6dd3866f630670f52061a912.jpg","text":"TemporaryFile(/tmp/multipartBody439156497411072123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400783568,"filename":"image_31102025_09_04_19_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840611","file1":"1396840610","file0":"1396840609","file4":"1396840622","file5":"1396840628","file3":"1396840612"},"map_files_photo_id_array":[{"photo_id":"1396840628","filename":"file5"},{"photo_id":"1396840611","filename":"file2"},{"photo_id":"1396840622","filename":"file4"},{"photo_id":"1396840610","filename":"file1"},{"photo_id":"1396840609","filename":"file0"},{"photo_id":"1396840612","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396840612":["hashtag1","hashtag2"]},{"1396840609":["hashtag1","hashtag2"]},{"1396840611":["hashtag1","hashtag2"]},{"1396840610":["hashtag1","hashtag2"]},{"1396840628":["hashtag1","hashtag2"]},{"1396840622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396840612, 1396840609, 1396840611, 1396840610, 1396840628, 1396840622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80214190483093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:19:22.604456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/13/image_29112025_08_13_15_9658.jpg', '/home/pi/Desktop/images/29112025/08/13/image_29112025_08_13_24_9619.jpg', '/home/pi/Desktop/images/29112025/08/13/image_29112025_08_13_34_9805.jpg', '/home/pi/Desktop/images/29112025/08/13/image_29112025_08_13_54_9564.jpg', '/home/pi/Desktop/images/29112025/08/13/image_29112025_08_14_05_10644.jpg', '/home/pi/Desktop/images/29112025/08/14/image_29112025_08_14_15_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/13/image_29112025_08_13_15_9658.jpg
/home/pi/Desktop/images/29112025/08/13/image_29112025_08_13_24_9619.jpg
/home/pi/Desktop/images/29112025/08/13/image_29112025_08_13_34_9805.jpg
/home/pi/Desktop/images/29112025/08/13/image_29112025_08_13_54_9564.jpg
/home/pi/Desktop/images/29112025/08/13/image_29112025_08_14_05_10644.jpg
/home/pi/Desktop/images/29112025/08/14/image_29112025_08_14_15_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":["1396840647","1396840632","1396840635","1396840643","1396840646","1396840640"],"photo_ids_order":["1396840632","1396840635","1396840640","1396840643","1396840646","1396840647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/643d9bf8722a02cace229ceeb67ae5be.jpg","text":"TemporaryFile(/tmp/multipartBody766561757109878032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400823363,"filename":"image_29112025_08_14_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/11/29/30b4d813472ab99521961ab8029cd4d5.jpg","text":"TemporaryFile(/tmp/multipartBody8985269881682905869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400823363,"filename":"image_29112025_08_13_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/11/29/a010fd20c1a1a4b2017e02903b2e2bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8774659727876708270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400823363,"filename":"image_29112025_08_13_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/11/29/b4ea9a265b0dd0670ca78a60d979544d.jpg","text":"TemporaryFile(/tmp/multipartBody1756514011309908958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400823363,"filename":"image_29112025_08_13_54_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96ad6ad6657efd471db31673391eb0f2.jpg","text":"TemporaryFile(/tmp/multipartBody6604063888535993065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400823363,"filename":"image_29112025_08_14_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6150f26b1af5f756d886bad7c6bb8c9f.jpg","text":"TemporaryFile(/tmp/multipartBody9155829719735449678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400823363,"filename":"image_29112025_08_13_34_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840640","file1":"1396840635","file0":"1396840632","file4":"1396840646","file5":"1396840647","file3":"1396840643"},"map_files_photo_id_array":[{"photo_id":"1396840647","filename":"file5"},{"photo_id":"1396840640","filename":"file2"},{"photo_id":"1396840646","filename":"file4"},{"photo_id":"1396840635","filename":"file1"},{"photo_id":"1396840632","filename":"file0"},{"photo_id":"1396840643","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840647":["hashtag1","hashtag2"]},{"1396840632":["hashtag1","hashtag2"]},{"1396840635":["hashtag1","hashtag2"]},{"1396840643":["hashtag1","hashtag2"]},{"1396840646":["hashtag1","hashtag2"]},{"1396840640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840647, 1396840632, 1396840635, 1396840643, 1396840646, 1396840640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.951905488967896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 08:20:12.859686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_08_2659.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_10_2656.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_14_3627.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_17_2812.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_19_2791.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_22_2754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_08_2659.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_10_2656.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_14_3627.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_17_2812.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_19_2791.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_22_2754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840659","1396840650","1396840653","1396840656","1396840661","1396840648"],"photo_ids_order":["1396840648","1396840650","1396840653","1396840656","1396840659","1396840661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bac002e692f95b9f53ef820e6927dc3.jpg","text":"TemporaryFile(/tmp/multipartBody2808260812656275376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400874969,"filename":"image_25112025_17_59_19_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/605b5adc264478b47cfb68383389b2d4.jpg","text":"TemporaryFile(/tmp/multipartBody1550448447784167144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400874969,"filename":"image_25112025_17_59_10_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c415941db31cc2f28f133e2e29dad7a.jpg","text":"TemporaryFile(/tmp/multipartBody2662345522819593929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400874969,"filename":"image_25112025_17_59_14_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a4d2b8d69a26204234070d82897d60a.jpg","text":"TemporaryFile(/tmp/multipartBody6109347936603664701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400874969,"filename":"image_25112025_17_59_17_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77f77a70df7e30202c3a2a9571f8b3f5.jpg","text":"TemporaryFile(/tmp/multipartBody6615974697714132167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400874969,"filename":"image_25112025_17_59_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/11/29/4a456ab9cf7a99eb6550e95056b8c127.jpg","text":"TemporaryFile(/tmp/multipartBody95509836324879246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400874969,"filename":"image_25112025_17_59_08_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840653","file1":"1396840650","file0":"1396840648","file4":"1396840659","file5":"1396840661","file3":"1396840656"},"map_files_photo_id_array":[{"photo_id":"1396840661","filename":"file5"},{"photo_id":"1396840653","filename":"file2"},{"photo_id":"1396840659","filename":"file4"},{"photo_id":"1396840650","filename":"file1"},{"photo_id":"1396840648","filename":"file0"},{"photo_id":"1396840656","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396840659":["hashtag1","hashtag2"]},{"1396840650":["hashtag1","hashtag2"]},{"1396840653":["hashtag1","hashtag2"]},{"1396840656":["hashtag1","hashtag2"]},{"1396840661":["hashtag1","hashtag2"]},{"1396840648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396840659, 1396840650, 1396840653, 1396840656, 1396840661, 1396840648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4682879447937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:21:02.703199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/14/image_29112025_08_14_34_9698.jpg', '/home/pi/Desktop/images/29112025/08/14/image_29112025_08_15_04_9707.jpg', '/home/pi/Desktop/images/29112025/08/15/image_29112025_08_15_14_9658.jpg', '/home/pi/Desktop/images/29112025/08/15/image_29112025_08_15_34_9662.jpg', '/home/pi/Desktop/images/29112025/08/15/image_29112025_08_15_45_10743.jpg', '/home/pi/Desktop/images/29112025/08/15/image_29112025_08_15_55_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/14/image_29112025_08_14_34_9698.jpg
/home/pi/Desktop/images/29112025/08/14/image_29112025_08_15_04_9707.jpg
/home/pi/Desktop/images/29112025/08/15/image_29112025_08_15_14_9658.jpg
/home/pi/Desktop/images/29112025/08/15/image_29112025_08_15_34_9662.jpg
/home/pi/Desktop/images/29112025/08/15/image_29112025_08_15_45_10743.jpg
/home/pi/Desktop/images/29112025/08/15/image_29112025_08_15_55_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840708","1396840698","1396840671","1396840673","1396840670","1396840672"],"photo_ids_order":["1396840670","1396840671","1396840672","1396840673","1396840698","1396840708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4553022cff6499146ef1bc79413796e.jpg","text":"TemporaryFile(/tmp/multipartBody4678041280145052363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400923630,"filename":"image_29112025_08_15_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/11/29/03dfb3d8926fe619b83fde9242908fc9.jpg","text":"TemporaryFile(/tmp/multipartBody6896356187440055235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400923630,"filename":"image_29112025_08_15_45_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2eddac755e454109e5269dc7c1540afb.jpg","text":"TemporaryFile(/tmp/multipartBody921823516450082597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400923630,"filename":"image_29112025_08_15_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/11/29/d49d153006c1c131a20c23fe029e4cd3.jpg","text":"TemporaryFile(/tmp/multipartBody7584569722915273917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400923630,"filename":"image_29112025_08_15_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb56f79e3afd0d67feb0cac677df7e4e.jpg","text":"TemporaryFile(/tmp/multipartBody3884499571971426670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400923630,"filename":"image_29112025_08_14_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/11/29/1a31a2219596aefa6017e942add2e713.jpg","text":"TemporaryFile(/tmp/multipartBody9004602873610338319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400923630,"filename":"image_29112025_08_15_14_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840672","file1":"1396840671","file0":"1396840670","file4":"1396840698","file5":"1396840708","file3":"1396840673"},"map_files_photo_id_array":[{"photo_id":"1396840708","filename":"file5"},{"photo_id":"1396840672","filename":"file2"},{"photo_id":"1396840698","filename":"file4"},{"photo_id":"1396840671","filename":"file1"},{"photo_id":"1396840670","filename":"file0"},{"photo_id":"1396840673","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840708":["hashtag1","hashtag2"]},{"1396840698":["hashtag1","hashtag2"]},{"1396840671":["hashtag1","hashtag2"]},{"1396840673":["hashtag1","hashtag2"]},{"1396840670":["hashtag1","hashtag2"]},{"1396840672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840708, 1396840698, 1396840671, 1396840673, 1396840670, 1396840672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80641984939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:21:42.049548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_26_2649.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_28_2738.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_32_3713.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_35_2689.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_37_2636.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_41_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_26_2649.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_28_2738.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_32_3713.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_35_2689.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_37_2636.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_41_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840722","1396840719","1396840718","1396840721","1396840715","1396840720"],"photo_ids_order":["1396840715","1396840718","1396840719","1396840720","1396840721","1396840722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c17ad17bcb752bd2b3c60eb6e902f32.jpg","text":"TemporaryFile(/tmp/multipartBody1270733176689739323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400963157,"filename":"image_31102025_09_04_41_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a15ce71e611b4707d61bf016e9a3456b.jpg","text":"TemporaryFile(/tmp/multipartBody7490060625731423025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400963157,"filename":"image_31102025_09_04_32_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/184a5ae062f992a5073373e748c0cb1e.jpg","text":"TemporaryFile(/tmp/multipartBody3446309940277631878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400963157,"filename":"image_31102025_09_04_28_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36c3d1471fe8debea39f57685d2ccfd5.jpg","text":"TemporaryFile(/tmp/multipartBody5682199997652114630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400963157,"filename":"image_31102025_09_04_37_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae33b2096f9c0aaa3d1240ffc97da98c.jpg","text":"TemporaryFile(/tmp/multipartBody8660367819604949929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400963157,"filename":"image_31102025_09_04_26_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b9ec27d260d2ea05bb2cf2c6c24c001.jpg","text":"TemporaryFile(/tmp/multipartBody1705860848827929618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764400963157,"filename":"image_31102025_09_04_35_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840719","file1":"1396840718","file0":"1396840715","file4":"1396840721","file5":"1396840722","file3":"1396840720"},"map_files_photo_id_array":[{"photo_id":"1396840722","filename":"file5"},{"photo_id":"1396840719","filename":"file2"},{"photo_id":"1396840721","filename":"file4"},{"photo_id":"1396840718","filename":"file1"},{"photo_id":"1396840715","filename":"file0"},{"photo_id":"1396840720","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396840722":["hashtag1","hashtag2"]},{"1396840719":["hashtag1","hashtag2"]},{"1396840718":["hashtag1","hashtag2"]},{"1396840721":["hashtag1","hashtag2"]},{"1396840715":["hashtag1","hashtag2"]},{"1396840720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396840722, 1396840719, 1396840718, 1396840721, 1396840715, 1396840720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55545926094055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:22:22.238269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/15/image_29112025_08_16_04_9677.jpg', '/home/pi/Desktop/images/29112025/08/16/image_29112025_08_16_25_9659.jpg', '/home/pi/Desktop/images/29112025/08/16/image_29112025_08_16_34_9692.jpg', '/home/pi/Desktop/images/29112025/08/16/image_29112025_08_16_44_9731.jpg', '/home/pi/Desktop/images/29112025/08/16/image_29112025_08_16_55_10689.jpg', '/home/pi/Desktop/images/29112025/08/17/image_29112025_08_17_14_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/15/image_29112025_08_16_04_9677.jpg
/home/pi/Desktop/images/29112025/08/16/image_29112025_08_16_25_9659.jpg
/home/pi/Desktop/images/29112025/08/16/image_29112025_08_16_34_9692.jpg
/home/pi/Desktop/images/29112025/08/16/image_29112025_08_16_44_9731.jpg
/home/pi/Desktop/images/29112025/08/16/image_29112025_08_16_55_10689.jpg
/home/pi/Desktop/images/29112025/08/17/image_29112025_08_17_14_9838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840726","1396840731","1396840728","1396840741","1396840735","1396840738"],"photo_ids_order":["1396840726","1396840728","1396840731","1396840735","1396840738","1396840741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/079f4227b956bfbe7dda056536560bab.jpg","text":"TemporaryFile(/tmp/multipartBody4910229920670332576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401002949,"filename":"image_29112025_08_16_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/11/29/2c31177ba1ed6ede82b72461dc6df4c4.jpg","text":"TemporaryFile(/tmp/multipartBody3465194721064394360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401002949,"filename":"image_29112025_08_16_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/11/29/ae8a38d8ac55965c94d8ad946226f617.jpg","text":"TemporaryFile(/tmp/multipartBody6097232202111367013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401002949,"filename":"image_29112025_08_16_25_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/275efba18b44cac8113fec7acafed677.jpg","text":"TemporaryFile(/tmp/multipartBody6429372033620380111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401002949,"filename":"image_29112025_08_17_14_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a16f27a5b3b7983c3083105ccd17968.jpg","text":"TemporaryFile(/tmp/multipartBody3195285885740124638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401002949,"filename":"image_29112025_08_16_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/11/29/35c45cf4caa5dc123609f2e06ac61248.jpg","text":"TemporaryFile(/tmp/multipartBody7057501099616549515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401002949,"filename":"image_29112025_08_16_55_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840731","file1":"1396840728","file0":"1396840726","file4":"1396840738","file5":"1396840741","file3":"1396840735"},"map_files_photo_id_array":[{"photo_id":"1396840741","filename":"file5"},{"photo_id":"1396840731","filename":"file2"},{"photo_id":"1396840738","filename":"file4"},{"photo_id":"1396840728","filename":"file1"},{"photo_id":"1396840726","filename":"file0"},{"photo_id":"1396840735","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840726":["hashtag1","hashtag2"]},{"1396840731":["hashtag1","hashtag2"]},{"1396840728":["hashtag1","hashtag2"]},{"1396840741":["hashtag1","hashtag2"]},{"1396840735":["hashtag1","hashtag2"]},{"1396840738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840726, 1396840731, 1396840728, 1396840741, 1396840735, 1396840738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.067086696624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:23:03.090254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/18/image_29112025_08_18_15_9651.jpg', '/home/pi/Desktop/images/29112025/08/18/image_29112025_08_18_24_9666.jpg', '/home/pi/Desktop/images/29112025/08/18/image_29112025_08_18_34_9779.jpg', '/home/pi/Desktop/images/29112025/08/18/image_29112025_08_18_45_10671.jpg', '/home/pi/Desktop/images/29112025/08/18/image_29112025_08_18_55_9809.jpg', '/home/pi/Desktop/images/29112025/08/18/image_29112025_08_19_04_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/18/image_29112025_08_18_15_9651.jpg
/home/pi/Desktop/images/29112025/08/18/image_29112025_08_18_24_9666.jpg
/home/pi/Desktop/images/29112025/08/18/image_29112025_08_18_34_9779.jpg
/home/pi/Desktop/images/29112025/08/18/image_29112025_08_18_45_10671.jpg
/home/pi/Desktop/images/29112025/08/18/image_29112025_08_18_55_9809.jpg
/home/pi/Desktop/images/29112025/08/18/image_29112025_08_19_04_9872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840743","1396840749","1396840742","1396840745","1396840753","1396840744"],"photo_ids_order":["1396840742","1396840743","1396840744","1396840745","1396840749","1396840753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f040fe650ca5b05516662c355e25523.jpg","text":"TemporaryFile(/tmp/multipartBody4012741005369561891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401043993,"filename":"image_29112025_08_18_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/11/29/ec15cab3a90ab7691ef57c4b18e8b1ff.jpg","text":"TemporaryFile(/tmp/multipartBody781637875839310161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401043993,"filename":"image_29112025_08_18_55_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9673e6db589089e029279aaa0c0b9dce.jpg","text":"TemporaryFile(/tmp/multipartBody1067144048080471030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401043993,"filename":"image_29112025_08_18_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/681838b7a687b374d35735eb75a7a499.jpg","text":"TemporaryFile(/tmp/multipartBody8342539711670182887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401043993,"filename":"image_29112025_08_18_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e32f55675921d2155b93a069b10e5535.jpg","text":"TemporaryFile(/tmp/multipartBody4944753979772524328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401043993,"filename":"image_29112025_08_19_04_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7933d373c233ac7c36f42fb80fdb7d71.jpg","text":"TemporaryFile(/tmp/multipartBody4878971481810263615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401043993,"filename":"image_29112025_08_18_34_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840744","file1":"1396840743","file0":"1396840742","file4":"1396840749","file5":"1396840753","file3":"1396840745"},"map_files_photo_id_array":[{"photo_id":"1396840753","filename":"file5"},{"photo_id":"1396840744","filename":"file2"},{"photo_id":"1396840749","filename":"file4"},{"photo_id":"1396840743","filename":"file1"},{"photo_id":"1396840742","filename":"file0"},{"photo_id":"1396840745","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840743":["hashtag1","hashtag2"]},{"1396840749":["hashtag1","hashtag2"]},{"1396840742":["hashtag1","hashtag2"]},{"1396840745":["hashtag1","hashtag2"]},{"1396840753":["hashtag1","hashtag2"]},{"1396840744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840743, 1396840749, 1396840742, 1396840745, 1396840753, 1396840744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.144932985305786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:23:42.477274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_44_2741.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_47_2663.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_49_2688.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_53_3607.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_55_2634.jpg', '/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_59_3582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_44_2741.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_47_2663.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_49_2688.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_53_3607.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_55_2634.jpg
/home/pi/Desktop/images/31102025/09/04/image_31102025_09_04_59_3582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840794","1396840788","1396840797","1396840796","1396840795","1396840798"],"photo_ids_order":["1396840788","1396840794","1396840795","1396840796","1396840797","1396840798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d89a7feaa4cc4b91fd4f601bf4688369.jpg","text":"TemporaryFile(/tmp/multipartBody837738636202039849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401083604,"filename":"image_31102025_09_04_47_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a21becbf019b87f27eb6d5c3340f2e26.jpg","text":"TemporaryFile(/tmp/multipartBody2608452256328474228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401083604,"filename":"image_31102025_09_04_44_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef96c7c05e171592af7be10a51f6108c.jpg","text":"TemporaryFile(/tmp/multipartBody8912356768260706979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401083604,"filename":"image_31102025_09_04_55_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e670035eb062e857ea42f87c8a4cf29.jpg","text":"TemporaryFile(/tmp/multipartBody6990229906686336381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401083604,"filename":"image_31102025_09_04_53_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a81c913b8773e3a60c8f9532c0b7318.jpg","text":"TemporaryFile(/tmp/multipartBody1998038833305602720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401083604,"filename":"image_31102025_09_04_49_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7275585481fa457f97e2ae245300706d.jpg","text":"TemporaryFile(/tmp/multipartBody2453925676459124182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401083604,"filename":"image_31102025_09_04_59_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840795","file1":"1396840794","file0":"1396840788","file4":"1396840797","file5":"1396840798","file3":"1396840796"},"map_files_photo_id_array":[{"photo_id":"1396840798","filename":"file5"},{"photo_id":"1396840795","filename":"file2"},{"photo_id":"1396840797","filename":"file4"},{"photo_id":"1396840794","filename":"file1"},{"photo_id":"1396840788","filename":"file0"},{"photo_id":"1396840796","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396840794":["hashtag1","hashtag2"]},{"1396840788":["hashtag1","hashtag2"]},{"1396840797":["hashtag1","hashtag2"]},{"1396840796":["hashtag1","hashtag2"]},{"1396840795":["hashtag1","hashtag2"]},{"1396840798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396840794, 1396840788, 1396840797, 1396840796, 1396840795, 1396840798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22634935379028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:24:27.944363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/20/image_29112025_08_20_44_9778.jpg', '/home/pi/Desktop/images/29112025/08/21/image_29112025_08_21_35_10596.jpg', '/home/pi/Desktop/images/29112025/08/21/image_29112025_08_21_44_9665.jpg', '/home/pi/Desktop/images/29112025/08/21/image_29112025_08_21_55_10558.jpg', '/home/pi/Desktop/images/29112025/08/21/image_29112025_08_22_05_10002.jpg', '/home/pi/Desktop/images/29112025/08/22/image_29112025_08_22_14_9050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/20/image_29112025_08_20_44_9778.jpg
/home/pi/Desktop/images/29112025/08/21/image_29112025_08_21_35_10596.jpg
/home/pi/Desktop/images/29112025/08/21/image_29112025_08_21_44_9665.jpg
/home/pi/Desktop/images/29112025/08/21/image_29112025_08_21_55_10558.jpg
/home/pi/Desktop/images/29112025/08/21/image_29112025_08_22_05_10002.jpg
/home/pi/Desktop/images/29112025/08/22/image_29112025_08_22_14_9050.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840810","1396840804","1396840807","1396840815","1396840818","1396840820"],"photo_ids_order":["1396840804","1396840807","1396840810","1396840815","1396840818","1396840820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf506ddca69f3b55fe8477478278015b.jpg","text":"TemporaryFile(/tmp/multipartBody8702811771164283056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401128695,"filename":"image_29112025_08_21_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/11/29/cff36eedeffbdae76d11da87a877f455.jpg","text":"TemporaryFile(/tmp/multipartBody602556680617122241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401128695,"filename":"image_29112025_08_20_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/11/29/c7d7bbbc72189fffc133b8b5d6232fc8.jpg","text":"TemporaryFile(/tmp/multipartBody6070214246273130506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401128695,"filename":"image_29112025_08_21_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afee27374831b3c1a5aec7c2904cbebb.jpg","text":"TemporaryFile(/tmp/multipartBody6493580386285295857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401128695,"filename":"image_29112025_08_21_55_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d7c63370e35bc972c74c356d29c0155.jpg","text":"TemporaryFile(/tmp/multipartBody195281809441230264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401128695,"filename":"image_29112025_08_22_05_10002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16a94db1b75d1cba0d88a12f7c386ac8.jpg","text":"TemporaryFile(/tmp/multipartBody8387143603393573879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401128695,"filename":"image_29112025_08_22_14_9050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840810","file1":"1396840807","file0":"1396840804","file4":"1396840818","file5":"1396840820","file3":"1396840815"},"map_files_photo_id_array":[{"photo_id":"1396840820","filename":"file5"},{"photo_id":"1396840810","filename":"file2"},{"photo_id":"1396840818","filename":"file4"},{"photo_id":"1396840807","filename":"file1"},{"photo_id":"1396840804","filename":"file0"},{"photo_id":"1396840815","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396840810":["hashtag1","hashtag2"]},{"1396840804":["hashtag1","hashtag2"]},{"1396840807":["hashtag1","hashtag2"]},{"1396840815":["hashtag1","hashtag2"]},{"1396840818":["hashtag1","hashtag2"]},{"1396840820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396840810, 1396840804, 1396840807, 1396840815, 1396840818, 1396840820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39454889297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 08:25:12.258116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_26_3620.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_28_2643.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_32_3600.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_35_2691.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_37_2524.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_41_3628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_26_3620.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_28_2643.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_32_3600.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_35_2691.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_37_2524.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_41_3628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396840890","1396840824","1396840932","1396840827","1396840841","1396840822"],"photo_ids_order":["1396840822","1396840824","1396840827","1396840841","1396840890","1396840932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27f418cf4ed162316d5453b54372c044.jpg","text":"TemporaryFile(/tmp/multipartBody3480997320384676956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401174372,"filename":"image_25112025_17_59_37_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f1c772787e3cffc2c0e25de6325ad7e.jpg","text":"TemporaryFile(/tmp/multipartBody5724753412760423430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401174372,"filename":"image_25112025_17_59_28_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3939c70652c4ca2976aabde43b87ae65.jpg","text":"TemporaryFile(/tmp/multipartBody2924688829334527442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401174372,"filename":"image_25112025_17_59_41_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c89afc11abb7ef67064da3b9b7b39d21.jpg","text":"TemporaryFile(/tmp/multipartBody4271330892451364720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401174372,"filename":"image_25112025_17_59_32_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b8fd07d4caa85aa4937d0b0704461a7.jpg","text":"TemporaryFile(/tmp/multipartBody8058830777147419794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401174372,"filename":"image_25112025_17_59_35_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb686b1dbf908eae714600c7cf042bb7.jpg","text":"TemporaryFile(/tmp/multipartBody5392970554973266443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401174372,"filename":"image_25112025_17_59_26_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396840827","file1":"1396840824","file0":"1396840822","file4":"1396840890","file5":"1396840932","file3":"1396840841"},"map_files_photo_id_array":[{"photo_id":"1396840932","filename":"file5"},{"photo_id":"1396840827","filename":"file2"},{"photo_id":"1396840890","filename":"file4"},{"photo_id":"1396840824","filename":"file1"},{"photo_id":"1396840822","filename":"file0"},{"photo_id":"1396840841","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396840890":["hashtag1","hashtag2"]},{"1396840824":["hashtag1","hashtag2"]},{"1396840932":["hashtag1","hashtag2"]},{"1396840827":["hashtag1","hashtag2"]},{"1396840841":["hashtag1","hashtag2"]},{"1396840822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396840890, 1396840824, 1396840932, 1396840827, 1396840841, 1396840822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22440457344055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:26:02.889294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/22/image_29112025_08_22_25_10779.jpg', '/home/pi/Desktop/images/29112025/08/22/image_29112025_08_22_54_9845.jpg', '/home/pi/Desktop/images/29112025/08/22/image_29112025_08_23_05_10701.jpg', '/home/pi/Desktop/images/29112025/08/23/image_29112025_08_23_15_9789.jpg', '/home/pi/Desktop/images/29112025/08/23/image_29112025_08_23_24_9718.jpg', '/home/pi/Desktop/images/29112025/08/23/image_29112025_08_23_34_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/22/image_29112025_08_22_25_10779.jpg
/home/pi/Desktop/images/29112025/08/22/image_29112025_08_22_54_9845.jpg
/home/pi/Desktop/images/29112025/08/22/image_29112025_08_23_05_10701.jpg
/home/pi/Desktop/images/29112025/08/23/image_29112025_08_23_15_9789.jpg
/home/pi/Desktop/images/29112025/08/23/image_29112025_08_23_24_9718.jpg
/home/pi/Desktop/images/29112025/08/23/image_29112025_08_23_34_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":["1396841162","1396841159","1396841167","1396841161","1396841164","1396841140"],"photo_ids_order":["1396841140","1396841159","1396841161","1396841162","1396841164","1396841167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0e6434b3d7def9df4b6881e6e8c56d3.jpg","text":"TemporaryFile(/tmp/multipartBody3572251298279933578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401223701,"filename":"image_29112025_08_23_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/11/29/0ef0699720ba3933126ef4707c5e4de0.jpg","text":"TemporaryFile(/tmp/multipartBody8332179407269801587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401223701,"filename":"image_29112025_08_22_54_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b04f20cd44eadd1c43dd8068f196809a.jpg","text":"TemporaryFile(/tmp/multipartBody8717721358744428365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401223701,"filename":"image_29112025_08_23_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ea42e092b75cca563feee51717104af.jpg","text":"TemporaryFile(/tmp/multipartBody6014851357821680774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401223701,"filename":"image_29112025_08_23_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/11/29/eae4245f867ddf4e4b6844c5050c707c.jpg","text":"TemporaryFile(/tmp/multipartBody5401279307002891381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401223701,"filename":"image_29112025_08_23_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/11/29/2923b4153f319d333ccf0916fa2ec147.jpg","text":"TemporaryFile(/tmp/multipartBody3650733473194787353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401223701,"filename":"image_29112025_08_22_25_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841161","file1":"1396841159","file0":"1396841140","file4":"1396841164","file5":"1396841167","file3":"1396841162"},"map_files_photo_id_array":[{"photo_id":"1396841167","filename":"file5"},{"photo_id":"1396841161","filename":"file2"},{"photo_id":"1396841164","filename":"file4"},{"photo_id":"1396841159","filename":"file1"},{"photo_id":"1396841140","filename":"file0"},{"photo_id":"1396841162","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841162":["hashtag1","hashtag2"]},{"1396841159":["hashtag1","hashtag2"]},{"1396841167":["hashtag1","hashtag2"]},{"1396841161":["hashtag1","hashtag2"]},{"1396841164":["hashtag1","hashtag2"]},{"1396841140":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841162, 1396841159, 1396841167, 1396841161, 1396841164, 1396841140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.674697399139404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:26:42.458541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_02_2820.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_05_2782.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_07_2756.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_14_6239.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_15_1682.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_17_1714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_02_2820.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_05_2782.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_07_2756.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_14_6239.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_15_1682.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_17_1714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841181","1396841180","1396841182","1396841176","1396841179","1396841184"],"photo_ids_order":["1396841176","1396841179","1396841180","1396841181","1396841182","1396841184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32b91d8a20a044b2268c8e565e1d5679.jpg","text":"TemporaryFile(/tmp/multipartBody4445892792829799274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401263554,"filename":"image_31102025_09_05_14_6239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40b9b2100055806375cd8333eb56ac86.jpg","text":"TemporaryFile(/tmp/multipartBody4430903185931974172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401263554,"filename":"image_31102025_09_05_07_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f906a437ecabaf9d3a57830fe2a895ec.jpg","text":"TemporaryFile(/tmp/multipartBody3392139611408045707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401263554,"filename":"image_31102025_09_05_15_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15137c6258e13be84f32232bbdee9831.jpg","text":"TemporaryFile(/tmp/multipartBody4933630467102252843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401263554,"filename":"image_31102025_09_05_02_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9090bfa74512af3cba8f5c8a87ea6470.jpg","text":"TemporaryFile(/tmp/multipartBody6245659082325624844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401263554,"filename":"image_31102025_09_05_05_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15156a2db3d529894a75ca1ecbb1bd7b.jpg","text":"TemporaryFile(/tmp/multipartBody4373540198832548344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401263554,"filename":"image_31102025_09_05_17_1714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841180","file1":"1396841179","file0":"1396841176","file4":"1396841182","file5":"1396841184","file3":"1396841181"},"map_files_photo_id_array":[{"photo_id":"1396841184","filename":"file5"},{"photo_id":"1396841180","filename":"file2"},{"photo_id":"1396841182","filename":"file4"},{"photo_id":"1396841179","filename":"file1"},{"photo_id":"1396841176","filename":"file0"},{"photo_id":"1396841181","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396841181":["hashtag1","hashtag2"]},{"1396841180":["hashtag1","hashtag2"]},{"1396841182":["hashtag1","hashtag2"]},{"1396841176":["hashtag1","hashtag2"]},{"1396841179":["hashtag1","hashtag2"]},{"1396841184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396841181, 1396841180, 1396841182, 1396841176, 1396841179, 1396841184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.564124584198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:27:22.654509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/23/image_29112025_08_23_45_10726.jpg', '/home/pi/Desktop/images/29112025/08/23/image_29112025_08_24_04_9626.jpg', '/home/pi/Desktop/images/29112025/08/24/image_29112025_08_24_25_9596.jpg', '/home/pi/Desktop/images/29112025/08/24/image_29112025_08_24_45_10503.jpg', '/home/pi/Desktop/images/29112025/08/24/image_29112025_08_24_54_9697.jpg', '/home/pi/Desktop/images/29112025/08/25/image_29112025_08_25_08_13311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/23/image_29112025_08_23_45_10726.jpg
/home/pi/Desktop/images/29112025/08/23/image_29112025_08_24_04_9626.jpg
/home/pi/Desktop/images/29112025/08/24/image_29112025_08_24_25_9596.jpg
/home/pi/Desktop/images/29112025/08/24/image_29112025_08_24_45_10503.jpg
/home/pi/Desktop/images/29112025/08/24/image_29112025_08_24_54_9697.jpg
/home/pi/Desktop/images/29112025/08/25/image_29112025_08_25_08_13311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841188","1396841196","1396841199","1396841190","1396841203","1396841193"],"photo_ids_order":["1396841188","1396841190","1396841193","1396841196","1396841199","1396841203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36ac138b0e77d5062c91c5a0f370f85e.jpg","text":"TemporaryFile(/tmp/multipartBody1612492907293997377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401303408,"filename":"image_29112025_08_23_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/11/29/781669af74c5d982220faeda32e7664a.jpg","text":"TemporaryFile(/tmp/multipartBody7693742083573726350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401303408,"filename":"image_29112025_08_24_45_10503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1396f7e0a2e583c4f92653633720b3d.jpg","text":"TemporaryFile(/tmp/multipartBody9023222162317281080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401303408,"filename":"image_29112025_08_24_54_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5997224b9285b33df1923b20f7e625fa.jpg","text":"TemporaryFile(/tmp/multipartBody7858970486826313368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401303408,"filename":"image_29112025_08_24_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c59492b11cc1e9553531c90888dbb6f.jpg","text":"TemporaryFile(/tmp/multipartBody868725768333986809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401303408,"filename":"image_29112025_08_25_08_13311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45567fc5224d89216cc539888b441540.jpg","text":"TemporaryFile(/tmp/multipartBody6447841852536136081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401303408,"filename":"image_29112025_08_24_25_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841193","file1":"1396841190","file0":"1396841188","file4":"1396841199","file5":"1396841203","file3":"1396841196"},"map_files_photo_id_array":[{"photo_id":"1396841203","filename":"file5"},{"photo_id":"1396841193","filename":"file2"},{"photo_id":"1396841199","filename":"file4"},{"photo_id":"1396841190","filename":"file1"},{"photo_id":"1396841188","filename":"file0"},{"photo_id":"1396841196","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841188":["hashtag1","hashtag2"]},{"1396841196":["hashtag1","hashtag2"]},{"1396841199":["hashtag1","hashtag2"]},{"1396841190":["hashtag1","hashtag2"]},{"1396841203":["hashtag1","hashtag2"]},{"1396841193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841188, 1396841196, 1396841199, 1396841190, 1396841203, 1396841193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61028552055359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:28:03.353892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/25/image_29112025_08_25_14_6692.jpg', '/home/pi/Desktop/images/29112025/08/25/image_29112025_08_25_24_9793.jpg', '/home/pi/Desktop/images/29112025/08/25/image_29112025_08_25_35_10730.jpg', '/home/pi/Desktop/images/29112025/08/25/image_29112025_08_25_54_9640.jpg', '/home/pi/Desktop/images/29112025/08/25/image_29112025_08_26_05_10732.jpg', '/home/pi/Desktop/images/29112025/08/26/image_29112025_08_26_15_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/25/image_29112025_08_25_14_6692.jpg
/home/pi/Desktop/images/29112025/08/25/image_29112025_08_25_24_9793.jpg
/home/pi/Desktop/images/29112025/08/25/image_29112025_08_25_35_10730.jpg
/home/pi/Desktop/images/29112025/08/25/image_29112025_08_25_54_9640.jpg
/home/pi/Desktop/images/29112025/08/25/image_29112025_08_26_05_10732.jpg
/home/pi/Desktop/images/29112025/08/26/image_29112025_08_26_15_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":["1396841214","1396841211","1396841205","1396841207","1396841206","1396841209"],"photo_ids_order":["1396841205","1396841206","1396841207","1396841209","1396841211","1396841214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79268b820cbc6dca668da56e4478cf46.jpg","text":"TemporaryFile(/tmp/multipartBody6440207585181262717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401344117,"filename":"image_29112025_08_26_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/11/29/873b7a711c725e873e18c2b9cad33573.jpg","text":"TemporaryFile(/tmp/multipartBody931175507362681946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401344117,"filename":"image_29112025_08_26_05_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc499ef273ee8040fdca568216e3afb9.jpg","text":"TemporaryFile(/tmp/multipartBody6461933876355055028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401344117,"filename":"image_29112025_08_25_14_6692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04f86886180e3018cf98d9d5c29b2d75.jpg","text":"TemporaryFile(/tmp/multipartBody5884537686430834727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401344117,"filename":"image_29112025_08_25_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f13135c2b8ccf2f20a94f0cc881f359.jpg","text":"TemporaryFile(/tmp/multipartBody231044255330706266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401344117,"filename":"image_29112025_08_25_24_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b0237ac909d877ce302368bdb4d2200.jpg","text":"TemporaryFile(/tmp/multipartBody5774313662114138510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401344117,"filename":"image_29112025_08_25_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841207","file1":"1396841206","file0":"1396841205","file4":"1396841211","file5":"1396841214","file3":"1396841209"},"map_files_photo_id_array":[{"photo_id":"1396841214","filename":"file5"},{"photo_id":"1396841207","filename":"file2"},{"photo_id":"1396841211","filename":"file4"},{"photo_id":"1396841206","filename":"file1"},{"photo_id":"1396841205","filename":"file0"},{"photo_id":"1396841209","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841214":["hashtag1","hashtag2"]},{"1396841211":["hashtag1","hashtag2"]},{"1396841205":["hashtag1","hashtag2"]},{"1396841207":["hashtag1","hashtag2"]},{"1396841206":["hashtag1","hashtag2"]},{"1396841209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841214, 1396841211, 1396841205, 1396841207, 1396841206, 1396841209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24365520477295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:28:42.888512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_20_2671.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_22_2721.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_25_2728.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_29_3759.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_32_2811.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_34_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_20_2671.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_22_2721.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_25_2728.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_29_3759.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_32_2811.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_34_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841229","1396841223","1396841226","1396841225","1396841228","1396841227"],"photo_ids_order":["1396841223","1396841225","1396841226","1396841227","1396841228","1396841229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74961a42d40fdcc847dc8ab62cfc7e06.jpg","text":"TemporaryFile(/tmp/multipartBody8468029740266616735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401383975,"filename":"image_31102025_09_05_34_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a31799bcf261d39742037d471e405a5.jpg","text":"TemporaryFile(/tmp/multipartBody8917615042209083303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401383975,"filename":"image_31102025_09_05_20_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/996f9aaff8c23b519be24d1519610892.jpg","text":"TemporaryFile(/tmp/multipartBody501395380105390242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401383975,"filename":"image_31102025_09_05_25_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dba30b5fa8b496789684e922b4ca0543.jpg","text":"TemporaryFile(/tmp/multipartBody3707056340309955097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401383975,"filename":"image_31102025_09_05_22_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd62eac6571095d036b3ce4e4918171d.jpg","text":"TemporaryFile(/tmp/multipartBody659815631135921640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401383975,"filename":"image_31102025_09_05_32_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/471fd159d169f9690cf697f484863ad2.jpg","text":"TemporaryFile(/tmp/multipartBody185335571531933269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401383975,"filename":"image_31102025_09_05_29_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841226","file1":"1396841225","file0":"1396841223","file4":"1396841228","file5":"1396841229","file3":"1396841227"},"map_files_photo_id_array":[{"photo_id":"1396841229","filename":"file5"},{"photo_id":"1396841226","filename":"file2"},{"photo_id":"1396841228","filename":"file4"},{"photo_id":"1396841225","filename":"file1"},{"photo_id":"1396841223","filename":"file0"},{"photo_id":"1396841227","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396841229":["hashtag1","hashtag2"]},{"1396841223":["hashtag1","hashtag2"]},{"1396841226":["hashtag1","hashtag2"]},{"1396841225":["hashtag1","hashtag2"]},{"1396841228":["hashtag1","hashtag2"]},{"1396841227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396841229, 1396841223, 1396841226, 1396841225, 1396841228, 1396841227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.80028247833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 08:29:32.039271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_43_2497.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_47_3585.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_50_2761.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_52_2705.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_56_3596.jpg', '/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_59_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_43_2497.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_47_3585.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_50_2761.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_52_2705.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_56_3596.jpg
/home/pi/Desktop/images/25112025/17/59/image_25112025_17_59_59_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":["1396841256","1396841241","1396841238","1396841246","1396841255","1396841257"],"photo_ids_order":["1396841238","1396841241","1396841246","1396841255","1396841256","1396841257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed3a6b920fc74f695a4ff5183ff1f4a7.jpg","text":"TemporaryFile(/tmp/multipartBody9168702987787935191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401434270,"filename":"image_25112025_17_59_56_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf8f3447516af1f785179e54dbcfb50c.jpg","text":"TemporaryFile(/tmp/multipartBody1891528785341050918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401434270,"filename":"image_25112025_17_59_47_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6344b895ecb4988c2824e66e34f42cf0.jpg","text":"TemporaryFile(/tmp/multipartBody3475451512742584684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401434270,"filename":"image_25112025_17_59_43_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15c5ce403f6e33abf66820a1bb5aa162.jpg","text":"TemporaryFile(/tmp/multipartBody9213807570472947172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401434270,"filename":"image_25112025_17_59_50_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9302fa1c8ac34f408be3de94766ae08.jpg","text":"TemporaryFile(/tmp/multipartBody8315093643443641339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401434270,"filename":"image_25112025_17_59_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/11/29/1c915e8bdc5be3ea3478c71d4abdc7f3.jpg","text":"TemporaryFile(/tmp/multipartBody4959309433436234367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401434270,"filename":"image_25112025_17_59_59_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841246","file1":"1396841241","file0":"1396841238","file4":"1396841256","file5":"1396841257","file3":"1396841255"},"map_files_photo_id_array":[{"photo_id":"1396841257","filename":"file5"},{"photo_id":"1396841246","filename":"file2"},{"photo_id":"1396841256","filename":"file4"},{"photo_id":"1396841241","filename":"file1"},{"photo_id":"1396841238","filename":"file0"},{"photo_id":"1396841255","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396841256":["hashtag1","hashtag2"]},{"1396841241":["hashtag1","hashtag2"]},{"1396841238":["hashtag1","hashtag2"]},{"1396841246":["hashtag1","hashtag2"]},{"1396841255":["hashtag1","hashtag2"]},{"1396841257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396841256, 1396841241, 1396841238, 1396841246, 1396841255, 1396841257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27896523475647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 08:30:12.258137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_07_3010.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_11_3701.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_14_2655.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_16_2693.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_20_3783.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_23_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_07_3010.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_11_3701.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_14_2655.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_16_2693.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_20_3783.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_23_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841268","1396841262","1396841258","1396841260","1396841271","1396841265"],"photo_ids_order":["1396841258","1396841260","1396841262","1396841265","1396841268","1396841271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d43979795ae7598a30a17e74c564c39.jpg","text":"TemporaryFile(/tmp/multipartBody2298541215820718703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401474363,"filename":"image_25112025_18_00_20_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4487158235c290cc3446dd5ce53a613d.jpg","text":"TemporaryFile(/tmp/multipartBody2603857994543192942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401474363,"filename":"image_25112025_18_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/11/29/85f734ac9467faffdc74498a35eb1e5c.jpg","text":"TemporaryFile(/tmp/multipartBody8661041812108495412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401474363,"filename":"image_25112025_18_00_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4c5896c52c72a9e64131649517a6877.jpg","text":"TemporaryFile(/tmp/multipartBody5236860092535645357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401474363,"filename":"image_25112025_18_00_11_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/981aa58bfe80735510acd7efcf8de0a7.jpg","text":"TemporaryFile(/tmp/multipartBody4944062944822423809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401474363,"filename":"image_25112025_18_00_23_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df054415a6dc202688c8a161a80c7300.jpg","text":"TemporaryFile(/tmp/multipartBody8384475497436537580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401474363,"filename":"image_25112025_18_00_16_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841262","file1":"1396841260","file0":"1396841258","file4":"1396841268","file5":"1396841271","file3":"1396841265"},"map_files_photo_id_array":[{"photo_id":"1396841271","filename":"file5"},{"photo_id":"1396841262","filename":"file2"},{"photo_id":"1396841268","filename":"file4"},{"photo_id":"1396841260","filename":"file1"},{"photo_id":"1396841258","filename":"file0"},{"photo_id":"1396841265","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396841268":["hashtag1","hashtag2"]},{"1396841262":["hashtag1","hashtag2"]},{"1396841258":["hashtag1","hashtag2"]},{"1396841260":["hashtag1","hashtag2"]},{"1396841271":["hashtag1","hashtag2"]},{"1396841265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396841268, 1396841262, 1396841258, 1396841260, 1396841271, 1396841265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96062111854553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:31:02.958261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/26/image_29112025_08_26_25_9601.jpg', '/home/pi/Desktop/images/29112025/08/26/image_29112025_08_26_34_9915.jpg', '/home/pi/Desktop/images/29112025/08/26/image_29112025_08_26_55_10645.jpg', '/home/pi/Desktop/images/29112025/08/26/image_29112025_08_27_05_9802.jpg', '/home/pi/Desktop/images/29112025/08/27/image_29112025_08_27_14_9598.jpg', '/home/pi/Desktop/images/29112025/08/27/image_29112025_08_27_25_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/26/image_29112025_08_26_25_9601.jpg
/home/pi/Desktop/images/29112025/08/26/image_29112025_08_26_34_9915.jpg
/home/pi/Desktop/images/29112025/08/26/image_29112025_08_26_55_10645.jpg
/home/pi/Desktop/images/29112025/08/26/image_29112025_08_27_05_9802.jpg
/home/pi/Desktop/images/29112025/08/27/image_29112025_08_27_14_9598.jpg
/home/pi/Desktop/images/29112025/08/27/image_29112025_08_27_25_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841280","1396841276","1396841278","1396841283","1396841277","1396841286"],"photo_ids_order":["1396841276","1396841277","1396841278","1396841280","1396841283","1396841286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff14a9780a1cc601ff09b62f9c1fee74.jpg","text":"TemporaryFile(/tmp/multipartBody8676787153706701675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401523825,"filename":"image_29112025_08_27_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/11/29/b7483a00234f8a2352276cd89cfc2a5a.jpg","text":"TemporaryFile(/tmp/multipartBody2513945306918858406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401523825,"filename":"image_29112025_08_26_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/11/29/22d32e6177a82be4e27522311a27c8bc.jpg","text":"TemporaryFile(/tmp/multipartBody6127169209986230607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401523825,"filename":"image_29112025_08_26_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ebf7921bdd6add15821c382ba8f17e23.jpg","text":"TemporaryFile(/tmp/multipartBody73424542504872061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401523825,"filename":"image_29112025_08_27_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/11/29/1abd4992b540f905812cbf64c9f81215.jpg","text":"TemporaryFile(/tmp/multipartBody8992284587423511927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401523825,"filename":"image_29112025_08_26_34_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddeb1b267f80bcdec5ae3809ee33555b.jpg","text":"TemporaryFile(/tmp/multipartBody1942546017551531158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401523825,"filename":"image_29112025_08_27_25_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841278","file1":"1396841277","file0":"1396841276","file4":"1396841283","file5":"1396841286","file3":"1396841280"},"map_files_photo_id_array":[{"photo_id":"1396841286","filename":"file5"},{"photo_id":"1396841278","filename":"file2"},{"photo_id":"1396841283","filename":"file4"},{"photo_id":"1396841277","filename":"file1"},{"photo_id":"1396841276","filename":"file0"},{"photo_id":"1396841280","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841280":["hashtag1","hashtag2"]},{"1396841276":["hashtag1","hashtag2"]},{"1396841278":["hashtag1","hashtag2"]},{"1396841283":["hashtag1","hashtag2"]},{"1396841277":["hashtag1","hashtag2"]},{"1396841286":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841280, 1396841276, 1396841278, 1396841283, 1396841277, 1396841286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.00997495651245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:32:03.055107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/27/image_29112025_08_27_35_9848.jpg', '/home/pi/Desktop/images/29112025/08/27/image_29112025_08_27_44_9701.jpg', '/home/pi/Desktop/images/29112025/08/27/image_29112025_08_27_54_9750.jpg', '/home/pi/Desktop/images/29112025/08/27/image_29112025_08_28_05_10729.jpg', '/home/pi/Desktop/images/29112025/08/28/image_29112025_08_28_15_9849.jpg', '/home/pi/Desktop/images/29112025/08/28/image_29112025_08_28_24_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/27/image_29112025_08_27_35_9848.jpg
/home/pi/Desktop/images/29112025/08/27/image_29112025_08_27_44_9701.jpg
/home/pi/Desktop/images/29112025/08/27/image_29112025_08_27_54_9750.jpg
/home/pi/Desktop/images/29112025/08/27/image_29112025_08_28_05_10729.jpg
/home/pi/Desktop/images/29112025/08/28/image_29112025_08_28_15_9849.jpg
/home/pi/Desktop/images/29112025/08/28/image_29112025_08_28_24_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":["1396841297","1396841299","1396841296","1396841302","1396841305","1396841295"],"photo_ids_order":["1396841295","1396841296","1396841297","1396841299","1396841302","1396841305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/694cd89d54b63fd1ddc8a5d0f56de9ea.jpg","text":"TemporaryFile(/tmp/multipartBody9097115718441446747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401586558,"filename":"image_29112025_08_27_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/11/29/3c077d98f3bbd9eb9a7386ab9017dad6.jpg","text":"TemporaryFile(/tmp/multipartBody6781456524105320897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401586558,"filename":"image_29112025_08_28_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/11/29/588482400af5ebe1767009bbc7224158.jpg","text":"TemporaryFile(/tmp/multipartBody5360715530274190842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401586558,"filename":"image_29112025_08_27_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/11/29/ddf0c185868a1f3977d31e6f71007a62.jpg","text":"TemporaryFile(/tmp/multipartBody1994744697325486320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401586558,"filename":"image_29112025_08_28_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/11/29/ec93321f2283ba7dfbf9b1fd30557c2f.jpg","text":"TemporaryFile(/tmp/multipartBody2525674528635240369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401586558,"filename":"image_29112025_08_28_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d378f6c9ad4223ad9b43609cc9f9d943.jpg","text":"TemporaryFile(/tmp/multipartBody2255919257346033169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401586558,"filename":"image_29112025_08_27_35_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841297","file1":"1396841296","file0":"1396841295","file4":"1396841302","file5":"1396841305","file3":"1396841299"},"map_files_photo_id_array":[{"photo_id":"1396841305","filename":"file5"},{"photo_id":"1396841297","filename":"file2"},{"photo_id":"1396841302","filename":"file4"},{"photo_id":"1396841296","filename":"file1"},{"photo_id":"1396841295","filename":"file0"},{"photo_id":"1396841299","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841297":["hashtag1","hashtag2"]},{"1396841299":["hashtag1","hashtag2"]},{"1396841296":["hashtag1","hashtag2"]},{"1396841302":["hashtag1","hashtag2"]},{"1396841305":["hashtag1","hashtag2"]},{"1396841295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841297, 1396841299, 1396841296, 1396841302, 1396841305, 1396841295)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.53719234466553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:33:03.241052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 08:33:12.641911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_25_2653.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_29_3662.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_32_2684.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_35_2740.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_38_3601.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_41_2585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_25_2653.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_29_3662.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_32_2684.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_35_2740.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_38_3601.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_41_2585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841316","1396841319","1396841357","1396841347","1396841323","1396841314"],"photo_ids_order":["1396841314","1396841316","1396841319","1396841323","1396841347","1396841357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1f1806aa8ff0ce3d573edbe0378631b.jpg","text":"TemporaryFile(/tmp/multipartBody5949412729611484377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401657432,"filename":"image_25112025_18_00_29_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7af79369fdcab1591480f1af4124011c.jpg","text":"TemporaryFile(/tmp/multipartBody6822496038558558868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401657432,"filename":"image_25112025_18_00_32_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9841b464b825b255250a71f688effcd5.jpg","text":"TemporaryFile(/tmp/multipartBody5665582946585706667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401657432,"filename":"image_25112025_18_00_41_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/372c930758eec1f46e571e9414586a3f.jpg","text":"TemporaryFile(/tmp/multipartBody75289599318205337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401657432,"filename":"image_25112025_18_00_38_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6568d3db6ad09a1e15ced793a10e04d.jpg","text":"TemporaryFile(/tmp/multipartBody3852279819456107824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401657432,"filename":"image_25112025_18_00_35_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f88c547de8107b5678bafd98e9135fc1.jpg","text":"TemporaryFile(/tmp/multipartBody2129825838457464005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401657432,"filename":"image_25112025_18_00_25_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841319","file1":"1396841316","file0":"1396841314","file4":"1396841347","file5":"1396841357","file3":"1396841323"},"map_files_photo_id_array":[{"photo_id":"1396841357","filename":"file5"},{"photo_id":"1396841319","filename":"file2"},{"photo_id":"1396841347","filename":"file4"},{"photo_id":"1396841316","filename":"file1"},{"photo_id":"1396841314","filename":"file0"},{"photo_id":"1396841323","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396841316":["hashtag1","hashtag2"]},{"1396841319":["hashtag1","hashtag2"]},{"1396841357":["hashtag1","hashtag2"]},{"1396841347":["hashtag1","hashtag2"]},{"1396841323":["hashtag1","hashtag2"]},{"1396841314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396841316, 1396841319, 1396841357, 1396841347, 1396841323, 1396841314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19895553588867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:34:03.550155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 08:34:11.986876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_44_2850.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_47_3494.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_50_2609.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_53_3566.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_56_2722.jpg', '/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_59_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_44_2850.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_47_3494.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_50_2609.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_53_3566.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_56_2722.jpg
/home/pi/Desktop/images/25112025/18/00/image_25112025_18_00_59_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841383","1396841386","1396841380","1396841374","1396841377","1396841370"],"photo_ids_order":["1396841370","1396841374","1396841377","1396841380","1396841383","1396841386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f255aa98c0a2c964aa42039e0cb7be61.jpg","text":"TemporaryFile(/tmp/multipartBody5970022439498314031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401719002,"filename":"image_25112025_18_00_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/11/29/3bb5bd52618d61fcc7faa3a50ee1c85d.jpg","text":"TemporaryFile(/tmp/multipartBody4527461486135025212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401719002,"filename":"image_25112025_18_00_59_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d1caae56be0ba1ff0704e0c2b22b8fd.jpg","text":"TemporaryFile(/tmp/multipartBody5319413946914631739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401719002,"filename":"image_25112025_18_00_53_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9c5c445a8aba7b93f2b4f3d103e0309.jpg","text":"TemporaryFile(/tmp/multipartBody6706229776120157365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401719002,"filename":"image_25112025_18_00_47_3494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e5948d61385513ccc8e9b8c26ca6ab4.jpg","text":"TemporaryFile(/tmp/multipartBody5475368434014985381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401719002,"filename":"image_25112025_18_00_50_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbe4b24586161352cf8cfc291709b917.jpg","text":"TemporaryFile(/tmp/multipartBody41399730304605678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401719002,"filename":"image_25112025_18_00_44_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841377","file1":"1396841374","file0":"1396841370","file4":"1396841383","file5":"1396841386","file3":"1396841380"},"map_files_photo_id_array":[{"photo_id":"1396841386","filename":"file5"},{"photo_id":"1396841377","filename":"file2"},{"photo_id":"1396841383","filename":"file4"},{"photo_id":"1396841374","filename":"file1"},{"photo_id":"1396841370","filename":"file0"},{"photo_id":"1396841380","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396841383":["hashtag1","hashtag2"]},{"1396841386":["hashtag1","hashtag2"]},{"1396841380":["hashtag1","hashtag2"]},{"1396841374":["hashtag1","hashtag2"]},{"1396841377":["hashtag1","hashtag2"]},{"1396841370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396841383, 1396841386, 1396841380, 1396841374, 1396841377, 1396841370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.82585000991821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:35:03.035534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/28/image_29112025_08_28_45_10621.jpg', '/home/pi/Desktop/images/29112025/08/28/image_29112025_08_28_55_9690.jpg', '/home/pi/Desktop/images/29112025/08/28/image_29112025_08_29_04_9717.jpg', '/home/pi/Desktop/images/29112025/08/29/image_29112025_08_29_25_9794.jpg', '/home/pi/Desktop/images/29112025/08/29/image_29112025_08_29_35_9809.jpg', '/home/pi/Desktop/images/29112025/08/29/image_29112025_08_29_44_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/28/image_29112025_08_28_45_10621.jpg
/home/pi/Desktop/images/29112025/08/28/image_29112025_08_28_55_9690.jpg
/home/pi/Desktop/images/29112025/08/28/image_29112025_08_29_04_9717.jpg
/home/pi/Desktop/images/29112025/08/29/image_29112025_08_29_25_9794.jpg
/home/pi/Desktop/images/29112025/08/29/image_29112025_08_29_35_9809.jpg
/home/pi/Desktop/images/29112025/08/29/image_29112025_08_29_44_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":["1396841390","1396841398","1396841392","1396841389","1396841394","1396841391"],"photo_ids_order":["1396841389","1396841390","1396841391","1396841392","1396841394","1396841398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4c857530ae4240499d92f7f9b586d3e.jpg","text":"TemporaryFile(/tmp/multipartBody2877308403304494700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401763909,"filename":"image_29112025_08_28_55_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99819dc55f35918d0ebfca7acce2322f.jpg","text":"TemporaryFile(/tmp/multipartBody5211885656231796605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401763909,"filename":"image_29112025_08_29_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/11/29/03a32e3e1f91adb5868c0d1fb4fc903b.jpg","text":"TemporaryFile(/tmp/multipartBody7313690889630265928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401763909,"filename":"image_29112025_08_29_25_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9d132f01e4c3f8d2e32cb5a3fc9a9e4.jpg","text":"TemporaryFile(/tmp/multipartBody1720561224311236277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401763909,"filename":"image_29112025_08_28_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b00e4ac5572190a3ab8772bc5f4e5826.jpg","text":"TemporaryFile(/tmp/multipartBody575169094335432971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401763909,"filename":"image_29112025_08_29_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/11/29/09c22f909f87cbc605523788f2f3b675.jpg","text":"TemporaryFile(/tmp/multipartBody2981283552201129510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401763909,"filename":"image_29112025_08_29_04_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841391","file1":"1396841390","file0":"1396841389","file4":"1396841394","file5":"1396841398","file3":"1396841392"},"map_files_photo_id_array":[{"photo_id":"1396841398","filename":"file5"},{"photo_id":"1396841391","filename":"file2"},{"photo_id":"1396841394","filename":"file4"},{"photo_id":"1396841390","filename":"file1"},{"photo_id":"1396841389","filename":"file0"},{"photo_id":"1396841392","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841390":["hashtag1","hashtag2"]},{"1396841398":["hashtag1","hashtag2"]},{"1396841392":["hashtag1","hashtag2"]},{"1396841389":["hashtag1","hashtag2"]},{"1396841394":["hashtag1","hashtag2"]},{"1396841391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841390, 1396841398, 1396841392, 1396841389, 1396841394, 1396841391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02997303009033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:35:42.161107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_38_3589.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_41_2678.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_43_2722.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_47_3671.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_50_2691.jpg', '/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_53_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/09/05/image_31102025_09_05_38_3589.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_41_2678.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_43_2722.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_47_3671.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_50_2691.jpg
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_53_2769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841445","1396841441","1396841444","1396841447","1396841446","1396841443"],"photo_ids_order":["1396841441","1396841443","1396841444","1396841445","1396841446","1396841447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70ea8e9cc0dff8f7301be8770d83b49a.jpg","text":"TemporaryFile(/tmp/multipartBody5367617307644193592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401806262,"filename":"image_31102025_09_05_47_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6a6c8cf9c1c9a433888f3e008374d04.jpg","text":"TemporaryFile(/tmp/multipartBody8389031777694650459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401806262,"filename":"image_31102025_09_05_38_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/737bf5eb2cca449e8aeda23f6613c477.jpg","text":"TemporaryFile(/tmp/multipartBody8775460866389526734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401806262,"filename":"image_31102025_09_05_43_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9df23c965f20b6255b046cd29d6735e7.jpg","text":"TemporaryFile(/tmp/multipartBody6704529102930487363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401806262,"filename":"image_31102025_09_05_53_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4eab074b68ac7e40587ece673584dbf5.jpg","text":"TemporaryFile(/tmp/multipartBody6009426863278697101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401806262,"filename":"image_31102025_09_05_50_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c781cdd46cad4534a7d2f6576aa5f213.jpg","text":"TemporaryFile(/tmp/multipartBody5670257718163931193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401806262,"filename":"image_31102025_09_05_41_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841444","file1":"1396841443","file0":"1396841441","file4":"1396841446","file5":"1396841447","file3":"1396841445"},"map_files_photo_id_array":[{"photo_id":"1396841447","filename":"file5"},{"photo_id":"1396841444","filename":"file2"},{"photo_id":"1396841446","filename":"file4"},{"photo_id":"1396841443","filename":"file1"},{"photo_id":"1396841441","filename":"file0"},{"photo_id":"1396841445","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396841445":["hashtag1","hashtag2"]},{"1396841441":["hashtag1","hashtag2"]},{"1396841444":["hashtag1","hashtag2"]},{"1396841447":["hashtag1","hashtag2"]},{"1396841446":["hashtag1","hashtag2"]},{"1396841443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396841445, 1396841441, 1396841444, 1396841447, 1396841446, 1396841443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.39996671676636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 08:36:32.413269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_02_3695.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_05_2724.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_08_2630.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_10_2632.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_14_3643.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_17_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_02_3695.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_05_2724.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_08_2630.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_10_2632.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_14_3643.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_17_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":["1396841466","1396841468","1396841464","1396841461","1396841455","1396841458"],"photo_ids_order":["1396841455","1396841458","1396841461","1396841464","1396841466","1396841468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c58191a31e7378905ac6dbf76de7497.jpg","text":"TemporaryFile(/tmp/multipartBody7423191038863586190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401854661,"filename":"image_25112025_18_01_14_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9d713191a3a7e97c7c8bdaff7b626c1.jpg","text":"TemporaryFile(/tmp/multipartBody5508662063821503608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401854661,"filename":"image_25112025_18_01_17_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d14619388cb2a83694f3f446a9e12ed8.jpg","text":"TemporaryFile(/tmp/multipartBody1386009582437014296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401854661,"filename":"image_25112025_18_01_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/11/29/cd71d209134bd26b86a4a8ee5f43bdd5.jpg","text":"TemporaryFile(/tmp/multipartBody3820435427878650205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401854661,"filename":"image_25112025_18_01_08_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bbbd18ea495d3fd146d5782aa0fbe863.jpg","text":"TemporaryFile(/tmp/multipartBody5970464620622662731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401854661,"filename":"image_25112025_18_01_02_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50f03932b73e78a6e9753c9035e476e2.jpg","text":"TemporaryFile(/tmp/multipartBody193757390509714212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401854661,"filename":"image_25112025_18_01_05_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841461","file1":"1396841458","file0":"1396841455","file4":"1396841466","file5":"1396841468","file3":"1396841464"},"map_files_photo_id_array":[{"photo_id":"1396841468","filename":"file5"},{"photo_id":"1396841461","filename":"file2"},{"photo_id":"1396841466","filename":"file4"},{"photo_id":"1396841458","filename":"file1"},{"photo_id":"1396841455","filename":"file0"},{"photo_id":"1396841464","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396841466":["hashtag1","hashtag2"]},{"1396841468":["hashtag1","hashtag2"]},{"1396841464":["hashtag1","hashtag2"]},{"1396841461":["hashtag1","hashtag2"]},{"1396841455":["hashtag1","hashtag2"]},{"1396841458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396841466, 1396841468, 1396841464, 1396841461, 1396841455, 1396841458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.811197996139526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 08:37:12.630773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_20_3680.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_26_2583.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_29_3584.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_32_2542.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_34_2678.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_38_3489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_20_3680.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_26_2583.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_29_3584.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_32_2542.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_34_2678.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_38_3489.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841511","1396841486","1396841471","1396841479","1396841473","1396841475"],"photo_ids_order":["1396841471","1396841473","1396841475","1396841479","1396841486","1396841511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/706b0830498d06ca3aa7b26dd1165bc7.jpg","text":"TemporaryFile(/tmp/multipartBody3053845169305034192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401894722,"filename":"image_25112025_18_01_38_3489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d8789e3365db00707dd7cd643f1347f.jpg","text":"TemporaryFile(/tmp/multipartBody1079359087773135149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401894722,"filename":"image_25112025_18_01_34_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9569878968181994c0c2ca88a0d65753.jpg","text":"TemporaryFile(/tmp/multipartBody231434121118070997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401894722,"filename":"image_25112025_18_01_20_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e71ec0c356cd386479cbe081fd33b54.jpg","text":"TemporaryFile(/tmp/multipartBody1861946872059135597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401894722,"filename":"image_25112025_18_01_32_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df2d441e9fd4577874ab5db1b373195c.jpg","text":"TemporaryFile(/tmp/multipartBody2515579824798458780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401894722,"filename":"image_25112025_18_01_26_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffade37d655163f5f95ab5420a2617e2.jpg","text":"TemporaryFile(/tmp/multipartBody6184927074012878256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401894722,"filename":"image_25112025_18_01_29_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841475","file1":"1396841473","file0":"1396841471","file4":"1396841486","file5":"1396841511","file3":"1396841479"},"map_files_photo_id_array":[{"photo_id":"1396841511","filename":"file5"},{"photo_id":"1396841475","filename":"file2"},{"photo_id":"1396841486","filename":"file4"},{"photo_id":"1396841473","filename":"file1"},{"photo_id":"1396841471","filename":"file0"},{"photo_id":"1396841479","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396841511":["hashtag1","hashtag2"]},{"1396841486":["hashtag1","hashtag2"]},{"1396841471":["hashtag1","hashtag2"]},{"1396841479":["hashtag1","hashtag2"]},{"1396841473":["hashtag1","hashtag2"]},{"1396841475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396841511, 1396841486, 1396841471, 1396841479, 1396841473, 1396841475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.018168210983276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:38:02.378640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/29/image_29112025_08_29_54_9742.jpg', '/home/pi/Desktop/images/29112025/08/30/image_29112025_08_30_14_10054.jpg', '/home/pi/Desktop/images/29112025/08/30/image_29112025_08_30_25_10818.jpg', '/home/pi/Desktop/images/29112025/08/30/image_29112025_08_30_44_9682.jpg', '/home/pi/Desktop/images/29112025/08/30/image_29112025_08_30_55_10718.jpg', '/home/pi/Desktop/images/29112025/08/30/image_29112025_08_31_05_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/29/image_29112025_08_29_54_9742.jpg
/home/pi/Desktop/images/29112025/08/30/image_29112025_08_30_14_10054.jpg
/home/pi/Desktop/images/29112025/08/30/image_29112025_08_30_25_10818.jpg
/home/pi/Desktop/images/29112025/08/30/image_29112025_08_30_44_9682.jpg
/home/pi/Desktop/images/29112025/08/30/image_29112025_08_30_55_10718.jpg
/home/pi/Desktop/images/29112025/08/30/image_29112025_08_31_05_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":["1396841541","1396841535","1396841537","1396841545","1396841533","1396841539"],"photo_ids_order":["1396841533","1396841535","1396841537","1396841539","1396841541","1396841545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0f605dc8de363c041f93bb17cf518ef.jpg","text":"TemporaryFile(/tmp/multipartBody8227376453694919176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401943155,"filename":"image_29112025_08_30_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/881df5121e2a87552e2813c48b166674.jpg","text":"TemporaryFile(/tmp/multipartBody7977035099039609291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401943155,"filename":"image_29112025_08_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/11/29/a7b9698dba18b974387a83a5d1d4fc70.jpg","text":"TemporaryFile(/tmp/multipartBody467440594506947346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401943155,"filename":"image_29112025_08_30_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/11/29/26d7f511247a290ae8f2054cd39204cb.jpg","text":"TemporaryFile(/tmp/multipartBody6911589826668116279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401943155,"filename":"image_29112025_08_31_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/11/29/ec30e867aa385338ba893f0b53c143be.jpg","text":"TemporaryFile(/tmp/multipartBody6284390645932916494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401943155,"filename":"image_29112025_08_29_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/11/29/0638efbe15eb3e13bcbd1d64c9b6939c.jpg","text":"TemporaryFile(/tmp/multipartBody8085973838566968301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401943155,"filename":"image_29112025_08_30_44_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841537","file1":"1396841535","file0":"1396841533","file4":"1396841541","file5":"1396841545","file3":"1396841539"},"map_files_photo_id_array":[{"photo_id":"1396841545","filename":"file5"},{"photo_id":"1396841537","filename":"file2"},{"photo_id":"1396841541","filename":"file4"},{"photo_id":"1396841535","filename":"file1"},{"photo_id":"1396841533","filename":"file0"},{"photo_id":"1396841539","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841541":["hashtag1","hashtag2"]},{"1396841535":["hashtag1","hashtag2"]},{"1396841537":["hashtag1","hashtag2"]},{"1396841545":["hashtag1","hashtag2"]},{"1396841533":["hashtag1","hashtag2"]},{"1396841539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841541, 1396841535, 1396841537, 1396841545, 1396841533, 1396841539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64682459831238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:38:41.918749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_55_2549.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_01_2596.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_04_2741.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_08_3593.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_10_2700.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_13_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/05/image_31102025_09_05_55_2549.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_01_2596.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_04_2741.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_08_3593.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_10_2700.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_13_2823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841559","1396841553","1396841561","1396841558","1396841560","1396841557"],"photo_ids_order":["1396841553","1396841557","1396841558","1396841559","1396841560","1396841561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1572f27e453f9fb72c51d509384d4c6.jpg","text":"TemporaryFile(/tmp/multipartBody6773606636412712606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401983015,"filename":"image_31102025_09_06_08_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93c1480ad088e71ddabd66714224e7d8.jpg","text":"TemporaryFile(/tmp/multipartBody426119215717468316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401983015,"filename":"image_31102025_09_05_55_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09cf0fc5976273f61121e80873944ed4.jpg","text":"TemporaryFile(/tmp/multipartBody8027614490718290409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401983015,"filename":"image_31102025_09_06_13_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6749f67d1806bb58bf8495a51cce0ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2932734260295943553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401983015,"filename":"image_31102025_09_06_04_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/852b985a8880cdb2d2f5489da66f628f.jpg","text":"TemporaryFile(/tmp/multipartBody7122329154830623687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401983015,"filename":"image_31102025_09_06_10_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e77dc9d29350328356a8893aa9ed4f63.jpg","text":"TemporaryFile(/tmp/multipartBody7841720778477314227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764401983015,"filename":"image_31102025_09_06_01_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841558","file1":"1396841557","file0":"1396841553","file4":"1396841560","file5":"1396841561","file3":"1396841559"},"map_files_photo_id_array":[{"photo_id":"1396841561","filename":"file5"},{"photo_id":"1396841558","filename":"file2"},{"photo_id":"1396841560","filename":"file4"},{"photo_id":"1396841557","filename":"file1"},{"photo_id":"1396841553","filename":"file0"},{"photo_id":"1396841559","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396841559":["hashtag1","hashtag2"]},{"1396841553":["hashtag1","hashtag2"]},{"1396841561":["hashtag1","hashtag2"]},{"1396841558":["hashtag1","hashtag2"]},{"1396841560":["hashtag1","hashtag2"]},{"1396841557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396841559, 1396841553, 1396841561, 1396841558, 1396841560, 1396841557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.060436487197876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:39:22.050110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/31/image_29112025_08_31_24_9710.jpg', '/home/pi/Desktop/images/29112025/08/31/image_29112025_08_31_35_10814.jpg', '/home/pi/Desktop/images/29112025/08/31/image_29112025_08_31_44_9628.jpg', '/home/pi/Desktop/images/29112025/08/31/image_29112025_08_31_54_9741.jpg', '/home/pi/Desktop/images/29112025/08/31/image_29112025_08_32_04_9827.jpg', '/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_15_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/31/image_29112025_08_31_24_9710.jpg
/home/pi/Desktop/images/29112025/08/31/image_29112025_08_31_35_10814.jpg
/home/pi/Desktop/images/29112025/08/31/image_29112025_08_31_44_9628.jpg
/home/pi/Desktop/images/29112025/08/31/image_29112025_08_31_54_9741.jpg
/home/pi/Desktop/images/29112025/08/31/image_29112025_08_32_04_9827.jpg
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_15_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841565","1396841613","1396841594","1396841567","1396841612","1396841590"],"photo_ids_order":["1396841565","1396841567","1396841590","1396841594","1396841612","1396841613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d5deb03b20e378b9fcffcbf3f4cfca3.jpg","text":"TemporaryFile(/tmp/multipartBody2166307379962189933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402022808,"filename":"image_29112025_08_31_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/11/29/2b9985a1d25014c9cba1c1e1699ff72e.jpg","text":"TemporaryFile(/tmp/multipartBody1186374800148975832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402022808,"filename":"image_29112025_08_32_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f126fd95be77842e9891634c65d6e81.jpg","text":"TemporaryFile(/tmp/multipartBody1852586011897140680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402022808,"filename":"image_29112025_08_31_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/11/29/e16d8985fe5ce7223ace9fe5f0b60544.jpg","text":"TemporaryFile(/tmp/multipartBody186729525010118040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402022808,"filename":"image_29112025_08_31_35_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79bb4f4d4901aba937aa9f3dcbd93673.jpg","text":"TemporaryFile(/tmp/multipartBody6646893741531834205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402022808,"filename":"image_29112025_08_32_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/11/29/ce52547d732790729cf6ee41ab97e440.jpg","text":"TemporaryFile(/tmp/multipartBody4138292713366161305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402022808,"filename":"image_29112025_08_31_44_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841590","file1":"1396841567","file0":"1396841565","file4":"1396841612","file5":"1396841613","file3":"1396841594"},"map_files_photo_id_array":[{"photo_id":"1396841613","filename":"file5"},{"photo_id":"1396841590","filename":"file2"},{"photo_id":"1396841612","filename":"file4"},{"photo_id":"1396841567","filename":"file1"},{"photo_id":"1396841565","filename":"file0"},{"photo_id":"1396841594","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841565":["hashtag1","hashtag2"]},{"1396841613":["hashtag1","hashtag2"]},{"1396841594":["hashtag1","hashtag2"]},{"1396841567":["hashtag1","hashtag2"]},{"1396841612":["hashtag1","hashtag2"]},{"1396841590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841565, 1396841613, 1396841594, 1396841567, 1396841612, 1396841590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67425203323364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:40:02.682900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_24_9660.jpg', '/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_34_9610.jpg', '/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_44_10080.jpg', '/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_55_10724.jpg', '/home/pi/Desktop/images/29112025/08/32/image_29112025_08_33_05_9743.jpg', '/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_14_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_24_9660.jpg
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_34_9610.jpg
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_44_10080.jpg
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_55_10724.jpg
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_33_05_9743.jpg
/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_14_9809.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7181591987609863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 08:40:12.225496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_41_2621.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_43_2794.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_47_3629.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_50_2588.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_53_3636.jpg', '/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_56_2507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_41_2621.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_43_2794.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_47_3629.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_50_2588.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_53_3636.jpg
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_56_2507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841619","1396841633","1396841630","1396841624","1396841627","1396841617"],"photo_ids_order":["1396841617","1396841619","1396841624","1396841627","1396841630","1396841633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a04be8a7048b2edc47e2f0612abb741.jpg","text":"TemporaryFile(/tmp/multipartBody7428125493692988222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402074349,"filename":"image_25112025_18_01_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/11/29/92df8a5339fa3338df036819854750ba.jpg","text":"TemporaryFile(/tmp/multipartBody453884669627592145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402074349,"filename":"image_25112025_18_01_56_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ccd09ac2f436266679a28aa0ab081e8.jpg","text":"TemporaryFile(/tmp/multipartBody8604121039381044871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402074349,"filename":"image_25112025_18_01_53_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cca5121cc4c8b0e2da6000992a5e9681.jpg","text":"TemporaryFile(/tmp/multipartBody881213927789388134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402074349,"filename":"image_25112025_18_01_47_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0474103800fcbcf24099ee9bef1f2c62.jpg","text":"TemporaryFile(/tmp/multipartBody1826383004614373901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402074349,"filename":"image_25112025_18_01_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/11/29/c2bcfa1b7351c8b32b5816bdf0a4f029.jpg","text":"TemporaryFile(/tmp/multipartBody4066012967974227119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402074349,"filename":"image_25112025_18_01_41_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841624","file1":"1396841619","file0":"1396841617","file4":"1396841630","file5":"1396841633","file3":"1396841627"},"map_files_photo_id_array":[{"photo_id":"1396841633","filename":"file5"},{"photo_id":"1396841624","filename":"file2"},{"photo_id":"1396841630","filename":"file4"},{"photo_id":"1396841619","filename":"file1"},{"photo_id":"1396841617","filename":"file0"},{"photo_id":"1396841627","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396841619":["hashtag1","hashtag2"]},{"1396841633":["hashtag1","hashtag2"]},{"1396841630":["hashtag1","hashtag2"]},{"1396841624":["hashtag1","hashtag2"]},{"1396841627":["hashtag1","hashtag2"]},{"1396841617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396841619, 1396841633, 1396841630, 1396841624, 1396841627, 1396841617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.097386598587036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:41:03.047503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_24_9660.jpg', '/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_34_9610.jpg', '/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_44_10080.jpg', '/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_55_10724.jpg', '/home/pi/Desktop/images/29112025/08/32/image_29112025_08_33_05_9743.jpg', '/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_14_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_24_9660.jpg
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_34_9610.jpg
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_44_10080.jpg
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_32_55_10724.jpg
/home/pi/Desktop/images/29112025/08/32/image_29112025_08_33_05_9743.jpg
/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_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":["1396841643","1396841640","1396841642","1396841645","1396841638","1396841649"],"photo_ids_order":["1396841638","1396841640","1396841642","1396841643","1396841645","1396841649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4154da5b299b8aad16fb522f3b52b7a.jpg","text":"TemporaryFile(/tmp/multipartBody5367647259296559593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402123950,"filename":"image_29112025_08_32_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/11/29/f4b1233ceeac2bd11a6c8a39f277300b.jpg","text":"TemporaryFile(/tmp/multipartBody5179154630454363625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402123950,"filename":"image_29112025_08_32_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/11/29/136854af539607df8f921e1d30598aab.jpg","text":"TemporaryFile(/tmp/multipartBody7191052858735927143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402123950,"filename":"image_29112025_08_32_44_10080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e51b6b84e26b33b8e9b1503a731bb97.jpg","text":"TemporaryFile(/tmp/multipartBody982905202526434040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402123950,"filename":"image_29112025_08_33_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7ce85e87ffaffdebacbe0166ce561b1.jpg","text":"TemporaryFile(/tmp/multipartBody4435087107314947762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402123950,"filename":"image_29112025_08_32_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/11/29/dab2c99352ceeef6e575dc95c54f84e3.jpg","text":"TemporaryFile(/tmp/multipartBody7942765481440328986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402123950,"filename":"image_29112025_08_33_14_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841642","file1":"1396841640","file0":"1396841638","file4":"1396841645","file5":"1396841649","file3":"1396841643"},"map_files_photo_id_array":[{"photo_id":"1396841649","filename":"file5"},{"photo_id":"1396841642","filename":"file2"},{"photo_id":"1396841645","filename":"file4"},{"photo_id":"1396841640","filename":"file1"},{"photo_id":"1396841638","filename":"file0"},{"photo_id":"1396841643","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841643":["hashtag1","hashtag2"]},{"1396841640":["hashtag1","hashtag2"]},{"1396841642":["hashtag1","hashtag2"]},{"1396841645":["hashtag1","hashtag2"]},{"1396841638":["hashtag1","hashtag2"]},{"1396841649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841643, 1396841640, 1396841642, 1396841645, 1396841638, 1396841649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76447081565857 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-11-29 08:42:03.071767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_24_9673.jpg', '/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_34_9882.jpg', '/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_45_10571.jpg', '/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_54_9581.jpg', '/home/pi/Desktop/images/29112025/08/33/image_29112025_08_34_05_10664.jpg', '/home/pi/Desktop/images/29112025/08/34/image_29112025_08_34_15_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_24_9673.jpg
/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_34_9882.jpg
/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_45_10571.jpg
/home/pi/Desktop/images/29112025/08/33/image_29112025_08_33_54_9581.jpg
/home/pi/Desktop/images/29112025/08/33/image_29112025_08_34_05_10664.jpg
/home/pi/Desktop/images/29112025/08/34/image_29112025_08_34_15_9865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841703","1396841706","1396841709","1396841702","1396841701","1396841704"],"photo_ids_order":["1396841701","1396841702","1396841703","1396841704","1396841706","1396841709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b61ca871a61030c8c6e16bb294622f17.jpg","text":"TemporaryFile(/tmp/multipartBody2335426862963996962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402183865,"filename":"image_29112025_08_33_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2da4f8a61ad3cacfb6797a870b6f173b.jpg","text":"TemporaryFile(/tmp/multipartBody5044273659121936797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402183865,"filename":"image_29112025_08_34_05_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3af5d2237182b5c3b9f0212dd8b0861.jpg","text":"TemporaryFile(/tmp/multipartBody7853018894116208227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402183865,"filename":"image_29112025_08_34_15_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1f5d6b577eff52fc42d7122aca28626.jpg","text":"TemporaryFile(/tmp/multipartBody1266902349262300626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402183865,"filename":"image_29112025_08_33_34_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9eca9b38c4d3fff466af360a53e1c2ab.jpg","text":"TemporaryFile(/tmp/multipartBody1650372863949876426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402183865,"filename":"image_29112025_08_33_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98efa987e7dfd78dbf4eef2a80150c87.jpg","text":"TemporaryFile(/tmp/multipartBody427865268238282546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402183865,"filename":"image_29112025_08_33_54_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841703","file1":"1396841702","file0":"1396841701","file4":"1396841706","file5":"1396841709","file3":"1396841704"},"map_files_photo_id_array":[{"photo_id":"1396841709","filename":"file5"},{"photo_id":"1396841703","filename":"file2"},{"photo_id":"1396841706","filename":"file4"},{"photo_id":"1396841702","filename":"file1"},{"photo_id":"1396841701","filename":"file0"},{"photo_id":"1396841704","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841703":["hashtag1","hashtag2"]},{"1396841706":["hashtag1","hashtag2"]},{"1396841709":["hashtag1","hashtag2"]},{"1396841702":["hashtag1","hashtag2"]},{"1396841701":["hashtag1","hashtag2"]},{"1396841704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841703, 1396841706, 1396841709, 1396841702, 1396841701, 1396841704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.851253509521484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:42:42.715633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_17_3781.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_20_2703.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_22_2752.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_25_2713.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_32_3070.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_34_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/09/06/image_31102025_09_06_17_3781.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_20_2703.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_22_2752.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_25_2713.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_32_3070.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_34_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":["1396841721","1396841724","1396841723","1396841725","1396841719","1396841722"],"photo_ids_order":["1396841719","1396841721","1396841722","1396841723","1396841724","1396841725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2594d93c07ae2e05fd1dafe34af3f889.jpg","text":"TemporaryFile(/tmp/multipartBody5648809281880493512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402223818,"filename":"image_31102025_09_06_20_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/725e9c3b1f7cf979dfdefd1179f5f8d8.jpg","text":"TemporaryFile(/tmp/multipartBody2528725982016530942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402223818,"filename":"image_31102025_09_06_32_3070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0973d30d48b43304ef0779d5665b8625.jpg","text":"TemporaryFile(/tmp/multipartBody7831920583687064891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402223818,"filename":"image_31102025_09_06_25_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02cb62c3fa2fd2802919dda802e0c112.jpg","text":"TemporaryFile(/tmp/multipartBody3898926083551802350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402223818,"filename":"image_31102025_09_06_34_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9508e11c6f7022280cc33f5e0c5242f6.jpg","text":"TemporaryFile(/tmp/multipartBody198929442496424073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402223818,"filename":"image_31102025_09_06_17_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d427796434e165872b35602a3b36fec5.jpg","text":"TemporaryFile(/tmp/multipartBody8171615914098674107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402223818,"filename":"image_31102025_09_06_22_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841722","file1":"1396841721","file0":"1396841719","file4":"1396841724","file5":"1396841725","file3":"1396841723"},"map_files_photo_id_array":[{"photo_id":"1396841725","filename":"file5"},{"photo_id":"1396841722","filename":"file2"},{"photo_id":"1396841724","filename":"file4"},{"photo_id":"1396841721","filename":"file1"},{"photo_id":"1396841719","filename":"file0"},{"photo_id":"1396841723","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396841721":["hashtag1","hashtag2"]},{"1396841724":["hashtag1","hashtag2"]},{"1396841723":["hashtag1","hashtag2"]},{"1396841725":["hashtag1","hashtag2"]},{"1396841719":["hashtag1","hashtag2"]},{"1396841722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396841721, 1396841724, 1396841723, 1396841725, 1396841719, 1396841722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28069281578064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:43:21.879678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/34/image_29112025_08_34_34_9956.jpg', '/home/pi/Desktop/images/29112025/08/34/image_29112025_08_34_44_9650.jpg', '/home/pi/Desktop/images/29112025/08/34/image_29112025_08_34_54_9913.jpg', '/home/pi/Desktop/images/29112025/08/34/image_29112025_08_35_05_10550.jpg', '/home/pi/Desktop/images/29112025/08/35/image_29112025_08_35_14_9366.jpg', '/home/pi/Desktop/images/29112025/08/35/image_29112025_08_35_24_10083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/34/image_29112025_08_34_34_9956.jpg
/home/pi/Desktop/images/29112025/08/34/image_29112025_08_34_44_9650.jpg
/home/pi/Desktop/images/29112025/08/34/image_29112025_08_34_54_9913.jpg
/home/pi/Desktop/images/29112025/08/34/image_29112025_08_35_05_10550.jpg
/home/pi/Desktop/images/29112025/08/35/image_29112025_08_35_14_9366.jpg
/home/pi/Desktop/images/29112025/08/35/image_29112025_08_35_24_10083.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841733","1396841727","1396841773","1396841770","1396841749","1396841766"],"photo_ids_order":["1396841727","1396841733","1396841749","1396841766","1396841770","1396841773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc18497ead2528f15b29ea4a62129369.jpg","text":"TemporaryFile(/tmp/multipartBody3185758649671211369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402262633,"filename":"image_29112025_08_34_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/11/29/7cf3773d33deaa7289ff777852e9a906.jpg","text":"TemporaryFile(/tmp/multipartBody5736545681344706285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402262633,"filename":"image_29112025_08_34_34_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ba36fe2bba8709a6c1329cc72e3dcb8.jpg","text":"TemporaryFile(/tmp/multipartBody4658679350316992266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402262633,"filename":"image_29112025_08_35_24_10083.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d3867fef1f55fb23bce73f83d869a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3023528791877910876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402262633,"filename":"image_29112025_08_35_14_9366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05b3f23ac80d609a01244e10479c5d52.jpg","text":"TemporaryFile(/tmp/multipartBody6869478585125216054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402262633,"filename":"image_29112025_08_34_54_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43ea247072bdc64995e001ea51e0cbbc.jpg","text":"TemporaryFile(/tmp/multipartBody8189819097691457879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402262633,"filename":"image_29112025_08_35_05_10550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841749","file1":"1396841733","file0":"1396841727","file4":"1396841770","file5":"1396841773","file3":"1396841766"},"map_files_photo_id_array":[{"photo_id":"1396841773","filename":"file5"},{"photo_id":"1396841749","filename":"file2"},{"photo_id":"1396841770","filename":"file4"},{"photo_id":"1396841733","filename":"file1"},{"photo_id":"1396841727","filename":"file0"},{"photo_id":"1396841766","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841733":["hashtag1","hashtag2"]},{"1396841727":["hashtag1","hashtag2"]},{"1396841773":["hashtag1","hashtag2"]},{"1396841770":["hashtag1","hashtag2"]},{"1396841749":["hashtag1","hashtag2"]},{"1396841766":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841733, 1396841727, 1396841773, 1396841770, 1396841749, 1396841766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91313886642456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:44:02.791816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/35/image_29112025_08_35_35_10788.jpg', '/home/pi/Desktop/images/29112025/08/35/image_29112025_08_35_44_9661.jpg', '/home/pi/Desktop/images/29112025/08/36/image_29112025_08_36_34_9669.jpg', '/home/pi/Desktop/images/29112025/08/36/image_29112025_08_36_55_9904.jpg', '/home/pi/Desktop/images/29112025/08/36/image_29112025_08_37_04_9671.jpg', '/home/pi/Desktop/images/29112025/08/37/image_29112025_08_37_14_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/35/image_29112025_08_35_35_10788.jpg
/home/pi/Desktop/images/29112025/08/35/image_29112025_08_35_44_9661.jpg
/home/pi/Desktop/images/29112025/08/36/image_29112025_08_36_34_9669.jpg
/home/pi/Desktop/images/29112025/08/36/image_29112025_08_36_55_9904.jpg
/home/pi/Desktop/images/29112025/08/36/image_29112025_08_37_04_9671.jpg
/home/pi/Desktop/images/29112025/08/37/image_29112025_08_37_14_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":["1396841778","1396841776","1396841779","1396841784","1396841781","1396841775"],"photo_ids_order":["1396841775","1396841776","1396841778","1396841779","1396841781","1396841784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3826f4a586594ec23dbfab1c3712955.jpg","text":"TemporaryFile(/tmp/multipartBody528067174711616029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402303615,"filename":"image_29112025_08_36_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/11/29/24842e1cd83258f7b8de2cc8a8f826ef.jpg","text":"TemporaryFile(/tmp/multipartBody6906785164230172299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402303615,"filename":"image_29112025_08_35_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/11/29/85028268ab70082d380ed020e69d284d.jpg","text":"TemporaryFile(/tmp/multipartBody1768822413241406064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402303615,"filename":"image_29112025_08_36_55_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d33ea6819166cef55c1082f7463b2fb.jpg","text":"TemporaryFile(/tmp/multipartBody2268850193129626947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402303615,"filename":"image_29112025_08_37_14_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/711bf528f12b37e5632c8e89001b73a1.jpg","text":"TemporaryFile(/tmp/multipartBody2821681041706327507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402303615,"filename":"image_29112025_08_37_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/11/29/149238d4e96d267e66151a14c1863043.jpg","text":"TemporaryFile(/tmp/multipartBody1319544036671064487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402303615,"filename":"image_29112025_08_35_35_10788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841778","file1":"1396841776","file0":"1396841775","file4":"1396841781","file5":"1396841784","file3":"1396841779"},"map_files_photo_id_array":[{"photo_id":"1396841784","filename":"file5"},{"photo_id":"1396841778","filename":"file2"},{"photo_id":"1396841781","filename":"file4"},{"photo_id":"1396841776","filename":"file1"},{"photo_id":"1396841775","filename":"file0"},{"photo_id":"1396841779","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841778":["hashtag1","hashtag2"]},{"1396841776":["hashtag1","hashtag2"]},{"1396841779":["hashtag1","hashtag2"]},{"1396841784":["hashtag1","hashtag2"]},{"1396841781":["hashtag1","hashtag2"]},{"1396841775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841778, 1396841776, 1396841779, 1396841784, 1396841781, 1396841775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70761013031006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:44:42.189192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_37_2764.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_41_3670.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_51_10274.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_53_1744.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_55_1810.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_56_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_37_2764.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_41_3670.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_51_10274.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_53_1744.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_55_1810.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_56_1610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841802","1396841805","1396841795","1396841801","1396841804","1396841803"],"photo_ids_order":["1396841795","1396841801","1396841802","1396841803","1396841804","1396841805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fcb4d5651062be9aa816980b48c158f.jpg","text":"TemporaryFile(/tmp/multipartBody7123929878328016488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402343330,"filename":"image_31102025_09_06_51_10274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4a1b027946bfc4c27dddadc3ec7af270.jpg","text":"TemporaryFile(/tmp/multipartBody8165382063874279132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402343330,"filename":"image_31102025_09_06_56_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d2d55ae2a53a403f92f5fba4ddabc46.jpg","text":"TemporaryFile(/tmp/multipartBody1398756288682622552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402343330,"filename":"image_31102025_09_06_37_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10fcde15cf7202f85e1a4785e9fce49c.jpg","text":"TemporaryFile(/tmp/multipartBody110328983040891605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402343330,"filename":"image_31102025_09_06_41_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70249b0bb54eaa2f53b8304e059f247e.jpg","text":"TemporaryFile(/tmp/multipartBody4801622934918837387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402343330,"filename":"image_31102025_09_06_55_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e147a4be5ee5942aaecc70539b9d032d.jpg","text":"TemporaryFile(/tmp/multipartBody5062657618594687474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402343330,"filename":"image_31102025_09_06_53_1744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841802","file1":"1396841801","file0":"1396841795","file4":"1396841804","file5":"1396841805","file3":"1396841803"},"map_files_photo_id_array":[{"photo_id":"1396841805","filename":"file5"},{"photo_id":"1396841802","filename":"file2"},{"photo_id":"1396841804","filename":"file4"},{"photo_id":"1396841801","filename":"file1"},{"photo_id":"1396841795","filename":"file0"},{"photo_id":"1396841803","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396841802":["hashtag1","hashtag2"]},{"1396841805":["hashtag1","hashtag2"]},{"1396841795":["hashtag1","hashtag2"]},{"1396841801":["hashtag1","hashtag2"]},{"1396841804":["hashtag1","hashtag2"]},{"1396841803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396841802, 1396841805, 1396841795, 1396841801, 1396841804, 1396841803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.647677421569824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:45:22.415899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/37/image_29112025_08_37_25_10662.jpg', '/home/pi/Desktop/images/29112025/08/37/image_29112025_08_37_34_9726.jpg', '/home/pi/Desktop/images/29112025/08/37/image_29112025_08_37_44_9626.jpg', '/home/pi/Desktop/images/29112025/08/37/image_29112025_08_37_55_10674.jpg', '/home/pi/Desktop/images/29112025/08/38/image_29112025_08_38_14_9727.jpg', '/home/pi/Desktop/images/29112025/08/38/image_29112025_08_38_25_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/37/image_29112025_08_37_25_10662.jpg
/home/pi/Desktop/images/29112025/08/37/image_29112025_08_37_34_9726.jpg
/home/pi/Desktop/images/29112025/08/37/image_29112025_08_37_44_9626.jpg
/home/pi/Desktop/images/29112025/08/37/image_29112025_08_37_55_10674.jpg
/home/pi/Desktop/images/29112025/08/38/image_29112025_08_38_14_9727.jpg
/home/pi/Desktop/images/29112025/08/38/image_29112025_08_38_25_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841826","1396841814","1396841843","1396841854","1396841857","1396841851"],"photo_ids_order":["1396841814","1396841826","1396841843","1396841851","1396841854","1396841857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0bab814db21ba837eadc1bb370908557.jpg","text":"TemporaryFile(/tmp/multipartBody4820551377833515180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402383177,"filename":"image_29112025_08_37_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/11/29/9f26a47d9a1009da3e2487e07aa77891.jpg","text":"TemporaryFile(/tmp/multipartBody5619108395902068412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402383177,"filename":"image_29112025_08_37_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/11/29/8180a660859fb9c4c150c39323a5cc68.jpg","text":"TemporaryFile(/tmp/multipartBody3754076769913822030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402383177,"filename":"image_29112025_08_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/11/29/fa0b25c3e1bf057c75d01042c9d1f262.jpg","text":"TemporaryFile(/tmp/multipartBody742367077228844937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402383177,"filename":"image_29112025_08_38_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/11/29/b31398758bf5f0a2515305f9e63a4c22.jpg","text":"TemporaryFile(/tmp/multipartBody431357217810022054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402383177,"filename":"image_29112025_08_38_25_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/904f1b2c3995231db9c79a40cf3b73c3.jpg","text":"TemporaryFile(/tmp/multipartBody828393777320103420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402383177,"filename":"image_29112025_08_37_55_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841843","file1":"1396841826","file0":"1396841814","file4":"1396841854","file5":"1396841857","file3":"1396841851"},"map_files_photo_id_array":[{"photo_id":"1396841857","filename":"file5"},{"photo_id":"1396841843","filename":"file2"},{"photo_id":"1396841854","filename":"file4"},{"photo_id":"1396841826","filename":"file1"},{"photo_id":"1396841814","filename":"file0"},{"photo_id":"1396841851","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841826":["hashtag1","hashtag2"]},{"1396841814":["hashtag1","hashtag2"]},{"1396841843":["hashtag1","hashtag2"]},{"1396841854":["hashtag1","hashtag2"]},{"1396841857":["hashtag1","hashtag2"]},{"1396841851":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841826, 1396841814, 1396841843, 1396841854, 1396841857, 1396841851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04238748550415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:46:03.110230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/38/image_29112025_08_38_34_9556.jpg', '/home/pi/Desktop/images/29112025/08/38/image_29112025_08_38_55_9633.jpg', '/home/pi/Desktop/images/29112025/08/38/image_29112025_08_39_04_9683.jpg', '/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_15_10633.jpg', '/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_25_9715.jpg', '/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_34_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/38/image_29112025_08_38_34_9556.jpg
/home/pi/Desktop/images/29112025/08/38/image_29112025_08_38_55_9633.jpg
/home/pi/Desktop/images/29112025/08/38/image_29112025_08_39_04_9683.jpg
/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_15_10633.jpg
/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_25_9715.jpg
/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_34_9565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841862","1396841859","1396841864","1396841861","1396841860","1396841868"],"photo_ids_order":["1396841859","1396841860","1396841861","1396841862","1396841864","1396841868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0fdc5dc8902acf6f6ed6e325da4edf3.jpg","text":"TemporaryFile(/tmp/multipartBody7143522601548381780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402423907,"filename":"image_29112025_08_39_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/11/29/d781708d4dfa40a98803e0f4868236d1.jpg","text":"TemporaryFile(/tmp/multipartBody261359248604011555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402423907,"filename":"image_29112025_08_38_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28e95256ee3fa86d0a943e7e546214df.jpg","text":"TemporaryFile(/tmp/multipartBody6048565222857173376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402423907,"filename":"image_29112025_08_39_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/11/29/a2b52b7ef36f7df1fc61c62b1bd6c08b.jpg","text":"TemporaryFile(/tmp/multipartBody7141980260884165664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402423907,"filename":"image_29112025_08_39_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/11/29/b4fe29cca69c055a04324bc961275e16.jpg","text":"TemporaryFile(/tmp/multipartBody3952973860692385269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402423907,"filename":"image_29112025_08_38_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/361b0181072e42de0b40d2739b8dbf60.jpg","text":"TemporaryFile(/tmp/multipartBody7821488588913654222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402423907,"filename":"image_29112025_08_39_34_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841861","file1":"1396841860","file0":"1396841859","file4":"1396841864","file5":"1396841868","file3":"1396841862"},"map_files_photo_id_array":[{"photo_id":"1396841868","filename":"file5"},{"photo_id":"1396841861","filename":"file2"},{"photo_id":"1396841864","filename":"file4"},{"photo_id":"1396841860","filename":"file1"},{"photo_id":"1396841859","filename":"file0"},{"photo_id":"1396841862","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841862":["hashtag1","hashtag2"]},{"1396841859":["hashtag1","hashtag2"]},{"1396841864":["hashtag1","hashtag2"]},{"1396841861":["hashtag1","hashtag2"]},{"1396841860":["hashtag1","hashtag2"]},{"1396841868":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841862, 1396841859, 1396841864, 1396841861, 1396841860, 1396841868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87148475646973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:46:42.666958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_58_1571.jpg', '/home/pi/Desktop/images/31102025/09/06/image_31102025_09_07_00_1675.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_01_1619.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_05_3631.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_18_12918.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_19_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_06_58_1571.jpg
/home/pi/Desktop/images/31102025/09/06/image_31102025_09_07_00_1675.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_01_1619.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_05_3631.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_18_12918.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_19_1618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841885","1396841887","1396841881","1396841878","1396841883","1396841886"],"photo_ids_order":["1396841878","1396841881","1396841883","1396841885","1396841886","1396841887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e96a83c243c1046303131d7f79d87543.jpg","text":"TemporaryFile(/tmp/multipartBody8242581182215299525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402463781,"filename":"image_31102025_09_07_05_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ce0970b387d4737c25f64f01480b221.jpg","text":"TemporaryFile(/tmp/multipartBody1802091942803540735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402463781,"filename":"image_31102025_09_07_19_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd3b2c7cfb42703898c5f375deb44f4a.jpg","text":"TemporaryFile(/tmp/multipartBody8456798853020017235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402463781,"filename":"image_31102025_09_07_00_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb6dfa06878d27fffbf13adc33c53af5.jpg","text":"TemporaryFile(/tmp/multipartBody7625855881743127346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402463781,"filename":"image_31102025_09_06_58_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13543b533f6b2c2e8181f5ed3f9e7dfc.jpg","text":"TemporaryFile(/tmp/multipartBody2312239238671406755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402463781,"filename":"image_31102025_09_07_01_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c5f0a245640fd91b506354f86aa8981.jpg","text":"TemporaryFile(/tmp/multipartBody5332405191958119372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402463781,"filename":"image_31102025_09_07_18_12918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841883","file1":"1396841881","file0":"1396841878","file4":"1396841886","file5":"1396841887","file3":"1396841885"},"map_files_photo_id_array":[{"photo_id":"1396841887","filename":"file5"},{"photo_id":"1396841883","filename":"file2"},{"photo_id":"1396841886","filename":"file4"},{"photo_id":"1396841881","filename":"file1"},{"photo_id":"1396841878","filename":"file0"},{"photo_id":"1396841885","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396841885":["hashtag1","hashtag2"]},{"1396841887":["hashtag1","hashtag2"]},{"1396841881":["hashtag1","hashtag2"]},{"1396841878":["hashtag1","hashtag2"]},{"1396841883":["hashtag1","hashtag2"]},{"1396841886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396841885, 1396841887, 1396841881, 1396841878, 1396841883, 1396841886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.694321155548096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:47:21.823728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_45_10604.jpg', '/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_54_9736.jpg', '/home/pi/Desktop/images/29112025/08/39/image_29112025_08_40_04_9653.jpg', '/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_15_10690.jpg', '/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_24_9645.jpg', '/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_34_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_45_10604.jpg
/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_54_9736.jpg
/home/pi/Desktop/images/29112025/08/39/image_29112025_08_40_04_9653.jpg
/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_15_10690.jpg
/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_24_9645.jpg
/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_34_9817.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6758332252502441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 08:47:31.931018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_59_3536.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_05_2647.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_07_2696.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_11_3866.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_14_2590.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_16_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/01/image_25112025_18_01_59_3536.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_05_2647.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_07_2696.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_11_3866.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_14_2590.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_16_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":["1396841945","1396841948","1396841921","1396841909","1396841941","1396841947"],"photo_ids_order":["1396841909","1396841921","1396841941","1396841945","1396841947","1396841948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85898ace19fff36aa370bfbbcbbe220f.jpg","text":"TemporaryFile(/tmp/multipartBody1044909394329640008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402514159,"filename":"image_25112025_18_02_11_3866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/445bf91db0121a93c52a15f41aa4184c.jpg","text":"TemporaryFile(/tmp/multipartBody7909047216644035943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402514159,"filename":"image_25112025_18_02_16_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8fbe9e4d6a6fddb06f23e279cc29dbe0.jpg","text":"TemporaryFile(/tmp/multipartBody1741795499505917699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402514159,"filename":"image_25112025_18_02_05_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83eb2c9834833c89a116192d9e510abf.jpg","text":"TemporaryFile(/tmp/multipartBody8102188052650598878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402514159,"filename":"image_25112025_18_01_59_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d126e45be10b0d5e057603d2dc08436.jpg","text":"TemporaryFile(/tmp/multipartBody8803173053479992154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402514159,"filename":"image_25112025_18_02_07_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d376c08c61ad7f738105a56db6bf2f1.jpg","text":"TemporaryFile(/tmp/multipartBody5556207688845827497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402514159,"filename":"image_25112025_18_02_14_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841941","file1":"1396841921","file0":"1396841909","file4":"1396841947","file5":"1396841948","file3":"1396841945"},"map_files_photo_id_array":[{"photo_id":"1396841948","filename":"file5"},{"photo_id":"1396841941","filename":"file2"},{"photo_id":"1396841947","filename":"file4"},{"photo_id":"1396841921","filename":"file1"},{"photo_id":"1396841909","filename":"file0"},{"photo_id":"1396841945","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396841945":["hashtag1","hashtag2"]},{"1396841948":["hashtag1","hashtag2"]},{"1396841921":["hashtag1","hashtag2"]},{"1396841909":["hashtag1","hashtag2"]},{"1396841941":["hashtag1","hashtag2"]},{"1396841947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396841945, 1396841948, 1396841921, 1396841909, 1396841941, 1396841947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.4446496963501 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
2025-11-29 08:48:21.945967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_45_10604.jpg', '/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_54_9736.jpg', '/home/pi/Desktop/images/29112025/08/39/image_29112025_08_40_04_9653.jpg', '/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_15_10690.jpg', '/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_24_9645.jpg', '/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_34_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_45_10604.jpg
/home/pi/Desktop/images/29112025/08/39/image_29112025_08_39_54_9736.jpg
/home/pi/Desktop/images/29112025/08/39/image_29112025_08_40_04_9653.jpg
/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_15_10690.jpg
/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_24_9645.jpg
/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_34_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841961","1396841955","1396841958","1396841966","1396841964","1396841952"],"photo_ids_order":["1396841952","1396841955","1396841958","1396841961","1396841964","1396841966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d6f3112436e0d40c087976185ff4375c.jpg","text":"TemporaryFile(/tmp/multipartBody5260089129053912523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402562709,"filename":"image_29112025_08_40_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/585106b0faaf4ae680f2bbc04cf1f5f0.jpg","text":"TemporaryFile(/tmp/multipartBody6400352598657701033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402562709,"filename":"image_29112025_08_39_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/11/29/f6399fe36f49b7d56a9d942a51379d40.jpg","text":"TemporaryFile(/tmp/multipartBody4654889400574611212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402562709,"filename":"image_29112025_08_40_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da45af7d4ca293ee54a74f1f26043d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8353105083023648415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402562709,"filename":"image_29112025_08_40_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/11/29/8ea76eed2a3b09da83c5a01bbda7ce31.jpg","text":"TemporaryFile(/tmp/multipartBody76640766443262806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402562709,"filename":"image_29112025_08_40_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aadfbf28511653efb9c933bada378b31.jpg","text":"TemporaryFile(/tmp/multipartBody3080594132477216822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402562709,"filename":"image_29112025_08_39_45_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841958","file1":"1396841955","file0":"1396841952","file4":"1396841964","file5":"1396841966","file3":"1396841961"},"map_files_photo_id_array":[{"photo_id":"1396841966","filename":"file5"},{"photo_id":"1396841958","filename":"file2"},{"photo_id":"1396841964","filename":"file4"},{"photo_id":"1396841955","filename":"file1"},{"photo_id":"1396841952","filename":"file0"},{"photo_id":"1396841961","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841961":["hashtag1","hashtag2"]},{"1396841955":["hashtag1","hashtag2"]},{"1396841958":["hashtag1","hashtag2"]},{"1396841966":["hashtag1","hashtag2"]},{"1396841964":["hashtag1","hashtag2"]},{"1396841952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841961, 1396841955, 1396841958, 1396841966, 1396841964, 1396841952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.271130084991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:49:03.122876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_45_10610.jpg', '/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_55_9649.jpg', '/home/pi/Desktop/images/29112025/08/40/image_29112025_08_41_04_9755.jpg', '/home/pi/Desktop/images/29112025/08/41/image_29112025_08_41_14_9677.jpg', '/home/pi/Desktop/images/29112025/08/41/image_29112025_08_41_25_10589.jpg', '/home/pi/Desktop/images/29112025/08/41/image_29112025_08_41_34_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_45_10610.jpg
/home/pi/Desktop/images/29112025/08/40/image_29112025_08_40_55_9649.jpg
/home/pi/Desktop/images/29112025/08/40/image_29112025_08_41_04_9755.jpg
/home/pi/Desktop/images/29112025/08/41/image_29112025_08_41_14_9677.jpg
/home/pi/Desktop/images/29112025/08/41/image_29112025_08_41_25_10589.jpg
/home/pi/Desktop/images/29112025/08/41/image_29112025_08_41_34_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396841969","1396841972","1396841968","1396841982","1396841970","1396841967"],"photo_ids_order":["1396841967","1396841968","1396841969","1396841970","1396841972","1396841982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1fc5d10c1ad3a4b48c4ae96b25ef5c7b.jpg","text":"TemporaryFile(/tmp/multipartBody5921036760250567074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402604080,"filename":"image_29112025_08_41_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/11/29/e3ba4bdc5d0b044e1139a18a5f39ec9c.jpg","text":"TemporaryFile(/tmp/multipartBody4962301802586363884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402604080,"filename":"image_29112025_08_41_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/11/29/6fe403df5eea1c26a85e54fe2a7d5098.jpg","text":"TemporaryFile(/tmp/multipartBody2228418333965169362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402604080,"filename":"image_29112025_08_40_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81ad1a4163506091bdd562026c49a497.jpg","text":"TemporaryFile(/tmp/multipartBody5228470543443379648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402604080,"filename":"image_29112025_08_41_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/281359413ad04aac2fe8f8ffc0fbdcf9.jpg","text":"TemporaryFile(/tmp/multipartBody4543977715209496079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402604080,"filename":"image_29112025_08_41_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e8425003e097ef81fe156f3d11feb8a.jpg","text":"TemporaryFile(/tmp/multipartBody4478146383698425399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402604080,"filename":"image_29112025_08_40_45_10610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396841969","file1":"1396841968","file0":"1396841967","file4":"1396841972","file5":"1396841982","file3":"1396841970"},"map_files_photo_id_array":[{"photo_id":"1396841982","filename":"file5"},{"photo_id":"1396841969","filename":"file2"},{"photo_id":"1396841972","filename":"file4"},{"photo_id":"1396841968","filename":"file1"},{"photo_id":"1396841967","filename":"file0"},{"photo_id":"1396841970","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396841969":["hashtag1","hashtag2"]},{"1396841972":["hashtag1","hashtag2"]},{"1396841968":["hashtag1","hashtag2"]},{"1396841982":["hashtag1","hashtag2"]},{"1396841970":["hashtag1","hashtag2"]},{"1396841967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396841969, 1396841972, 1396841968, 1396841982, 1396841970, 1396841967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.468201875686646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:49:42.194819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_21_1664.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_23_1620.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_26_3489.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_28_1657.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_33_5148.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_42_8793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_21_1664.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_23_1620.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_26_3489.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_28_1657.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_33_5148.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_42_8793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396842018","1396842020","1396842017","1396842016","1396842019","1396842013"],"photo_ids_order":["1396842013","1396842016","1396842017","1396842018","1396842019","1396842020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/333ddda2fb2182795f43ce2ff8627117.jpg","text":"TemporaryFile(/tmp/multipartBody8185143211660125559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402643295,"filename":"image_31102025_09_07_28_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50674b952d6948acf9b3018205ed9e4e.jpg","text":"TemporaryFile(/tmp/multipartBody5048166200393978309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402643295,"filename":"image_31102025_09_07_42_8793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/785ef91c72d60db38be3056dbe6235d8.jpg","text":"TemporaryFile(/tmp/multipartBody7855298925708011840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402643295,"filename":"image_31102025_09_07_26_3489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8258c115df176c873ccb08d05d69c55a.jpg","text":"TemporaryFile(/tmp/multipartBody1149326339435655878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402643295,"filename":"image_31102025_09_07_23_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a2b59d27faa9e5ff098c3c89a866188.jpg","text":"TemporaryFile(/tmp/multipartBody8401121343223580345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402643295,"filename":"image_31102025_09_07_33_5148.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/563727297695adbc020db4ebfedf1ebf.jpg","text":"TemporaryFile(/tmp/multipartBody560433846892064724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402643295,"filename":"image_31102025_09_07_21_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396842017","file1":"1396842016","file0":"1396842013","file4":"1396842019","file5":"1396842020","file3":"1396842018"},"map_files_photo_id_array":[{"photo_id":"1396842020","filename":"file5"},{"photo_id":"1396842017","filename":"file2"},{"photo_id":"1396842019","filename":"file4"},{"photo_id":"1396842016","filename":"file1"},{"photo_id":"1396842013","filename":"file0"},{"photo_id":"1396842018","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396842018":["hashtag1","hashtag2"]},{"1396842020":["hashtag1","hashtag2"]},{"1396842017":["hashtag1","hashtag2"]},{"1396842016":["hashtag1","hashtag2"]},{"1396842019":["hashtag1","hashtag2"]},{"1396842013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396842018, 1396842020, 1396842017, 1396842016, 1396842019, 1396842013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.690547466278076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:50:22.383357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/41/image_29112025_08_41_45_10736.jpg', '/home/pi/Desktop/images/29112025/08/41/image_29112025_08_41_55_9621.jpg', '/home/pi/Desktop/images/29112025/08/41/image_29112025_08_42_04_9796.jpg', '/home/pi/Desktop/images/29112025/08/42/image_29112025_08_42_14_9628.jpg', '/home/pi/Desktop/images/29112025/08/42/image_29112025_08_42_25_10814.jpg', '/home/pi/Desktop/images/29112025/08/42/image_29112025_08_42_34_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/41/image_29112025_08_41_45_10736.jpg
/home/pi/Desktop/images/29112025/08/41/image_29112025_08_41_55_9621.jpg
/home/pi/Desktop/images/29112025/08/41/image_29112025_08_42_04_9796.jpg
/home/pi/Desktop/images/29112025/08/42/image_29112025_08_42_14_9628.jpg
/home/pi/Desktop/images/29112025/08/42/image_29112025_08_42_25_10814.jpg
/home/pi/Desktop/images/29112025/08/42/image_29112025_08_42_34_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396842024","1396842038","1396842032","1396842026","1396842035","1396842029"],"photo_ids_order":["1396842024","1396842026","1396842029","1396842032","1396842035","1396842038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b687b2b8496954cc869e308c274d90b5.jpg","text":"TemporaryFile(/tmp/multipartBody6010345440392412731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402683148,"filename":"image_29112025_08_41_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/11/29/ea0a34732233169bfc8d7e5f7d02466b.jpg","text":"TemporaryFile(/tmp/multipartBody8782287798004240649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402683148,"filename":"image_29112025_08_42_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/11/29/974bc0cab41b034aa98a10e009cfbc6c.jpg","text":"TemporaryFile(/tmp/multipartBody4976770154984185041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402683148,"filename":"image_29112025_08_42_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/052ed5224fe7ae35b44bf2ae6b9023fb.jpg","text":"TemporaryFile(/tmp/multipartBody6984336883662385780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402683148,"filename":"image_29112025_08_41_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/11/29/bfda92cc4732e6ea1485387b63b12e8a.jpg","text":"TemporaryFile(/tmp/multipartBody7191980508570443852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402683148,"filename":"image_29112025_08_42_25_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e5a201f716b72e9ecd5494260c93ef4.jpg","text":"TemporaryFile(/tmp/multipartBody2216404400539888693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402683148,"filename":"image_29112025_08_42_04_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396842029","file1":"1396842026","file0":"1396842024","file4":"1396842035","file5":"1396842038","file3":"1396842032"},"map_files_photo_id_array":[{"photo_id":"1396842038","filename":"file5"},{"photo_id":"1396842029","filename":"file2"},{"photo_id":"1396842035","filename":"file4"},{"photo_id":"1396842026","filename":"file1"},{"photo_id":"1396842024","filename":"file0"},{"photo_id":"1396842032","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396842024":["hashtag1","hashtag2"]},{"1396842038":["hashtag1","hashtag2"]},{"1396842032":["hashtag1","hashtag2"]},{"1396842026":["hashtag1","hashtag2"]},{"1396842035":["hashtag1","hashtag2"]},{"1396842029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396842024, 1396842038, 1396842032, 1396842026, 1396842035, 1396842029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84682488441467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:51:03.187051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/42/image_29112025_08_42_55_10699.jpg', '/home/pi/Desktop/images/29112025/08/42/image_29112025_08_43_04_9643.jpg', '/home/pi/Desktop/images/29112025/08/43/image_29112025_08_43_14_9769.jpg', '/home/pi/Desktop/images/29112025/08/43/image_29112025_08_43_24_9701.jpg', '/home/pi/Desktop/images/29112025/08/43/image_29112025_08_43_35_10827.jpg', '/home/pi/Desktop/images/29112025/08/43/image_29112025_08_43_45_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/42/image_29112025_08_42_55_10699.jpg
/home/pi/Desktop/images/29112025/08/42/image_29112025_08_43_04_9643.jpg
/home/pi/Desktop/images/29112025/08/43/image_29112025_08_43_14_9769.jpg
/home/pi/Desktop/images/29112025/08/43/image_29112025_08_43_24_9701.jpg
/home/pi/Desktop/images/29112025/08/43/image_29112025_08_43_35_10827.jpg
/home/pi/Desktop/images/29112025/08/43/image_29112025_08_43_45_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396842065","1396842073","1396842064","1396842063","1396842066","1396842069"],"photo_ids_order":["1396842063","1396842064","1396842065","1396842066","1396842069","1396842073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0cf4f1307753d6be2b26355c0da7877.jpg","text":"TemporaryFile(/tmp/multipartBody6954642937507245001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402724024,"filename":"image_29112025_08_43_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/11/29/31cc9158a45f1a80bb5cfe6b7a00addf.jpg","text":"TemporaryFile(/tmp/multipartBody5423548867071797364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402724024,"filename":"image_29112025_08_43_45_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb47bd77e8941d1e8eb68ede795e45cd.jpg","text":"TemporaryFile(/tmp/multipartBody2260326216287557335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402724024,"filename":"image_29112025_08_43_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/11/29/a0bfa971b9de844caef91dcc809e7aec.jpg","text":"TemporaryFile(/tmp/multipartBody7818377553678650206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402724024,"filename":"image_29112025_08_42_55_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55f36973510443e2bd023525f4b6305b.jpg","text":"TemporaryFile(/tmp/multipartBody7042608030693812605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402724024,"filename":"image_29112025_08_43_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/11/29/300afc05e83ec7b1f6e50b6d756ab550.jpg","text":"TemporaryFile(/tmp/multipartBody4565889778464720389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402724024,"filename":"image_29112025_08_43_35_10827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396842065","file1":"1396842064","file0":"1396842063","file4":"1396842069","file5":"1396842073","file3":"1396842066"},"map_files_photo_id_array":[{"photo_id":"1396842073","filename":"file5"},{"photo_id":"1396842065","filename":"file2"},{"photo_id":"1396842069","filename":"file4"},{"photo_id":"1396842064","filename":"file1"},{"photo_id":"1396842063","filename":"file0"},{"photo_id":"1396842066","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396842065":["hashtag1","hashtag2"]},{"1396842073":["hashtag1","hashtag2"]},{"1396842064":["hashtag1","hashtag2"]},{"1396842063":["hashtag1","hashtag2"]},{"1396842066":["hashtag1","hashtag2"]},{"1396842069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396842065, 1396842073, 1396842064, 1396842063, 1396842066, 1396842069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39734506607056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:51:42.566094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_43_1631.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_45_1841.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_54_1680.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_56_1616.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_57_1553.jpg', '/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_59_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_43_1631.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_45_1841.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_54_1680.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_56_1616.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_57_1553.jpg
/home/pi/Desktop/images/31102025/09/07/image_31102025_09_07_59_1688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396842172","1396842133","1396842096","1396842081","1396842084","1396842168"],"photo_ids_order":["1396842081","1396842084","1396842096","1396842133","1396842168","1396842172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd821d86e554587f40461ff031883a3f.jpg","text":"TemporaryFile(/tmp/multipartBody456774967012370910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402763670,"filename":"image_31102025_09_07_59_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b1e36de53bf411087cdf31decbdfbdd.jpg","text":"TemporaryFile(/tmp/multipartBody6922561458851584420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402763670,"filename":"image_31102025_09_07_56_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd299dae597b8eccd604bed7100ea3bf.jpg","text":"TemporaryFile(/tmp/multipartBody4547669359404835204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402763670,"filename":"image_31102025_09_07_54_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f14dcfe113ae51b915f8ab9968c3afa0.jpg","text":"TemporaryFile(/tmp/multipartBody236820405257137855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402763670,"filename":"image_31102025_09_07_43_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ecb49d1dc317802452dde1f4fb94d32.jpg","text":"TemporaryFile(/tmp/multipartBody5587181317418256864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402763670,"filename":"image_31102025_09_07_45_1841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2a6fe45648a58baeab7a673388744a3.jpg","text":"TemporaryFile(/tmp/multipartBody263340370774123492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402763670,"filename":"image_31102025_09_07_57_1553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396842096","file1":"1396842084","file0":"1396842081","file4":"1396842168","file5":"1396842172","file3":"1396842133"},"map_files_photo_id_array":[{"photo_id":"1396842172","filename":"file5"},{"photo_id":"1396842096","filename":"file2"},{"photo_id":"1396842168","filename":"file4"},{"photo_id":"1396842084","filename":"file1"},{"photo_id":"1396842081","filename":"file0"},{"photo_id":"1396842133","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396842172":["hashtag1","hashtag2"]},{"1396842133":["hashtag1","hashtag2"]},{"1396842096":["hashtag1","hashtag2"]},{"1396842081":["hashtag1","hashtag2"]},{"1396842084":["hashtag1","hashtag2"]},{"1396842168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396842172, 1396842133, 1396842096, 1396842081, 1396842084, 1396842168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57801127433777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:52:22.768638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/44/image_29112025_08_44_24_9812.jpg', '/home/pi/Desktop/images/29112025/08/44/image_29112025_08_44_34_9703.jpg', '/home/pi/Desktop/images/29112025/08/44/image_29112025_08_44_44_9743.jpg', '/home/pi/Desktop/images/29112025/08/44/image_29112025_08_44_55_10742.jpg', '/home/pi/Desktop/images/29112025/08/44/image_29112025_08_45_04_9535.jpg', '/home/pi/Desktop/images/29112025/08/45/image_29112025_08_45_14_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/44/image_29112025_08_44_24_9812.jpg
/home/pi/Desktop/images/29112025/08/44/image_29112025_08_44_34_9703.jpg
/home/pi/Desktop/images/29112025/08/44/image_29112025_08_44_44_9743.jpg
/home/pi/Desktop/images/29112025/08/44/image_29112025_08_44_55_10742.jpg
/home/pi/Desktop/images/29112025/08/44/image_29112025_08_45_04_9535.jpg
/home/pi/Desktop/images/29112025/08/45/image_29112025_08_45_14_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396842232","1396842229","1396842220","1396842223","1396842217","1396842226"],"photo_ids_order":["1396842217","1396842220","1396842223","1396842226","1396842229","1396842232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7993d8053d34bad8fec7e8e6fd645197.jpg","text":"TemporaryFile(/tmp/multipartBody5775630096626996284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402803521,"filename":"image_29112025_08_45_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/11/29/dd586ff17df902190f46c45a1aa3197b.jpg","text":"TemporaryFile(/tmp/multipartBody5423549554881261896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402803521,"filename":"image_29112025_08_45_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/11/29/9797b485e7d71374a786feb85bca8ddb.jpg","text":"TemporaryFile(/tmp/multipartBody3553782448837573519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402803521,"filename":"image_29112025_08_44_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f5b5f9e9e20b2b3e7199a98bb8ad874.jpg","text":"TemporaryFile(/tmp/multipartBody6612473640113348041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402803521,"filename":"image_29112025_08_44_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/11/29/5a51c200fa98d1dedd3a5160c968baf4.jpg","text":"TemporaryFile(/tmp/multipartBody8160392763373263001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402803521,"filename":"image_29112025_08_44_24_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/313bbb44f05cd287072dd7c26986db13.jpg","text":"TemporaryFile(/tmp/multipartBody2782457437163644568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402803521,"filename":"image_29112025_08_44_55_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396842223","file1":"1396842220","file0":"1396842217","file4":"1396842229","file5":"1396842232","file3":"1396842226"},"map_files_photo_id_array":[{"photo_id":"1396842232","filename":"file5"},{"photo_id":"1396842223","filename":"file2"},{"photo_id":"1396842229","filename":"file4"},{"photo_id":"1396842220","filename":"file1"},{"photo_id":"1396842217","filename":"file0"},{"photo_id":"1396842226","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396842232":["hashtag1","hashtag2"]},{"1396842229":["hashtag1","hashtag2"]},{"1396842220":["hashtag1","hashtag2"]},{"1396842223":["hashtag1","hashtag2"]},{"1396842217":["hashtag1","hashtag2"]},{"1396842226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396842232, 1396842229, 1396842220, 1396842223, 1396842217, 1396842226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.089815616607666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:53:02.561972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/45/image_29112025_08_45_34_9740.jpg', '/home/pi/Desktop/images/29112025/08/45/image_29112025_08_45_44_9686.jpg', '/home/pi/Desktop/images/29112025/08/45/image_29112025_08_45_55_10706.jpg', '/home/pi/Desktop/images/29112025/08/45/image_29112025_08_46_05_9749.jpg', '/home/pi/Desktop/images/29112025/08/46/image_29112025_08_46_14_9749.jpg', '/home/pi/Desktop/images/29112025/08/46/image_29112025_08_46_24_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/45/image_29112025_08_45_34_9740.jpg
/home/pi/Desktop/images/29112025/08/45/image_29112025_08_45_44_9686.jpg
/home/pi/Desktop/images/29112025/08/45/image_29112025_08_45_55_10706.jpg
/home/pi/Desktop/images/29112025/08/45/image_29112025_08_46_05_9749.jpg
/home/pi/Desktop/images/29112025/08/46/image_29112025_08_46_14_9749.jpg
/home/pi/Desktop/images/29112025/08/46/image_29112025_08_46_24_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396842236","1396842233","1396842241","1396842235","1396842238","1396842234"],"photo_ids_order":["1396842233","1396842234","1396842235","1396842236","1396842238","1396842241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56f4ab24a22ea341bbe8d94931555387.jpg","text":"TemporaryFile(/tmp/multipartBody7909664939359029542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402843397,"filename":"image_29112025_08_46_05_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/234e1370385d332b17ec797db18272bc.jpg","text":"TemporaryFile(/tmp/multipartBody2291501491185627553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402843397,"filename":"image_29112025_08_45_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/11/29/2477f4bc3f5b7c1a1345364becebcccf.jpg","text":"TemporaryFile(/tmp/multipartBody7877799510516481014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402843397,"filename":"image_29112025_08_46_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/11/29/a696158fa9fe4a414bf89c6553e9767c.jpg","text":"TemporaryFile(/tmp/multipartBody1972201612656178563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402843397,"filename":"image_29112025_08_45_55_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5e3ac30e9dad3ddc8b8f1b6394ecea8.jpg","text":"TemporaryFile(/tmp/multipartBody7613260169618124596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402843397,"filename":"image_29112025_08_46_14_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10af2ad768e0c2de236b13aa9ef95ada.jpg","text":"TemporaryFile(/tmp/multipartBody2854484643058094003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402843397,"filename":"image_29112025_08_45_44_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396842235","file1":"1396842234","file0":"1396842233","file4":"1396842238","file5":"1396842241","file3":"1396842236"},"map_files_photo_id_array":[{"photo_id":"1396842241","filename":"file5"},{"photo_id":"1396842235","filename":"file2"},{"photo_id":"1396842238","filename":"file4"},{"photo_id":"1396842234","filename":"file1"},{"photo_id":"1396842233","filename":"file0"},{"photo_id":"1396842236","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396842236":["hashtag1","hashtag2"]},{"1396842233":["hashtag1","hashtag2"]},{"1396842241":["hashtag1","hashtag2"]},{"1396842235":["hashtag1","hashtag2"]},{"1396842238":["hashtag1","hashtag2"]},{"1396842234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396842236, 1396842233, 1396842241, 1396842235, 1396842238, 1396842234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37118077278137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:53:41.867359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_02_1679.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_04_1756.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_06_1696.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_08_1638.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_09_1736.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_14_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/09/08/image_31102025_09_08_02_1679.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_04_1756.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_06_1696.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_08_1638.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_09_1736.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_14_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":["1396842250","1396842253","1396842288","1396842360","1396842255","1396842324"],"photo_ids_order":["1396842250","1396842253","1396842255","1396842288","1396842324","1396842360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/569e7294314ae0379c6cb2b5a4dc55f3.jpg","text":"TemporaryFile(/tmp/multipartBody5969980575334672523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402882970,"filename":"image_31102025_09_08_02_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04314533281576b5a0c43a9bf8395eef.jpg","text":"TemporaryFile(/tmp/multipartBody2688640125046558709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402882970,"filename":"image_31102025_09_08_04_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51c3ae2df31cf32694c2eb21e0ff1ab4.jpg","text":"TemporaryFile(/tmp/multipartBody816257450355212976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402882970,"filename":"image_31102025_09_08_08_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d21334acdcdb3ae6f518373a1349caff.jpg","text":"TemporaryFile(/tmp/multipartBody2546133891758976337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402882970,"filename":"image_31102025_09_08_14_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c86ef2a38691ad3d4193aa5d88f4e3d1.jpg","text":"TemporaryFile(/tmp/multipartBody4816298336248456757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402882970,"filename":"image_31102025_09_08_06_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5bf7cad7814cdacb77965b610dde8c5.jpg","text":"TemporaryFile(/tmp/multipartBody1554615340843535590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402882970,"filename":"image_31102025_09_08_09_1736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396842255","file1":"1396842253","file0":"1396842250","file4":"1396842324","file5":"1396842360","file3":"1396842288"},"map_files_photo_id_array":[{"photo_id":"1396842360","filename":"file5"},{"photo_id":"1396842255","filename":"file2"},{"photo_id":"1396842324","filename":"file4"},{"photo_id":"1396842253","filename":"file1"},{"photo_id":"1396842250","filename":"file0"},{"photo_id":"1396842288","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396842250":["hashtag1","hashtag2"]},{"1396842253":["hashtag1","hashtag2"]},{"1396842288":["hashtag1","hashtag2"]},{"1396842360":["hashtag1","hashtag2"]},{"1396842255":["hashtag1","hashtag2"]},{"1396842324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396842250, 1396842253, 1396842288, 1396842360, 1396842255, 1396842324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95995306968689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:54:22.143344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/46/image_29112025_08_46_35_10760.jpg', '/home/pi/Desktop/images/29112025/08/46/image_29112025_08_46_44_9766.jpg', '/home/pi/Desktop/images/29112025/08/46/image_29112025_08_47_04_9722.jpg', '/home/pi/Desktop/images/29112025/08/47/image_29112025_08_47_15_10652.jpg', '/home/pi/Desktop/images/29112025/08/47/image_29112025_08_47_54_10568.jpg', '/home/pi/Desktop/images/29112025/08/47/image_29112025_08_48_04_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/46/image_29112025_08_46_35_10760.jpg
/home/pi/Desktop/images/29112025/08/46/image_29112025_08_46_44_9766.jpg
/home/pi/Desktop/images/29112025/08/46/image_29112025_08_47_04_9722.jpg
/home/pi/Desktop/images/29112025/08/47/image_29112025_08_47_15_10652.jpg
/home/pi/Desktop/images/29112025/08/47/image_29112025_08_47_54_10568.jpg
/home/pi/Desktop/images/29112025/08/47/image_29112025_08_48_04_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396842606","1396842491","1396842530","1396842694","1396842568","1396842643"],"photo_ids_order":["1396842491","1396842530","1396842568","1396842606","1396842643","1396842694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83cae5f296dea5b9ab43caa7e8955035.jpg","text":"TemporaryFile(/tmp/multipartBody8972539297880173667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402922898,"filename":"image_29112025_08_47_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e608c373c36bb5fad5d7f9399176c1b1.jpg","text":"TemporaryFile(/tmp/multipartBody8618917608193606146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402922898,"filename":"image_29112025_08_46_35_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6475571fd49dce5d6d59d7b122a17bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2624020634524265696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402922898,"filename":"image_29112025_08_46_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/11/29/21f9641c377d948a0c67fc3073c48398.jpg","text":"TemporaryFile(/tmp/multipartBody7086435827729311915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402922898,"filename":"image_29112025_08_48_04_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8d9598a5cf8c25eeddecb3c16e8174b.jpg","text":"TemporaryFile(/tmp/multipartBody4679614275409887361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402922898,"filename":"image_29112025_08_47_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/11/29/07c911fa094f5119c2d294f74a6226a2.jpg","text":"TemporaryFile(/tmp/multipartBody2731376020251927441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402922898,"filename":"image_29112025_08_47_54_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396842568","file1":"1396842530","file0":"1396842491","file4":"1396842643","file5":"1396842694","file3":"1396842606"},"map_files_photo_id_array":[{"photo_id":"1396842694","filename":"file5"},{"photo_id":"1396842568","filename":"file2"},{"photo_id":"1396842643","filename":"file4"},{"photo_id":"1396842530","filename":"file1"},{"photo_id":"1396842491","filename":"file0"},{"photo_id":"1396842606","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396842606":["hashtag1","hashtag2"]},{"1396842491":["hashtag1","hashtag2"]},{"1396842530":["hashtag1","hashtag2"]},{"1396842694":["hashtag1","hashtag2"]},{"1396842568":["hashtag1","hashtag2"]},{"1396842643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396842606, 1396842491, 1396842530, 1396842694, 1396842568, 1396842643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.453086376190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:55:02.727536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/48/image_29112025_08_48_14_9758.jpg', '/home/pi/Desktop/images/29112025/08/48/image_29112025_08_48_25_10741.jpg', '/home/pi/Desktop/images/29112025/08/48/image_29112025_08_48_34_9694.jpg', '/home/pi/Desktop/images/29112025/08/48/image_29112025_08_48_44_9708.jpg', '/home/pi/Desktop/images/29112025/08/48/image_29112025_08_48_55_10666.jpg', '/home/pi/Desktop/images/29112025/08/48/image_29112025_08_49_04_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/48/image_29112025_08_48_14_9758.jpg
/home/pi/Desktop/images/29112025/08/48/image_29112025_08_48_25_10741.jpg
/home/pi/Desktop/images/29112025/08/48/image_29112025_08_48_34_9694.jpg
/home/pi/Desktop/images/29112025/08/48/image_29112025_08_48_44_9708.jpg
/home/pi/Desktop/images/29112025/08/48/image_29112025_08_48_55_10666.jpg
/home/pi/Desktop/images/29112025/08/48/image_29112025_08_49_04_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":["1396843454","1396843307","1396843217","1396843139","1396843395","1396843047"],"photo_ids_order":["1396843047","1396843139","1396843217","1396843307","1396843395","1396843454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a0701923d6b12c68d7057dc3158e420.jpg","text":"TemporaryFile(/tmp/multipartBody385906479656946125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402963616,"filename":"image_29112025_08_49_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/11/29/ff01364d02a2d4a6aac6e71a628ae876.jpg","text":"TemporaryFile(/tmp/multipartBody6302759732347685979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402963616,"filename":"image_29112025_08_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/11/29/8517557d05bf44dead833a04020a0157.jpg","text":"TemporaryFile(/tmp/multipartBody6557236625467324300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402963616,"filename":"image_29112025_08_48_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d5fb1dc3b9aa4720182b71b2eb547fb.jpg","text":"TemporaryFile(/tmp/multipartBody1528209650395468243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402963616,"filename":"image_29112025_08_48_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/11/29/a0f222188ba553f2cad3ca285104e102.jpg","text":"TemporaryFile(/tmp/multipartBody5343004282204805618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402963616,"filename":"image_29112025_08_48_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/11/29/abcb02b8f101947a9761a7064a944564.jpg","text":"TemporaryFile(/tmp/multipartBody4811521467529983516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764402963616,"filename":"image_29112025_08_48_14_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396843217","file1":"1396843139","file0":"1396843047","file4":"1396843395","file5":"1396843454","file3":"1396843307"},"map_files_photo_id_array":[{"photo_id":"1396843454","filename":"file5"},{"photo_id":"1396843217","filename":"file2"},{"photo_id":"1396843395","filename":"file4"},{"photo_id":"1396843139","filename":"file1"},{"photo_id":"1396843047","filename":"file0"},{"photo_id":"1396843307","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396843454":["hashtag1","hashtag2"]},{"1396843307":["hashtag1","hashtag2"]},{"1396843217":["hashtag1","hashtag2"]},{"1396843139":["hashtag1","hashtag2"]},{"1396843395":["hashtag1","hashtag2"]},{"1396843047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396843454, 1396843307, 1396843217, 1396843139, 1396843395, 1396843047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.769572734832764 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-11-29 08:56:02.881770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/49/image_29112025_08_49_14_9680.jpg', '/home/pi/Desktop/images/29112025/08/49/image_29112025_08_49_25_10693.jpg', '/home/pi/Desktop/images/29112025/08/49/image_29112025_08_49_35_9803.jpg', '/home/pi/Desktop/images/29112025/08/49/image_29112025_08_49_44_9790.jpg', '/home/pi/Desktop/images/29112025/08/49/image_29112025_08_49_54_9643.jpg', '/home/pi/Desktop/images/29112025/08/49/image_29112025_08_50_05_10869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/49/image_29112025_08_49_14_9680.jpg
/home/pi/Desktop/images/29112025/08/49/image_29112025_08_49_25_10693.jpg
/home/pi/Desktop/images/29112025/08/49/image_29112025_08_49_35_9803.jpg
/home/pi/Desktop/images/29112025/08/49/image_29112025_08_49_44_9790.jpg
/home/pi/Desktop/images/29112025/08/49/image_29112025_08_49_54_9643.jpg
/home/pi/Desktop/images/29112025/08/49/image_29112025_08_50_05_10869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396843736","1396843937","1396843888","1396843830","1396843772","1396843697"],"photo_ids_order":["1396843697","1396843736","1396843772","1396843830","1396843888","1396843937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea1343ede413aeecc982feb74c6bcb9f.jpg","text":"TemporaryFile(/tmp/multipartBody5496303337985825996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403023684,"filename":"image_29112025_08_49_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/11/29/c9af299117f2624155cd5a772c94855f.jpg","text":"TemporaryFile(/tmp/multipartBody2658024364159519166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403023684,"filename":"image_29112025_08_50_05_10869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f418703070232aad96ef0f2cddb02ce.jpg","text":"TemporaryFile(/tmp/multipartBody2211156003632613911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403023684,"filename":"image_29112025_08_49_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/11/29/0730a42f800d4181b07e9cce9f4b9774.jpg","text":"TemporaryFile(/tmp/multipartBody2446837163997966330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403023684,"filename":"image_29112025_08_49_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/11/29/d14ae9e54182558c72bce0ab33b34a84.jpg","text":"TemporaryFile(/tmp/multipartBody3590363400471316262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403023684,"filename":"image_29112025_08_49_35_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d2b2421deeee388173028f3bb0e1241.jpg","text":"TemporaryFile(/tmp/multipartBody4536905120301306251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403023684,"filename":"image_29112025_08_49_14_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396843772","file1":"1396843736","file0":"1396843697","file4":"1396843888","file5":"1396843937","file3":"1396843830"},"map_files_photo_id_array":[{"photo_id":"1396843937","filename":"file5"},{"photo_id":"1396843772","filename":"file2"},{"photo_id":"1396843888","filename":"file4"},{"photo_id":"1396843736","filename":"file1"},{"photo_id":"1396843697","filename":"file0"},{"photo_id":"1396843830","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396843736":["hashtag1","hashtag2"]},{"1396843937":["hashtag1","hashtag2"]},{"1396843888":["hashtag1","hashtag2"]},{"1396843830":["hashtag1","hashtag2"]},{"1396843772":["hashtag1","hashtag2"]},{"1396843697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396843736, 1396843937, 1396843888, 1396843830, 1396843772, 1396843697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.593780279159546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 08:56:42.435107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_17_3545.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_20_2611.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_22_2414.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_25_2695.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_33_2978.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_35_1736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_17_3545.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_20_2611.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_22_2414.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_25_2695.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_33_2978.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_35_1736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396844501","1396844323","1396844212","1396844091","1396844136","1396844417"],"photo_ids_order":["1396844091","1396844136","1396844212","1396844323","1396844417","1396844501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7724ec48cb8d3da9dd2459b9addb0a3.jpg","text":"TemporaryFile(/tmp/multipartBody8936957296615593771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403063557,"filename":"image_31102025_09_08_35_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b676e7ab9d6f40804248c062196a97da.jpg","text":"TemporaryFile(/tmp/multipartBody4827928635167641395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403063557,"filename":"image_31102025_09_08_25_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34f2fd1f906c0250e25d1edc16ec85b1.jpg","text":"TemporaryFile(/tmp/multipartBody6745312570526524252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403063557,"filename":"image_31102025_09_08_22_2414.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7a925c3c6ef12b4794dd55a80d4bf7d.jpg","text":"TemporaryFile(/tmp/multipartBody3037227417917436952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403063557,"filename":"image_31102025_09_08_17_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f28720cfe556bccc7f343ee1be58a552.jpg","text":"TemporaryFile(/tmp/multipartBody4239441867486715553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403063557,"filename":"image_31102025_09_08_20_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e033b36d73d47ce6635ca21403bbf61a.jpg","text":"TemporaryFile(/tmp/multipartBody4594568933404052717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403063557,"filename":"image_31102025_09_08_33_2978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396844212","file1":"1396844136","file0":"1396844091","file4":"1396844417","file5":"1396844501","file3":"1396844323"},"map_files_photo_id_array":[{"photo_id":"1396844501","filename":"file5"},{"photo_id":"1396844212","filename":"file2"},{"photo_id":"1396844417","filename":"file4"},{"photo_id":"1396844136","filename":"file1"},{"photo_id":"1396844091","filename":"file0"},{"photo_id":"1396844323","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396844501":["hashtag1","hashtag2"]},{"1396844323":["hashtag1","hashtag2"]},{"1396844212":["hashtag1","hashtag2"]},{"1396844091":["hashtag1","hashtag2"]},{"1396844136":["hashtag1","hashtag2"]},{"1396844417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396844501, 1396844323, 1396844212, 1396844091, 1396844136, 1396844417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30476713180542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 08:57:22.724600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/50/image_29112025_08_50_15_9729.jpg', '/home/pi/Desktop/images/29112025/08/50/image_29112025_08_50_24_9849.jpg', '/home/pi/Desktop/images/29112025/08/50/image_29112025_08_50_34_9620.jpg', '/home/pi/Desktop/images/29112025/08/50/image_29112025_08_50_45_10624.jpg', '/home/pi/Desktop/images/29112025/08/50/image_29112025_08_50_54_9651.jpg', '/home/pi/Desktop/images/29112025/08/51/image_29112025_08_51_15_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/50/image_29112025_08_50_15_9729.jpg
/home/pi/Desktop/images/29112025/08/50/image_29112025_08_50_24_9849.jpg
/home/pi/Desktop/images/29112025/08/50/image_29112025_08_50_34_9620.jpg
/home/pi/Desktop/images/29112025/08/50/image_29112025_08_50_45_10624.jpg
/home/pi/Desktop/images/29112025/08/50/image_29112025_08_50_54_9651.jpg
/home/pi/Desktop/images/29112025/08/51/image_29112025_08_51_15_10721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396844566","1396844623","1396844865","1396844850","1396844787","1396844700"],"photo_ids_order":["1396844566","1396844623","1396844700","1396844787","1396844850","1396844865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e6d5e51b7a64259afab0a103374b298.jpg","text":"TemporaryFile(/tmp/multipartBody3376325965469196883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403103460,"filename":"image_29112025_08_50_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/11/29/9975d459cb05c3dcecb26fa40b47c3fa.jpg","text":"TemporaryFile(/tmp/multipartBody2034499252644713536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403103460,"filename":"image_29112025_08_50_24_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4df8264eca521efc2198dddb5a3d8657.jpg","text":"TemporaryFile(/tmp/multipartBody4934737179837587867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403103460,"filename":"image_29112025_08_51_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/11/29/6b769b02a3ca57ba0d57f45c21a0694e.jpg","text":"TemporaryFile(/tmp/multipartBody945638293067095924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403103460,"filename":"image_29112025_08_50_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/11/29/904abbe9cad489b15add287b40c8fe0b.jpg","text":"TemporaryFile(/tmp/multipartBody3279683535893054201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403103460,"filename":"image_29112025_08_50_45_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c78d181555e991666adcb3e95519961a.jpg","text":"TemporaryFile(/tmp/multipartBody4218510020044375910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403103460,"filename":"image_29112025_08_50_34_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396844700","file1":"1396844623","file0":"1396844566","file4":"1396844850","file5":"1396844865","file3":"1396844787"},"map_files_photo_id_array":[{"photo_id":"1396844865","filename":"file5"},{"photo_id":"1396844700","filename":"file2"},{"photo_id":"1396844850","filename":"file4"},{"photo_id":"1396844623","filename":"file1"},{"photo_id":"1396844566","filename":"file0"},{"photo_id":"1396844787","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396844566":["hashtag1","hashtag2"]},{"1396844623":["hashtag1","hashtag2"]},{"1396844865":["hashtag1","hashtag2"]},{"1396844850":["hashtag1","hashtag2"]},{"1396844787":["hashtag1","hashtag2"]},{"1396844700":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396844566, 1396844623, 1396844865, 1396844850, 1396844787, 1396844700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06793427467346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 08:59:02.539499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/51/image_29112025_08_51_24_9652.jpg', '/home/pi/Desktop/images/29112025/08/51/image_29112025_08_51_34_9748.jpg', '/home/pi/Desktop/images/29112025/08/51/image_29112025_08_51_45_10618.jpg', '/home/pi/Desktop/images/29112025/08/51/image_29112025_08_51_54_9626.jpg', '/home/pi/Desktop/images/29112025/08/51/image_29112025_08_52_04_9574.jpg', '/home/pi/Desktop/images/29112025/08/52/image_29112025_08_52_15_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/51/image_29112025_08_51_24_9652.jpg
/home/pi/Desktop/images/29112025/08/51/image_29112025_08_51_34_9748.jpg
/home/pi/Desktop/images/29112025/08/51/image_29112025_08_51_45_10618.jpg
/home/pi/Desktop/images/29112025/08/51/image_29112025_08_51_54_9626.jpg
/home/pi/Desktop/images/29112025/08/51/image_29112025_08_52_04_9574.jpg
/home/pi/Desktop/images/29112025/08/52/image_29112025_08_52_15_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396845505","1396845372","1396845474","1396845336","1396845446","1396845413"],"photo_ids_order":["1396845336","1396845372","1396845413","1396845446","1396845474","1396845505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c5e9a8df3f9e9fcdb13db82f322476c.jpg","text":"TemporaryFile(/tmp/multipartBody4203357863098492968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403203366,"filename":"image_29112025_08_52_15_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f55b9dd41583d06e205bb66c87bd2bc.jpg","text":"TemporaryFile(/tmp/multipartBody3237373057045529075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403203366,"filename":"image_29112025_08_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/11/29/23330c01880e0756af2927aba6dfe8d7.jpg","text":"TemporaryFile(/tmp/multipartBody453022589809446020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403203366,"filename":"image_29112025_08_52_04_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0663c5210a6d148641f74f1e99ceef8f.jpg","text":"TemporaryFile(/tmp/multipartBody5934874292653974139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403203366,"filename":"image_29112025_08_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/11/29/a33fe66ddfb7fc0a2253315841f81624.jpg","text":"TemporaryFile(/tmp/multipartBody484269676210113462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403203366,"filename":"image_29112025_08_51_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/11/29/79580b79882eef9ef01c502cf9d71470.jpg","text":"TemporaryFile(/tmp/multipartBody1724042741867451703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403203366,"filename":"image_29112025_08_51_45_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396845413","file1":"1396845372","file0":"1396845336","file4":"1396845474","file5":"1396845505","file3":"1396845446"},"map_files_photo_id_array":[{"photo_id":"1396845505","filename":"file5"},{"photo_id":"1396845413","filename":"file2"},{"photo_id":"1396845474","filename":"file4"},{"photo_id":"1396845372","filename":"file1"},{"photo_id":"1396845336","filename":"file0"},{"photo_id":"1396845446","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396845505":["hashtag1","hashtag2"]},{"1396845372":["hashtag1","hashtag2"]},{"1396845474":["hashtag1","hashtag2"]},{"1396845336":["hashtag1","hashtag2"]},{"1396845446":["hashtag1","hashtag2"]},{"1396845413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396845505, 1396845372, 1396845474, 1396845336, 1396845446, 1396845413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.2527060508728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:00:02.531850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/52/image_29112025_08_52_24_9625.jpg', '/home/pi/Desktop/images/29112025/08/52/image_29112025_08_52_34_9679.jpg', '/home/pi/Desktop/images/29112025/08/52/image_29112025_08_52_45_10750.jpg', '/home/pi/Desktop/images/29112025/08/52/image_29112025_08_52_55_9853.jpg', '/home/pi/Desktop/images/29112025/08/52/image_29112025_08_53_04_9826.jpg', '/home/pi/Desktop/images/29112025/08/53/image_29112025_08_53_14_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/52/image_29112025_08_52_24_9625.jpg
/home/pi/Desktop/images/29112025/08/52/image_29112025_08_52_34_9679.jpg
/home/pi/Desktop/images/29112025/08/52/image_29112025_08_52_45_10750.jpg
/home/pi/Desktop/images/29112025/08/52/image_29112025_08_52_55_9853.jpg
/home/pi/Desktop/images/29112025/08/52/image_29112025_08_53_04_9826.jpg
/home/pi/Desktop/images/29112025/08/53/image_29112025_08_53_14_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396845852","1396845729","1396845767","1396845662","1396845809","1396845694"],"photo_ids_order":["1396845662","1396845694","1396845729","1396845767","1396845809","1396845852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1cdfd0d92e3077527c96f3b63f0fe95.jpg","text":"TemporaryFile(/tmp/multipartBody1621583993367358211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403263278,"filename":"image_29112025_08_53_14_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3084574e00daf3b1ea354f1602640b14.jpg","text":"TemporaryFile(/tmp/multipartBody8455012298890397073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403263278,"filename":"image_29112025_08_52_45_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/776307da8ed63c26f145d1eaad2d5b06.jpg","text":"TemporaryFile(/tmp/multipartBody1676404976886563334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403263278,"filename":"image_29112025_08_52_55_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/717e237bb509d19a430506f05b5f8833.jpg","text":"TemporaryFile(/tmp/multipartBody3450081627226806672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403263278,"filename":"image_29112025_08_52_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15973a36ebbc133ccbdb25905a67d9e2.jpg","text":"TemporaryFile(/tmp/multipartBody2931855809849719413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403263278,"filename":"image_29112025_08_53_04_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1571d85fcc6954ebfb30dffa34ea260e.jpg","text":"TemporaryFile(/tmp/multipartBody228417862343093916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403263278,"filename":"image_29112025_08_52_34_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396845729","file1":"1396845694","file0":"1396845662","file4":"1396845809","file5":"1396845852","file3":"1396845767"},"map_files_photo_id_array":[{"photo_id":"1396845852","filename":"file5"},{"photo_id":"1396845729","filename":"file2"},{"photo_id":"1396845809","filename":"file4"},{"photo_id":"1396845694","filename":"file1"},{"photo_id":"1396845662","filename":"file0"},{"photo_id":"1396845767","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396845852":["hashtag1","hashtag2"]},{"1396845729":["hashtag1","hashtag2"]},{"1396845767":["hashtag1","hashtag2"]},{"1396845662":["hashtag1","hashtag2"]},{"1396845809":["hashtag1","hashtag2"]},{"1396845694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396845852, 1396845729, 1396845767, 1396845662, 1396845809, 1396845694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.803953647613525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:01:02.985206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/53/image_29112025_08_53_25_10665.jpg', '/home/pi/Desktop/images/29112025/08/53/image_29112025_08_53_35_9716.jpg', '/home/pi/Desktop/images/29112025/08/53/image_29112025_08_53_44_9804.jpg', '/home/pi/Desktop/images/29112025/08/53/image_29112025_08_53_54_10061.jpg', '/home/pi/Desktop/images/29112025/08/53/image_29112025_08_54_04_9693.jpg', '/home/pi/Desktop/images/29112025/08/54/image_29112025_08_54_15_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/53/image_29112025_08_53_25_10665.jpg
/home/pi/Desktop/images/29112025/08/53/image_29112025_08_53_35_9716.jpg
/home/pi/Desktop/images/29112025/08/53/image_29112025_08_53_44_9804.jpg
/home/pi/Desktop/images/29112025/08/53/image_29112025_08_53_54_10061.jpg
/home/pi/Desktop/images/29112025/08/53/image_29112025_08_54_04_9693.jpg
/home/pi/Desktop/images/29112025/08/54/image_29112025_08_54_15_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396846752","1396846323","1396846673","1396846585","1396846495","1396846378"],"photo_ids_order":["1396846323","1396846378","1396846495","1396846585","1396846673","1396846752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d09a3ab290ef0e6d0a06e08daf272a15.jpg","text":"TemporaryFile(/tmp/multipartBody2496116613302927414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403323791,"filename":"image_29112025_08_54_15_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59505eb5329a304ce35abc8d583cfc3c.jpg","text":"TemporaryFile(/tmp/multipartBody5499506764740424916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403323791,"filename":"image_29112025_08_53_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe8b0e6c8d70baadec6dea3362478550.jpg","text":"TemporaryFile(/tmp/multipartBody4885456506075310313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403323791,"filename":"image_29112025_08_54_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a26ede92d89a56112ddb712597045a03.jpg","text":"TemporaryFile(/tmp/multipartBody5008252764754358623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403323791,"filename":"image_29112025_08_53_54_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/618f49ff35c2b49099e7362416587bf4.jpg","text":"TemporaryFile(/tmp/multipartBody3674160614579913909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403323791,"filename":"image_29112025_08_53_44_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97eeb67aa8ffe3983e7f303fac3a9db8.jpg","text":"TemporaryFile(/tmp/multipartBody7641428282464364001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403323791,"filename":"image_29112025_08_53_35_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396846495","file1":"1396846378","file0":"1396846323","file4":"1396846673","file5":"1396846752","file3":"1396846585"},"map_files_photo_id_array":[{"photo_id":"1396846752","filename":"file5"},{"photo_id":"1396846495","filename":"file2"},{"photo_id":"1396846673","filename":"file4"},{"photo_id":"1396846378","filename":"file1"},{"photo_id":"1396846323","filename":"file0"},{"photo_id":"1396846585","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396846752":["hashtag1","hashtag2"]},{"1396846323":["hashtag1","hashtag2"]},{"1396846673":["hashtag1","hashtag2"]},{"1396846585":["hashtag1","hashtag2"]},{"1396846495":["hashtag1","hashtag2"]},{"1396846378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396846752, 1396846323, 1396846673, 1396846585, 1396846495, 1396846378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.149908781051636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:02:02.945818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/54/image_29112025_08_54_24_9618.jpg', '/home/pi/Desktop/images/29112025/08/54/image_29112025_08_54_34_9820.jpg', '/home/pi/Desktop/images/29112025/08/54/image_29112025_08_54_44_9702.jpg', '/home/pi/Desktop/images/29112025/08/54/image_29112025_08_54_55_10711.jpg', '/home/pi/Desktop/images/29112025/08/54/image_29112025_08_55_04_9634.jpg', '/home/pi/Desktop/images/29112025/08/55/image_29112025_08_55_15_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/54/image_29112025_08_54_24_9618.jpg
/home/pi/Desktop/images/29112025/08/54/image_29112025_08_54_34_9820.jpg
/home/pi/Desktop/images/29112025/08/54/image_29112025_08_54_44_9702.jpg
/home/pi/Desktop/images/29112025/08/54/image_29112025_08_54_55_10711.jpg
/home/pi/Desktop/images/29112025/08/54/image_29112025_08_55_04_9634.jpg
/home/pi/Desktop/images/29112025/08/55/image_29112025_08_55_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":["1396847285","1396847438","1396847324","1396847476","1396847362","1396847401"],"photo_ids_order":["1396847285","1396847324","1396847362","1396847401","1396847438","1396847476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f50cefaa18999adc74a5b53e7e72d6d.jpg","text":"TemporaryFile(/tmp/multipartBody7632966956101279540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403383625,"filename":"image_29112025_08_54_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/11/29/ff758193d71de864c1df30041adddea9.jpg","text":"TemporaryFile(/tmp/multipartBody2719970745241081183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403383625,"filename":"image_29112025_08_55_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/11/29/46a966aba7df9abca8fe48f8633cb8cb.jpg","text":"TemporaryFile(/tmp/multipartBody1054638016727251712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403383625,"filename":"image_29112025_08_54_34_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eca06a1ab229b1c6546fa9c99dec88c1.jpg","text":"TemporaryFile(/tmp/multipartBody5960703826892304216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403383625,"filename":"image_29112025_08_55_15_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7307bd5e6a3a6600a1e4ab14055aeb55.jpg","text":"TemporaryFile(/tmp/multipartBody4518555416169766643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403383625,"filename":"image_29112025_08_54_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/11/29/8bf09da704539880f2bed08222fe8b15.jpg","text":"TemporaryFile(/tmp/multipartBody8031654972867228719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403383625,"filename":"image_29112025_08_54_55_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396847362","file1":"1396847324","file0":"1396847285","file4":"1396847438","file5":"1396847476","file3":"1396847401"},"map_files_photo_id_array":[{"photo_id":"1396847476","filename":"file5"},{"photo_id":"1396847362","filename":"file2"},{"photo_id":"1396847438","filename":"file4"},{"photo_id":"1396847324","filename":"file1"},{"photo_id":"1396847285","filename":"file0"},{"photo_id":"1396847401","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396847285":["hashtag1","hashtag2"]},{"1396847438":["hashtag1","hashtag2"]},{"1396847324":["hashtag1","hashtag2"]},{"1396847476":["hashtag1","hashtag2"]},{"1396847362":["hashtag1","hashtag2"]},{"1396847401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396847285, 1396847438, 1396847324, 1396847476, 1396847362, 1396847401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96025848388672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:02:42.429105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_38_2743.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_44_6381.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_46_1590.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_50_4329.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_52_1606.jpg', '/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_55_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_38_2743.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_44_6381.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_46_1590.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_50_4329.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_52_1606.jpg
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_55_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396848044","1396847666","1396847953","1396847737","1396847812","1396847880"],"photo_ids_order":["1396847666","1396847737","1396847812","1396847880","1396847953","1396848044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/515dc1c2193f938a579930d849fd463e.jpg","text":"TemporaryFile(/tmp/multipartBody236577497590442882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403423541,"filename":"image_31102025_09_08_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/11/29/4fb91c324d308987c53fb5fec18b202b.jpg","text":"TemporaryFile(/tmp/multipartBody759978997487310472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403423541,"filename":"image_31102025_09_08_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/11/29/43175d8def7e9ca8424d94106f873a81.jpg","text":"TemporaryFile(/tmp/multipartBody6792283139540853126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403423541,"filename":"image_31102025_09_08_52_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b02162faf2d954536af6b662220f64e.jpg","text":"TemporaryFile(/tmp/multipartBody6255002725607979150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403423541,"filename":"image_31102025_09_08_44_6381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6eb6dc19da4cfc2fe1d80a4254ed832a.jpg","text":"TemporaryFile(/tmp/multipartBody7085802865654028484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403423541,"filename":"image_31102025_09_08_46_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92b04b5d634f4d81a23bcc7dd1338b0b.jpg","text":"TemporaryFile(/tmp/multipartBody5479470761730002862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403423541,"filename":"image_31102025_09_08_50_4329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396847812","file1":"1396847737","file0":"1396847666","file4":"1396847953","file5":"1396848044","file3":"1396847880"},"map_files_photo_id_array":[{"photo_id":"1396848044","filename":"file5"},{"photo_id":"1396847812","filename":"file2"},{"photo_id":"1396847953","filename":"file4"},{"photo_id":"1396847737","filename":"file1"},{"photo_id":"1396847666","filename":"file0"},{"photo_id":"1396847880","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396848044":["hashtag1","hashtag2"]},{"1396847666":["hashtag1","hashtag2"]},{"1396847953":["hashtag1","hashtag2"]},{"1396847737":["hashtag1","hashtag2"]},{"1396847812":["hashtag1","hashtag2"]},{"1396847880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396848044, 1396847666, 1396847953, 1396847737, 1396847812, 1396847880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.34955716133118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:03:42.654993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_57_1642.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_01_2769.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_04_2621.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_11_6628.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_12_1595.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_14_1761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/08/image_31102025_09_08_57_1642.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_01_2769.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_04_2621.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_11_6628.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_12_1595.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_14_1761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396848236","1396848221","1396848238","1396848235","1396848237","1396848234"],"photo_ids_order":["1396848221","1396848234","1396848235","1396848236","1396848237","1396848238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb3fce8f288bce51d89cce4ee2c42374.jpg","text":"TemporaryFile(/tmp/multipartBody5895023238198930782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403483774,"filename":"image_31102025_09_09_11_6628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f62a79932eddcd76c3a8b2ca2c3b9d0c.jpg","text":"TemporaryFile(/tmp/multipartBody294769757152858007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403483774,"filename":"image_31102025_09_08_57_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c293c398ac3e30ab68ecce413d74a48f.jpg","text":"TemporaryFile(/tmp/multipartBody467879122748903245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403483774,"filename":"image_31102025_09_09_14_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/748593a1f458c33f16f3335526060696.jpg","text":"TemporaryFile(/tmp/multipartBody3040879355890710785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403483774,"filename":"image_31102025_09_09_04_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9baee14cb1bab60d7f15be37fd8f6be2.jpg","text":"TemporaryFile(/tmp/multipartBody998029018252217630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403483774,"filename":"image_31102025_09_09_12_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1dee4933b7510e4bdefa2b9d8d2cdb9c.jpg","text":"TemporaryFile(/tmp/multipartBody8975415025387965846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403483774,"filename":"image_31102025_09_09_01_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396848235","file1":"1396848234","file0":"1396848221","file4":"1396848237","file5":"1396848238","file3":"1396848236"},"map_files_photo_id_array":[{"photo_id":"1396848238","filename":"file5"},{"photo_id":"1396848235","filename":"file2"},{"photo_id":"1396848237","filename":"file4"},{"photo_id":"1396848234","filename":"file1"},{"photo_id":"1396848221","filename":"file0"},{"photo_id":"1396848236","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396848236":["hashtag1","hashtag2"]},{"1396848221":["hashtag1","hashtag2"]},{"1396848238":["hashtag1","hashtag2"]},{"1396848235":["hashtag1","hashtag2"]},{"1396848237":["hashtag1","hashtag2"]},{"1396848234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396848236, 1396848221, 1396848238, 1396848235, 1396848237, 1396848234)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.55441689491272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 09:04:32.818264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_20_3720.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_23_2614.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_25_2646.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_29_3802.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_32_2723.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_34_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_20_3720.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_23_2614.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_25_2646.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_29_3802.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_32_2723.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_34_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":["1396848380","1396848305","1396848451","1396848268","1396848415","1396848342"],"photo_ids_order":["1396848268","1396848305","1396848342","1396848380","1396848415","1396848451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd2dc54b5dc7d65fe9f32b0aba5018f1.jpg","text":"TemporaryFile(/tmp/multipartBody1230429228655432191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403535062,"filename":"image_25112025_18_02_29_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e05a1b9f30b233528f2f3d57562e466.jpg","text":"TemporaryFile(/tmp/multipartBody4472282024552915754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403535062,"filename":"image_25112025_18_02_23_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/648b9a29d032a12adea901caea48c3cd.jpg","text":"TemporaryFile(/tmp/multipartBody7454018365446874955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403535062,"filename":"image_25112025_18_02_34_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80f7f49d36dd0088dee590edb7d9310d.jpg","text":"TemporaryFile(/tmp/multipartBody1516018796349389626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403535062,"filename":"image_25112025_18_02_20_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7093e2de9ad0fe4a1f82df4b56efb7c0.jpg","text":"TemporaryFile(/tmp/multipartBody1296368461456390185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403535062,"filename":"image_25112025_18_02_32_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0148708c5daa20c91af190a2bc5f37b.jpg","text":"TemporaryFile(/tmp/multipartBody3638190674711686776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403535062,"filename":"image_25112025_18_02_25_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396848342","file1":"1396848305","file0":"1396848268","file4":"1396848415","file5":"1396848451","file3":"1396848380"},"map_files_photo_id_array":[{"photo_id":"1396848451","filename":"file5"},{"photo_id":"1396848342","filename":"file2"},{"photo_id":"1396848415","filename":"file4"},{"photo_id":"1396848305","filename":"file1"},{"photo_id":"1396848268","filename":"file0"},{"photo_id":"1396848380","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396848380":["hashtag1","hashtag2"]},{"1396848305":["hashtag1","hashtag2"]},{"1396848451":["hashtag1","hashtag2"]},{"1396848268":["hashtag1","hashtag2"]},{"1396848415":["hashtag1","hashtag2"]},{"1396848342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396848380, 1396848305, 1396848451, 1396848268, 1396848415, 1396848342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.447166204452515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 09:05:11.974136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_41_3738.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_44_2598.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_46_2565.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_50_3520.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_52_2636.jpg', '/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_56_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_41_3738.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_44_2598.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_46_2565.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_50_3520.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_52_2636.jpg
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_56_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396848596","1396848661","1396848634","1396848658","1396848651","1396848654"],"photo_ids_order":["1396848596","1396848634","1396848651","1396848654","1396848658","1396848661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/190840ad498632a032c87c353534647d.jpg","text":"TemporaryFile(/tmp/multipartBody1896774703004460046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403574076,"filename":"image_25112025_18_02_41_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/66fe5dcf7d6ae21a0362f3a6510bb511.jpg","text":"TemporaryFile(/tmp/multipartBody6400265418830352400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403574076,"filename":"image_25112025_18_02_56_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/093dbbfeb5b9cbeae2d87fb6cb64e4c4.jpg","text":"TemporaryFile(/tmp/multipartBody1803727901950736716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403574076,"filename":"image_25112025_18_02_44_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf6fc0913bffa34c50a10a99c68b11de.jpg","text":"TemporaryFile(/tmp/multipartBody1838240217522162818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403574076,"filename":"image_25112025_18_02_52_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ece296e7930bc9b3fbc18eb550e6bac7.jpg","text":"TemporaryFile(/tmp/multipartBody2654698899617695333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403574076,"filename":"image_25112025_18_02_46_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7ead777481582fe74b3e59f88da0b9a.jpg","text":"TemporaryFile(/tmp/multipartBody9133394956139466660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403574076,"filename":"image_25112025_18_02_50_3520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396848651","file1":"1396848634","file0":"1396848596","file4":"1396848658","file5":"1396848661","file3":"1396848654"},"map_files_photo_id_array":[{"photo_id":"1396848661","filename":"file5"},{"photo_id":"1396848651","filename":"file2"},{"photo_id":"1396848658","filename":"file4"},{"photo_id":"1396848634","filename":"file1"},{"photo_id":"1396848596","filename":"file0"},{"photo_id":"1396848654","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396848596":["hashtag1","hashtag2"]},{"1396848661":["hashtag1","hashtag2"]},{"1396848634":["hashtag1","hashtag2"]},{"1396848658":["hashtag1","hashtag2"]},{"1396848651":["hashtag1","hashtag2"]},{"1396848654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396848596, 1396848661, 1396848634, 1396848658, 1396848651, 1396848654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.752487897872925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:06:02.633616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/55/image_29112025_08_55_25_9685.jpg', '/home/pi/Desktop/images/29112025/08/55/image_29112025_08_55_34_9556.jpg', '/home/pi/Desktop/images/29112025/08/55/image_29112025_08_55_44_9783.jpg', '/home/pi/Desktop/images/29112025/08/55/image_29112025_08_55_55_10705.jpg', '/home/pi/Desktop/images/29112025/08/55/image_29112025_08_56_04_9504.jpg', '/home/pi/Desktop/images/29112025/08/56/image_29112025_08_56_15_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/55/image_29112025_08_55_25_9685.jpg
/home/pi/Desktop/images/29112025/08/55/image_29112025_08_55_34_9556.jpg
/home/pi/Desktop/images/29112025/08/55/image_29112025_08_55_44_9783.jpg
/home/pi/Desktop/images/29112025/08/55/image_29112025_08_55_55_10705.jpg
/home/pi/Desktop/images/29112025/08/55/image_29112025_08_56_04_9504.jpg
/home/pi/Desktop/images/29112025/08/56/image_29112025_08_56_15_10729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396848804","1396848769","1396848808","1396848805","1396848786","1396848810"],"photo_ids_order":["1396848769","1396848786","1396848804","1396848805","1396848808","1396848810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c10604d58d3fd32470fa4bed22f0904e.jpg","text":"TemporaryFile(/tmp/multipartBody3530686569879720068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403623306,"filename":"image_29112025_08_55_44_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94d44e72d167e4c76ba883ac348acca6.jpg","text":"TemporaryFile(/tmp/multipartBody8999016548149781612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403623306,"filename":"image_29112025_08_55_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16ea1adefc6d8ef7c2e820ed5938445c.jpg","text":"TemporaryFile(/tmp/multipartBody6472926665198616970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403623306,"filename":"image_29112025_08_56_04_9504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67d70864f5c8cde5b5bc6175752a0f1b.jpg","text":"TemporaryFile(/tmp/multipartBody1879272071629144175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403623306,"filename":"image_29112025_08_55_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/11/29/2239e2f84188ca0c8381e565d905a972.jpg","text":"TemporaryFile(/tmp/multipartBody4706708555916033423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403623306,"filename":"image_29112025_08_55_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/930d836e2b327024ce6165cd8f6f9313.jpg","text":"TemporaryFile(/tmp/multipartBody7671797712264176528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403623306,"filename":"image_29112025_08_56_15_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396848804","file1":"1396848786","file0":"1396848769","file4":"1396848808","file5":"1396848810","file3":"1396848805"},"map_files_photo_id_array":[{"photo_id":"1396848810","filename":"file5"},{"photo_id":"1396848804","filename":"file2"},{"photo_id":"1396848808","filename":"file4"},{"photo_id":"1396848786","filename":"file1"},{"photo_id":"1396848769","filename":"file0"},{"photo_id":"1396848805","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396848804":["hashtag1","hashtag2"]},{"1396848769":["hashtag1","hashtag2"]},{"1396848808":["hashtag1","hashtag2"]},{"1396848805":["hashtag1","hashtag2"]},{"1396848786":["hashtag1","hashtag2"]},{"1396848810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396848804, 1396848769, 1396848808, 1396848805, 1396848786, 1396848810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07364535331726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:06:42.135915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_17_2738.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_19_2601.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_24_4234.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_25_1613.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_28_2611.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_32_3913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_17_2738.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_19_2601.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_24_4234.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_25_1613.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_28_2611.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_32_3913.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396848875","1396848836","1396848818","1396848905","1396848925","1396848891"],"photo_ids_order":["1396848818","1396848836","1396848875","1396848891","1396848905","1396848925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/240383e8a2587c2862f98d60ec2190e1.jpg","text":"TemporaryFile(/tmp/multipartBody6957674607706816100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403663346,"filename":"image_31102025_09_09_24_4234.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9241b2cb76925331ecb283c2b6e17c4d.jpg","text":"TemporaryFile(/tmp/multipartBody636356366238201837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403663346,"filename":"image_31102025_09_09_19_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e8659b80c942521eb691b5fd0e1532a.jpg","text":"TemporaryFile(/tmp/multipartBody5737495312901127851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403663346,"filename":"image_31102025_09_09_17_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51adc874f073ed6b4120cc6f0b66b167.jpg","text":"TemporaryFile(/tmp/multipartBody6237154798958231485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403663346,"filename":"image_31102025_09_09_28_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/602817e60fb5ebef07e8c165ba747617.jpg","text":"TemporaryFile(/tmp/multipartBody2965797437278842891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403663346,"filename":"image_31102025_09_09_32_3913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/228cf7069455256603abf9dc7317440c.jpg","text":"TemporaryFile(/tmp/multipartBody7450558568496977502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403663346,"filename":"image_31102025_09_09_25_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396848875","file1":"1396848836","file0":"1396848818","file4":"1396848905","file5":"1396848925","file3":"1396848891"},"map_files_photo_id_array":[{"photo_id":"1396848925","filename":"file5"},{"photo_id":"1396848875","filename":"file2"},{"photo_id":"1396848905","filename":"file4"},{"photo_id":"1396848836","filename":"file1"},{"photo_id":"1396848818","filename":"file0"},{"photo_id":"1396848891","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396848875":["hashtag1","hashtag2"]},{"1396848836":["hashtag1","hashtag2"]},{"1396848818":["hashtag1","hashtag2"]},{"1396848905":["hashtag1","hashtag2"]},{"1396848925":["hashtag1","hashtag2"]},{"1396848891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396848875, 1396848836, 1396848818, 1396848905, 1396848925, 1396848891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.438713788986206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:07:22.392608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/56/image_29112025_08_56_25_9628.jpg', '/home/pi/Desktop/images/29112025/08/56/image_29112025_08_56_34_9687.jpg', '/home/pi/Desktop/images/29112025/08/56/image_29112025_08_56_45_10699.jpg', '/home/pi/Desktop/images/29112025/08/56/image_29112025_08_56_54_9605.jpg', '/home/pi/Desktop/images/29112025/08/56/image_29112025_08_57_04_9596.jpg', '/home/pi/Desktop/images/29112025/08/57/image_29112025_08_57_15_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/56/image_29112025_08_56_25_9628.jpg
/home/pi/Desktop/images/29112025/08/56/image_29112025_08_56_34_9687.jpg
/home/pi/Desktop/images/29112025/08/56/image_29112025_08_56_45_10699.jpg
/home/pi/Desktop/images/29112025/08/56/image_29112025_08_56_54_9605.jpg
/home/pi/Desktop/images/29112025/08/56/image_29112025_08_57_04_9596.jpg
/home/pi/Desktop/images/29112025/08/57/image_29112025_08_57_15_10572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396848953","1396848947","1396848956","1396848941","1396848950","1396848944"],"photo_ids_order":["1396848941","1396848944","1396848947","1396848950","1396848953","1396848956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd4de9ce96b8b67a157602e05f2704c3.jpg","text":"TemporaryFile(/tmp/multipartBody145310233851445180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403703039,"filename":"image_29112025_08_57_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7125482d75edec6801732e5008e528e8.jpg","text":"TemporaryFile(/tmp/multipartBody637952403557262102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403703039,"filename":"image_29112025_08_56_45_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cacdfd5709951c99ed39bd79f4c65c24.jpg","text":"TemporaryFile(/tmp/multipartBody9209566761386809019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403703039,"filename":"image_29112025_08_57_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/11/29/4e87a16f70821f2482640639ebec067b.jpg","text":"TemporaryFile(/tmp/multipartBody7770635283997757432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403703039,"filename":"image_29112025_08_56_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/11/29/14209744ce2795728316dd1c2e6e588b.jpg","text":"TemporaryFile(/tmp/multipartBody8215553516631813757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403703039,"filename":"image_29112025_08_56_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/11/29/4ae4007c9d93cb9cf4aed59bf5b5ea11.jpg","text":"TemporaryFile(/tmp/multipartBody5030822501883133113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403703039,"filename":"image_29112025_08_56_34_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396848947","file1":"1396848944","file0":"1396848941","file4":"1396848953","file5":"1396848956","file3":"1396848950"},"map_files_photo_id_array":[{"photo_id":"1396848956","filename":"file5"},{"photo_id":"1396848947","filename":"file2"},{"photo_id":"1396848953","filename":"file4"},{"photo_id":"1396848944","filename":"file1"},{"photo_id":"1396848941","filename":"file0"},{"photo_id":"1396848950","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396848953":["hashtag1","hashtag2"]},{"1396848947":["hashtag1","hashtag2"]},{"1396848956":["hashtag1","hashtag2"]},{"1396848941":["hashtag1","hashtag2"]},{"1396848950":["hashtag1","hashtag2"]},{"1396848944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396848953, 1396848947, 1396848956, 1396848941, 1396848950, 1396848944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33393478393555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:08:02.971018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/57/image_29112025_08_57_24_9702.jpg', '/home/pi/Desktop/images/29112025/08/57/image_29112025_08_57_34_9780.jpg', '/home/pi/Desktop/images/29112025/08/57/image_29112025_08_57_54_9677.jpg', '/home/pi/Desktop/images/29112025/08/58/image_29112025_08_58_24_9658.jpg', '/home/pi/Desktop/images/29112025/08/58/image_29112025_08_58_34_9659.jpg', '/home/pi/Desktop/images/29112025/08/58/image_29112025_08_58_45_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/57/image_29112025_08_57_24_9702.jpg
/home/pi/Desktop/images/29112025/08/57/image_29112025_08_57_34_9780.jpg
/home/pi/Desktop/images/29112025/08/57/image_29112025_08_57_54_9677.jpg
/home/pi/Desktop/images/29112025/08/58/image_29112025_08_58_24_9658.jpg
/home/pi/Desktop/images/29112025/08/58/image_29112025_08_58_34_9659.jpg
/home/pi/Desktop/images/29112025/08/58/image_29112025_08_58_45_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396848965","1396848959","1396848962","1396848958","1396848960","1396848957"],"photo_ids_order":["1396848957","1396848958","1396848959","1396848960","1396848962","1396848965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65051645e18221e71c45c571eb0a2458.jpg","text":"TemporaryFile(/tmp/multipartBody8835252247418881626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403743651,"filename":"image_29112025_08_58_45_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad53f3ab9466b69297b87dcce4b1d80c.jpg","text":"TemporaryFile(/tmp/multipartBody1030053500417316399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403743651,"filename":"image_29112025_08_57_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/11/29/1004126ae7d9a7964d1143c4ed88c80e.jpg","text":"TemporaryFile(/tmp/multipartBody8910226595505697323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403743651,"filename":"image_29112025_08_58_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/11/29/6144a0253444e4b3c299067f18d197ea.jpg","text":"TemporaryFile(/tmp/multipartBody1335989296194784036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403743651,"filename":"image_29112025_08_57_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/11/29/ff67ae918d9cb87eedef8a9b60cb7ef0.jpg","text":"TemporaryFile(/tmp/multipartBody8919855173583827825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403743651,"filename":"image_29112025_08_58_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/11/29/3d8f02570e7e52c4f685dd60c52115aa.jpg","text":"TemporaryFile(/tmp/multipartBody6717714938906222826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403743651,"filename":"image_29112025_08_57_24_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396848959","file1":"1396848958","file0":"1396848957","file4":"1396848962","file5":"1396848965","file3":"1396848960"},"map_files_photo_id_array":[{"photo_id":"1396848965","filename":"file5"},{"photo_id":"1396848959","filename":"file2"},{"photo_id":"1396848962","filename":"file4"},{"photo_id":"1396848958","filename":"file1"},{"photo_id":"1396848957","filename":"file0"},{"photo_id":"1396848960","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396848965":["hashtag1","hashtag2"]},{"1396848959":["hashtag1","hashtag2"]},{"1396848962":["hashtag1","hashtag2"]},{"1396848958":["hashtag1","hashtag2"]},{"1396848960":["hashtag1","hashtag2"]},{"1396848957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396848965, 1396848959, 1396848962, 1396848958, 1396848960, 1396848957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1632444858551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:08:42.715913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_37_2589.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_45_7340.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_46_1628.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_48_1669.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_49_1550.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_52_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/09/09/image_31102025_09_09_37_2589.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_45_7340.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_46_1628.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_48_1669.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_49_1550.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_52_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":["1396849226","1396849318","1396849102","1396849275","1396849139","1396849067"],"photo_ids_order":["1396849067","1396849102","1396849139","1396849226","1396849275","1396849318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3a743ebce7c2ab9b99c1c1ece3bbd01.jpg","text":"TemporaryFile(/tmp/multipartBody1802673355152164813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403783850,"filename":"image_31102025_09_09_48_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/192a07de04e77386e76333329ed1f8aa.jpg","text":"TemporaryFile(/tmp/multipartBody3026796026657528082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403783850,"filename":"image_31102025_09_09_52_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/368e2d0a3b135073682c06503dcf3746.jpg","text":"TemporaryFile(/tmp/multipartBody4554808001390322207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403783850,"filename":"image_31102025_09_09_45_7340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f119455bac74a6650e527a1e7e415ef4.jpg","text":"TemporaryFile(/tmp/multipartBody8855271024138571739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403783850,"filename":"image_31102025_09_09_49_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85992481cabaf1f1c4c6cbd935a7a370.jpg","text":"TemporaryFile(/tmp/multipartBody850802321861344395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403783850,"filename":"image_31102025_09_09_46_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ee6578ab5c080c07c345c3f2f9e7a0f.jpg","text":"TemporaryFile(/tmp/multipartBody1862603517317405068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403783850,"filename":"image_31102025_09_09_37_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396849139","file1":"1396849102","file0":"1396849067","file4":"1396849275","file5":"1396849318","file3":"1396849226"},"map_files_photo_id_array":[{"photo_id":"1396849318","filename":"file5"},{"photo_id":"1396849139","filename":"file2"},{"photo_id":"1396849275","filename":"file4"},{"photo_id":"1396849102","filename":"file1"},{"photo_id":"1396849067","filename":"file0"},{"photo_id":"1396849226","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396849226":["hashtag1","hashtag2"]},{"1396849318":["hashtag1","hashtag2"]},{"1396849102":["hashtag1","hashtag2"]},{"1396849275":["hashtag1","hashtag2"]},{"1396849139":["hashtag1","hashtag2"]},{"1396849067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396849226, 1396849318, 1396849102, 1396849275, 1396849139, 1396849067)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.583892583847046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 09:09:31.900014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_59_2888.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_01_2562.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_05_3631.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_07_2523.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_13_2728.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_17_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/02/image_25112025_18_02_59_2888.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_01_2562.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_05_3631.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_07_2523.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_13_2728.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_17_3757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396849465","1396849474","1396849476","1396849470","1396849530","1396849478"],"photo_ids_order":["1396849465","1396849470","1396849474","1396849476","1396849478","1396849530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a498acb0fefdedbc6cb51e865db55d5.jpg","text":"TemporaryFile(/tmp/multipartBody349103813677096574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403834116,"filename":"image_25112025_18_02_59_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78d5ea75e6f96290b4557c9bd7c7369c.jpg","text":"TemporaryFile(/tmp/multipartBody3661793698349415430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403834116,"filename":"image_25112025_18_03_05_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9c980f9214ee6813eecd9943d5f4e11.jpg","text":"TemporaryFile(/tmp/multipartBody5771936495585406433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403834116,"filename":"image_25112025_18_03_07_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56e950a126d10383e8a06caa667e3b4e.jpg","text":"TemporaryFile(/tmp/multipartBody5145110541223650390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403834116,"filename":"image_25112025_18_03_01_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/973502b7036c9960a998492d27249fbf.jpg","text":"TemporaryFile(/tmp/multipartBody6273890892391231196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403834116,"filename":"image_25112025_18_03_17_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a677ed2207b8398c3b59359324ef0fc7.jpg","text":"TemporaryFile(/tmp/multipartBody6877465362466037699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403834116,"filename":"image_25112025_18_03_13_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396849474","file1":"1396849470","file0":"1396849465","file4":"1396849478","file5":"1396849530","file3":"1396849476"},"map_files_photo_id_array":[{"photo_id":"1396849530","filename":"file5"},{"photo_id":"1396849474","filename":"file2"},{"photo_id":"1396849478","filename":"file4"},{"photo_id":"1396849470","filename":"file1"},{"photo_id":"1396849465","filename":"file0"},{"photo_id":"1396849476","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396849465":["hashtag1","hashtag2"]},{"1396849474":["hashtag1","hashtag2"]},{"1396849476":["hashtag1","hashtag2"]},{"1396849470":["hashtag1","hashtag2"]},{"1396849530":["hashtag1","hashtag2"]},{"1396849478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396849465, 1396849474, 1396849476, 1396849470, 1396849530, 1396849478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90840816497803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 09:10:12.103508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_20_2755.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_22_2605.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_26_3575.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_29_2750.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_31_2692.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_38_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_20_2755.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_22_2605.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_26_3575.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_29_2750.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_31_2692.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_38_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396849805","1396849779","1396849683","1396849722","1396849799","1396849685"],"photo_ids_order":["1396849683","1396849685","1396849722","1396849779","1396849799","1396849805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50e05792af9c5b8823f378a6dfa547a7.jpg","text":"TemporaryFile(/tmp/multipartBody5626578501581199305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403874218,"filename":"image_25112025_18_03_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/11/29/c907fd7ea57542fb26a4965f15c91d5b.jpg","text":"TemporaryFile(/tmp/multipartBody4060419435603861335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403874218,"filename":"image_25112025_18_03_29_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f6857a1643cd5df997139b01c6e304d.jpg","text":"TemporaryFile(/tmp/multipartBody4635573012651654219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403874218,"filename":"image_25112025_18_03_20_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5c56c9d6ffd2dd82258e2f9b71300ea.jpg","text":"TemporaryFile(/tmp/multipartBody8098145217470005666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403874218,"filename":"image_25112025_18_03_26_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56286f64677156556ee84c038dc2b756.jpg","text":"TemporaryFile(/tmp/multipartBody7307967340252352704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403874218,"filename":"image_25112025_18_03_31_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21869edf51eef9dc60b26c9b60382817.jpg","text":"TemporaryFile(/tmp/multipartBody6461073044020096246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403874218,"filename":"image_25112025_18_03_22_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396849722","file1":"1396849685","file0":"1396849683","file4":"1396849799","file5":"1396849805","file3":"1396849779"},"map_files_photo_id_array":[{"photo_id":"1396849805","filename":"file5"},{"photo_id":"1396849722","filename":"file2"},{"photo_id":"1396849799","filename":"file4"},{"photo_id":"1396849685","filename":"file1"},{"photo_id":"1396849683","filename":"file0"},{"photo_id":"1396849779","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396849805":["hashtag1","hashtag2"]},{"1396849779":["hashtag1","hashtag2"]},{"1396849683":["hashtag1","hashtag2"]},{"1396849722":["hashtag1","hashtag2"]},{"1396849799":["hashtag1","hashtag2"]},{"1396849685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396849805, 1396849779, 1396849683, 1396849722, 1396849799, 1396849685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.308043479919434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:11:03.101953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/58/image_29112025_08_58_54_9636.jpg', '/home/pi/Desktop/images/29112025/08/58/image_29112025_08_59_04_9528.jpg', '/home/pi/Desktop/images/29112025/08/59/image_29112025_08_59_15_10785.jpg', '/home/pi/Desktop/images/29112025/08/59/image_29112025_08_59_24_9657.jpg', '/home/pi/Desktop/images/29112025/08/59/image_29112025_08_59_34_9693.jpg', '/home/pi/Desktop/images/29112025/08/59/image_29112025_08_59_45_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/58/image_29112025_08_58_54_9636.jpg
/home/pi/Desktop/images/29112025/08/58/image_29112025_08_59_04_9528.jpg
/home/pi/Desktop/images/29112025/08/59/image_29112025_08_59_15_10785.jpg
/home/pi/Desktop/images/29112025/08/59/image_29112025_08_59_24_9657.jpg
/home/pi/Desktop/images/29112025/08/59/image_29112025_08_59_34_9693.jpg
/home/pi/Desktop/images/29112025/08/59/image_29112025_08_59_45_10768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396849814","1396849811","1396849819","1396849813","1396849816","1396849812"],"photo_ids_order":["1396849811","1396849812","1396849813","1396849814","1396849816","1396849819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38c4535e455b4a6d470e46f4037fba92.jpg","text":"TemporaryFile(/tmp/multipartBody8043097899517519440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403923892,"filename":"image_29112025_08_59_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/11/29/398143a01af2309d6091e100dde90d42.jpg","text":"TemporaryFile(/tmp/multipartBody9017361086542126904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403923892,"filename":"image_29112025_08_58_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/11/29/d8f36cf0bd1891cec6a29d6f51f8dfd5.jpg","text":"TemporaryFile(/tmp/multipartBody6147708804858100641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403923892,"filename":"image_29112025_08_59_45_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86368a728a6de589c12e8c51c11e9970.jpg","text":"TemporaryFile(/tmp/multipartBody5983126756377631684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403923892,"filename":"image_29112025_08_59_15_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/372b209f98919631f81ad73fdffefcbe.jpg","text":"TemporaryFile(/tmp/multipartBody5863774827539365971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403923892,"filename":"image_29112025_08_59_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f08287c5a677059a828dde0a40dcace.jpg","text":"TemporaryFile(/tmp/multipartBody1177615325774962644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403923892,"filename":"image_29112025_08_59_04_9528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396849813","file1":"1396849812","file0":"1396849811","file4":"1396849816","file5":"1396849819","file3":"1396849814"},"map_files_photo_id_array":[{"photo_id":"1396849819","filename":"file5"},{"photo_id":"1396849813","filename":"file2"},{"photo_id":"1396849816","filename":"file4"},{"photo_id":"1396849812","filename":"file1"},{"photo_id":"1396849811","filename":"file0"},{"photo_id":"1396849814","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396849814":["hashtag1","hashtag2"]},{"1396849811":["hashtag1","hashtag2"]},{"1396849819":["hashtag1","hashtag2"]},{"1396849813":["hashtag1","hashtag2"]},{"1396849816":["hashtag1","hashtag2"]},{"1396849812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396849814, 1396849811, 1396849819, 1396849813, 1396849816, 1396849812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.436147689819336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:11:42.470893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_56_3638.jpg', '/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_58_2776.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_01_2774.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_04_2827.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_07_2809.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_11_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/09/09/image_31102025_09_09_56_3638.jpg
/home/pi/Desktop/images/31102025/09/09/image_31102025_09_09_58_2776.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_01_2774.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_04_2827.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_07_2809.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_11_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":["1396849835","1396849834","1396849828","1396849833","1396849830","1396849832"],"photo_ids_order":["1396849828","1396849830","1396849832","1396849833","1396849834","1396849835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e54b8f3064f6009be70b6acdaf9eb2c2.jpg","text":"TemporaryFile(/tmp/multipartBody4768585836016373414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403963562,"filename":"image_31102025_09_10_11_3837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca6f822f15874c9dadb0a4989abc0c1b.jpg","text":"TemporaryFile(/tmp/multipartBody3715979083773802767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403963562,"filename":"image_31102025_09_10_07_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/359e39cafb5cb4135d02f4ec39e91a45.jpg","text":"TemporaryFile(/tmp/multipartBody8772999317651300336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403963562,"filename":"image_31102025_09_09_56_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bed80e26d0905018053fff1fd3e424e0.jpg","text":"TemporaryFile(/tmp/multipartBody5583489986613175630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403963562,"filename":"image_31102025_09_10_04_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0903bb541f9adcb73455f0a6695edfac.jpg","text":"TemporaryFile(/tmp/multipartBody6702478059970465313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403963562,"filename":"image_31102025_09_09_58_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27d4808c82d2d9ba69e584f6fa9c2129.jpg","text":"TemporaryFile(/tmp/multipartBody3616855317259154954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764403963562,"filename":"image_31102025_09_10_01_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396849832","file1":"1396849830","file0":"1396849828","file4":"1396849834","file5":"1396849835","file3":"1396849833"},"map_files_photo_id_array":[{"photo_id":"1396849835","filename":"file5"},{"photo_id":"1396849832","filename":"file2"},{"photo_id":"1396849834","filename":"file4"},{"photo_id":"1396849830","filename":"file1"},{"photo_id":"1396849828","filename":"file0"},{"photo_id":"1396849833","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396849835":["hashtag1","hashtag2"]},{"1396849834":["hashtag1","hashtag2"]},{"1396849828":["hashtag1","hashtag2"]},{"1396849833":["hashtag1","hashtag2"]},{"1396849830":["hashtag1","hashtag2"]},{"1396849832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396849835, 1396849834, 1396849828, 1396849833, 1396849830, 1396849832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88526487350464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:12:22.635253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/08/59/image_29112025_08_59_55_9690.jpg', '/home/pi/Desktop/images/29112025/09/01/image_29112025_09_01_13_10037.jpg', '/home/pi/Desktop/images/29112025/09/01/image_29112025_09_01_24_10673.jpg', '/home/pi/Desktop/images/29112025/09/01/image_29112025_09_01_34_9638.jpg', '/home/pi/Desktop/images/29112025/09/01/image_29112025_09_01_44_9791.jpg', '/home/pi/Desktop/images/29112025/09/01/image_29112025_09_01_54_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/08/59/image_29112025_08_59_55_9690.jpg
/home/pi/Desktop/images/29112025/09/01/image_29112025_09_01_13_10037.jpg
/home/pi/Desktop/images/29112025/09/01/image_29112025_09_01_24_10673.jpg
/home/pi/Desktop/images/29112025/09/01/image_29112025_09_01_34_9638.jpg
/home/pi/Desktop/images/29112025/09/01/image_29112025_09_01_44_9791.jpg
/home/pi/Desktop/images/29112025/09/01/image_29112025_09_01_54_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396849848","1396849842","1396849845","1396849839","1396849850","1396849853"],"photo_ids_order":["1396849839","1396849842","1396849845","1396849848","1396849850","1396849853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28e36dd052fc637b8069f12fdc4f20b7.jpg","text":"TemporaryFile(/tmp/multipartBody7140491642112098403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404003337,"filename":"image_29112025_09_01_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/11/29/30e7603653f2ef5dfc548d49452e5d1a.jpg","text":"TemporaryFile(/tmp/multipartBody1572115762801249250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404003337,"filename":"image_29112025_09_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/11/29/3d6f48a7d71fd74be36f1e5a9b5eb470.jpg","text":"TemporaryFile(/tmp/multipartBody1282460123049424037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404003337,"filename":"image_29112025_09_01_24_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34bb9656c48899e4cea4372acfe75bdc.jpg","text":"TemporaryFile(/tmp/multipartBody5639470116020278908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404003337,"filename":"image_29112025_08_59_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/11/29/67cce5ccbdabdf166b61ab9f51428c47.jpg","text":"TemporaryFile(/tmp/multipartBody3545824093722153364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404003337,"filename":"image_29112025_09_01_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/11/29/aedcce8ebfc8bed8be69c3eb4d308b6e.jpg","text":"TemporaryFile(/tmp/multipartBody53593168074187172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404003337,"filename":"image_29112025_09_01_54_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396849845","file1":"1396849842","file0":"1396849839","file4":"1396849850","file5":"1396849853","file3":"1396849848"},"map_files_photo_id_array":[{"photo_id":"1396849853","filename":"file5"},{"photo_id":"1396849845","filename":"file2"},{"photo_id":"1396849850","filename":"file4"},{"photo_id":"1396849842","filename":"file1"},{"photo_id":"1396849839","filename":"file0"},{"photo_id":"1396849848","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396849848":["hashtag1","hashtag2"]},{"1396849842":["hashtag1","hashtag2"]},{"1396849845":["hashtag1","hashtag2"]},{"1396849839":["hashtag1","hashtag2"]},{"1396849850":["hashtag1","hashtag2"]},{"1396849853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396849848, 1396849842, 1396849845, 1396849839, 1396849850, 1396849853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83266878128052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:13:03.536607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/01/image_29112025_09_02_04_9707.jpg', '/home/pi/Desktop/images/29112025/09/02/image_29112025_09_02_14_9645.jpg', '/home/pi/Desktop/images/29112025/09/02/image_29112025_09_02_24_10641.jpg', '/home/pi/Desktop/images/29112025/09/02/image_29112025_09_02_34_9591.jpg', '/home/pi/Desktop/images/29112025/09/02/image_29112025_09_02_44_10562.jpg', '/home/pi/Desktop/images/29112025/09/02/image_29112025_09_02_54_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/01/image_29112025_09_02_04_9707.jpg
/home/pi/Desktop/images/29112025/09/02/image_29112025_09_02_14_9645.jpg
/home/pi/Desktop/images/29112025/09/02/image_29112025_09_02_24_10641.jpg
/home/pi/Desktop/images/29112025/09/02/image_29112025_09_02_34_9591.jpg
/home/pi/Desktop/images/29112025/09/02/image_29112025_09_02_44_10562.jpg
/home/pi/Desktop/images/29112025/09/02/image_29112025_09_02_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":["1396849856","1396849919","1396849855","1396849858","1396849878","1396849857"],"photo_ids_order":["1396849855","1396849856","1396849857","1396849858","1396849878","1396849919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41b48b57541ff35b5d110f43b7d037e3.jpg","text":"TemporaryFile(/tmp/multipartBody5998250882725955273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404044289,"filename":"image_29112025_09_02_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/11/29/e06a3ddd366446f6df5714d334af0de9.jpg","text":"TemporaryFile(/tmp/multipartBody6678817538051423992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404044289,"filename":"image_29112025_09_02_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/11/29/e83884a8ab7093081a208ffce016367d.jpg","text":"TemporaryFile(/tmp/multipartBody4124010058560440048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404044289,"filename":"image_29112025_09_02_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/11/29/b3f25620e0c79a9a1706fffe5a81cb6e.jpg","text":"TemporaryFile(/tmp/multipartBody8691811956288181643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404044289,"filename":"image_29112025_09_02_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/11/29/552a2c68bede7388a5251761f38ce185.jpg","text":"TemporaryFile(/tmp/multipartBody3332034561161913030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404044289,"filename":"image_29112025_09_02_44_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86f62c91af4140e95914224ae834e80a.jpg","text":"TemporaryFile(/tmp/multipartBody4248472133773293559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404044289,"filename":"image_29112025_09_02_24_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396849857","file1":"1396849856","file0":"1396849855","file4":"1396849878","file5":"1396849919","file3":"1396849858"},"map_files_photo_id_array":[{"photo_id":"1396849919","filename":"file5"},{"photo_id":"1396849857","filename":"file2"},{"photo_id":"1396849878","filename":"file4"},{"photo_id":"1396849856","filename":"file1"},{"photo_id":"1396849855","filename":"file0"},{"photo_id":"1396849858","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396849856":["hashtag1","hashtag2"]},{"1396849919":["hashtag1","hashtag2"]},{"1396849855":["hashtag1","hashtag2"]},{"1396849858":["hashtag1","hashtag2"]},{"1396849878":["hashtag1","hashtag2"]},{"1396849857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396849856, 1396849919, 1396849855, 1396849858, 1396849878, 1396849857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14604306221008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:13:42.778018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_13_2753.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_16_2785.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_19_2626.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_22_3569.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_25_2668.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_28_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/09/10/image_31102025_09_10_13_2753.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_16_2785.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_19_2626.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_22_3569.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_25_2668.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_28_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":["1396849978","1396850003","1396849989","1396850002","1396850001","1396850004"],"photo_ids_order":["1396849978","1396849989","1396850001","1396850002","1396850003","1396850004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf2c4ee9f2523dff3f8609d24fd87a53.jpg","text":"TemporaryFile(/tmp/multipartBody6242844194711070864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404083872,"filename":"image_31102025_09_10_13_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e567774a23d62a55cc75b7411fda0908.jpg","text":"TemporaryFile(/tmp/multipartBody6279904204310337830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404083872,"filename":"image_31102025_09_10_25_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f3cc59672c12bae38c4e5c7b9ca6ce2.jpg","text":"TemporaryFile(/tmp/multipartBody3208326286443962208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404083872,"filename":"image_31102025_09_10_16_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35695f4118dde850f3670a58ccf78f65.jpg","text":"TemporaryFile(/tmp/multipartBody2048662382097993974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404083872,"filename":"image_31102025_09_10_22_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a32c3ff4d5761f30d2358bbfb16efb9.jpg","text":"TemporaryFile(/tmp/multipartBody3441726701831605936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404083872,"filename":"image_31102025_09_10_19_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b26650d83850203d83d95a1a91490fb.jpg","text":"TemporaryFile(/tmp/multipartBody904414402869802102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404083872,"filename":"image_31102025_09_10_28_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396850001","file1":"1396849989","file0":"1396849978","file4":"1396850003","file5":"1396850004","file3":"1396850002"},"map_files_photo_id_array":[{"photo_id":"1396850004","filename":"file5"},{"photo_id":"1396850001","filename":"file2"},{"photo_id":"1396850003","filename":"file4"},{"photo_id":"1396849989","filename":"file1"},{"photo_id":"1396849978","filename":"file0"},{"photo_id":"1396850002","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396849978":["hashtag1","hashtag2"]},{"1396850003":["hashtag1","hashtag2"]},{"1396849989":["hashtag1","hashtag2"]},{"1396850002":["hashtag1","hashtag2"]},{"1396850001":["hashtag1","hashtag2"]},{"1396850004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396849978, 1396850003, 1396849989, 1396850002, 1396850001, 1396850004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78659534454346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:14:21.997843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/02/image_29112025_09_03_04_9694.jpg', '/home/pi/Desktop/images/29112025/09/03/image_29112025_09_03_14_10548.jpg', '/home/pi/Desktop/images/29112025/09/03/image_29112025_09_03_24_9632.jpg', '/home/pi/Desktop/images/29112025/09/03/image_29112025_09_03_34_9696.jpg', '/home/pi/Desktop/images/29112025/09/03/image_29112025_09_03_44_10649.jpg', '/home/pi/Desktop/images/29112025/09/03/image_29112025_09_03_54_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/02/image_29112025_09_03_04_9694.jpg
/home/pi/Desktop/images/29112025/09/03/image_29112025_09_03_14_10548.jpg
/home/pi/Desktop/images/29112025/09/03/image_29112025_09_03_24_9632.jpg
/home/pi/Desktop/images/29112025/09/03/image_29112025_09_03_34_9696.jpg
/home/pi/Desktop/images/29112025/09/03/image_29112025_09_03_44_10649.jpg
/home/pi/Desktop/images/29112025/09/03/image_29112025_09_03_54_9599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396850173","1396850134","1396850059","1396850097","1396850008","1396850022"],"photo_ids_order":["1396850008","1396850022","1396850059","1396850097","1396850134","1396850173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e46fb6a2477c27477387f764b64250e0.jpg","text":"TemporaryFile(/tmp/multipartBody7343716140181315007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404122685,"filename":"image_29112025_09_03_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5721572cd53cc6d00f3c00273f6f5c64.jpg","text":"TemporaryFile(/tmp/multipartBody3423863134217270664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404122685,"filename":"image_29112025_09_03_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/11/29/d077c7d7448cdc3b4387a02d192cb1b4.jpg","text":"TemporaryFile(/tmp/multipartBody1223693924635451017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404122685,"filename":"image_29112025_09_03_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/11/29/8c17fdd40a74f8957e9e0ab828a45f36.jpg","text":"TemporaryFile(/tmp/multipartBody7826121827682889151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404122685,"filename":"image_29112025_09_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/11/29/28d997f34af62db93f10ea5973e1bd5d.jpg","text":"TemporaryFile(/tmp/multipartBody2229683812478583818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404122685,"filename":"image_29112025_09_03_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/11/29/03a8c8caa9891dc9b74fc8576f29d1bb.jpg","text":"TemporaryFile(/tmp/multipartBody6041132961948346130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404122685,"filename":"image_29112025_09_03_14_10548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396850059","file1":"1396850022","file0":"1396850008","file4":"1396850134","file5":"1396850173","file3":"1396850097"},"map_files_photo_id_array":[{"photo_id":"1396850173","filename":"file5"},{"photo_id":"1396850059","filename":"file2"},{"photo_id":"1396850134","filename":"file4"},{"photo_id":"1396850022","filename":"file1"},{"photo_id":"1396850008","filename":"file0"},{"photo_id":"1396850097","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396850173":["hashtag1","hashtag2"]},{"1396850134":["hashtag1","hashtag2"]},{"1396850059":["hashtag1","hashtag2"]},{"1396850097":["hashtag1","hashtag2"]},{"1396850008":["hashtag1","hashtag2"]},{"1396850022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396850173, 1396850134, 1396850059, 1396850097, 1396850008, 1396850022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68731188774109 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:15:02.671494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/03/image_29112025_09_04_04_9695.jpg', '/home/pi/Desktop/images/29112025/09/04/image_29112025_09_04_14_10591.jpg', '/home/pi/Desktop/images/29112025/09/04/image_29112025_09_04_24_9829.jpg', '/home/pi/Desktop/images/29112025/09/04/image_29112025_09_04_34_9728.jpg', '/home/pi/Desktop/images/29112025/09/04/image_29112025_09_04_44_10619.jpg', '/home/pi/Desktop/images/29112025/09/04/image_29112025_09_04_54_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/03/image_29112025_09_04_04_9695.jpg
/home/pi/Desktop/images/29112025/09/04/image_29112025_09_04_14_10591.jpg
/home/pi/Desktop/images/29112025/09/04/image_29112025_09_04_24_9829.jpg
/home/pi/Desktop/images/29112025/09/04/image_29112025_09_04_34_9728.jpg
/home/pi/Desktop/images/29112025/09/04/image_29112025_09_04_44_10619.jpg
/home/pi/Desktop/images/29112025/09/04/image_29112025_09_04_54_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396850474","1396850405","1396850476","1396850461","1396850509","1396850364"],"photo_ids_order":["1396850364","1396850405","1396850461","1396850474","1396850476","1396850509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96e10a15f6ac3bf17df3a38f57961bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5846225404626037321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404163438,"filename":"image_29112025_09_04_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6882da5d22ad6348db4a18a90665df47.jpg","text":"TemporaryFile(/tmp/multipartBody7778483939851229621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404163438,"filename":"image_29112025_09_04_14_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd263d0a44d91eec27584a9e4c87c686.jpg","text":"TemporaryFile(/tmp/multipartBody7554204404634544975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404163438,"filename":"image_29112025_09_04_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/11/29/4db46e65327c23df1c77baf65206272c.jpg","text":"TemporaryFile(/tmp/multipartBody4802968462080322216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404163438,"filename":"image_29112025_09_04_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cc8026fee62c4524917314c1f07692e.jpg","text":"TemporaryFile(/tmp/multipartBody8271590888921980778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404163438,"filename":"image_29112025_09_04_54_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/304f34b9d2c427c3ed513811cdd4ef2b.jpg","text":"TemporaryFile(/tmp/multipartBody3610668304541587796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404163438,"filename":"image_29112025_09_04_04_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396850461","file1":"1396850405","file0":"1396850364","file4":"1396850476","file5":"1396850509","file3":"1396850474"},"map_files_photo_id_array":[{"photo_id":"1396850509","filename":"file5"},{"photo_id":"1396850461","filename":"file2"},{"photo_id":"1396850476","filename":"file4"},{"photo_id":"1396850405","filename":"file1"},{"photo_id":"1396850364","filename":"file0"},{"photo_id":"1396850474","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396850474":["hashtag1","hashtag2"]},{"1396850405":["hashtag1","hashtag2"]},{"1396850476":["hashtag1","hashtag2"]},{"1396850461":["hashtag1","hashtag2"]},{"1396850509":["hashtag1","hashtag2"]},{"1396850364":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396850474, 1396850405, 1396850476, 1396850461, 1396850509, 1396850364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1810245513916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:15:42.094849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_32_3702.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_34_2575.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_37_2602.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_40_3588.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_43_2669.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_46_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_32_3702.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_34_2575.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_37_2602.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_40_3588.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_43_2669.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_46_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396850690","1396850585","1396850732","1396850713","1396850641","1396850706"],"photo_ids_order":["1396850585","1396850641","1396850690","1396850706","1396850713","1396850732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db6770ac1a3c80a5fe9ac88baa890595.jpg","text":"TemporaryFile(/tmp/multipartBody1474371168128583606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404203199,"filename":"image_31102025_09_10_37_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91a85535cd1f3c0e3303f7d7141d0208.jpg","text":"TemporaryFile(/tmp/multipartBody4844087752728193761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404203199,"filename":"image_31102025_09_10_32_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2489402981b745b7940628550a398d8.jpg","text":"TemporaryFile(/tmp/multipartBody5080439559229836027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404203199,"filename":"image_31102025_09_10_46_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b6fd8bba816216845043dc8e062e229.jpg","text":"TemporaryFile(/tmp/multipartBody6094479017879390793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404203199,"filename":"image_31102025_09_10_43_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55988b152d66ad95dec3983e2fc10c73.jpg","text":"TemporaryFile(/tmp/multipartBody2746431580048562582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404203199,"filename":"image_31102025_09_10_34_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/931c92fdb69ff521310b0b5156ad2d4f.jpg","text":"TemporaryFile(/tmp/multipartBody5753348483215459657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404203199,"filename":"image_31102025_09_10_40_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396850690","file1":"1396850641","file0":"1396850585","file4":"1396850713","file5":"1396850732","file3":"1396850706"},"map_files_photo_id_array":[{"photo_id":"1396850732","filename":"file5"},{"photo_id":"1396850690","filename":"file2"},{"photo_id":"1396850713","filename":"file4"},{"photo_id":"1396850641","filename":"file1"},{"photo_id":"1396850585","filename":"file0"},{"photo_id":"1396850706","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396850690":["hashtag1","hashtag2"]},{"1396850585":["hashtag1","hashtag2"]},{"1396850732":["hashtag1","hashtag2"]},{"1396850713":["hashtag1","hashtag2"]},{"1396850641":["hashtag1","hashtag2"]},{"1396850706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396850690, 1396850585, 1396850732, 1396850713, 1396850641, 1396850706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.173261880874634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:16:22.357126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/04/image_29112025_09_05_04_9547.jpg', '/home/pi/Desktop/images/29112025/09/05/image_29112025_09_05_14_10779.jpg', '/home/pi/Desktop/images/29112025/09/05/image_29112025_09_05_24_9963.jpg', '/home/pi/Desktop/images/29112025/09/05/image_29112025_09_05_34_9598.jpg', '/home/pi/Desktop/images/29112025/09/05/image_29112025_09_05_44_9661.jpg', '/home/pi/Desktop/images/29112025/09/05/image_29112025_09_05_54_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/04/image_29112025_09_05_04_9547.jpg
/home/pi/Desktop/images/29112025/09/05/image_29112025_09_05_14_10779.jpg
/home/pi/Desktop/images/29112025/09/05/image_29112025_09_05_24_9963.jpg
/home/pi/Desktop/images/29112025/09/05/image_29112025_09_05_34_9598.jpg
/home/pi/Desktop/images/29112025/09/05/image_29112025_09_05_44_9661.jpg
/home/pi/Desktop/images/29112025/09/05/image_29112025_09_05_54_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396850861","1396850855","1396850864","1396850858","1396850837","1396850877"],"photo_ids_order":["1396850837","1396850855","1396850858","1396850861","1396850864","1396850877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40404d63bd2c20fa68beafa225d1b0df.jpg","text":"TemporaryFile(/tmp/multipartBody7530795790083890693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404243014,"filename":"image_29112025_09_05_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/11/29/5f158b2b40b2c451836856134c49e50b.jpg","text":"TemporaryFile(/tmp/multipartBody2904403582685494138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404243014,"filename":"image_29112025_09_05_14_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c23c098e03b3abaf1ba5d1ec4a0388e3.jpg","text":"TemporaryFile(/tmp/multipartBody6428122981004050864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404243014,"filename":"image_29112025_09_05_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/11/29/b3fc3febbfcd82ebecf79048cad783fb.jpg","text":"TemporaryFile(/tmp/multipartBody8770986630750941139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404243014,"filename":"image_29112025_09_05_24_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1941471a260cf4e6c7653e874888970c.jpg","text":"TemporaryFile(/tmp/multipartBody174478743965450461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404243014,"filename":"image_29112025_09_05_04_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb7c5e187a058c4b97934bc05be66660.jpg","text":"TemporaryFile(/tmp/multipartBody1026512033420647899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404243014,"filename":"image_29112025_09_05_54_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396850858","file1":"1396850855","file0":"1396850837","file4":"1396850864","file5":"1396850877","file3":"1396850861"},"map_files_photo_id_array":[{"photo_id":"1396850877","filename":"file5"},{"photo_id":"1396850858","filename":"file2"},{"photo_id":"1396850864","filename":"file4"},{"photo_id":"1396850855","filename":"file1"},{"photo_id":"1396850837","filename":"file0"},{"photo_id":"1396850861","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396850861":["hashtag1","hashtag2"]},{"1396850855":["hashtag1","hashtag2"]},{"1396850864":["hashtag1","hashtag2"]},{"1396850858":["hashtag1","hashtag2"]},{"1396850837":["hashtag1","hashtag2"]},{"1396850877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396850861, 1396850855, 1396850864, 1396850858, 1396850837, 1396850877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.426469564437866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:17:03.187558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/06/image_29112025_09_06_14_9732.jpg', '/home/pi/Desktop/images/29112025/09/06/image_29112025_09_06_24_9679.jpg', '/home/pi/Desktop/images/29112025/09/06/image_29112025_09_06_44_9587.jpg', '/home/pi/Desktop/images/29112025/09/06/image_29112025_09_06_54_10620.jpg', '/home/pi/Desktop/images/29112025/09/06/image_29112025_09_07_04_9929.jpg', '/home/pi/Desktop/images/29112025/09/07/image_29112025_09_07_14_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/06/image_29112025_09_06_14_9732.jpg
/home/pi/Desktop/images/29112025/09/06/image_29112025_09_06_24_9679.jpg
/home/pi/Desktop/images/29112025/09/06/image_29112025_09_06_44_9587.jpg
/home/pi/Desktop/images/29112025/09/06/image_29112025_09_06_54_10620.jpg
/home/pi/Desktop/images/29112025/09/06/image_29112025_09_07_04_9929.jpg
/home/pi/Desktop/images/29112025/09/07/image_29112025_09_07_14_9847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396851008","1396851061","1396851078","1396851048","1396851098","1396851036"],"photo_ids_order":["1396851008","1396851036","1396851048","1396851061","1396851078","1396851098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49f381262c7ff524c63f53a9afb66bd8.jpg","text":"TemporaryFile(/tmp/multipartBody5297955346103234487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404283936,"filename":"image_29112025_09_06_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0e6f6d5322fd827fbed99b4394c8f71.jpg","text":"TemporaryFile(/tmp/multipartBody6173451413245228390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404283936,"filename":"image_29112025_09_06_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/329f26ab689097b90a88996719212bd8.jpg","text":"TemporaryFile(/tmp/multipartBody4394467556243198337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404283936,"filename":"image_29112025_09_07_04_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a1616a635b4a788bf70f7e8a5958d85.jpg","text":"TemporaryFile(/tmp/multipartBody133541530635664074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404283936,"filename":"image_29112025_09_06_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/11/29/c236ce84cfa974c4b75ef7ad12ff5420.jpg","text":"TemporaryFile(/tmp/multipartBody3881075111311781968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404283936,"filename":"image_29112025_09_07_14_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cfcfb6d92af409cae5a76ca630cc31a.jpg","text":"TemporaryFile(/tmp/multipartBody7665648345282668804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404283936,"filename":"image_29112025_09_06_24_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396851048","file1":"1396851036","file0":"1396851008","file4":"1396851078","file5":"1396851098","file3":"1396851061"},"map_files_photo_id_array":[{"photo_id":"1396851098","filename":"file5"},{"photo_id":"1396851048","filename":"file2"},{"photo_id":"1396851078","filename":"file4"},{"photo_id":"1396851036","filename":"file1"},{"photo_id":"1396851008","filename":"file0"},{"photo_id":"1396851061","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396851008":["hashtag1","hashtag2"]},{"1396851061":["hashtag1","hashtag2"]},{"1396851078":["hashtag1","hashtag2"]},{"1396851048":["hashtag1","hashtag2"]},{"1396851098":["hashtag1","hashtag2"]},{"1396851036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396851008, 1396851061, 1396851078, 1396851048, 1396851098, 1396851036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97450661659241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:18:03.033952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/07/image_29112025_09_07_24_9773.jpg', '/home/pi/Desktop/images/29112025/09/07/image_29112025_09_07_33_9586.jpg', '/home/pi/Desktop/images/29112025/09/07/image_29112025_09_07_44_10659.jpg', '/home/pi/Desktop/images/29112025/09/07/image_29112025_09_07_54_9811.jpg', '/home/pi/Desktop/images/29112025/09/07/image_29112025_09_08_03_9621.jpg', '/home/pi/Desktop/images/29112025/09/08/image_29112025_09_08_14_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/07/image_29112025_09_07_24_9773.jpg
/home/pi/Desktop/images/29112025/09/07/image_29112025_09_07_33_9586.jpg
/home/pi/Desktop/images/29112025/09/07/image_29112025_09_07_44_10659.jpg
/home/pi/Desktop/images/29112025/09/07/image_29112025_09_07_54_9811.jpg
/home/pi/Desktop/images/29112025/09/07/image_29112025_09_08_03_9621.jpg
/home/pi/Desktop/images/29112025/09/08/image_29112025_09_08_14_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396851110","1396851109","1396851118","1396851112","1396851111","1396851114"],"photo_ids_order":["1396851109","1396851110","1396851111","1396851112","1396851114","1396851118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0baf20c502c52e6b03372c2b1eea5abb.jpg","text":"TemporaryFile(/tmp/multipartBody8225302841138676682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404343748,"filename":"image_29112025_09_07_33_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/627c58826c9e2959aea0e9c2acbe4821.jpg","text":"TemporaryFile(/tmp/multipartBody2332959910198771962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404343748,"filename":"image_29112025_09_07_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/11/29/589c4484db581692f5bce0ac38551f94.jpg","text":"TemporaryFile(/tmp/multipartBody3258615585582461080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404343748,"filename":"image_29112025_09_08_14_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f25a432ee76308a130a5d578ba397e5.jpg","text":"TemporaryFile(/tmp/multipartBody3495698060567506452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404343748,"filename":"image_29112025_09_07_54_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68611a06cbeb512eb170e33bda0f1fc2.jpg","text":"TemporaryFile(/tmp/multipartBody545737938403352081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404343748,"filename":"image_29112025_09_07_44_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/caeb28ac57a45e9990ac390dd17d356d.jpg","text":"TemporaryFile(/tmp/multipartBody9015483090199397868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404343748,"filename":"image_29112025_09_08_03_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396851111","file1":"1396851110","file0":"1396851109","file4":"1396851114","file5":"1396851118","file3":"1396851112"},"map_files_photo_id_array":[{"photo_id":"1396851118","filename":"file5"},{"photo_id":"1396851111","filename":"file2"},{"photo_id":"1396851114","filename":"file4"},{"photo_id":"1396851110","filename":"file1"},{"photo_id":"1396851109","filename":"file0"},{"photo_id":"1396851112","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396851110":["hashtag1","hashtag2"]},{"1396851109":["hashtag1","hashtag2"]},{"1396851118":["hashtag1","hashtag2"]},{"1396851112":["hashtag1","hashtag2"]},{"1396851111":["hashtag1","hashtag2"]},{"1396851114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396851110, 1396851109, 1396851118, 1396851112, 1396851111, 1396851114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.736613273620605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:19:02.910181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/08/image_29112025_09_08_24_9570.jpg', '/home/pi/Desktop/images/29112025/09/08/image_29112025_09_08_34_10621.jpg', '/home/pi/Desktop/images/29112025/09/08/image_29112025_09_08_44_9744.jpg', '/home/pi/Desktop/images/29112025/09/08/image_29112025_09_08_54_9720.jpg', '/home/pi/Desktop/images/29112025/09/08/image_29112025_09_09_03_9565.jpg', '/home/pi/Desktop/images/29112025/09/09/image_29112025_09_09_14_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/08/image_29112025_09_08_24_9570.jpg
/home/pi/Desktop/images/29112025/09/08/image_29112025_09_08_34_10621.jpg
/home/pi/Desktop/images/29112025/09/08/image_29112025_09_08_44_9744.jpg
/home/pi/Desktop/images/29112025/09/08/image_29112025_09_08_54_9720.jpg
/home/pi/Desktop/images/29112025/09/08/image_29112025_09_09_03_9565.jpg
/home/pi/Desktop/images/29112025/09/09/image_29112025_09_09_14_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":["1396851224","1396851220","1396851186","1396851171","1396851207","1396851248"],"photo_ids_order":["1396851171","1396851186","1396851207","1396851220","1396851224","1396851248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20de783c76a55eb30f1d8c68bee262c5.jpg","text":"TemporaryFile(/tmp/multipartBody8381979000284925267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404403870,"filename":"image_29112025_09_09_03_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1dcf9323aed92c7cae2490823e3be536.jpg","text":"TemporaryFile(/tmp/multipartBody103930705301682649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404403870,"filename":"image_29112025_09_08_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/11/29/3606a923ef1dd3228199bd5f402a398f.jpg","text":"TemporaryFile(/tmp/multipartBody150267593099762800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404403870,"filename":"image_29112025_09_08_34_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d4f7210395652cd8101d072b6d91a3a.jpg","text":"TemporaryFile(/tmp/multipartBody1414322518600060094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404403870,"filename":"image_29112025_09_08_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/11/29/8d28a335d3835869d67185d35635fb07.jpg","text":"TemporaryFile(/tmp/multipartBody3260205592525321731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404403870,"filename":"image_29112025_09_08_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7a4372a0795a65d5c46afd00d571d82.jpg","text":"TemporaryFile(/tmp/multipartBody8040876836959521755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404403870,"filename":"image_29112025_09_09_14_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396851207","file1":"1396851186","file0":"1396851171","file4":"1396851224","file5":"1396851248","file3":"1396851220"},"map_files_photo_id_array":[{"photo_id":"1396851248","filename":"file5"},{"photo_id":"1396851207","filename":"file2"},{"photo_id":"1396851224","filename":"file4"},{"photo_id":"1396851186","filename":"file1"},{"photo_id":"1396851171","filename":"file0"},{"photo_id":"1396851220","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396851224":["hashtag1","hashtag2"]},{"1396851220":["hashtag1","hashtag2"]},{"1396851186":["hashtag1","hashtag2"]},{"1396851171":["hashtag1","hashtag2"]},{"1396851207":["hashtag1","hashtag2"]},{"1396851248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396851224, 1396851220, 1396851186, 1396851171, 1396851207, 1396851248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38805055618286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:19:41.949478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_49_3633.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_52_2648.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_56_3657.jpg', '/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_58_2667.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_01_2753.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_05_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_49_3633.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_52_2648.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_56_3657.jpg
/home/pi/Desktop/images/31102025/09/10/image_31102025_09_10_58_2667.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_01_2753.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_05_3551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396851257","1396851311","1396851259","1396851276","1396851261","1396851260"],"photo_ids_order":["1396851257","1396851259","1396851260","1396851261","1396851276","1396851311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21ece4379877deecc9ac42afb90d3de5.jpg","text":"TemporaryFile(/tmp/multipartBody3346325404866757998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404443039,"filename":"image_31102025_09_10_49_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c52baf845a60cc7daf7c4d15c4593256.jpg","text":"TemporaryFile(/tmp/multipartBody385740700380921191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404443039,"filename":"image_31102025_09_11_05_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/988f6487d722c65e37300ef6be6848ec.jpg","text":"TemporaryFile(/tmp/multipartBody3329979618300274876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404443039,"filename":"image_31102025_09_10_52_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3878b4966cc812347960f87c0e0bf4e3.jpg","text":"TemporaryFile(/tmp/multipartBody8034879204782464522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404443039,"filename":"image_31102025_09_11_01_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f5a22fe8763909facb4b13c3cc15c49.jpg","text":"TemporaryFile(/tmp/multipartBody2151062598780735433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404443039,"filename":"image_31102025_09_10_58_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e06336bd9e646a9c2c532afd90077ca.jpg","text":"TemporaryFile(/tmp/multipartBody1456569191137394182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404443039,"filename":"image_31102025_09_10_56_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396851260","file1":"1396851259","file0":"1396851257","file4":"1396851276","file5":"1396851311","file3":"1396851261"},"map_files_photo_id_array":[{"photo_id":"1396851311","filename":"file5"},{"photo_id":"1396851260","filename":"file2"},{"photo_id":"1396851276","filename":"file4"},{"photo_id":"1396851259","filename":"file1"},{"photo_id":"1396851257","filename":"file0"},{"photo_id":"1396851261","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396851257":["hashtag1","hashtag2"]},{"1396851311":["hashtag1","hashtag2"]},{"1396851259":["hashtag1","hashtag2"]},{"1396851276":["hashtag1","hashtag2"]},{"1396851261":["hashtag1","hashtag2"]},{"1396851260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396851257, 1396851311, 1396851259, 1396851276, 1396851261, 1396851260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43146371841431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:20:22.133262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/09/image_29112025_09_09_24_9631.jpg', '/home/pi/Desktop/images/29112025/09/09/image_29112025_09_09_34_10648.jpg', '/home/pi/Desktop/images/29112025/09/09/image_29112025_09_09_44_9553.jpg', '/home/pi/Desktop/images/29112025/09/09/image_29112025_09_09_54_9724.jpg', '/home/pi/Desktop/images/29112025/09/09/image_29112025_09_10_04_10542.jpg', '/home/pi/Desktop/images/29112025/09/10/image_29112025_09_10_14_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/09/image_29112025_09_09_24_9631.jpg
/home/pi/Desktop/images/29112025/09/09/image_29112025_09_09_34_10648.jpg
/home/pi/Desktop/images/29112025/09/09/image_29112025_09_09_44_9553.jpg
/home/pi/Desktop/images/29112025/09/09/image_29112025_09_09_54_9724.jpg
/home/pi/Desktop/images/29112025/09/09/image_29112025_09_10_04_10542.jpg
/home/pi/Desktop/images/29112025/09/10/image_29112025_09_10_14_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":["1396851443","1396851484","1396851520","1396851501","1396851504","1396851507"],"photo_ids_order":["1396851443","1396851484","1396851501","1396851504","1396851507","1396851520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b72376a9f54302d88897ff8d84a39f1.jpg","text":"TemporaryFile(/tmp/multipartBody4358409166408522429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404482824,"filename":"image_29112025_09_09_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/66d0a18a96f7546f9e26e41ecf78fecb.jpg","text":"TemporaryFile(/tmp/multipartBody1880478239757314700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404482824,"filename":"image_29112025_09_09_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/11/29/ee7b3c99e62df08cce3d94e8538d56b1.jpg","text":"TemporaryFile(/tmp/multipartBody9127811887251415641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404482824,"filename":"image_29112025_09_10_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/11/29/c999a855ad01c9593ad20b6f4fcc076c.jpg","text":"TemporaryFile(/tmp/multipartBody3697689078479824144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404482824,"filename":"image_29112025_09_09_44_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af97022a610ee7e947c0c33a7d04fb4f.jpg","text":"TemporaryFile(/tmp/multipartBody3662904423291834992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404482824,"filename":"image_29112025_09_09_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52a7afa59f3dddae5b6d2ef3bb7164f0.jpg","text":"TemporaryFile(/tmp/multipartBody4933752000326131313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404482824,"filename":"image_29112025_09_10_04_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396851501","file1":"1396851484","file0":"1396851443","file4":"1396851507","file5":"1396851520","file3":"1396851504"},"map_files_photo_id_array":[{"photo_id":"1396851520","filename":"file5"},{"photo_id":"1396851501","filename":"file2"},{"photo_id":"1396851507","filename":"file4"},{"photo_id":"1396851484","filename":"file1"},{"photo_id":"1396851443","filename":"file0"},{"photo_id":"1396851504","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396851443":["hashtag1","hashtag2"]},{"1396851484":["hashtag1","hashtag2"]},{"1396851520":["hashtag1","hashtag2"]},{"1396851501":["hashtag1","hashtag2"]},{"1396851504":["hashtag1","hashtag2"]},{"1396851507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396851443, 1396851484, 1396851520, 1396851501, 1396851504, 1396851507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98689818382263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:21:03.019318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/10/image_29112025_09_10_24_9689.jpg', '/home/pi/Desktop/images/29112025/09/10/image_29112025_09_10_34_10616.jpg', '/home/pi/Desktop/images/29112025/09/10/image_29112025_09_10_44_9507.jpg', '/home/pi/Desktop/images/29112025/09/10/image_29112025_09_10_54_10632.jpg', '/home/pi/Desktop/images/29112025/09/10/image_29112025_09_11_04_9595.jpg', '/home/pi/Desktop/images/29112025/09/11/image_29112025_09_11_14_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/10/image_29112025_09_10_24_9689.jpg
/home/pi/Desktop/images/29112025/09/10/image_29112025_09_10_34_10616.jpg
/home/pi/Desktop/images/29112025/09/10/image_29112025_09_10_44_9507.jpg
/home/pi/Desktop/images/29112025/09/10/image_29112025_09_10_54_10632.jpg
/home/pi/Desktop/images/29112025/09/10/image_29112025_09_11_04_9595.jpg
/home/pi/Desktop/images/29112025/09/11/image_29112025_09_11_14_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396851712","1396851699","1396851747","1396851735","1396851641","1396851779"],"photo_ids_order":["1396851641","1396851699","1396851712","1396851735","1396851747","1396851779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a5072773891fdd3655f452ff7f819d9.jpg","text":"TemporaryFile(/tmp/multipartBody1080565389799349478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404523750,"filename":"image_29112025_09_10_44_9507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22c164eb2737c7541b9989e16640b43b.jpg","text":"TemporaryFile(/tmp/multipartBody2640607687473688500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404523750,"filename":"image_29112025_09_10_34_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0febd5c0c4a8e93ef9a3b07cf762a369.jpg","text":"TemporaryFile(/tmp/multipartBody8358227767912043003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404523750,"filename":"image_29112025_09_11_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/11/29/a91afbf02423dadde52634aa0262d3d3.jpg","text":"TemporaryFile(/tmp/multipartBody2936961026287927402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404523750,"filename":"image_29112025_09_10_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/11/29/7e2ca26d22040cef9a036b798ca09b9b.jpg","text":"TemporaryFile(/tmp/multipartBody173907185293545998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404523750,"filename":"image_29112025_09_10_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/11/29/6b9caa49dd981503f5c4c20ba23a9c73.jpg","text":"TemporaryFile(/tmp/multipartBody77406369299461091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404523750,"filename":"image_29112025_09_11_14_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396851712","file1":"1396851699","file0":"1396851641","file4":"1396851747","file5":"1396851779","file3":"1396851735"},"map_files_photo_id_array":[{"photo_id":"1396851779","filename":"file5"},{"photo_id":"1396851712","filename":"file2"},{"photo_id":"1396851747","filename":"file4"},{"photo_id":"1396851699","filename":"file1"},{"photo_id":"1396851641","filename":"file0"},{"photo_id":"1396851735","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396851712":["hashtag1","hashtag2"]},{"1396851699":["hashtag1","hashtag2"]},{"1396851747":["hashtag1","hashtag2"]},{"1396851735":["hashtag1","hashtag2"]},{"1396851641":["hashtag1","hashtag2"]},{"1396851779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396851712, 1396851699, 1396851747, 1396851735, 1396851641, 1396851779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15183901786804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:21:42.229142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_07_2659.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_10_2869.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_13_2673.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_16_3583.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_19_2833.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_22_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/09/11/image_31102025_09_11_07_2659.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_10_2869.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_13_2673.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_16_3583.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_19_2833.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_22_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":["1396851877","1396851873","1396851876","1396851879","1396851875","1396851878"],"photo_ids_order":["1396851873","1396851875","1396851876","1396851877","1396851878","1396851879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06140a9cc4dd6c8200e433a6a17e52a1.jpg","text":"TemporaryFile(/tmp/multipartBody4274678324424305820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404563322,"filename":"image_31102025_09_11_16_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41d21c7727fb8db4dc1c8eb5d98d6075.jpg","text":"TemporaryFile(/tmp/multipartBody2333219631563621381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404563322,"filename":"image_31102025_09_11_07_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2416cf417c8e3282ae16ba4b045e2c22.jpg","text":"TemporaryFile(/tmp/multipartBody5403533911675210539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404563322,"filename":"image_31102025_09_11_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b9cc6102d1bf548a4869db25f64f1f6.jpg","text":"TemporaryFile(/tmp/multipartBody2447676160432841293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404563322,"filename":"image_31102025_09_11_22_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/025d622ec63d6fa29651b28f395f1e18.jpg","text":"TemporaryFile(/tmp/multipartBody2750211602534583614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404563322,"filename":"image_31102025_09_11_10_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d32e87ff7436d365e46eae2dc10aae72.jpg","text":"TemporaryFile(/tmp/multipartBody68372095101609471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404563322,"filename":"image_31102025_09_11_19_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396851876","file1":"1396851875","file0":"1396851873","file4":"1396851878","file5":"1396851879","file3":"1396851877"},"map_files_photo_id_array":[{"photo_id":"1396851879","filename":"file5"},{"photo_id":"1396851876","filename":"file2"},{"photo_id":"1396851878","filename":"file4"},{"photo_id":"1396851875","filename":"file1"},{"photo_id":"1396851873","filename":"file0"},{"photo_id":"1396851877","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396851877":["hashtag1","hashtag2"]},{"1396851873":["hashtag1","hashtag2"]},{"1396851876":["hashtag1","hashtag2"]},{"1396851879":["hashtag1","hashtag2"]},{"1396851875":["hashtag1","hashtag2"]},{"1396851878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396851877, 1396851873, 1396851876, 1396851879, 1396851875, 1396851878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99769878387451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:22:22.366335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/11/image_29112025_09_11_23_9770.jpg', '/home/pi/Desktop/images/29112025/09/11/image_29112025_09_11_34_10825.jpg', '/home/pi/Desktop/images/29112025/09/11/image_29112025_09_11_44_9695.jpg', '/home/pi/Desktop/images/29112025/09/11/image_29112025_09_11_54_9778.jpg', '/home/pi/Desktop/images/29112025/09/11/image_29112025_09_12_03_9700.jpg', '/home/pi/Desktop/images/29112025/09/12/image_29112025_09_12_14_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/11/image_29112025_09_11_23_9770.jpg
/home/pi/Desktop/images/29112025/09/11/image_29112025_09_11_34_10825.jpg
/home/pi/Desktop/images/29112025/09/11/image_29112025_09_11_44_9695.jpg
/home/pi/Desktop/images/29112025/09/11/image_29112025_09_11_54_9778.jpg
/home/pi/Desktop/images/29112025/09/11/image_29112025_09_12_03_9700.jpg
/home/pi/Desktop/images/29112025/09/12/image_29112025_09_12_14_10770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396852074","1396851999","1396852076","1396852034","1396852031","1396851962"],"photo_ids_order":["1396851962","1396851999","1396852031","1396852034","1396852074","1396852076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e886b78d9aeb14c340981eb31f3a3985.jpg","text":"TemporaryFile(/tmp/multipartBody5719969703446124418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404603007,"filename":"image_29112025_09_12_03_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ce25bb754ff7e2285817f6e87db6d83.jpg","text":"TemporaryFile(/tmp/multipartBody6669657576048685554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404603007,"filename":"image_29112025_09_11_34_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/646493885f880d8c8cacd8a411d78f2b.jpg","text":"TemporaryFile(/tmp/multipartBody5206207166226591329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404603007,"filename":"image_29112025_09_12_14_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78600150d9c90eb7390153101d1c5c6f.jpg","text":"TemporaryFile(/tmp/multipartBody3900168060138217281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404603007,"filename":"image_29112025_09_11_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/11/29/7bfa38811dc74f8a225963240ef8d4b6.jpg","text":"TemporaryFile(/tmp/multipartBody4197816395928492350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404603007,"filename":"image_29112025_09_11_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/11/29/1fbe6bc118899b46d101c05f5bd2011a.jpg","text":"TemporaryFile(/tmp/multipartBody8327961668517008117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404603007,"filename":"image_29112025_09_11_23_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396852031","file1":"1396851999","file0":"1396851962","file4":"1396852074","file5":"1396852076","file3":"1396852034"},"map_files_photo_id_array":[{"photo_id":"1396852076","filename":"file5"},{"photo_id":"1396852031","filename":"file2"},{"photo_id":"1396852074","filename":"file4"},{"photo_id":"1396851999","filename":"file1"},{"photo_id":"1396851962","filename":"file0"},{"photo_id":"1396852034","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396852074":["hashtag1","hashtag2"]},{"1396851999":["hashtag1","hashtag2"]},{"1396852076":["hashtag1","hashtag2"]},{"1396852034":["hashtag1","hashtag2"]},{"1396852031":["hashtag1","hashtag2"]},{"1396851962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396852074, 1396851999, 1396852076, 1396852034, 1396852031, 1396851962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.379958629608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:23:03.288515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/12/image_29112025_09_12_24_9628.jpg', '/home/pi/Desktop/images/29112025/09/12/image_29112025_09_12_44_10756.jpg', '/home/pi/Desktop/images/29112025/09/12/image_29112025_09_12_54_9534.jpg', '/home/pi/Desktop/images/29112025/09/12/image_29112025_09_13_03_9618.jpg', '/home/pi/Desktop/images/29112025/09/13/image_29112025_09_13_14_10600.jpg', '/home/pi/Desktop/images/29112025/09/13/image_29112025_09_13_24_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/12/image_29112025_09_12_24_9628.jpg
/home/pi/Desktop/images/29112025/09/12/image_29112025_09_12_44_10756.jpg
/home/pi/Desktop/images/29112025/09/12/image_29112025_09_12_54_9534.jpg
/home/pi/Desktop/images/29112025/09/12/image_29112025_09_13_03_9618.jpg
/home/pi/Desktop/images/29112025/09/13/image_29112025_09_13_14_10600.jpg
/home/pi/Desktop/images/29112025/09/13/image_29112025_09_13_24_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396852165","1396852167","1396852182","1396852163","1396852169","1396852121"],"photo_ids_order":["1396852121","1396852163","1396852165","1396852167","1396852169","1396852182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/786b795ba563988ad73ae504437b5ce4.jpg","text":"TemporaryFile(/tmp/multipartBody6539719362344820285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404643996,"filename":"image_29112025_09_12_54_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/452769da7f90fde34deaafa43da84cf6.jpg","text":"TemporaryFile(/tmp/multipartBody1580678205161986120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404643996,"filename":"image_29112025_09_13_03_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43d23fcca680575c1670622c7be4aadd.jpg","text":"TemporaryFile(/tmp/multipartBody7818392129612658522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404643996,"filename":"image_29112025_09_13_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/11/29/08b0d072b0ca8b476b059feb714530fc.jpg","text":"TemporaryFile(/tmp/multipartBody8090361737563149701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404643996,"filename":"image_29112025_09_12_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/11/29/885f71ccd834d57230939870bd61191f.jpg","text":"TemporaryFile(/tmp/multipartBody1522273790195072692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404643996,"filename":"image_29112025_09_13_14_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eefa863431538fc2620a835b3b130ec9.jpg","text":"TemporaryFile(/tmp/multipartBody4889998974394142760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404643996,"filename":"image_29112025_09_12_24_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396852165","file1":"1396852163","file0":"1396852121","file4":"1396852169","file5":"1396852182","file3":"1396852167"},"map_files_photo_id_array":[{"photo_id":"1396852182","filename":"file5"},{"photo_id":"1396852165","filename":"file2"},{"photo_id":"1396852169","filename":"file4"},{"photo_id":"1396852163","filename":"file1"},{"photo_id":"1396852121","filename":"file0"},{"photo_id":"1396852167","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396852165":["hashtag1","hashtag2"]},{"1396852167":["hashtag1","hashtag2"]},{"1396852182":["hashtag1","hashtag2"]},{"1396852163":["hashtag1","hashtag2"]},{"1396852169":["hashtag1","hashtag2"]},{"1396852121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396852165, 1396852167, 1396852182, 1396852163, 1396852169, 1396852121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.360026359558105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:23:42.646248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_25_3672.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_28_2662.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_31_2587.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_34_3704.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_37_2738.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_40_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/09/11/image_31102025_09_11_25_3672.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_28_2662.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_31_2587.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_34_3704.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_37_2738.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_40_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":["1396852403","1396852366","1396852345","1396852347","1396852346","1396852322"],"photo_ids_order":["1396852322","1396852345","1396852346","1396852347","1396852366","1396852403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0ddb15cf6aef3ca7b013ae8576809d2.jpg","text":"TemporaryFile(/tmp/multipartBody5735132755731781789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404683749,"filename":"image_31102025_09_11_40_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61b944f674e2b0e9a584987f9894fc0e.jpg","text":"TemporaryFile(/tmp/multipartBody3822396689905121374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404683749,"filename":"image_31102025_09_11_37_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41d00fdc5f70ee067b8aa83181c9202d.jpg","text":"TemporaryFile(/tmp/multipartBody3384395392790030808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404683749,"filename":"image_31102025_09_11_28_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18c0932a0734740d646c0f0994336d61.jpg","text":"TemporaryFile(/tmp/multipartBody9071481338326818382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404683749,"filename":"image_31102025_09_11_34_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9472de5b5c1565d2b5c938f9ce440254.jpg","text":"TemporaryFile(/tmp/multipartBody5291692058834837828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404683749,"filename":"image_31102025_09_11_31_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4dd7d44c4366c15f29ca5c0f8c7f3ce3.jpg","text":"TemporaryFile(/tmp/multipartBody6888054015860506675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404683749,"filename":"image_31102025_09_11_25_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396852346","file1":"1396852345","file0":"1396852322","file4":"1396852366","file5":"1396852403","file3":"1396852347"},"map_files_photo_id_array":[{"photo_id":"1396852403","filename":"file5"},{"photo_id":"1396852346","filename":"file2"},{"photo_id":"1396852366","filename":"file4"},{"photo_id":"1396852345","filename":"file1"},{"photo_id":"1396852322","filename":"file0"},{"photo_id":"1396852347","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396852403":["hashtag1","hashtag2"]},{"1396852366":["hashtag1","hashtag2"]},{"1396852345":["hashtag1","hashtag2"]},{"1396852347":["hashtag1","hashtag2"]},{"1396852346":["hashtag1","hashtag2"]},{"1396852322":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396852403, 1396852366, 1396852345, 1396852347, 1396852346, 1396852322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.192293643951416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:24:22.817903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/13/image_29112025_09_13_34_10643.jpg', '/home/pi/Desktop/images/29112025/09/13/image_29112025_09_13_44_9686.jpg', '/home/pi/Desktop/images/29112025/09/13/image_29112025_09_13_54_9767.jpg', '/home/pi/Desktop/images/29112025/09/13/image_29112025_09_14_04_10657.jpg', '/home/pi/Desktop/images/29112025/09/14/image_29112025_09_14_14_9565.jpg', '/home/pi/Desktop/images/29112025/09/14/image_29112025_09_14_24_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/13/image_29112025_09_13_34_10643.jpg
/home/pi/Desktop/images/29112025/09/13/image_29112025_09_13_44_9686.jpg
/home/pi/Desktop/images/29112025/09/13/image_29112025_09_13_54_9767.jpg
/home/pi/Desktop/images/29112025/09/13/image_29112025_09_14_04_10657.jpg
/home/pi/Desktop/images/29112025/09/14/image_29112025_09_14_14_9565.jpg
/home/pi/Desktop/images/29112025/09/14/image_29112025_09_14_24_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":["1396852447","1396852462","1396852450","1396852503","1396852517","1396852520"],"photo_ids_order":["1396852447","1396852450","1396852462","1396852503","1396852517","1396852520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/527aba1ff26c425669c06091369324e3.jpg","text":"TemporaryFile(/tmp/multipartBody7466028087263829134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404723480,"filename":"image_29112025_09_13_34_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2427a25480467bbf6d11e8deac29636c.jpg","text":"TemporaryFile(/tmp/multipartBody1672601059069008179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404723480,"filename":"image_29112025_09_13_54_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35f27b1b7573ed34b90ed6b02e1823a7.jpg","text":"TemporaryFile(/tmp/multipartBody6693608531743437491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404723480,"filename":"image_29112025_09_13_44_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba490f5bbb7935b16e1ed54fbad2b965.jpg","text":"TemporaryFile(/tmp/multipartBody8861424696859947462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404723480,"filename":"image_29112025_09_14_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9a48e7603551e9243b878bf7b429aba.jpg","text":"TemporaryFile(/tmp/multipartBody4767457079188937452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404723480,"filename":"image_29112025_09_14_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/11/29/ce1a4a52461c595f8905c820a6889ecf.jpg","text":"TemporaryFile(/tmp/multipartBody6240202588762653502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404723480,"filename":"image_29112025_09_14_24_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396852462","file1":"1396852450","file0":"1396852447","file4":"1396852517","file5":"1396852520","file3":"1396852503"},"map_files_photo_id_array":[{"photo_id":"1396852520","filename":"file5"},{"photo_id":"1396852462","filename":"file2"},{"photo_id":"1396852517","filename":"file4"},{"photo_id":"1396852450","filename":"file1"},{"photo_id":"1396852447","filename":"file0"},{"photo_id":"1396852503","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396852447":["hashtag1","hashtag2"]},{"1396852462":["hashtag1","hashtag2"]},{"1396852450":["hashtag1","hashtag2"]},{"1396852503":["hashtag1","hashtag2"]},{"1396852517":["hashtag1","hashtag2"]},{"1396852520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396852447, 1396852462, 1396852450, 1396852503, 1396852517, 1396852520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46904706954956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:25:02.749160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/14/image_29112025_09_14_34_10562.jpg', '/home/pi/Desktop/images/29112025/09/14/image_29112025_09_14_44_9623.jpg', '/home/pi/Desktop/images/29112025/09/14/image_29112025_09_14_53_9658.jpg', '/home/pi/Desktop/images/29112025/09/14/image_29112025_09_15_04_10548.jpg', '/home/pi/Desktop/images/29112025/09/15/image_29112025_09_15_14_9894.jpg', '/home/pi/Desktop/images/29112025/09/15/image_29112025_09_15_24_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/14/image_29112025_09_14_34_10562.jpg
/home/pi/Desktop/images/29112025/09/14/image_29112025_09_14_44_9623.jpg
/home/pi/Desktop/images/29112025/09/14/image_29112025_09_14_53_9658.jpg
/home/pi/Desktop/images/29112025/09/14/image_29112025_09_15_04_10548.jpg
/home/pi/Desktop/images/29112025/09/15/image_29112025_09_15_14_9894.jpg
/home/pi/Desktop/images/29112025/09/15/image_29112025_09_15_24_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396852601","1396852654","1396852648","1396852680","1396852611","1396852637"],"photo_ids_order":["1396852601","1396852611","1396852637","1396852648","1396852654","1396852680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa66d83f4136bdfcaee8d6d7ce1d7dc1.jpg","text":"TemporaryFile(/tmp/multipartBody4414020446332861972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404763480,"filename":"image_29112025_09_14_34_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6435c6c5965024b4739f8139b02ac742.jpg","text":"TemporaryFile(/tmp/multipartBody6221097482818902041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404763480,"filename":"image_29112025_09_15_14_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4da835782449b7301a47bfbfa5b6588c.jpg","text":"TemporaryFile(/tmp/multipartBody7610487703821553579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404763480,"filename":"image_29112025_09_15_04_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d302f1a575755942f49fac3c196fc4c.jpg","text":"TemporaryFile(/tmp/multipartBody3272256368985233756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404763480,"filename":"image_29112025_09_15_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/490b4dd3791f363fc21f4192cd930536.jpg","text":"TemporaryFile(/tmp/multipartBody5656454861081008561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404763480,"filename":"image_29112025_09_14_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/11/29/9a1b7115258f5be9cf476453bbc8e3c9.jpg","text":"TemporaryFile(/tmp/multipartBody8241238236695051371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404763480,"filename":"image_29112025_09_14_53_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396852637","file1":"1396852611","file0":"1396852601","file4":"1396852654","file5":"1396852680","file3":"1396852648"},"map_files_photo_id_array":[{"photo_id":"1396852680","filename":"file5"},{"photo_id":"1396852637","filename":"file2"},{"photo_id":"1396852654","filename":"file4"},{"photo_id":"1396852611","filename":"file1"},{"photo_id":"1396852601","filename":"file0"},{"photo_id":"1396852648","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396852601":["hashtag1","hashtag2"]},{"1396852654":["hashtag1","hashtag2"]},{"1396852648":["hashtag1","hashtag2"]},{"1396852680":["hashtag1","hashtag2"]},{"1396852611":["hashtag1","hashtag2"]},{"1396852637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396852601, 1396852654, 1396852648, 1396852680, 1396852611, 1396852637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84400415420532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:25:42.135545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_44_3651.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_46_2590.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_49_2754.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_52_2714.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_55_3593.jpg', '/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_58_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/09/11/image_31102025_09_11_44_3651.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_46_2590.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_49_2754.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_52_2714.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_55_3593.jpg
/home/pi/Desktop/images/31102025/09/11/image_31102025_09_11_58_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":["1396852690","1396852759","1396852834","1396852717","1396852692","1396852795"],"photo_ids_order":["1396852690","1396852692","1396852717","1396852759","1396852795","1396852834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7c76a5ea47871c8c5bdf03b91ad1dd2.jpg","text":"TemporaryFile(/tmp/multipartBody2990159317092276555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404803259,"filename":"image_31102025_09_11_44_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2ac554129ee33d05c0d5e0de43da270.jpg","text":"TemporaryFile(/tmp/multipartBody8873378085023806183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404803259,"filename":"image_31102025_09_11_52_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46dab29564add29a01c26ad1c39a5c51.jpg","text":"TemporaryFile(/tmp/multipartBody9019649847174216080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404803259,"filename":"image_31102025_09_11_58_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28dfec9dfad2e41b55574c1822f4a62d.jpg","text":"TemporaryFile(/tmp/multipartBody1807949328057168006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404803259,"filename":"image_31102025_09_11_49_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d1583b5eb49555a24aed5fa5f5e7cae.jpg","text":"TemporaryFile(/tmp/multipartBody394713316877853746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404803259,"filename":"image_31102025_09_11_46_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/358d8f1bb27ff238c5f94fd4e3568613.jpg","text":"TemporaryFile(/tmp/multipartBody8815758993396908386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404803259,"filename":"image_31102025_09_11_55_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396852717","file1":"1396852692","file0":"1396852690","file4":"1396852795","file5":"1396852834","file3":"1396852759"},"map_files_photo_id_array":[{"photo_id":"1396852834","filename":"file5"},{"photo_id":"1396852717","filename":"file2"},{"photo_id":"1396852795","filename":"file4"},{"photo_id":"1396852692","filename":"file1"},{"photo_id":"1396852690","filename":"file0"},{"photo_id":"1396852759","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396852690":["hashtag1","hashtag2"]},{"1396852759":["hashtag1","hashtag2"]},{"1396852834":["hashtag1","hashtag2"]},{"1396852717":["hashtag1","hashtag2"]},{"1396852692":["hashtag1","hashtag2"]},{"1396852795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396852690, 1396852759, 1396852834, 1396852717, 1396852692, 1396852795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.771268367767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:26:22.281285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/15/image_29112025_09_15_34_10644.jpg', '/home/pi/Desktop/images/29112025/09/15/image_29112025_09_15_44_9643.jpg', '/home/pi/Desktop/images/29112025/09/15/image_29112025_09_15_54_9654.jpg', '/home/pi/Desktop/images/29112025/09/15/image_29112025_09_16_04_10778.jpg', '/home/pi/Desktop/images/29112025/09/16/image_29112025_09_16_14_9690.jpg', '/home/pi/Desktop/images/29112025/09/16/image_29112025_09_16_24_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/15/image_29112025_09_15_34_10644.jpg
/home/pi/Desktop/images/29112025/09/15/image_29112025_09_15_44_9643.jpg
/home/pi/Desktop/images/29112025/09/15/image_29112025_09_15_54_9654.jpg
/home/pi/Desktop/images/29112025/09/15/image_29112025_09_16_04_10778.jpg
/home/pi/Desktop/images/29112025/09/16/image_29112025_09_16_14_9690.jpg
/home/pi/Desktop/images/29112025/09/16/image_29112025_09_16_24_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396852954","1396853055","1396852950","1396853033","1396852937","1396852993"],"photo_ids_order":["1396852937","1396852950","1396852954","1396852993","1396853033","1396853055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f8546bd0d4c910a86da335efbbfca47.jpg","text":"TemporaryFile(/tmp/multipartBody2440329312142626707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404842913,"filename":"image_29112025_09_15_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/11/29/bbd95a1007f280bd36d955ecf9df2422.jpg","text":"TemporaryFile(/tmp/multipartBody4022744122218014919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404842913,"filename":"image_29112025_09_16_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/11/29/3c5b3c0728f597b6b29a3f8ad153a179.jpg","text":"TemporaryFile(/tmp/multipartBody4464625785766771212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404842913,"filename":"image_29112025_09_15_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/11/29/43c854e350bf22bb56858b02c34006d2.jpg","text":"TemporaryFile(/tmp/multipartBody7793049741755365341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404842913,"filename":"image_29112025_09_16_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3929f52b94fce29fa31bdeab19934a96.jpg","text":"TemporaryFile(/tmp/multipartBody1791956710522750294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404842913,"filename":"image_29112025_09_15_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4109c220f92822ef49c9b20b100ee32.jpg","text":"TemporaryFile(/tmp/multipartBody6229075784605189095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404842913,"filename":"image_29112025_09_16_04_10778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396852954","file1":"1396852950","file0":"1396852937","file4":"1396853033","file5":"1396853055","file3":"1396852993"},"map_files_photo_id_array":[{"photo_id":"1396853055","filename":"file5"},{"photo_id":"1396852954","filename":"file2"},{"photo_id":"1396853033","filename":"file4"},{"photo_id":"1396852950","filename":"file1"},{"photo_id":"1396852937","filename":"file0"},{"photo_id":"1396852993","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396852954":["hashtag1","hashtag2"]},{"1396853055":["hashtag1","hashtag2"]},{"1396852950":["hashtag1","hashtag2"]},{"1396853033":["hashtag1","hashtag2"]},{"1396852937":["hashtag1","hashtag2"]},{"1396852993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396852954, 1396853055, 1396852950, 1396853033, 1396852937, 1396852993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92983531951904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:27:03.350003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/16/image_29112025_09_16_34_10568.jpg', '/home/pi/Desktop/images/29112025/09/16/image_29112025_09_16_44_9683.jpg', '/home/pi/Desktop/images/29112025/09/16/image_29112025_09_16_53_9650.jpg', '/home/pi/Desktop/images/29112025/09/16/image_29112025_09_17_04_10721.jpg', '/home/pi/Desktop/images/29112025/09/17/image_29112025_09_17_14_9642.jpg', '/home/pi/Desktop/images/29112025/09/17/image_29112025_09_17_24_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/16/image_29112025_09_16_34_10568.jpg
/home/pi/Desktop/images/29112025/09/16/image_29112025_09_16_44_9683.jpg
/home/pi/Desktop/images/29112025/09/16/image_29112025_09_16_53_9650.jpg
/home/pi/Desktop/images/29112025/09/16/image_29112025_09_17_04_10721.jpg
/home/pi/Desktop/images/29112025/09/17/image_29112025_09_17_14_9642.jpg
/home/pi/Desktop/images/29112025/09/17/image_29112025_09_17_24_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":["1396853101","1396853244","1396853112","1396853103","1396853205","1396853152"],"photo_ids_order":["1396853101","1396853103","1396853112","1396853152","1396853205","1396853244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae327c0116d5709cb056696f0fa0e4ab.jpg","text":"TemporaryFile(/tmp/multipartBody5585207584452738753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404884057,"filename":"image_29112025_09_16_34_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d833353334573ce922ad5032d14a891.jpg","text":"TemporaryFile(/tmp/multipartBody1285432804323753968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404884057,"filename":"image_29112025_09_17_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/11/29/9d14a08f01061add093bded5402dffa3.jpg","text":"TemporaryFile(/tmp/multipartBody8473354442685078283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404884057,"filename":"image_29112025_09_16_53_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3635ddc28fb51ab334defee78caf5500.jpg","text":"TemporaryFile(/tmp/multipartBody4161430978630048515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404884057,"filename":"image_29112025_09_16_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/11/29/21a533039a1cd496d3a5dbe5b06977f4.jpg","text":"TemporaryFile(/tmp/multipartBody6631885023543637334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404884057,"filename":"image_29112025_09_17_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/11/29/a8c69cc15c1d961aacb18e78c942afa3.jpg","text":"TemporaryFile(/tmp/multipartBody4585083647833032617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404884057,"filename":"image_29112025_09_17_04_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396853112","file1":"1396853103","file0":"1396853101","file4":"1396853205","file5":"1396853244","file3":"1396853152"},"map_files_photo_id_array":[{"photo_id":"1396853244","filename":"file5"},{"photo_id":"1396853112","filename":"file2"},{"photo_id":"1396853205","filename":"file4"},{"photo_id":"1396853103","filename":"file1"},{"photo_id":"1396853101","filename":"file0"},{"photo_id":"1396853152","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396853101":["hashtag1","hashtag2"]},{"1396853244":["hashtag1","hashtag2"]},{"1396853112":["hashtag1","hashtag2"]},{"1396853103":["hashtag1","hashtag2"]},{"1396853205":["hashtag1","hashtag2"]},{"1396853152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396853101, 1396853244, 1396853112, 1396853103, 1396853205, 1396853152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38709235191345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:27:42.699023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_01_2625.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_04_3842.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_07_2653.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_10_2656.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_13_2807.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_16_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_01_2625.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_04_3842.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_07_2653.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_10_2656.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_13_2807.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_16_3709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396853320","1396853308","1396853437","1396853486","1396853387","1396853438"],"photo_ids_order":["1396853308","1396853320","1396853387","1396853437","1396853438","1396853486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0d3e93d8e361bc548644ed954a2c498.jpg","text":"TemporaryFile(/tmp/multipartBody3090059197191275404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404923818,"filename":"image_31102025_09_12_04_3842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d396e1fdf669f25d968a599c51333532.jpg","text":"TemporaryFile(/tmp/multipartBody5158106562892639484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404923818,"filename":"image_31102025_09_12_01_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a937f285353062c7c1108da0f3c03b7.jpg","text":"TemporaryFile(/tmp/multipartBody157978678036315793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404923818,"filename":"image_31102025_09_12_10_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a415dc4c1e6ba6b403006b47fd60c0a8.jpg","text":"TemporaryFile(/tmp/multipartBody3808257601471657082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404923818,"filename":"image_31102025_09_12_16_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0e7be489fbd7ae381995af11a2db16c.jpg","text":"TemporaryFile(/tmp/multipartBody2335088560621158584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404923818,"filename":"image_31102025_09_12_07_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0dc5de1e4f5ef4eec79334b8a542f88f.jpg","text":"TemporaryFile(/tmp/multipartBody3813476738154896477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404923818,"filename":"image_31102025_09_12_13_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396853387","file1":"1396853320","file0":"1396853308","file4":"1396853438","file5":"1396853486","file3":"1396853437"},"map_files_photo_id_array":[{"photo_id":"1396853486","filename":"file5"},{"photo_id":"1396853387","filename":"file2"},{"photo_id":"1396853438","filename":"file4"},{"photo_id":"1396853320","filename":"file1"},{"photo_id":"1396853308","filename":"file0"},{"photo_id":"1396853437","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396853320":["hashtag1","hashtag2"]},{"1396853308":["hashtag1","hashtag2"]},{"1396853437":["hashtag1","hashtag2"]},{"1396853486":["hashtag1","hashtag2"]},{"1396853387":["hashtag1","hashtag2"]},{"1396853438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396853320, 1396853308, 1396853437, 1396853486, 1396853387, 1396853438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92682671546936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:28:21.850203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/17/image_29112025_09_17_34_10653.jpg', '/home/pi/Desktop/images/29112025/09/17/image_29112025_09_17_44_9594.jpg', '/home/pi/Desktop/images/29112025/09/18/image_29112025_09_18_14_9574.jpg', '/home/pi/Desktop/images/29112025/09/18/image_29112025_09_18_24_10587.jpg', '/home/pi/Desktop/images/29112025/09/18/image_29112025_09_18_34_9616.jpg', '/home/pi/Desktop/images/29112025/09/18/image_29112025_09_18_44_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/17/image_29112025_09_17_34_10653.jpg
/home/pi/Desktop/images/29112025/09/17/image_29112025_09_17_44_9594.jpg
/home/pi/Desktop/images/29112025/09/18/image_29112025_09_18_14_9574.jpg
/home/pi/Desktop/images/29112025/09/18/image_29112025_09_18_24_10587.jpg
/home/pi/Desktop/images/29112025/09/18/image_29112025_09_18_34_9616.jpg
/home/pi/Desktop/images/29112025/09/18/image_29112025_09_18_44_9555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396853605","1396853608","1396853602","1396853595","1396853582","1396853599"],"photo_ids_order":["1396853582","1396853595","1396853599","1396853602","1396853605","1396853608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49b690c05551f835bc752b13fca1d8b4.jpg","text":"TemporaryFile(/tmp/multipartBody3231252872885531096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404962504,"filename":"image_29112025_09_18_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff7f0e99d2497cf86cb095a9388a18c0.jpg","text":"TemporaryFile(/tmp/multipartBody3533897105749569091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404962504,"filename":"image_29112025_09_18_44_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75dfc9262f04f11b1af23a0c0ca9b7d7.jpg","text":"TemporaryFile(/tmp/multipartBody4387904753501027158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404962504,"filename":"image_29112025_09_18_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/11/29/0ba9f096dc5ff5ac5c6173aed75f8710.jpg","text":"TemporaryFile(/tmp/multipartBody469365679722942897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404962504,"filename":"image_29112025_09_17_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/11/29/a293b9ca07054e2e35bb80ff9270b07d.jpg","text":"TemporaryFile(/tmp/multipartBody1364344200519267116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404962504,"filename":"image_29112025_09_17_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1746d1fce6e8b56d24bdfe2cb1885c8b.jpg","text":"TemporaryFile(/tmp/multipartBody1653973196901425047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764404962504,"filename":"image_29112025_09_18_14_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396853599","file1":"1396853595","file0":"1396853582","file4":"1396853605","file5":"1396853608","file3":"1396853602"},"map_files_photo_id_array":[{"photo_id":"1396853608","filename":"file5"},{"photo_id":"1396853599","filename":"file2"},{"photo_id":"1396853605","filename":"file4"},{"photo_id":"1396853595","filename":"file1"},{"photo_id":"1396853582","filename":"file0"},{"photo_id":"1396853602","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396853605":["hashtag1","hashtag2"]},{"1396853608":["hashtag1","hashtag2"]},{"1396853602":["hashtag1","hashtag2"]},{"1396853595":["hashtag1","hashtag2"]},{"1396853582":["hashtag1","hashtag2"]},{"1396853599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396853605, 1396853608, 1396853602, 1396853595, 1396853582, 1396853599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19903802871704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:29:03.229074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/18/image_29112025_09_18_54_10610.jpg', '/home/pi/Desktop/images/29112025/09/18/image_29112025_09_19_04_9754.jpg', '/home/pi/Desktop/images/29112025/09/19/image_29112025_09_19_14_9669.jpg', '/home/pi/Desktop/images/29112025/09/19/image_29112025_09_19_24_10651.jpg', '/home/pi/Desktop/images/29112025/09/19/image_29112025_09_19_34_9585.jpg', '/home/pi/Desktop/images/29112025/09/19/image_29112025_09_19_44_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/18/image_29112025_09_18_54_10610.jpg
/home/pi/Desktop/images/29112025/09/18/image_29112025_09_19_04_9754.jpg
/home/pi/Desktop/images/29112025/09/19/image_29112025_09_19_14_9669.jpg
/home/pi/Desktop/images/29112025/09/19/image_29112025_09_19_24_10651.jpg
/home/pi/Desktop/images/29112025/09/19/image_29112025_09_19_34_9585.jpg
/home/pi/Desktop/images/29112025/09/19/image_29112025_09_19_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":["1396853611","1396853664","1396853700","1396853718","1396853630","1396853612"],"photo_ids_order":["1396853611","1396853612","1396853630","1396853664","1396853700","1396853718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/feddb37eb86a3b1191dc6d3322c39215.jpg","text":"TemporaryFile(/tmp/multipartBody6698779916431420073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405004011,"filename":"image_29112025_09_18_54_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd3bb4eafbbe52a9638bfc11239db7c4.jpg","text":"TemporaryFile(/tmp/multipartBody589452364547305322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405004011,"filename":"image_29112025_09_19_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d285db8656a9cf73ed429ebabdd405bb.jpg","text":"TemporaryFile(/tmp/multipartBody7868340108180318591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405004011,"filename":"image_29112025_09_19_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/11/29/1204beb2dd85c77f1be8b474876bb6f3.jpg","text":"TemporaryFile(/tmp/multipartBody4200237784978143797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405004011,"filename":"image_29112025_09_19_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/11/29/c7f4f96f4d7b0b1e024dc0f88010f500.jpg","text":"TemporaryFile(/tmp/multipartBody2964574601849169817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405004011,"filename":"image_29112025_09_19_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/294615136ced0dda97927654d70a7529.jpg","text":"TemporaryFile(/tmp/multipartBody324397766889630266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405004011,"filename":"image_29112025_09_19_04_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396853630","file1":"1396853612","file0":"1396853611","file4":"1396853700","file5":"1396853718","file3":"1396853664"},"map_files_photo_id_array":[{"photo_id":"1396853718","filename":"file5"},{"photo_id":"1396853630","filename":"file2"},{"photo_id":"1396853700","filename":"file4"},{"photo_id":"1396853612","filename":"file1"},{"photo_id":"1396853611","filename":"file0"},{"photo_id":"1396853664","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396853611":["hashtag1","hashtag2"]},{"1396853664":["hashtag1","hashtag2"]},{"1396853700":["hashtag1","hashtag2"]},{"1396853718":["hashtag1","hashtag2"]},{"1396853630":["hashtag1","hashtag2"]},{"1396853612":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396853611, 1396853664, 1396853700, 1396853718, 1396853630, 1396853612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.815762519836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:29:42.048570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_19_2740.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_22_2626.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_25_3656.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_28_2840.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_31_2590.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_35_4641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_19_2740.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_22_2626.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_25_3656.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_28_2840.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_31_2590.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_35_4641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396853845","1396853796","1396853844","1396853775","1396853823","1396853797"],"photo_ids_order":["1396853775","1396853796","1396853797","1396853823","1396853844","1396853845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2193b70eee2518466142228bab85f052.jpg","text":"TemporaryFile(/tmp/multipartBody6514476069474161340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405043188,"filename":"image_31102025_09_12_35_4641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e88fa1e0fe3860a1411598f910822229.jpg","text":"TemporaryFile(/tmp/multipartBody919722651160125256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405043188,"filename":"image_31102025_09_12_22_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab8fec5f7ca0fb38377558dfe60f99b9.jpg","text":"TemporaryFile(/tmp/multipartBody2609625769983683135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405043188,"filename":"image_31102025_09_12_31_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a098ff62f22204e4b4871c4a2171c25e.jpg","text":"TemporaryFile(/tmp/multipartBody541803052197154383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405043188,"filename":"image_31102025_09_12_19_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ae74a7749b3673026da2848865516aa.jpg","text":"TemporaryFile(/tmp/multipartBody9041138685275934139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405043188,"filename":"image_31102025_09_12_28_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/939fb99c2048924357f2929cc3fcfef8.jpg","text":"TemporaryFile(/tmp/multipartBody8795457799350965462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405043188,"filename":"image_31102025_09_12_25_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396853797","file1":"1396853796","file0":"1396853775","file4":"1396853844","file5":"1396853845","file3":"1396853823"},"map_files_photo_id_array":[{"photo_id":"1396853845","filename":"file5"},{"photo_id":"1396853797","filename":"file2"},{"photo_id":"1396853844","filename":"file4"},{"photo_id":"1396853796","filename":"file1"},{"photo_id":"1396853775","filename":"file0"},{"photo_id":"1396853823","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396853845":["hashtag1","hashtag2"]},{"1396853796":["hashtag1","hashtag2"]},{"1396853844":["hashtag1","hashtag2"]},{"1396853775":["hashtag1","hashtag2"]},{"1396853823":["hashtag1","hashtag2"]},{"1396853797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396853845, 1396853796, 1396853844, 1396853775, 1396853823, 1396853797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73811912536621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:30:22.248794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/19/image_29112025_09_19_54_10615.jpg', '/home/pi/Desktop/images/29112025/09/19/image_29112025_09_20_04_9624.jpg', '/home/pi/Desktop/images/29112025/09/20/image_29112025_09_20_14_10587.jpg', '/home/pi/Desktop/images/29112025/09/20/image_29112025_09_20_24_9640.jpg', '/home/pi/Desktop/images/29112025/09/20/image_29112025_09_20_34_9635.jpg', '/home/pi/Desktop/images/29112025/09/20/image_29112025_09_20_54_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/19/image_29112025_09_19_54_10615.jpg
/home/pi/Desktop/images/29112025/09/19/image_29112025_09_20_04_9624.jpg
/home/pi/Desktop/images/29112025/09/20/image_29112025_09_20_14_10587.jpg
/home/pi/Desktop/images/29112025/09/20/image_29112025_09_20_24_9640.jpg
/home/pi/Desktop/images/29112025/09/20/image_29112025_09_20_34_9635.jpg
/home/pi/Desktop/images/29112025/09/20/image_29112025_09_20_54_9536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396853993","1396853918","1396853915","1396853971","1396853932","1396853848"],"photo_ids_order":["1396853848","1396853915","1396853918","1396853932","1396853971","1396853993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8368b9e780293b7e23a667f420d37736.jpg","text":"TemporaryFile(/tmp/multipartBody5471763731107095715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405082883,"filename":"image_29112025_09_20_54_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/446746c8c7906b026211de66f1b7573f.jpg","text":"TemporaryFile(/tmp/multipartBody4242068002205858136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405082883,"filename":"image_29112025_09_20_14_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4187bf43e37a53b14888a3fa975994a9.jpg","text":"TemporaryFile(/tmp/multipartBody5861247698875508998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405082883,"filename":"image_29112025_09_20_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6b49f52aa3c476ad7f6674a948b56aa.jpg","text":"TemporaryFile(/tmp/multipartBody3434118505446246133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405082883,"filename":"image_29112025_09_20_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/852929e456faff52972b4dedb332a675.jpg","text":"TemporaryFile(/tmp/multipartBody1025263248349801413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405082883,"filename":"image_29112025_09_20_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/11/29/e29717576997ca570e228158011314b6.jpg","text":"TemporaryFile(/tmp/multipartBody2933157988341676648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405082883,"filename":"image_29112025_09_19_54_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396853918","file1":"1396853915","file0":"1396853848","file4":"1396853971","file5":"1396853993","file3":"1396853932"},"map_files_photo_id_array":[{"photo_id":"1396853993","filename":"file5"},{"photo_id":"1396853918","filename":"file2"},{"photo_id":"1396853971","filename":"file4"},{"photo_id":"1396853915","filename":"file1"},{"photo_id":"1396853848","filename":"file0"},{"photo_id":"1396853932","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396853993":["hashtag1","hashtag2"]},{"1396853918":["hashtag1","hashtag2"]},{"1396853915":["hashtag1","hashtag2"]},{"1396853971":["hashtag1","hashtag2"]},{"1396853932":["hashtag1","hashtag2"]},{"1396853848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396853993, 1396853918, 1396853915, 1396853971, 1396853932, 1396853848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.162272691726685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:31:02.973077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/20/image_29112025_09_21_04_9874.jpg', '/home/pi/Desktop/images/29112025/09/21/image_29112025_09_21_14_10646.jpg', '/home/pi/Desktop/images/29112025/09/21/image_29112025_09_21_24_9631.jpg', '/home/pi/Desktop/images/29112025/09/21/image_29112025_09_21_33_9634.jpg', '/home/pi/Desktop/images/29112025/09/21/image_29112025_09_21_44_10634.jpg', '/home/pi/Desktop/images/29112025/09/21/image_29112025_09_21_54_9512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/20/image_29112025_09_21_04_9874.jpg
/home/pi/Desktop/images/29112025/09/21/image_29112025_09_21_14_10646.jpg
/home/pi/Desktop/images/29112025/09/21/image_29112025_09_21_24_9631.jpg
/home/pi/Desktop/images/29112025/09/21/image_29112025_09_21_33_9634.jpg
/home/pi/Desktop/images/29112025/09/21/image_29112025_09_21_44_10634.jpg
/home/pi/Desktop/images/29112025/09/21/image_29112025_09_21_54_9512.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396854138","1396854140","1396854143","1396854122","1396854113","1396854100"],"photo_ids_order":["1396854100","1396854113","1396854122","1396854138","1396854140","1396854143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba7b77cb84ccffe70f52a24dd58c5ccd.jpg","text":"TemporaryFile(/tmp/multipartBody5379782771147825218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405123762,"filename":"image_29112025_09_21_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/11/29/b93a89863bd757ffad82f367f7ac734c.jpg","text":"TemporaryFile(/tmp/multipartBody5228618405937718385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405123762,"filename":"image_29112025_09_21_44_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/abc0b203e770606a9e8834f894e4c2e4.jpg","text":"TemporaryFile(/tmp/multipartBody4372022031078607254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405123762,"filename":"image_29112025_09_21_54_9512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be59a1df5b41d742a15b8d6088281ac3.jpg","text":"TemporaryFile(/tmp/multipartBody6852149919014197153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405123762,"filename":"image_29112025_09_21_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54b89992b356eac4fb3b391e488fb6fc.jpg","text":"TemporaryFile(/tmp/multipartBody2776001100216650720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405123762,"filename":"image_29112025_09_21_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/11/29/e60738d55ea33821621366eb4944742a.jpg","text":"TemporaryFile(/tmp/multipartBody7689642209169833977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405123762,"filename":"image_29112025_09_21_04_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854122","file1":"1396854113","file0":"1396854100","file4":"1396854140","file5":"1396854143","file3":"1396854138"},"map_files_photo_id_array":[{"photo_id":"1396854143","filename":"file5"},{"photo_id":"1396854122","filename":"file2"},{"photo_id":"1396854140","filename":"file4"},{"photo_id":"1396854113","filename":"file1"},{"photo_id":"1396854100","filename":"file0"},{"photo_id":"1396854138","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396854138":["hashtag1","hashtag2"]},{"1396854140":["hashtag1","hashtag2"]},{"1396854143":["hashtag1","hashtag2"]},{"1396854122":["hashtag1","hashtag2"]},{"1396854113":["hashtag1","hashtag2"]},{"1396854100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396854138, 1396854140, 1396854143, 1396854122, 1396854113, 1396854100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31775951385498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:31:42.353115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_37_1799.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_42_4826.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_44_1715.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_45_1700.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_49_3880.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_52_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/09/12/image_31102025_09_12_37_1799.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_42_4826.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_44_1715.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_45_1700.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_49_3880.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_52_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":["1396854156","1396854153","1396854155","1396854158","1396854151","1396854154"],"photo_ids_order":["1396854151","1396854153","1396854154","1396854155","1396854156","1396854158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/134ebe64da18ad0dfec4d29a01f7855e.jpg","text":"TemporaryFile(/tmp/multipartBody4376812310743467125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405163498,"filename":"image_31102025_09_12_49_3880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/935077b0b698296e9f2667e3b57c4261.jpg","text":"TemporaryFile(/tmp/multipartBody7523553268857655073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405163498,"filename":"image_31102025_09_12_42_4826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/828183730339e4a90188c481c64417c1.jpg","text":"TemporaryFile(/tmp/multipartBody1760976662410133095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405163498,"filename":"image_31102025_09_12_45_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cdb3d3fbb0aa86e86069e5b372f0d6ef.jpg","text":"TemporaryFile(/tmp/multipartBody4737865170691684824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405163498,"filename":"image_31102025_09_12_52_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ae1a5e7c97d810141e2ccec8c1ba893.jpg","text":"TemporaryFile(/tmp/multipartBody6316814049142197133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405163498,"filename":"image_31102025_09_12_37_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a518a80475a62f86ae2fc69011ea034.jpg","text":"TemporaryFile(/tmp/multipartBody2278918120067518669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405163498,"filename":"image_31102025_09_12_44_1715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854154","file1":"1396854153","file0":"1396854151","file4":"1396854156","file5":"1396854158","file3":"1396854155"},"map_files_photo_id_array":[{"photo_id":"1396854158","filename":"file5"},{"photo_id":"1396854154","filename":"file2"},{"photo_id":"1396854156","filename":"file4"},{"photo_id":"1396854153","filename":"file1"},{"photo_id":"1396854151","filename":"file0"},{"photo_id":"1396854155","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396854156":["hashtag1","hashtag2"]},{"1396854153":["hashtag1","hashtag2"]},{"1396854155":["hashtag1","hashtag2"]},{"1396854158":["hashtag1","hashtag2"]},{"1396854151":["hashtag1","hashtag2"]},{"1396854154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396854156, 1396854153, 1396854155, 1396854158, 1396854151, 1396854154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7160587310791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:32:22.652762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/21/image_29112025_09_22_04_10707.jpg', '/home/pi/Desktop/images/29112025/09/22/image_29112025_09_22_14_9543.jpg', '/home/pi/Desktop/images/29112025/09/22/image_29112025_09_22_23_9643.jpg', '/home/pi/Desktop/images/29112025/09/22/image_29112025_09_22_44_9820.jpg', '/home/pi/Desktop/images/29112025/09/22/image_29112025_09_22_54_9789.jpg', '/home/pi/Desktop/images/29112025/09/23/image_29112025_09_23_14_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/21/image_29112025_09_22_04_10707.jpg
/home/pi/Desktop/images/29112025/09/22/image_29112025_09_22_14_9543.jpg
/home/pi/Desktop/images/29112025/09/22/image_29112025_09_22_23_9643.jpg
/home/pi/Desktop/images/29112025/09/22/image_29112025_09_22_44_9820.jpg
/home/pi/Desktop/images/29112025/09/22/image_29112025_09_22_54_9789.jpg
/home/pi/Desktop/images/29112025/09/23/image_29112025_09_23_14_9672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396854177","1396854175","1396854163","1396854172","1396854166","1396854169"],"photo_ids_order":["1396854163","1396854166","1396854169","1396854172","1396854175","1396854177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77e5a1d037c41c7f25dbc2b1021759b2.jpg","text":"TemporaryFile(/tmp/multipartBody7628209801063321428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405203270,"filename":"image_29112025_09_23_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4fc28981744aa4b73f890af72a13fb1.jpg","text":"TemporaryFile(/tmp/multipartBody3986994401472301023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405203270,"filename":"image_29112025_09_22_54_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e53dc5a9e8b98b28aafad1f4e69f20b.jpg","text":"TemporaryFile(/tmp/multipartBody4098852182996656895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405203270,"filename":"image_29112025_09_22_04_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe8f386452bcd6f752ea3053a1de927e.jpg","text":"TemporaryFile(/tmp/multipartBody9013293911004509672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405203270,"filename":"image_29112025_09_22_44_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8822b517626a30e6333bb711aa6ddbb.jpg","text":"TemporaryFile(/tmp/multipartBody4932789978381274087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405203270,"filename":"image_29112025_09_22_14_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5cd2aa72d9f7de474c0890e5572993a6.jpg","text":"TemporaryFile(/tmp/multipartBody4905829646839071400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405203270,"filename":"image_29112025_09_22_23_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854169","file1":"1396854166","file0":"1396854163","file4":"1396854175","file5":"1396854177","file3":"1396854172"},"map_files_photo_id_array":[{"photo_id":"1396854177","filename":"file5"},{"photo_id":"1396854169","filename":"file2"},{"photo_id":"1396854175","filename":"file4"},{"photo_id":"1396854166","filename":"file1"},{"photo_id":"1396854163","filename":"file0"},{"photo_id":"1396854172","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396854177":["hashtag1","hashtag2"]},{"1396854175":["hashtag1","hashtag2"]},{"1396854163":["hashtag1","hashtag2"]},{"1396854172":["hashtag1","hashtag2"]},{"1396854166":["hashtag1","hashtag2"]},{"1396854169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396854177, 1396854175, 1396854163, 1396854172, 1396854166, 1396854169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.543293952941895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:33:03.488744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/23/image_29112025_09_23_24_9623.jpg', '/home/pi/Desktop/images/29112025/09/23/image_29112025_09_23_34_10649.jpg', '/home/pi/Desktop/images/29112025/09/23/image_29112025_09_23_44_9560.jpg', '/home/pi/Desktop/images/29112025/09/23/image_29112025_09_24_04_9563.jpg', '/home/pi/Desktop/images/29112025/09/24/image_29112025_09_24_13_9522.jpg', '/home/pi/Desktop/images/29112025/09/24/image_29112025_09_24_24_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/23/image_29112025_09_23_24_9623.jpg
/home/pi/Desktop/images/29112025/09/23/image_29112025_09_23_34_10649.jpg
/home/pi/Desktop/images/29112025/09/23/image_29112025_09_23_44_9560.jpg
/home/pi/Desktop/images/29112025/09/23/image_29112025_09_24_04_9563.jpg
/home/pi/Desktop/images/29112025/09/24/image_29112025_09_24_13_9522.jpg
/home/pi/Desktop/images/29112025/09/24/image_29112025_09_24_24_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396854180","1396854182","1396854185","1396854179","1396854178","1396854187"],"photo_ids_order":["1396854178","1396854179","1396854180","1396854182","1396854185","1396854187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6776afdd77165d2b61a2e1e340fe3f75.jpg","text":"TemporaryFile(/tmp/multipartBody3100881271873114228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405244227,"filename":"image_29112025_09_23_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/11/29/d2b0df3002f4d1e04cf92668dfa4d0cc.jpg","text":"TemporaryFile(/tmp/multipartBody2498991089476791854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405244227,"filename":"image_29112025_09_24_04_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d66d4e873c1f6cbf0e349e148345b1c.jpg","text":"TemporaryFile(/tmp/multipartBody7766407955583586678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405244227,"filename":"image_29112025_09_24_13_9522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4dbfb3f9bec8b3388761bbab72b97996.jpg","text":"TemporaryFile(/tmp/multipartBody2125209097027601264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405244227,"filename":"image_29112025_09_23_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b09afdb889db2fec67282ced9b0c8369.jpg","text":"TemporaryFile(/tmp/multipartBody5901178026522155310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405244227,"filename":"image_29112025_09_23_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/11/29/a143270bb65071a823a9db2bf393ef4b.jpg","text":"TemporaryFile(/tmp/multipartBody5125612262833527164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405244227,"filename":"image_29112025_09_24_24_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854180","file1":"1396854179","file0":"1396854178","file4":"1396854185","file5":"1396854187","file3":"1396854182"},"map_files_photo_id_array":[{"photo_id":"1396854187","filename":"file5"},{"photo_id":"1396854180","filename":"file2"},{"photo_id":"1396854185","filename":"file4"},{"photo_id":"1396854179","filename":"file1"},{"photo_id":"1396854178","filename":"file0"},{"photo_id":"1396854182","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396854180":["hashtag1","hashtag2"]},{"1396854182":["hashtag1","hashtag2"]},{"1396854185":["hashtag1","hashtag2"]},{"1396854179":["hashtag1","hashtag2"]},{"1396854178":["hashtag1","hashtag2"]},{"1396854187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396854180, 1396854182, 1396854185, 1396854179, 1396854178, 1396854187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.173500061035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:33:42.736832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_55_2592.jpg', '/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_58_3589.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_01_2655.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_04_3574.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_07_2651.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_10_3217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_55_2592.jpg
/home/pi/Desktop/images/31102025/09/12/image_31102025_09_12_58_3589.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_01_2655.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_04_3574.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_07_2651.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_10_3217.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396854372","1396854205","1396854243","1396854298","1396854478","1396854415"],"photo_ids_order":["1396854205","1396854243","1396854298","1396854372","1396854415","1396854478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6325ae5d58535c9f815cd39171e14e78.jpg","text":"TemporaryFile(/tmp/multipartBody8096565546177253409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405283875,"filename":"image_31102025_09_13_04_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95b775b0d3d84d22cd9a8a01db7c576f.jpg","text":"TemporaryFile(/tmp/multipartBody330618708099437373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405283875,"filename":"image_31102025_09_12_55_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51a78c664c30f634536ad0d5791f5e2d.jpg","text":"TemporaryFile(/tmp/multipartBody7044039600420027275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405283875,"filename":"image_31102025_09_12_58_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc49377f37fddc201ae4a2b68ff32cb0.jpg","text":"TemporaryFile(/tmp/multipartBody752166753732866044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405283875,"filename":"image_31102025_09_13_01_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/142daa578ca6e6c72f38c0dd2e27c90e.jpg","text":"TemporaryFile(/tmp/multipartBody8911115117986407751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405283875,"filename":"image_31102025_09_13_10_3217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a3221af9d519e22e2744748f04c3fa9.jpg","text":"TemporaryFile(/tmp/multipartBody6606879146928002646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405283875,"filename":"image_31102025_09_13_07_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854298","file1":"1396854243","file0":"1396854205","file4":"1396854415","file5":"1396854478","file3":"1396854372"},"map_files_photo_id_array":[{"photo_id":"1396854478","filename":"file5"},{"photo_id":"1396854298","filename":"file2"},{"photo_id":"1396854415","filename":"file4"},{"photo_id":"1396854243","filename":"file1"},{"photo_id":"1396854205","filename":"file0"},{"photo_id":"1396854372","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396854372":["hashtag1","hashtag2"]},{"1396854205":["hashtag1","hashtag2"]},{"1396854243":["hashtag1","hashtag2"]},{"1396854298":["hashtag1","hashtag2"]},{"1396854478":["hashtag1","hashtag2"]},{"1396854415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396854372, 1396854205, 1396854243, 1396854298, 1396854478, 1396854415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68704032897949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:34:21.970367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/24/image_29112025_09_24_34_9606.jpg', '/home/pi/Desktop/images/29112025/09/24/image_29112025_09_24_54_9600.jpg', '/home/pi/Desktop/images/29112025/09/24/image_29112025_09_25_03_9581.jpg', '/home/pi/Desktop/images/29112025/09/25/image_29112025_09_25_14_10624.jpg', '/home/pi/Desktop/images/29112025/09/25/image_29112025_09_25_24_9679.jpg', '/home/pi/Desktop/images/29112025/09/25/image_29112025_09_25_34_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/24/image_29112025_09_24_34_9606.jpg
/home/pi/Desktop/images/29112025/09/24/image_29112025_09_24_54_9600.jpg
/home/pi/Desktop/images/29112025/09/24/image_29112025_09_25_03_9581.jpg
/home/pi/Desktop/images/29112025/09/25/image_29112025_09_25_14_10624.jpg
/home/pi/Desktop/images/29112025/09/25/image_29112025_09_25_24_9679.jpg
/home/pi/Desktop/images/29112025/09/25/image_29112025_09_25_34_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396854633","1396854647","1396854574","1396854535","1396854610","1396854607"],"photo_ids_order":["1396854535","1396854574","1396854607","1396854610","1396854633","1396854647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5e002ea0bcbbe5a2deaf34762aaf921.jpg","text":"TemporaryFile(/tmp/multipartBody1085473530699033345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405322606,"filename":"image_29112025_09_25_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/11/29/99f30e68200eb19f2c88822a12efb0e7.jpg","text":"TemporaryFile(/tmp/multipartBody6141920402135035613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405322606,"filename":"image_29112025_09_25_34_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa7ecd789e1d6ae848513c12c2feed95.jpg","text":"TemporaryFile(/tmp/multipartBody8113437163609676480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405322606,"filename":"image_29112025_09_24_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc8a287c4cdbdc5c861288986cf462cf.jpg","text":"TemporaryFile(/tmp/multipartBody5811404161996869517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405322606,"filename":"image_29112025_09_24_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/11/29/9f030fee71fac0b58ae2afe7eae32795.jpg","text":"TemporaryFile(/tmp/multipartBody2899587469263997436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405322606,"filename":"image_29112025_09_25_14_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70e227b4bae0ec49f7316bffc63586e7.jpg","text":"TemporaryFile(/tmp/multipartBody2183427350862873389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405322606,"filename":"image_29112025_09_25_03_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854607","file1":"1396854574","file0":"1396854535","file4":"1396854633","file5":"1396854647","file3":"1396854610"},"map_files_photo_id_array":[{"photo_id":"1396854647","filename":"file5"},{"photo_id":"1396854607","filename":"file2"},{"photo_id":"1396854633","filename":"file4"},{"photo_id":"1396854574","filename":"file1"},{"photo_id":"1396854535","filename":"file0"},{"photo_id":"1396854610","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396854633":["hashtag1","hashtag2"]},{"1396854647":["hashtag1","hashtag2"]},{"1396854574":["hashtag1","hashtag2"]},{"1396854535":["hashtag1","hashtag2"]},{"1396854610":["hashtag1","hashtag2"]},{"1396854607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396854633, 1396854647, 1396854574, 1396854535, 1396854610, 1396854607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13193607330322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:35:03.425404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/25/image_29112025_09_25_44_9582.jpg', '/home/pi/Desktop/images/29112025/09/25/image_29112025_09_25_54_9687.jpg', '/home/pi/Desktop/images/29112025/09/25/image_29112025_09_26_04_10548.jpg', '/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_14_9756.jpg', '/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_24_9579.jpg', '/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_34_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/25/image_29112025_09_25_44_9582.jpg
/home/pi/Desktop/images/29112025/09/25/image_29112025_09_25_54_9687.jpg
/home/pi/Desktop/images/29112025/09/25/image_29112025_09_26_04_10548.jpg
/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_14_9756.jpg
/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_24_9579.jpg
/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_34_10551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396854708","1396854710","1396854713","1396854707","1396854709","1396854774"],"photo_ids_order":["1396854707","1396854708","1396854709","1396854710","1396854713","1396854774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21f17d1e900d8c003cddcbc145f148b7.jpg","text":"TemporaryFile(/tmp/multipartBody614917486992687389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405364152,"filename":"image_29112025_09_25_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/11/29/1297017852b7faad7f1684ad610ff604.jpg","text":"TemporaryFile(/tmp/multipartBody1918390840421006577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405364152,"filename":"image_29112025_09_26_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/11/29/c2946c5a150e864972c2d697d661a294.jpg","text":"TemporaryFile(/tmp/multipartBody9069563362629960241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405364152,"filename":"image_29112025_09_26_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/11/29/1b48ff928ad69c70cb35144855e3c805.jpg","text":"TemporaryFile(/tmp/multipartBody5295589346803229670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405364152,"filename":"image_29112025_09_25_44_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62c97deffdfaa39ddce950c488d31ff0.jpg","text":"TemporaryFile(/tmp/multipartBody6580578096287601317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405364152,"filename":"image_29112025_09_26_04_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35bbd9c0fdafb7e4ec63630b051b68a1.jpg","text":"TemporaryFile(/tmp/multipartBody3606837400473364555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405364152,"filename":"image_29112025_09_26_34_10551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854709","file1":"1396854708","file0":"1396854707","file4":"1396854713","file5":"1396854774","file3":"1396854710"},"map_files_photo_id_array":[{"photo_id":"1396854774","filename":"file5"},{"photo_id":"1396854709","filename":"file2"},{"photo_id":"1396854713","filename":"file4"},{"photo_id":"1396854708","filename":"file1"},{"photo_id":"1396854707","filename":"file0"},{"photo_id":"1396854710","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396854708":["hashtag1","hashtag2"]},{"1396854710":["hashtag1","hashtag2"]},{"1396854713":["hashtag1","hashtag2"]},{"1396854707":["hashtag1","hashtag2"]},{"1396854709":["hashtag1","hashtag2"]},{"1396854774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396854708, 1396854710, 1396854713, 1396854707, 1396854709, 1396854774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09208369255066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:35:42.873637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_13_2808.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_16_2611.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_19_3546.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_22_2793.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_25_2924.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_28_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/09/13/image_31102025_09_13_13_2808.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_16_2611.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_19_3546.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_22_2793.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_25_2924.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_28_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396854864","1396854852","1396854866","1396854854","1396854865","1396854874"],"photo_ids_order":["1396854852","1396854854","1396854864","1396854865","1396854866","1396854874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ae837663ffc4b9a423c60e25d952921.jpg","text":"TemporaryFile(/tmp/multipartBody5271538443221830638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405403983,"filename":"image_31102025_09_13_19_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3ab748a65905fc122445320d8af482f.jpg","text":"TemporaryFile(/tmp/multipartBody7977031493386883841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405403983,"filename":"image_31102025_09_13_13_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59ef986ead3b4d0549ed5f1555b768a6.jpg","text":"TemporaryFile(/tmp/multipartBody2454635598815443517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405403983,"filename":"image_31102025_09_13_25_2924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96dec867ab4e6648573d72c4f50e5234.jpg","text":"TemporaryFile(/tmp/multipartBody1773295599289088585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405403983,"filename":"image_31102025_09_13_16_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1eb3a3242e120f6b9c03d35ff9d9fbd0.jpg","text":"TemporaryFile(/tmp/multipartBody4796671004281157261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405403983,"filename":"image_31102025_09_13_22_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf16c092e4bc694a6fdcf9e3deddcf30.jpg","text":"TemporaryFile(/tmp/multipartBody5372952803656263799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405403983,"filename":"image_31102025_09_13_28_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854864","file1":"1396854854","file0":"1396854852","file4":"1396854866","file5":"1396854874","file3":"1396854865"},"map_files_photo_id_array":[{"photo_id":"1396854874","filename":"file5"},{"photo_id":"1396854864","filename":"file2"},{"photo_id":"1396854866","filename":"file4"},{"photo_id":"1396854854","filename":"file1"},{"photo_id":"1396854852","filename":"file0"},{"photo_id":"1396854865","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396854864":["hashtag1","hashtag2"]},{"1396854852":["hashtag1","hashtag2"]},{"1396854866":["hashtag1","hashtag2"]},{"1396854854":["hashtag1","hashtag2"]},{"1396854865":["hashtag1","hashtag2"]},{"1396854874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396854864, 1396854852, 1396854866, 1396854854, 1396854865, 1396854874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84586453437805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:36:22.048640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_44_9729.jpg', '/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_53_9631.jpg', '/home/pi/Desktop/images/29112025/09/26/image_29112025_09_27_04_10497.jpg', '/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_14_9674.jpg', '/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_24_10581.jpg', '/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_34_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_44_9729.jpg
/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_53_9631.jpg
/home/pi/Desktop/images/29112025/09/26/image_29112025_09_27_04_10497.jpg
/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_14_9674.jpg
/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_24_10581.jpg
/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_34_9631.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5453777313232422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 09:36:32.054456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_40_2588.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_44_3561.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_46_2605.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_49_2679.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_53_3628.jpg', '/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_55_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_40_2588.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_44_3561.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_46_2605.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_49_2679.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_53_3628.jpg
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_55_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396854897","1396854899","1396854893","1396854889","1396854898","1396854885"],"photo_ids_order":["1396854885","1396854889","1396854893","1396854897","1396854898","1396854899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32364011d64d363635bcae85e5bcf3b3.jpg","text":"TemporaryFile(/tmp/multipartBody6944458676975838991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405454279,"filename":"image_25112025_18_03_49_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c655f4d964735ced5bfda23103986cb.jpg","text":"TemporaryFile(/tmp/multipartBody6979114771579028436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405454279,"filename":"image_25112025_18_03_55_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a96229c4f1959f671a4c53ea908c4857.jpg","text":"TemporaryFile(/tmp/multipartBody2135835486474078069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405454279,"filename":"image_25112025_18_03_46_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b141969cdcd15910330aaff161a45ed9.jpg","text":"TemporaryFile(/tmp/multipartBody157835373914971426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405454279,"filename":"image_25112025_18_03_44_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1776de4add7d9a072c43e3275c8b1e8.jpg","text":"TemporaryFile(/tmp/multipartBody3313082335182618187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405454279,"filename":"image_25112025_18_03_53_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2cf9cb4b6f96f5e32d3c23512d050921.jpg","text":"TemporaryFile(/tmp/multipartBody468909921674105235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405454279,"filename":"image_25112025_18_03_40_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854893","file1":"1396854889","file0":"1396854885","file4":"1396854898","file5":"1396854899","file3":"1396854897"},"map_files_photo_id_array":[{"photo_id":"1396854899","filename":"file5"},{"photo_id":"1396854893","filename":"file2"},{"photo_id":"1396854898","filename":"file4"},{"photo_id":"1396854889","filename":"file1"},{"photo_id":"1396854885","filename":"file0"},{"photo_id":"1396854897","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396854897":["hashtag1","hashtag2"]},{"1396854899":["hashtag1","hashtag2"]},{"1396854893":["hashtag1","hashtag2"]},{"1396854889":["hashtag1","hashtag2"]},{"1396854898":["hashtag1","hashtag2"]},{"1396854885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396854897, 1396854899, 1396854893, 1396854889, 1396854898, 1396854885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21500301361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 09:37:12.267793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_59_3617.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_02_2674.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_04_2594.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_08_3712.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_11_2754.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_13_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/03/image_25112025_18_03_59_3617.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_02_2674.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_04_2594.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_08_3712.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_11_2754.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_13_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396854900","1396854923","1396854902","1396854911","1396854905","1396854908"],"photo_ids_order":["1396854900","1396854902","1396854905","1396854908","1396854911","1396854923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ae309780791b6c40dd37e85210f38bf.jpg","text":"TemporaryFile(/tmp/multipartBody5238032946925228671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405494454,"filename":"image_25112025_18_03_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/11/29/ee53637a976b831127da2fff4484fa40.jpg","text":"TemporaryFile(/tmp/multipartBody5397451132905023850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405494454,"filename":"image_25112025_18_04_13_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3f6c815ce0e9e1d8ef34a596b281fac.jpg","text":"TemporaryFile(/tmp/multipartBody1592156061976269688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405494454,"filename":"image_25112025_18_04_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/11/29/c1e4f8d1b128b083fde3a3c1b9b73e2a.jpg","text":"TemporaryFile(/tmp/multipartBody3161104513660792256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405494454,"filename":"image_25112025_18_04_11_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b53e32f78a300d37bd8857856769d35.jpg","text":"TemporaryFile(/tmp/multipartBody908141925941923129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405494454,"filename":"image_25112025_18_04_04_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1761ebbd73465d4d81939311c187881.jpg","text":"TemporaryFile(/tmp/multipartBody4040889735440883474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405494454,"filename":"image_25112025_18_04_08_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854905","file1":"1396854902","file0":"1396854900","file4":"1396854911","file5":"1396854923","file3":"1396854908"},"map_files_photo_id_array":[{"photo_id":"1396854923","filename":"file5"},{"photo_id":"1396854905","filename":"file2"},{"photo_id":"1396854911","filename":"file4"},{"photo_id":"1396854902","filename":"file1"},{"photo_id":"1396854900","filename":"file0"},{"photo_id":"1396854908","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396854900":["hashtag1","hashtag2"]},{"1396854923":["hashtag1","hashtag2"]},{"1396854902":["hashtag1","hashtag2"]},{"1396854911":["hashtag1","hashtag2"]},{"1396854905":["hashtag1","hashtag2"]},{"1396854908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396854900, 1396854923, 1396854902, 1396854911, 1396854905, 1396854908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.01056504249573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:38:02.838154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_44_9729.jpg', '/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_53_9631.jpg', '/home/pi/Desktop/images/29112025/09/26/image_29112025_09_27_04_10497.jpg', '/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_14_9674.jpg', '/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_24_10581.jpg', '/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_34_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_44_9729.jpg
/home/pi/Desktop/images/29112025/09/26/image_29112025_09_26_53_9631.jpg
/home/pi/Desktop/images/29112025/09/26/image_29112025_09_27_04_10497.jpg
/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_14_9674.jpg
/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_24_10581.jpg
/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_34_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396854951","1396854956","1396854973","1396854982","1396854949","1396854966"],"photo_ids_order":["1396854949","1396854951","1396854956","1396854966","1396854973","1396854982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba747a0e0403f991e63420b1fd27e899.jpg","text":"TemporaryFile(/tmp/multipartBody4168988315697025013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405543582,"filename":"image_29112025_09_26_53_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98589016906fc3c40781e77649e79ae4.jpg","text":"TemporaryFile(/tmp/multipartBody8538301011583239336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405543582,"filename":"image_29112025_09_27_04_10497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7665f8a685e1e767d93e4801e0934fae.jpg","text":"TemporaryFile(/tmp/multipartBody133044981167991019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405543582,"filename":"image_29112025_09_27_24_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74471790fed21f55e87297065274c2d5.jpg","text":"TemporaryFile(/tmp/multipartBody738008080736915436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405543582,"filename":"image_29112025_09_27_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8db1da850f307965903f52218e4fa4af.jpg","text":"TemporaryFile(/tmp/multipartBody8975535452325244707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405543582,"filename":"image_29112025_09_26_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/11/29/c013b5d6ef069bebda17072fc419c526.jpg","text":"TemporaryFile(/tmp/multipartBody7313780274599289019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405543582,"filename":"image_29112025_09_27_14_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396854956","file1":"1396854951","file0":"1396854949","file4":"1396854973","file5":"1396854982","file3":"1396854966"},"map_files_photo_id_array":[{"photo_id":"1396854982","filename":"file5"},{"photo_id":"1396854956","filename":"file2"},{"photo_id":"1396854973","filename":"file4"},{"photo_id":"1396854951","filename":"file1"},{"photo_id":"1396854949","filename":"file0"},{"photo_id":"1396854966","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396854951":["hashtag1","hashtag2"]},{"1396854956":["hashtag1","hashtag2"]},{"1396854973":["hashtag1","hashtag2"]},{"1396854982":["hashtag1","hashtag2"]},{"1396854949":["hashtag1","hashtag2"]},{"1396854966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396854951, 1396854956, 1396854973, 1396854982, 1396854949, 1396854966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.913167238235474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:38:42.436733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_31_3692.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_34_2741.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_37_2581.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_40_3769.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_43_2726.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_46_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/09/13/image_31102025_09_13_31_3692.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_34_2741.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_37_2581.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_40_3769.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_43_2726.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_46_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.0212862491607666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:39:03.565559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_44_10536.jpg', '/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_54_9737.jpg', '/home/pi/Desktop/images/29112025/09/27/image_29112025_09_28_04_9897.jpg', '/home/pi/Desktop/images/29112025/09/28/image_29112025_09_28_14_9689.jpg', '/home/pi/Desktop/images/29112025/09/28/image_29112025_09_28_24_10663.jpg', '/home/pi/Desktop/images/29112025/09/28/image_29112025_09_29_04_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_44_10536.jpg
/home/pi/Desktop/images/29112025/09/27/image_29112025_09_27_54_9737.jpg
/home/pi/Desktop/images/29112025/09/27/image_29112025_09_28_04_9897.jpg
/home/pi/Desktop/images/29112025/09/28/image_29112025_09_28_14_9689.jpg
/home/pi/Desktop/images/29112025/09/28/image_29112025_09_28_24_10663.jpg
/home/pi/Desktop/images/29112025/09/28/image_29112025_09_29_04_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396855050","1396855052","1396855100","1396855051","1396855053","1396855062"],"photo_ids_order":["1396855050","1396855051","1396855052","1396855053","1396855062","1396855100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bfec41f3c52bc10e61ec1a763d4d2bc.jpg","text":"TemporaryFile(/tmp/multipartBody2217163912155254623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405604398,"filename":"image_29112025_09_27_44_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b5d8f33b56dc51480913be44722b726.jpg","text":"TemporaryFile(/tmp/multipartBody8575385696774056086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405604398,"filename":"image_29112025_09_28_04_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f78db8b3ed06481024030d7322cdad55.jpg","text":"TemporaryFile(/tmp/multipartBody1195181618782446111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405604398,"filename":"image_29112025_09_29_04_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa1ebcd8c648f4d57d5507bdabc43202.jpg","text":"TemporaryFile(/tmp/multipartBody1761250700909276651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405604398,"filename":"image_29112025_09_27_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44c50b60e5879222815603c1fe7599f7.jpg","text":"TemporaryFile(/tmp/multipartBody4087438759513761057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405604398,"filename":"image_29112025_09_28_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/11/29/56a0454143020968cfab0a6741656f0f.jpg","text":"TemporaryFile(/tmp/multipartBody7413064047500020540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405604398,"filename":"image_29112025_09_28_24_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855052","file1":"1396855051","file0":"1396855050","file4":"1396855062","file5":"1396855100","file3":"1396855053"},"map_files_photo_id_array":[{"photo_id":"1396855100","filename":"file5"},{"photo_id":"1396855052","filename":"file2"},{"photo_id":"1396855062","filename":"file4"},{"photo_id":"1396855051","filename":"file1"},{"photo_id":"1396855050","filename":"file0"},{"photo_id":"1396855053","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396855050":["hashtag1","hashtag2"]},{"1396855052":["hashtag1","hashtag2"]},{"1396855100":["hashtag1","hashtag2"]},{"1396855051":["hashtag1","hashtag2"]},{"1396855053":["hashtag1","hashtag2"]},{"1396855062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396855050, 1396855052, 1396855100, 1396855051, 1396855053, 1396855062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9827926158905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:39:42.700304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_31_3692.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_34_2741.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_37_2581.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_40_3769.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_43_2726.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_46_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/09/13/image_31102025_09_13_31_3692.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_34_2741.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_37_2581.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_40_3769.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_43_2726.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_46_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":["1396855199","1396855223","1396855282","1396855306","1396855197","1396855284"],"photo_ids_order":["1396855197","1396855199","1396855223","1396855282","1396855284","1396855306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c247f04f6b36b1655ad164196fd99c6.jpg","text":"TemporaryFile(/tmp/multipartBody3113202870461171407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405643667,"filename":"image_31102025_09_13_34_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05f9ef93aadad16aa71627190c9f7081.jpg","text":"TemporaryFile(/tmp/multipartBody1529344745944843435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405643667,"filename":"image_31102025_09_13_37_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64c2eeadcb4529033d80809570f13f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7650945175663924010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405643667,"filename":"image_31102025_09_13_40_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b29b85d7eae2a9f270c062b1b54bff1.jpg","text":"TemporaryFile(/tmp/multipartBody2616054391768563176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405643667,"filename":"image_31102025_09_13_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/11/29/eb94705487da615f38de08dfa4439664.jpg","text":"TemporaryFile(/tmp/multipartBody3840007399447007684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405643667,"filename":"image_31102025_09_13_31_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9195457d626e78f935b547dee7872ba7.jpg","text":"TemporaryFile(/tmp/multipartBody5247741973888296903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405643667,"filename":"image_31102025_09_13_43_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855223","file1":"1396855199","file0":"1396855197","file4":"1396855284","file5":"1396855306","file3":"1396855282"},"map_files_photo_id_array":[{"photo_id":"1396855306","filename":"file5"},{"photo_id":"1396855223","filename":"file2"},{"photo_id":"1396855284","filename":"file4"},{"photo_id":"1396855199","filename":"file1"},{"photo_id":"1396855197","filename":"file0"},{"photo_id":"1396855282","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396855199":["hashtag1","hashtag2"]},{"1396855223":["hashtag1","hashtag2"]},{"1396855282":["hashtag1","hashtag2"]},{"1396855306":["hashtag1","hashtag2"]},{"1396855197":["hashtag1","hashtag2"]},{"1396855284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396855199, 1396855223, 1396855282, 1396855306, 1396855197, 1396855284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05377221107483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:40:21.854956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/29/image_29112025_09_29_13_9655.jpg', '/home/pi/Desktop/images/29112025/09/29/image_29112025_09_29_24_10715.jpg', '/home/pi/Desktop/images/29112025/09/29/image_29112025_09_29_44_9779.jpg', '/home/pi/Desktop/images/29112025/09/29/image_29112025_09_29_54_10668.jpg', '/home/pi/Desktop/images/29112025/09/30/image_29112025_09_30_14_10056.jpg', '/home/pi/Desktop/images/29112025/09/30/image_29112025_09_30_25_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/29/image_29112025_09_29_13_9655.jpg
/home/pi/Desktop/images/29112025/09/29/image_29112025_09_29_24_10715.jpg
/home/pi/Desktop/images/29112025/09/29/image_29112025_09_29_44_9779.jpg
/home/pi/Desktop/images/29112025/09/29/image_29112025_09_29_54_10668.jpg
/home/pi/Desktop/images/29112025/09/30/image_29112025_09_30_14_10056.jpg
/home/pi/Desktop/images/29112025/09/30/image_29112025_09_30_25_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":["1396855356","1396855475","1396855439","1396855363","1396855402","1396855359"],"photo_ids_order":["1396855356","1396855359","1396855363","1396855402","1396855439","1396855475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bd348387b7aa8d9e2318f7ab683dc99.jpg","text":"TemporaryFile(/tmp/multipartBody2353686292263370749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405682483,"filename":"image_29112025_09_29_13_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5ce295c294777ab43b839194b33fd03.jpg","text":"TemporaryFile(/tmp/multipartBody2518497451231720854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405682483,"filename":"image_29112025_09_30_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/11/29/eaedc755e710ed86dd7748bc9167e51c.jpg","text":"TemporaryFile(/tmp/multipartBody2358107824482684143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405682483,"filename":"image_29112025_09_30_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29c53f7c06bfebd755ffe10ed26ee3fd.jpg","text":"TemporaryFile(/tmp/multipartBody8441702073645679612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405682483,"filename":"image_29112025_09_29_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/11/29/9294e49ca0a699f37a2cab5c8de74eca.jpg","text":"TemporaryFile(/tmp/multipartBody2330026955932846660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405682483,"filename":"image_29112025_09_29_54_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0ae01c3f9e35cd98eca482795f524b1.jpg","text":"TemporaryFile(/tmp/multipartBody8757201260668152352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405682483,"filename":"image_29112025_09_29_24_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855363","file1":"1396855359","file0":"1396855356","file4":"1396855439","file5":"1396855475","file3":"1396855402"},"map_files_photo_id_array":[{"photo_id":"1396855475","filename":"file5"},{"photo_id":"1396855363","filename":"file2"},{"photo_id":"1396855439","filename":"file4"},{"photo_id":"1396855359","filename":"file1"},{"photo_id":"1396855356","filename":"file0"},{"photo_id":"1396855402","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396855356":["hashtag1","hashtag2"]},{"1396855475":["hashtag1","hashtag2"]},{"1396855439":["hashtag1","hashtag2"]},{"1396855363":["hashtag1","hashtag2"]},{"1396855402":["hashtag1","hashtag2"]},{"1396855359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396855356, 1396855475, 1396855439, 1396855363, 1396855402, 1396855359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10612440109253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:41:02.699875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/30/image_29112025_09_30_35_9719.jpg', '/home/pi/Desktop/images/29112025/09/30/image_29112025_09_30_44_9766.jpg', '/home/pi/Desktop/images/29112025/09/30/image_29112025_09_30_55_10629.jpg', '/home/pi/Desktop/images/29112025/09/31/image_29112025_09_31_15_9874.jpg', '/home/pi/Desktop/images/29112025/09/31/image_29112025_09_31_25_10549.jpg', '/home/pi/Desktop/images/29112025/09/31/image_29112025_09_31_35_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/30/image_29112025_09_30_35_9719.jpg
/home/pi/Desktop/images/29112025/09/30/image_29112025_09_30_44_9766.jpg
/home/pi/Desktop/images/29112025/09/30/image_29112025_09_30_55_10629.jpg
/home/pi/Desktop/images/29112025/09/31/image_29112025_09_31_15_9874.jpg
/home/pi/Desktop/images/29112025/09/31/image_29112025_09_31_25_10549.jpg
/home/pi/Desktop/images/29112025/09/31/image_29112025_09_31_35_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396855493","1396855486","1396855513","1396855510","1396855488","1396855507"],"photo_ids_order":["1396855486","1396855488","1396855493","1396855507","1396855510","1396855513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4127f1c671950e06c6f6a913ba67d1d2.jpg","text":"TemporaryFile(/tmp/multipartBody3563703663594376732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405723407,"filename":"image_29112025_09_30_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/11/29/ee030b142abd09c2febc7a545b4cf021.jpg","text":"TemporaryFile(/tmp/multipartBody381226538795280546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405723407,"filename":"image_29112025_09_30_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/11/29/1ac27b28676f9a5fe6f6f4103429d222.jpg","text":"TemporaryFile(/tmp/multipartBody3322827030329551117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405723407,"filename":"image_29112025_09_31_35_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b28c99acb2adacd0e151e841494c128.jpg","text":"TemporaryFile(/tmp/multipartBody3466576682357497597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405723407,"filename":"image_29112025_09_31_25_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/150d394184ea3f4333e5114a5ea63634.jpg","text":"TemporaryFile(/tmp/multipartBody6472346716140078948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405723407,"filename":"image_29112025_09_30_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/11/29/0e744b9247e98a0279ba5df2b21da9b6.jpg","text":"TemporaryFile(/tmp/multipartBody339484273601528284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405723407,"filename":"image_29112025_09_31_15_9874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855493","file1":"1396855488","file0":"1396855486","file4":"1396855510","file5":"1396855513","file3":"1396855507"},"map_files_photo_id_array":[{"photo_id":"1396855513","filename":"file5"},{"photo_id":"1396855493","filename":"file2"},{"photo_id":"1396855510","filename":"file4"},{"photo_id":"1396855488","filename":"file1"},{"photo_id":"1396855486","filename":"file0"},{"photo_id":"1396855507","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396855493":["hashtag1","hashtag2"]},{"1396855486":["hashtag1","hashtag2"]},{"1396855513":["hashtag1","hashtag2"]},{"1396855510":["hashtag1","hashtag2"]},{"1396855488":["hashtag1","hashtag2"]},{"1396855507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396855493, 1396855486, 1396855513, 1396855510, 1396855488, 1396855507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.991899490356445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:41:42.031371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_48_2641.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_52_3638.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_55_2533.jpg', '/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_58_3590.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_01_2671.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_03_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/09/13/image_31102025_09_13_48_2641.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_52_3638.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_55_2533.jpg
/home/pi/Desktop/images/31102025/09/13/image_31102025_09_13_58_3590.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_01_2671.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_03_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":["1396855562","1396855559","1396855561","1396855560","1396855551","1396855530"],"photo_ids_order":["1396855530","1396855551","1396855559","1396855560","1396855561","1396855562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04c72c59e9ae49fd2eff4e6d6799b575.jpg","text":"TemporaryFile(/tmp/multipartBody4393692235404776699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405763150,"filename":"image_31102025_09_14_03_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ebf3fc2459c164997abc59b9017628a1.jpg","text":"TemporaryFile(/tmp/multipartBody8268974989372204526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405763150,"filename":"image_31102025_09_13_55_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f812a4f7197c52d5e8a1663183afeff.jpg","text":"TemporaryFile(/tmp/multipartBody522836783676165281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405763150,"filename":"image_31102025_09_14_01_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/653cba00655355f3641dcf319c9cf9d2.jpg","text":"TemporaryFile(/tmp/multipartBody4813786005465265592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405763150,"filename":"image_31102025_09_13_58_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0efb428a4002c663228168232bf1631.jpg","text":"TemporaryFile(/tmp/multipartBody2749268273989642285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405763150,"filename":"image_31102025_09_13_52_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/873709ee961afbe818cc2e867bac7841.jpg","text":"TemporaryFile(/tmp/multipartBody4216785223646512648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405763150,"filename":"image_31102025_09_13_48_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855559","file1":"1396855551","file0":"1396855530","file4":"1396855561","file5":"1396855562","file3":"1396855560"},"map_files_photo_id_array":[{"photo_id":"1396855562","filename":"file5"},{"photo_id":"1396855559","filename":"file2"},{"photo_id":"1396855561","filename":"file4"},{"photo_id":"1396855551","filename":"file1"},{"photo_id":"1396855530","filename":"file0"},{"photo_id":"1396855560","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396855562":["hashtag1","hashtag2"]},{"1396855559":["hashtag1","hashtag2"]},{"1396855561":["hashtag1","hashtag2"]},{"1396855560":["hashtag1","hashtag2"]},{"1396855551":["hashtag1","hashtag2"]},{"1396855530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396855562, 1396855559, 1396855561, 1396855560, 1396855551, 1396855530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74311852455139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:42:22.215895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/31/image_29112025_09_32_05_10768.jpg', '/home/pi/Desktop/images/29112025/09/32/image_29112025_09_32_15_9564.jpg', '/home/pi/Desktop/images/29112025/09/32/image_29112025_09_32_24_9766.jpg', '/home/pi/Desktop/images/29112025/09/32/image_29112025_09_32_35_10599.jpg', '/home/pi/Desktop/images/29112025/09/32/image_29112025_09_32_45_9584.jpg', '/home/pi/Desktop/images/29112025/09/32/image_29112025_09_32_54_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/31/image_29112025_09_32_05_10768.jpg
/home/pi/Desktop/images/29112025/09/32/image_29112025_09_32_15_9564.jpg
/home/pi/Desktop/images/29112025/09/32/image_29112025_09_32_24_9766.jpg
/home/pi/Desktop/images/29112025/09/32/image_29112025_09_32_35_10599.jpg
/home/pi/Desktop/images/29112025/09/32/image_29112025_09_32_45_9584.jpg
/home/pi/Desktop/images/29112025/09/32/image_29112025_09_32_54_9536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396855580","1396855574","1396855568","1396855572","1396855578","1396855566"],"photo_ids_order":["1396855566","1396855568","1396855572","1396855574","1396855578","1396855580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ace8224996bd3e7b5493c633ad26d2cb.jpg","text":"TemporaryFile(/tmp/multipartBody272023405435950744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405802853,"filename":"image_29112025_09_32_54_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30db87e54828f44ec4227aaff05a02a2.jpg","text":"TemporaryFile(/tmp/multipartBody7573926630192283556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405802853,"filename":"image_29112025_09_32_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/11/29/5dd207f05b0a6f3b8e765f3453d9c4ac.jpg","text":"TemporaryFile(/tmp/multipartBody6420380194778080253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405802853,"filename":"image_29112025_09_32_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79e834a1e7d0b089448a7befeec188ff.jpg","text":"TemporaryFile(/tmp/multipartBody3034173143927874005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405802853,"filename":"image_29112025_09_32_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/11/29/4ad716b50a568509c7419621c60f5b5f.jpg","text":"TemporaryFile(/tmp/multipartBody3045345221394995268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405802853,"filename":"image_29112025_09_32_45_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a62bbd49d67c57d260975ab80934577.jpg","text":"TemporaryFile(/tmp/multipartBody5599419096961477825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405802853,"filename":"image_29112025_09_32_05_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855572","file1":"1396855568","file0":"1396855566","file4":"1396855578","file5":"1396855580","file3":"1396855574"},"map_files_photo_id_array":[{"photo_id":"1396855580","filename":"file5"},{"photo_id":"1396855572","filename":"file2"},{"photo_id":"1396855578","filename":"file4"},{"photo_id":"1396855568","filename":"file1"},{"photo_id":"1396855566","filename":"file0"},{"photo_id":"1396855574","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396855580":["hashtag1","hashtag2"]},{"1396855574":["hashtag1","hashtag2"]},{"1396855568":["hashtag1","hashtag2"]},{"1396855572":["hashtag1","hashtag2"]},{"1396855578":["hashtag1","hashtag2"]},{"1396855566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396855580, 1396855574, 1396855568, 1396855572, 1396855578, 1396855566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44783329963684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:43:03.157165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/32/image_29112025_09_33_05_10620.jpg', '/home/pi/Desktop/images/29112025/09/33/image_29112025_09_33_14_9619.jpg', '/home/pi/Desktop/images/29112025/09/33/image_29112025_09_33_24_9802.jpg', '/home/pi/Desktop/images/29112025/09/33/image_29112025_09_33_44_9544.jpg', '/home/pi/Desktop/images/29112025/09/33/image_29112025_09_33_54_9891.jpg', '/home/pi/Desktop/images/29112025/09/34/image_29112025_09_34_15_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/32/image_29112025_09_33_05_10620.jpg
/home/pi/Desktop/images/29112025/09/33/image_29112025_09_33_14_9619.jpg
/home/pi/Desktop/images/29112025/09/33/image_29112025_09_33_24_9802.jpg
/home/pi/Desktop/images/29112025/09/33/image_29112025_09_33_44_9544.jpg
/home/pi/Desktop/images/29112025/09/33/image_29112025_09_33_54_9891.jpg
/home/pi/Desktop/images/29112025/09/34/image_29112025_09_34_15_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396855583","1396855602","1396855586","1396855589","1396855585","1396855584"],"photo_ids_order":["1396855583","1396855584","1396855585","1396855586","1396855589","1396855602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9013b3fffc9150fb9def309d5473a76c.jpg","text":"TemporaryFile(/tmp/multipartBody4826274751669131165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405843904,"filename":"image_29112025_09_33_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9a5c2ac6d223aa75e4a1d7977bbf4fb.jpg","text":"TemporaryFile(/tmp/multipartBody1117970054552556128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405843904,"filename":"image_29112025_09_34_15_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8682145402d20b99cec114eb84c384a5.jpg","text":"TemporaryFile(/tmp/multipartBody4564435650484474230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405843904,"filename":"image_29112025_09_33_44_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2a42949a21f78ec889e5a0e2894c043.jpg","text":"TemporaryFile(/tmp/multipartBody1553056535961250010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405843904,"filename":"image_29112025_09_33_54_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec95789b4286436812892d6e87d62476.jpg","text":"TemporaryFile(/tmp/multipartBody5753976705737203718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405843904,"filename":"image_29112025_09_33_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/11/29/5f897dd1ea535d7137b4db8ae56b934c.jpg","text":"TemporaryFile(/tmp/multipartBody2185673909537529781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405843904,"filename":"image_29112025_09_33_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855585","file1":"1396855584","file0":"1396855583","file4":"1396855589","file5":"1396855602","file3":"1396855586"},"map_files_photo_id_array":[{"photo_id":"1396855602","filename":"file5"},{"photo_id":"1396855585","filename":"file2"},{"photo_id":"1396855589","filename":"file4"},{"photo_id":"1396855584","filename":"file1"},{"photo_id":"1396855583","filename":"file0"},{"photo_id":"1396855586","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396855583":["hashtag1","hashtag2"]},{"1396855602":["hashtag1","hashtag2"]},{"1396855586":["hashtag1","hashtag2"]},{"1396855589":["hashtag1","hashtag2"]},{"1396855585":["hashtag1","hashtag2"]},{"1396855584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396855583, 1396855602, 1396855586, 1396855589, 1396855585, 1396855584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64175629615784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:43:42.486602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_10_2748.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_13_2599.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_21_8019.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_22_1652.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_24_1691.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_26_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_10_2748.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_13_2599.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_21_8019.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_22_1652.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_24_1691.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_26_1616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396855704","1396855700","1396855703","1396855706","1396855705","1396855702"],"photo_ids_order":["1396855700","1396855702","1396855703","1396855704","1396855705","1396855706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2896993c412bb7c9fec91fac03a85d32.jpg","text":"TemporaryFile(/tmp/multipartBody7185561856784684542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405883623,"filename":"image_31102025_09_14_22_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9874f3242aa18b5a602d697591cb3541.jpg","text":"TemporaryFile(/tmp/multipartBody5684446085067651199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405883623,"filename":"image_31102025_09_14_10_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe188af678331ced13ad2f32956da710.jpg","text":"TemporaryFile(/tmp/multipartBody5589241084640025928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405883623,"filename":"image_31102025_09_14_21_8019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ab6dfac283cecc6039b95586cacd416.jpg","text":"TemporaryFile(/tmp/multipartBody3836846687780956351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405883623,"filename":"image_31102025_09_14_26_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4617fe81a724f9e270a732b41d0bb04.jpg","text":"TemporaryFile(/tmp/multipartBody995710249996780326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405883623,"filename":"image_31102025_09_14_24_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fae833bab7be6f88ed273f5bbd432281.jpg","text":"TemporaryFile(/tmp/multipartBody8646489394328056065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405883623,"filename":"image_31102025_09_14_13_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855703","file1":"1396855702","file0":"1396855700","file4":"1396855705","file5":"1396855706","file3":"1396855704"},"map_files_photo_id_array":[{"photo_id":"1396855706","filename":"file5"},{"photo_id":"1396855703","filename":"file2"},{"photo_id":"1396855705","filename":"file4"},{"photo_id":"1396855702","filename":"file1"},{"photo_id":"1396855700","filename":"file0"},{"photo_id":"1396855704","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396855704":["hashtag1","hashtag2"]},{"1396855700":["hashtag1","hashtag2"]},{"1396855703":["hashtag1","hashtag2"]},{"1396855706":["hashtag1","hashtag2"]},{"1396855705":["hashtag1","hashtag2"]},{"1396855702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396855704, 1396855700, 1396855703, 1396855706, 1396855705, 1396855702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88031053543091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:44:22.695751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/34/image_29112025_09_34_24_9740.jpg', '/home/pi/Desktop/images/29112025/09/34/image_29112025_09_34_34_9708.jpg', '/home/pi/Desktop/images/29112025/09/35/image_29112025_09_36_04_9661.jpg', '/home/pi/Desktop/images/29112025/09/36/image_29112025_09_36_15_10654.jpg', '/home/pi/Desktop/images/29112025/09/36/image_29112025_09_36_24_9563.jpg', '/home/pi/Desktop/images/29112025/09/36/image_29112025_09_36_45_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/34/image_29112025_09_34_24_9740.jpg
/home/pi/Desktop/images/29112025/09/34/image_29112025_09_34_34_9708.jpg
/home/pi/Desktop/images/29112025/09/35/image_29112025_09_36_04_9661.jpg
/home/pi/Desktop/images/29112025/09/36/image_29112025_09_36_15_10654.jpg
/home/pi/Desktop/images/29112025/09/36/image_29112025_09_36_24_9563.jpg
/home/pi/Desktop/images/29112025/09/36/image_29112025_09_36_45_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396855725","1396855719","1396855736","1396855723","1396855732","1396855729"],"photo_ids_order":["1396855719","1396855723","1396855725","1396855729","1396855732","1396855736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6cf1ffa22ba5deb064215fdcc5d46325.jpg","text":"TemporaryFile(/tmp/multipartBody6764842192404191930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405923337,"filename":"image_29112025_09_36_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/11/29/c51d2c33739c54cc93a902907cd8e3c7.jpg","text":"TemporaryFile(/tmp/multipartBody4592919828489719953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405923337,"filename":"image_29112025_09_34_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/11/29/f37617aab7aa403608a6f6d898fb1d9a.jpg","text":"TemporaryFile(/tmp/multipartBody5008579897007802194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405923337,"filename":"image_29112025_09_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/11/29/58e914615182fc058d0bd6d4b1b60c56.jpg","text":"TemporaryFile(/tmp/multipartBody4157796862960087060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405923337,"filename":"image_29112025_09_34_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/716b5fd73a297575e1eb6d6da05b2e80.jpg","text":"TemporaryFile(/tmp/multipartBody8298713064547719355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405923337,"filename":"image_29112025_09_36_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2cca792b5bb82f7c0935e638619d62a.jpg","text":"TemporaryFile(/tmp/multipartBody5017190007222877010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405923337,"filename":"image_29112025_09_36_15_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855725","file1":"1396855723","file0":"1396855719","file4":"1396855732","file5":"1396855736","file3":"1396855729"},"map_files_photo_id_array":[{"photo_id":"1396855736","filename":"file5"},{"photo_id":"1396855725","filename":"file2"},{"photo_id":"1396855732","filename":"file4"},{"photo_id":"1396855723","filename":"file1"},{"photo_id":"1396855719","filename":"file0"},{"photo_id":"1396855729","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396855725":["hashtag1","hashtag2"]},{"1396855719":["hashtag1","hashtag2"]},{"1396855736":["hashtag1","hashtag2"]},{"1396855723":["hashtag1","hashtag2"]},{"1396855732":["hashtag1","hashtag2"]},{"1396855729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396855725, 1396855719, 1396855736, 1396855723, 1396855732, 1396855729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.000871658325195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:45:02.437350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/36/image_29112025_09_36_54_9683.jpg', '/home/pi/Desktop/images/29112025/09/37/image_29112025_09_37_24_9635.jpg', '/home/pi/Desktop/images/29112025/09/38/image_29112025_09_38_45_10655.jpg', '/home/pi/Desktop/images/29112025/09/38/image_29112025_09_38_54_9588.jpg', '/home/pi/Desktop/images/29112025/09/38/image_29112025_09_39_05_10702.jpg', '/home/pi/Desktop/images/29112025/09/39/image_29112025_09_39_15_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/36/image_29112025_09_36_54_9683.jpg
/home/pi/Desktop/images/29112025/09/37/image_29112025_09_37_24_9635.jpg
/home/pi/Desktop/images/29112025/09/38/image_29112025_09_38_45_10655.jpg
/home/pi/Desktop/images/29112025/09/38/image_29112025_09_38_54_9588.jpg
/home/pi/Desktop/images/29112025/09/38/image_29112025_09_39_05_10702.jpg
/home/pi/Desktop/images/29112025/09/39/image_29112025_09_39_15_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":["1396855877","1396855882","1396855876","1396855879","1396855825","1396855860"],"photo_ids_order":["1396855825","1396855860","1396855876","1396855877","1396855879","1396855882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8e2ae81a01113301aab9e07f3778870.jpg","text":"TemporaryFile(/tmp/multipartBody4485906471199001721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405963319,"filename":"image_29112025_09_38_54_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/100349ac9d3d56671fd0dcf207b1b52a.jpg","text":"TemporaryFile(/tmp/multipartBody3741663040627536066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405963319,"filename":"image_29112025_09_39_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb407882e01c3ef79e5dec440a3e02f7.jpg","text":"TemporaryFile(/tmp/multipartBody47507554534705913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405963319,"filename":"image_29112025_09_38_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/11/29/068ad8ce3f9495b5e8d9237590abc822.jpg","text":"TemporaryFile(/tmp/multipartBody4640561505123026483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405963319,"filename":"image_29112025_09_39_05_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1b3fbc70f2599d2e3e45bae8325f4fd.jpg","text":"TemporaryFile(/tmp/multipartBody6016661665341061836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405963319,"filename":"image_29112025_09_36_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/11/29/b6c8f6b02608e9b79470ae334e8cf246.jpg","text":"TemporaryFile(/tmp/multipartBody373911365909291047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764405963319,"filename":"image_29112025_09_37_24_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855876","file1":"1396855860","file0":"1396855825","file4":"1396855879","file5":"1396855882","file3":"1396855877"},"map_files_photo_id_array":[{"photo_id":"1396855882","filename":"file5"},{"photo_id":"1396855876","filename":"file2"},{"photo_id":"1396855879","filename":"file4"},{"photo_id":"1396855860","filename":"file1"},{"photo_id":"1396855825","filename":"file0"},{"photo_id":"1396855877","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396855877":["hashtag1","hashtag2"]},{"1396855882":["hashtag1","hashtag2"]},{"1396855876":["hashtag1","hashtag2"]},{"1396855879":["hashtag1","hashtag2"]},{"1396855825":["hashtag1","hashtag2"]},{"1396855860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396855877, 1396855882, 1396855876, 1396855879, 1396855825, 1396855860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44724369049072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:45:41.838822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_28_2617.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_31_2541.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_33_2602.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_37_3806.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_40_2871.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_43_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/09/14/image_31102025_09_14_28_2617.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_31_2541.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_33_2602.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_37_3806.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_40_2871.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_43_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":["1396855961","1396856012","1396855993","1396855995","1396856016","1396855920"],"photo_ids_order":["1396855920","1396855961","1396855993","1396855995","1396856012","1396856016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1da981ef172d7326aa454ea733393bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7878408129340224940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406002969,"filename":"image_31102025_09_14_31_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a57ce088a26efe7b9215118799f5e900.jpg","text":"TemporaryFile(/tmp/multipartBody1603571795862888733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406002969,"filename":"image_31102025_09_14_40_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b476162befaf08e3c84fb2bf4b257d0.jpg","text":"TemporaryFile(/tmp/multipartBody2360069819749751078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406002969,"filename":"image_31102025_09_14_33_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2b072fbb7dae7d3ec0409eb4526b212.jpg","text":"TemporaryFile(/tmp/multipartBody2442028727120586143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406002969,"filename":"image_31102025_09_14_37_3806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd87e7f9390d5546e44da0c756aab386.jpg","text":"TemporaryFile(/tmp/multipartBody7737888644514339515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406002969,"filename":"image_31102025_09_14_43_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72194105763de0a2b76045ae8b807e41.jpg","text":"TemporaryFile(/tmp/multipartBody7303763950147403876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406002969,"filename":"image_31102025_09_14_28_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396855993","file1":"1396855961","file0":"1396855920","file4":"1396856012","file5":"1396856016","file3":"1396855995"},"map_files_photo_id_array":[{"photo_id":"1396856016","filename":"file5"},{"photo_id":"1396855993","filename":"file2"},{"photo_id":"1396856012","filename":"file4"},{"photo_id":"1396855961","filename":"file1"},{"photo_id":"1396855920","filename":"file0"},{"photo_id":"1396855995","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396855961":["hashtag1","hashtag2"]},{"1396856012":["hashtag1","hashtag2"]},{"1396855993":["hashtag1","hashtag2"]},{"1396855995":["hashtag1","hashtag2"]},{"1396856016":["hashtag1","hashtag2"]},{"1396855920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396855961, 1396856012, 1396855993, 1396855995, 1396856016, 1396855920)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.56837558746338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 09:46:31.951324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_17_3574.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_20_2618.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_22_2556.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_26_3576.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_28_2608.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_34_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_17_3574.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_20_2618.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_22_2556.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_26_3576.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_28_2608.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_34_2530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396856138","1396856051","1396856080","1396856125","1396856055","1396856136"],"photo_ids_order":["1396856051","1396856055","1396856080","1396856125","1396856136","1396856138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/794a4cda6db3abbdca7cdbe0bc9fb3a8.jpg","text":"TemporaryFile(/tmp/multipartBody7583114826070605281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406054214,"filename":"image_25112025_18_04_34_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4be4f6fc77ab49a2728b08011ea58586.jpg","text":"TemporaryFile(/tmp/multipartBody1789707329273582686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406054214,"filename":"image_25112025_18_04_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/11/29/7143245c02352eedc933af48cfa4e4d3.jpg","text":"TemporaryFile(/tmp/multipartBody5744849589879208217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406054214,"filename":"image_25112025_18_04_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/11/29/ed7c337a11858d6f1502160bb902489c.jpg","text":"TemporaryFile(/tmp/multipartBody6319834650491994542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406054214,"filename":"image_25112025_18_04_26_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a37758649839a92d783e91f37ab3253.jpg","text":"TemporaryFile(/tmp/multipartBody1172124049204692579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406054214,"filename":"image_25112025_18_04_20_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/00eff712890c8c1d3b1f129dea14e634.jpg","text":"TemporaryFile(/tmp/multipartBody5439964352273137815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406054214,"filename":"image_25112025_18_04_28_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396856080","file1":"1396856055","file0":"1396856051","file4":"1396856136","file5":"1396856138","file3":"1396856125"},"map_files_photo_id_array":[{"photo_id":"1396856138","filename":"file5"},{"photo_id":"1396856080","filename":"file2"},{"photo_id":"1396856136","filename":"file4"},{"photo_id":"1396856055","filename":"file1"},{"photo_id":"1396856051","filename":"file0"},{"photo_id":"1396856125","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396856138":["hashtag1","hashtag2"]},{"1396856051":["hashtag1","hashtag2"]},{"1396856080":["hashtag1","hashtag2"]},{"1396856125":["hashtag1","hashtag2"]},{"1396856055":["hashtag1","hashtag2"]},{"1396856136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396856138, 1396856051, 1396856080, 1396856125, 1396856055, 1396856136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90131902694702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:47:22.145586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/39/image_29112025_09_39_54_9612.jpg', '/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_15_10673.jpg', '/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_25_9712.jpg', '/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_54_9616.jpg', '/home/pi/Desktop/images/29112025/09/41/image_29112025_09_41_35_10618.jpg', '/home/pi/Desktop/images/29112025/09/41/image_29112025_09_41_45_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/39/image_29112025_09_39_54_9612.jpg
/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_15_10673.jpg
/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_25_9712.jpg
/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_54_9616.jpg
/home/pi/Desktop/images/29112025/09/41/image_29112025_09_41_35_10618.jpg
/home/pi/Desktop/images/29112025/09/41/image_29112025_09_41_45_9694.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5629925727844238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 09:47:32.140151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_37_2679.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_41_3671.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_44_2795.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_46_2624.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_50_3637.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_52_2619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_37_2679.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_41_3671.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_44_2795.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_46_2624.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_50_3637.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_52_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":["1396856153","1396856170","1396856149","1396856158","1396856160","1396856171"],"photo_ids_order":["1396856149","1396856153","1396856158","1396856160","1396856170","1396856171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aeb1ca219f09f7d75ed38a7bd8210948.jpg","text":"TemporaryFile(/tmp/multipartBody2310464925704369447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406114342,"filename":"image_25112025_18_04_41_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2303c91eebc887278c9c179c6fa5ba2e.jpg","text":"TemporaryFile(/tmp/multipartBody5686481994519320801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406114342,"filename":"image_25112025_18_04_50_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0635a17b8d369d227053faf85de42592.jpg","text":"TemporaryFile(/tmp/multipartBody5056530575771793315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406114342,"filename":"image_25112025_18_04_37_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cfcbe20e01d2aca53f25d141bdbfcdb9.jpg","text":"TemporaryFile(/tmp/multipartBody1861093917125279452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406114342,"filename":"image_25112025_18_04_44_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16a1222edfff90e051af908182e2ad47.jpg","text":"TemporaryFile(/tmp/multipartBody8209435962217617442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406114342,"filename":"image_25112025_18_04_46_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efe95eeb9dbfedfdcc1c3c6ee09e91d4.jpg","text":"TemporaryFile(/tmp/multipartBody4381891100766368494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406114342,"filename":"image_25112025_18_04_52_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396856158","file1":"1396856153","file0":"1396856149","file4":"1396856170","file5":"1396856171","file3":"1396856160"},"map_files_photo_id_array":[{"photo_id":"1396856171","filename":"file5"},{"photo_id":"1396856158","filename":"file2"},{"photo_id":"1396856170","filename":"file4"},{"photo_id":"1396856153","filename":"file1"},{"photo_id":"1396856149","filename":"file0"},{"photo_id":"1396856160","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396856153":["hashtag1","hashtag2"]},{"1396856170":["hashtag1","hashtag2"]},{"1396856149":["hashtag1","hashtag2"]},{"1396856158":["hashtag1","hashtag2"]},{"1396856160":["hashtag1","hashtag2"]},{"1396856171":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396856153, 1396856170, 1396856149, 1396856158, 1396856160, 1396856171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44205021858215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 09:48:12.272991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_55_2642.jpg', '/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_59_3573.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_01_2781.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_04_2725.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_08_3550.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_10_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_55_2642.jpg
/home/pi/Desktop/images/25112025/18/04/image_25112025_18_04_59_3573.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_01_2781.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_04_2725.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_08_3550.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_10_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396856174","1396856315","1396856213","1396856259","1396856172","1396856390"],"photo_ids_order":["1396856172","1396856174","1396856213","1396856259","1396856315","1396856390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5641bd981f10f2096a14c678f4d1086b.jpg","text":"TemporaryFile(/tmp/multipartBody3055550725419372636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406154376,"filename":"image_25112025_18_04_59_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/114afdd8c0f82afbe4fe3d691987696f.jpg","text":"TemporaryFile(/tmp/multipartBody1148212912264638722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406154376,"filename":"image_25112025_18_05_08_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d8bb99634fd1cffd3ba2bd58bc1c565.jpg","text":"TemporaryFile(/tmp/multipartBody3059513010210236791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406154376,"filename":"image_25112025_18_05_01_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f9718f4401413ac633e0bf631411c0e.jpg","text":"TemporaryFile(/tmp/multipartBody4765764744204907514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406154376,"filename":"image_25112025_18_05_04_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/352e0f083ce86efa1d1d25bd15eb1bf3.jpg","text":"TemporaryFile(/tmp/multipartBody8754100518354804652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406154376,"filename":"image_25112025_18_04_55_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/959d98c89d1731ab5d5eb1de4d299971.jpg","text":"TemporaryFile(/tmp/multipartBody4270377560750148972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406154376,"filename":"image_25112025_18_05_10_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396856213","file1":"1396856174","file0":"1396856172","file4":"1396856315","file5":"1396856390","file3":"1396856259"},"map_files_photo_id_array":[{"photo_id":"1396856390","filename":"file5"},{"photo_id":"1396856213","filename":"file2"},{"photo_id":"1396856315","filename":"file4"},{"photo_id":"1396856174","filename":"file1"},{"photo_id":"1396856172","filename":"file0"},{"photo_id":"1396856259","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396856174":["hashtag1","hashtag2"]},{"1396856315":["hashtag1","hashtag2"]},{"1396856213":["hashtag1","hashtag2"]},{"1396856259":["hashtag1","hashtag2"]},{"1396856172":["hashtag1","hashtag2"]},{"1396856390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396856174, 1396856315, 1396856213, 1396856259, 1396856172, 1396856390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08792495727539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:49:03.548102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/39/image_29112025_09_39_54_9612.jpg', '/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_15_10673.jpg', '/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_25_9712.jpg', '/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_54_9616.jpg', '/home/pi/Desktop/images/29112025/09/41/image_29112025_09_41_35_10618.jpg', '/home/pi/Desktop/images/29112025/09/41/image_29112025_09_41_45_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/39/image_29112025_09_39_54_9612.jpg
/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_15_10673.jpg
/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_25_9712.jpg
/home/pi/Desktop/images/29112025/09/40/image_29112025_09_40_54_9616.jpg
/home/pi/Desktop/images/29112025/09/41/image_29112025_09_41_35_10618.jpg
/home/pi/Desktop/images/29112025/09/41/image_29112025_09_41_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":["1396856870","1396856945","1396856909","1396856809","1396856985","1396856772"],"photo_ids_order":["1396856772","1396856809","1396856870","1396856909","1396856945","1396856985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15ac49d1b992864699dc62e63d8d6341.jpg","text":"TemporaryFile(/tmp/multipartBody4159469677831827190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406204377,"filename":"image_29112025_09_40_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/11/29/d223b7909664d817eb8e0fe02c95ab18.jpg","text":"TemporaryFile(/tmp/multipartBody6609552941509309479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406204377,"filename":"image_29112025_09_41_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/11/29/5d0330daae355ce23bc23c557c33acf3.jpg","text":"TemporaryFile(/tmp/multipartBody6268409436784651775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406204377,"filename":"image_29112025_09_40_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ebe79094361388d69efbb87b78a8092.jpg","text":"TemporaryFile(/tmp/multipartBody9174880120528418713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406204377,"filename":"image_29112025_09_40_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/11/29/ee7e6c6e06ab945811e94c375579d023.jpg","text":"TemporaryFile(/tmp/multipartBody7075670217250060387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406204377,"filename":"image_29112025_09_41_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/11/29/6465e3bb05dedab95d340e540219f182.jpg","text":"TemporaryFile(/tmp/multipartBody5371285052192784404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406204377,"filename":"image_29112025_09_39_54_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396856870","file1":"1396856809","file0":"1396856772","file4":"1396856945","file5":"1396856985","file3":"1396856909"},"map_files_photo_id_array":[{"photo_id":"1396856985","filename":"file5"},{"photo_id":"1396856870","filename":"file2"},{"photo_id":"1396856945","filename":"file4"},{"photo_id":"1396856809","filename":"file1"},{"photo_id":"1396856772","filename":"file0"},{"photo_id":"1396856909","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396856870":["hashtag1","hashtag2"]},{"1396856945":["hashtag1","hashtag2"]},{"1396856909":["hashtag1","hashtag2"]},{"1396856809":["hashtag1","hashtag2"]},{"1396856985":["hashtag1","hashtag2"]},{"1396856772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396856870, 1396856945, 1396856909, 1396856809, 1396856985, 1396856772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10554647445679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:49:42.511556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_45_2633.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_48_2983.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_52_3606.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_55_2828.jpg', '/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_57_2691.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_02_4321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_45_2633.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_48_2983.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_52_3606.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_55_2828.jpg
/home/pi/Desktop/images/31102025/09/14/image_31102025_09_14_57_2691.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_02_4321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396857361","1396857154","1396857297","1396857115","1396857228","1396857191"],"photo_ids_order":["1396857115","1396857154","1396857191","1396857228","1396857297","1396857361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5529cd809735d113bbff417842fe9f4.jpg","text":"TemporaryFile(/tmp/multipartBody2055846672847560127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406243654,"filename":"image_31102025_09_15_02_4321.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfd0cdef97080e0359af33f638603f0a.jpg","text":"TemporaryFile(/tmp/multipartBody868958196143152398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406243654,"filename":"image_31102025_09_14_48_2983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a66ec494eb4a2801104954dd904cb19.jpg","text":"TemporaryFile(/tmp/multipartBody8147422033881646088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406243654,"filename":"image_31102025_09_14_57_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/acf7d7d6e55e4b0f2fd4de34c035cc5b.jpg","text":"TemporaryFile(/tmp/multipartBody4537405495137290479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406243654,"filename":"image_31102025_09_14_45_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d9c3c25f659b55f072a69dab3964afe.jpg","text":"TemporaryFile(/tmp/multipartBody7694917348630362628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406243654,"filename":"image_31102025_09_14_55_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e047b7997b17546c5b6bb8d7ac489516.jpg","text":"TemporaryFile(/tmp/multipartBody23737077408283980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406243654,"filename":"image_31102025_09_14_52_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396857191","file1":"1396857154","file0":"1396857115","file4":"1396857297","file5":"1396857361","file3":"1396857228"},"map_files_photo_id_array":[{"photo_id":"1396857361","filename":"file5"},{"photo_id":"1396857191","filename":"file2"},{"photo_id":"1396857297","filename":"file4"},{"photo_id":"1396857154","filename":"file1"},{"photo_id":"1396857115","filename":"file0"},{"photo_id":"1396857228","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396857361":["hashtag1","hashtag2"]},{"1396857154":["hashtag1","hashtag2"]},{"1396857297":["hashtag1","hashtag2"]},{"1396857115":["hashtag1","hashtag2"]},{"1396857228":["hashtag1","hashtag2"]},{"1396857191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396857361, 1396857154, 1396857297, 1396857115, 1396857228, 1396857191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49350094795227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:50:22.800795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/42/image_29112025_09_42_15_9735.jpg', '/home/pi/Desktop/images/29112025/09/42/image_29112025_09_42_25_9762.jpg', '/home/pi/Desktop/images/29112025/09/42/image_29112025_09_42_55_9725.jpg', '/home/pi/Desktop/images/29112025/09/42/image_29112025_09_43_04_9589.jpg', '/home/pi/Desktop/images/29112025/09/43/image_29112025_09_43_15_10697.jpg', '/home/pi/Desktop/images/29112025/09/43/image_29112025_09_43_45_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/42/image_29112025_09_42_15_9735.jpg
/home/pi/Desktop/images/29112025/09/42/image_29112025_09_42_25_9762.jpg
/home/pi/Desktop/images/29112025/09/42/image_29112025_09_42_55_9725.jpg
/home/pi/Desktop/images/29112025/09/42/image_29112025_09_43_04_9589.jpg
/home/pi/Desktop/images/29112025/09/43/image_29112025_09_43_15_10697.jpg
/home/pi/Desktop/images/29112025/09/43/image_29112025_09_43_45_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396857521","1396857580","1396857544","1396857615","1396857734","1396857683"],"photo_ids_order":["1396857521","1396857544","1396857580","1396857615","1396857683","1396857734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08683156c013e8d5c61c91526c8f6244.jpg","text":"TemporaryFile(/tmp/multipartBody1563358219374143464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406283463,"filename":"image_29112025_09_42_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/11/29/cb3e2d13a250800f5041b8a49fd0b7ef.jpg","text":"TemporaryFile(/tmp/multipartBody8821925189025993268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406283463,"filename":"image_29112025_09_42_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/11/29/3c78e4d1dd01b1e3178d3717932ed254.jpg","text":"TemporaryFile(/tmp/multipartBody6347701682557914808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406283463,"filename":"image_29112025_09_42_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/11/29/1951b6d5bd48cbd6c36c22131949d19d.jpg","text":"TemporaryFile(/tmp/multipartBody1518374267963981474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406283463,"filename":"image_29112025_09_43_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/11/29/d032ec949460f76823df4ca2d61e4816.jpg","text":"TemporaryFile(/tmp/multipartBody7342983885008679586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406283463,"filename":"image_29112025_09_43_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/11/29/8bb5e9c60ceb3f022bc19abc156bd9a6.jpg","text":"TemporaryFile(/tmp/multipartBody8902712456651191107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406283463,"filename":"image_29112025_09_43_15_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396857580","file1":"1396857544","file0":"1396857521","file4":"1396857683","file5":"1396857734","file3":"1396857615"},"map_files_photo_id_array":[{"photo_id":"1396857734","filename":"file5"},{"photo_id":"1396857580","filename":"file2"},{"photo_id":"1396857683","filename":"file4"},{"photo_id":"1396857544","filename":"file1"},{"photo_id":"1396857521","filename":"file0"},{"photo_id":"1396857615","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396857521":["hashtag1","hashtag2"]},{"1396857580":["hashtag1","hashtag2"]},{"1396857544":["hashtag1","hashtag2"]},{"1396857615":["hashtag1","hashtag2"]},{"1396857734":["hashtag1","hashtag2"]},{"1396857683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396857521, 1396857580, 1396857544, 1396857615, 1396857734, 1396857683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.597296953201294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:51:02.583120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/43/image_29112025_09_44_05_10630.jpg', '/home/pi/Desktop/images/29112025/09/44/image_29112025_09_44_24_9643.jpg', '/home/pi/Desktop/images/29112025/09/45/image_29112025_09_45_24_9779.jpg', '/home/pi/Desktop/images/29112025/09/45/image_29112025_09_46_04_9912.jpg', '/home/pi/Desktop/images/29112025/09/46/image_29112025_09_46_15_10661.jpg', '/home/pi/Desktop/images/29112025/09/46/image_29112025_09_47_04_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/43/image_29112025_09_44_05_10630.jpg
/home/pi/Desktop/images/29112025/09/44/image_29112025_09_44_24_9643.jpg
/home/pi/Desktop/images/29112025/09/45/image_29112025_09_45_24_9779.jpg
/home/pi/Desktop/images/29112025/09/45/image_29112025_09_46_04_9912.jpg
/home/pi/Desktop/images/29112025/09/46/image_29112025_09_46_15_10661.jpg
/home/pi/Desktop/images/29112025/09/46/image_29112025_09_47_04_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":["1396857812","1396857862","1396857841","1396857846","1396857816","1396857842"],"photo_ids_order":["1396857812","1396857816","1396857841","1396857842","1396857846","1396857862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56bbde2016caf12166b19158b1cb0333.jpg","text":"TemporaryFile(/tmp/multipartBody444689967697551636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406323306,"filename":"image_29112025_09_44_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/11/29/92eab512e99cdc1a7b9b2fa8757f70d9.jpg","text":"TemporaryFile(/tmp/multipartBody7833235668691822179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406323306,"filename":"image_29112025_09_47_04_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f21918b28b3ba962a3e223914f4aec85.jpg","text":"TemporaryFile(/tmp/multipartBody2359373477126595398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406323306,"filename":"image_29112025_09_45_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5f97e0cb0630f0a2271d299120f1ac4.jpg","text":"TemporaryFile(/tmp/multipartBody2949308061435547169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406323306,"filename":"image_29112025_09_46_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c19a6751464fe3e89ea54e066b2e794.jpg","text":"TemporaryFile(/tmp/multipartBody5343698419252727377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406323306,"filename":"image_29112025_09_44_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/11/29/21768333a0eff18af43ea8996299480a.jpg","text":"TemporaryFile(/tmp/multipartBody7896609958898993383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406323306,"filename":"image_29112025_09_46_04_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396857841","file1":"1396857816","file0":"1396857812","file4":"1396857846","file5":"1396857862","file3":"1396857842"},"map_files_photo_id_array":[{"photo_id":"1396857862","filename":"file5"},{"photo_id":"1396857841","filename":"file2"},{"photo_id":"1396857846","filename":"file4"},{"photo_id":"1396857816","filename":"file1"},{"photo_id":"1396857812","filename":"file0"},{"photo_id":"1396857842","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396857812":["hashtag1","hashtag2"]},{"1396857862":["hashtag1","hashtag2"]},{"1396857841":["hashtag1","hashtag2"]},{"1396857846":["hashtag1","hashtag2"]},{"1396857816":["hashtag1","hashtag2"]},{"1396857842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396857812, 1396857862, 1396857841, 1396857846, 1396857816, 1396857842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94020056724548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:51:41.889884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_03_1582.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_07_3777.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_10_2731.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_19_9467.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_21_1744.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_23_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_03_1582.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_07_3777.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_10_2731.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_19_9467.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_21_1744.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_23_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858051","1396857946","1396857984","1396858050","1396858052","1396858019"],"photo_ids_order":["1396857946","1396857984","1396858019","1396858050","1396858051","1396858052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/66c925989e3960264e2d226146701913.jpg","text":"TemporaryFile(/tmp/multipartBody6139008423481553981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406363015,"filename":"image_31102025_09_15_21_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b7097465680ad6a17939bc9e4acfe01.jpg","text":"TemporaryFile(/tmp/multipartBody4133874489938338096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406363015,"filename":"image_31102025_09_15_03_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/226b8d08507b118cace391628d8c7cf1.jpg","text":"TemporaryFile(/tmp/multipartBody704759538980627843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406363015,"filename":"image_31102025_09_15_07_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f31cfb897df3781c354117743788f365.jpg","text":"TemporaryFile(/tmp/multipartBody7070348711316315811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406363015,"filename":"image_31102025_09_15_19_9467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc5c11aa2fb807befd997122bb56fc86.jpg","text":"TemporaryFile(/tmp/multipartBody7894953603226258189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406363015,"filename":"image_31102025_09_15_23_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51e2421473bb70f445b091a62d22a917.jpg","text":"TemporaryFile(/tmp/multipartBody8987250955008357786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406363015,"filename":"image_31102025_09_15_10_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858019","file1":"1396857984","file0":"1396857946","file4":"1396858051","file5":"1396858052","file3":"1396858050"},"map_files_photo_id_array":[{"photo_id":"1396858052","filename":"file5"},{"photo_id":"1396858019","filename":"file2"},{"photo_id":"1396858051","filename":"file4"},{"photo_id":"1396857984","filename":"file1"},{"photo_id":"1396857946","filename":"file0"},{"photo_id":"1396858050","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396858051":["hashtag1","hashtag2"]},{"1396857946":["hashtag1","hashtag2"]},{"1396857984":["hashtag1","hashtag2"]},{"1396858050":["hashtag1","hashtag2"]},{"1396858052":["hashtag1","hashtag2"]},{"1396858019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396858051, 1396857946, 1396857984, 1396858050, 1396858052, 1396858019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50086450576782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:52:22.047465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/47/image_29112025_09_47_45_10564.jpg', '/home/pi/Desktop/images/29112025/09/47/image_29112025_09_47_55_9837.jpg', '/home/pi/Desktop/images/29112025/09/48/image_29112025_09_48_24_10006.jpg', '/home/pi/Desktop/images/29112025/09/48/image_29112025_09_48_45_9650.jpg', '/home/pi/Desktop/images/29112025/09/48/image_29112025_09_48_54_9611.jpg', '/home/pi/Desktop/images/29112025/09/48/image_29112025_09_49_05_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/47/image_29112025_09_47_45_10564.jpg
/home/pi/Desktop/images/29112025/09/47/image_29112025_09_47_55_9837.jpg
/home/pi/Desktop/images/29112025/09/48/image_29112025_09_48_24_10006.jpg
/home/pi/Desktop/images/29112025/09/48/image_29112025_09_48_45_9650.jpg
/home/pi/Desktop/images/29112025/09/48/image_29112025_09_48_54_9611.jpg
/home/pi/Desktop/images/29112025/09/48/image_29112025_09_49_05_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858129","1396858134","1396858137","1396858104","1396858139","1396858100"],"photo_ids_order":["1396858100","1396858104","1396858129","1396858134","1396858137","1396858139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/664e1a7aea64575cdff36cd9730f1800.jpg","text":"TemporaryFile(/tmp/multipartBody8453945873003667717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406402718,"filename":"image_29112025_09_48_24_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2f965eb8f4b3dd7e520ad1b06f23ebb.jpg","text":"TemporaryFile(/tmp/multipartBody622812872971841836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406402718,"filename":"image_29112025_09_48_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/11/29/91071b8d9dcbcf6f9682242cdd3a975a.jpg","text":"TemporaryFile(/tmp/multipartBody5325349335116810979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406402718,"filename":"image_29112025_09_48_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05e2ec884e839bcf4e84c2623a1da0d2.jpg","text":"TemporaryFile(/tmp/multipartBody6219796124982604893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406402718,"filename":"image_29112025_09_47_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/11/29/d19ada8b19c783482ed2aefa1d6ff939.jpg","text":"TemporaryFile(/tmp/multipartBody7391623639409791929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406402718,"filename":"image_29112025_09_49_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/11/29/97f00edb82b6aa6f4944e0f02cab6059.jpg","text":"TemporaryFile(/tmp/multipartBody8815719932021675138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406402718,"filename":"image_29112025_09_47_45_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858129","file1":"1396858104","file0":"1396858100","file4":"1396858137","file5":"1396858139","file3":"1396858134"},"map_files_photo_id_array":[{"photo_id":"1396858139","filename":"file5"},{"photo_id":"1396858129","filename":"file2"},{"photo_id":"1396858137","filename":"file4"},{"photo_id":"1396858104","filename":"file1"},{"photo_id":"1396858100","filename":"file0"},{"photo_id":"1396858134","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396858129":["hashtag1","hashtag2"]},{"1396858134":["hashtag1","hashtag2"]},{"1396858137":["hashtag1","hashtag2"]},{"1396858104":["hashtag1","hashtag2"]},{"1396858139":["hashtag1","hashtag2"]},{"1396858100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396858129, 1396858134, 1396858137, 1396858104, 1396858139, 1396858100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.861058950424194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:53:02.919827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/49/image_29112025_09_49_14_9555.jpg', '/home/pi/Desktop/images/29112025/09/49/image_29112025_09_49_24_9684.jpg', '/home/pi/Desktop/images/29112025/09/49/image_29112025_09_49_35_10600.jpg', '/home/pi/Desktop/images/29112025/09/49/image_29112025_09_49_55_10680.jpg', '/home/pi/Desktop/images/29112025/09/49/image_29112025_09_50_05_9671.jpg', '/home/pi/Desktop/images/29112025/09/50/image_29112025_09_50_14_9529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/49/image_29112025_09_49_14_9555.jpg
/home/pi/Desktop/images/29112025/09/49/image_29112025_09_49_24_9684.jpg
/home/pi/Desktop/images/29112025/09/49/image_29112025_09_49_35_10600.jpg
/home/pi/Desktop/images/29112025/09/49/image_29112025_09_49_55_10680.jpg
/home/pi/Desktop/images/29112025/09/49/image_29112025_09_50_05_9671.jpg
/home/pi/Desktop/images/29112025/09/50/image_29112025_09_50_14_9529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858210","1396858204","1396858207","1396858224","1396858206","1396858205"],"photo_ids_order":["1396858204","1396858205","1396858206","1396858207","1396858210","1396858224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df140cac24f4092fb096cd1cc3b26e98.jpg","text":"TemporaryFile(/tmp/multipartBody2800140821262333991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406443695,"filename":"image_29112025_09_50_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/11/29/6da264cef105e9bab078308c69c0b782.jpg","text":"TemporaryFile(/tmp/multipartBody202242685904073129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406443695,"filename":"image_29112025_09_49_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/11/29/b87b54aa4380b7801d5636ac8bbde914.jpg","text":"TemporaryFile(/tmp/multipartBody6156944037238116352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406443695,"filename":"image_29112025_09_49_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/577ecbe1b265f248567108443aca11a6.jpg","text":"TemporaryFile(/tmp/multipartBody3068409844193641218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406443695,"filename":"image_29112025_09_50_14_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1961786ee7ee827449f0926a3466138.jpg","text":"TemporaryFile(/tmp/multipartBody1577469597184862909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406443695,"filename":"image_29112025_09_49_35_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e56a77e2c15f7e7781d70e6608fc5f2e.jpg","text":"TemporaryFile(/tmp/multipartBody6088380311589239927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406443695,"filename":"image_29112025_09_49_24_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858206","file1":"1396858205","file0":"1396858204","file4":"1396858210","file5":"1396858224","file3":"1396858207"},"map_files_photo_id_array":[{"photo_id":"1396858224","filename":"file5"},{"photo_id":"1396858206","filename":"file2"},{"photo_id":"1396858210","filename":"file4"},{"photo_id":"1396858205","filename":"file1"},{"photo_id":"1396858204","filename":"file0"},{"photo_id":"1396858207","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396858210":["hashtag1","hashtag2"]},{"1396858204":["hashtag1","hashtag2"]},{"1396858207":["hashtag1","hashtag2"]},{"1396858224":["hashtag1","hashtag2"]},{"1396858206":["hashtag1","hashtag2"]},{"1396858205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396858210, 1396858204, 1396858207, 1396858224, 1396858206, 1396858205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62513732910156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:53:42.270989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_24_1773.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_26_1552.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_28_1694.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_30_2632.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_34_3802.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_37_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/09/15/image_31102025_09_15_24_1773.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_26_1552.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_28_1694.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_30_2632.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_34_3802.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_37_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":["1396858273","1396858252","1396858275","1396858272","1396858274","1396858262"],"photo_ids_order":["1396858252","1396858262","1396858272","1396858273","1396858274","1396858275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc0106378f721d2e1798559f83e296e4.jpg","text":"TemporaryFile(/tmp/multipartBody4581183922319628451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406483393,"filename":"image_31102025_09_15_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/11/29/59011d39462c97665c4da5bae39004f9.jpg","text":"TemporaryFile(/tmp/multipartBody2132205768193116400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406483393,"filename":"image_31102025_09_15_24_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6812a896b868a7abed04efbfee259986.jpg","text":"TemporaryFile(/tmp/multipartBody7429628383750182142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406483393,"filename":"image_31102025_09_15_37_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0dd788677cc8ffcb734a347afacb7d2.jpg","text":"TemporaryFile(/tmp/multipartBody6139944972587297149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406483393,"filename":"image_31102025_09_15_28_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8761cec1b4254cc8a123a2763064d2b0.jpg","text":"TemporaryFile(/tmp/multipartBody811715541138361910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406483393,"filename":"image_31102025_09_15_34_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a925289ac6f2c9992588fd041eac5b60.jpg","text":"TemporaryFile(/tmp/multipartBody1196247754817804325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406483393,"filename":"image_31102025_09_15_26_1552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858272","file1":"1396858262","file0":"1396858252","file4":"1396858274","file5":"1396858275","file3":"1396858273"},"map_files_photo_id_array":[{"photo_id":"1396858275","filename":"file5"},{"photo_id":"1396858272","filename":"file2"},{"photo_id":"1396858274","filename":"file4"},{"photo_id":"1396858262","filename":"file1"},{"photo_id":"1396858252","filename":"file0"},{"photo_id":"1396858273","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396858273":["hashtag1","hashtag2"]},{"1396858252":["hashtag1","hashtag2"]},{"1396858275":["hashtag1","hashtag2"]},{"1396858272":["hashtag1","hashtag2"]},{"1396858274":["hashtag1","hashtag2"]},{"1396858262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396858273, 1396858252, 1396858275, 1396858272, 1396858274, 1396858262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03395414352417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:54:22.434460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/50/image_29112025_09_50_34_9602.jpg', '/home/pi/Desktop/images/29112025/09/50/image_29112025_09_50_45_10648.jpg', '/home/pi/Desktop/images/29112025/09/50/image_29112025_09_50_55_9604.jpg', '/home/pi/Desktop/images/29112025/09/50/image_29112025_09_51_04_9577.jpg', '/home/pi/Desktop/images/29112025/09/51/image_29112025_09_51_15_10635.jpg', '/home/pi/Desktop/images/29112025/09/51/image_29112025_09_51_45_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/50/image_29112025_09_50_34_9602.jpg
/home/pi/Desktop/images/29112025/09/50/image_29112025_09_50_45_10648.jpg
/home/pi/Desktop/images/29112025/09/50/image_29112025_09_50_55_9604.jpg
/home/pi/Desktop/images/29112025/09/50/image_29112025_09_51_04_9577.jpg
/home/pi/Desktop/images/29112025/09/51/image_29112025_09_51_15_10635.jpg
/home/pi/Desktop/images/29112025/09/51/image_29112025_09_51_45_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858288","1396858295","1396858280","1396858283","1396858277","1396858291"],"photo_ids_order":["1396858277","1396858280","1396858283","1396858288","1396858291","1396858295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3715777494201918ebe51d74de822ab8.jpg","text":"TemporaryFile(/tmp/multipartBody5821769848692626150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406523115,"filename":"image_29112025_09_51_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/11/29/5ab608a35764aaed1272ee378b04f76b.jpg","text":"TemporaryFile(/tmp/multipartBody1470605832467773242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406523115,"filename":"image_29112025_09_51_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6351240d8d387b520d18a05552aef689.jpg","text":"TemporaryFile(/tmp/multipartBody4371518059107149306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406523115,"filename":"image_29112025_09_50_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/11/29/a3dffbaf324349c997de9f6b547cf0a9.jpg","text":"TemporaryFile(/tmp/multipartBody5070865978108500302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406523115,"filename":"image_29112025_09_50_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/11/29/55d5c994458a38487cb6cce1b54f3bef.jpg","text":"TemporaryFile(/tmp/multipartBody9153773323794315687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406523115,"filename":"image_29112025_09_50_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/11/29/1fb2e0a599d9d620cd698cf78c202a1a.jpg","text":"TemporaryFile(/tmp/multipartBody1534393337741999350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406523115,"filename":"image_29112025_09_51_15_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858283","file1":"1396858280","file0":"1396858277","file4":"1396858291","file5":"1396858295","file3":"1396858288"},"map_files_photo_id_array":[{"photo_id":"1396858295","filename":"file5"},{"photo_id":"1396858283","filename":"file2"},{"photo_id":"1396858291","filename":"file4"},{"photo_id":"1396858280","filename":"file1"},{"photo_id":"1396858277","filename":"file0"},{"photo_id":"1396858288","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396858288":["hashtag1","hashtag2"]},{"1396858295":["hashtag1","hashtag2"]},{"1396858280":["hashtag1","hashtag2"]},{"1396858283":["hashtag1","hashtag2"]},{"1396858277":["hashtag1","hashtag2"]},{"1396858291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396858288, 1396858295, 1396858280, 1396858283, 1396858277, 1396858291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45018434524536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:55:03.327644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/51/image_29112025_09_52_04_9718.jpg', '/home/pi/Desktop/images/29112025/09/52/image_29112025_09_52_15_10719.jpg', '/home/pi/Desktop/images/29112025/09/52/image_29112025_09_52_45_10683.jpg', '/home/pi/Desktop/images/29112025/09/52/image_29112025_09_52_55_9691.jpg', '/home/pi/Desktop/images/29112025/09/52/image_29112025_09_53_04_9564.jpg', '/home/pi/Desktop/images/29112025/09/53/image_29112025_09_53_24_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/51/image_29112025_09_52_04_9718.jpg
/home/pi/Desktop/images/29112025/09/52/image_29112025_09_52_15_10719.jpg
/home/pi/Desktop/images/29112025/09/52/image_29112025_09_52_45_10683.jpg
/home/pi/Desktop/images/29112025/09/52/image_29112025_09_52_55_9691.jpg
/home/pi/Desktop/images/29112025/09/52/image_29112025_09_53_04_9564.jpg
/home/pi/Desktop/images/29112025/09/53/image_29112025_09_53_24_9562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858315","1396858318","1396858312","1396858311","1396858310","1396858313"],"photo_ids_order":["1396858310","1396858311","1396858312","1396858313","1396858315","1396858318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b63620d53ed5a9b5774405fd041f1ab3.jpg","text":"TemporaryFile(/tmp/multipartBody2165560155080442835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406564114,"filename":"image_29112025_09_53_04_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c5b1097bc7f9354357d5470def8330f.jpg","text":"TemporaryFile(/tmp/multipartBody1739231912344981213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406564114,"filename":"image_29112025_09_53_24_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b39491f8e1a4b8afed14bc5fa26cec5c.jpg","text":"TemporaryFile(/tmp/multipartBody8930961129363356453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406564114,"filename":"image_29112025_09_52_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/11/29/7547bb3c76601ad345bb2676500ec2f7.jpg","text":"TemporaryFile(/tmp/multipartBody8497906897187154613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406564114,"filename":"image_29112025_09_52_15_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/277d2faec015a9064aafc86e319756fe.jpg","text":"TemporaryFile(/tmp/multipartBody3822614221978525916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406564114,"filename":"image_29112025_09_52_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/11/29/049eec1116a9c0fed176c7c53eb9c8b0.jpg","text":"TemporaryFile(/tmp/multipartBody2267142136579998672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406564114,"filename":"image_29112025_09_52_55_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858312","file1":"1396858311","file0":"1396858310","file4":"1396858315","file5":"1396858318","file3":"1396858313"},"map_files_photo_id_array":[{"photo_id":"1396858318","filename":"file5"},{"photo_id":"1396858312","filename":"file2"},{"photo_id":"1396858315","filename":"file4"},{"photo_id":"1396858311","filename":"file1"},{"photo_id":"1396858310","filename":"file0"},{"photo_id":"1396858313","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396858315":["hashtag1","hashtag2"]},{"1396858318":["hashtag1","hashtag2"]},{"1396858312":["hashtag1","hashtag2"]},{"1396858311":["hashtag1","hashtag2"]},{"1396858310":["hashtag1","hashtag2"]},{"1396858313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396858315, 1396858318, 1396858312, 1396858311, 1396858310, 1396858313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60603857040405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:55:42.721080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_40_2679.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_42_2650.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_48_6099.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_50_1623.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_54_2745.jpg', '/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_58_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_40_2679.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_42_2650.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_48_6099.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_50_1623.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_54_2745.jpg
/home/pi/Desktop/images/31102025/09/15/image_31102025_09_15_58_3745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858333","1396858408","1396858335","1396858370","1396858331","1396858328"],"photo_ids_order":["1396858328","1396858331","1396858333","1396858335","1396858370","1396858408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0691a2a2eb421e9a10532ce538f75499.jpg","text":"TemporaryFile(/tmp/multipartBody9017635127262259237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406603847,"filename":"image_31102025_09_15_48_6099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7386b07300ee13e80767d233c85aa9af.jpg","text":"TemporaryFile(/tmp/multipartBody439027613840259374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406603847,"filename":"image_31102025_09_15_58_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7affb505564c11281a73a0cbf78e65c.jpg","text":"TemporaryFile(/tmp/multipartBody8971450204623769649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406603847,"filename":"image_31102025_09_15_50_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36f39e2d6bb671bb01025327f320c321.jpg","text":"TemporaryFile(/tmp/multipartBody4965803358843659579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406603847,"filename":"image_31102025_09_15_54_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13566a2f4e3d546b912225634b652014.jpg","text":"TemporaryFile(/tmp/multipartBody5799929879592943875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406603847,"filename":"image_31102025_09_15_42_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/583d8168d5c2c8766411c269708fa606.jpg","text":"TemporaryFile(/tmp/multipartBody4975844533434683431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406603847,"filename":"image_31102025_09_15_40_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858333","file1":"1396858331","file0":"1396858328","file4":"1396858370","file5":"1396858408","file3":"1396858335"},"map_files_photo_id_array":[{"photo_id":"1396858408","filename":"file5"},{"photo_id":"1396858333","filename":"file2"},{"photo_id":"1396858370","filename":"file4"},{"photo_id":"1396858331","filename":"file1"},{"photo_id":"1396858328","filename":"file0"},{"photo_id":"1396858335","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396858333":["hashtag1","hashtag2"]},{"1396858408":["hashtag1","hashtag2"]},{"1396858335":["hashtag1","hashtag2"]},{"1396858370":["hashtag1","hashtag2"]},{"1396858331":["hashtag1","hashtag2"]},{"1396858328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396858333, 1396858408, 1396858335, 1396858370, 1396858331, 1396858328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74588322639465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 09:56:21.957681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/53/image_29112025_09_53_34_9767.jpg', '/home/pi/Desktop/images/29112025/09/53/image_29112025_09_53_45_10639.jpg', '/home/pi/Desktop/images/29112025/09/53/image_29112025_09_54_04_9682.jpg', '/home/pi/Desktop/images/29112025/09/54/image_29112025_09_54_15_10856.jpg', '/home/pi/Desktop/images/29112025/09/54/image_29112025_09_54_34_9625.jpg', '/home/pi/Desktop/images/29112025/09/54/image_29112025_09_54_45_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/53/image_29112025_09_53_34_9767.jpg
/home/pi/Desktop/images/29112025/09/53/image_29112025_09_53_45_10639.jpg
/home/pi/Desktop/images/29112025/09/53/image_29112025_09_54_04_9682.jpg
/home/pi/Desktop/images/29112025/09/54/image_29112025_09_54_15_10856.jpg
/home/pi/Desktop/images/29112025/09/54/image_29112025_09_54_34_9625.jpg
/home/pi/Desktop/images/29112025/09/54/image_29112025_09_54_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":["1396858672","1396858573","1396858612","1396858533","1396858667","1396858646"],"photo_ids_order":["1396858533","1396858573","1396858612","1396858646","1396858667","1396858672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2cc9a7fc7dcbc6956baa9802c3728632.jpg","text":"TemporaryFile(/tmp/multipartBody7291997817536150623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406642639,"filename":"image_29112025_09_54_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/11/29/4348396a602379f4d7c37d3635314625.jpg","text":"TemporaryFile(/tmp/multipartBody6313643076418749749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406642639,"filename":"image_29112025_09_53_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b671bbe7ad89010161f5a2e52ac97f3f.jpg","text":"TemporaryFile(/tmp/multipartBody3710701394136176382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406642639,"filename":"image_29112025_09_54_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/11/29/f7a09cccdda0905f1d5e4f79a9bf0897.jpg","text":"TemporaryFile(/tmp/multipartBody6201493978742750425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406642639,"filename":"image_29112025_09_53_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/11/29/3c2d6a047fae0695d68dba8684ed87cc.jpg","text":"TemporaryFile(/tmp/multipartBody3477041392099127432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406642639,"filename":"image_29112025_09_54_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81bd375f796c6d60d80bf04baa4b6db6.jpg","text":"TemporaryFile(/tmp/multipartBody6566275689175704444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406642639,"filename":"image_29112025_09_54_15_10856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858612","file1":"1396858573","file0":"1396858533","file4":"1396858667","file5":"1396858672","file3":"1396858646"},"map_files_photo_id_array":[{"photo_id":"1396858672","filename":"file5"},{"photo_id":"1396858612","filename":"file2"},{"photo_id":"1396858667","filename":"file4"},{"photo_id":"1396858573","filename":"file1"},{"photo_id":"1396858533","filename":"file0"},{"photo_id":"1396858646","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396858672":["hashtag1","hashtag2"]},{"1396858573":["hashtag1","hashtag2"]},{"1396858612":["hashtag1","hashtag2"]},{"1396858533":["hashtag1","hashtag2"]},{"1396858667":["hashtag1","hashtag2"]},{"1396858646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396858672, 1396858573, 1396858612, 1396858533, 1396858667, 1396858646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.201226234436035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:57:02.814617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/54/image_29112025_09_54_55_9690.jpg', '/home/pi/Desktop/images/29112025/09/54/image_29112025_09_55_04_9557.jpg', '/home/pi/Desktop/images/29112025/09/55/image_29112025_09_55_15_10654.jpg', '/home/pi/Desktop/images/29112025/09/55/image_29112025_09_55_25_9651.jpg', '/home/pi/Desktop/images/29112025/09/55/image_29112025_09_55_34_9545.jpg', '/home/pi/Desktop/images/29112025/09/55/image_29112025_09_55_55_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/54/image_29112025_09_54_55_9690.jpg
/home/pi/Desktop/images/29112025/09/54/image_29112025_09_55_04_9557.jpg
/home/pi/Desktop/images/29112025/09/55/image_29112025_09_55_15_10654.jpg
/home/pi/Desktop/images/29112025/09/55/image_29112025_09_55_25_9651.jpg
/home/pi/Desktop/images/29112025/09/55/image_29112025_09_55_34_9545.jpg
/home/pi/Desktop/images/29112025/09/55/image_29112025_09_55_55_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858690","1396858686","1396858685","1396858688","1396858693","1396858687"],"photo_ids_order":["1396858685","1396858686","1396858687","1396858688","1396858690","1396858693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8618fe76a7fc7d4c3bc316a58b3dd6a.jpg","text":"TemporaryFile(/tmp/multipartBody4025628835881605229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406683606,"filename":"image_29112025_09_55_34_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dff5a4035a860b48584e58548ba3d57e.jpg","text":"TemporaryFile(/tmp/multipartBody975141656974813197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406683606,"filename":"image_29112025_09_55_04_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f87ef440be11909de42d68745b7c7b3.jpg","text":"TemporaryFile(/tmp/multipartBody377255153161669300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406683606,"filename":"image_29112025_09_54_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/11/29/1aa1bc770dbe54fe87ab983574711c23.jpg","text":"TemporaryFile(/tmp/multipartBody7892955284262388574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406683606,"filename":"image_29112025_09_55_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/11/29/a2e99679678cec5343b493212da220cc.jpg","text":"TemporaryFile(/tmp/multipartBody6162474716165984832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406683606,"filename":"image_29112025_09_55_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4640ccb65ca07daa39bc610072892b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4756085777046601139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406683606,"filename":"image_29112025_09_55_15_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858687","file1":"1396858686","file0":"1396858685","file4":"1396858690","file5":"1396858693","file3":"1396858688"},"map_files_photo_id_array":[{"photo_id":"1396858693","filename":"file5"},{"photo_id":"1396858687","filename":"file2"},{"photo_id":"1396858690","filename":"file4"},{"photo_id":"1396858686","filename":"file1"},{"photo_id":"1396858685","filename":"file0"},{"photo_id":"1396858688","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396858690":["hashtag1","hashtag2"]},{"1396858686":["hashtag1","hashtag2"]},{"1396858685":["hashtag1","hashtag2"]},{"1396858688":["hashtag1","hashtag2"]},{"1396858693":["hashtag1","hashtag2"]},{"1396858687":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396858690, 1396858686, 1396858685, 1396858688, 1396858693, 1396858687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.817387342453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:57:42.198540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_01_2545.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_04_2998.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_06_2640.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_10_3764.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_13_2826.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_16_2866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_01_2545.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_04_2998.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_06_2640.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_10_3764.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_13_2826.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_16_2866.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858705","1396858708","1396858704","1396858707","1396858703","1396858706"],"photo_ids_order":["1396858703","1396858704","1396858705","1396858706","1396858707","1396858708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/637b3be9c081a3538c0ade9eff2366b4.jpg","text":"TemporaryFile(/tmp/multipartBody7180928225319755397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406723336,"filename":"image_31102025_09_16_06_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef1ff823cbce968dc8f7ef3d50d6e34c.jpg","text":"TemporaryFile(/tmp/multipartBody513182403005681588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406723336,"filename":"image_31102025_09_16_16_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de21e572b5c667c059f32e0f080ab342.jpg","text":"TemporaryFile(/tmp/multipartBody644285491838059097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406723336,"filename":"image_31102025_09_16_04_2998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90b36bcd566bec88c36a530f92ac57ba.jpg","text":"TemporaryFile(/tmp/multipartBody6359106639395138223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406723336,"filename":"image_31102025_09_16_13_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/983b18259edb40ef6402028f47587580.jpg","text":"TemporaryFile(/tmp/multipartBody7640388982190884569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406723336,"filename":"image_31102025_09_16_01_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1529aa7f3ee7eeb20d87e5b353d48b7d.jpg","text":"TemporaryFile(/tmp/multipartBody2810975376150158606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406723336,"filename":"image_31102025_09_16_10_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858705","file1":"1396858704","file0":"1396858703","file4":"1396858707","file5":"1396858708","file3":"1396858706"},"map_files_photo_id_array":[{"photo_id":"1396858708","filename":"file5"},{"photo_id":"1396858705","filename":"file2"},{"photo_id":"1396858707","filename":"file4"},{"photo_id":"1396858704","filename":"file1"},{"photo_id":"1396858703","filename":"file0"},{"photo_id":"1396858706","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396858705":["hashtag1","hashtag2"]},{"1396858708":["hashtag1","hashtag2"]},{"1396858704":["hashtag1","hashtag2"]},{"1396858707":["hashtag1","hashtag2"]},{"1396858703":["hashtag1","hashtag2"]},{"1396858706":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396858705, 1396858708, 1396858704, 1396858707, 1396858703, 1396858706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.724977254867554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 09:59:03.285153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/55/image_29112025_09_56_04_9884.jpg', '/home/pi/Desktop/images/29112025/09/56/image_29112025_09_56_14_9763.jpg', '/home/pi/Desktop/images/29112025/09/56/image_29112025_09_56_25_10628.jpg', '/home/pi/Desktop/images/29112025/09/56/image_29112025_09_56_34_9625.jpg', '/home/pi/Desktop/images/29112025/09/56/image_29112025_09_56_45_10642.jpg', '/home/pi/Desktop/images/29112025/09/56/image_29112025_09_56_55_10031.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/55/image_29112025_09_56_04_9884.jpg
/home/pi/Desktop/images/29112025/09/56/image_29112025_09_56_14_9763.jpg
/home/pi/Desktop/images/29112025/09/56/image_29112025_09_56_25_10628.jpg
/home/pi/Desktop/images/29112025/09/56/image_29112025_09_56_34_9625.jpg
/home/pi/Desktop/images/29112025/09/56/image_29112025_09_56_45_10642.jpg
/home/pi/Desktop/images/29112025/09/56/image_29112025_09_56_55_10031.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858723","1396858720","1396858717","1396858712","1396858715","1396858709"],"photo_ids_order":["1396858709","1396858712","1396858715","1396858717","1396858720","1396858723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c5099ba561f7a880e42057530a9a5bf.jpg","text":"TemporaryFile(/tmp/multipartBody9036218234954132088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406804174,"filename":"image_29112025_09_56_55_10031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d746d009e1fc2a9175fad4b86e70ba22.jpg","text":"TemporaryFile(/tmp/multipartBody2926225246514944893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406804174,"filename":"image_29112025_09_56_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54e1c120448358162d427555dade9386.jpg","text":"TemporaryFile(/tmp/multipartBody7357551178129680405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406804174,"filename":"image_29112025_09_56_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27915cfb8693da90251505ee54ad63cf.jpg","text":"TemporaryFile(/tmp/multipartBody6463089836723634879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406804174,"filename":"image_29112025_09_56_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/11/29/7dc3cb74ea03f147536c2efa3e79d64f.jpg","text":"TemporaryFile(/tmp/multipartBody1444566457044975126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406804174,"filename":"image_29112025_09_56_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/11/29/fd24fe9c2b4e4b43e528cec731d93b23.jpg","text":"TemporaryFile(/tmp/multipartBody7245999325289702461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406804174,"filename":"image_29112025_09_56_04_9884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858715","file1":"1396858712","file0":"1396858709","file4":"1396858720","file5":"1396858723","file3":"1396858717"},"map_files_photo_id_array":[{"photo_id":"1396858723","filename":"file5"},{"photo_id":"1396858715","filename":"file2"},{"photo_id":"1396858720","filename":"file4"},{"photo_id":"1396858712","filename":"file1"},{"photo_id":"1396858709","filename":"file0"},{"photo_id":"1396858717","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396858723":["hashtag1","hashtag2"]},{"1396858720":["hashtag1","hashtag2"]},{"1396858717":["hashtag1","hashtag2"]},{"1396858712":["hashtag1","hashtag2"]},{"1396858715":["hashtag1","hashtag2"]},{"1396858709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396858723, 1396858720, 1396858717, 1396858712, 1396858715, 1396858709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37187671661377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 09:59:42.479476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_21_5618.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_23_1617.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_27_1670.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_31_3540.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_34_2682.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_36_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_21_5618.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_23_1617.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_27_1670.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_31_3540.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_34_2682.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_36_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858738","1396858729","1396858746","1396858743","1396858751","1396858748"],"photo_ids_order":["1396858729","1396858738","1396858743","1396858746","1396858748","1396858751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95b46fae64134215eafc8d97594af599.jpg","text":"TemporaryFile(/tmp/multipartBody7181508252514750401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406843623,"filename":"image_31102025_09_16_23_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa32a9abc048bdec2c8435bf085c0da2.jpg","text":"TemporaryFile(/tmp/multipartBody3000121077448462361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406843623,"filename":"image_31102025_09_16_21_5618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb889741d472e57f42d89e7773216a67.jpg","text":"TemporaryFile(/tmp/multipartBody520270985399199166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406843623,"filename":"image_31102025_09_16_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/11/29/ed3deffd1b0735b0ece4486a66ac5d4b.jpg","text":"TemporaryFile(/tmp/multipartBody1955471120319817839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406843623,"filename":"image_31102025_09_16_27_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b442b03a66542fe13a8ee722ae200745.jpg","text":"TemporaryFile(/tmp/multipartBody5207072251083301916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406843623,"filename":"image_31102025_09_16_36_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27604f1d6b5723d32e9d59e6cfa141eb.jpg","text":"TemporaryFile(/tmp/multipartBody6631946891677288452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406843623,"filename":"image_31102025_09_16_34_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858743","file1":"1396858738","file0":"1396858729","file4":"1396858748","file5":"1396858751","file3":"1396858746"},"map_files_photo_id_array":[{"photo_id":"1396858751","filename":"file5"},{"photo_id":"1396858743","filename":"file2"},{"photo_id":"1396858748","filename":"file4"},{"photo_id":"1396858738","filename":"file1"},{"photo_id":"1396858729","filename":"file0"},{"photo_id":"1396858746","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396858738":["hashtag1","hashtag2"]},{"1396858729":["hashtag1","hashtag2"]},{"1396858746":["hashtag1","hashtag2"]},{"1396858743":["hashtag1","hashtag2"]},{"1396858751":["hashtag1","hashtag2"]},{"1396858748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396858738, 1396858729, 1396858746, 1396858743, 1396858751, 1396858748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93721151351929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:00:22.660699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/56/image_29112025_09_57_05_9701.jpg', '/home/pi/Desktop/images/29112025/09/57/image_29112025_09_57_15_9782.jpg', '/home/pi/Desktop/images/29112025/09/57/image_29112025_09_57_25_10552.jpg', '/home/pi/Desktop/images/29112025/09/57/image_29112025_09_57_44_9600.jpg', '/home/pi/Desktop/images/29112025/09/57/image_29112025_09_57_55_10603.jpg', '/home/pi/Desktop/images/29112025/09/57/image_29112025_09_58_05_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/56/image_29112025_09_57_05_9701.jpg
/home/pi/Desktop/images/29112025/09/57/image_29112025_09_57_15_9782.jpg
/home/pi/Desktop/images/29112025/09/57/image_29112025_09_57_25_10552.jpg
/home/pi/Desktop/images/29112025/09/57/image_29112025_09_57_44_9600.jpg
/home/pi/Desktop/images/29112025/09/57/image_29112025_09_57_55_10603.jpg
/home/pi/Desktop/images/29112025/09/57/image_29112025_09_58_05_9807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858770","1396858764","1396858767","1396858757","1396858760","1396858754"],"photo_ids_order":["1396858754","1396858757","1396858760","1396858764","1396858767","1396858770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f0097ea56882f2c9db612ac2417150a.jpg","text":"TemporaryFile(/tmp/multipartBody5673892472088999399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406883322,"filename":"image_29112025_09_58_05_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb1450212be737448c0a693cba888bce.jpg","text":"TemporaryFile(/tmp/multipartBody5579480657462183264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406883322,"filename":"image_29112025_09_57_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/11/29/918a2bc1e02dd9793888c1ceba860faf.jpg","text":"TemporaryFile(/tmp/multipartBody3305017403752181806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406883322,"filename":"image_29112025_09_57_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ea44c5ce774127d015308dd079303fe.jpg","text":"TemporaryFile(/tmp/multipartBody534117250229966613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406883322,"filename":"image_29112025_09_57_15_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b693c2af765e5daa412698e3a70bc05.jpg","text":"TemporaryFile(/tmp/multipartBody566073913674387628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406883322,"filename":"image_29112025_09_57_25_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b83110cb5a80b76584a77b8370d6a87.jpg","text":"TemporaryFile(/tmp/multipartBody6807177891771717013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406883322,"filename":"image_29112025_09_57_05_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858760","file1":"1396858757","file0":"1396858754","file4":"1396858767","file5":"1396858770","file3":"1396858764"},"map_files_photo_id_array":[{"photo_id":"1396858770","filename":"file5"},{"photo_id":"1396858760","filename":"file2"},{"photo_id":"1396858767","filename":"file4"},{"photo_id":"1396858757","filename":"file1"},{"photo_id":"1396858754","filename":"file0"},{"photo_id":"1396858764","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396858770":["hashtag1","hashtag2"]},{"1396858764":["hashtag1","hashtag2"]},{"1396858767":["hashtag1","hashtag2"]},{"1396858757":["hashtag1","hashtag2"]},{"1396858760":["hashtag1","hashtag2"]},{"1396858754":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396858770, 1396858764, 1396858767, 1396858757, 1396858760, 1396858754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.663729667663574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:01:03.400275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/58/image_29112025_09_58_14_9650.jpg', '/home/pi/Desktop/images/29112025/09/58/image_29112025_09_58_25_10776.jpg', '/home/pi/Desktop/images/29112025/09/58/image_29112025_09_58_35_9638.jpg', '/home/pi/Desktop/images/29112025/09/58/image_29112025_09_58_44_9688.jpg', '/home/pi/Desktop/images/29112025/09/58/image_29112025_09_59_05_9761.jpg', '/home/pi/Desktop/images/29112025/09/59/image_29112025_09_59_14_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/58/image_29112025_09_58_14_9650.jpg
/home/pi/Desktop/images/29112025/09/58/image_29112025_09_58_25_10776.jpg
/home/pi/Desktop/images/29112025/09/58/image_29112025_09_58_35_9638.jpg
/home/pi/Desktop/images/29112025/09/58/image_29112025_09_58_44_9688.jpg
/home/pi/Desktop/images/29112025/09/58/image_29112025_09_59_05_9761.jpg
/home/pi/Desktop/images/29112025/09/59/image_29112025_09_59_14_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858777","1396858779","1396858776","1396858775","1396858772","1396858774"],"photo_ids_order":["1396858772","1396858774","1396858775","1396858776","1396858777","1396858779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d97e04422bc6a4c25643d7dfbb6ef0d.jpg","text":"TemporaryFile(/tmp/multipartBody6960836365462418697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406924105,"filename":"image_29112025_09_59_05_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6ba727304638699b31e8ff8cfef26ce.jpg","text":"TemporaryFile(/tmp/multipartBody5609628722144213211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406924105,"filename":"image_29112025_09_59_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/11/29/1d62550b0578177065d48c24ba57c0cf.jpg","text":"TemporaryFile(/tmp/multipartBody2373353206702156311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406924105,"filename":"image_29112025_09_58_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/837b83879b104c645ef03766b7f612f8.jpg","text":"TemporaryFile(/tmp/multipartBody3852794190408546803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406924105,"filename":"image_29112025_09_58_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd2f02cb084ecf941f775930d68fa5e2.jpg","text":"TemporaryFile(/tmp/multipartBody8119157508879705181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406924105,"filename":"image_29112025_09_58_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/11/29/c1c23edcacf2ced518fef70631c50c9c.jpg","text":"TemporaryFile(/tmp/multipartBody2924896595049494931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406924105,"filename":"image_29112025_09_58_25_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858775","file1":"1396858774","file0":"1396858772","file4":"1396858777","file5":"1396858779","file3":"1396858776"},"map_files_photo_id_array":[{"photo_id":"1396858779","filename":"file5"},{"photo_id":"1396858775","filename":"file2"},{"photo_id":"1396858777","filename":"file4"},{"photo_id":"1396858774","filename":"file1"},{"photo_id":"1396858772","filename":"file0"},{"photo_id":"1396858776","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396858777":["hashtag1","hashtag2"]},{"1396858779":["hashtag1","hashtag2"]},{"1396858776":["hashtag1","hashtag2"]},{"1396858775":["hashtag1","hashtag2"]},{"1396858772":["hashtag1","hashtag2"]},{"1396858774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396858777, 1396858779, 1396858776, 1396858775, 1396858772, 1396858774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88427209854126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:01:42.779571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_40_3703.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_42_2583.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_45_2620.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_49_3565.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_51_2642.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_54_2941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_40_3703.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_42_2583.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_45_2620.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_49_3565.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_51_2642.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_54_2941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396858797","1396858791","1396858788","1396858793","1396858796","1396858795"],"photo_ids_order":["1396858788","1396858791","1396858793","1396858795","1396858796","1396858797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2084651f61b059a8026a8c6f0598fdbb.jpg","text":"TemporaryFile(/tmp/multipartBody3762334160780897262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406964046,"filename":"image_31102025_09_16_54_2941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ebff077ded812307b58e1752cb428949.jpg","text":"TemporaryFile(/tmp/multipartBody1925474015673296698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406964046,"filename":"image_31102025_09_16_42_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8117d8ff1f5fbe635677fee12140f147.jpg","text":"TemporaryFile(/tmp/multipartBody663334563615887708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406964046,"filename":"image_31102025_09_16_40_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/238ceb0f830741d29c17070eb92cfe23.jpg","text":"TemporaryFile(/tmp/multipartBody3146394311097163643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406964046,"filename":"image_31102025_09_16_45_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9b4594030fe6168b6ea7838d10bac5b.jpg","text":"TemporaryFile(/tmp/multipartBody984971658726456795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406964046,"filename":"image_31102025_09_16_51_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d719a2f564a8a8af3a17096157c7e77b.jpg","text":"TemporaryFile(/tmp/multipartBody3278234359586339554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764406964046,"filename":"image_31102025_09_16_49_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858793","file1":"1396858791","file0":"1396858788","file4":"1396858796","file5":"1396858797","file3":"1396858795"},"map_files_photo_id_array":[{"photo_id":"1396858797","filename":"file5"},{"photo_id":"1396858793","filename":"file2"},{"photo_id":"1396858796","filename":"file4"},{"photo_id":"1396858791","filename":"file1"},{"photo_id":"1396858788","filename":"file0"},{"photo_id":"1396858795","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396858797":["hashtag1","hashtag2"]},{"1396858791":["hashtag1","hashtag2"]},{"1396858788":["hashtag1","hashtag2"]},{"1396858793":["hashtag1","hashtag2"]},{"1396858796":["hashtag1","hashtag2"]},{"1396858795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396858797, 1396858791, 1396858788, 1396858793, 1396858796, 1396858795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.037121534347534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:02:22.027754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/09/59/image_29112025_09_59_24_9704.jpg', '/home/pi/Desktop/images/29112025/09/59/image_29112025_09_59_35_10572.jpg', '/home/pi/Desktop/images/29112025/09/59/image_29112025_09_59_55_10590.jpg', '/home/pi/Desktop/images/29112025/10/00/image_29112025_10_00_15_10055.jpg', '/home/pi/Desktop/images/29112025/10/00/image_29112025_10_00_25_10687.jpg', '/home/pi/Desktop/images/29112025/10/00/image_29112025_10_00_45_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/09/59/image_29112025_09_59_24_9704.jpg
/home/pi/Desktop/images/29112025/09/59/image_29112025_09_59_35_10572.jpg
/home/pi/Desktop/images/29112025/09/59/image_29112025_09_59_55_10590.jpg
/home/pi/Desktop/images/29112025/10/00/image_29112025_10_00_15_10055.jpg
/home/pi/Desktop/images/29112025/10/00/image_29112025_10_00_25_10687.jpg
/home/pi/Desktop/images/29112025/10/00/image_29112025_10_00_45_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":["1396858884","1396858991","1396859030","1396858955","1396858844","1396858919"],"photo_ids_order":["1396858844","1396858884","1396858919","1396858955","1396858991","1396859030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6394665d6044d0d1a4336275398e0438.jpg","text":"TemporaryFile(/tmp/multipartBody8159423971773441142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407002664,"filename":"image_29112025_09_59_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fd738008730d9b0442abe584419a3a9.jpg","text":"TemporaryFile(/tmp/multipartBody544938094547271107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407002664,"filename":"image_29112025_10_00_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9cea3334610cba2588dc88cbfa47077.jpg","text":"TemporaryFile(/tmp/multipartBody7066124604279724982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407002664,"filename":"image_29112025_10_00_45_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19fbcbd15537544e3abe13685a8b61cc.jpg","text":"TemporaryFile(/tmp/multipartBody7628980874994129726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407002664,"filename":"image_29112025_10_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/11/29/6c6612f719d90cbddd2e850f3a61e533.jpg","text":"TemporaryFile(/tmp/multipartBody5252197684501991236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407002664,"filename":"image_29112025_09_59_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/11/29/228fef3ed612cacd0d19e9f4ecf6a89f.jpg","text":"TemporaryFile(/tmp/multipartBody9114290821617760839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407002664,"filename":"image_29112025_09_59_55_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396858919","file1":"1396858884","file0":"1396858844","file4":"1396858991","file5":"1396859030","file3":"1396858955"},"map_files_photo_id_array":[{"photo_id":"1396859030","filename":"file5"},{"photo_id":"1396858919","filename":"file2"},{"photo_id":"1396858991","filename":"file4"},{"photo_id":"1396858884","filename":"file1"},{"photo_id":"1396858844","filename":"file0"},{"photo_id":"1396858955","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396858884":["hashtag1","hashtag2"]},{"1396858991":["hashtag1","hashtag2"]},{"1396859030":["hashtag1","hashtag2"]},{"1396858955":["hashtag1","hashtag2"]},{"1396858844":["hashtag1","hashtag2"]},{"1396858919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396858884, 1396858991, 1396859030, 1396858955, 1396858844, 1396858919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.043169021606445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:03:02.754376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/00/image_29112025_10_00_55_9724.jpg', '/home/pi/Desktop/images/29112025/10/01/image_29112025_10_01_15_9795.jpg', '/home/pi/Desktop/images/29112025/10/01/image_29112025_10_01_25_10665.jpg', '/home/pi/Desktop/images/29112025/10/01/image_29112025_10_01_35_9619.jpg', '/home/pi/Desktop/images/29112025/10/01/image_29112025_10_01_45_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/00/image_29112025_10_00_55_9724.jpg
/home/pi/Desktop/images/29112025/10/01/image_29112025_10_01_15_9795.jpg
/home/pi/Desktop/images/29112025/10/01/image_29112025_10_01_25_10665.jpg
/home/pi/Desktop/images/29112025/10/01/image_29112025_10_01_35_9619.jpg
/home/pi/Desktop/images/29112025/10/01/image_29112025_10_01_45_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":["1396859325","1396859177","1396859216","1396859287","1396859251"],"photo_ids_order":["1396859177","1396859216","1396859251","1396859287","1396859325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6c2377075f02563f1cc5454698ca195.jpg","text":"TemporaryFile(/tmp/multipartBody5051665218285758767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407043464,"filename":"image_29112025_10_01_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5785f351cefa062b734cf150890960b9.jpg","text":"TemporaryFile(/tmp/multipartBody5253863682163720798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407043464,"filename":"image_29112025_10_00_55_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1aa4c61be81e9d299eff5110df912c20.jpg","text":"TemporaryFile(/tmp/multipartBody9057373784843330160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407043464,"filename":"image_29112025_10_01_15_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/125f5f00cd10d60b99fd2e4e25311e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4882851518235365981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407043464,"filename":"image_29112025_10_01_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/11/29/3a241083b2bcaba81f17ab3b5b65145f.jpg","text":"TemporaryFile(/tmp/multipartBody1893317950225531204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407043464,"filename":"image_29112025_10_01_25_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396859251","file1":"1396859216","file0":"1396859177","file4":"1396859325","file3":"1396859287"},"map_files_photo_id_array":[{"photo_id":"1396859251","filename":"file2"},{"photo_id":"1396859325","filename":"file4"},{"photo_id":"1396859216","filename":"file1"},{"photo_id":"1396859177","filename":"file0"},{"photo_id":"1396859287","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396859325":["hashtag1","hashtag2"]},{"1396859177":["hashtag1","hashtag2"]},{"1396859216":["hashtag1","hashtag2"]},{"1396859287":["hashtag1","hashtag2"]},{"1396859251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396859325, 1396859177, 1396859216, 1396859287, 1396859251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.54809045791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:03:42.109357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/16/image_31102025_09_16_57_2944.jpg', '/home/pi/Desktop/images/31102025/09/16/image_31102025_09_17_01_3550.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_04_2814.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_06_2661.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_13_2768.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_15_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/09/16/image_31102025_09_16_57_2944.jpg
/home/pi/Desktop/images/31102025/09/16/image_31102025_09_17_01_3550.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_04_2814.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_06_2661.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_13_2768.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_15_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":["1396859499","1396859637","1396859604","1396859570","1396859534","1396859674"],"photo_ids_order":["1396859499","1396859534","1396859570","1396859604","1396859637","1396859674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c2ffad91b5b0bec29a18fc9e3893b03.jpg","text":"TemporaryFile(/tmp/multipartBody7661148224314846451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407083227,"filename":"image_31102025_09_16_57_2944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa35841049184b3c85df3457a5c60997.jpg","text":"TemporaryFile(/tmp/multipartBody514132624887035586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407083227,"filename":"image_31102025_09_17_13_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/879a9487cb8ee402acea3d2bf1f3059b.jpg","text":"TemporaryFile(/tmp/multipartBody7533738121581557567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407083227,"filename":"image_31102025_09_17_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/11/29/55c94c8c81da2f2e0fb3889470edc557.jpg","text":"TemporaryFile(/tmp/multipartBody378376463299019062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407083227,"filename":"image_31102025_09_17_04_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5bf111b6295240a87464ef56253bec61.jpg","text":"TemporaryFile(/tmp/multipartBody3879431530273470860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407083227,"filename":"image_31102025_09_17_01_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7258bb4c74f503003c80d1aeb8aa5a68.jpg","text":"TemporaryFile(/tmp/multipartBody5233030181005096678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407083227,"filename":"image_31102025_09_17_15_2577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396859570","file1":"1396859534","file0":"1396859499","file4":"1396859637","file5":"1396859674","file3":"1396859604"},"map_files_photo_id_array":[{"photo_id":"1396859674","filename":"file5"},{"photo_id":"1396859570","filename":"file2"},{"photo_id":"1396859637","filename":"file4"},{"photo_id":"1396859534","filename":"file1"},{"photo_id":"1396859499","filename":"file0"},{"photo_id":"1396859604","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396859499":["hashtag1","hashtag2"]},{"1396859637":["hashtag1","hashtag2"]},{"1396859604":["hashtag1","hashtag2"]},{"1396859570":["hashtag1","hashtag2"]},{"1396859534":["hashtag1","hashtag2"]},{"1396859674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396859499, 1396859637, 1396859604, 1396859570, 1396859534, 1396859674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78080773353577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:04:22.281090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/01/image_29112025_10_01_55_9487.jpg', '/home/pi/Desktop/images/29112025/10/03/image_29112025_10_03_25_10518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/01/image_29112025_10_01_55_9487.jpg
/home/pi/Desktop/images/29112025/10/03/image_29112025_10_03_25_10518.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396859847","1396859809"],"photo_ids_order":["1396859809","1396859847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0aa35f0d8e5d02eaf1641702f15cb43a.jpg","text":"TemporaryFile(/tmp/multipartBody961919467877219443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407122815,"filename":"image_29112025_10_03_25_10518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c5d5e09a08765e30b6eca70925c9ac5.jpg","text":"TemporaryFile(/tmp/multipartBody9207656044451297351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407122815,"filename":"image_29112025_10_01_55_9487.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396859847","file0":"1396859809"},"map_files_photo_id_array":[{"photo_id":"1396859847","filename":"file1"},{"photo_id":"1396859809","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396859847":["hashtag1","hashtag2"]},{"1396859809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396859847, 1396859809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.653676986694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:04:42.250606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_19_3560.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_22_2661.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_24_2793.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_27_2651.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_31_3686.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_33_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/09/17/image_31102025_09_17_19_3560.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_22_2661.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_24_2793.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_27_2651.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_31_3686.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_33_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":["1396860067","1396860171","1396860204","1396860102","1396860239","1396860137"],"photo_ids_order":["1396860067","1396860102","1396860137","1396860171","1396860204","1396860239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd7019041984bd0e46a062b8ef2af5d1.jpg","text":"TemporaryFile(/tmp/multipartBody5553092776655390985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407143354,"filename":"image_31102025_09_17_19_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e4bf1848f3ec7d01431c3aaf2513ede.jpg","text":"TemporaryFile(/tmp/multipartBody4416440012306413974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407143354,"filename":"image_31102025_09_17_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/11/29/5b73b48b94b41243a1c53d5682082c9f.jpg","text":"TemporaryFile(/tmp/multipartBody712722616421212604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407143354,"filename":"image_31102025_09_17_31_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d76af2481ba483fc381e5d40324405fc.jpg","text":"TemporaryFile(/tmp/multipartBody6992809760853467641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407143354,"filename":"image_31102025_09_17_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/11/29/7cc72da5fb0d01d7d8316f1a645855fb.jpg","text":"TemporaryFile(/tmp/multipartBody5827870061763421035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407143354,"filename":"image_31102025_09_17_33_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6aa3185d3d040492b7bbb505b7c6489a.jpg","text":"TemporaryFile(/tmp/multipartBody1024821512863752650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407143354,"filename":"image_31102025_09_17_24_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396860137","file1":"1396860102","file0":"1396860067","file4":"1396860204","file5":"1396860239","file3":"1396860171"},"map_files_photo_id_array":[{"photo_id":"1396860239","filename":"file5"},{"photo_id":"1396860137","filename":"file2"},{"photo_id":"1396860204","filename":"file4"},{"photo_id":"1396860102","filename":"file1"},{"photo_id":"1396860067","filename":"file0"},{"photo_id":"1396860171","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396860067":["hashtag1","hashtag2"]},{"1396860171":["hashtag1","hashtag2"]},{"1396860204":["hashtag1","hashtag2"]},{"1396860102":["hashtag1","hashtag2"]},{"1396860239":["hashtag1","hashtag2"]},{"1396860137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396860067, 1396860171, 1396860204, 1396860102, 1396860239, 1396860137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44852042198181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:05:22.417784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/03/image_29112025_10_03_35_9672.jpg', '/home/pi/Desktop/images/29112025/10/05/image_29112025_10_05_14_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/03/image_29112025_10_03_35_9672.jpg
/home/pi/Desktop/images/29112025/10/05/image_29112025_10_05_14_10055.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396860377","1396860425"],"photo_ids_order":["1396860377","1396860425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd12c08b55f96894862fb8e56f05cde8.jpg","text":"TemporaryFile(/tmp/multipartBody8852117512801545198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407182945,"filename":"image_29112025_10_03_35_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69146f106f78c5dbe8607f203a121db7.jpg","text":"TemporaryFile(/tmp/multipartBody4311844320846527410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407182945,"filename":"image_29112025_10_05_14_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396860425","file0":"1396860377"},"map_files_photo_id_array":[{"photo_id":"1396860425","filename":"file1"},{"photo_id":"1396860377","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396860377":["hashtag1","hashtag2"]},{"1396860425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396860377, 1396860425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.686527729034424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:05:42.480621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_36_2654.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_40_3679.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_42_2729.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_45_2619.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_49_3656.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_51_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_36_2654.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_40_3679.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_42_2729.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_45_2619.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_49_3656.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_51_2800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396860835","1396860690","1396860564","1396860641","1396860757","1396860602"],"photo_ids_order":["1396860564","1396860602","1396860641","1396860690","1396860757","1396860835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c19e1b54fb194fe220b070a085871b54.jpg","text":"TemporaryFile(/tmp/multipartBody1594867003034444818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407203626,"filename":"image_31102025_09_17_51_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91e21c329fa8000ec09b35483212a12d.jpg","text":"TemporaryFile(/tmp/multipartBody2216426421622705723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407203626,"filename":"image_31102025_09_17_45_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad0c97fff94cc18401cc371dd7820d56.jpg","text":"TemporaryFile(/tmp/multipartBody1857291785694032830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407203626,"filename":"image_31102025_09_17_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/11/29/5c5053e37402d6bea440da8b9b599444.jpg","text":"TemporaryFile(/tmp/multipartBody2303870987596074362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407203626,"filename":"image_31102025_09_17_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/11/29/2eec63b4231bbbcb5744d94eac9593a3.jpg","text":"TemporaryFile(/tmp/multipartBody5312491357607889810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407203626,"filename":"image_31102025_09_17_49_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/977de000a5c626e20afcfedb5c44824b.jpg","text":"TemporaryFile(/tmp/multipartBody6157895024136645644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407203626,"filename":"image_31102025_09_17_40_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396860641","file1":"1396860602","file0":"1396860564","file4":"1396860757","file5":"1396860835","file3":"1396860690"},"map_files_photo_id_array":[{"photo_id":"1396860835","filename":"file5"},{"photo_id":"1396860641","filename":"file2"},{"photo_id":"1396860757","filename":"file4"},{"photo_id":"1396860602","filename":"file1"},{"photo_id":"1396860564","filename":"file0"},{"photo_id":"1396860690","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396860835":["hashtag1","hashtag2"]},{"1396860690":["hashtag1","hashtag2"]},{"1396860564":["hashtag1","hashtag2"]},{"1396860641":["hashtag1","hashtag2"]},{"1396860757":["hashtag1","hashtag2"]},{"1396860602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396860835, 1396860690, 1396860564, 1396860641, 1396860757, 1396860602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20584011077881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:06:22.640168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/05/image_29112025_10_05_54_9516.jpg', '/home/pi/Desktop/images/29112025/10/05/image_29112025_10_06_04_9707.jpg', '/home/pi/Desktop/images/29112025/10/06/image_29112025_10_06_15_10593.jpg', '/home/pi/Desktop/images/29112025/10/06/image_29112025_10_06_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/05/image_29112025_10_05_54_9516.jpg
/home/pi/Desktop/images/29112025/10/05/image_29112025_10_06_04_9707.jpg
/home/pi/Desktop/images/29112025/10/06/image_29112025_10_06_15_10593.jpg
/home/pi/Desktop/images/29112025/10/06/image_29112025_10_06_34_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396861244","1396861171","1396861103","1396861315"],"photo_ids_order":["1396861103","1396861171","1396861244","1396861315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/078f6f755432befef9861bf6ab7ac994.jpg","text":"TemporaryFile(/tmp/multipartBody3226890529122958282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407243214,"filename":"image_29112025_10_06_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/11/29/ce0194c4b0d85f2de5e6f43adaae06a4.jpg","text":"TemporaryFile(/tmp/multipartBody843250739824478482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407243214,"filename":"image_29112025_10_06_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/11/29/1040104b95de5c16f519e931b73322ea.jpg","text":"TemporaryFile(/tmp/multipartBody3946217914644973092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407243214,"filename":"image_29112025_10_05_54_9516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b6829fead09cef92322ba09d4120a08.jpg","text":"TemporaryFile(/tmp/multipartBody6696944698007456073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407243214,"filename":"image_29112025_10_06_34_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396861244","file1":"1396861171","file0":"1396861103","file3":"1396861315"},"map_files_photo_id_array":[{"photo_id":"1396861244","filename":"file2"},{"photo_id":"1396861171","filename":"file1"},{"photo_id":"1396861103","filename":"file0"},{"photo_id":"1396861315","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396861244":["hashtag1","hashtag2"]},{"1396861171":["hashtag1","hashtag2"]},{"1396861103":["hashtag1","hashtag2"]},{"1396861315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396861244, 1396861171, 1396861103, 1396861315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.549535989761353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:07:03.420743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_13_2605.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_17_3646.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_19_2727.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_22_2767.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_26_3672.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_28_2517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_13_2605.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_17_3646.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_19_2727.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_22_2767.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_26_3672.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_28_2517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396861461","1396861557","1396861623","1396861682","1396861495","1396861427"],"photo_ids_order":["1396861427","1396861461","1396861495","1396861557","1396861623","1396861682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/907779c3c9642453890999d25c6cf633.jpg","text":"TemporaryFile(/tmp/multipartBody2930383084159536611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407285093,"filename":"image_25112025_18_05_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/11/29/aa5212ce76a2d48777182d418cb37961.jpg","text":"TemporaryFile(/tmp/multipartBody8901369010433824519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407285093,"filename":"image_25112025_18_05_22_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7814a125a0404e8a67d8437018ac4171.jpg","text":"TemporaryFile(/tmp/multipartBody5822611838974271277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407285093,"filename":"image_25112025_18_05_26_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8c310f3dbaca9bbf6728b8b7438164b.jpg","text":"TemporaryFile(/tmp/multipartBody1378175859911871922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407285093,"filename":"image_25112025_18_05_28_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f480cefc3a08b29b936fc5a2c95856d.jpg","text":"TemporaryFile(/tmp/multipartBody4229237207009228773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407285093,"filename":"image_25112025_18_05_19_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/903839975d363dd61608481849fb5faa.jpg","text":"TemporaryFile(/tmp/multipartBody1079034374477357279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407285093,"filename":"image_25112025_18_05_13_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396861495","file1":"1396861461","file0":"1396861427","file4":"1396861623","file5":"1396861682","file3":"1396861557"},"map_files_photo_id_array":[{"photo_id":"1396861682","filename":"file5"},{"photo_id":"1396861495","filename":"file2"},{"photo_id":"1396861623","filename":"file4"},{"photo_id":"1396861461","filename":"file1"},{"photo_id":"1396861427","filename":"file0"},{"photo_id":"1396861557","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396861461":["hashtag1","hashtag2"]},{"1396861557":["hashtag1","hashtag2"]},{"1396861623":["hashtag1","hashtag2"]},{"1396861682":["hashtag1","hashtag2"]},{"1396861495":["hashtag1","hashtag2"]},{"1396861427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396861461, 1396861557, 1396861623, 1396861682, 1396861495, 1396861427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.299741983413696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:07:42.867323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_54_2725.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_57_2737.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_18_01_3685.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_03_2810.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_06_2766.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_09_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_54_2725.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_57_2737.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_18_01_3685.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_03_2810.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_06_2766.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_09_2737.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0179286003112793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:08:02.452457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/06/image_29112025_10_06_45_10647.jpg', '/home/pi/Desktop/images/29112025/10/06/image_29112025_10_07_04_9797.jpg', '/home/pi/Desktop/images/29112025/10/07/image_29112025_10_07_24_9644.jpg', '/home/pi/Desktop/images/29112025/10/07/image_29112025_10_07_45_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/06/image_29112025_10_06_45_10647.jpg
/home/pi/Desktop/images/29112025/10/06/image_29112025_10_07_04_9797.jpg
/home/pi/Desktop/images/29112025/10/07/image_29112025_10_07_24_9644.jpg
/home/pi/Desktop/images/29112025/10/07/image_29112025_10_07_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":["1396861935","1396861934","1396861933","1396861918"],"photo_ids_order":["1396861918","1396861933","1396861934","1396861935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56bea3b1042a5b435aa776f5bb0dae93.jpg","text":"TemporaryFile(/tmp/multipartBody2401766182355253258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407343097,"filename":"image_29112025_10_07_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/11/29/f00deb54dcc4d0fd78d6cdb31599d33a.jpg","text":"TemporaryFile(/tmp/multipartBody1789987160639090828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407343097,"filename":"image_29112025_10_07_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/11/29/9754117d5a6889099d5907846889c2ec.jpg","text":"TemporaryFile(/tmp/multipartBody8885827617547668593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407343097,"filename":"image_29112025_10_07_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/11/29/fc7c93a835b42a85d0ce72b4db4ecb2b.jpg","text":"TemporaryFile(/tmp/multipartBody3943087212516925959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407343097,"filename":"image_29112025_10_06_45_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396861934","file1":"1396861933","file0":"1396861918","file3":"1396861935"},"map_files_photo_id_array":[{"photo_id":"1396861934","filename":"file2"},{"photo_id":"1396861933","filename":"file1"},{"photo_id":"1396861918","filename":"file0"},{"photo_id":"1396861935","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396861935":["hashtag1","hashtag2"]},{"1396861934":["hashtag1","hashtag2"]},{"1396861933":["hashtag1","hashtag2"]},{"1396861918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396861935, 1396861934, 1396861933, 1396861918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.282764673233032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:08:32.060674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_31_2694.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_35_3689.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_37_2593.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_40_2581.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_44_3589.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_46_2491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_31_2694.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_35_3689.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_37_2593.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_40_2581.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_44_3589.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_46_2491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396861959","1396861958","1396861943","1396861946","1396861957","1396861945"],"photo_ids_order":["1396861943","1396861945","1396861946","1396861957","1396861958","1396861959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8b0c4ec7c4d78dab2cd9593086ba094.jpg","text":"TemporaryFile(/tmp/multipartBody6843706553623053493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407374275,"filename":"image_25112025_18_05_46_2491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d989e6ae5aa065168c00b7b7a53f6966.jpg","text":"TemporaryFile(/tmp/multipartBody2688586285054678450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407374275,"filename":"image_25112025_18_05_44_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf2df2093890a7d83f14c8aeca09d5b5.jpg","text":"TemporaryFile(/tmp/multipartBody7439623002674764547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407374275,"filename":"image_25112025_18_05_31_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72b70c7d2c01a51d92063160b57a877a.jpg","text":"TemporaryFile(/tmp/multipartBody7692914915903755156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407374275,"filename":"image_25112025_18_05_37_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0eceadbd754227f4371c42363929c42.jpg","text":"TemporaryFile(/tmp/multipartBody2574708431633211141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407374275,"filename":"image_25112025_18_05_40_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7caa1125c17cdd23d0883f1b419a0d55.jpg","text":"TemporaryFile(/tmp/multipartBody8910438388257193866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407374275,"filename":"image_25112025_18_05_35_3689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396861946","file1":"1396861945","file0":"1396861943","file4":"1396861958","file5":"1396861959","file3":"1396861957"},"map_files_photo_id_array":[{"photo_id":"1396861959","filename":"file5"},{"photo_id":"1396861946","filename":"file2"},{"photo_id":"1396861958","filename":"file4"},{"photo_id":"1396861945","filename":"file1"},{"photo_id":"1396861943","filename":"file0"},{"photo_id":"1396861957","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396861959":["hashtag1","hashtag2"]},{"1396861958":["hashtag1","hashtag2"]},{"1396861943":["hashtag1","hashtag2"]},{"1396861946":["hashtag1","hashtag2"]},{"1396861957":["hashtag1","hashtag2"]},{"1396861945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396861959, 1396861958, 1396861943, 1396861946, 1396861957, 1396861945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39741921424866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:09:12.289362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_50_3618.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_52_2476.jpg', '/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_58_2655.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_01_2647.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_05_3621.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_07_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_50_3618.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_52_2476.jpg
/home/pi/Desktop/images/25112025/18/05/image_25112025_18_05_58_2655.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_01_2647.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_05_3621.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_07_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396861994","1396862015","1396861999","1396861978","1396861972","1396861960"],"photo_ids_order":["1396861960","1396861972","1396861978","1396861994","1396861999","1396862015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bdbb811d6456770e92d099d5c754f88d.jpg","text":"TemporaryFile(/tmp/multipartBody806999952948546108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407414439,"filename":"image_25112025_18_06_01_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c600f1efba13e39a86607b3180b61e0.jpg","text":"TemporaryFile(/tmp/multipartBody3768330772826291982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407414439,"filename":"image_25112025_18_06_07_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4544021c95c9ed988ced17f86910758.jpg","text":"TemporaryFile(/tmp/multipartBody3415002602967037086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407414439,"filename":"image_25112025_18_06_05_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7d04045c75e9af08a409270f96675a1.jpg","text":"TemporaryFile(/tmp/multipartBody1858147789301114859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407414439,"filename":"image_25112025_18_05_58_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28925bc18e19b5feee5daf519fe5fe76.jpg","text":"TemporaryFile(/tmp/multipartBody9195205252876965187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407414439,"filename":"image_25112025_18_05_52_2476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40bdfe22339a493592c16eba453f8d0b.jpg","text":"TemporaryFile(/tmp/multipartBody8455547457368560223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407414439,"filename":"image_25112025_18_05_50_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396861978","file1":"1396861972","file0":"1396861960","file4":"1396861999","file5":"1396862015","file3":"1396861994"},"map_files_photo_id_array":[{"photo_id":"1396862015","filename":"file5"},{"photo_id":"1396861978","filename":"file2"},{"photo_id":"1396861999","filename":"file4"},{"photo_id":"1396861972","filename":"file1"},{"photo_id":"1396861960","filename":"file0"},{"photo_id":"1396861994","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396861994":["hashtag1","hashtag2"]},{"1396862015":["hashtag1","hashtag2"]},{"1396861999":["hashtag1","hashtag2"]},{"1396861978":["hashtag1","hashtag2"]},{"1396861972":["hashtag1","hashtag2"]},{"1396861960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396861994, 1396862015, 1396861999, 1396861978, 1396861972, 1396861960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34270453453064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:10:02.753891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/07/image_29112025_10_07_54_9549.jpg', '/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_24_9696.jpg', '/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_35_10756.jpg', '/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_44_9624.jpg', '/home/pi/Desktop/images/29112025/10/08/image_29112025_10_09_05_9816.jpg', '/home/pi/Desktop/images/29112025/10/09/image_29112025_10_09_24_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/07/image_29112025_10_07_54_9549.jpg
/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_24_9696.jpg
/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_35_10756.jpg
/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_44_9624.jpg
/home/pi/Desktop/images/29112025/10/08/image_29112025_10_09_05_9816.jpg
/home/pi/Desktop/images/29112025/10/09/image_29112025_10_09_24_9706.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5706014633178711 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:10:12.330288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_11_3571.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_13_2596.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_16_2779.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_20_3531.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_22_2771.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_25_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_11_3571.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_13_2596.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_16_2779.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_20_3531.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_22_2771.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_25_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396862085","1396862090","1396862081","1396862053","1396862050","1396862088"],"photo_ids_order":["1396862050","1396862053","1396862081","1396862085","1396862088","1396862090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6a6a0c885f980012f906d96db1883e3.jpg","text":"TemporaryFile(/tmp/multipartBody1531970400692428650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407474440,"filename":"image_25112025_18_06_20_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b6f5babbcd49d65abce851fcd340d0e.jpg","text":"TemporaryFile(/tmp/multipartBody821972178428597936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407474440,"filename":"image_25112025_18_06_25_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdcf4e9bb8a923067cc537927e32349c.jpg","text":"TemporaryFile(/tmp/multipartBody4290854575907625702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407474440,"filename":"image_25112025_18_06_16_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/989cb64e66729f339a2eb4dd54b7aae2.jpg","text":"TemporaryFile(/tmp/multipartBody5303175927780425026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407474440,"filename":"image_25112025_18_06_13_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45f36ae0d2c3b81aaf5260a7dd61b04f.jpg","text":"TemporaryFile(/tmp/multipartBody2631227081983303136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407474440,"filename":"image_25112025_18_06_11_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2121ad6712880f8dff96def858264c39.jpg","text":"TemporaryFile(/tmp/multipartBody1809969395761904558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407474440,"filename":"image_25112025_18_06_22_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862081","file1":"1396862053","file0":"1396862050","file4":"1396862088","file5":"1396862090","file3":"1396862085"},"map_files_photo_id_array":[{"photo_id":"1396862090","filename":"file5"},{"photo_id":"1396862081","filename":"file2"},{"photo_id":"1396862088","filename":"file4"},{"photo_id":"1396862053","filename":"file1"},{"photo_id":"1396862050","filename":"file0"},{"photo_id":"1396862085","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396862085":["hashtag1","hashtag2"]},{"1396862090":["hashtag1","hashtag2"]},{"1396862081":["hashtag1","hashtag2"]},{"1396862053":["hashtag1","hashtag2"]},{"1396862050":["hashtag1","hashtag2"]},{"1396862088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396862085, 1396862090, 1396862081, 1396862053, 1396862050, 1396862088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6254506111145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:11:03.255605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/07/image_29112025_10_07_54_9549.jpg', '/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_24_9696.jpg', '/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_35_10756.jpg', '/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_44_9624.jpg', '/home/pi/Desktop/images/29112025/10/08/image_29112025_10_09_05_9816.jpg', '/home/pi/Desktop/images/29112025/10/09/image_29112025_10_09_24_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/07/image_29112025_10_07_54_9549.jpg
/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_24_9696.jpg
/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_35_10756.jpg
/home/pi/Desktop/images/29112025/10/08/image_29112025_10_08_44_9624.jpg
/home/pi/Desktop/images/29112025/10/08/image_29112025_10_09_05_9816.jpg
/home/pi/Desktop/images/29112025/10/09/image_29112025_10_09_24_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":["1396862099","1396862096","1396862105","1396862098","1396862102","1396862097"],"photo_ids_order":["1396862096","1396862097","1396862098","1396862099","1396862102","1396862105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/830e657e6c4670177289b5eb7e09dd4c.jpg","text":"TemporaryFile(/tmp/multipartBody6732236424198689854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407523962,"filename":"image_29112025_10_08_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eee5c0f56a2bf62c7daf43f8b2a8dc39.jpg","text":"TemporaryFile(/tmp/multipartBody1517694465592431720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407523962,"filename":"image_29112025_10_07_54_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/101b71e63ea16573e3c2f034ce8ef04a.jpg","text":"TemporaryFile(/tmp/multipartBody5254322868217749378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407523962,"filename":"image_29112025_10_09_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/11/29/0a203a25562d79025c4efe48b46fe679.jpg","text":"TemporaryFile(/tmp/multipartBody7140679718195804756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407523962,"filename":"image_29112025_10_08_35_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b09a225d0c4fccbaa992725b4a47770.jpg","text":"TemporaryFile(/tmp/multipartBody3122363393494423441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407523962,"filename":"image_29112025_10_09_05_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/281312ae2d17fe59109bd2a23cde3faa.jpg","text":"TemporaryFile(/tmp/multipartBody5730514659814526859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407523962,"filename":"image_29112025_10_08_24_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862098","file1":"1396862097","file0":"1396862096","file4":"1396862102","file5":"1396862105","file3":"1396862099"},"map_files_photo_id_array":[{"photo_id":"1396862105","filename":"file5"},{"photo_id":"1396862098","filename":"file2"},{"photo_id":"1396862102","filename":"file4"},{"photo_id":"1396862097","filename":"file1"},{"photo_id":"1396862096","filename":"file0"},{"photo_id":"1396862099","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396862099":["hashtag1","hashtag2"]},{"1396862096":["hashtag1","hashtag2"]},{"1396862105":["hashtag1","hashtag2"]},{"1396862098":["hashtag1","hashtag2"]},{"1396862102":["hashtag1","hashtag2"]},{"1396862097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396862099, 1396862096, 1396862105, 1396862098, 1396862102, 1396862097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38678598403931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:11:42.513600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_54_2725.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_57_2737.jpg', '/home/pi/Desktop/images/31102025/09/17/image_31102025_09_18_01_3685.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_03_2810.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_06_2766.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_09_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_54_2725.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_17_57_2737.jpg
/home/pi/Desktop/images/31102025/09/17/image_31102025_09_18_01_3685.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_03_2810.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_06_2766.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_09_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396862166","1396862151","1396862165","1396862141","1396862164","1396862167"],"photo_ids_order":["1396862141","1396862151","1396862164","1396862165","1396862166","1396862167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6f8d7f70feaec9eab40570941e68462.jpg","text":"TemporaryFile(/tmp/multipartBody3698250477970817933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407563521,"filename":"image_31102025_09_18_06_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/168586d62cef5c87514de0b5b6657815.jpg","text":"TemporaryFile(/tmp/multipartBody6228376431376309542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407563521,"filename":"image_31102025_09_17_57_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9c487323d003b9a972361834feb6ac0.jpg","text":"TemporaryFile(/tmp/multipartBody4533513687561054041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407563521,"filename":"image_31102025_09_18_03_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f07137a2d81ef449e4cc6592d0730e6f.jpg","text":"TemporaryFile(/tmp/multipartBody1087603373866420719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407563521,"filename":"image_31102025_09_17_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/11/29/8ed0bd21a4dd899ee1fc9c190d2bf743.jpg","text":"TemporaryFile(/tmp/multipartBody2699106698337244876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407563521,"filename":"image_31102025_09_18_01_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4a17de5b39d07f3981bd470b14007c44.jpg","text":"TemporaryFile(/tmp/multipartBody4599292644029077100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407563521,"filename":"image_31102025_09_18_09_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862164","file1":"1396862151","file0":"1396862141","file4":"1396862166","file5":"1396862167","file3":"1396862165"},"map_files_photo_id_array":[{"photo_id":"1396862167","filename":"file5"},{"photo_id":"1396862164","filename":"file2"},{"photo_id":"1396862166","filename":"file4"},{"photo_id":"1396862151","filename":"file1"},{"photo_id":"1396862141","filename":"file0"},{"photo_id":"1396862165","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396862166":["hashtag1","hashtag2"]},{"1396862151":["hashtag1","hashtag2"]},{"1396862165":["hashtag1","hashtag2"]},{"1396862141":["hashtag1","hashtag2"]},{"1396862164":["hashtag1","hashtag2"]},{"1396862167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396862166, 1396862151, 1396862165, 1396862141, 1396862164, 1396862167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86417365074158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:12:22.735302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/09/image_29112025_10_09_35_10622.jpg', '/home/pi/Desktop/images/29112025/10/09/image_29112025_10_09_44_9546.jpg', '/home/pi/Desktop/images/29112025/10/09/image_29112025_10_09_55_10639.jpg', '/home/pi/Desktop/images/29112025/10/10/image_29112025_10_10_14_10051.jpg', '/home/pi/Desktop/images/29112025/10/10/image_29112025_10_10_25_10614.jpg', '/home/pi/Desktop/images/29112025/10/10/image_29112025_10_10_34_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/09/image_29112025_10_09_35_10622.jpg
/home/pi/Desktop/images/29112025/10/09/image_29112025_10_09_44_9546.jpg
/home/pi/Desktop/images/29112025/10/09/image_29112025_10_09_55_10639.jpg
/home/pi/Desktop/images/29112025/10/10/image_29112025_10_10_14_10051.jpg
/home/pi/Desktop/images/29112025/10/10/image_29112025_10_10_25_10614.jpg
/home/pi/Desktop/images/29112025/10/10/image_29112025_10_10_34_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396862171","1396862174","1396862182","1396862176","1396862185","1396862179"],"photo_ids_order":["1396862171","1396862174","1396862176","1396862179","1396862182","1396862185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08904e73f5e35603590418a72b646f65.jpg","text":"TemporaryFile(/tmp/multipartBody2772219807150583784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407603374,"filename":"image_29112025_10_09_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/11/29/e3015fcea66cf985d8886b849e54f59d.jpg","text":"TemporaryFile(/tmp/multipartBody8972561250847431522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407603374,"filename":"image_29112025_10_09_44_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb3f0c40577b59401fdd687a762daef9.jpg","text":"TemporaryFile(/tmp/multipartBody8797301628753069557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407603374,"filename":"image_29112025_10_10_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/11/29/253c5d3a64f8d9dcfc61ca16f6b6c399.jpg","text":"TemporaryFile(/tmp/multipartBody4474046043643152466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407603374,"filename":"image_29112025_10_09_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ae81da5c06f090ded262dfb32c0163e.jpg","text":"TemporaryFile(/tmp/multipartBody5597306756279613589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407603374,"filename":"image_29112025_10_10_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/11/29/06cbcf3f81226141859b101e4c534468.jpg","text":"TemporaryFile(/tmp/multipartBody8779917905465171682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407603374,"filename":"image_29112025_10_10_14_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862176","file1":"1396862174","file0":"1396862171","file4":"1396862182","file5":"1396862185","file3":"1396862179"},"map_files_photo_id_array":[{"photo_id":"1396862185","filename":"file5"},{"photo_id":"1396862176","filename":"file2"},{"photo_id":"1396862182","filename":"file4"},{"photo_id":"1396862174","filename":"file1"},{"photo_id":"1396862171","filename":"file0"},{"photo_id":"1396862179","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396862171":["hashtag1","hashtag2"]},{"1396862174":["hashtag1","hashtag2"]},{"1396862182":["hashtag1","hashtag2"]},{"1396862176":["hashtag1","hashtag2"]},{"1396862185":["hashtag1","hashtag2"]},{"1396862179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396862171, 1396862174, 1396862182, 1396862176, 1396862185, 1396862179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.40917086601257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:13:12.811029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_31_2597.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_34_2562.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_37_3031.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_40_3588.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_43_2620.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_47_3541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_31_2597.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_34_2562.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_37_3031.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_40_3588.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_43_2620.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_47_3541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396862190","1396862205","1396862214","1396862194","1396862188","1396862196"],"photo_ids_order":["1396862188","1396862190","1396862194","1396862196","1396862205","1396862214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f939380c9132228db1af428cbbc06147.jpg","text":"TemporaryFile(/tmp/multipartBody7456061412525826802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407655066,"filename":"image_25112025_18_06_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/11/29/b71fa54969b331bb47980a2a412cb07a.jpg","text":"TemporaryFile(/tmp/multipartBody2492793967029931481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407655066,"filename":"image_25112025_18_06_43_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/017a88190032ddccea6b07adc9053ba4.jpg","text":"TemporaryFile(/tmp/multipartBody810193819328834271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407655066,"filename":"image_25112025_18_06_47_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c70a8253d0c6a8735b833a09826cdeb.jpg","text":"TemporaryFile(/tmp/multipartBody8881630153799425360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407655066,"filename":"image_25112025_18_06_37_3031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef4d78c499f3842eac6b009c7465efc4.jpg","text":"TemporaryFile(/tmp/multipartBody5853020825355461792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407655066,"filename":"image_25112025_18_06_31_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71cacafcd5d12293040b9b54a99cb64c.jpg","text":"TemporaryFile(/tmp/multipartBody756492361082806789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407655066,"filename":"image_25112025_18_06_40_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862194","file1":"1396862190","file0":"1396862188","file4":"1396862205","file5":"1396862214","file3":"1396862196"},"map_files_photo_id_array":[{"photo_id":"1396862214","filename":"file5"},{"photo_id":"1396862194","filename":"file2"},{"photo_id":"1396862205","filename":"file4"},{"photo_id":"1396862190","filename":"file1"},{"photo_id":"1396862188","filename":"file0"},{"photo_id":"1396862196","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396862190":["hashtag1","hashtag2"]},{"1396862205":["hashtag1","hashtag2"]},{"1396862214":["hashtag1","hashtag2"]},{"1396862194":["hashtag1","hashtag2"]},{"1396862188":["hashtag1","hashtag2"]},{"1396862196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396862190, 1396862205, 1396862214, 1396862194, 1396862188, 1396862196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.6045196056366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:14:02.582583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/10/image_29112025_10_10_45_10668.jpg', '/home/pi/Desktop/images/29112025/10/10/image_29112025_10_10_55_9562.jpg', '/home/pi/Desktop/images/29112025/10/10/image_29112025_10_11_04_9641.jpg', '/home/pi/Desktop/images/29112025/10/11/image_29112025_10_11_15_10727.jpg', '/home/pi/Desktop/images/29112025/10/11/image_29112025_10_11_24_9545.jpg', '/home/pi/Desktop/images/29112025/10/11/image_29112025_10_11_35_10550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/10/image_29112025_10_10_45_10668.jpg
/home/pi/Desktop/images/29112025/10/10/image_29112025_10_10_55_9562.jpg
/home/pi/Desktop/images/29112025/10/10/image_29112025_10_11_04_9641.jpg
/home/pi/Desktop/images/29112025/10/11/image_29112025_10_11_15_10727.jpg
/home/pi/Desktop/images/29112025/10/11/image_29112025_10_11_24_9545.jpg
/home/pi/Desktop/images/29112025/10/11/image_29112025_10_11_35_10550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396862460","1396862523","1396862526","1396862420","1396862516","1396862497"],"photo_ids_order":["1396862420","1396862460","1396862497","1396862516","1396862523","1396862526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d28997b34adf2619011b18e6330a8913.jpg","text":"TemporaryFile(/tmp/multipartBody5442308695594362835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407703291,"filename":"image_29112025_10_10_55_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27928ed4b19d76748d986e60e530866e.jpg","text":"TemporaryFile(/tmp/multipartBody4928598041992405416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407703291,"filename":"image_29112025_10_11_24_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4be2521b510dac8bdbb7e8730acc1c60.jpg","text":"TemporaryFile(/tmp/multipartBody1942988370684706876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407703291,"filename":"image_29112025_10_11_35_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b69cbefb7d1c1acd88438aa9ebdf4bf.jpg","text":"TemporaryFile(/tmp/multipartBody8352663793918898313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407703291,"filename":"image_29112025_10_10_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c7ce5538e4731504929692098cd61c0.jpg","text":"TemporaryFile(/tmp/multipartBody6763858949536512049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407703291,"filename":"image_29112025_10_11_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/11/29/09d594956c9fbf6c84de2468503a901c.jpg","text":"TemporaryFile(/tmp/multipartBody7646367577909010848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407703291,"filename":"image_29112025_10_11_04_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862497","file1":"1396862460","file0":"1396862420","file4":"1396862523","file5":"1396862526","file3":"1396862516"},"map_files_photo_id_array":[{"photo_id":"1396862526","filename":"file5"},{"photo_id":"1396862497","filename":"file2"},{"photo_id":"1396862523","filename":"file4"},{"photo_id":"1396862460","filename":"file1"},{"photo_id":"1396862420","filename":"file0"},{"photo_id":"1396862516","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396862460":["hashtag1","hashtag2"]},{"1396862523":["hashtag1","hashtag2"]},{"1396862526":["hashtag1","hashtag2"]},{"1396862420":["hashtag1","hashtag2"]},{"1396862516":["hashtag1","hashtag2"]},{"1396862497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396862460, 1396862523, 1396862526, 1396862420, 1396862516, 1396862497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5355429649353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:15:02.917111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/11/image_29112025_10_11_45_9639.jpg', '/home/pi/Desktop/images/29112025/10/11/image_29112025_10_11_54_9543.jpg', '/home/pi/Desktop/images/29112025/10/11/image_29112025_10_12_05_10688.jpg', '/home/pi/Desktop/images/29112025/10/12/image_29112025_10_12_35_10751.jpg', '/home/pi/Desktop/images/29112025/10/12/image_29112025_10_12_44_9585.jpg', '/home/pi/Desktop/images/29112025/10/12/image_29112025_10_12_54_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/11/image_29112025_10_11_45_9639.jpg
/home/pi/Desktop/images/29112025/10/11/image_29112025_10_11_54_9543.jpg
/home/pi/Desktop/images/29112025/10/11/image_29112025_10_12_05_10688.jpg
/home/pi/Desktop/images/29112025/10/12/image_29112025_10_12_35_10751.jpg
/home/pi/Desktop/images/29112025/10/12/image_29112025_10_12_44_9585.jpg
/home/pi/Desktop/images/29112025/10/12/image_29112025_10_12_54_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396862541","1396862544","1396862538","1396862537","1396862536","1396862539"],"photo_ids_order":["1396862536","1396862537","1396862538","1396862539","1396862541","1396862544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22720b216622f6821a4d42169ec6cd03.jpg","text":"TemporaryFile(/tmp/multipartBody2152841584051909576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407763679,"filename":"image_29112025_10_12_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/11/29/212797a478d467b5666bdab1a82c5ea5.jpg","text":"TemporaryFile(/tmp/multipartBody1388319516854149424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407763679,"filename":"image_29112025_10_12_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be5e18c92f2a0cdfa4003cef71163e03.jpg","text":"TemporaryFile(/tmp/multipartBody4216509431657147646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407763679,"filename":"image_29112025_10_12_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/11/29/15816372394098272fb64f376821b0fe.jpg","text":"TemporaryFile(/tmp/multipartBody6281377516642622083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407763679,"filename":"image_29112025_10_11_54_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a96e2b35a54c21f54d2fb830dcca9210.jpg","text":"TemporaryFile(/tmp/multipartBody5207332155530305860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407763679,"filename":"image_29112025_10_11_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f5870d250d184ebffa9fcb86d7d47df.jpg","text":"TemporaryFile(/tmp/multipartBody7650470414020553605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407763679,"filename":"image_29112025_10_12_35_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862538","file1":"1396862537","file0":"1396862536","file4":"1396862541","file5":"1396862544","file3":"1396862539"},"map_files_photo_id_array":[{"photo_id":"1396862544","filename":"file5"},{"photo_id":"1396862538","filename":"file2"},{"photo_id":"1396862541","filename":"file4"},{"photo_id":"1396862537","filename":"file1"},{"photo_id":"1396862536","filename":"file0"},{"photo_id":"1396862539","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396862541":["hashtag1","hashtag2"]},{"1396862544":["hashtag1","hashtag2"]},{"1396862538":["hashtag1","hashtag2"]},{"1396862537":["hashtag1","hashtag2"]},{"1396862536":["hashtag1","hashtag2"]},{"1396862539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396862541, 1396862544, 1396862538, 1396862537, 1396862536, 1396862539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.468547344207764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:15:42.294860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_13_3823.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_15_2632.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_18_2768.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_22_3687.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_25_2844.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_27_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/09/18/image_31102025_09_18_13_3823.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_15_2632.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_18_2768.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_22_3687.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_25_2844.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_27_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":["1396862553","1396862556","1396862552","1396862555","1396862554","1396862557"],"photo_ids_order":["1396862552","1396862553","1396862554","1396862555","1396862556","1396862557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c03d3c1a32fa56286a4e859cde4d5e7.jpg","text":"TemporaryFile(/tmp/multipartBody3735021465173196343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407803411,"filename":"image_31102025_09_18_15_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/209ebda7572622c61d0b45b4614ff972.jpg","text":"TemporaryFile(/tmp/multipartBody5703960762528071447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407803411,"filename":"image_31102025_09_18_25_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad03492722416b5a278f4b74ddae701a.jpg","text":"TemporaryFile(/tmp/multipartBody8273008403203722253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407803411,"filename":"image_31102025_09_18_13_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96bf836684e2f315d130d08d95cd27ee.jpg","text":"TemporaryFile(/tmp/multipartBody6284509162013946607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407803411,"filename":"image_31102025_09_18_22_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a18048654ff330eb9be6ef43a1c6f9b.jpg","text":"TemporaryFile(/tmp/multipartBody3330368466386621266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407803411,"filename":"image_31102025_09_18_18_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f17b299aae4a4fe76aece56be391ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3271492419907030095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407803411,"filename":"image_31102025_09_18_27_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862554","file1":"1396862553","file0":"1396862552","file4":"1396862556","file5":"1396862557","file3":"1396862555"},"map_files_photo_id_array":[{"photo_id":"1396862557","filename":"file5"},{"photo_id":"1396862554","filename":"file2"},{"photo_id":"1396862556","filename":"file4"},{"photo_id":"1396862553","filename":"file1"},{"photo_id":"1396862552","filename":"file0"},{"photo_id":"1396862555","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396862553":["hashtag1","hashtag2"]},{"1396862556":["hashtag1","hashtag2"]},{"1396862552":["hashtag1","hashtag2"]},{"1396862555":["hashtag1","hashtag2"]},{"1396862554":["hashtag1","hashtag2"]},{"1396862557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396862553, 1396862556, 1396862552, 1396862555, 1396862554, 1396862557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.249526500701904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:16:22.507337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/12/image_29112025_10_13_05_10684.jpg', '/home/pi/Desktop/images/29112025/10/13/image_29112025_10_13_14_9611.jpg', '/home/pi/Desktop/images/29112025/10/13/image_29112025_10_13_25_10499.jpg', '/home/pi/Desktop/images/29112025/10/13/image_29112025_10_13_55_10682.jpg', '/home/pi/Desktop/images/29112025/10/13/image_29112025_10_14_04_9654.jpg', '/home/pi/Desktop/images/29112025/10/14/image_29112025_10_14_14_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/12/image_29112025_10_13_05_10684.jpg
/home/pi/Desktop/images/29112025/10/13/image_29112025_10_13_14_9611.jpg
/home/pi/Desktop/images/29112025/10/13/image_29112025_10_13_25_10499.jpg
/home/pi/Desktop/images/29112025/10/13/image_29112025_10_13_55_10682.jpg
/home/pi/Desktop/images/29112025/10/13/image_29112025_10_14_04_9654.jpg
/home/pi/Desktop/images/29112025/10/14/image_29112025_10_14_14_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396862573","1396862566","1396862569","1396862560","1396862563","1396862571"],"photo_ids_order":["1396862560","1396862563","1396862566","1396862569","1396862571","1396862573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28c8b29e0a15132c18fc13c80db7f1f3.jpg","text":"TemporaryFile(/tmp/multipartBody6022159501508025698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407843131,"filename":"image_29112025_10_14_14_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af97df3b9ceb3ad01d8bb8cb6e2fe6cb.jpg","text":"TemporaryFile(/tmp/multipartBody7171824760940065013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407843131,"filename":"image_29112025_10_13_25_10499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68d820429183989300d507a192d8f1aa.jpg","text":"TemporaryFile(/tmp/multipartBody3865332823544262525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407843131,"filename":"image_29112025_10_13_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/969d52316da410459879259fe1e1af74.jpg","text":"TemporaryFile(/tmp/multipartBody6647714944991364919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407843131,"filename":"image_29112025_10_13_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/11/29/ee40483e447f439e6f5e97b115bdcd79.jpg","text":"TemporaryFile(/tmp/multipartBody4317270642945856717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407843131,"filename":"image_29112025_10_13_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/11/29/bec2fde06bca2df683de8140977ccfdc.jpg","text":"TemporaryFile(/tmp/multipartBody3533666695780587810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407843131,"filename":"image_29112025_10_14_04_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862566","file1":"1396862563","file0":"1396862560","file4":"1396862571","file5":"1396862573","file3":"1396862569"},"map_files_photo_id_array":[{"photo_id":"1396862573","filename":"file5"},{"photo_id":"1396862566","filename":"file2"},{"photo_id":"1396862571","filename":"file4"},{"photo_id":"1396862563","filename":"file1"},{"photo_id":"1396862560","filename":"file0"},{"photo_id":"1396862569","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396862573":["hashtag1","hashtag2"]},{"1396862566":["hashtag1","hashtag2"]},{"1396862569":["hashtag1","hashtag2"]},{"1396862560":["hashtag1","hashtag2"]},{"1396862563":["hashtag1","hashtag2"]},{"1396862571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396862573, 1396862566, 1396862569, 1396862560, 1396862563, 1396862571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50320887565613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:17:03.337415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/14/image_29112025_10_14_25_10602.jpg', '/home/pi/Desktop/images/29112025/10/14/image_29112025_10_14_34_9614.jpg', '/home/pi/Desktop/images/29112025/10/15/image_29112025_10_15_14_10062.jpg', '/home/pi/Desktop/images/29112025/10/15/image_29112025_10_15_25_10734.jpg', '/home/pi/Desktop/images/29112025/10/15/image_29112025_10_15_44_9607.jpg', '/home/pi/Desktop/images/29112025/10/15/image_29112025_10_15_54_10499.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/14/image_29112025_10_14_25_10602.jpg
/home/pi/Desktop/images/29112025/10/14/image_29112025_10_14_34_9614.jpg
/home/pi/Desktop/images/29112025/10/15/image_29112025_10_15_14_10062.jpg
/home/pi/Desktop/images/29112025/10/15/image_29112025_10_15_25_10734.jpg
/home/pi/Desktop/images/29112025/10/15/image_29112025_10_15_44_9607.jpg
/home/pi/Desktop/images/29112025/10/15/image_29112025_10_15_54_10499.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396862576","1396862581","1396862575","1396862578","1396862577","1396862586"],"photo_ids_order":["1396862575","1396862576","1396862577","1396862578","1396862581","1396862586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60419973e1f831d5fc7a9928b384c53e.jpg","text":"TemporaryFile(/tmp/multipartBody2637433446631957908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407884008,"filename":"image_29112025_10_14_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06b147bc70d5a3e5163a440357dea078.jpg","text":"TemporaryFile(/tmp/multipartBody2473010993529727688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407884008,"filename":"image_29112025_10_15_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/11/29/8bd8b8628150efce44b482c30f4e17f2.jpg","text":"TemporaryFile(/tmp/multipartBody3338608794854654890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407884008,"filename":"image_29112025_10_14_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98c55773592566fde0267c0f369d43ee.jpg","text":"TemporaryFile(/tmp/multipartBody2728011758002618057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407884008,"filename":"image_29112025_10_15_25_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6661ee2cd6c84948bde142f43e338eb1.jpg","text":"TemporaryFile(/tmp/multipartBody8313515222187936252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407884008,"filename":"image_29112025_10_15_14_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7838428eac42451fd98c0c626d79bf7e.jpg","text":"TemporaryFile(/tmp/multipartBody2414801796510710481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407884008,"filename":"image_29112025_10_15_54_10499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862577","file1":"1396862576","file0":"1396862575","file4":"1396862581","file5":"1396862586","file3":"1396862578"},"map_files_photo_id_array":[{"photo_id":"1396862586","filename":"file5"},{"photo_id":"1396862577","filename":"file2"},{"photo_id":"1396862581","filename":"file4"},{"photo_id":"1396862576","filename":"file1"},{"photo_id":"1396862575","filename":"file0"},{"photo_id":"1396862578","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396862576":["hashtag1","hashtag2"]},{"1396862581":["hashtag1","hashtag2"]},{"1396862575":["hashtag1","hashtag2"]},{"1396862578":["hashtag1","hashtag2"]},{"1396862577":["hashtag1","hashtag2"]},{"1396862586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396862576, 1396862581, 1396862575, 1396862578, 1396862577, 1396862586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5200469493866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:17:42.665990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_30_2683.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_34_3762.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_36_2575.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_39_2700.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_43_3722.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_46_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/09/18/image_31102025_09_18_30_2683.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_34_3762.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_36_2575.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_39_2700.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_43_3722.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_46_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":["1396862643","1396862637","1396862642","1396862645","1396862629","1396862644"],"photo_ids_order":["1396862629","1396862637","1396862642","1396862643","1396862644","1396862645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f5d5e86298b768701b1bdcb1cc5e11e.jpg","text":"TemporaryFile(/tmp/multipartBody3202989841534539042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407923832,"filename":"image_31102025_09_18_39_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34cdfe5f2d9947e40d96f5278a5cd70e.jpg","text":"TemporaryFile(/tmp/multipartBody2238706257753190154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407923832,"filename":"image_31102025_09_18_34_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9f87dafabe81ca481749f69582bff6a.jpg","text":"TemporaryFile(/tmp/multipartBody1106558191782579183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407923832,"filename":"image_31102025_09_18_36_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e434f3716ff119a81ad6178227251adc.jpg","text":"TemporaryFile(/tmp/multipartBody2301941782833525848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407923832,"filename":"image_31102025_09_18_46_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b5f362ef486e6cd08241dcd59dbef5e.jpg","text":"TemporaryFile(/tmp/multipartBody391716752226549401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407923832,"filename":"image_31102025_09_18_30_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82bc93f488fb70097b9f15cfad31ea3c.jpg","text":"TemporaryFile(/tmp/multipartBody2454761120982982724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407923832,"filename":"image_31102025_09_18_43_3722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862642","file1":"1396862637","file0":"1396862629","file4":"1396862644","file5":"1396862645","file3":"1396862643"},"map_files_photo_id_array":[{"photo_id":"1396862645","filename":"file5"},{"photo_id":"1396862642","filename":"file2"},{"photo_id":"1396862644","filename":"file4"},{"photo_id":"1396862637","filename":"file1"},{"photo_id":"1396862629","filename":"file0"},{"photo_id":"1396862643","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396862643":["hashtag1","hashtag2"]},{"1396862637":["hashtag1","hashtag2"]},{"1396862642":["hashtag1","hashtag2"]},{"1396862645":["hashtag1","hashtag2"]},{"1396862629":["hashtag1","hashtag2"]},{"1396862644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396862643, 1396862637, 1396862642, 1396862645, 1396862629, 1396862644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90451216697693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:18:21.843796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/16/image_29112025_10_16_34_9588.jpg', '/home/pi/Desktop/images/29112025/10/16/image_29112025_10_17_05_10536.jpg', '/home/pi/Desktop/images/29112025/10/17/image_29112025_10_17_54_9531.jpg', '/home/pi/Desktop/images/29112025/10/17/image_29112025_10_18_04_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/16/image_29112025_10_16_34_9588.jpg
/home/pi/Desktop/images/29112025/10/16/image_29112025_10_17_05_10536.jpg
/home/pi/Desktop/images/29112025/10/17/image_29112025_10_17_54_9531.jpg
/home/pi/Desktop/images/29112025/10/17/image_29112025_10_18_04_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396862738","1396862648","1396862662","1396862701"],"photo_ids_order":["1396862648","1396862662","1396862701","1396862738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad0ac7a5d124005081716e6d88bfa47e.jpg","text":"TemporaryFile(/tmp/multipartBody8534266331078750852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407962414,"filename":"image_29112025_10_18_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/11/29/1c231ed1be5055130bc16650e704382c.jpg","text":"TemporaryFile(/tmp/multipartBody3108934312628247531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407962414,"filename":"image_29112025_10_16_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/11/29/bb7120e38d45f2505b9bef44511189e7.jpg","text":"TemporaryFile(/tmp/multipartBody1854883058335187861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407962414,"filename":"image_29112025_10_17_05_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4ecc780406156afd6a169f3c2105f7e.jpg","text":"TemporaryFile(/tmp/multipartBody5530858778291123938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764407962414,"filename":"image_29112025_10_17_54_9531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396862701","file1":"1396862662","file0":"1396862648","file3":"1396862738"},"map_files_photo_id_array":[{"photo_id":"1396862701","filename":"file2"},{"photo_id":"1396862662","filename":"file1"},{"photo_id":"1396862648","filename":"file0"},{"photo_id":"1396862738","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396862738":["hashtag1","hashtag2"]},{"1396862648":["hashtag1","hashtag2"]},{"1396862662":["hashtag1","hashtag2"]},{"1396862701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396862738, 1396862648, 1396862662, 1396862701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.060241222381592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:19:02.880850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_52_2633.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_56_3661.jpg', '/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_58_2563.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_02_3630.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_04_2697.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_07_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_52_2633.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_56_3661.jpg
/home/pi/Desktop/images/25112025/18/06/image_25112025_18_06_58_2563.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_02_3630.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_04_2697.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_07_2556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396862975","1396863125","1396863011","1396863084","1396863180","1396863045"],"photo_ids_order":["1396862975","1396863011","1396863045","1396863084","1396863125","1396863180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44b1186839a2db87b7216bbe352da8ac.jpg","text":"TemporaryFile(/tmp/multipartBody2439891336396998598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408004756,"filename":"image_25112025_18_06_52_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95e8b8c2edcd64f055cf93b8fb97a43c.jpg","text":"TemporaryFile(/tmp/multipartBody5747506473905645036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408004756,"filename":"image_25112025_18_07_04_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9827e13488097df5dab74ef142d97b87.jpg","text":"TemporaryFile(/tmp/multipartBody7435410297831855170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408004756,"filename":"image_25112025_18_06_56_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be74491f21978c4b7bae52dd0c6f0385.jpg","text":"TemporaryFile(/tmp/multipartBody8030364469262262361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408004756,"filename":"image_25112025_18_07_02_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43e6b9ae0847fb2e7fbac2e948725b15.jpg","text":"TemporaryFile(/tmp/multipartBody8707284708969376733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408004756,"filename":"image_25112025_18_07_07_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0246a44aa70935841b0280d387541920.jpg","text":"TemporaryFile(/tmp/multipartBody2532668168333354937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408004756,"filename":"image_25112025_18_06_58_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863045","file1":"1396863011","file0":"1396862975","file4":"1396863125","file5":"1396863180","file3":"1396863084"},"map_files_photo_id_array":[{"photo_id":"1396863180","filename":"file5"},{"photo_id":"1396863045","filename":"file2"},{"photo_id":"1396863125","filename":"file4"},{"photo_id":"1396863011","filename":"file1"},{"photo_id":"1396862975","filename":"file0"},{"photo_id":"1396863084","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396862975":["hashtag1","hashtag2"]},{"1396863125":["hashtag1","hashtag2"]},{"1396863011":["hashtag1","hashtag2"]},{"1396863084":["hashtag1","hashtag2"]},{"1396863180":["hashtag1","hashtag2"]},{"1396863045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396862975, 1396863125, 1396863011, 1396863084, 1396863180, 1396863045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46101999282837 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-11-29 10:20:02.687850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/18/image_29112025_10_18_14_10538.jpg', '/home/pi/Desktop/images/29112025/10/19/image_29112025_10_19_14_9677.jpg', '/home/pi/Desktop/images/29112025/10/19/image_29112025_10_19_24_9538.jpg', '/home/pi/Desktop/images/29112025/10/19/image_29112025_10_19_35_10839.jpg', '/home/pi/Desktop/images/29112025/10/19/image_29112025_10_19_44_9524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/18/image_29112025_10_18_14_10538.jpg
/home/pi/Desktop/images/29112025/10/19/image_29112025_10_19_14_9677.jpg
/home/pi/Desktop/images/29112025/10/19/image_29112025_10_19_24_9538.jpg
/home/pi/Desktop/images/29112025/10/19/image_29112025_10_19_35_10839.jpg
/home/pi/Desktop/images/29112025/10/19/image_29112025_10_19_44_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":["1396863476","1396863478","1396863466","1396863475","1396863474"],"photo_ids_order":["1396863466","1396863474","1396863475","1396863476","1396863478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d39e3749010916410e147faaca99962.jpg","text":"TemporaryFile(/tmp/multipartBody7310203842200384232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408063314,"filename":"image_29112025_10_19_35_10839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6536b0cbdfb0f6e6dd93c70cf0d849f.jpg","text":"TemporaryFile(/tmp/multipartBody1408807014888621407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408063314,"filename":"image_29112025_10_19_44_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e669cf4ba8b01addca6bf971a0fcec21.jpg","text":"TemporaryFile(/tmp/multipartBody6366364656856652012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408063314,"filename":"image_29112025_10_18_14_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f1bd20b697bdc09b2e698146444b21c.jpg","text":"TemporaryFile(/tmp/multipartBody6274905552214517050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408063314,"filename":"image_29112025_10_19_24_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c11364a33fff5a8f1806bb4249ede71d.jpg","text":"TemporaryFile(/tmp/multipartBody4761603877608531967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408063314,"filename":"image_29112025_10_19_14_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863475","file1":"1396863474","file0":"1396863466","file4":"1396863478","file3":"1396863476"},"map_files_photo_id_array":[{"photo_id":"1396863475","filename":"file2"},{"photo_id":"1396863478","filename":"file4"},{"photo_id":"1396863474","filename":"file1"},{"photo_id":"1396863466","filename":"file0"},{"photo_id":"1396863476","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396863476":["hashtag1","hashtag2"]},{"1396863478":["hashtag1","hashtag2"]},{"1396863466":["hashtag1","hashtag2"]},{"1396863475":["hashtag1","hashtag2"]},{"1396863474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396863476, 1396863478, 1396863466, 1396863475, 1396863474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.615527391433716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:20:42.211572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_48_2772.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_51_2834.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_54_2676.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_58_3784.jpg', '/home/pi/Desktop/images/31102025/09/18/image_31102025_09_19_00_2665.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_06_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/09/18/image_31102025_09_18_48_2772.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_51_2834.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_54_2676.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_18_58_3784.jpg
/home/pi/Desktop/images/31102025/09/18/image_31102025_09_19_00_2665.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_06_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863671","1396863602","1396863670","1396863649","1396863634","1396863627"],"photo_ids_order":["1396863602","1396863627","1396863634","1396863649","1396863670","1396863671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21e10b6b426c3fbb4e3f40fc6ca92181.jpg","text":"TemporaryFile(/tmp/multipartBody4925077222608630483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408103385,"filename":"image_31102025_09_19_06_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afd24d33ddfa1f93d4598e1545b5e501.jpg","text":"TemporaryFile(/tmp/multipartBody2542283472084574927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408103385,"filename":"image_31102025_09_18_48_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e1e9c71a2392f467b34dd979b7ea272.jpg","text":"TemporaryFile(/tmp/multipartBody5549658100723299755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408103385,"filename":"image_31102025_09_19_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/11/29/a80c5d5bd29b4966b928aa37e80cd8ff.jpg","text":"TemporaryFile(/tmp/multipartBody423659956647733979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408103385,"filename":"image_31102025_09_18_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/11/29/6a0e522c3ad5a4b666c6f3d56f77a15f.jpg","text":"TemporaryFile(/tmp/multipartBody8813475835678316013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408103385,"filename":"image_31102025_09_18_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/11/29/20d555d09b346b958bfa9c27a6dab9a1.jpg","text":"TemporaryFile(/tmp/multipartBody7003980989712501185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408103385,"filename":"image_31102025_09_18_51_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863634","file1":"1396863627","file0":"1396863602","file4":"1396863670","file5":"1396863671","file3":"1396863649"},"map_files_photo_id_array":[{"photo_id":"1396863671","filename":"file5"},{"photo_id":"1396863634","filename":"file2"},{"photo_id":"1396863670","filename":"file4"},{"photo_id":"1396863627","filename":"file1"},{"photo_id":"1396863602","filename":"file0"},{"photo_id":"1396863649","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396863671":["hashtag1","hashtag2"]},{"1396863602":["hashtag1","hashtag2"]},{"1396863670":["hashtag1","hashtag2"]},{"1396863649":["hashtag1","hashtag2"]},{"1396863634":["hashtag1","hashtag2"]},{"1396863627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396863671, 1396863602, 1396863670, 1396863649, 1396863634, 1396863627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69994068145752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:21:22.399112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/19/image_29112025_10_19_55_10598.jpg', '/home/pi/Desktop/images/29112025/10/20/image_29112025_10_20_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/19/image_29112025_10_19_55_10598.jpg
/home/pi/Desktop/images/29112025/10/20/image_29112025_10_20_14_10056.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863674","1396863677"],"photo_ids_order":["1396863674","1396863677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/673dc9eebffaa775956a9d860d973414.jpg","text":"TemporaryFile(/tmp/multipartBody3926522208832563850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408142933,"filename":"image_29112025_10_19_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/11/29/9936b65d03355d28c9ab2f6808384935.jpg","text":"TemporaryFile(/tmp/multipartBody1242009060244661126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408142933,"filename":"image_29112025_10_20_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396863677","file0":"1396863674"},"map_files_photo_id_array":[{"photo_id":"1396863677","filename":"file1"},{"photo_id":"1396863674","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396863674":["hashtag1","hashtag2"]},{"1396863677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396863674, 1396863677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.290498971939087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:21:42.442490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_09_3689.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_12_2823.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_15_2594.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_19_3639.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_24_2798.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_28_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_09_3689.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_12_2823.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_15_2594.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_19_3639.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_24_2798.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_28_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863689","1396863691","1396863685","1396863688","1396863690","1396863687"],"photo_ids_order":["1396863685","1396863687","1396863688","1396863689","1396863690","1396863691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c772db32df2451817c48ac51c1a3ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4176146151310557463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408163622,"filename":"image_31102025_09_19_19_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7fba21615779cc56cc44dd4eafc609ed.jpg","text":"TemporaryFile(/tmp/multipartBody705058544494347460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408163622,"filename":"image_31102025_09_19_28_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7dfaf6f121fd103dd6590565c9f833c1.jpg","text":"TemporaryFile(/tmp/multipartBody4381140050797861183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408163622,"filename":"image_31102025_09_19_09_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25cb9851fb43bfb0c0882a3b476c34c7.jpg","text":"TemporaryFile(/tmp/multipartBody4395943952649445689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408163622,"filename":"image_31102025_09_19_15_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6319a8599afb0cce6119157c8bfbc2fb.jpg","text":"TemporaryFile(/tmp/multipartBody7227745637682524305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408163622,"filename":"image_31102025_09_19_24_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cdb3154f55d1dfea1a43f53b6c544f61.jpg","text":"TemporaryFile(/tmp/multipartBody1627535004198295214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408163622,"filename":"image_31102025_09_19_12_2823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863688","file1":"1396863687","file0":"1396863685","file4":"1396863690","file5":"1396863691","file3":"1396863689"},"map_files_photo_id_array":[{"photo_id":"1396863691","filename":"file5"},{"photo_id":"1396863688","filename":"file2"},{"photo_id":"1396863690","filename":"file4"},{"photo_id":"1396863687","filename":"file1"},{"photo_id":"1396863685","filename":"file0"},{"photo_id":"1396863689","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396863689":["hashtag1","hashtag2"]},{"1396863691":["hashtag1","hashtag2"]},{"1396863685":["hashtag1","hashtag2"]},{"1396863688":["hashtag1","hashtag2"]},{"1396863690":["hashtag1","hashtag2"]},{"1396863687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396863689, 1396863691, 1396863685, 1396863688, 1396863690, 1396863687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.879109621047974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:22:22.710210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_11_3728.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_13_2617.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_16_2675.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_20_3607.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_25_2722.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_31_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_11_3728.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_13_2617.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_16_2675.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_20_3607.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_25_2722.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_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":["1396863708","1396863698","1396863702","1396863695","1396863711","1396863705"],"photo_ids_order":["1396863695","1396863698","1396863702","1396863705","1396863708","1396863711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e3973d6f576a555c4af8a62065c2b6d.jpg","text":"TemporaryFile(/tmp/multipartBody462665964749418613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408204944,"filename":"image_25112025_18_07_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/11/29/2a52a28324edbf87a40a17820efd7355.jpg","text":"TemporaryFile(/tmp/multipartBody812460712771351331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408204944,"filename":"image_25112025_18_07_13_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/867e9244364f84a2a4921f4d4b8fae32.jpg","text":"TemporaryFile(/tmp/multipartBody6505019905022250430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408204944,"filename":"image_25112025_18_07_16_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e26883fb051b153e6f2606e4850fd16b.jpg","text":"TemporaryFile(/tmp/multipartBody4754168457636718017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408204944,"filename":"image_25112025_18_07_11_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3868b78e042f2597de2acf35858c057c.jpg","text":"TemporaryFile(/tmp/multipartBody5657162869209393575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408204944,"filename":"image_25112025_18_07_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/11/29/c5f95793f923d2016726cab233bdc7e8.jpg","text":"TemporaryFile(/tmp/multipartBody8810749904442444208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408204944,"filename":"image_25112025_18_07_20_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863702","file1":"1396863698","file0":"1396863695","file4":"1396863708","file5":"1396863711","file3":"1396863705"},"map_files_photo_id_array":[{"photo_id":"1396863711","filename":"file5"},{"photo_id":"1396863702","filename":"file2"},{"photo_id":"1396863708","filename":"file4"},{"photo_id":"1396863698","filename":"file1"},{"photo_id":"1396863695","filename":"file0"},{"photo_id":"1396863705","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396863708":["hashtag1","hashtag2"]},{"1396863698":["hashtag1","hashtag2"]},{"1396863702":["hashtag1","hashtag2"]},{"1396863695":["hashtag1","hashtag2"]},{"1396863711":["hashtag1","hashtag2"]},{"1396863705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396863708, 1396863698, 1396863702, 1396863695, 1396863711, 1396863705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16136145591736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:23:03.332303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_38_3860.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_43_2823.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_46_2604.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_49_3635.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_52_2506.jpg', '/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_55_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_38_3860.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_43_2823.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_46_2604.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_49_3635.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_52_2506.jpg
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_55_2724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863714","1396863719","1396863713","1396863712","1396863715","1396863723"],"photo_ids_order":["1396863712","1396863713","1396863714","1396863715","1396863719","1396863723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bca4494246ac5a704b786ebbdfae8962.jpg","text":"TemporaryFile(/tmp/multipartBody3772092916047322993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408245012,"filename":"image_25112025_18_07_46_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c55c240a29ed0e3786a3153b740a19ab.jpg","text":"TemporaryFile(/tmp/multipartBody8341853760249014321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408245012,"filename":"image_25112025_18_07_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/11/29/0f2aa1b2963b170edb5e4f8efc587599.jpg","text":"TemporaryFile(/tmp/multipartBody3022509168559724863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408245012,"filename":"image_25112025_18_07_43_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50d38199331a728feab2eb662d233a89.jpg","text":"TemporaryFile(/tmp/multipartBody5100624752906922716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408245012,"filename":"image_25112025_18_07_38_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd4c71289ae7c9c23fb6c663c43d92f0.jpg","text":"TemporaryFile(/tmp/multipartBody1308502572162411458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408245012,"filename":"image_25112025_18_07_49_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4456d628db823b067b3c409419bb3317.jpg","text":"TemporaryFile(/tmp/multipartBody5017591930663968494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408245012,"filename":"image_25112025_18_07_55_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863714","file1":"1396863713","file0":"1396863712","file4":"1396863719","file5":"1396863723","file3":"1396863715"},"map_files_photo_id_array":[{"photo_id":"1396863723","filename":"file5"},{"photo_id":"1396863714","filename":"file2"},{"photo_id":"1396863719","filename":"file4"},{"photo_id":"1396863713","filename":"file1"},{"photo_id":"1396863712","filename":"file0"},{"photo_id":"1396863715","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396863714":["hashtag1","hashtag2"]},{"1396863719":["hashtag1","hashtag2"]},{"1396863713":["hashtag1","hashtag2"]},{"1396863712":["hashtag1","hashtag2"]},{"1396863715":["hashtag1","hashtag2"]},{"1396863723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396863714, 1396863719, 1396863713, 1396863712, 1396863715, 1396863723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48806405067444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:23:42.904852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_30_2588.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_33_2705.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_37_3667.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_39_2707.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_42_2637.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_46_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_30_2588.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_33_2705.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_37_3667.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_39_2707.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_42_2637.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_46_3601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863764","1396863761","1396863758","1396863763","1396863760","1396863762"],"photo_ids_order":["1396863758","1396863760","1396863761","1396863762","1396863763","1396863764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb4be25ea6ede2d3ccd0e0359c51c404.jpg","text":"TemporaryFile(/tmp/multipartBody9117940187396516416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408284041,"filename":"image_31102025_09_19_46_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48c5a025025f204d53d770537cfc51fc.jpg","text":"TemporaryFile(/tmp/multipartBody6582946025703952992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408284041,"filename":"image_31102025_09_19_37_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5caab426715f048e638241ec5ec9e9c4.jpg","text":"TemporaryFile(/tmp/multipartBody6061966540650093465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408284041,"filename":"image_31102025_09_19_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/11/29/65effbbe734eafad80f46311a8672e98.jpg","text":"TemporaryFile(/tmp/multipartBody94777076260701283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408284041,"filename":"image_31102025_09_19_42_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e67329299e21a593c88664f15c128737.jpg","text":"TemporaryFile(/tmp/multipartBody5933443900372850927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408284041,"filename":"image_31102025_09_19_33_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f94fb40c6fad4a5a2096d8d3fda9a11.jpg","text":"TemporaryFile(/tmp/multipartBody8500222883098290442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408284041,"filename":"image_31102025_09_19_39_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863761","file1":"1396863760","file0":"1396863758","file4":"1396863763","file5":"1396863764","file3":"1396863762"},"map_files_photo_id_array":[{"photo_id":"1396863764","filename":"file5"},{"photo_id":"1396863761","filename":"file2"},{"photo_id":"1396863763","filename":"file4"},{"photo_id":"1396863760","filename":"file1"},{"photo_id":"1396863758","filename":"file0"},{"photo_id":"1396863762","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396863764":["hashtag1","hashtag2"]},{"1396863761":["hashtag1","hashtag2"]},{"1396863758":["hashtag1","hashtag2"]},{"1396863763":["hashtag1","hashtag2"]},{"1396863760":["hashtag1","hashtag2"]},{"1396863762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396863764, 1396863761, 1396863758, 1396863763, 1396863760, 1396863762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25323271751404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:24:22.083832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/21/image_29112025_10_21_14_9546.jpg', '/home/pi/Desktop/images/29112025/10/23/image_29112025_10_23_15_9672.jpg', '/home/pi/Desktop/images/29112025/10/23/image_29112025_10_23_24_9633.jpg', '/home/pi/Desktop/images/29112025/10/23/image_29112025_10_23_45_9596.jpg', '/home/pi/Desktop/images/29112025/10/23/image_29112025_10_23_54_9657.jpg', '/home/pi/Desktop/images/29112025/10/23/image_29112025_10_24_05_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/21/image_29112025_10_21_14_9546.jpg
/home/pi/Desktop/images/29112025/10/23/image_29112025_10_23_15_9672.jpg
/home/pi/Desktop/images/29112025/10/23/image_29112025_10_23_24_9633.jpg
/home/pi/Desktop/images/29112025/10/23/image_29112025_10_23_45_9596.jpg
/home/pi/Desktop/images/29112025/10/23/image_29112025_10_23_54_9657.jpg
/home/pi/Desktop/images/29112025/10/23/image_29112025_10_24_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":["1396863779","1396863770","1396863773","1396863776","1396863781","1396863766"],"photo_ids_order":["1396863766","1396863770","1396863773","1396863776","1396863779","1396863781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f69a0692f0b19ed0dfcc8c8d7a55f5f.jpg","text":"TemporaryFile(/tmp/multipartBody3301216360842056960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408322696,"filename":"image_29112025_10_23_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/11/29/7353910c1331972bc8d879a1bfb73fa7.jpg","text":"TemporaryFile(/tmp/multipartBody7983735589014742469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408322696,"filename":"image_29112025_10_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/11/29/8e06f10642ae749bbe3b6aca6de8804d.jpg","text":"TemporaryFile(/tmp/multipartBody1013393197503039745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408322696,"filename":"image_29112025_10_23_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/11/29/209c98f9cd6996fdc474ddd7a3816cd1.jpg","text":"TemporaryFile(/tmp/multipartBody9173347658724123922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408322696,"filename":"image_29112025_10_23_45_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c88f3207fbce498532a07312ac42a05.jpg","text":"TemporaryFile(/tmp/multipartBody7630563055852451111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408322696,"filename":"image_29112025_10_24_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/11/29/81b54d272c0f948175f431f82c462d7e.jpg","text":"TemporaryFile(/tmp/multipartBody8709765197805431898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408322696,"filename":"image_29112025_10_21_14_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863773","file1":"1396863770","file0":"1396863766","file4":"1396863779","file5":"1396863781","file3":"1396863776"},"map_files_photo_id_array":[{"photo_id":"1396863781","filename":"file5"},{"photo_id":"1396863773","filename":"file2"},{"photo_id":"1396863779","filename":"file4"},{"photo_id":"1396863770","filename":"file1"},{"photo_id":"1396863766","filename":"file0"},{"photo_id":"1396863776","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396863779":["hashtag1","hashtag2"]},{"1396863770":["hashtag1","hashtag2"]},{"1396863773":["hashtag1","hashtag2"]},{"1396863776":["hashtag1","hashtag2"]},{"1396863781":["hashtag1","hashtag2"]},{"1396863766":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396863779, 1396863770, 1396863773, 1396863776, 1396863781, 1396863766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90502166748047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:25:02.774202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/24/image_29112025_10_24_15_9609.jpg', '/home/pi/Desktop/images/29112025/10/24/image_29112025_10_24_24_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/24/image_29112025_10_24_15_9609.jpg
/home/pi/Desktop/images/29112025/10/24/image_29112025_10_24_24_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863784","1396863783"],"photo_ids_order":["1396863783","1396863784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b90f6a59a381a77e98425baefdc54f9.jpg","text":"TemporaryFile(/tmp/multipartBody6281398173992443665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408363357,"filename":"image_29112025_10_24_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/11/29/7aa4b327aed925ff1a0205e72c89d64a.jpg","text":"TemporaryFile(/tmp/multipartBody2939754716666293026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408363357,"filename":"image_29112025_10_24_15_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396863784","file0":"1396863783"},"map_files_photo_id_array":[{"photo_id":"1396863784","filename":"file1"},{"photo_id":"1396863783","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396863784":["hashtag1","hashtag2"]},{"1396863783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396863784, 1396863783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.446470260620117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:25:22.272968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_58_3646.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_01_2507.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_05_3673.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_10_2607.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_13_3751.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_16_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/07/image_25112025_18_07_58_3646.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_01_2507.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_05_3673.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_10_2607.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_13_3751.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_16_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":["1396863801","1396863791","1396863794","1396863788","1396863803","1396863798"],"photo_ids_order":["1396863788","1396863791","1396863794","1396863798","1396863801","1396863803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21265b72023c64c5be24b2ca48ca4b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3386389715105059137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408384487,"filename":"image_25112025_18_08_13_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17abb721e794f2007467cdeeb1ec213a.jpg","text":"TemporaryFile(/tmp/multipartBody415149042799514653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408384487,"filename":"image_25112025_18_08_01_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/663d181961ae89cb751e736af547b08b.jpg","text":"TemporaryFile(/tmp/multipartBody8550897500213362412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408384487,"filename":"image_25112025_18_08_05_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/532b39ea0ab1dbf2fbb8b6baaea84105.jpg","text":"TemporaryFile(/tmp/multipartBody8448946476170343896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408384487,"filename":"image_25112025_18_07_58_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/260bf967bb2d4b81fe080ffade628eb5.jpg","text":"TemporaryFile(/tmp/multipartBody8471741803215425682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408384487,"filename":"image_25112025_18_08_16_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/095f4ed8ea3f7ce85afae4cb4f208cc5.jpg","text":"TemporaryFile(/tmp/multipartBody1503867479612729048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408384487,"filename":"image_25112025_18_08_10_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863794","file1":"1396863791","file0":"1396863788","file4":"1396863801","file5":"1396863803","file3":"1396863798"},"map_files_photo_id_array":[{"photo_id":"1396863803","filename":"file5"},{"photo_id":"1396863794","filename":"file2"},{"photo_id":"1396863801","filename":"file4"},{"photo_id":"1396863791","filename":"file1"},{"photo_id":"1396863788","filename":"file0"},{"photo_id":"1396863798","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396863801":["hashtag1","hashtag2"]},{"1396863791":["hashtag1","hashtag2"]},{"1396863794":["hashtag1","hashtag2"]},{"1396863788":["hashtag1","hashtag2"]},{"1396863803":["hashtag1","hashtag2"]},{"1396863798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396863801, 1396863791, 1396863794, 1396863788, 1396863803, 1396863798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.905292987823486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:26:03.000861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_20_3529.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_22_2589.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_25_2608.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_28_3564.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_31_2597.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_34_3500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_20_3529.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_22_2589.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_25_2608.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_28_3564.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_31_2597.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_34_3500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863807","1396863812","1396863806","1396863805","1396863810","1396863804"],"photo_ids_order":["1396863804","1396863805","1396863806","1396863807","1396863810","1396863812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a133627b76ff74d92fdcdaf61f614706.jpg","text":"TemporaryFile(/tmp/multipartBody3906851356763380804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408424602,"filename":"image_25112025_18_08_28_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/579135bd3518b7b0c54eb4c5f54155a9.jpg","text":"TemporaryFile(/tmp/multipartBody1685692911831422139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408424602,"filename":"image_25112025_18_08_34_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0a63ddc24a3678aa347e030c61297a9.jpg","text":"TemporaryFile(/tmp/multipartBody6655661951909657997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408424602,"filename":"image_25112025_18_08_25_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dcbd173173ecc534987f6fbfd8c544fa.jpg","text":"TemporaryFile(/tmp/multipartBody7385917026646043077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408424602,"filename":"image_25112025_18_08_22_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19dd4af6b49d5fbd32d74a59b03ce555.jpg","text":"TemporaryFile(/tmp/multipartBody4504775116260953164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408424602,"filename":"image_25112025_18_08_31_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0c685a10c3437d24855d522ef1a230b.jpg","text":"TemporaryFile(/tmp/multipartBody4469013621671385126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408424602,"filename":"image_25112025_18_08_20_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863806","file1":"1396863805","file0":"1396863804","file4":"1396863810","file5":"1396863812","file3":"1396863807"},"map_files_photo_id_array":[{"photo_id":"1396863812","filename":"file5"},{"photo_id":"1396863806","filename":"file2"},{"photo_id":"1396863810","filename":"file4"},{"photo_id":"1396863805","filename":"file1"},{"photo_id":"1396863804","filename":"file0"},{"photo_id":"1396863807","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396863807":["hashtag1","hashtag2"]},{"1396863812":["hashtag1","hashtag2"]},{"1396863806":["hashtag1","hashtag2"]},{"1396863805":["hashtag1","hashtag2"]},{"1396863810":["hashtag1","hashtag2"]},{"1396863804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396863807, 1396863812, 1396863806, 1396863805, 1396863810, 1396863804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63116407394409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:26:42.601944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_48_2675.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_51_2679.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_55_3594.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_57_2847.jpg', '/home/pi/Desktop/images/31102025/09/19/image_31102025_09_20_00_2556.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_04_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/09/19/image_31102025_09_19_48_2675.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_51_2679.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_55_3594.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_19_57_2847.jpg
/home/pi/Desktop/images/31102025/09/19/image_31102025_09_20_00_2556.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_04_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":["1396863833","1396863827","1396863829","1396863822","1396863831","1396863825"],"photo_ids_order":["1396863822","1396863825","1396863827","1396863829","1396863831","1396863833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/064bd432f72938a7977b715572c22851.jpg","text":"TemporaryFile(/tmp/multipartBody9196153012671456934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408463740,"filename":"image_31102025_09_20_04_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea78b27897c594685143f19d178e9331.jpg","text":"TemporaryFile(/tmp/multipartBody3796634461188786902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408463740,"filename":"image_31102025_09_19_55_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9143e54f5bdf5058a6560b33b6a896c0.jpg","text":"TemporaryFile(/tmp/multipartBody7596908482384150264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408463740,"filename":"image_31102025_09_19_57_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1b1618df09e02d8b0e417c68224c780.jpg","text":"TemporaryFile(/tmp/multipartBody238366030199564412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408463740,"filename":"image_31102025_09_19_48_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aeca1195faf44e5502fdce029a1fe41d.jpg","text":"TemporaryFile(/tmp/multipartBody8866466650200648005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408463740,"filename":"image_31102025_09_20_00_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ee15289450ad3d09d951640fca4944c.jpg","text":"TemporaryFile(/tmp/multipartBody1240994258568442020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408463740,"filename":"image_31102025_09_19_51_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863827","file1":"1396863825","file0":"1396863822","file4":"1396863831","file5":"1396863833","file3":"1396863829"},"map_files_photo_id_array":[{"photo_id":"1396863833","filename":"file5"},{"photo_id":"1396863827","filename":"file2"},{"photo_id":"1396863831","filename":"file4"},{"photo_id":"1396863825","filename":"file1"},{"photo_id":"1396863822","filename":"file0"},{"photo_id":"1396863829","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396863833":["hashtag1","hashtag2"]},{"1396863827":["hashtag1","hashtag2"]},{"1396863829":["hashtag1","hashtag2"]},{"1396863822":["hashtag1","hashtag2"]},{"1396863831":["hashtag1","hashtag2"]},{"1396863825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396863833, 1396863827, 1396863829, 1396863822, 1396863831, 1396863825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16072869300842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:27:22.789083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/24/image_29112025_10_24_35_10671.jpg', '/home/pi/Desktop/images/29112025/10/26/image_29112025_10_26_14_9649.jpg', '/home/pi/Desktop/images/29112025/10/26/image_29112025_10_27_04_9489.jpg', '/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_14_9667.jpg', '/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_24_10716.jpg', '/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/24/image_29112025_10_24_35_10671.jpg
/home/pi/Desktop/images/29112025/10/26/image_29112025_10_26_14_9649.jpg
/home/pi/Desktop/images/29112025/10/26/image_29112025_10_27_04_9489.jpg
/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_14_9667.jpg
/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_24_10716.jpg
/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_34_9600.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5210886001586914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:27:32.809706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_37_2712.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_40_2587.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_43_3617.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_46_2613.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_50_3571.jpg', '/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_52_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_37_2712.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_40_2587.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_43_3617.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_46_2613.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_50_3571.jpg
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_52_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":["1396863845","1396863857","1396863856","1396863853","1396863855","1396863849"],"photo_ids_order":["1396863845","1396863849","1396863853","1396863855","1396863856","1396863857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af03333a24b92f0dbff565d8275a2ace.jpg","text":"TemporaryFile(/tmp/multipartBody3687542969517699317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408515041,"filename":"image_25112025_18_08_37_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55cff5195fa8b6e34853ed7cb4270e64.jpg","text":"TemporaryFile(/tmp/multipartBody2438399961220307823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408515041,"filename":"image_25112025_18_08_52_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/450cfcaaa5b2beb26d808b51ade3d538.jpg","text":"TemporaryFile(/tmp/multipartBody140484454573161180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408515041,"filename":"image_25112025_18_08_50_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8f7aa40630f2ab3b923ff1b4c1dd17e.jpg","text":"TemporaryFile(/tmp/multipartBody1544705951921472545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408515041,"filename":"image_25112025_18_08_43_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b8e40ff70801785794f40fb481578dc.jpg","text":"TemporaryFile(/tmp/multipartBody7567793862648298398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408515041,"filename":"image_25112025_18_08_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/11/29/64485c77815411634a786051a8e6d72c.jpg","text":"TemporaryFile(/tmp/multipartBody3117383545897757525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408515041,"filename":"image_25112025_18_08_40_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863853","file1":"1396863849","file0":"1396863845","file4":"1396863856","file5":"1396863857","file3":"1396863855"},"map_files_photo_id_array":[{"photo_id":"1396863857","filename":"file5"},{"photo_id":"1396863853","filename":"file2"},{"photo_id":"1396863856","filename":"file4"},{"photo_id":"1396863849","filename":"file1"},{"photo_id":"1396863845","filename":"file0"},{"photo_id":"1396863855","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396863845":["hashtag1","hashtag2"]},{"1396863857":["hashtag1","hashtag2"]},{"1396863856":["hashtag1","hashtag2"]},{"1396863853":["hashtag1","hashtag2"]},{"1396863855":["hashtag1","hashtag2"]},{"1396863849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396863845, 1396863857, 1396863856, 1396863853, 1396863855, 1396863849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16414928436279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:28:11.891102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_55_2592.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_01_2689.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_04_2683.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_07_2649.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_10_3794.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_16_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/08/image_25112025_18_08_55_2592.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_01_2689.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_04_2683.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_07_2649.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_10_3794.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_16_2708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863868","1396863862","1396863871","1396863865","1396863859","1396863858"],"photo_ids_order":["1396863858","1396863859","1396863862","1396863865","1396863868","1396863871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85099c1c6003eee6b85e9181fafcd900.jpg","text":"TemporaryFile(/tmp/multipartBody334336126570400541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408553986,"filename":"image_25112025_18_09_10_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cf4cf75ec65b3b5b9c5940158fc7fd8.jpg","text":"TemporaryFile(/tmp/multipartBody7409398275713597514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408553986,"filename":"image_25112025_18_09_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/11/29/7c6223e89fefcddfe92105368c07d908.jpg","text":"TemporaryFile(/tmp/multipartBody7111056966676855757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408553986,"filename":"image_25112025_18_09_16_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d1efc1a8f72f498979fd5e51d2ac54d.jpg","text":"TemporaryFile(/tmp/multipartBody2216454888533039743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408553986,"filename":"image_25112025_18_09_07_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d294bba990497b6a996151afd0ef4976.jpg","text":"TemporaryFile(/tmp/multipartBody4040261612909624359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408553986,"filename":"image_25112025_18_09_01_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4a5ca0c0c635396c15513611ee5eb664.jpg","text":"TemporaryFile(/tmp/multipartBody6236539752002474287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408553986,"filename":"image_25112025_18_08_55_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863862","file1":"1396863859","file0":"1396863858","file4":"1396863868","file5":"1396863871","file3":"1396863865"},"map_files_photo_id_array":[{"photo_id":"1396863871","filename":"file5"},{"photo_id":"1396863862","filename":"file2"},{"photo_id":"1396863868","filename":"file4"},{"photo_id":"1396863859","filename":"file1"},{"photo_id":"1396863858","filename":"file0"},{"photo_id":"1396863865","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396863868":["hashtag1","hashtag2"]},{"1396863862":["hashtag1","hashtag2"]},{"1396863871":["hashtag1","hashtag2"]},{"1396863865":["hashtag1","hashtag2"]},{"1396863859":["hashtag1","hashtag2"]},{"1396863858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396863868, 1396863862, 1396863871, 1396863865, 1396863859, 1396863858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15304136276245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:29:03.249196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/24/image_29112025_10_24_35_10671.jpg', '/home/pi/Desktop/images/29112025/10/26/image_29112025_10_26_14_9649.jpg', '/home/pi/Desktop/images/29112025/10/26/image_29112025_10_27_04_9489.jpg', '/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_14_9667.jpg', '/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_24_10716.jpg', '/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_34_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/24/image_29112025_10_24_35_10671.jpg
/home/pi/Desktop/images/29112025/10/26/image_29112025_10_26_14_9649.jpg
/home/pi/Desktop/images/29112025/10/26/image_29112025_10_27_04_9489.jpg
/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_14_9667.jpg
/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_24_10716.jpg
/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_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":["1396863881","1396863884","1396863878","1396863887","1396863879","1396863882"],"photo_ids_order":["1396863878","1396863879","1396863881","1396863882","1396863884","1396863887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ffe583c935d501b8052e533f6b26b8c.jpg","text":"TemporaryFile(/tmp/multipartBody8964008509436764785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408604084,"filename":"image_29112025_10_27_04_9489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e51cf04fc2365fb896cc3dcd25f3994.jpg","text":"TemporaryFile(/tmp/multipartBody5260005250221416287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408604084,"filename":"image_29112025_10_27_24_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ac86d5cf0dbe04aef376ca8ad93374f.jpg","text":"TemporaryFile(/tmp/multipartBody6727222615382861617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408604084,"filename":"image_29112025_10_24_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/11/29/78e65d24b0997190a9c182cb8b008301.jpg","text":"TemporaryFile(/tmp/multipartBody2210271708629333587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408604084,"filename":"image_29112025_10_27_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/11/29/cb7f2d60657df87a514eb54e1ba59872.jpg","text":"TemporaryFile(/tmp/multipartBody2386509929385350940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408604084,"filename":"image_29112025_10_26_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/11/29/76bec14c981c245aa5d9f6a5fd71ecc3.jpg","text":"TemporaryFile(/tmp/multipartBody1542608685055219589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408604084,"filename":"image_29112025_10_27_14_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863881","file1":"1396863879","file0":"1396863878","file4":"1396863884","file5":"1396863887","file3":"1396863882"},"map_files_photo_id_array":[{"photo_id":"1396863887","filename":"file5"},{"photo_id":"1396863881","filename":"file2"},{"photo_id":"1396863884","filename":"file4"},{"photo_id":"1396863879","filename":"file1"},{"photo_id":"1396863878","filename":"file0"},{"photo_id":"1396863882","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396863881":["hashtag1","hashtag2"]},{"1396863884":["hashtag1","hashtag2"]},{"1396863878":["hashtag1","hashtag2"]},{"1396863887":["hashtag1","hashtag2"]},{"1396863879":["hashtag1","hashtag2"]},{"1396863882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396863881, 1396863884, 1396863878, 1396863887, 1396863879, 1396863882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14504384994507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:29:42.208679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_07_2914.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_09_2693.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_12_2740.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_19_3779.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_21_2705.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_24_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/09/20/image_31102025_09_20_07_2914.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_09_2693.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_12_2740.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_19_3779.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_21_2705.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_24_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":["1396863899","1396863902","1396863905","1396863904","1396863901","1396863903"],"photo_ids_order":["1396863899","1396863901","1396863902","1396863903","1396863904","1396863905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f95e3f8344e800e98fb969bd869d7a41.jpg","text":"TemporaryFile(/tmp/multipartBody3891645168443837783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408643361,"filename":"image_31102025_09_20_07_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d59903d0118c8391eaca5d1196e1fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4467075765616511935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408643361,"filename":"image_31102025_09_20_12_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd67f80704435313a584fcbaf290026f.jpg","text":"TemporaryFile(/tmp/multipartBody3485231840953594544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408643361,"filename":"image_31102025_09_20_24_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/623f14b43bf9ffc42b61be6c33fbbffb.jpg","text":"TemporaryFile(/tmp/multipartBody6586065511067393435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408643361,"filename":"image_31102025_09_20_21_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15d0bf2a9415a6c0d8be59042aefc15c.jpg","text":"TemporaryFile(/tmp/multipartBody1511834650359386293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408643361,"filename":"image_31102025_09_20_09_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80e65ec2bb7631555fc11b0be8a87538.jpg","text":"TemporaryFile(/tmp/multipartBody8598539557125205903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408643361,"filename":"image_31102025_09_20_19_3779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863902","file1":"1396863901","file0":"1396863899","file4":"1396863904","file5":"1396863905","file3":"1396863903"},"map_files_photo_id_array":[{"photo_id":"1396863905","filename":"file5"},{"photo_id":"1396863902","filename":"file2"},{"photo_id":"1396863904","filename":"file4"},{"photo_id":"1396863901","filename":"file1"},{"photo_id":"1396863899","filename":"file0"},{"photo_id":"1396863903","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396863899":["hashtag1","hashtag2"]},{"1396863902":["hashtag1","hashtag2"]},{"1396863905":["hashtag1","hashtag2"]},{"1396863904":["hashtag1","hashtag2"]},{"1396863901":["hashtag1","hashtag2"]},{"1396863903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396863899, 1396863902, 1396863905, 1396863904, 1396863901, 1396863903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71564316749573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:30:22.374846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_54_10722.jpg', '/home/pi/Desktop/images/29112025/10/28/image_29112025_10_28_14_9643.jpg', '/home/pi/Desktop/images/29112025/10/28/image_29112025_10_29_04_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/27/image_29112025_10_27_54_10722.jpg
/home/pi/Desktop/images/29112025/10/28/image_29112025_10_28_14_9643.jpg
/home/pi/Desktop/images/29112025/10/28/image_29112025_10_29_04_9800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863912","1396863914","1396863908"],"photo_ids_order":["1396863908","1396863912","1396863914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01e6a8f680bac3041aa58b414ce9feb5.jpg","text":"TemporaryFile(/tmp/multipartBody8234836675762433390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408682970,"filename":"image_29112025_10_28_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/11/29/e099cecab9fd7c55f359af56a7173007.jpg","text":"TemporaryFile(/tmp/multipartBody8797258575967100651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408682970,"filename":"image_29112025_10_29_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/11/29/0df541e1130118ed50350d9a2d9446c4.jpg","text":"TemporaryFile(/tmp/multipartBody2608675179169538342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408682970,"filename":"image_29112025_10_27_54_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863914","file1":"1396863912","file0":"1396863908"},"map_files_photo_id_array":[{"photo_id":"1396863914","filename":"file2"},{"photo_id":"1396863912","filename":"file1"},{"photo_id":"1396863908","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396863912":["hashtag1","hashtag2"]},{"1396863914":["hashtag1","hashtag2"]},{"1396863908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396863912, 1396863914, 1396863908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.558403730392456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:31:03.369432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_19_3543.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_22_2644.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_26_3612.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_28_2655.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_31_2680.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_34_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_19_3543.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_22_2644.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_26_3612.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_28_2655.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_31_2680.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_34_3617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863926","1396863929","1396863923","1396863931","1396863925","1396863924"],"photo_ids_order":["1396863923","1396863924","1396863925","1396863926","1396863929","1396863931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/212b98e2173601ceef696ca99081c303.jpg","text":"TemporaryFile(/tmp/multipartBody8032673554127847385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408725059,"filename":"image_25112025_18_09_28_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3fbe92aa01256070bf430f1930fa5b9.jpg","text":"TemporaryFile(/tmp/multipartBody3693411029695568818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408725059,"filename":"image_25112025_18_09_31_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29f64dcd3934dce7a3e2e05582744204.jpg","text":"TemporaryFile(/tmp/multipartBody5500349538996370412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408725059,"filename":"image_25112025_18_09_19_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1bde17568bb9ec2a1a1e4b4b98395c3.jpg","text":"TemporaryFile(/tmp/multipartBody540369292826649610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408725059,"filename":"image_25112025_18_09_34_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1809ca63a8b40c89d33ddc71c0f1ce3f.jpg","text":"TemporaryFile(/tmp/multipartBody3572088968281159214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408725059,"filename":"image_25112025_18_09_26_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2cb1f88125eb318bb007cf67ac5ceac.jpg","text":"TemporaryFile(/tmp/multipartBody3699248997927209437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408725059,"filename":"image_25112025_18_09_22_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863925","file1":"1396863924","file0":"1396863923","file4":"1396863929","file5":"1396863931","file3":"1396863926"},"map_files_photo_id_array":[{"photo_id":"1396863931","filename":"file5"},{"photo_id":"1396863925","filename":"file2"},{"photo_id":"1396863929","filename":"file4"},{"photo_id":"1396863924","filename":"file1"},{"photo_id":"1396863923","filename":"file0"},{"photo_id":"1396863926","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396863926":["hashtag1","hashtag2"]},{"1396863929":["hashtag1","hashtag2"]},{"1396863923":["hashtag1","hashtag2"]},{"1396863931":["hashtag1","hashtag2"]},{"1396863925":["hashtag1","hashtag2"]},{"1396863924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396863926, 1396863929, 1396863923, 1396863931, 1396863925, 1396863924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4426326751709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:31:42.695972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_27_2665.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_30_3626.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_33_2693.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_36_2767.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_42_2612.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_45_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_27_2665.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_30_3626.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_33_2693.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_36_2767.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_42_2612.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_45_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863944","1396863941","1396863943","1396863946","1396863942","1396863945"],"photo_ids_order":["1396863941","1396863942","1396863943","1396863944","1396863945","1396863946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8a3eca6e44a353238111f3cccf9d290.jpg","text":"TemporaryFile(/tmp/multipartBody8985190922096239141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408763845,"filename":"image_31102025_09_20_36_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ca8d2e63ad23a74ced6c8530619eb45.jpg","text":"TemporaryFile(/tmp/multipartBody8901216844151337065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408763845,"filename":"image_31102025_09_20_27_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/529fb222791aef095599e0d5a3447ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4885153007322977714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408763845,"filename":"image_31102025_09_20_33_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbb2914b96b388d9673741641c9fcb6b.jpg","text":"TemporaryFile(/tmp/multipartBody2857643692326813586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408763845,"filename":"image_31102025_09_20_45_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b6b6193bc28844dc80b45a4471b8808.jpg","text":"TemporaryFile(/tmp/multipartBody3211983703418108851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408763845,"filename":"image_31102025_09_20_30_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6eb94dc05906706db6e847289166b153.jpg","text":"TemporaryFile(/tmp/multipartBody7898988433955885882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408763845,"filename":"image_31102025_09_20_42_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863943","file1":"1396863942","file0":"1396863941","file4":"1396863945","file5":"1396863946","file3":"1396863944"},"map_files_photo_id_array":[{"photo_id":"1396863946","filename":"file5"},{"photo_id":"1396863943","filename":"file2"},{"photo_id":"1396863945","filename":"file4"},{"photo_id":"1396863942","filename":"file1"},{"photo_id":"1396863941","filename":"file0"},{"photo_id":"1396863944","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396863944":["hashtag1","hashtag2"]},{"1396863941":["hashtag1","hashtag2"]},{"1396863943":["hashtag1","hashtag2"]},{"1396863946":["hashtag1","hashtag2"]},{"1396863942":["hashtag1","hashtag2"]},{"1396863945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396863944, 1396863941, 1396863943, 1396863946, 1396863942, 1396863945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82506060600281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:32:21.878397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/29/image_29112025_10_29_44_9700.jpg', '/home/pi/Desktop/images/29112025/10/30/image_29112025_10_31_05_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/29/image_29112025_10_29_44_9700.jpg
/home/pi/Desktop/images/29112025/10/30/image_29112025_10_31_05_9799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396863953","1396863949"],"photo_ids_order":["1396863949","1396863953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a335da6cdcec8351f8d3ed4a8cfe8b2e.jpg","text":"TemporaryFile(/tmp/multipartBody768200468901542227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408802420,"filename":"image_29112025_10_31_05_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91a95ee56ae5f1e7c24ebf0f476e145d.jpg","text":"TemporaryFile(/tmp/multipartBody3502304518474470370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408802420,"filename":"image_29112025_10_29_44_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396863953","file0":"1396863949"},"map_files_photo_id_array":[{"photo_id":"1396863953","filename":"file1"},{"photo_id":"1396863949","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396863953":["hashtag1","hashtag2"]},{"1396863949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396863953, 1396863949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.117157459259033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:32:41.907070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_48_3660.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_51_2694.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_54_2849.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_57_2607.jpg', '/home/pi/Desktop/images/31102025/09/20/image_31102025_09_21_00_3000.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_03_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/09/20/image_31102025_09_20_48_3660.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_51_2694.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_54_2849.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_20_57_2607.jpg
/home/pi/Desktop/images/31102025/09/20/image_31102025_09_21_00_3000.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_03_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":["1396863991","1396863994","1396863990","1396863978","1396863993","1396863992"],"photo_ids_order":["1396863978","1396863990","1396863991","1396863992","1396863993","1396863994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/730849fcdfa6276a704d9bd7752655eb.jpg","text":"TemporaryFile(/tmp/multipartBody4236018112875027480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408823048,"filename":"image_31102025_09_20_54_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a731cb78ade851130f947aa249f6d433.jpg","text":"TemporaryFile(/tmp/multipartBody1538468081005534262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408823048,"filename":"image_31102025_09_21_03_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/00c2b2a4cd0723566f9733fcea349b21.jpg","text":"TemporaryFile(/tmp/multipartBody4015491635083516622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408823048,"filename":"image_31102025_09_20_51_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9cc99ab3d68ffe470ee3554f75010d33.jpg","text":"TemporaryFile(/tmp/multipartBody5679714774412621855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408823048,"filename":"image_31102025_09_20_48_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f0cf994a5cc73693a1701e0e56e804f.jpg","text":"TemporaryFile(/tmp/multipartBody4125537871914774042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408823048,"filename":"image_31102025_09_21_00_3000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6a2624943e41d2d7f9cf2438cdf12e3.jpg","text":"TemporaryFile(/tmp/multipartBody7760620608844702818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408823048,"filename":"image_31102025_09_20_57_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396863991","file1":"1396863990","file0":"1396863978","file4":"1396863993","file5":"1396863994","file3":"1396863992"},"map_files_photo_id_array":[{"photo_id":"1396863994","filename":"file5"},{"photo_id":"1396863991","filename":"file2"},{"photo_id":"1396863993","filename":"file4"},{"photo_id":"1396863990","filename":"file1"},{"photo_id":"1396863978","filename":"file0"},{"photo_id":"1396863992","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396863991":["hashtag1","hashtag2"]},{"1396863994":["hashtag1","hashtag2"]},{"1396863990":["hashtag1","hashtag2"]},{"1396863978":["hashtag1","hashtag2"]},{"1396863993":["hashtag1","hashtag2"]},{"1396863992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396863991, 1396863994, 1396863990, 1396863978, 1396863993, 1396863992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37920904159546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:33:22.095693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_37_2609.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_40_2518.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_43_3687.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_46_2577.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_49_3570.jpg', '/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_52_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_37_2609.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_40_2518.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_43_3687.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_46_2577.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_49_3570.jpg
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_52_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":["1396863998","1396864007","1396864001","1396864010","1396864004","1396864012"],"photo_ids_order":["1396863998","1396864001","1396864004","1396864007","1396864010","1396864012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/661f32b13e91a6352ae2dd0accea40d3.jpg","text":"TemporaryFile(/tmp/multipartBody6527729193889123151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408864294,"filename":"image_25112025_18_09_37_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cdde8bfeac12c6f1d4d7681982673db.jpg","text":"TemporaryFile(/tmp/multipartBody3799571772107310726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408864294,"filename":"image_25112025_18_09_46_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef1daa4102c55f7500aa8c28c6de9d72.jpg","text":"TemporaryFile(/tmp/multipartBody7675835211198603420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408864294,"filename":"image_25112025_18_09_40_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96352a3c4a36e1dc45c9f488b0b27063.jpg","text":"TemporaryFile(/tmp/multipartBody1750357737364030751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408864294,"filename":"image_25112025_18_09_49_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d4f1f4ad9b712b41ad9368d24e6aee4.jpg","text":"TemporaryFile(/tmp/multipartBody2636819000648398225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408864294,"filename":"image_25112025_18_09_43_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d95ba3215c7551030fa2e60382563936.jpg","text":"TemporaryFile(/tmp/multipartBody4373692823099047826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408864294,"filename":"image_25112025_18_09_52_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864004","file1":"1396864001","file0":"1396863998","file4":"1396864010","file5":"1396864012","file3":"1396864007"},"map_files_photo_id_array":[{"photo_id":"1396864012","filename":"file5"},{"photo_id":"1396864004","filename":"file2"},{"photo_id":"1396864010","filename":"file4"},{"photo_id":"1396864001","filename":"file1"},{"photo_id":"1396863998","filename":"file0"},{"photo_id":"1396864007","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396863998":["hashtag1","hashtag2"]},{"1396864007":["hashtag1","hashtag2"]},{"1396864001":["hashtag1","hashtag2"]},{"1396864010":["hashtag1","hashtag2"]},{"1396864004":["hashtag1","hashtag2"]},{"1396864012":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396863998, 1396864007, 1396864001, 1396864010, 1396864004, 1396864012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90721035003662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:34:02.937234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_58_3666.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_01_2472.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_07_3515.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_10_2576.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_13_3625.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_16_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/09/image_25112025_18_09_58_3666.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_01_2472.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_07_3515.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_10_2576.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_13_3625.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_16_2773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864013","1396864019","1396864015","1396864029","1396864014","1396864026"],"photo_ids_order":["1396864013","1396864014","1396864015","1396864019","1396864026","1396864029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b9ad804e07f6c50888f8d5c43d01351.jpg","text":"TemporaryFile(/tmp/multipartBody1294027645471739294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408904619,"filename":"image_25112025_18_09_58_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c446e9eaf780b8f60c2ad99b18638d1.jpg","text":"TemporaryFile(/tmp/multipartBody4329591945547982359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408904619,"filename":"image_25112025_18_10_10_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ad4a1c7c6f1ecccc80e5c60859b2703.jpg","text":"TemporaryFile(/tmp/multipartBody5247970064030170309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408904619,"filename":"image_25112025_18_10_07_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/449264fc86ddf921e3874f059adaa1ed.jpg","text":"TemporaryFile(/tmp/multipartBody4960828826310480893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408904619,"filename":"image_25112025_18_10_16_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/226f018af2de5baf9db696a11137aded.jpg","text":"TemporaryFile(/tmp/multipartBody7509945333928220593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408904619,"filename":"image_25112025_18_10_01_2472.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/622d23ee5d1da40a1b85033f7d406c17.jpg","text":"TemporaryFile(/tmp/multipartBody3984060755933298839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408904619,"filename":"image_25112025_18_10_13_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864015","file1":"1396864014","file0":"1396864013","file4":"1396864026","file5":"1396864029","file3":"1396864019"},"map_files_photo_id_array":[{"photo_id":"1396864029","filename":"file5"},{"photo_id":"1396864015","filename":"file2"},{"photo_id":"1396864026","filename":"file4"},{"photo_id":"1396864014","filename":"file1"},{"photo_id":"1396864013","filename":"file0"},{"photo_id":"1396864019","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396864013":["hashtag1","hashtag2"]},{"1396864019":["hashtag1","hashtag2"]},{"1396864015":["hashtag1","hashtag2"]},{"1396864029":["hashtag1","hashtag2"]},{"1396864014":["hashtag1","hashtag2"]},{"1396864026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396864013, 1396864019, 1396864015, 1396864029, 1396864014, 1396864026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2131609916687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:34:42.333888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_06_2670.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_09_2796.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_12_3786.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_15_2699.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_18_2579.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_21_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_06_2670.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_09_2796.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_12_3786.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_15_2699.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_18_2579.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_21_3742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864040","1396864042","1396864051","1396864089","1396864041","1396864116"],"photo_ids_order":["1396864040","1396864041","1396864042","1396864051","1396864089","1396864116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f4fc1b908ec6d045beff89ed175a1a3.jpg","text":"TemporaryFile(/tmp/multipartBody8652124483392863702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408948536,"filename":"image_31102025_09_21_06_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5653d173c343b36aa0da34732d905a86.jpg","text":"TemporaryFile(/tmp/multipartBody3162294740923125780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408948536,"filename":"image_31102025_09_21_12_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0349681dece08eebaf251c7de9bba0a5.jpg","text":"TemporaryFile(/tmp/multipartBody9216133399744152597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408948536,"filename":"image_31102025_09_21_15_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b5c1dcfccd5c24e43ad728254662149.jpg","text":"TemporaryFile(/tmp/multipartBody3613440564114058979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408948536,"filename":"image_31102025_09_21_18_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55c03afa1a8548b33286250a3ad64873.jpg","text":"TemporaryFile(/tmp/multipartBody8977755928720196700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408948536,"filename":"image_31102025_09_21_09_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/849bd5f5dfb1da204c81dc7532259802.jpg","text":"TemporaryFile(/tmp/multipartBody897222124712762845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408948536,"filename":"image_31102025_09_21_21_3742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864042","file1":"1396864041","file0":"1396864040","file4":"1396864089","file5":"1396864116","file3":"1396864051"},"map_files_photo_id_array":[{"photo_id":"1396864116","filename":"file5"},{"photo_id":"1396864042","filename":"file2"},{"photo_id":"1396864089","filename":"file4"},{"photo_id":"1396864041","filename":"file1"},{"photo_id":"1396864040","filename":"file0"},{"photo_id":"1396864051","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396864040":["hashtag1","hashtag2"]},{"1396864042":["hashtag1","hashtag2"]},{"1396864051":["hashtag1","hashtag2"]},{"1396864089":["hashtag1","hashtag2"]},{"1396864041":["hashtag1","hashtag2"]},{"1396864116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396864040, 1396864042, 1396864051, 1396864089, 1396864041, 1396864116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87767720222473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:35:32.513328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_19_2640.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_21_2701.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_25_3526.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_28_2579.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_31_3677.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_36_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_19_2640.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_21_2701.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_25_3526.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_28_2579.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_31_3677.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_36_2664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864133","1396864135","1396864131","1396864134","1396864128","1396864125"],"photo_ids_order":["1396864125","1396864128","1396864131","1396864133","1396864134","1396864135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d911f36a27a3fd8687d2e7db3492647c.jpg","text":"TemporaryFile(/tmp/multipartBody3634886525027012196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408994745,"filename":"image_25112025_18_10_28_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d713b9c19ab758a0bfba1d8941e30d6.jpg","text":"TemporaryFile(/tmp/multipartBody4587219140870398337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408994745,"filename":"image_25112025_18_10_36_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9826a6cfb77e8820ccc6e9b2dbb0ccdf.jpg","text":"TemporaryFile(/tmp/multipartBody8097097206092608097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408994745,"filename":"image_25112025_18_10_25_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5bf91184de95a7ab05134c56ee9127d.jpg","text":"TemporaryFile(/tmp/multipartBody8066841661377432711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408994745,"filename":"image_25112025_18_10_31_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e71aff7fc5b448a0ae1f521bdab9e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3898873533424790482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408994745,"filename":"image_25112025_18_10_21_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ffd12179bae2ec2c75e080bd1b65038.jpg","text":"TemporaryFile(/tmp/multipartBody6604768651005048143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764408994745,"filename":"image_25112025_18_10_19_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864131","file1":"1396864128","file0":"1396864125","file4":"1396864134","file5":"1396864135","file3":"1396864133"},"map_files_photo_id_array":[{"photo_id":"1396864135","filename":"file5"},{"photo_id":"1396864131","filename":"file2"},{"photo_id":"1396864134","filename":"file4"},{"photo_id":"1396864128","filename":"file1"},{"photo_id":"1396864125","filename":"file0"},{"photo_id":"1396864133","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396864133":["hashtag1","hashtag2"]},{"1396864135":["hashtag1","hashtag2"]},{"1396864131":["hashtag1","hashtag2"]},{"1396864134":["hashtag1","hashtag2"]},{"1396864128":["hashtag1","hashtag2"]},{"1396864125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396864133, 1396864135, 1396864131, 1396864134, 1396864128, 1396864125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.313732862472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:36:12.772820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_40_3611.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_43_2683.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_46_2775.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_49_3553.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_52_2683.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_55_3526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_40_3611.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_43_2683.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_46_2775.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_49_3553.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_52_2683.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_55_3526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864142","1396864147","1396864150","1396864158","1396864143","1396864154"],"photo_ids_order":["1396864142","1396864143","1396864147","1396864150","1396864154","1396864158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/379284d041d20674a02fafcf2fea4da1.jpg","text":"TemporaryFile(/tmp/multipartBody1544132538255151523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409034869,"filename":"image_25112025_18_10_40_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/082384ca0fc3f072c714a054d390754e.jpg","text":"TemporaryFile(/tmp/multipartBody2790095772023371420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409034869,"filename":"image_25112025_18_10_46_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a8de5622c9e86409f84ad894d5e4c69.jpg","text":"TemporaryFile(/tmp/multipartBody5747654662882608724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409034869,"filename":"image_25112025_18_10_49_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9122ebdf24035899a9134cbdff2a01d3.jpg","text":"TemporaryFile(/tmp/multipartBody9222747294332538895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409034869,"filename":"image_25112025_18_10_55_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da76ef449070945a5c4b43e93af764eb.jpg","text":"TemporaryFile(/tmp/multipartBody5152571807339623309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409034869,"filename":"image_25112025_18_10_43_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2df975b1763a358563a5a91579b5cf5.jpg","text":"TemporaryFile(/tmp/multipartBody6493602085587181422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409034869,"filename":"image_25112025_18_10_52_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864147","file1":"1396864143","file0":"1396864142","file4":"1396864154","file5":"1396864158","file3":"1396864150"},"map_files_photo_id_array":[{"photo_id":"1396864158","filename":"file5"},{"photo_id":"1396864147","filename":"file2"},{"photo_id":"1396864154","filename":"file4"},{"photo_id":"1396864143","filename":"file1"},{"photo_id":"1396864142","filename":"file0"},{"photo_id":"1396864150","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396864142":["hashtag1","hashtag2"]},{"1396864147":["hashtag1","hashtag2"]},{"1396864150":["hashtag1","hashtag2"]},{"1396864158":["hashtag1","hashtag2"]},{"1396864143":["hashtag1","hashtag2"]},{"1396864154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396864142, 1396864147, 1396864150, 1396864158, 1396864143, 1396864154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14970827102661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:37:02.619956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/31/image_29112025_10_31_35_9748.jpg', '/home/pi/Desktop/images/29112025/10/34/image_29112025_10_34_24_9910.jpg', '/home/pi/Desktop/images/29112025/10/35/image_29112025_10_35_14_10058.jpg', '/home/pi/Desktop/images/29112025/10/35/image_29112025_10_35_34_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/31/image_29112025_10_31_35_9748.jpg
/home/pi/Desktop/images/29112025/10/34/image_29112025_10_34_24_9910.jpg
/home/pi/Desktop/images/29112025/10/35/image_29112025_10_35_14_10058.jpg
/home/pi/Desktop/images/29112025/10/35/image_29112025_10_35_34_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":["1396864168","1396864170","1396864167","1396864169"],"photo_ids_order":["1396864167","1396864168","1396864169","1396864170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f9564fd45290d5ca8336eb526b59866.jpg","text":"TemporaryFile(/tmp/multipartBody121032174683640307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409083274,"filename":"image_29112025_10_34_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/11/29/598419a26066b9b5323334f45b09299f.jpg","text":"TemporaryFile(/tmp/multipartBody7965847958905626681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409083274,"filename":"image_29112025_10_35_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91c2aa9cdf23ccad8ffc923b0fdca9bd.jpg","text":"TemporaryFile(/tmp/multipartBody7108475871435655986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409083274,"filename":"image_29112025_10_31_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/875c74d4afea266db464a0fea6da9491.jpg","text":"TemporaryFile(/tmp/multipartBody7186695113830794073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409083274,"filename":"image_29112025_10_35_14_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864169","file1":"1396864168","file0":"1396864167","file3":"1396864170"},"map_files_photo_id_array":[{"photo_id":"1396864169","filename":"file2"},{"photo_id":"1396864168","filename":"file1"},{"photo_id":"1396864167","filename":"file0"},{"photo_id":"1396864170","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396864168":["hashtag1","hashtag2"]},{"1396864170":["hashtag1","hashtag2"]},{"1396864167":["hashtag1","hashtag2"]},{"1396864169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396864168, 1396864170, 1396864167, 1396864169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.392974138259888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:37:32.043767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_58_2495.jpg', '/home/pi/Desktop/images/25112025/18/10/image_25112025_18_11_00_2670.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_04_3557.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_07_2740.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_09_2594.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_13_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_10_58_2495.jpg
/home/pi/Desktop/images/25112025/18/10/image_25112025_18_11_00_2670.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_04_3557.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_07_2740.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_09_2594.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_13_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":["1396864192","1396864177","1396864188","1396864185","1396864190","1396864181"],"photo_ids_order":["1396864177","1396864181","1396864185","1396864188","1396864190","1396864192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c486a6b57c4c9c4608aa2f0ab3e1843.jpg","text":"TemporaryFile(/tmp/multipartBody7787669036694840800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409114271,"filename":"image_25112025_18_11_13_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fadfc20ed07faf4b75e8d16572f9004.jpg","text":"TemporaryFile(/tmp/multipartBody765269770174021361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409114271,"filename":"image_25112025_18_10_58_2495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/095af770f3b12e79899eae842e6866c9.jpg","text":"TemporaryFile(/tmp/multipartBody2993456754920510617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409114271,"filename":"image_25112025_18_11_07_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a11038a3b30f91e35587c13c37abef09.jpg","text":"TemporaryFile(/tmp/multipartBody6852539082712768538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409114271,"filename":"image_25112025_18_11_04_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e8bab20eebb5ac79e49e467020c57fd.jpg","text":"TemporaryFile(/tmp/multipartBody5621562840243272619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409114271,"filename":"image_25112025_18_11_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/11/29/6a0c5bb1f04e3ec97f66a4a3f9cee20b.jpg","text":"TemporaryFile(/tmp/multipartBody8888343218385484217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409114271,"filename":"image_25112025_18_11_00_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864185","file1":"1396864181","file0":"1396864177","file4":"1396864190","file5":"1396864192","file3":"1396864188"},"map_files_photo_id_array":[{"photo_id":"1396864192","filename":"file5"},{"photo_id":"1396864185","filename":"file2"},{"photo_id":"1396864190","filename":"file4"},{"photo_id":"1396864181","filename":"file1"},{"photo_id":"1396864177","filename":"file0"},{"photo_id":"1396864188","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396864192":["hashtag1","hashtag2"]},{"1396864177":["hashtag1","hashtag2"]},{"1396864188":["hashtag1","hashtag2"]},{"1396864185":["hashtag1","hashtag2"]},{"1396864190":["hashtag1","hashtag2"]},{"1396864181":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396864192, 1396864177, 1396864188, 1396864185, 1396864190, 1396864181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29354953765869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:38:12.148866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_16_2554.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_19_3673.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_22_2840.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_25_2583.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_27_2682.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_31_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_16_2554.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_19_3673.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_22_2840.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_25_2583.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_27_2682.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_31_3585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864205","1396864202","1396864195","1396864197","1396864209","1396864199"],"photo_ids_order":["1396864195","1396864197","1396864199","1396864202","1396864205","1396864209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c28f9ea7d244f9e17400ba7db9477e51.jpg","text":"TemporaryFile(/tmp/multipartBody9198504236174657769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409154263,"filename":"image_25112025_18_11_27_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a298bda2fd32675fa3549111b2736a0e.jpg","text":"TemporaryFile(/tmp/multipartBody4019921634195232805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409154263,"filename":"image_25112025_18_11_25_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52d1fa0bedeffe1cf3fc1a84be6220c1.jpg","text":"TemporaryFile(/tmp/multipartBody2471777175134042851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409154263,"filename":"image_25112025_18_11_16_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99beba81dccd1bd57a84f22c6dd7d8ca.jpg","text":"TemporaryFile(/tmp/multipartBody8736770851541613564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409154263,"filename":"image_25112025_18_11_19_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc6e73e87451681c7e4d621864b8985f.jpg","text":"TemporaryFile(/tmp/multipartBody8643433989793586618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409154263,"filename":"image_25112025_18_11_31_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5537afcd699c21a1f48839d092115630.jpg","text":"TemporaryFile(/tmp/multipartBody6542427901250068543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409154263,"filename":"image_25112025_18_11_22_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864199","file1":"1396864197","file0":"1396864195","file4":"1396864205","file5":"1396864209","file3":"1396864202"},"map_files_photo_id_array":[{"photo_id":"1396864209","filename":"file5"},{"photo_id":"1396864199","filename":"file2"},{"photo_id":"1396864205","filename":"file4"},{"photo_id":"1396864197","filename":"file1"},{"photo_id":"1396864195","filename":"file0"},{"photo_id":"1396864202","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396864205":["hashtag1","hashtag2"]},{"1396864202":["hashtag1","hashtag2"]},{"1396864195":["hashtag1","hashtag2"]},{"1396864197":["hashtag1","hashtag2"]},{"1396864209":["hashtag1","hashtag2"]},{"1396864199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396864205, 1396864202, 1396864195, 1396864197, 1396864209, 1396864199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35694622993469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:39:03.385647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/36/image_29112025_10_36_54_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/36/image_29112025_10_36_54_9567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864212"],"photo_id":"1396864212","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4bfd16d7afb6ed03d62030147b85ff83.jpg","text":"TemporaryFile(/tmp/multipartBody5952944472159144261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409204068,"filename":"image_29112025_10_36_54_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396864212"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396864212"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.311477661132812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:39:22.579279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_34_2613.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_36_2755.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_40_3595.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_43_2674.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_46_3558.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_49_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_34_2613.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_36_2755.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_40_3595.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_43_2674.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_46_3558.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_49_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":["1396864223","1396864216","1396864225","1396864219","1396864230","1396864221"],"photo_ids_order":["1396864216","1396864219","1396864221","1396864223","1396864225","1396864230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c475cabdb8caa104b8397f06a6a26445.jpg","text":"TemporaryFile(/tmp/multipartBody4966651566052671625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409224790,"filename":"image_25112025_18_11_43_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb9c0ddf2fa12a62382693cb9cb5735c.jpg","text":"TemporaryFile(/tmp/multipartBody6907092909021763444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409224790,"filename":"image_25112025_18_11_34_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/467b68ebaa495e0418201bd38ea09328.jpg","text":"TemporaryFile(/tmp/multipartBody4111427777181263842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409224790,"filename":"image_25112025_18_11_46_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bf079c8790f87934b81628926994852.jpg","text":"TemporaryFile(/tmp/multipartBody7080381915955054073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409224790,"filename":"image_25112025_18_11_36_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5cd9c5692f5f956fe69184129b08e004.jpg","text":"TemporaryFile(/tmp/multipartBody8691047436557715529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409224790,"filename":"image_25112025_18_11_49_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b8e4f05596451599ec510d3f8abc105.jpg","text":"TemporaryFile(/tmp/multipartBody6764867145214386819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409224790,"filename":"image_25112025_18_11_40_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864221","file1":"1396864219","file0":"1396864216","file4":"1396864225","file5":"1396864230","file3":"1396864223"},"map_files_photo_id_array":[{"photo_id":"1396864230","filename":"file5"},{"photo_id":"1396864221","filename":"file2"},{"photo_id":"1396864225","filename":"file4"},{"photo_id":"1396864219","filename":"file1"},{"photo_id":"1396864216","filename":"file0"},{"photo_id":"1396864223","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396864223":["hashtag1","hashtag2"]},{"1396864216":["hashtag1","hashtag2"]},{"1396864225":["hashtag1","hashtag2"]},{"1396864219":["hashtag1","hashtag2"]},{"1396864230":["hashtag1","hashtag2"]},{"1396864221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396864223, 1396864216, 1396864225, 1396864219, 1396864230, 1396864221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.040239095687866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:40:02.312663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_52_2748.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_55_3579.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_58_2512.jpg', '/home/pi/Desktop/images/25112025/18/11/image_25112025_18_12_01_2841.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_03_2813.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_07_3796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_52_2748.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_55_3579.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_11_58_2512.jpg
/home/pi/Desktop/images/25112025/18/11/image_25112025_18_12_01_2841.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_03_2813.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_07_3796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864250","1396864252","1396864249","1396864257","1396864251","1396864254"],"photo_ids_order":["1396864249","1396864250","1396864251","1396864252","1396864254","1396864257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/475fa39326ba8ce241be0ec2c8f08efe.jpg","text":"TemporaryFile(/tmp/multipartBody7035887162093335886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409263944,"filename":"image_25112025_18_11_55_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f928f2230a948e2b97542f609c27782.jpg","text":"TemporaryFile(/tmp/multipartBody2364367969751197950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409263944,"filename":"image_25112025_18_12_01_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/959effc4b2df0221ea2388916a156ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8963511396758905367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409263944,"filename":"image_25112025_18_11_52_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3976b8bd37e494c7903317339ae53305.jpg","text":"TemporaryFile(/tmp/multipartBody3535751908812013435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409263944,"filename":"image_25112025_18_12_07_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c57aba7ad2d2921a25d00f2298c5a60.jpg","text":"TemporaryFile(/tmp/multipartBody3792743349135019046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409263944,"filename":"image_25112025_18_11_58_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e978156fde7f63c4e5929a6f2892c57.jpg","text":"TemporaryFile(/tmp/multipartBody6932621249123665166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409263944,"filename":"image_25112025_18_12_03_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864251","file1":"1396864250","file0":"1396864249","file4":"1396864254","file5":"1396864257","file3":"1396864252"},"map_files_photo_id_array":[{"photo_id":"1396864257","filename":"file5"},{"photo_id":"1396864251","filename":"file2"},{"photo_id":"1396864254","filename":"file4"},{"photo_id":"1396864250","filename":"file1"},{"photo_id":"1396864249","filename":"file0"},{"photo_id":"1396864252","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396864250":["hashtag1","hashtag2"]},{"1396864252":["hashtag1","hashtag2"]},{"1396864249":["hashtag1","hashtag2"]},{"1396864257":["hashtag1","hashtag2"]},{"1396864251":["hashtag1","hashtag2"]},{"1396864254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396864250, 1396864252, 1396864249, 1396864257, 1396864251, 1396864254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0308473110199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:40:41.862893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_24_2656.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_27_2743.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_30_2844.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_33_3777.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_36_2761.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_39_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/09/21/image_31102025_09_21_24_2656.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_27_2743.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_30_2844.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_33_3777.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_36_2761.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_39_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":["1396864363","1396864372","1396864366","1396864369","1396864368","1396864370"],"photo_ids_order":["1396864363","1396864366","1396864368","1396864369","1396864370","1396864372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c1bedd1bbc05da8f593a41a581973d9.jpg","text":"TemporaryFile(/tmp/multipartBody587709698438323824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409303038,"filename":"image_31102025_09_21_24_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/694d869b6dc932aa20e51701fef8295b.jpg","text":"TemporaryFile(/tmp/multipartBody5709342953288574040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409303038,"filename":"image_31102025_09_21_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/11/29/cf6979a3282ecdbb1f94d0706b060a03.jpg","text":"TemporaryFile(/tmp/multipartBody2463903039747674120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409303038,"filename":"image_31102025_09_21_27_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fdbd84ecefbc59407c99601172bd5b1.jpg","text":"TemporaryFile(/tmp/multipartBody4237724259319274381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409303038,"filename":"image_31102025_09_21_33_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3630750b23749554e40cee55771a617.jpg","text":"TemporaryFile(/tmp/multipartBody294166862202912978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409303038,"filename":"image_31102025_09_21_30_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97440c216c62c038b8a75103b17069c1.jpg","text":"TemporaryFile(/tmp/multipartBody3053041254449730606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409303038,"filename":"image_31102025_09_21_36_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864368","file1":"1396864366","file0":"1396864363","file4":"1396864370","file5":"1396864372","file3":"1396864369"},"map_files_photo_id_array":[{"photo_id":"1396864372","filename":"file5"},{"photo_id":"1396864368","filename":"file2"},{"photo_id":"1396864370","filename":"file4"},{"photo_id":"1396864366","filename":"file1"},{"photo_id":"1396864363","filename":"file0"},{"photo_id":"1396864369","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396864363":["hashtag1","hashtag2"]},{"1396864372":["hashtag1","hashtag2"]},{"1396864366":["hashtag1","hashtag2"]},{"1396864369":["hashtag1","hashtag2"]},{"1396864368":["hashtag1","hashtag2"]},{"1396864370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396864363, 1396864372, 1396864366, 1396864369, 1396864368, 1396864370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79670238494873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:41:22.037945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_10_2565.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_12_2634.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_16_3527.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_19_2657.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_21_2770.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_25_3829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_10_2565.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_12_2634.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_16_3527.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_19_2657.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_21_2770.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_25_3829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864382","1396864376","1396864390","1396864385","1396864379","1396864388"],"photo_ids_order":["1396864376","1396864379","1396864382","1396864385","1396864388","1396864390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f29ba7f35fd1e8edebdc7c4da76f0a68.jpg","text":"TemporaryFile(/tmp/multipartBody7256098220473210737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409344286,"filename":"image_25112025_18_12_16_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10fff7db98072f5b472fc1492781e35f.jpg","text":"TemporaryFile(/tmp/multipartBody5706967356373350179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409344286,"filename":"image_25112025_18_12_10_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12ec65f6ddaad0f8e89c0daab31f264e.jpg","text":"TemporaryFile(/tmp/multipartBody6457174156654963234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409344286,"filename":"image_25112025_18_12_25_3829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f80789f090f1f7e1c7e710b8927aac6.jpg","text":"TemporaryFile(/tmp/multipartBody2452483888125291641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409344286,"filename":"image_25112025_18_12_19_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1188cff7dfe5affd2a8266be1b64ca44.jpg","text":"TemporaryFile(/tmp/multipartBody2980133406833319443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409344286,"filename":"image_25112025_18_12_12_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24747cda51094f74222eacf0954cd085.jpg","text":"TemporaryFile(/tmp/multipartBody727016751171709367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409344286,"filename":"image_25112025_18_12_21_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864382","file1":"1396864379","file0":"1396864376","file4":"1396864388","file5":"1396864390","file3":"1396864385"},"map_files_photo_id_array":[{"photo_id":"1396864390","filename":"file5"},{"photo_id":"1396864382","filename":"file2"},{"photo_id":"1396864388","filename":"file4"},{"photo_id":"1396864379","filename":"file1"},{"photo_id":"1396864376","filename":"file0"},{"photo_id":"1396864385","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396864382":["hashtag1","hashtag2"]},{"1396864376":["hashtag1","hashtag2"]},{"1396864390":["hashtag1","hashtag2"]},{"1396864385":["hashtag1","hashtag2"]},{"1396864379":["hashtag1","hashtag2"]},{"1396864388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396864382, 1396864376, 1396864390, 1396864385, 1396864379, 1396864388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64021706581116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:42:02.661933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_28_2612.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_30_2502.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_34_3692.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_37_2617.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_39_2694.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_43_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_28_2612.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_30_2502.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_34_3692.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_37_2617.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_39_2694.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_43_3627.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5128724575042725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:42:12.272402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_28_2612.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_30_2502.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_34_3692.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_37_2617.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_39_2694.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_43_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_28_2612.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_30_2502.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_34_3692.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_37_2617.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_39_2694.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_43_3627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864454","1396864477","1396864471","1396864444","1396864414","1396864411"],"photo_ids_order":["1396864411","1396864414","1396864444","1396864454","1396864471","1396864477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e035065e69bc68de64fba6bca735512b.jpg","text":"TemporaryFile(/tmp/multipartBody56312820807588155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409394297,"filename":"image_25112025_18_12_37_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4982c901ba9b26fc3939f04ffaf917cb.jpg","text":"TemporaryFile(/tmp/multipartBody5382952172872588312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409394297,"filename":"image_25112025_18_12_43_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60268fc290f848fb330d48a20d28ec1d.jpg","text":"TemporaryFile(/tmp/multipartBody7549634541475688557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409394297,"filename":"image_25112025_18_12_39_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1d159cd28a1140c89d3beec0ef2155b.jpg","text":"TemporaryFile(/tmp/multipartBody5366648307923995491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409394297,"filename":"image_25112025_18_12_34_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab531204e727cf4910d32a7f04414b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4117045320272458812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409394297,"filename":"image_25112025_18_12_30_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb3466e0e63cacf201220a521b763473.jpg","text":"TemporaryFile(/tmp/multipartBody3886212899548560801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409394297,"filename":"image_25112025_18_12_28_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864444","file1":"1396864414","file0":"1396864411","file4":"1396864471","file5":"1396864477","file3":"1396864454"},"map_files_photo_id_array":[{"photo_id":"1396864477","filename":"file5"},{"photo_id":"1396864444","filename":"file2"},{"photo_id":"1396864471","filename":"file4"},{"photo_id":"1396864414","filename":"file1"},{"photo_id":"1396864411","filename":"file0"},{"photo_id":"1396864454","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396864454":["hashtag1","hashtag2"]},{"1396864477":["hashtag1","hashtag2"]},{"1396864471":["hashtag1","hashtag2"]},{"1396864444":["hashtag1","hashtag2"]},{"1396864414":["hashtag1","hashtag2"]},{"1396864411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396864454, 1396864477, 1396864471, 1396864444, 1396864414, 1396864411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.852720737457275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:43:02.982581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_45_2559.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_49_3675.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_52_2625.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_55_2899.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_57_2623.jpg', '/home/pi/Desktop/images/25112025/18/12/image_25112025_18_13_01_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_45_2559.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_49_3675.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_52_2625.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_55_2899.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_12_57_2623.jpg
/home/pi/Desktop/images/25112025/18/12/image_25112025_18_13_01_3685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864481","1396864501","1396864504","1396864488","1396864496","1396864499"],"photo_ids_order":["1396864481","1396864488","1396864496","1396864499","1396864501","1396864504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56a251cb638dabdec5537aa52ca34b2e.jpg","text":"TemporaryFile(/tmp/multipartBody8803493720205704255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409444787,"filename":"image_25112025_18_12_45_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7da7a1e2716935f05d5cf5e2e7fd201.jpg","text":"TemporaryFile(/tmp/multipartBody6374069325833833463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409444787,"filename":"image_25112025_18_12_57_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e84639911192c6bc45efd4aab680081f.jpg","text":"TemporaryFile(/tmp/multipartBody3223169177712753812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409444787,"filename":"image_25112025_18_13_01_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6351b8c1fa0fa4be38cc112b286e1ebc.jpg","text":"TemporaryFile(/tmp/multipartBody1394410938260226615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409444787,"filename":"image_25112025_18_12_49_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1385c566738d9e83f6e38d84b32252c0.jpg","text":"TemporaryFile(/tmp/multipartBody3517283534680982101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409444787,"filename":"image_25112025_18_12_52_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e22d8d46dc0c9f7606736f2002f8103.jpg","text":"TemporaryFile(/tmp/multipartBody1652512669143649753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409444787,"filename":"image_25112025_18_12_55_2899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864496","file1":"1396864488","file0":"1396864481","file4":"1396864501","file5":"1396864504","file3":"1396864499"},"map_files_photo_id_array":[{"photo_id":"1396864504","filename":"file5"},{"photo_id":"1396864496","filename":"file2"},{"photo_id":"1396864501","filename":"file4"},{"photo_id":"1396864488","filename":"file1"},{"photo_id":"1396864481","filename":"file0"},{"photo_id":"1396864499","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396864481":["hashtag1","hashtag2"]},{"1396864501":["hashtag1","hashtag2"]},{"1396864504":["hashtag1","hashtag2"]},{"1396864488":["hashtag1","hashtag2"]},{"1396864496":["hashtag1","hashtag2"]},{"1396864499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396864481, 1396864501, 1396864504, 1396864488, 1396864496, 1396864499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.123321771621704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:43:42.408429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_42_2586.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_45_3607.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_48_2691.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_52_3683.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_54_2627.jpg', '/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_57_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/09/21/image_31102025_09_21_42_2586.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_45_3607.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_48_2691.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_52_3683.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_54_2627.jpg
/home/pi/Desktop/images/31102025/09/21/image_31102025_09_21_57_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":["1396864715","1396864717","1396864714","1396864677","1396864716","1396864638"],"photo_ids_order":["1396864638","1396864677","1396864714","1396864715","1396864716","1396864717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a1ce44f200b5056ef419bd01c713199.jpg","text":"TemporaryFile(/tmp/multipartBody4709741194327994783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409483574,"filename":"image_31102025_09_21_52_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3f6151c9e2a9fea21bd027278d948ab.jpg","text":"TemporaryFile(/tmp/multipartBody1009064897976416291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409483574,"filename":"image_31102025_09_21_57_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/925d330b644ce92e8386af026af26f66.jpg","text":"TemporaryFile(/tmp/multipartBody4002748205271237621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409483574,"filename":"image_31102025_09_21_48_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b892ca284c4fad6c3d0d6b7a63f1fd41.jpg","text":"TemporaryFile(/tmp/multipartBody3276547633802439825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409483574,"filename":"image_31102025_09_21_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/11/29/81c5e87691b4292b4d8cb91d989f631f.jpg","text":"TemporaryFile(/tmp/multipartBody8223403529847970548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409483574,"filename":"image_31102025_09_21_54_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a4c5cd65d9afc48e848e2bf3adbe7ac.jpg","text":"TemporaryFile(/tmp/multipartBody3671076627474914746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409483574,"filename":"image_31102025_09_21_42_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396864714","file1":"1396864677","file0":"1396864638","file4":"1396864716","file5":"1396864717","file3":"1396864715"},"map_files_photo_id_array":[{"photo_id":"1396864717","filename":"file5"},{"photo_id":"1396864714","filename":"file2"},{"photo_id":"1396864716","filename":"file4"},{"photo_id":"1396864677","filename":"file1"},{"photo_id":"1396864638","filename":"file0"},{"photo_id":"1396864715","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396864715":["hashtag1","hashtag2"]},{"1396864717":["hashtag1","hashtag2"]},{"1396864714":["hashtag1","hashtag2"]},{"1396864677":["hashtag1","hashtag2"]},{"1396864716":["hashtag1","hashtag2"]},{"1396864638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396864715, 1396864717, 1396864714, 1396864677, 1396864716, 1396864638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76120185852051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:44:22.527036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/36/image_29112025_10_37_04_9690.jpg', '/home/pi/Desktop/images/29112025/10/42/image_29112025_10_43_05_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/36/image_29112025_10_37_04_9690.jpg
/home/pi/Desktop/images/29112025/10/42/image_29112025_10_43_05_9838.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396864925","1396864888"],"photo_ids_order":["1396864888","1396864925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cb997bbb15cba171f0255072fbc557f.jpg","text":"TemporaryFile(/tmp/multipartBody5980568284010289450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409523064,"filename":"image_29112025_10_43_05_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2eb1462e019f237e32136a31d205c0cf.jpg","text":"TemporaryFile(/tmp/multipartBody6099836111681565034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409523064,"filename":"image_29112025_10_37_04_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396864925","file0":"1396864888"},"map_files_photo_id_array":[{"photo_id":"1396864925","filename":"file1"},{"photo_id":"1396864888","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396864925":["hashtag1","hashtag2"]},{"1396864888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396864925, 1396864888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.82720446586609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:44:42.550468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/21/image_31102025_09_22_00_3650.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_03_2793.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_09_2653.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_12_3716.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_15_2671.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_18_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/09/21/image_31102025_09_22_00_3650.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_03_2793.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_09_2653.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_12_3716.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_15_2671.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_18_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":["1396865000","1396864999","1396865011","1396865052","1396865001","1396864997"],"photo_ids_order":["1396864997","1396864999","1396865000","1396865001","1396865011","1396865052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06ca9ddb455c10282213badf70f5d23e.jpg","text":"TemporaryFile(/tmp/multipartBody6429488837240071576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409543677,"filename":"image_31102025_09_22_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/11/29/b330972d2370d5be2212d916ef75c6c7.jpg","text":"TemporaryFile(/tmp/multipartBody4970234109017589632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409543677,"filename":"image_31102025_09_22_03_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e62aa90962888055bc4d73f935ffefd7.jpg","text":"TemporaryFile(/tmp/multipartBody4614690458153174447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409543677,"filename":"image_31102025_09_22_15_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8242e2ea8677195eb16756de05504868.jpg","text":"TemporaryFile(/tmp/multipartBody9099998952703052129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409543677,"filename":"image_31102025_09_22_18_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af744265fe5c69e47120eb929fe0406c.jpg","text":"TemporaryFile(/tmp/multipartBody687102047138131170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409543677,"filename":"image_31102025_09_22_12_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bef95b39f6e3f45f18536ac80779a2ee.jpg","text":"TemporaryFile(/tmp/multipartBody4600709239165418661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409543677,"filename":"image_31102025_09_22_00_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865000","file1":"1396864999","file0":"1396864997","file4":"1396865011","file5":"1396865052","file3":"1396865001"},"map_files_photo_id_array":[{"photo_id":"1396865052","filename":"file5"},{"photo_id":"1396865000","filename":"file2"},{"photo_id":"1396865011","filename":"file4"},{"photo_id":"1396864999","filename":"file1"},{"photo_id":"1396864997","filename":"file0"},{"photo_id":"1396865001","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396865000":["hashtag1","hashtag2"]},{"1396864999":["hashtag1","hashtag2"]},{"1396865011":["hashtag1","hashtag2"]},{"1396865052":["hashtag1","hashtag2"]},{"1396865001":["hashtag1","hashtag2"]},{"1396864997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396865000, 1396864999, 1396865011, 1396865052, 1396865001, 1396864997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1034619808197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:45:22.733485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/44/image_29112025_10_44_25_10549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/44/image_29112025_10_44_25_10549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396865189"],"photo_id":"1396865189","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b867e1d5faf1c6aa12e1e7bd3ca01be.jpg","text":"TemporaryFile(/tmp/multipartBody7852825602510167099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409583253,"filename":"image_29112025_10_44_25_10549.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396865189"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396865189"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.799339771270752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:45:42.778330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_21_3651.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_24_2627.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_27_2811.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_29_2694.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_33_3746.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_36_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_21_3651.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_24_2627.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_27_2811.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_29_2694.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_33_3746.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_36_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396865242","1396865239","1396865241","1396865238","1396865240","1396865234"],"photo_ids_order":["1396865234","1396865238","1396865239","1396865240","1396865241","1396865242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14b8f0ef86f37c3c75293ddf46fa220a.jpg","text":"TemporaryFile(/tmp/multipartBody6227799791293766835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409603908,"filename":"image_31102025_09_22_36_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34bdb406bae7fb890fdfbc3daefbcf8e.jpg","text":"TemporaryFile(/tmp/multipartBody4475556253825260064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409603908,"filename":"image_31102025_09_22_27_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9472e3df646408d73997298d18b6cca8.jpg","text":"TemporaryFile(/tmp/multipartBody5713225092163158975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409603908,"filename":"image_31102025_09_22_33_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13f2c5a11eb1cf47af6d566457c19115.jpg","text":"TemporaryFile(/tmp/multipartBody5910822470607404607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409603908,"filename":"image_31102025_09_22_24_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93c0047f0318bda5098201f3b6592c5f.jpg","text":"TemporaryFile(/tmp/multipartBody2600896573050204895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409603908,"filename":"image_31102025_09_22_29_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02be3a9ad165a6c0e10d0bfebedeb8e3.jpg","text":"TemporaryFile(/tmp/multipartBody4544946725443478455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409603908,"filename":"image_31102025_09_22_21_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865239","file1":"1396865238","file0":"1396865234","file4":"1396865241","file5":"1396865242","file3":"1396865240"},"map_files_photo_id_array":[{"photo_id":"1396865242","filename":"file5"},{"photo_id":"1396865239","filename":"file2"},{"photo_id":"1396865241","filename":"file4"},{"photo_id":"1396865238","filename":"file1"},{"photo_id":"1396865234","filename":"file0"},{"photo_id":"1396865240","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396865242":["hashtag1","hashtag2"]},{"1396865239":["hashtag1","hashtag2"]},{"1396865241":["hashtag1","hashtag2"]},{"1396865238":["hashtag1","hashtag2"]},{"1396865240":["hashtag1","hashtag2"]},{"1396865234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396865242, 1396865239, 1396865241, 1396865238, 1396865240, 1396865234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.889732837677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:46:21.947237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_03_2574.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_10_2597.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_12_2542.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_16_3564.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_19_2756.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_21_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_03_2574.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_10_2597.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_12_2542.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_16_3564.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_19_2756.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_21_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":["1396865314","1396865262","1396865265","1396865259","1396865267","1396865276"],"photo_ids_order":["1396865259","1396865262","1396865265","1396865267","1396865276","1396865314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/096a68d66a986dfd76a0ca89376c2205.jpg","text":"TemporaryFile(/tmp/multipartBody6706096418082118501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409644199,"filename":"image_25112025_18_13_21_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e47b4914d3b3c959e218bdf37b245701.jpg","text":"TemporaryFile(/tmp/multipartBody4042376377810361597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409644199,"filename":"image_25112025_18_13_10_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3561a769b1407707a51ea62c9ee045a1.jpg","text":"TemporaryFile(/tmp/multipartBody4964314984848731903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409644199,"filename":"image_25112025_18_13_12_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/217126bb74dc9dbcac8d48f061ab8631.jpg","text":"TemporaryFile(/tmp/multipartBody6047712901414949390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409644199,"filename":"image_25112025_18_13_03_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75380cea9afcdb54a1b8b4b96625374b.jpg","text":"TemporaryFile(/tmp/multipartBody3769536797507450744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409644199,"filename":"image_25112025_18_13_16_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb2e420d92f435fa626e00670c88b436.jpg","text":"TemporaryFile(/tmp/multipartBody3790477772660549834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409644199,"filename":"image_25112025_18_13_19_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865265","file1":"1396865262","file0":"1396865259","file4":"1396865276","file5":"1396865314","file3":"1396865267"},"map_files_photo_id_array":[{"photo_id":"1396865314","filename":"file5"},{"photo_id":"1396865265","filename":"file2"},{"photo_id":"1396865276","filename":"file4"},{"photo_id":"1396865262","filename":"file1"},{"photo_id":"1396865259","filename":"file0"},{"photo_id":"1396865267","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396865314":["hashtag1","hashtag2"]},{"1396865262":["hashtag1","hashtag2"]},{"1396865265":["hashtag1","hashtag2"]},{"1396865259":["hashtag1","hashtag2"]},{"1396865267":["hashtag1","hashtag2"]},{"1396865276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396865314, 1396865262, 1396865265, 1396865259, 1396865267, 1396865276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94774651527405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:47:02.906934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_25_3595.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_27_2500.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_31_3565.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_34_2817.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_36_2579.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_40_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_25_3595.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_27_2500.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_31_3565.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_34_2817.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_36_2579.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_40_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396865344","1396865347","1396865352","1396865343","1396865345","1396865342"],"photo_ids_order":["1396865342","1396865343","1396865344","1396865345","1396865347","1396865352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b60caf08a4284582ffc19b38ddfdde3.jpg","text":"TemporaryFile(/tmp/multipartBody4105868419060249591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409684604,"filename":"image_25112025_18_13_31_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6759926167f311d61d0329e5f0ce62f0.jpg","text":"TemporaryFile(/tmp/multipartBody1912135541090156466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409684604,"filename":"image_25112025_18_13_36_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a28f05d844331931c9b3d3b8e14301c.jpg","text":"TemporaryFile(/tmp/multipartBody7695289729247092745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409684604,"filename":"image_25112025_18_13_40_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c6e76dd0e89a6a73b07fc9a24def0d8.jpg","text":"TemporaryFile(/tmp/multipartBody3545894081665688354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409684604,"filename":"image_25112025_18_13_27_2500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/407d97061c51e14ad70ba82d111bb7dd.jpg","text":"TemporaryFile(/tmp/multipartBody7755596243950972639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409684604,"filename":"image_25112025_18_13_34_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c241e431dfa45e1a2d43d2207a6a26a9.jpg","text":"TemporaryFile(/tmp/multipartBody2088311839485181165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409684604,"filename":"image_25112025_18_13_25_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865344","file1":"1396865343","file0":"1396865342","file4":"1396865347","file5":"1396865352","file3":"1396865345"},"map_files_photo_id_array":[{"photo_id":"1396865352","filename":"file5"},{"photo_id":"1396865344","filename":"file2"},{"photo_id":"1396865347","filename":"file4"},{"photo_id":"1396865343","filename":"file1"},{"photo_id":"1396865342","filename":"file0"},{"photo_id":"1396865345","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396865344":["hashtag1","hashtag2"]},{"1396865347":["hashtag1","hashtag2"]},{"1396865352":["hashtag1","hashtag2"]},{"1396865343":["hashtag1","hashtag2"]},{"1396865345":["hashtag1","hashtag2"]},{"1396865342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396865344, 1396865347, 1396865352, 1396865343, 1396865345, 1396865342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21459412574768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:47:42.108063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_39_2755.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_42_3620.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_45_2604.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_47_2700.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_51_3637.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_54_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/09/22/image_31102025_09_22_39_2755.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_42_3620.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_45_2604.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_47_2700.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_51_3637.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_54_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":["1396865368","1396865377","1396865379","1396865367","1396865369","1396865360"],"photo_ids_order":["1396865360","1396865367","1396865368","1396865369","1396865377","1396865379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f664350e126ad93ebd3856799ce7df49.jpg","text":"TemporaryFile(/tmp/multipartBody4968030064005504173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409723223,"filename":"image_31102025_09_22_45_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4dfe647c703464702dbf812aa0d1ade.jpg","text":"TemporaryFile(/tmp/multipartBody1722645195528046455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409723223,"filename":"image_31102025_09_22_51_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8adcd61c757022c63b4a9bc0b23f8f7d.jpg","text":"TemporaryFile(/tmp/multipartBody605986678022400386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409723223,"filename":"image_31102025_09_22_54_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/336a5fa4daa328de0d7933447ea99d28.jpg","text":"TemporaryFile(/tmp/multipartBody6408956065541246045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409723223,"filename":"image_31102025_09_22_42_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a371e29dcb3f0ee1de20da11b5e9950c.jpg","text":"TemporaryFile(/tmp/multipartBody8539468608382857053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409723223,"filename":"image_31102025_09_22_47_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24e471990b0abfc039f68c22bd12bc52.jpg","text":"TemporaryFile(/tmp/multipartBody2714911514713211295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409723223,"filename":"image_31102025_09_22_39_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865368","file1":"1396865367","file0":"1396865360","file4":"1396865377","file5":"1396865379","file3":"1396865369"},"map_files_photo_id_array":[{"photo_id":"1396865379","filename":"file5"},{"photo_id":"1396865368","filename":"file2"},{"photo_id":"1396865377","filename":"file4"},{"photo_id":"1396865367","filename":"file1"},{"photo_id":"1396865360","filename":"file0"},{"photo_id":"1396865369","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396865368":["hashtag1","hashtag2"]},{"1396865377":["hashtag1","hashtag2"]},{"1396865379":["hashtag1","hashtag2"]},{"1396865367":["hashtag1","hashtag2"]},{"1396865369":["hashtag1","hashtag2"]},{"1396865360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396865368, 1396865377, 1396865379, 1396865367, 1396865369, 1396865360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38336491584778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:48:22.360485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_43_2564.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_45_2554.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_49_3594.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_51_2693.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_55_3527.jpg', '/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_58_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_43_2564.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_45_2554.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_49_3594.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_51_2693.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_55_3527.jpg
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_13_58_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":["1396865449","1396865452","1396865478","1396865442","1396865445","1396865424"],"photo_ids_order":["1396865424","1396865442","1396865445","1396865449","1396865452","1396865478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79d1f82b9010f847329010a3e2fd87b5.jpg","text":"TemporaryFile(/tmp/multipartBody6184778843161887788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409764578,"filename":"image_25112025_18_13_51_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e783d4d3acf76c8b25068381b3f37fd.jpg","text":"TemporaryFile(/tmp/multipartBody105512244281753953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409764578,"filename":"image_25112025_18_13_55_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d30c4e6c3fa26f652263d3577979f3b.jpg","text":"TemporaryFile(/tmp/multipartBody3879966281852847914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409764578,"filename":"image_25112025_18_13_58_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/407b4bb3758ff6925cfb9d31b522496e.jpg","text":"TemporaryFile(/tmp/multipartBody4789523361611386329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409764578,"filename":"image_25112025_18_13_45_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/557af2cfbf8314bf5c842b490b2314db.jpg","text":"TemporaryFile(/tmp/multipartBody7196597446981031594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409764578,"filename":"image_25112025_18_13_49_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d919e187e0c976e84c2fe90bc85dc26.jpg","text":"TemporaryFile(/tmp/multipartBody1550406038176519646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409764578,"filename":"image_25112025_18_13_43_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865445","file1":"1396865442","file0":"1396865424","file4":"1396865452","file5":"1396865478","file3":"1396865449"},"map_files_photo_id_array":[{"photo_id":"1396865478","filename":"file5"},{"photo_id":"1396865445","filename":"file2"},{"photo_id":"1396865452","filename":"file4"},{"photo_id":"1396865442","filename":"file1"},{"photo_id":"1396865424","filename":"file0"},{"photo_id":"1396865449","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396865449":["hashtag1","hashtag2"]},{"1396865452":["hashtag1","hashtag2"]},{"1396865478":["hashtag1","hashtag2"]},{"1396865442":["hashtag1","hashtag2"]},{"1396865445":["hashtag1","hashtag2"]},{"1396865424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396865449, 1396865452, 1396865478, 1396865442, 1396865445, 1396865424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07021236419678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:49:03.356553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/13/image_25112025_18_14_00_2614.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_04_3519.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_06_2642.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_10_3703.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_13_2583.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_15_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/13/image_25112025_18_14_00_2614.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_04_3519.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_06_2642.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_10_3703.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_13_2583.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_15_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396865720","1396865686","1396865653","1396865620","1396865775","1396865754"],"photo_ids_order":["1396865620","1396865653","1396865686","1396865720","1396865754","1396865775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58f6840a15ed2b148e4d22fa94c1cb2e.jpg","text":"TemporaryFile(/tmp/multipartBody4255787931243983685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409805134,"filename":"image_25112025_18_14_10_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2fb51e8833e7dc247a7c288651a08bc.jpg","text":"TemporaryFile(/tmp/multipartBody3801808971878651393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409805134,"filename":"image_25112025_18_14_06_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b01360754fe1ac2c41206f59c8e2496.jpg","text":"TemporaryFile(/tmp/multipartBody3826931568206995582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409805134,"filename":"image_25112025_18_14_04_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93d924bbd52f1ea4cd83651caad034ee.jpg","text":"TemporaryFile(/tmp/multipartBody3523571409749597191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409805134,"filename":"image_25112025_18_14_00_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2cec34a18d7d597201ec951173fdcf6e.jpg","text":"TemporaryFile(/tmp/multipartBody739344867061669966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409805134,"filename":"image_25112025_18_14_15_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3b6dc8c2ef630f2add88b8bc9c5c4ca.jpg","text":"TemporaryFile(/tmp/multipartBody3127913972609653930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409805134,"filename":"image_25112025_18_14_13_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865686","file1":"1396865653","file0":"1396865620","file4":"1396865754","file5":"1396865775","file3":"1396865720"},"map_files_photo_id_array":[{"photo_id":"1396865775","filename":"file5"},{"photo_id":"1396865686","filename":"file2"},{"photo_id":"1396865754","filename":"file4"},{"photo_id":"1396865653","filename":"file1"},{"photo_id":"1396865620","filename":"file0"},{"photo_id":"1396865720","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396865720":["hashtag1","hashtag2"]},{"1396865686":["hashtag1","hashtag2"]},{"1396865653":["hashtag1","hashtag2"]},{"1396865620":["hashtag1","hashtag2"]},{"1396865775":["hashtag1","hashtag2"]},{"1396865754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396865720, 1396865686, 1396865653, 1396865620, 1396865775, 1396865754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.393243074417114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:49:42.409450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/22/image_31102025_09_22_57_2800.jpg', '/home/pi/Desktop/images/31102025/09/22/image_31102025_09_23_00_2811.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_03_3805.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_06_2711.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_09_2699.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_12_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/09/22/image_31102025_09_22_57_2800.jpg
/home/pi/Desktop/images/31102025/09/22/image_31102025_09_23_00_2811.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_03_3805.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_06_2711.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_09_2699.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_12_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":["1396865791","1396865800","1396865793","1396865806","1396865805","1396865789"],"photo_ids_order":["1396865789","1396865791","1396865793","1396865800","1396865805","1396865806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b70bfad27263a51ae972a93911c44a59.jpg","text":"TemporaryFile(/tmp/multipartBody6731614480771792058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409843592,"filename":"image_31102025_09_23_00_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd0465d3bca57c14fd39d41198a873b9.jpg","text":"TemporaryFile(/tmp/multipartBody3089493579720262306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409843592,"filename":"image_31102025_09_23_06_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37045a6be5d53acc2db08ce813e9df47.jpg","text":"TemporaryFile(/tmp/multipartBody8317655120701250948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409843592,"filename":"image_31102025_09_23_03_3805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb9ce49cb2bca796c0ffd042be957487.jpg","text":"TemporaryFile(/tmp/multipartBody1640002393586100624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409843592,"filename":"image_31102025_09_23_12_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0103d32b9c4f3f099759ee91c9c43960.jpg","text":"TemporaryFile(/tmp/multipartBody2502246929583997189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409843592,"filename":"image_31102025_09_23_09_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/304580269ddce07170721fbda259f36b.jpg","text":"TemporaryFile(/tmp/multipartBody3957709774158697973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409843592,"filename":"image_31102025_09_22_57_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865793","file1":"1396865791","file0":"1396865789","file4":"1396865805","file5":"1396865806","file3":"1396865800"},"map_files_photo_id_array":[{"photo_id":"1396865806","filename":"file5"},{"photo_id":"1396865793","filename":"file2"},{"photo_id":"1396865805","filename":"file4"},{"photo_id":"1396865791","filename":"file1"},{"photo_id":"1396865789","filename":"file0"},{"photo_id":"1396865800","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396865791":["hashtag1","hashtag2"]},{"1396865800":["hashtag1","hashtag2"]},{"1396865793":["hashtag1","hashtag2"]},{"1396865806":["hashtag1","hashtag2"]},{"1396865805":["hashtag1","hashtag2"]},{"1396865789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396865791, 1396865800, 1396865793, 1396865806, 1396865805, 1396865789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.243874073028564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:50:22.566279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_25_3596.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_27_2475.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_30_2704.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_34_3777.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_36_2555.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_39_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_25_3596.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_27_2475.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_30_2704.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_34_3777.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_36_2555.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_39_2692.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.157519817352295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:50:32.614730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_25_3596.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_27_2475.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_30_2704.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_34_3777.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_36_2555.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_39_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_25_3596.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_27_2475.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_30_2704.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_34_3777.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_36_2555.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_39_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":["1396865833","1396865842","1396865841","1396865826","1396865829","1396865840"],"photo_ids_order":["1396865826","1396865829","1396865833","1396865840","1396865841","1396865842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70050422d98e5047943fa562858d13e8.jpg","text":"TemporaryFile(/tmp/multipartBody7338912627079610923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409894738,"filename":"image_25112025_18_14_30_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/645137453d6eadff68624de365be03dd.jpg","text":"TemporaryFile(/tmp/multipartBody5657211679170483964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409894738,"filename":"image_25112025_18_14_39_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3629d5727300c9278be383881c6022e.jpg","text":"TemporaryFile(/tmp/multipartBody5383332172588876224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409894738,"filename":"image_25112025_18_14_36_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb34ae162cebc6fa9dd917032435e203.jpg","text":"TemporaryFile(/tmp/multipartBody289599330472230165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409894738,"filename":"image_25112025_18_14_25_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93c84750fb85fb1b8a63e8d346abdb57.jpg","text":"TemporaryFile(/tmp/multipartBody6362645236288403242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409894738,"filename":"image_25112025_18_14_27_2475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/360023028170644a3d9c8a2774870117.jpg","text":"TemporaryFile(/tmp/multipartBody3463464673043190373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409894738,"filename":"image_25112025_18_14_34_3777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865833","file1":"1396865829","file0":"1396865826","file4":"1396865841","file5":"1396865842","file3":"1396865840"},"map_files_photo_id_array":[{"photo_id":"1396865842","filename":"file5"},{"photo_id":"1396865833","filename":"file2"},{"photo_id":"1396865841","filename":"file4"},{"photo_id":"1396865829","filename":"file1"},{"photo_id":"1396865826","filename":"file0"},{"photo_id":"1396865840","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396865833":["hashtag1","hashtag2"]},{"1396865842":["hashtag1","hashtag2"]},{"1396865841":["hashtag1","hashtag2"]},{"1396865826":["hashtag1","hashtag2"]},{"1396865829":["hashtag1","hashtag2"]},{"1396865840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396865833, 1396865842, 1396865841, 1396865826, 1396865829, 1396865840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48589491844177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:51:12.709358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_43_3649.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_45_2721.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_48_2651.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_52_3498.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_54_2605.jpg', '/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_58_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_43_3649.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_45_2721.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_48_2651.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_52_3498.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_54_2605.jpg
/home/pi/Desktop/images/25112025/18/14/image_25112025_18_14_58_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396865851","1396865865","1396865844","1396865847","1396865867","1396865843"],"photo_ids_order":["1396865843","1396865844","1396865847","1396865851","1396865865","1396865867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9326d648b400b247e7bddeee7e7c226f.jpg","text":"TemporaryFile(/tmp/multipartBody210315238472192349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409934836,"filename":"image_25112025_18_14_52_3498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7123a0927bd881ce35af314f316e74a6.jpg","text":"TemporaryFile(/tmp/multipartBody2848759272688730452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409934836,"filename":"image_25112025_18_14_54_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/521bd60224d39454a203517b212f39c2.jpg","text":"TemporaryFile(/tmp/multipartBody141870549533357722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409934836,"filename":"image_25112025_18_14_45_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/feffc5f9b4f69d21e1f3e622370a3f63.jpg","text":"TemporaryFile(/tmp/multipartBody7879066192300067165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409934836,"filename":"image_25112025_18_14_48_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/824cd52ccf71eca92c48ccef95d29510.jpg","text":"TemporaryFile(/tmp/multipartBody8926897626218667426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409934836,"filename":"image_25112025_18_14_58_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0e8ccf8afb86b257808c84ab39f0e28.jpg","text":"TemporaryFile(/tmp/multipartBody715416519022530264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409934836,"filename":"image_25112025_18_14_43_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865847","file1":"1396865844","file0":"1396865843","file4":"1396865865","file5":"1396865867","file3":"1396865851"},"map_files_photo_id_array":[{"photo_id":"1396865867","filename":"file5"},{"photo_id":"1396865847","filename":"file2"},{"photo_id":"1396865865","filename":"file4"},{"photo_id":"1396865844","filename":"file1"},{"photo_id":"1396865843","filename":"file0"},{"photo_id":"1396865851","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396865851":["hashtag1","hashtag2"]},{"1396865865":["hashtag1","hashtag2"]},{"1396865844":["hashtag1","hashtag2"]},{"1396865847":["hashtag1","hashtag2"]},{"1396865867":["hashtag1","hashtag2"]},{"1396865843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396865851, 1396865865, 1396865844, 1396865847, 1396865867, 1396865843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91595411300659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:52:02.383880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/45/image_29112025_10_45_14_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/45/image_29112025_10_45_14_10057.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.42313361167907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:52:11.960000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_03_2639.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_06_2706.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_10_3819.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_13_2717.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_15_2744.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_19_3569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_03_2639.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_06_2706.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_10_3819.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_13_2717.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_15_2744.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_19_3569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396865881","1396865884","1396865871","1396865879","1396865873","1396865876"],"photo_ids_order":["1396865871","1396865873","1396865876","1396865879","1396865881","1396865884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0c0a8e224721d948fe373fa25d7b35b.jpg","text":"TemporaryFile(/tmp/multipartBody419528065355547697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409994057,"filename":"image_25112025_18_15_15_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/869e38d62d7bee104d2ae916fa4936ef.jpg","text":"TemporaryFile(/tmp/multipartBody7631737936059137640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409994057,"filename":"image_25112025_18_15_19_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48bc689497c7ac4625a12c4a1ea858af.jpg","text":"TemporaryFile(/tmp/multipartBody2877594303964387165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409994057,"filename":"image_25112025_18_15_03_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3cfa94aba1a694d697e46f56de5f78ae.jpg","text":"TemporaryFile(/tmp/multipartBody1794997477453001452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409994057,"filename":"image_25112025_18_15_13_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e19edbd3492d5bb53bcef5f89cd75d3.jpg","text":"TemporaryFile(/tmp/multipartBody222333714601409435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409994057,"filename":"image_25112025_18_15_06_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d32ee005a9ecc9cc29a0346b4e8bbbe.jpg","text":"TemporaryFile(/tmp/multipartBody4017301687084222007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764409994057,"filename":"image_25112025_18_15_10_3819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865876","file1":"1396865873","file0":"1396865871","file4":"1396865881","file5":"1396865884","file3":"1396865879"},"map_files_photo_id_array":[{"photo_id":"1396865884","filename":"file5"},{"photo_id":"1396865876","filename":"file2"},{"photo_id":"1396865881","filename":"file4"},{"photo_id":"1396865873","filename":"file1"},{"photo_id":"1396865871","filename":"file0"},{"photo_id":"1396865879","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396865881":["hashtag1","hashtag2"]},{"1396865884":["hashtag1","hashtag2"]},{"1396865871":["hashtag1","hashtag2"]},{"1396865879":["hashtag1","hashtag2"]},{"1396865873":["hashtag1","hashtag2"]},{"1396865876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396865881, 1396865884, 1396865871, 1396865879, 1396865873, 1396865876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.495400190353394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:53:02.747945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/45/image_29112025_10_45_14_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/45/image_29112025_10_45_14_10057.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396865889"],"photo_id":"1396865889","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adb8dc527d2bf058260ecf9bee9ec41c.jpg","text":"TemporaryFile(/tmp/multipartBody8157434073898029778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410043305,"filename":"image_29112025_10_45_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396865889"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396865889"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.14416790008545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:53:22.118744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_22_2747.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_24_2802.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_27_2515.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_31_3771.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_36_2726.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_39_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_22_2747.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_24_2802.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_27_2515.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_31_3771.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_36_2726.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_39_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":["1396865941","1396865923","1396865917","1396865892","1396865907","1396865939"],"photo_ids_order":["1396865892","1396865907","1396865917","1396865923","1396865939","1396865941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07203d49d043d1a63d671b680d83d5f7.jpg","text":"TemporaryFile(/tmp/multipartBody1905918802773115097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410064349,"filename":"image_25112025_18_15_39_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac746b7ec82734d5061b35ec82106e46.jpg","text":"TemporaryFile(/tmp/multipartBody1358942574994039783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410064349,"filename":"image_25112025_18_15_31_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cec6497e29bb84b602b65eae292badd3.jpg","text":"TemporaryFile(/tmp/multipartBody5776206741017079795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410064349,"filename":"image_25112025_18_15_27_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7fe1784e04d168eca9cc1cc81e906942.jpg","text":"TemporaryFile(/tmp/multipartBody1493889768568416542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410064349,"filename":"image_25112025_18_15_22_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5d7016860a9f0286114aa15ce48a3d3.jpg","text":"TemporaryFile(/tmp/multipartBody3490427892773213256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410064349,"filename":"image_25112025_18_15_24_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9bb2213b256920a7063bdaa994b6f86.jpg","text":"TemporaryFile(/tmp/multipartBody3519600286692102188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410064349,"filename":"image_25112025_18_15_36_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396865917","file1":"1396865907","file0":"1396865892","file4":"1396865939","file5":"1396865941","file3":"1396865923"},"map_files_photo_id_array":[{"photo_id":"1396865941","filename":"file5"},{"photo_id":"1396865917","filename":"file2"},{"photo_id":"1396865939","filename":"file4"},{"photo_id":"1396865907","filename":"file1"},{"photo_id":"1396865892","filename":"file0"},{"photo_id":"1396865923","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396865941":["hashtag1","hashtag2"]},{"1396865923":["hashtag1","hashtag2"]},{"1396865917":["hashtag1","hashtag2"]},{"1396865892":["hashtag1","hashtag2"]},{"1396865907":["hashtag1","hashtag2"]},{"1396865939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396865941, 1396865923, 1396865917, 1396865892, 1396865907, 1396865939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.907798528671265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:54:02.904207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_43_3661.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_45_2552.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_49_3580.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_51_2505.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_55_3482.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_57_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_43_3661.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_45_2552.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_49_3580.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_51_2505.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_55_3482.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_57_2766.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5136148929595947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 10:54:12.271385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_43_3661.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_45_2552.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_49_3580.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_51_2505.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_55_3482.jpg', '/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_57_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_43_3661.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_45_2552.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_49_3580.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_51_2505.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_55_3482.jpg
/home/pi/Desktop/images/25112025/18/15/image_25112025_18_15_57_2766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396865971","1396866121","1396866048","1396865945","1396866011","1396866082"],"photo_ids_order":["1396865945","1396865971","1396866011","1396866048","1396866082","1396866121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/931fff0110cea5b78d3b641d5b954031.jpg","text":"TemporaryFile(/tmp/multipartBody5501733295316078225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410114278,"filename":"image_25112025_18_15_45_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6251bc46b73884c1cf280acd443a52e.jpg","text":"TemporaryFile(/tmp/multipartBody2880528138037144503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410114278,"filename":"image_25112025_18_15_57_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/088739cb7b327081f21175342adee579.jpg","text":"TemporaryFile(/tmp/multipartBody2880141822660577321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410114278,"filename":"image_25112025_18_15_51_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d81807d691937f715177f81ab0c8ee7.jpg","text":"TemporaryFile(/tmp/multipartBody1456765909301499348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410114278,"filename":"image_25112025_18_15_43_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/345c6b7e4c69c80df9b43346d2603aac.jpg","text":"TemporaryFile(/tmp/multipartBody1445018681747519818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410114278,"filename":"image_25112025_18_15_49_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69a7920bafca8dc34d3b5425a443f44a.jpg","text":"TemporaryFile(/tmp/multipartBody9148302746200672025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410114278,"filename":"image_25112025_18_15_55_3482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396866011","file1":"1396865971","file0":"1396865945","file4":"1396866082","file5":"1396866121","file3":"1396866048"},"map_files_photo_id_array":[{"photo_id":"1396866121","filename":"file5"},{"photo_id":"1396866011","filename":"file2"},{"photo_id":"1396866082","filename":"file4"},{"photo_id":"1396865971","filename":"file1"},{"photo_id":"1396865945","filename":"file0"},{"photo_id":"1396866048","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396865971":["hashtag1","hashtag2"]},{"1396866121":["hashtag1","hashtag2"]},{"1396866048":["hashtag1","hashtag2"]},{"1396865945":["hashtag1","hashtag2"]},{"1396866011":["hashtag1","hashtag2"]},{"1396866082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396865971, 1396866121, 1396866048, 1396865945, 1396866011, 1396866082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32538914680481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:55:03.134579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/51/image_29112025_10_51_55_10620.jpg', '/home/pi/Desktop/images/29112025/10/53/image_29112025_10_54_05_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/51/image_29112025_10_51_55_10620.jpg
/home/pi/Desktop/images/29112025/10/53/image_29112025_10_54_05_9605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396866327","1396866303"],"photo_ids_order":["1396866303","1396866327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2233d138c3e662e44f39190e8a3ca31.jpg","text":"TemporaryFile(/tmp/multipartBody8248958080010749785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410163737,"filename":"image_29112025_10_54_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/11/29/002992ec198c5e9d5f9eb3153efb3ad1.jpg","text":"TemporaryFile(/tmp/multipartBody3643963786499261633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410163737,"filename":"image_29112025_10_51_55_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396866327","file0":"1396866303"},"map_files_photo_id_array":[{"photo_id":"1396866327","filename":"file1"},{"photo_id":"1396866303","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396866327":["hashtag1","hashtag2"]},{"1396866303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396866327, 1396866303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.45401430130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:55:22.519465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_04_3493.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_06_2619.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_09_2571.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_13_3634.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_15_2571.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_19_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_04_3493.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_06_2619.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_09_2571.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_13_3634.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_15_2571.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_19_3616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396866364","1396866357","1396866366","1396866360","1396866368","1396866362"],"photo_ids_order":["1396866357","1396866360","1396866362","1396866364","1396866366","1396866368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95a539c3d6a400c026c224d14abbe19e.jpg","text":"TemporaryFile(/tmp/multipartBody1840000730890835362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410184749,"filename":"image_25112025_18_16_13_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa8ad5f123140c0d0d2dc23d31e988bd.jpg","text":"TemporaryFile(/tmp/multipartBody4159291088183248493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410184749,"filename":"image_25112025_18_16_04_3493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/568ded47c1bf15f07a296b1bd87246ae.jpg","text":"TemporaryFile(/tmp/multipartBody2943358125482517637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410184749,"filename":"image_25112025_18_16_15_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b412c874458f48cc36aecd3fce6803d0.jpg","text":"TemporaryFile(/tmp/multipartBody4993693947448450080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410184749,"filename":"image_25112025_18_16_06_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2151e77418b199e334424ea32ca84b95.jpg","text":"TemporaryFile(/tmp/multipartBody6914066992837520587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410184749,"filename":"image_25112025_18_16_19_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3936cd54f2e507b8898d5f759f588ce8.jpg","text":"TemporaryFile(/tmp/multipartBody638293186375445880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410184749,"filename":"image_25112025_18_16_09_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396866362","file1":"1396866360","file0":"1396866357","file4":"1396866366","file5":"1396866368","file3":"1396866364"},"map_files_photo_id_array":[{"photo_id":"1396866368","filename":"file5"},{"photo_id":"1396866362","filename":"file2"},{"photo_id":"1396866366","filename":"file4"},{"photo_id":"1396866360","filename":"file1"},{"photo_id":"1396866357","filename":"file0"},{"photo_id":"1396866364","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396866364":["hashtag1","hashtag2"]},{"1396866357":["hashtag1","hashtag2"]},{"1396866366":["hashtag1","hashtag2"]},{"1396866360":["hashtag1","hashtag2"]},{"1396866368":["hashtag1","hashtag2"]},{"1396866362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396866364, 1396866357, 1396866366, 1396866360, 1396866368, 1396866362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25220274925232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:56:02.974505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_28_3688.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_30_2575.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_33_2605.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_36_3499.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_39_2506.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_43_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_28_3688.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_30_2575.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_33_2605.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_36_3499.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_39_2506.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_43_3653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396866378","1396866372","1396866369","1396866374","1396866371","1396866370"],"photo_ids_order":["1396866369","1396866370","1396866371","1396866372","1396866374","1396866378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d769530cbbaef070452fe5739c76b8d9.jpg","text":"TemporaryFile(/tmp/multipartBody9162217809189566267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410224583,"filename":"image_25112025_18_16_43_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6846273961f6d70ddb1a8f8b122adcb.jpg","text":"TemporaryFile(/tmp/multipartBody5576152227067432639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410224583,"filename":"image_25112025_18_16_36_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8b87a794bd254b0bf302880c20abc89.jpg","text":"TemporaryFile(/tmp/multipartBody827924252432281090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410224583,"filename":"image_25112025_18_16_28_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91f29eb17b19a27d091191d69a301a66.jpg","text":"TemporaryFile(/tmp/multipartBody6021992796380558868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410224583,"filename":"image_25112025_18_16_39_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c82e0aaae667ca8cfaecbe272d599288.jpg","text":"TemporaryFile(/tmp/multipartBody6131034994084221210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410224583,"filename":"image_25112025_18_16_33_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74dcba7273a1a9ccc563e7f9cbe40682.jpg","text":"TemporaryFile(/tmp/multipartBody1207059333655851231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410224583,"filename":"image_25112025_18_16_30_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396866371","file1":"1396866370","file0":"1396866369","file4":"1396866374","file5":"1396866378","file3":"1396866372"},"map_files_photo_id_array":[{"photo_id":"1396866378","filename":"file5"},{"photo_id":"1396866371","filename":"file2"},{"photo_id":"1396866374","filename":"file4"},{"photo_id":"1396866370","filename":"file1"},{"photo_id":"1396866369","filename":"file0"},{"photo_id":"1396866372","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396866378":["hashtag1","hashtag2"]},{"1396866372":["hashtag1","hashtag2"]},{"1396866369":["hashtag1","hashtag2"]},{"1396866374":["hashtag1","hashtag2"]},{"1396866371":["hashtag1","hashtag2"]},{"1396866370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396866378, 1396866372, 1396866369, 1396866374, 1396866371, 1396866370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32438850402832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:56:42.557666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_15_2701.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_18_2616.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_20_2707.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_24_3861.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_27_2725.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_30_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_15_2701.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_18_2616.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_20_2707.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_24_3861.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_27_2725.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_30_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396866390","1396866392","1396866386","1396866389","1396866391","1396866388"],"photo_ids_order":["1396866386","1396866388","1396866389","1396866390","1396866391","1396866392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa2b7d2060148648a931130ef571d6ee.jpg","text":"TemporaryFile(/tmp/multipartBody652162749557133422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410263725,"filename":"image_31102025_09_23_24_3861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b380e98c2f90520f6e036c30e51b674.jpg","text":"TemporaryFile(/tmp/multipartBody559434328322704990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410263725,"filename":"image_31102025_09_23_30_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fac783d48f9eec8f1d09b681be4b5831.jpg","text":"TemporaryFile(/tmp/multipartBody2586557545623880965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410263725,"filename":"image_31102025_09_23_15_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38926faf26fdb2d7ecac25ef9bf24cd9.jpg","text":"TemporaryFile(/tmp/multipartBody8556483118516865877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410263725,"filename":"image_31102025_09_23_20_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56d55d41bfcffaaa1288861a6eeadd37.jpg","text":"TemporaryFile(/tmp/multipartBody2710447784852820901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410263725,"filename":"image_31102025_09_23_27_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ee8d948b5c111f98aee9ccdb61d68e6.jpg","text":"TemporaryFile(/tmp/multipartBody6284915624803174294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410263725,"filename":"image_31102025_09_23_18_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396866389","file1":"1396866388","file0":"1396866386","file4":"1396866391","file5":"1396866392","file3":"1396866390"},"map_files_photo_id_array":[{"photo_id":"1396866392","filename":"file5"},{"photo_id":"1396866389","filename":"file2"},{"photo_id":"1396866391","filename":"file4"},{"photo_id":"1396866388","filename":"file1"},{"photo_id":"1396866386","filename":"file0"},{"photo_id":"1396866390","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396866390":["hashtag1","hashtag2"]},{"1396866392":["hashtag1","hashtag2"]},{"1396866386":["hashtag1","hashtag2"]},{"1396866389":["hashtag1","hashtag2"]},{"1396866391":["hashtag1","hashtag2"]},{"1396866388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396866390, 1396866392, 1396866386, 1396866389, 1396866391, 1396866388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26318430900574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 10:57:22.716913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/54/image_29112025_10_54_55_9584.jpg', '/home/pi/Desktop/images/29112025/10/56/image_29112025_10_56_15_9689.jpg', '/home/pi/Desktop/images/29112025/10/56/image_29112025_10_56_24_9720.jpg', '/home/pi/Desktop/images/29112025/10/56/image_29112025_10_56_45_10717.jpg', '/home/pi/Desktop/images/29112025/10/56/image_29112025_10_56_54_9548.jpg', '/home/pi/Desktop/images/29112025/10/56/image_29112025_10_57_05_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/54/image_29112025_10_54_55_9584.jpg
/home/pi/Desktop/images/29112025/10/56/image_29112025_10_56_15_9689.jpg
/home/pi/Desktop/images/29112025/10/56/image_29112025_10_56_24_9720.jpg
/home/pi/Desktop/images/29112025/10/56/image_29112025_10_56_45_10717.jpg
/home/pi/Desktop/images/29112025/10/56/image_29112025_10_56_54_9548.jpg
/home/pi/Desktop/images/29112025/10/56/image_29112025_10_57_05_10664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396866403","1396866396","1396866399","1396866408","1396866405","1396866401"],"photo_ids_order":["1396866396","1396866399","1396866401","1396866403","1396866405","1396866408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d26f005b4e733141981954994565b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4129704801238744426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410303392,"filename":"image_29112025_10_56_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ba349f0877188328f71bb68b2bfb119.jpg","text":"TemporaryFile(/tmp/multipartBody2564557606885622837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410303392,"filename":"image_29112025_10_54_55_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc68bc822fcee4f4137f4bc5646fa072.jpg","text":"TemporaryFile(/tmp/multipartBody176457746822422900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410303392,"filename":"image_29112025_10_56_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/11/29/297c45349df1c16b839d1ff584b69334.jpg","text":"TemporaryFile(/tmp/multipartBody5857288463164007494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410303392,"filename":"image_29112025_10_57_05_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b2d1907a30401dcaabd47affe862bc7.jpg","text":"TemporaryFile(/tmp/multipartBody5605150786795544132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410303392,"filename":"image_29112025_10_56_54_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6507481db83d683fcdb429a29844c36a.jpg","text":"TemporaryFile(/tmp/multipartBody3774239038636811517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410303392,"filename":"image_29112025_10_56_24_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396866401","file1":"1396866399","file0":"1396866396","file4":"1396866405","file5":"1396866408","file3":"1396866403"},"map_files_photo_id_array":[{"photo_id":"1396866408","filename":"file5"},{"photo_id":"1396866401","filename":"file2"},{"photo_id":"1396866405","filename":"file4"},{"photo_id":"1396866399","filename":"file1"},{"photo_id":"1396866396","filename":"file0"},{"photo_id":"1396866403","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396866403":["hashtag1","hashtag2"]},{"1396866396":["hashtag1","hashtag2"]},{"1396866399":["hashtag1","hashtag2"]},{"1396866408":["hashtag1","hashtag2"]},{"1396866405":["hashtag1","hashtag2"]},{"1396866401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396866403, 1396866396, 1396866399, 1396866408, 1396866405, 1396866401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.318105697631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 10:59:03.158945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/57/image_29112025_10_57_15_9709.jpg', '/home/pi/Desktop/images/29112025/10/57/image_29112025_10_57_24_9550.jpg', '/home/pi/Desktop/images/29112025/10/57/image_29112025_10_57_45_10573.jpg', '/home/pi/Desktop/images/29112025/10/57/image_29112025_10_57_54_9630.jpg', '/home/pi/Desktop/images/29112025/10/57/image_29112025_10_58_04_9738.jpg', '/home/pi/Desktop/images/29112025/10/58/image_29112025_10_58_15_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/57/image_29112025_10_57_15_9709.jpg
/home/pi/Desktop/images/29112025/10/57/image_29112025_10_57_24_9550.jpg
/home/pi/Desktop/images/29112025/10/57/image_29112025_10_57_45_10573.jpg
/home/pi/Desktop/images/29112025/10/57/image_29112025_10_57_54_9630.jpg
/home/pi/Desktop/images/29112025/10/57/image_29112025_10_58_04_9738.jpg
/home/pi/Desktop/images/29112025/10/58/image_29112025_10_58_15_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":["1396866454","1396866450","1396866449","1396866440","1396866452","1396866446"],"photo_ids_order":["1396866440","1396866446","1396866449","1396866450","1396866452","1396866454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fccfa1d282890761004515c45f6a911.jpg","text":"TemporaryFile(/tmp/multipartBody8346639658304266494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410403980,"filename":"image_29112025_10_58_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/11/29/a574e1c708f8d68effdaeb0d61e83b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6994328596638982204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410403980,"filename":"image_29112025_10_57_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0ff6373b5055dafdc59c64c3f718456.jpg","text":"TemporaryFile(/tmp/multipartBody1650464684240576932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410403980,"filename":"image_29112025_10_57_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3ee5cb26c1f6015dc2834173088a135.jpg","text":"TemporaryFile(/tmp/multipartBody6825001100933937906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410403980,"filename":"image_29112025_10_57_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/11/29/57d2fc56f9ace9d3e0f7334ef69990ca.jpg","text":"TemporaryFile(/tmp/multipartBody1419700887210011382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410403980,"filename":"image_29112025_10_58_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/11/29/2c3610c1811585b0c55d80e918a51507.jpg","text":"TemporaryFile(/tmp/multipartBody3752047141359785401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410403980,"filename":"image_29112025_10_57_24_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396866449","file1":"1396866446","file0":"1396866440","file4":"1396866452","file5":"1396866454","file3":"1396866450"},"map_files_photo_id_array":[{"photo_id":"1396866454","filename":"file5"},{"photo_id":"1396866449","filename":"file2"},{"photo_id":"1396866452","filename":"file4"},{"photo_id":"1396866446","filename":"file1"},{"photo_id":"1396866440","filename":"file0"},{"photo_id":"1396866450","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396866454":["hashtag1","hashtag2"]},{"1396866450":["hashtag1","hashtag2"]},{"1396866449":["hashtag1","hashtag2"]},{"1396866440":["hashtag1","hashtag2"]},{"1396866452":["hashtag1","hashtag2"]},{"1396866446":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396866454, 1396866450, 1396866449, 1396866440, 1396866452, 1396866446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95028042793274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 10:59:42.265697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_33_3720.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_36_2671.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_42_2772.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_45_3666.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_48_2671.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_53_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_33_3720.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_36_2671.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_42_2772.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_45_3666.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_48_2671.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_53_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396866631","1396866561","1396866491","1396866593","1396866461","1396866527"],"photo_ids_order":["1396866461","1396866491","1396866527","1396866561","1396866593","1396866631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e05c4a597697cbe8dd97d8ad252d21e0.jpg","text":"TemporaryFile(/tmp/multipartBody7611808693824851369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410443419,"filename":"image_31102025_09_23_53_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/539d3c44b53b5c3f3fc2680dcff9691d.jpg","text":"TemporaryFile(/tmp/multipartBody8408367922487261814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410443419,"filename":"image_31102025_09_23_45_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9dbe9a16e97e600957e13f08acfd627b.jpg","text":"TemporaryFile(/tmp/multipartBody1525581488308331772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410443419,"filename":"image_31102025_09_23_36_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/608864457f6dac2478f8dc069bcd2f7d.jpg","text":"TemporaryFile(/tmp/multipartBody2527113506610542415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410443419,"filename":"image_31102025_09_23_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/11/29/867116839e8058a8b25d72e92dc8dd64.jpg","text":"TemporaryFile(/tmp/multipartBody5213614402795131626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410443419,"filename":"image_31102025_09_23_33_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd07feb95fd4c5c133740822ff85920f.jpg","text":"TemporaryFile(/tmp/multipartBody521420010216434068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410443419,"filename":"image_31102025_09_23_42_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396866527","file1":"1396866491","file0":"1396866461","file4":"1396866593","file5":"1396866631","file3":"1396866561"},"map_files_photo_id_array":[{"photo_id":"1396866631","filename":"file5"},{"photo_id":"1396866527","filename":"file2"},{"photo_id":"1396866593","filename":"file4"},{"photo_id":"1396866491","filename":"file1"},{"photo_id":"1396866461","filename":"file0"},{"photo_id":"1396866561","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396866631":["hashtag1","hashtag2"]},{"1396866561":["hashtag1","hashtag2"]},{"1396866491":["hashtag1","hashtag2"]},{"1396866593":["hashtag1","hashtag2"]},{"1396866461":["hashtag1","hashtag2"]},{"1396866527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396866631, 1396866561, 1396866491, 1396866593, 1396866461, 1396866527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79847836494446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:00:22.520034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/58/image_29112025_10_58_24_9720.jpg', '/home/pi/Desktop/images/29112025/10/58/image_29112025_10_58_34_9650.jpg', '/home/pi/Desktop/images/29112025/10/58/image_29112025_10_58_45_10671.jpg', '/home/pi/Desktop/images/29112025/10/58/image_29112025_10_58_54_9532.jpg', '/home/pi/Desktop/images/29112025/10/58/image_29112025_10_59_04_9615.jpg', '/home/pi/Desktop/images/29112025/10/59/image_29112025_10_59_15_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/58/image_29112025_10_58_24_9720.jpg
/home/pi/Desktop/images/29112025/10/58/image_29112025_10_58_34_9650.jpg
/home/pi/Desktop/images/29112025/10/58/image_29112025_10_58_45_10671.jpg
/home/pi/Desktop/images/29112025/10/58/image_29112025_10_58_54_9532.jpg
/home/pi/Desktop/images/29112025/10/58/image_29112025_10_59_04_9615.jpg
/home/pi/Desktop/images/29112025/10/59/image_29112025_10_59_15_10772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396866891","1396866855","1396866816","1396866962","1396866926","1396866778"],"photo_ids_order":["1396866778","1396866816","1396866855","1396866891","1396866926","1396866962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1dd62fbc4473e3b0cfebda9f78e6d89.jpg","text":"TemporaryFile(/tmp/multipartBody542006302229612705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410483201,"filename":"image_29112025_10_58_54_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6575120affc0e0d8108ca8b0516c36ee.jpg","text":"TemporaryFile(/tmp/multipartBody8279857522694204455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410483201,"filename":"image_29112025_10_58_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b69b3e3985bc5fe5927c3c229a3749b.jpg","text":"TemporaryFile(/tmp/multipartBody4576969436434443894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410483201,"filename":"image_29112025_10_58_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/11/29/25574dc5e4f8eb6c59d1ad9a255d48b3.jpg","text":"TemporaryFile(/tmp/multipartBody1091296161943754841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410483201,"filename":"image_29112025_10_59_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/11/29/cf8670f6c62fc9fd0a78c9767c4480a8.jpg","text":"TemporaryFile(/tmp/multipartBody8105519716368907116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410483201,"filename":"image_29112025_10_59_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/11/29/59c72c841cacc821a8ffb2f1f02af8e9.jpg","text":"TemporaryFile(/tmp/multipartBody2312726431208750034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410483201,"filename":"image_29112025_10_58_24_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396866855","file1":"1396866816","file0":"1396866778","file4":"1396866926","file5":"1396866962","file3":"1396866891"},"map_files_photo_id_array":[{"photo_id":"1396866962","filename":"file5"},{"photo_id":"1396866855","filename":"file2"},{"photo_id":"1396866926","filename":"file4"},{"photo_id":"1396866816","filename":"file1"},{"photo_id":"1396866778","filename":"file0"},{"photo_id":"1396866891","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396866891":["hashtag1","hashtag2"]},{"1396866855":["hashtag1","hashtag2"]},{"1396866816":["hashtag1","hashtag2"]},{"1396866962":["hashtag1","hashtag2"]},{"1396866926":["hashtag1","hashtag2"]},{"1396866778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396866891, 1396866855, 1396866816, 1396866962, 1396866926, 1396866778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78225612640381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:01:03.267991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/59/image_29112025_10_59_24_9530.jpg', '/home/pi/Desktop/images/29112025/10/59/image_29112025_10_59_35_10682.jpg', '/home/pi/Desktop/images/29112025/10/59/image_29112025_10_59_45_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/59/image_29112025_10_59_24_9530.jpg
/home/pi/Desktop/images/29112025/10/59/image_29112025_10_59_35_10682.jpg
/home/pi/Desktop/images/29112025/10/59/image_29112025_10_59_45_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":["1396867143","1396867178","1396867106"],"photo_ids_order":["1396867106","1396867143","1396867178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e075957b1421941bae37bab32cde8022.jpg","text":"TemporaryFile(/tmp/multipartBody3562336987733688601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410523933,"filename":"image_29112025_10_59_35_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5cac644bcae6d97a52da22286769a8e6.jpg","text":"TemporaryFile(/tmp/multipartBody7489923797951994561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410523933,"filename":"image_29112025_10_59_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/11/29/7d17f165786b24d52eff0c1047d269e3.jpg","text":"TemporaryFile(/tmp/multipartBody2828505310572756269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410523933,"filename":"image_29112025_10_59_24_9530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867178","file1":"1396867143","file0":"1396867106"},"map_files_photo_id_array":[{"photo_id":"1396867178","filename":"file2"},{"photo_id":"1396867143","filename":"file1"},{"photo_id":"1396867106","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396867143":["hashtag1","hashtag2"]},{"1396867178":["hashtag1","hashtag2"]},{"1396867106":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396867143, 1396867178, 1396867106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.508578538894653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:01:32.836397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_45_2567.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_49_3499.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_51_2521.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_55_3566.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_57_2569.jpg', '/home/pi/Desktop/images/25112025/18/16/image_25112025_18_17_00_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_45_2567.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_49_3499.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_51_2521.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_55_3566.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_16_57_2569.jpg
/home/pi/Desktop/images/25112025/18/16/image_25112025_18_17_00_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":["1396867290","1396867283","1396867292","1396867291","1396867285","1396867288"],"photo_ids_order":["1396867283","1396867285","1396867288","1396867290","1396867291","1396867292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60268fdb07db6bc59d6aa0c6f4acb562.jpg","text":"TemporaryFile(/tmp/multipartBody3567617934294689282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410555063,"filename":"image_25112025_18_16_55_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd23c84fa0b1c84a59cd30459a18769b.jpg","text":"TemporaryFile(/tmp/multipartBody6381964724705885640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410555063,"filename":"image_25112025_18_16_45_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4555ac30ce82d839a97f3ba25195124b.jpg","text":"TemporaryFile(/tmp/multipartBody3863561242638278177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410555063,"filename":"image_25112025_18_17_00_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a03331fb0f9cb9bd8a94fa6a54413c5a.jpg","text":"TemporaryFile(/tmp/multipartBody4300663677423018648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410555063,"filename":"image_25112025_18_16_57_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be8029b95f638a8431022b733203fd91.jpg","text":"TemporaryFile(/tmp/multipartBody237223587083877154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410555063,"filename":"image_25112025_18_16_49_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c61a9f09d97a234610fabbad30658289.jpg","text":"TemporaryFile(/tmp/multipartBody7916916386291210692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410555063,"filename":"image_25112025_18_16_51_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867288","file1":"1396867285","file0":"1396867283","file4":"1396867291","file5":"1396867292","file3":"1396867290"},"map_files_photo_id_array":[{"photo_id":"1396867292","filename":"file5"},{"photo_id":"1396867288","filename":"file2"},{"photo_id":"1396867291","filename":"file4"},{"photo_id":"1396867285","filename":"file1"},{"photo_id":"1396867283","filename":"file0"},{"photo_id":"1396867290","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396867290":["hashtag1","hashtag2"]},{"1396867283":["hashtag1","hashtag2"]},{"1396867292":["hashtag1","hashtag2"]},{"1396867291":["hashtag1","hashtag2"]},{"1396867285":["hashtag1","hashtag2"]},{"1396867288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396867290, 1396867283, 1396867292, 1396867291, 1396867285, 1396867288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01614999771118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:02:11.983298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_03_3566.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_06_2618.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_10_3613.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_13_2855.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_15_2639.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_18_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_03_3566.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_06_2618.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_10_3613.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_13_2855.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_15_2639.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_18_2798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396867516","1396867476","1396867443","1396867490","1396867478","1396867408"],"photo_ids_order":["1396867408","1396867443","1396867476","1396867478","1396867490","1396867516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3763026397c06b414778e00578475b95.jpg","text":"TemporaryFile(/tmp/multipartBody5221100339053124770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410594080,"filename":"image_25112025_18_17_18_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58fd6f7ec4f49e15b97ea7606588a530.jpg","text":"TemporaryFile(/tmp/multipartBody3384248261095498597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410594080,"filename":"image_25112025_18_17_10_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/710b8da0ffa244427fc5ac1e94d615fa.jpg","text":"TemporaryFile(/tmp/multipartBody1397162475548408306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410594080,"filename":"image_25112025_18_17_06_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24a9e2482540bc677b66ed0e5d581722.jpg","text":"TemporaryFile(/tmp/multipartBody8022771879335655419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410594080,"filename":"image_25112025_18_17_15_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af34e6f5a92877759088ea1fce6cc988.jpg","text":"TemporaryFile(/tmp/multipartBody7287281673836551245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410594080,"filename":"image_25112025_18_17_13_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6931c08fc10d285485006511e51b9ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8033250867990547386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410594080,"filename":"image_25112025_18_17_03_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867476","file1":"1396867443","file0":"1396867408","file4":"1396867490","file5":"1396867516","file3":"1396867478"},"map_files_photo_id_array":[{"photo_id":"1396867516","filename":"file5"},{"photo_id":"1396867476","filename":"file2"},{"photo_id":"1396867490","filename":"file4"},{"photo_id":"1396867443","filename":"file1"},{"photo_id":"1396867408","filename":"file0"},{"photo_id":"1396867478","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396867516":["hashtag1","hashtag2"]},{"1396867476":["hashtag1","hashtag2"]},{"1396867443":["hashtag1","hashtag2"]},{"1396867490":["hashtag1","hashtag2"]},{"1396867478":["hashtag1","hashtag2"]},{"1396867408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396867516, 1396867476, 1396867443, 1396867490, 1396867478, 1396867408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.522260427474976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:03:02.860410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/10/59/image_29112025_10_59_54_9672.jpg', '/home/pi/Desktop/images/29112025/11/01/image_29112025_11_01_14_10040.jpg', '/home/pi/Desktop/images/29112025/11/01/image_29112025_11_01_24_10773.jpg', '/home/pi/Desktop/images/29112025/11/01/image_29112025_11_01_34_9592.jpg', '/home/pi/Desktop/images/29112025/11/01/image_29112025_11_01_44_9675.jpg', '/home/pi/Desktop/images/29112025/11/01/image_29112025_11_01_54_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/10/59/image_29112025_10_59_54_9672.jpg
/home/pi/Desktop/images/29112025/11/01/image_29112025_11_01_14_10040.jpg
/home/pi/Desktop/images/29112025/11/01/image_29112025_11_01_24_10773.jpg
/home/pi/Desktop/images/29112025/11/01/image_29112025_11_01_34_9592.jpg
/home/pi/Desktop/images/29112025/11/01/image_29112025_11_01_44_9675.jpg
/home/pi/Desktop/images/29112025/11/01/image_29112025_11_01_54_10748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396867566","1396867560","1396867563","1396867559","1396867561","1396867558"],"photo_ids_order":["1396867558","1396867559","1396867560","1396867561","1396867563","1396867566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67367e51372f42d39272327d5aad2863.jpg","text":"TemporaryFile(/tmp/multipartBody6176908271467015139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410643666,"filename":"image_29112025_11_01_54_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb75a277d0a48e14268e4fc075076352.jpg","text":"TemporaryFile(/tmp/multipartBody7246463642868882314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410643666,"filename":"image_29112025_11_01_24_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78fbcf9d735208fd560160db2d68377a.jpg","text":"TemporaryFile(/tmp/multipartBody5473383508379217527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410643666,"filename":"image_29112025_11_01_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/11/29/41d96f96c9108f0b1a2933c4503af2b9.jpg","text":"TemporaryFile(/tmp/multipartBody6210646397740713858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410643666,"filename":"image_29112025_11_01_14_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4ad6862a0ce8e0e58755a4aee1cf1f2.jpg","text":"TemporaryFile(/tmp/multipartBody735168183652322877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410643666,"filename":"image_29112025_11_01_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/864309b2451d9ecce05cd02914a2b110.jpg","text":"TemporaryFile(/tmp/multipartBody8513349335609158899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410643666,"filename":"image_29112025_10_59_54_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867560","file1":"1396867559","file0":"1396867558","file4":"1396867563","file5":"1396867566","file3":"1396867561"},"map_files_photo_id_array":[{"photo_id":"1396867566","filename":"file5"},{"photo_id":"1396867560","filename":"file2"},{"photo_id":"1396867563","filename":"file4"},{"photo_id":"1396867559","filename":"file1"},{"photo_id":"1396867558","filename":"file0"},{"photo_id":"1396867561","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396867566":["hashtag1","hashtag2"]},{"1396867560":["hashtag1","hashtag2"]},{"1396867563":["hashtag1","hashtag2"]},{"1396867559":["hashtag1","hashtag2"]},{"1396867561":["hashtag1","hashtag2"]},{"1396867558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396867566, 1396867560, 1396867563, 1396867559, 1396867561, 1396867558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02787375450134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:03:42.214417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_57_3839.jpg', '/home/pi/Desktop/images/31102025/09/23/image_31102025_09_24_00_2615.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_03_2739.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_06_3644.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_09_2711.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_12_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_23_57_3839.jpg
/home/pi/Desktop/images/31102025/09/23/image_31102025_09_24_00_2615.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_03_2739.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_06_3644.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_09_2711.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_12_2860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396867578","1396867581","1396867577","1396867574","1396867576","1396867579"],"photo_ids_order":["1396867574","1396867576","1396867577","1396867578","1396867579","1396867581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be958ac1cd47e0ea4125596e93aeab3e.jpg","text":"TemporaryFile(/tmp/multipartBody8505099882683989098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410683353,"filename":"image_31102025_09_24_06_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86e8b2d2505f1cdf0be596f63f0a47d1.jpg","text":"TemporaryFile(/tmp/multipartBody353678617616519820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410683353,"filename":"image_31102025_09_24_12_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d3f69aece090e86de1c40c638fa3008.jpg","text":"TemporaryFile(/tmp/multipartBody7017521296836552359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410683353,"filename":"image_31102025_09_24_03_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbd546cec64622942d1dbc9f66135a68.jpg","text":"TemporaryFile(/tmp/multipartBody2334842422155197139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410683353,"filename":"image_31102025_09_23_57_3839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2343bcd4d6959a8e81be797f4ab71c18.jpg","text":"TemporaryFile(/tmp/multipartBody1930126614661674485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410683353,"filename":"image_31102025_09_24_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/11/29/8fed047a409d8cc39ab5342b9b42eb43.jpg","text":"TemporaryFile(/tmp/multipartBody6132133056392268529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410683353,"filename":"image_31102025_09_24_09_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867577","file1":"1396867576","file0":"1396867574","file4":"1396867579","file5":"1396867581","file3":"1396867578"},"map_files_photo_id_array":[{"photo_id":"1396867581","filename":"file5"},{"photo_id":"1396867577","filename":"file2"},{"photo_id":"1396867579","filename":"file4"},{"photo_id":"1396867576","filename":"file1"},{"photo_id":"1396867574","filename":"file0"},{"photo_id":"1396867578","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396867578":["hashtag1","hashtag2"]},{"1396867581":["hashtag1","hashtag2"]},{"1396867577":["hashtag1","hashtag2"]},{"1396867574":["hashtag1","hashtag2"]},{"1396867576":["hashtag1","hashtag2"]},{"1396867579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396867578, 1396867581, 1396867577, 1396867574, 1396867576, 1396867579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96787738800049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:04:22.458797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/02/image_29112025_11_02_34_10526.jpg', '/home/pi/Desktop/images/29112025/11/02/image_29112025_11_03_04_10645.jpg', '/home/pi/Desktop/images/29112025/11/03/image_29112025_11_03_14_9726.jpg', '/home/pi/Desktop/images/29112025/11/03/image_29112025_11_03_24_9619.jpg', '/home/pi/Desktop/images/29112025/11/03/image_29112025_11_03_34_10649.jpg', '/home/pi/Desktop/images/29112025/11/03/image_29112025_11_03_44_10088.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/02/image_29112025_11_02_34_10526.jpg
/home/pi/Desktop/images/29112025/11/02/image_29112025_11_03_04_10645.jpg
/home/pi/Desktop/images/29112025/11/03/image_29112025_11_03_14_9726.jpg
/home/pi/Desktop/images/29112025/11/03/image_29112025_11_03_24_9619.jpg
/home/pi/Desktop/images/29112025/11/03/image_29112025_11_03_34_10649.jpg
/home/pi/Desktop/images/29112025/11/03/image_29112025_11_03_44_10088.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396867590","1396867584","1396867593","1396867595","1396867598","1396867586"],"photo_ids_order":["1396867584","1396867586","1396867590","1396867593","1396867595","1396867598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5063d8c0db24ef7ab1aa6e2417aa4084.jpg","text":"TemporaryFile(/tmp/multipartBody8839048475070561785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410723192,"filename":"image_29112025_11_03_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/11/29/cd856c74f5bc9718e8dafc5902e5ab21.jpg","text":"TemporaryFile(/tmp/multipartBody4327102276775838076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410723192,"filename":"image_29112025_11_02_34_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67ec357fc87955128d89b2d18e9ea090.jpg","text":"TemporaryFile(/tmp/multipartBody136041417350427643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410723192,"filename":"image_29112025_11_03_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/11/29/5e142ab6dbb4a43a1631ea3c6ea61837.jpg","text":"TemporaryFile(/tmp/multipartBody873996154816608617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410723192,"filename":"image_29112025_11_03_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c48c5549e95eddcd5488ac970e09e7c1.jpg","text":"TemporaryFile(/tmp/multipartBody5717958244013238269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410723192,"filename":"image_29112025_11_03_44_10088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6d8a9275e86f6df0daa85034cc00e80.jpg","text":"TemporaryFile(/tmp/multipartBody3793035229738703341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410723192,"filename":"image_29112025_11_03_04_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867590","file1":"1396867586","file0":"1396867584","file4":"1396867595","file5":"1396867598","file3":"1396867593"},"map_files_photo_id_array":[{"photo_id":"1396867598","filename":"file5"},{"photo_id":"1396867590","filename":"file2"},{"photo_id":"1396867595","filename":"file4"},{"photo_id":"1396867586","filename":"file1"},{"photo_id":"1396867584","filename":"file0"},{"photo_id":"1396867593","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396867590":["hashtag1","hashtag2"]},{"1396867584":["hashtag1","hashtag2"]},{"1396867593":["hashtag1","hashtag2"]},{"1396867595":["hashtag1","hashtag2"]},{"1396867598":["hashtag1","hashtag2"]},{"1396867586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396867590, 1396867584, 1396867593, 1396867595, 1396867598, 1396867586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.043728828430176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:05:02.983110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/03/image_29112025_11_03_54_9772.jpg', '/home/pi/Desktop/images/29112025/11/03/image_29112025_11_04_04_9709.jpg', '/home/pi/Desktop/images/29112025/11/04/image_29112025_11_04_24_10731.jpg', '/home/pi/Desktop/images/29112025/11/04/image_29112025_11_04_34_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/03/image_29112025_11_03_54_9772.jpg
/home/pi/Desktop/images/29112025/11/03/image_29112025_11_04_04_9709.jpg
/home/pi/Desktop/images/29112025/11/04/image_29112025_11_04_24_10731.jpg
/home/pi/Desktop/images/29112025/11/04/image_29112025_11_04_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":["1396867621","1396867620","1396867619","1396867633"],"photo_ids_order":["1396867619","1396867620","1396867621","1396867633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a53ce1140c76beec5535aeb6c0f2b165.jpg","text":"TemporaryFile(/tmp/multipartBody8981876938418321305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410763813,"filename":"image_29112025_11_04_24_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/749103949aa941253f4c65e532851d74.jpg","text":"TemporaryFile(/tmp/multipartBody9002202297779714355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410763813,"filename":"image_29112025_11_04_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/11/29/8cbaa966ba3d2a10f5d55d76137f9e33.jpg","text":"TemporaryFile(/tmp/multipartBody738885003364089105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410763813,"filename":"image_29112025_11_03_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecb57d89c4cb5bd750de0eea9674dd59.jpg","text":"TemporaryFile(/tmp/multipartBody5664395991744988523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410763813,"filename":"image_29112025_11_04_34_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867621","file1":"1396867620","file0":"1396867619","file3":"1396867633"},"map_files_photo_id_array":[{"photo_id":"1396867621","filename":"file2"},{"photo_id":"1396867620","filename":"file1"},{"photo_id":"1396867619","filename":"file0"},{"photo_id":"1396867633","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396867621":["hashtag1","hashtag2"]},{"1396867620":["hashtag1","hashtag2"]},{"1396867619":["hashtag1","hashtag2"]},{"1396867633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396867621, 1396867620, 1396867619, 1396867633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.27193593978882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:05:32.527582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_22_3603.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_24_2643.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_27_2637.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_30_3476.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_33_2610.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_37_4288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_22_3603.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_24_2643.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_27_2637.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_30_3476.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_33_2610.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_37_4288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396867677","1396867676","1396867670","1396867667","1396867675","1396867663"],"photo_ids_order":["1396867663","1396867667","1396867670","1396867675","1396867676","1396867677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/976103b9cca47ad330ee06f746f07cf6.jpg","text":"TemporaryFile(/tmp/multipartBody7665342270350970466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410794755,"filename":"image_25112025_18_17_37_4288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/634ad16a08919d6eda9b2296d5db30b1.jpg","text":"TemporaryFile(/tmp/multipartBody8073956734602051997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410794755,"filename":"image_25112025_18_17_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/11/29/c149928eaad436761013c154ba2eefe8.jpg","text":"TemporaryFile(/tmp/multipartBody4429290955965095142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410794755,"filename":"image_25112025_18_17_27_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/576fde54217e2892259a54707170dbe6.jpg","text":"TemporaryFile(/tmp/multipartBody3998271542815005367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410794755,"filename":"image_25112025_18_17_24_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc856915d89ace48b5d0c1e1285adba3.jpg","text":"TemporaryFile(/tmp/multipartBody4699019494293202167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410794755,"filename":"image_25112025_18_17_30_3476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94aca18ebd797bad4e75ab6d18f1c3b0.jpg","text":"TemporaryFile(/tmp/multipartBody7137122653567049829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410794755,"filename":"image_25112025_18_17_22_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867670","file1":"1396867667","file0":"1396867663","file4":"1396867676","file5":"1396867677","file3":"1396867675"},"map_files_photo_id_array":[{"photo_id":"1396867677","filename":"file5"},{"photo_id":"1396867670","filename":"file2"},{"photo_id":"1396867676","filename":"file4"},{"photo_id":"1396867667","filename":"file1"},{"photo_id":"1396867663","filename":"file0"},{"photo_id":"1396867675","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396867677":["hashtag1","hashtag2"]},{"1396867676":["hashtag1","hashtag2"]},{"1396867670":["hashtag1","hashtag2"]},{"1396867667":["hashtag1","hashtag2"]},{"1396867675":["hashtag1","hashtag2"]},{"1396867663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396867677, 1396867676, 1396867670, 1396867667, 1396867675, 1396867663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6513557434082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:06:12.782065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_39_1692.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_43_3680.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_45_2591.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_48_2592.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_51_3610.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_54_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_39_1692.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_43_3680.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_45_2591.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_48_2592.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_51_3610.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_54_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: 2.0062785148620605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:06:22.802260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/04/image_29112025_11_04_44_9688.jpg', '/home/pi/Desktop/images/29112025/11/05/image_29112025_11_05_14_10053.jpg', '/home/pi/Desktop/images/29112025/11/05/image_29112025_11_05_25_10619.jpg', '/home/pi/Desktop/images/29112025/11/05/image_29112025_11_05_34_9946.jpg', '/home/pi/Desktop/images/29112025/11/05/image_29112025_11_05_44_9558.jpg', '/home/pi/Desktop/images/29112025/11/05/image_29112025_11_05_54_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/04/image_29112025_11_04_44_9688.jpg
/home/pi/Desktop/images/29112025/11/05/image_29112025_11_05_14_10053.jpg
/home/pi/Desktop/images/29112025/11/05/image_29112025_11_05_25_10619.jpg
/home/pi/Desktop/images/29112025/11/05/image_29112025_11_05_34_9946.jpg
/home/pi/Desktop/images/29112025/11/05/image_29112025_11_05_44_9558.jpg
/home/pi/Desktop/images/29112025/11/05/image_29112025_11_05_54_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396867683","1396867692","1396867686","1396867689","1396867694","1396867696"],"photo_ids_order":["1396867683","1396867686","1396867689","1396867692","1396867694","1396867696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21dceabcefc8e018f7e962cdddf7f28f.jpg","text":"TemporaryFile(/tmp/multipartBody1957303036794950980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410843539,"filename":"image_29112025_11_04_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/11/29/7b74de11e89241507ed3f4371485c987.jpg","text":"TemporaryFile(/tmp/multipartBody5364515612596602236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410843539,"filename":"image_29112025_11_05_34_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca7af14d4a0efa255fa1c899bb87bcef.jpg","text":"TemporaryFile(/tmp/multipartBody8971966328203768129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410843539,"filename":"image_29112025_11_05_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/11/29/3e9153fb845739ad88e82f67c1e81bc4.jpg","text":"TemporaryFile(/tmp/multipartBody3256979315711770677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410843539,"filename":"image_29112025_11_05_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc60015f97e5b6b10e2b4e920877db4c.jpg","text":"TemporaryFile(/tmp/multipartBody3647833078665511538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410843539,"filename":"image_29112025_11_05_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/11/29/ba936f45f8dbd6177709d233993960f0.jpg","text":"TemporaryFile(/tmp/multipartBody4844757727198486371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410843539,"filename":"image_29112025_11_05_54_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867689","file1":"1396867686","file0":"1396867683","file4":"1396867694","file5":"1396867696","file3":"1396867692"},"map_files_photo_id_array":[{"photo_id":"1396867696","filename":"file5"},{"photo_id":"1396867689","filename":"file2"},{"photo_id":"1396867694","filename":"file4"},{"photo_id":"1396867686","filename":"file1"},{"photo_id":"1396867683","filename":"file0"},{"photo_id":"1396867692","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396867683":["hashtag1","hashtag2"]},{"1396867692":["hashtag1","hashtag2"]},{"1396867686":["hashtag1","hashtag2"]},{"1396867689":["hashtag1","hashtag2"]},{"1396867694":["hashtag1","hashtag2"]},{"1396867696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396867683, 1396867692, 1396867686, 1396867689, 1396867694, 1396867696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28481650352478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:07:02.626260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/05/image_29112025_11_06_04_10544.jpg', '/home/pi/Desktop/images/29112025/11/06/image_29112025_11_06_25_10659.jpg', '/home/pi/Desktop/images/29112025/11/06/image_29112025_11_06_34_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/05/image_29112025_11_06_04_10544.jpg
/home/pi/Desktop/images/29112025/11/06/image_29112025_11_06_25_10659.jpg
/home/pi/Desktop/images/29112025/11/06/image_29112025_11_06_34_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396867698","1396867700","1396867699"],"photo_ids_order":["1396867698","1396867699","1396867700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2037bbf174ecd4d441815443338b9b8b.jpg","text":"TemporaryFile(/tmp/multipartBody3838190702835967333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410883274,"filename":"image_29112025_11_06_04_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eadff9d2ba43d096ac5aefe2d198fb02.jpg","text":"TemporaryFile(/tmp/multipartBody3586189986134367698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410883274,"filename":"image_29112025_11_06_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/11/29/cc9bf14aece668f314d6fbeeb97c6c7f.jpg","text":"TemporaryFile(/tmp/multipartBody6079623090174348644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410883274,"filename":"image_29112025_11_06_25_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867700","file1":"1396867699","file0":"1396867698"},"map_files_photo_id_array":[{"photo_id":"1396867700","filename":"file2"},{"photo_id":"1396867699","filename":"file1"},{"photo_id":"1396867698","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396867698":["hashtag1","hashtag2"]},{"1396867700":["hashtag1","hashtag2"]},{"1396867699":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396867698, 1396867700, 1396867699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.101356029510498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:07:31.911385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_39_1692.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_43_3680.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_45_2591.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_48_2592.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_51_3610.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_54_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_39_1692.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_43_3680.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_45_2591.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_48_2592.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_51_3610.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_54_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":["1396867737","1396867722","1396867716","1396867739","1396867718","1396867735"],"photo_ids_order":["1396867716","1396867718","1396867722","1396867735","1396867737","1396867739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99f639677cf8c31ed42140fa711d7de4.jpg","text":"TemporaryFile(/tmp/multipartBody7736939358998002625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410914022,"filename":"image_25112025_18_17_51_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64c91d911d6c6f7a08bc293e4a67a8f5.jpg","text":"TemporaryFile(/tmp/multipartBody3556571975610307904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410914022,"filename":"image_25112025_18_17_45_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3deea5af8ed5325aacab980008e8e39.jpg","text":"TemporaryFile(/tmp/multipartBody6414202752964957873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410914022,"filename":"image_25112025_18_17_39_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/299eac76908a509377ae22e4d3ac5ca6.jpg","text":"TemporaryFile(/tmp/multipartBody8530547430998428416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410914022,"filename":"image_25112025_18_17_54_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f339330a424d4ac0fedcbbf7e7f76cd2.jpg","text":"TemporaryFile(/tmp/multipartBody5219353840101179803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410914022,"filename":"image_25112025_18_17_43_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20e122f0e5bdf1dc42ae28a7b3d2ca1b.jpg","text":"TemporaryFile(/tmp/multipartBody5136298355181526486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410914022,"filename":"image_25112025_18_17_48_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867722","file1":"1396867718","file0":"1396867716","file4":"1396867737","file5":"1396867739","file3":"1396867735"},"map_files_photo_id_array":[{"photo_id":"1396867739","filename":"file5"},{"photo_id":"1396867722","filename":"file2"},{"photo_id":"1396867737","filename":"file4"},{"photo_id":"1396867718","filename":"file1"},{"photo_id":"1396867716","filename":"file0"},{"photo_id":"1396867735","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396867737":["hashtag1","hashtag2"]},{"1396867722":["hashtag1","hashtag2"]},{"1396867716":["hashtag1","hashtag2"]},{"1396867739":["hashtag1","hashtag2"]},{"1396867718":["hashtag1","hashtag2"]},{"1396867735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396867737, 1396867722, 1396867716, 1396867739, 1396867718, 1396867735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14148569107056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:08:12.070381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_57_2645.jpg', '/home/pi/Desktop/images/25112025/18/17/image_25112025_18_18_00_3629.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_03_2594.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_06_2662.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_10_3881.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_12_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_17_57_2645.jpg
/home/pi/Desktop/images/25112025/18/17/image_25112025_18_18_00_3629.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_03_2594.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_06_2662.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_10_3881.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_12_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396867764","1396867766","1396867754","1396867762","1396867756","1396867759"],"photo_ids_order":["1396867754","1396867756","1396867759","1396867762","1396867764","1396867766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a91f9378c6e0287aabb09f8efbafa54.jpg","text":"TemporaryFile(/tmp/multipartBody3502950508703587104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410954185,"filename":"image_25112025_18_18_10_3881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/352fab57e8793d7a5caa33680360aca7.jpg","text":"TemporaryFile(/tmp/multipartBody8469693786494417810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410954185,"filename":"image_25112025_18_18_12_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18fd53f5016a456073e7a5b1e7f6c260.jpg","text":"TemporaryFile(/tmp/multipartBody8576376612787760385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410954185,"filename":"image_25112025_18_17_57_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27504330da3a8e558b61977f6afdae01.jpg","text":"TemporaryFile(/tmp/multipartBody7316532981428640570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410954185,"filename":"image_25112025_18_18_06_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f85b017545b9cf81a055f73482e3adb0.jpg","text":"TemporaryFile(/tmp/multipartBody1337437037324569410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410954185,"filename":"image_25112025_18_18_00_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f9a904780938a3bae00fc00e3bda89e.jpg","text":"TemporaryFile(/tmp/multipartBody2372953611204580150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764410954185,"filename":"image_25112025_18_18_03_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867759","file1":"1396867756","file0":"1396867754","file4":"1396867764","file5":"1396867766","file3":"1396867762"},"map_files_photo_id_array":[{"photo_id":"1396867766","filename":"file5"},{"photo_id":"1396867759","filename":"file2"},{"photo_id":"1396867764","filename":"file4"},{"photo_id":"1396867756","filename":"file1"},{"photo_id":"1396867754","filename":"file0"},{"photo_id":"1396867762","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396867764":["hashtag1","hashtag2"]},{"1396867766":["hashtag1","hashtag2"]},{"1396867754":["hashtag1","hashtag2"]},{"1396867762":["hashtag1","hashtag2"]},{"1396867756":["hashtag1","hashtag2"]},{"1396867759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396867764, 1396867766, 1396867754, 1396867762, 1396867756, 1396867759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.432953119277954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:09:03.345131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/06/image_29112025_11_06_55_10718.jpg', '/home/pi/Desktop/images/29112025/11/06/image_29112025_11_07_04_9768.jpg', '/home/pi/Desktop/images/29112025/11/07/image_29112025_11_07_25_10559.jpg', '/home/pi/Desktop/images/29112025/11/07/image_29112025_11_07_44_9671.jpg', '/home/pi/Desktop/images/29112025/11/07/image_29112025_11_07_54_9865.jpg', '/home/pi/Desktop/images/29112025/11/08/image_29112025_11_08_14_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/06/image_29112025_11_06_55_10718.jpg
/home/pi/Desktop/images/29112025/11/06/image_29112025_11_07_04_9768.jpg
/home/pi/Desktop/images/29112025/11/07/image_29112025_11_07_25_10559.jpg
/home/pi/Desktop/images/29112025/11/07/image_29112025_11_07_44_9671.jpg
/home/pi/Desktop/images/29112025/11/07/image_29112025_11_07_54_9865.jpg
/home/pi/Desktop/images/29112025/11/08/image_29112025_11_08_14_9620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396867776","1396867809","1396867778","1396867780","1396867774","1396867777"],"photo_ids_order":["1396867774","1396867776","1396867777","1396867778","1396867780","1396867809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bc700d84d534438aab392ff051dcdf9.jpg","text":"TemporaryFile(/tmp/multipartBody804204876874501367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411004178,"filename":"image_29112025_11_07_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6883f7c9470730097139c9bbc442c30.jpg","text":"TemporaryFile(/tmp/multipartBody494844411420849837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411004178,"filename":"image_29112025_11_08_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec04a8d0c1fdd6134514e7f25c770c66.jpg","text":"TemporaryFile(/tmp/multipartBody5880398892562262238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411004178,"filename":"image_29112025_11_07_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/11/29/df6ffadaf3c19d81defd984fe5a92562.jpg","text":"TemporaryFile(/tmp/multipartBody4696399825103475147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411004178,"filename":"image_29112025_11_07_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/11/29/3636642e2faba9ccf8c17cf7c70e347f.jpg","text":"TemporaryFile(/tmp/multipartBody1145354312052811825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411004178,"filename":"image_29112025_11_06_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b527154da8c94c7ee32b0f4bd29009d.jpg","text":"TemporaryFile(/tmp/multipartBody8746598557238991131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411004178,"filename":"image_29112025_11_07_25_10559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867777","file1":"1396867776","file0":"1396867774","file4":"1396867780","file5":"1396867809","file3":"1396867778"},"map_files_photo_id_array":[{"photo_id":"1396867809","filename":"file5"},{"photo_id":"1396867777","filename":"file2"},{"photo_id":"1396867780","filename":"file4"},{"photo_id":"1396867776","filename":"file1"},{"photo_id":"1396867774","filename":"file0"},{"photo_id":"1396867778","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396867776":["hashtag1","hashtag2"]},{"1396867809":["hashtag1","hashtag2"]},{"1396867778":["hashtag1","hashtag2"]},{"1396867780":["hashtag1","hashtag2"]},{"1396867774":["hashtag1","hashtag2"]},{"1396867777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396867776, 1396867809, 1396867778, 1396867780, 1396867774, 1396867777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14124655723572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:09:42.309556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_15_2722.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_18_3633.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_21_2661.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_24_2781.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_26_2749.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_30_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/09/24/image_31102025_09_24_15_2722.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_18_3633.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_21_2661.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_24_2781.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_26_2749.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_30_3723.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3074734210968018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:10:02.941963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/08/image_29112025_11_08_24_9814.jpg', '/home/pi/Desktop/images/29112025/11/08/image_29112025_11_08_35_10626.jpg', '/home/pi/Desktop/images/29112025/11/08/image_29112025_11_08_44_9693.jpg', '/home/pi/Desktop/images/29112025/11/08/image_29112025_11_08_54_9804.jpg', '/home/pi/Desktop/images/29112025/11/08/image_29112025_11_09_04_9739.jpg', '/home/pi/Desktop/images/29112025/11/09/image_29112025_11_09_15_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/08/image_29112025_11_08_24_9814.jpg
/home/pi/Desktop/images/29112025/11/08/image_29112025_11_08_35_10626.jpg
/home/pi/Desktop/images/29112025/11/08/image_29112025_11_08_44_9693.jpg
/home/pi/Desktop/images/29112025/11/08/image_29112025_11_08_54_9804.jpg
/home/pi/Desktop/images/29112025/11/08/image_29112025_11_09_04_9739.jpg
/home/pi/Desktop/images/29112025/11/09/image_29112025_11_09_15_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":["1396867956","1396867959","1396867961","1396867964","1396867958","1396867957"],"photo_ids_order":["1396867956","1396867957","1396867958","1396867959","1396867961","1396867964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0490cae2f6d855d1423815d741de62df.jpg","text":"TemporaryFile(/tmp/multipartBody3665279603111254907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411063665,"filename":"image_29112025_11_08_24_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/872d7bd42789acc6c77c5fb92865dcb1.jpg","text":"TemporaryFile(/tmp/multipartBody5896544531641600565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411063665,"filename":"image_29112025_11_08_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/11/29/9511ce8900146b83ed6edce8a4a02b9b.jpg","text":"TemporaryFile(/tmp/multipartBody1331077616205251131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411063665,"filename":"image_29112025_11_09_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/11/29/fcfa4ce2579b1df0d66f36d2ad9c4057.jpg","text":"TemporaryFile(/tmp/multipartBody8236114723475166860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411063665,"filename":"image_29112025_11_09_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6609e5eaf2f54d9433d3006805ccbd8.jpg","text":"TemporaryFile(/tmp/multipartBody5065932221205377219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411063665,"filename":"image_29112025_11_08_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/11/29/a2e8bb886593e176691209f7d823121e.jpg","text":"TemporaryFile(/tmp/multipartBody7609321526156209512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411063665,"filename":"image_29112025_11_08_35_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867958","file1":"1396867957","file0":"1396867956","file4":"1396867961","file5":"1396867964","file3":"1396867959"},"map_files_photo_id_array":[{"photo_id":"1396867964","filename":"file5"},{"photo_id":"1396867958","filename":"file2"},{"photo_id":"1396867961","filename":"file4"},{"photo_id":"1396867957","filename":"file1"},{"photo_id":"1396867956","filename":"file0"},{"photo_id":"1396867959","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396867956":["hashtag1","hashtag2"]},{"1396867959":["hashtag1","hashtag2"]},{"1396867961":["hashtag1","hashtag2"]},{"1396867964":["hashtag1","hashtag2"]},{"1396867958":["hashtag1","hashtag2"]},{"1396867957":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396867956, 1396867959, 1396867961, 1396867964, 1396867958, 1396867957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.814040184020996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:10:42.458828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_15_2722.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_18_3633.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_21_2661.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_24_2781.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_26_2749.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_30_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/09/24/image_31102025_09_24_15_2722.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_18_3633.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_21_2661.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_24_2781.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_26_2749.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_30_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":["1396867977","1396867979","1396867973","1396867976","1396867978","1396867975"],"photo_ids_order":["1396867973","1396867975","1396867976","1396867977","1396867978","1396867979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/397df80f8dc50bcd7e8ba6320aa244fb.jpg","text":"TemporaryFile(/tmp/multipartBody834940848581250247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411103464,"filename":"image_31102025_09_24_24_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f84ef02396962739d03f505eee67ae91.jpg","text":"TemporaryFile(/tmp/multipartBody8663952552897735293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411103464,"filename":"image_31102025_09_24_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/11/29/8d9031e6cda911176fde9d42959910cb.jpg","text":"TemporaryFile(/tmp/multipartBody6171214152520287538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411103464,"filename":"image_31102025_09_24_15_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/901f3d29f8a71c80d0d26b58ce4746b8.jpg","text":"TemporaryFile(/tmp/multipartBody1278907505476883266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411103464,"filename":"image_31102025_09_24_21_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49d82f1be9c955c25e84c3dd0057f952.jpg","text":"TemporaryFile(/tmp/multipartBody1252614305009866833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411103464,"filename":"image_31102025_09_24_26_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81b8a845cfd7c43c8e9015072c3066b7.jpg","text":"TemporaryFile(/tmp/multipartBody3366516673994346008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411103464,"filename":"image_31102025_09_24_18_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867976","file1":"1396867975","file0":"1396867973","file4":"1396867978","file5":"1396867979","file3":"1396867977"},"map_files_photo_id_array":[{"photo_id":"1396867979","filename":"file5"},{"photo_id":"1396867976","filename":"file2"},{"photo_id":"1396867978","filename":"file4"},{"photo_id":"1396867975","filename":"file1"},{"photo_id":"1396867973","filename":"file0"},{"photo_id":"1396867977","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396867977":["hashtag1","hashtag2"]},{"1396867979":["hashtag1","hashtag2"]},{"1396867973":["hashtag1","hashtag2"]},{"1396867976":["hashtag1","hashtag2"]},{"1396867978":["hashtag1","hashtag2"]},{"1396867975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396867977, 1396867979, 1396867973, 1396867976, 1396867978, 1396867975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.046223163604736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:11:22.603282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/09/image_29112025_11_09_24_9663.jpg', '/home/pi/Desktop/images/29112025/11/09/image_29112025_11_09_34_9691.jpg', '/home/pi/Desktop/images/29112025/11/09/image_29112025_11_09_45_10872.jpg', '/home/pi/Desktop/images/29112025/11/09/image_29112025_11_09_54_9670.jpg', '/home/pi/Desktop/images/29112025/11/10/image_29112025_11_10_14_10057.jpg', '/home/pi/Desktop/images/29112025/11/10/image_29112025_11_10_25_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/09/image_29112025_11_09_24_9663.jpg
/home/pi/Desktop/images/29112025/11/09/image_29112025_11_09_34_9691.jpg
/home/pi/Desktop/images/29112025/11/09/image_29112025_11_09_45_10872.jpg
/home/pi/Desktop/images/29112025/11/09/image_29112025_11_09_54_9670.jpg
/home/pi/Desktop/images/29112025/11/10/image_29112025_11_10_14_10057.jpg
/home/pi/Desktop/images/29112025/11/10/image_29112025_11_10_25_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":["1396867997","1396867991","1396867988","1396868000","1396867993","1396868002"],"photo_ids_order":["1396867988","1396867991","1396867993","1396867997","1396868000","1396868002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c16a6acef0c39f9bd5a135fea86a454b.jpg","text":"TemporaryFile(/tmp/multipartBody1025685212698612113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411143306,"filename":"image_29112025_11_09_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/11/29/bb5c2446e8bab2ee2f480d849faed6da.jpg","text":"TemporaryFile(/tmp/multipartBody4512607973844931496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411143306,"filename":"image_29112025_11_09_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/11/29/5cec10912f6be0963eab8d3b7c59677b.jpg","text":"TemporaryFile(/tmp/multipartBody7399849053995789657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411143306,"filename":"image_29112025_11_09_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04ab95e6a60a302cccad58dde8997f5a.jpg","text":"TemporaryFile(/tmp/multipartBody8456293602126806175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411143306,"filename":"image_29112025_11_10_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40999c112c399ea7cbf030b8600e4b24.jpg","text":"TemporaryFile(/tmp/multipartBody5452003037953161576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411143306,"filename":"image_29112025_11_09_45_10872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f441ccd2c1854b63e4f9b144e6bcf104.jpg","text":"TemporaryFile(/tmp/multipartBody91040533278717152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411143306,"filename":"image_29112025_11_10_25_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396867993","file1":"1396867991","file0":"1396867988","file4":"1396868000","file5":"1396868002","file3":"1396867997"},"map_files_photo_id_array":[{"photo_id":"1396868002","filename":"file5"},{"photo_id":"1396867993","filename":"file2"},{"photo_id":"1396868000","filename":"file4"},{"photo_id":"1396867991","filename":"file1"},{"photo_id":"1396867988","filename":"file0"},{"photo_id":"1396867997","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396867997":["hashtag1","hashtag2"]},{"1396867991":["hashtag1","hashtag2"]},{"1396867988":["hashtag1","hashtag2"]},{"1396868000":["hashtag1","hashtag2"]},{"1396867993":["hashtag1","hashtag2"]},{"1396868002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396867997, 1396867991, 1396867988, 1396868000, 1396867993, 1396868002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99166703224182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:12:03.223945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/10/image_29112025_11_10_35_9713.jpg', '/home/pi/Desktop/images/29112025/11/10/image_29112025_11_10_44_9555.jpg', '/home/pi/Desktop/images/29112025/11/10/image_29112025_11_11_05_9517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/10/image_29112025_11_10_35_9713.jpg
/home/pi/Desktop/images/29112025/11/10/image_29112025_11_10_44_9555.jpg
/home/pi/Desktop/images/29112025/11/10/image_29112025_11_11_05_9517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396868007","1396868006","1396868005"],"photo_ids_order":["1396868005","1396868006","1396868007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f64be8942e8c7876a5afbd4527e8deff.jpg","text":"TemporaryFile(/tmp/multipartBody447167609107360343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411183831,"filename":"image_29112025_11_11_05_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5e560bca767198d11eba8cba1d63088.jpg","text":"TemporaryFile(/tmp/multipartBody891983313823006469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411183831,"filename":"image_29112025_11_10_44_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81fd643fc461653db687303b728be167.jpg","text":"TemporaryFile(/tmp/multipartBody1836248700098478456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411183831,"filename":"image_29112025_11_10_35_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868007","file1":"1396868006","file0":"1396868005"},"map_files_photo_id_array":[{"photo_id":"1396868007","filename":"file2"},{"photo_id":"1396868006","filename":"file1"},{"photo_id":"1396868005","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396868007":["hashtag1","hashtag2"]},{"1396868006":["hashtag1","hashtag2"]},{"1396868005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396868007, 1396868006, 1396868005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.31868624687195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:12:32.744947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_15_2665.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_19_3648.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_21_2834.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_24_2701.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_28_3537.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_30_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_15_2665.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_19_3648.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_21_2834.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_24_2701.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_28_3537.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_30_2808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396868025","1396868019","1396868022","1396868016","1396868024","1396868026"],"photo_ids_order":["1396868016","1396868019","1396868022","1396868024","1396868025","1396868026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94755756dd0efcc6bb63a2ea72b22e31.jpg","text":"TemporaryFile(/tmp/multipartBody4759232238935968068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411215015,"filename":"image_25112025_18_18_28_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1e7ee3e5422de60f7d46b353787d14a.jpg","text":"TemporaryFile(/tmp/multipartBody7133178013640070817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411215015,"filename":"image_25112025_18_18_19_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/711363c34bf0d1fc26b01fd23a31c7d9.jpg","text":"TemporaryFile(/tmp/multipartBody3128915854360779113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411215015,"filename":"image_25112025_18_18_21_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0d2c633a394c2a4ad750e5223e02eb3.jpg","text":"TemporaryFile(/tmp/multipartBody7411940315459880321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411215015,"filename":"image_25112025_18_18_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/11/29/9dbf5e847e538ab45298daeb227fbbcf.jpg","text":"TemporaryFile(/tmp/multipartBody6781600737106666892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411215015,"filename":"image_25112025_18_18_24_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae43203496e1fb44aecd790332984cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6482184532935677990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411215015,"filename":"image_25112025_18_18_30_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868022","file1":"1396868019","file0":"1396868016","file4":"1396868025","file5":"1396868026","file3":"1396868024"},"map_files_photo_id_array":[{"photo_id":"1396868026","filename":"file5"},{"photo_id":"1396868022","filename":"file2"},{"photo_id":"1396868025","filename":"file4"},{"photo_id":"1396868019","filename":"file1"},{"photo_id":"1396868016","filename":"file0"},{"photo_id":"1396868024","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396868025":["hashtag1","hashtag2"]},{"1396868019":["hashtag1","hashtag2"]},{"1396868022":["hashtag1","hashtag2"]},{"1396868016":["hashtag1","hashtag2"]},{"1396868024":["hashtag1","hashtag2"]},{"1396868026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396868025, 1396868019, 1396868022, 1396868016, 1396868024, 1396868026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.032193183898926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:13:11.937049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_33_2559.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_37_3572.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_39_2574.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_42_2718.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_45_2817.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_48_3534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_33_2559.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_37_3572.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_39_2574.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_42_2718.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_45_2817.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_48_3534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396868028","1396868051","1396868036","1396868027","1396868073","1396868055"],"photo_ids_order":["1396868027","1396868028","1396868036","1396868051","1396868055","1396868073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0aaa36cdcddafbfb9244464b57555551.jpg","text":"TemporaryFile(/tmp/multipartBody1128030632045391093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411254064,"filename":"image_25112025_18_18_37_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4525467208929b1da3eaa575ad197a01.jpg","text":"TemporaryFile(/tmp/multipartBody5912135866205680506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411254064,"filename":"image_25112025_18_18_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/11/29/bf9c8d036a8bcd05717cdb67f3663a12.jpg","text":"TemporaryFile(/tmp/multipartBody5389610736815769281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411254064,"filename":"image_25112025_18_18_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/11/29/6e95e4ef3eaa14520fe776f814c4d718.jpg","text":"TemporaryFile(/tmp/multipartBody6588585054334133987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411254064,"filename":"image_25112025_18_18_33_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b90dadb1f89727eb989600d69e8c3494.jpg","text":"TemporaryFile(/tmp/multipartBody1833719037856547281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411254064,"filename":"image_25112025_18_18_48_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f009457c69127b6d2b0abbf680dbca4.jpg","text":"TemporaryFile(/tmp/multipartBody5010464127643478974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411254064,"filename":"image_25112025_18_18_45_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868036","file1":"1396868028","file0":"1396868027","file4":"1396868055","file5":"1396868073","file3":"1396868051"},"map_files_photo_id_array":[{"photo_id":"1396868073","filename":"file5"},{"photo_id":"1396868036","filename":"file2"},{"photo_id":"1396868055","filename":"file4"},{"photo_id":"1396868028","filename":"file1"},{"photo_id":"1396868027","filename":"file0"},{"photo_id":"1396868051","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396868028":["hashtag1","hashtag2"]},{"1396868051":["hashtag1","hashtag2"]},{"1396868036":["hashtag1","hashtag2"]},{"1396868027":["hashtag1","hashtag2"]},{"1396868073":["hashtag1","hashtag2"]},{"1396868055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396868028, 1396868051, 1396868036, 1396868027, 1396868073, 1396868055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94627571105957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:14:02.895473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_51_2676.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_54_3580.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_57_2651.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_03_3609.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_06_2715.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_09_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_51_2676.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_54_3580.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_57_2651.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_03_3609.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_06_2715.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_09_2587.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5317697525024414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:14:12.119525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_51_2676.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_54_3580.jpg', '/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_57_2651.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_03_3609.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_06_2715.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_09_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_51_2676.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_54_3580.jpg
/home/pi/Desktop/images/25112025/18/18/image_25112025_18_18_57_2651.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_03_3609.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_06_2715.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_09_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396868084","1396868095","1396868089","1396868098","1396868092","1396868082"],"photo_ids_order":["1396868082","1396868084","1396868089","1396868092","1396868095","1396868098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e17b24ef6aa81ec9553c024f92fe07cf.jpg","text":"TemporaryFile(/tmp/multipartBody4584838144926219664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411314150,"filename":"image_25112025_18_18_54_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a5d140a8a439b31e3c1c2a4d417591b.jpg","text":"TemporaryFile(/tmp/multipartBody712919802941007557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411314150,"filename":"image_25112025_18_19_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/11/29/4b4dc4e3de229093c49e51a7d2f35a23.jpg","text":"TemporaryFile(/tmp/multipartBody1529802106066645220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411314150,"filename":"image_25112025_18_18_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/11/29/d01e397fce9ca3aa756db734e10a2577.jpg","text":"TemporaryFile(/tmp/multipartBody6066966518870554584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411314150,"filename":"image_25112025_18_19_09_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5858c10a2d4f39490cdf08bd63cf2b0.jpg","text":"TemporaryFile(/tmp/multipartBody6484670489224765303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411314150,"filename":"image_25112025_18_19_03_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6caba64639cc503a4ad7bb85c444f71.jpg","text":"TemporaryFile(/tmp/multipartBody2525732550123244219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411314150,"filename":"image_25112025_18_18_51_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868089","file1":"1396868084","file0":"1396868082","file4":"1396868095","file5":"1396868098","file3":"1396868092"},"map_files_photo_id_array":[{"photo_id":"1396868098","filename":"file5"},{"photo_id":"1396868089","filename":"file2"},{"photo_id":"1396868095","filename":"file4"},{"photo_id":"1396868084","filename":"file1"},{"photo_id":"1396868082","filename":"file0"},{"photo_id":"1396868092","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396868084":["hashtag1","hashtag2"]},{"1396868095":["hashtag1","hashtag2"]},{"1396868089":["hashtag1","hashtag2"]},{"1396868098":["hashtag1","hashtag2"]},{"1396868092":["hashtag1","hashtag2"]},{"1396868082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396868084, 1396868095, 1396868089, 1396868098, 1396868092, 1396868082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58496809005737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:15:03.011430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_12_3648.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_15_2786.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_21_3655.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_24_2676.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_27_3627.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_30_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_12_3648.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_15_2786.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_21_3655.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_24_2676.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_27_3627.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_30_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":["1396868112","1396868106","1396868109","1396868105","1396868107","1396868104"],"photo_ids_order":["1396868104","1396868105","1396868106","1396868107","1396868109","1396868112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43f2bc4127d73897459d71b1ffaeffb6.jpg","text":"TemporaryFile(/tmp/multipartBody8895607471637397045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411364719,"filename":"image_25112025_18_19_30_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61b7a5f81280defa8cbfaf16bc6b93c9.jpg","text":"TemporaryFile(/tmp/multipartBody6097760874173349095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411364719,"filename":"image_25112025_18_19_21_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7cb8f712372b6b0de529c7bbca17990.jpg","text":"TemporaryFile(/tmp/multipartBody5714520555832594593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411364719,"filename":"image_25112025_18_19_27_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60e2f8b0c7b27a2fb95c1d904bc119f5.jpg","text":"TemporaryFile(/tmp/multipartBody3314418216444535315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411364719,"filename":"image_25112025_18_19_15_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e468319420078d0824576d33cadbd83.jpg","text":"TemporaryFile(/tmp/multipartBody3808290719147471573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411364719,"filename":"image_25112025_18_19_24_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d6f6c87c9645332165ed4b70ed07da4a.jpg","text":"TemporaryFile(/tmp/multipartBody1141097580769651284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411364719,"filename":"image_25112025_18_19_12_3648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868106","file1":"1396868105","file0":"1396868104","file4":"1396868109","file5":"1396868112","file3":"1396868107"},"map_files_photo_id_array":[{"photo_id":"1396868112","filename":"file5"},{"photo_id":"1396868106","filename":"file2"},{"photo_id":"1396868109","filename":"file4"},{"photo_id":"1396868105","filename":"file1"},{"photo_id":"1396868104","filename":"file0"},{"photo_id":"1396868107","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396868112":["hashtag1","hashtag2"]},{"1396868106":["hashtag1","hashtag2"]},{"1396868109":["hashtag1","hashtag2"]},{"1396868105":["hashtag1","hashtag2"]},{"1396868107":["hashtag1","hashtag2"]},{"1396868104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396868112, 1396868106, 1396868109, 1396868105, 1396868107, 1396868104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19895648956299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:15:42.295481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_36_2875.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_39_3541.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_42_2596.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_44_2676.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_48_3624.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_51_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/09/24/image_31102025_09_24_36_2875.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_39_3541.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_42_2596.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_44_2676.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_48_3624.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_51_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":["1396868124","1396868127","1396868129","1396868126","1396868125","1396868122"],"photo_ids_order":["1396868122","1396868124","1396868125","1396868126","1396868127","1396868129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b11b179172d28fdaf8fdf49796192123.jpg","text":"TemporaryFile(/tmp/multipartBody5452422768905661090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411403416,"filename":"image_31102025_09_24_39_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f46ae46f4ad6bf5b1e1c8f7ea94da8c.jpg","text":"TemporaryFile(/tmp/multipartBody43722754203914613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411403416,"filename":"image_31102025_09_24_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/11/29/0ec6038ae70b879d39018179b8ba3f23.jpg","text":"TemporaryFile(/tmp/multipartBody6066604443878388155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411403416,"filename":"image_31102025_09_24_51_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a653deba2b55f8f212656bb52b84dc5b.jpg","text":"TemporaryFile(/tmp/multipartBody4660421866596783309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411403416,"filename":"image_31102025_09_24_44_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfe108428b9b3e6647f7e7a86a771c75.jpg","text":"TemporaryFile(/tmp/multipartBody4220770978216056087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411403416,"filename":"image_31102025_09_24_42_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd70e32c0a099d4f741a358d53e8888f.jpg","text":"TemporaryFile(/tmp/multipartBody2892389469059906727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411403416,"filename":"image_31102025_09_24_36_2875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868125","file1":"1396868124","file0":"1396868122","file4":"1396868127","file5":"1396868129","file3":"1396868126"},"map_files_photo_id_array":[{"photo_id":"1396868129","filename":"file5"},{"photo_id":"1396868125","filename":"file2"},{"photo_id":"1396868127","filename":"file4"},{"photo_id":"1396868124","filename":"file1"},{"photo_id":"1396868122","filename":"file0"},{"photo_id":"1396868126","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396868124":["hashtag1","hashtag2"]},{"1396868127":["hashtag1","hashtag2"]},{"1396868129":["hashtag1","hashtag2"]},{"1396868126":["hashtag1","hashtag2"]},{"1396868125":["hashtag1","hashtag2"]},{"1396868122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396868124, 1396868127, 1396868129, 1396868126, 1396868125, 1396868122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45999312400818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:16:22.574104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/11/image_29112025_11_11_55_9551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/11/image_29112025_11_11_55_9551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396868133"],"photo_id":"1396868133","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9bbaa631476060eb5f1e81e6cd76078.jpg","text":"TemporaryFile(/tmp/multipartBody5448825406388647363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411443094,"filename":"image_29112025_11_11_55_9551.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396868133"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396868133"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.32566499710083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:16:42.482710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_54_2637.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_57_3620.jpg', '/home/pi/Desktop/images/31102025/09/24/image_31102025_09_25_00_2587.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_02_2694.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_05_2882.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_09_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_54_2637.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_24_57_3620.jpg
/home/pi/Desktop/images/31102025/09/24/image_31102025_09_25_00_2587.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_02_2694.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_05_2882.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_09_3669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396868142","1396868145","1396868147","1396868144","1396868146","1396868148"],"photo_ids_order":["1396868142","1396868144","1396868145","1396868146","1396868147","1396868148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9623b81c90ef53c7ea5a0f7fa97cb642.jpg","text":"TemporaryFile(/tmp/multipartBody1782666779411635818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411463590,"filename":"image_31102025_09_24_54_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b17a48c1d5152fccac3507dd64ae77d.jpg","text":"TemporaryFile(/tmp/multipartBody347385092998715081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411463590,"filename":"image_31102025_09_25_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/11/29/b2d4a046ebb0af28c965325dcae70b3f.jpg","text":"TemporaryFile(/tmp/multipartBody1638296669090379860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411463590,"filename":"image_31102025_09_25_05_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3358ad520b3371526bed99d1a8dade0.jpg","text":"TemporaryFile(/tmp/multipartBody8250166737529203008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411463590,"filename":"image_31102025_09_24_57_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a2bffda3d7253c963901f6d65aca02f.jpg","text":"TemporaryFile(/tmp/multipartBody3413512379218603813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411463590,"filename":"image_31102025_09_25_02_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5cbb3ae0bb7b603636f6555fbd153a3.jpg","text":"TemporaryFile(/tmp/multipartBody1666747827721088045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411463590,"filename":"image_31102025_09_25_09_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868145","file1":"1396868144","file0":"1396868142","file4":"1396868147","file5":"1396868148","file3":"1396868146"},"map_files_photo_id_array":[{"photo_id":"1396868148","filename":"file5"},{"photo_id":"1396868145","filename":"file2"},{"photo_id":"1396868147","filename":"file4"},{"photo_id":"1396868144","filename":"file1"},{"photo_id":"1396868142","filename":"file0"},{"photo_id":"1396868146","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396868142":["hashtag1","hashtag2"]},{"1396868145":["hashtag1","hashtag2"]},{"1396868147":["hashtag1","hashtag2"]},{"1396868144":["hashtag1","hashtag2"]},{"1396868146":["hashtag1","hashtag2"]},{"1396868148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396868142, 1396868145, 1396868147, 1396868144, 1396868146, 1396868148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.047959327697754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:17:22.746161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/16/image_29112025_11_16_55_9808.jpg', '/home/pi/Desktop/images/29112025/11/17/image_29112025_11_17_34_9614.jpg', '/home/pi/Desktop/images/29112025/11/17/image_29112025_11_17_44_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/16/image_29112025_11_16_55_9808.jpg
/home/pi/Desktop/images/29112025/11/17/image_29112025_11_17_34_9614.jpg
/home/pi/Desktop/images/29112025/11/17/image_29112025_11_17_44_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":["1396868158","1396868152","1396868155"],"photo_ids_order":["1396868152","1396868155","1396868158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c97c15bd799ad7739826401b9b312cc.jpg","text":"TemporaryFile(/tmp/multipartBody2768832518087339391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411503335,"filename":"image_29112025_11_17_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/11/29/4284549f73ed495b53956e78c2535bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4029541855032494070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411503335,"filename":"image_29112025_11_16_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/11/29/47dcdc21f774288a17131f1ada45af32.jpg","text":"TemporaryFile(/tmp/multipartBody2085679826834320003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411503335,"filename":"image_29112025_11_17_34_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868158","file1":"1396868155","file0":"1396868152"},"map_files_photo_id_array":[{"photo_id":"1396868158","filename":"file2"},{"photo_id":"1396868155","filename":"file1"},{"photo_id":"1396868152","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396868158":["hashtag1","hashtag2"]},{"1396868152":["hashtag1","hashtag2"]},{"1396868155":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396868158, 1396868152, 1396868155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.175310850143433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:18:02.373670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_33_2667.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_36_3640.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_39_2514.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_42_2798.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_48_2666.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_51_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_33_2667.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_36_3640.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_39_2514.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_42_2798.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_48_2666.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_51_2590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396868223","1396868217","1396868216","1396868219","1396868210","1396868199"],"photo_ids_order":["1396868199","1396868210","1396868216","1396868217","1396868219","1396868223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25654f9dcf350e4a3fd5c6ea6aa7285f.jpg","text":"TemporaryFile(/tmp/multipartBody6433407313275445430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411543977,"filename":"image_25112025_18_19_51_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe571b6d45d7af93d4535794b9f92225.jpg","text":"TemporaryFile(/tmp/multipartBody4585933675088025771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411543977,"filename":"image_25112025_18_19_42_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f03ca5ff5570630e7e63292619bcd4e.jpg","text":"TemporaryFile(/tmp/multipartBody136569704765307303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411543977,"filename":"image_25112025_18_19_39_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5413e8b27c6f35ae7b887c421441de1e.jpg","text":"TemporaryFile(/tmp/multipartBody911767973010196944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411543977,"filename":"image_25112025_18_19_48_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f37d832366caa3827ab12117091e77b.jpg","text":"TemporaryFile(/tmp/multipartBody8349483226222435471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411543977,"filename":"image_25112025_18_19_36_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5fb234a1166bf0ddda41e5ce61933283.jpg","text":"TemporaryFile(/tmp/multipartBody6972805030141094356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411543977,"filename":"image_25112025_18_19_33_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868216","file1":"1396868210","file0":"1396868199","file4":"1396868219","file5":"1396868223","file3":"1396868217"},"map_files_photo_id_array":[{"photo_id":"1396868223","filename":"file5"},{"photo_id":"1396868216","filename":"file2"},{"photo_id":"1396868219","filename":"file4"},{"photo_id":"1396868210","filename":"file1"},{"photo_id":"1396868199","filename":"file0"},{"photo_id":"1396868217","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396868223":["hashtag1","hashtag2"]},{"1396868217":["hashtag1","hashtag2"]},{"1396868216":["hashtag1","hashtag2"]},{"1396868219":["hashtag1","hashtag2"]},{"1396868210":["hashtag1","hashtag2"]},{"1396868199":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396868223, 1396868217, 1396868216, 1396868219, 1396868210, 1396868199)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.95547890663147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:19:04.663233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/17/image_29112025_11_17_55_10675.jpg', '/home/pi/Desktop/images/29112025/11/17/image_29112025_11_18_04_9631.jpg', '/home/pi/Desktop/images/29112025/11/18/image_29112025_11_18_14_9828.jpg', '/home/pi/Desktop/images/29112025/11/18/image_29112025_11_18_25_10637.jpg', '/home/pi/Desktop/images/29112025/11/18/image_29112025_11_18_34_9631.jpg', '/home/pi/Desktop/images/29112025/11/18/image_29112025_11_18_44_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/17/image_29112025_11_17_55_10675.jpg
/home/pi/Desktop/images/29112025/11/17/image_29112025_11_18_04_9631.jpg
/home/pi/Desktop/images/29112025/11/18/image_29112025_11_18_14_9828.jpg
/home/pi/Desktop/images/29112025/11/18/image_29112025_11_18_25_10637.jpg
/home/pi/Desktop/images/29112025/11/18/image_29112025_11_18_34_9631.jpg
/home/pi/Desktop/images/29112025/11/18/image_29112025_11_18_44_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396868235","1396868240","1396868234","1396868243","1396868237","1396868233"],"photo_ids_order":["1396868233","1396868234","1396868235","1396868237","1396868240","1396868243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9095607f309b64b33126625fc9806d1.jpg","text":"TemporaryFile(/tmp/multipartBody6390638777183487161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411605599,"filename":"image_29112025_11_18_14_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da9ec6bc68c042f80a333eca1ce428a2.jpg","text":"TemporaryFile(/tmp/multipartBody1844435934037016655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411605599,"filename":"image_29112025_11_18_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8875c5201dbf5083f83e03e3d1620440.jpg","text":"TemporaryFile(/tmp/multipartBody7111610958587555046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411605599,"filename":"image_29112025_11_18_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/11/29/6fcf80f4de36e6cdb068a5f0ff191ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7830408190817431821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411605599,"filename":"image_29112025_11_18_44_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/411ec3512a431a09091f594931284720.jpg","text":"TemporaryFile(/tmp/multipartBody6046842270194615079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411605599,"filename":"image_29112025_11_18_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/11/29/3ddc0f723352bb60c6f70f2ee9629109.jpg","text":"TemporaryFile(/tmp/multipartBody8914995349854476962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411605599,"filename":"image_29112025_11_17_55_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868235","file1":"1396868234","file0":"1396868233","file4":"1396868240","file5":"1396868243","file3":"1396868237"},"map_files_photo_id_array":[{"photo_id":"1396868243","filename":"file5"},{"photo_id":"1396868235","filename":"file2"},{"photo_id":"1396868240","filename":"file4"},{"photo_id":"1396868234","filename":"file1"},{"photo_id":"1396868233","filename":"file0"},{"photo_id":"1396868237","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396868235":["hashtag1","hashtag2"]},{"1396868240":["hashtag1","hashtag2"]},{"1396868234":["hashtag1","hashtag2"]},{"1396868243":["hashtag1","hashtag2"]},{"1396868237":["hashtag1","hashtag2"]},{"1396868233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396868235, 1396868240, 1396868234, 1396868243, 1396868237, 1396868233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.841956615448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:19:43.755740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_12_2715.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_14_2761.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_18_3680.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_21_2684.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_24_2748.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_27_2967.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_12_2715.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_14_2761.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_18_3680.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_21_2684.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_24_2748.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_27_2967.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396868256","1396868258","1396868255","1396868257","1396868251","1396868254"],"photo_ids_order":["1396868251","1396868254","1396868255","1396868256","1396868257","1396868258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1146e7ccbd62c8dc4a4bb215c184d164.jpg","text":"TemporaryFile(/tmp/multipartBody7308920722315698885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411644882,"filename":"image_31102025_09_25_21_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8fe661df3663b98490d76e3f8e060d29.jpg","text":"TemporaryFile(/tmp/multipartBody1962732382568410566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411644882,"filename":"image_31102025_09_25_27_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/506f3ff821c1836f3a2d696a326b9067.jpg","text":"TemporaryFile(/tmp/multipartBody5328117834301995832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411644882,"filename":"image_31102025_09_25_18_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7430f117f18f2f306ae8ce4325906e7.jpg","text":"TemporaryFile(/tmp/multipartBody4085488433329244579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411644882,"filename":"image_31102025_09_25_24_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96caaf27effd1a3378d59659c5cdc16b.jpg","text":"TemporaryFile(/tmp/multipartBody8651068086345302766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411644882,"filename":"image_31102025_09_25_12_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d1471b6626af1becc3b625b5a49aabc.jpg","text":"TemporaryFile(/tmp/multipartBody4655554216197741008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411644882,"filename":"image_31102025_09_25_14_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868255","file1":"1396868254","file0":"1396868251","file4":"1396868257","file5":"1396868258","file3":"1396868256"},"map_files_photo_id_array":[{"photo_id":"1396868258","filename":"file5"},{"photo_id":"1396868255","filename":"file2"},{"photo_id":"1396868257","filename":"file4"},{"photo_id":"1396868254","filename":"file1"},{"photo_id":"1396868251","filename":"file0"},{"photo_id":"1396868256","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396868256":["hashtag1","hashtag2"]},{"1396868258":["hashtag1","hashtag2"]},{"1396868255":["hashtag1","hashtag2"]},{"1396868257":["hashtag1","hashtag2"]},{"1396868251":["hashtag1","hashtag2"]},{"1396868254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396868256, 1396868258, 1396868255, 1396868257, 1396868251, 1396868254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5138201713562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:20:21.938866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/18/image_29112025_11_18_55_10577.jpg', '/home/pi/Desktop/images/29112025/11/18/image_29112025_11_19_04_9728.jpg', '/home/pi/Desktop/images/29112025/11/19/image_29112025_11_19_15_10631.jpg', '/home/pi/Desktop/images/29112025/11/19/image_29112025_11_19_24_9627.jpg', '/home/pi/Desktop/images/29112025/11/19/image_29112025_11_19_34_9759.jpg', '/home/pi/Desktop/images/29112025/11/19/image_29112025_11_19_45_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/18/image_29112025_11_18_55_10577.jpg
/home/pi/Desktop/images/29112025/11/18/image_29112025_11_19_04_9728.jpg
/home/pi/Desktop/images/29112025/11/19/image_29112025_11_19_15_10631.jpg
/home/pi/Desktop/images/29112025/11/19/image_29112025_11_19_24_9627.jpg
/home/pi/Desktop/images/29112025/11/19/image_29112025_11_19_34_9759.jpg
/home/pi/Desktop/images/29112025/11/19/image_29112025_11_19_45_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":["1396868270","1396868264","1396868267","1396868300","1396868260","1396868274"],"photo_ids_order":["1396868260","1396868264","1396868267","1396868270","1396868274","1396868300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a71f5ab02fa9ae2491104d75a7f98da.jpg","text":"TemporaryFile(/tmp/multipartBody369835071474246237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411682664,"filename":"image_29112025_11_19_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/11/29/7b1f33314c4f464949103f4f48877bd7.jpg","text":"TemporaryFile(/tmp/multipartBody1606349459519747057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411682664,"filename":"image_29112025_11_19_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/11/29/2d27aa307f7906767465c8d872c4b068.jpg","text":"TemporaryFile(/tmp/multipartBody9073679401735507444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411682664,"filename":"image_29112025_11_19_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/11/29/584cfbc44438ef46e03f648dbf4d13f2.jpg","text":"TemporaryFile(/tmp/multipartBody3007014103406029758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411682664,"filename":"image_29112025_11_19_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/11/29/fcb93de89ce303b419292caa25715493.jpg","text":"TemporaryFile(/tmp/multipartBody6900300145761542530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411682664,"filename":"image_29112025_11_18_55_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aedd5548c977c34130821fa82344f2b7.jpg","text":"TemporaryFile(/tmp/multipartBody7815783391646622928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411682664,"filename":"image_29112025_11_19_34_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868267","file1":"1396868264","file0":"1396868260","file4":"1396868274","file5":"1396868300","file3":"1396868270"},"map_files_photo_id_array":[{"photo_id":"1396868300","filename":"file5"},{"photo_id":"1396868267","filename":"file2"},{"photo_id":"1396868274","filename":"file4"},{"photo_id":"1396868264","filename":"file1"},{"photo_id":"1396868260","filename":"file0"},{"photo_id":"1396868270","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396868270":["hashtag1","hashtag2"]},{"1396868264":["hashtag1","hashtag2"]},{"1396868267":["hashtag1","hashtag2"]},{"1396868300":["hashtag1","hashtag2"]},{"1396868260":["hashtag1","hashtag2"]},{"1396868274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396868270, 1396868264, 1396868267, 1396868300, 1396868260, 1396868274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43290567398071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:21:02.766982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/19/image_29112025_11_19_55_9633.jpg', '/home/pi/Desktop/images/29112025/11/20/image_29112025_11_20_16_10052.jpg', '/home/pi/Desktop/images/29112025/11/20/image_29112025_11_20_27_10817.jpg', '/home/pi/Desktop/images/29112025/11/20/image_29112025_11_20_36_9573.jpg', '/home/pi/Desktop/images/29112025/11/20/image_29112025_11_20_46_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/19/image_29112025_11_19_55_9633.jpg
/home/pi/Desktop/images/29112025/11/20/image_29112025_11_20_16_10052.jpg
/home/pi/Desktop/images/29112025/11/20/image_29112025_11_20_27_10817.jpg
/home/pi/Desktop/images/29112025/11/20/image_29112025_11_20_36_9573.jpg
/home/pi/Desktop/images/29112025/11/20/image_29112025_11_20_46_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396868474","1396868576","1396868441","1396868542","1396868509"],"photo_ids_order":["1396868441","1396868474","1396868509","1396868542","1396868576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd8803d2a89ed6f7ff986ad9d4474468.jpg","text":"TemporaryFile(/tmp/multipartBody8251828627571948051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411723512,"filename":"image_29112025_11_20_16_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5fc583e8a1e64b1e089045b3821b408d.jpg","text":"TemporaryFile(/tmp/multipartBody4127776688635211279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411723512,"filename":"image_29112025_11_20_46_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5e78cf9dff7ea47d504614ddd824f20.jpg","text":"TemporaryFile(/tmp/multipartBody1806387321815768189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411723512,"filename":"image_29112025_11_19_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0013ded0ecee5a2bee4bce14db5d7c5c.jpg","text":"TemporaryFile(/tmp/multipartBody5968962327612680474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411723512,"filename":"image_29112025_11_20_36_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd2cc3444b5f0e82686e28eb56fc2acd.jpg","text":"TemporaryFile(/tmp/multipartBody6194561661986888723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411723512,"filename":"image_29112025_11_20_27_10817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868509","file1":"1396868474","file0":"1396868441","file4":"1396868576","file3":"1396868542"},"map_files_photo_id_array":[{"photo_id":"1396868509","filename":"file2"},{"photo_id":"1396868576","filename":"file4"},{"photo_id":"1396868474","filename":"file1"},{"photo_id":"1396868441","filename":"file0"},{"photo_id":"1396868542","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396868474":["hashtag1","hashtag2"]},{"1396868576":["hashtag1","hashtag2"]},{"1396868441":["hashtag1","hashtag2"]},{"1396868542":["hashtag1","hashtag2"]},{"1396868509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396868474, 1396868576, 1396868441, 1396868542, 1396868509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.272034645080566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:21:42.278003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_29_2680.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_33_3744.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_38_2756.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_41_2663.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_45_3568.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_47_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/09/25/image_31102025_09_25_29_2680.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_33_3744.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_38_2756.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_41_2663.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_45_3568.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_47_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":["1396868901","1396869091","1396868975","1396869130","1396868839","1396869036"],"photo_ids_order":["1396868839","1396868901","1396868975","1396869036","1396869091","1396869130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e86e32ce92d006e184fc1aa0cb51df44.jpg","text":"TemporaryFile(/tmp/multipartBody4679668946763045524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411763409,"filename":"image_31102025_09_25_33_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3de066d2e25b99398636d1aafdd263b3.jpg","text":"TemporaryFile(/tmp/multipartBody678980346500779239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411763409,"filename":"image_31102025_09_25_45_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0272c61845b52fa0f3925d2ca9e4f1a2.jpg","text":"TemporaryFile(/tmp/multipartBody7382656378582407050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411763409,"filename":"image_31102025_09_25_38_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44cd1304cd928acf26816bd4677626e8.jpg","text":"TemporaryFile(/tmp/multipartBody2739739994717190054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411763409,"filename":"image_31102025_09_25_47_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1688439b778dc9506268f69cbae7b054.jpg","text":"TemporaryFile(/tmp/multipartBody3222823657342615526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411763409,"filename":"image_31102025_09_25_29_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e916e07c43dc24f44de077a45f272781.jpg","text":"TemporaryFile(/tmp/multipartBody4865449241647070221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411763409,"filename":"image_31102025_09_25_41_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396868975","file1":"1396868901","file0":"1396868839","file4":"1396869091","file5":"1396869130","file3":"1396869036"},"map_files_photo_id_array":[{"photo_id":"1396869130","filename":"file5"},{"photo_id":"1396868975","filename":"file2"},{"photo_id":"1396869091","filename":"file4"},{"photo_id":"1396868901","filename":"file1"},{"photo_id":"1396868839","filename":"file0"},{"photo_id":"1396869036","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396868901":["hashtag1","hashtag2"]},{"1396869091":["hashtag1","hashtag2"]},{"1396868975":["hashtag1","hashtag2"]},{"1396869130":["hashtag1","hashtag2"]},{"1396868839":["hashtag1","hashtag2"]},{"1396869036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396868901, 1396869091, 1396868975, 1396869130, 1396868839, 1396869036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64837670326233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:22:22.572491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/20/image_29112025_11_20_57_10726.jpg', '/home/pi/Desktop/images/29112025/11/20/image_29112025_11_21_07_9847.jpg', '/home/pi/Desktop/images/29112025/11/21/image_29112025_11_21_16_9649.jpg', '/home/pi/Desktop/images/29112025/11/21/image_29112025_11_21_27_10600.jpg', '/home/pi/Desktop/images/29112025/11/21/image_29112025_11_21_37_9585.jpg', '/home/pi/Desktop/images/29112025/11/21/image_29112025_11_21_46_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/20/image_29112025_11_20_57_10726.jpg
/home/pi/Desktop/images/29112025/11/20/image_29112025_11_21_07_9847.jpg
/home/pi/Desktop/images/29112025/11/21/image_29112025_11_21_16_9649.jpg
/home/pi/Desktop/images/29112025/11/21/image_29112025_11_21_27_10600.jpg
/home/pi/Desktop/images/29112025/11/21/image_29112025_11_21_37_9585.jpg
/home/pi/Desktop/images/29112025/11/21/image_29112025_11_21_46_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":["1396869650","1396869569","1396869697","1396869499","1396869462","1396869423"],"photo_ids_order":["1396869423","1396869462","1396869499","1396869569","1396869650","1396869697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9327b67d88eb5daa1d51d79fab7fc436.jpg","text":"TemporaryFile(/tmp/multipartBody8300634545984831687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411803291,"filename":"image_29112025_11_21_37_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc654c66948aef531d526d3edb32a80f.jpg","text":"TemporaryFile(/tmp/multipartBody5806707785976882920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411803291,"filename":"image_29112025_11_21_27_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0221aefe4594ab03826be024d21d80c.jpg","text":"TemporaryFile(/tmp/multipartBody848408355557696315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411803291,"filename":"image_29112025_11_21_46_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9e64e9b801572a2cd0002cbaf822c53.jpg","text":"TemporaryFile(/tmp/multipartBody3547246171893788123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411803291,"filename":"image_29112025_11_21_16_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5ad67596722353f2dc8543bbd312406.jpg","text":"TemporaryFile(/tmp/multipartBody76401992772111463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411803291,"filename":"image_29112025_11_21_07_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4e426814236de6d6a22d3bb871d1596.jpg","text":"TemporaryFile(/tmp/multipartBody2696033799257223556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411803291,"filename":"image_29112025_11_20_57_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396869499","file1":"1396869462","file0":"1396869423","file4":"1396869650","file5":"1396869697","file3":"1396869569"},"map_files_photo_id_array":[{"photo_id":"1396869697","filename":"file5"},{"photo_id":"1396869499","filename":"file2"},{"photo_id":"1396869650","filename":"file4"},{"photo_id":"1396869462","filename":"file1"},{"photo_id":"1396869423","filename":"file0"},{"photo_id":"1396869569","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396869650":["hashtag1","hashtag2"]},{"1396869569":["hashtag1","hashtag2"]},{"1396869697":["hashtag1","hashtag2"]},{"1396869499":["hashtag1","hashtag2"]},{"1396869462":["hashtag1","hashtag2"]},{"1396869423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396869650, 1396869569, 1396869697, 1396869499, 1396869462, 1396869423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.346463680267334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:23:03.250110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/21/image_29112025_11_21_57_10650.jpg', '/home/pi/Desktop/images/29112025/11/21/image_29112025_11_22_07_9714.jpg', '/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_16_9633.jpg', '/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_27_10652.jpg', '/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_37_9718.jpg', '/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_46_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/21/image_29112025_11_21_57_10650.jpg
/home/pi/Desktop/images/29112025/11/21/image_29112025_11_22_07_9714.jpg
/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_16_9633.jpg
/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_27_10652.jpg
/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_37_9718.jpg
/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_46_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396869830","1396869832","1396869834","1396869828","1396869822","1396869825"],"photo_ids_order":["1396869822","1396869825","1396869828","1396869830","1396869832","1396869834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57d83e81f16a38e45c1e642ca1ef0e99.jpg","text":"TemporaryFile(/tmp/multipartBody6899431869811313293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411844036,"filename":"image_29112025_11_22_27_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8fb40f5b92286cdae17e158614bdf7b3.jpg","text":"TemporaryFile(/tmp/multipartBody4950373738927559490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411844036,"filename":"image_29112025_11_22_37_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4670c01e73d45b0982ce475ec0fa75e5.jpg","text":"TemporaryFile(/tmp/multipartBody6659207594298379731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411844036,"filename":"image_29112025_11_22_46_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6930c585cff6af3e48b87bf136288088.jpg","text":"TemporaryFile(/tmp/multipartBody7086251863789075044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411844036,"filename":"image_29112025_11_22_16_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86719fdb5f2c2e3b3102d22364dccb30.jpg","text":"TemporaryFile(/tmp/multipartBody7217898675889257970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411844036,"filename":"image_29112025_11_21_57_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/521a37f8995692b8a4008890d6caa74e.jpg","text":"TemporaryFile(/tmp/multipartBody1600407807674926474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411844036,"filename":"image_29112025_11_22_07_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396869828","file1":"1396869825","file0":"1396869822","file4":"1396869832","file5":"1396869834","file3":"1396869830"},"map_files_photo_id_array":[{"photo_id":"1396869834","filename":"file5"},{"photo_id":"1396869828","filename":"file2"},{"photo_id":"1396869832","filename":"file4"},{"photo_id":"1396869825","filename":"file1"},{"photo_id":"1396869822","filename":"file0"},{"photo_id":"1396869830","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396869830":["hashtag1","hashtag2"]},{"1396869832":["hashtag1","hashtag2"]},{"1396869834":["hashtag1","hashtag2"]},{"1396869828":["hashtag1","hashtag2"]},{"1396869822":["hashtag1","hashtag2"]},{"1396869825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396869830, 1396869832, 1396869834, 1396869828, 1396869822, 1396869825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44378066062927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:23:42.632638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_51_3759.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_54_2765.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_56_2640.jpg', '/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_59_2660.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_03_3712.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_05_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/09/25/image_31102025_09_25_51_3759.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_54_2765.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_56_2640.jpg
/home/pi/Desktop/images/31102025/09/25/image_31102025_09_25_59_2660.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_03_3712.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_05_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":["1396870035","1396869999","1396869963","1396870051","1396869921","1396870050"],"photo_ids_order":["1396869921","1396869963","1396869999","1396870035","1396870050","1396870051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d9bec5334fe418fbf35c4f8bfdaa3aa.jpg","text":"TemporaryFile(/tmp/multipartBody9164390151105695158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411883743,"filename":"image_31102025_09_25_59_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/978247653e7e738502434a05197224a2.jpg","text":"TemporaryFile(/tmp/multipartBody2558994295623643848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411883743,"filename":"image_31102025_09_25_56_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfb486f8d9f826dd9c13b18a025fe0c7.jpg","text":"TemporaryFile(/tmp/multipartBody3804157151234472676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411883743,"filename":"image_31102025_09_25_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/11/29/e371793cff6b9216eb2750cb4fd232bc.jpg","text":"TemporaryFile(/tmp/multipartBody2871693106864430619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411883743,"filename":"image_31102025_09_26_05_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1af1dcec7a9f570a39c368e142d887f7.jpg","text":"TemporaryFile(/tmp/multipartBody8446106864205830734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411883743,"filename":"image_31102025_09_25_51_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19f7ef317fc236298c8721970726d738.jpg","text":"TemporaryFile(/tmp/multipartBody5975988259948715888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411883743,"filename":"image_31102025_09_26_03_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396869999","file1":"1396869963","file0":"1396869921","file4":"1396870050","file5":"1396870051","file3":"1396870035"},"map_files_photo_id_array":[{"photo_id":"1396870051","filename":"file5"},{"photo_id":"1396869999","filename":"file2"},{"photo_id":"1396870050","filename":"file4"},{"photo_id":"1396869963","filename":"file1"},{"photo_id":"1396869921","filename":"file0"},{"photo_id":"1396870035","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870035":["hashtag1","hashtag2"]},{"1396869999":["hashtag1","hashtag2"]},{"1396869963":["hashtag1","hashtag2"]},{"1396870051":["hashtag1","hashtag2"]},{"1396869921":["hashtag1","hashtag2"]},{"1396870050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870035, 1396869999, 1396869963, 1396870051, 1396869921, 1396870050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35000252723694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:24:22.808965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_57_10691.jpg', '/home/pi/Desktop/images/29112025/11/22/image_29112025_11_23_07_9765.jpg', '/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_16_9757.jpg', '/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_26_9624.jpg', '/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_37_10757.jpg', '/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_46_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_57_10691.jpg
/home/pi/Desktop/images/29112025/11/22/image_29112025_11_23_07_9765.jpg
/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_16_9757.jpg
/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_26_9624.jpg
/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_37_10757.jpg
/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_46_9691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6200337409973145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:24:32.945672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_54_3582.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_57_2507.jpg', '/home/pi/Desktop/images/25112025/18/19/image_25112025_18_20_00_3688.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_03_2648.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_06_2615.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_09_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_54_3582.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_19_57_2507.jpg
/home/pi/Desktop/images/25112025/18/19/image_25112025_18_20_00_3688.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_03_2648.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_06_2615.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_09_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":["1396870245","1396870244","1396870217","1396870246","1396870243","1396870237"],"photo_ids_order":["1396870217","1396870237","1396870243","1396870244","1396870245","1396870246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50e4e94799b5c91b22688169e149ac4c.jpg","text":"TemporaryFile(/tmp/multipartBody9028743364083010794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411935225,"filename":"image_25112025_18_20_06_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12583338735885ab2284275f4d123c54.jpg","text":"TemporaryFile(/tmp/multipartBody4548444970341389925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411935225,"filename":"image_25112025_18_20_03_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb72f29fe3a3c06fd7fd0f94578ab67f.jpg","text":"TemporaryFile(/tmp/multipartBody5325691119707168294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411935225,"filename":"image_25112025_18_19_54_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e15caf4aab99a94efc7666a7faeeefc.jpg","text":"TemporaryFile(/tmp/multipartBody2585596846707088377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411935225,"filename":"image_25112025_18_20_09_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9d8818ee66bea996f6dfa8b5d4da7ad.jpg","text":"TemporaryFile(/tmp/multipartBody4421908383132189522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411935225,"filename":"image_25112025_18_20_00_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10e515ef545c4fc03bcaf3aeb6505990.jpg","text":"TemporaryFile(/tmp/multipartBody4682436322739697647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411935225,"filename":"image_25112025_18_19_57_2507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870243","file1":"1396870237","file0":"1396870217","file4":"1396870245","file5":"1396870246","file3":"1396870244"},"map_files_photo_id_array":[{"photo_id":"1396870246","filename":"file5"},{"photo_id":"1396870243","filename":"file2"},{"photo_id":"1396870245","filename":"file4"},{"photo_id":"1396870237","filename":"file1"},{"photo_id":"1396870217","filename":"file0"},{"photo_id":"1396870244","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396870245":["hashtag1","hashtag2"]},{"1396870244":["hashtag1","hashtag2"]},{"1396870217":["hashtag1","hashtag2"]},{"1396870246":["hashtag1","hashtag2"]},{"1396870243":["hashtag1","hashtag2"]},{"1396870237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396870245, 1396870244, 1396870217, 1396870246, 1396870243, 1396870237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84546375274658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:25:11.977746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_12_2553.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_14_2683.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_18_3703.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_21_2627.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_23_2596.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_27_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_12_2553.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_14_2683.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_18_3703.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_21_2627.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_23_2596.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_27_3561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870251","1396870253","1396870262","1396870256","1396870259","1396870249"],"photo_ids_order":["1396870249","1396870251","1396870253","1396870256","1396870259","1396870262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87ffbdb01d9e2aa78e610645989a8d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3562669092925446312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411974091,"filename":"image_25112025_18_20_14_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6df2252e5c6f89f9aa99ac3ca432ce44.jpg","text":"TemporaryFile(/tmp/multipartBody1145831434427797697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411974091,"filename":"image_25112025_18_20_18_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/460ec2adad199006bab2e6ba88382492.jpg","text":"TemporaryFile(/tmp/multipartBody10247667719259437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411974091,"filename":"image_25112025_18_20_27_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91c4b421feec0e54380097830349d18c.jpg","text":"TemporaryFile(/tmp/multipartBody3351330378806570450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411974091,"filename":"image_25112025_18_20_21_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/573664851d092e88f2c2335b43682dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7597472020514577696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411974091,"filename":"image_25112025_18_20_23_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22ca2148b5ee7ce93da886c2eaaa0516.jpg","text":"TemporaryFile(/tmp/multipartBody6910067315284211061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764411974091,"filename":"image_25112025_18_20_12_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870253","file1":"1396870251","file0":"1396870249","file4":"1396870259","file5":"1396870262","file3":"1396870256"},"map_files_photo_id_array":[{"photo_id":"1396870262","filename":"file5"},{"photo_id":"1396870253","filename":"file2"},{"photo_id":"1396870259","filename":"file4"},{"photo_id":"1396870251","filename":"file1"},{"photo_id":"1396870249","filename":"file0"},{"photo_id":"1396870256","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396870251":["hashtag1","hashtag2"]},{"1396870253":["hashtag1","hashtag2"]},{"1396870262":["hashtag1","hashtag2"]},{"1396870256":["hashtag1","hashtag2"]},{"1396870259":["hashtag1","hashtag2"]},{"1396870249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396870251, 1396870253, 1396870262, 1396870256, 1396870259, 1396870249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86818718910217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:26:03.158386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_57_10691.jpg', '/home/pi/Desktop/images/29112025/11/22/image_29112025_11_23_07_9765.jpg', '/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_16_9757.jpg', '/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_26_9624.jpg', '/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_37_10757.jpg', '/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_46_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/22/image_29112025_11_22_57_10691.jpg
/home/pi/Desktop/images/29112025/11/22/image_29112025_11_23_07_9765.jpg
/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_16_9757.jpg
/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_26_9624.jpg
/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_37_10757.jpg
/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_46_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870272","1396870274","1396870277","1396870270","1396870267","1396870269"],"photo_ids_order":["1396870267","1396870269","1396870270","1396870272","1396870274","1396870277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8bc2c4d96ddbe48658900b368e1d657a.jpg","text":"TemporaryFile(/tmp/multipartBody7651764413728440271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412023899,"filename":"image_29112025_11_23_26_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db755509c66917e4578afef664efb49f.jpg","text":"TemporaryFile(/tmp/multipartBody7875799183189471421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412023899,"filename":"image_29112025_11_23_37_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49dc8959e7d64f372a5b26c425f3ab53.jpg","text":"TemporaryFile(/tmp/multipartBody5640524826186652601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412023899,"filename":"image_29112025_11_23_46_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ee95a980fe9daf0b277b70f12b124ce.jpg","text":"TemporaryFile(/tmp/multipartBody3408138937154804153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412023899,"filename":"image_29112025_11_23_16_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a600235d33a185eb779e5b5bb5a0ead.jpg","text":"TemporaryFile(/tmp/multipartBody4624022919097855598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412023899,"filename":"image_29112025_11_22_57_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8036b98d8744453d0428c4e967750276.jpg","text":"TemporaryFile(/tmp/multipartBody7785697763291720810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412023899,"filename":"image_29112025_11_23_07_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870270","file1":"1396870269","file0":"1396870267","file4":"1396870274","file5":"1396870277","file3":"1396870272"},"map_files_photo_id_array":[{"photo_id":"1396870277","filename":"file5"},{"photo_id":"1396870270","filename":"file2"},{"photo_id":"1396870274","filename":"file4"},{"photo_id":"1396870269","filename":"file1"},{"photo_id":"1396870267","filename":"file0"},{"photo_id":"1396870272","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870272":["hashtag1","hashtag2"]},{"1396870274":["hashtag1","hashtag2"]},{"1396870277":["hashtag1","hashtag2"]},{"1396870270":["hashtag1","hashtag2"]},{"1396870267":["hashtag1","hashtag2"]},{"1396870269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870272, 1396870274, 1396870277, 1396870270, 1396870267, 1396870269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46364188194275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:26:42.551981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_08_2728.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_11_2897.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_15_3669.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_17_2587.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_20_2940.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_24_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/09/26/image_31102025_09_26_08_2728.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_11_2897.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_15_3669.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_17_2587.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_20_2940.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_24_3578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870292","1396870286","1396870289","1396870294","1396870293","1396870290"],"photo_ids_order":["1396870286","1396870289","1396870290","1396870292","1396870293","1396870294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd6f2f02a710401a87aed85600941af8.jpg","text":"TemporaryFile(/tmp/multipartBody5465921495252895562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412063734,"filename":"image_31102025_09_26_17_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85720010b575fb521b2cba254dd31bce.jpg","text":"TemporaryFile(/tmp/multipartBody3570138599383975868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412063734,"filename":"image_31102025_09_26_08_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1940a8c6cd15707b0dd428812888b167.jpg","text":"TemporaryFile(/tmp/multipartBody131143089040166387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412063734,"filename":"image_31102025_09_26_11_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab407933170c1e47e89eadae5d25b907.jpg","text":"TemporaryFile(/tmp/multipartBody779087201945503082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412063734,"filename":"image_31102025_09_26_24_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d22d5b31847e26b247f6ed862ef357c.jpg","text":"TemporaryFile(/tmp/multipartBody7714084679185726620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412063734,"filename":"image_31102025_09_26_20_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a99e822d83fe6017bc31a45d82b5f74.jpg","text":"TemporaryFile(/tmp/multipartBody1960884139048156061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412063734,"filename":"image_31102025_09_26_15_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870290","file1":"1396870289","file0":"1396870286","file4":"1396870293","file5":"1396870294","file3":"1396870292"},"map_files_photo_id_array":[{"photo_id":"1396870294","filename":"file5"},{"photo_id":"1396870290","filename":"file2"},{"photo_id":"1396870293","filename":"file4"},{"photo_id":"1396870289","filename":"file1"},{"photo_id":"1396870286","filename":"file0"},{"photo_id":"1396870292","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870292":["hashtag1","hashtag2"]},{"1396870286":["hashtag1","hashtag2"]},{"1396870289":["hashtag1","hashtag2"]},{"1396870294":["hashtag1","hashtag2"]},{"1396870293":["hashtag1","hashtag2"]},{"1396870290":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870292, 1396870286, 1396870289, 1396870294, 1396870293, 1396870290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.997119426727295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:27:22.769967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_56_9789.jpg', '/home/pi/Desktop/images/29112025/11/23/image_29112025_11_24_06_9765.jpg', '/home/pi/Desktop/images/29112025/11/24/image_29112025_11_24_17_10604.jpg', '/home/pi/Desktop/images/29112025/11/24/image_29112025_11_24_26_9837.jpg', '/home/pi/Desktop/images/29112025/11/24/image_29112025_11_24_36_9698.jpg', '/home/pi/Desktop/images/29112025/11/24/image_29112025_11_24_47_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/23/image_29112025_11_23_56_9789.jpg
/home/pi/Desktop/images/29112025/11/23/image_29112025_11_24_06_9765.jpg
/home/pi/Desktop/images/29112025/11/24/image_29112025_11_24_17_10604.jpg
/home/pi/Desktop/images/29112025/11/24/image_29112025_11_24_26_9837.jpg
/home/pi/Desktop/images/29112025/11/24/image_29112025_11_24_36_9698.jpg
/home/pi/Desktop/images/29112025/11/24/image_29112025_11_24_47_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":["1396870311","1396870304","1396870307","1396870297","1396870301","1396870309"],"photo_ids_order":["1396870297","1396870301","1396870304","1396870307","1396870309","1396870311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e11832f19db141d35b856fb7754aa364.jpg","text":"TemporaryFile(/tmp/multipartBody6342368686607290867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412103525,"filename":"image_29112025_11_24_47_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9df8c31843c1e6bb87fa83adb8347f5e.jpg","text":"TemporaryFile(/tmp/multipartBody6096238596460717532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412103525,"filename":"image_29112025_11_24_17_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/407db6d791cb5ec5eb2eb5a831e115b9.jpg","text":"TemporaryFile(/tmp/multipartBody4058679863218316215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412103525,"filename":"image_29112025_11_24_26_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba7f97ee19ede94ae3d2744013620397.jpg","text":"TemporaryFile(/tmp/multipartBody5962307827489029527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412103525,"filename":"image_29112025_11_23_56_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fdc815bfa961af6a88ae3d83cdaaaa1.jpg","text":"TemporaryFile(/tmp/multipartBody5006338276315029416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412103525,"filename":"image_29112025_11_24_06_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adf671781e1c32216c84a27638eb7260.jpg","text":"TemporaryFile(/tmp/multipartBody2065013184556228950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412103525,"filename":"image_29112025_11_24_36_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870304","file1":"1396870301","file0":"1396870297","file4":"1396870309","file5":"1396870311","file3":"1396870307"},"map_files_photo_id_array":[{"photo_id":"1396870311","filename":"file5"},{"photo_id":"1396870304","filename":"file2"},{"photo_id":"1396870309","filename":"file4"},{"photo_id":"1396870301","filename":"file1"},{"photo_id":"1396870297","filename":"file0"},{"photo_id":"1396870307","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870311":["hashtag1","hashtag2"]},{"1396870304":["hashtag1","hashtag2"]},{"1396870307":["hashtag1","hashtag2"]},{"1396870297":["hashtag1","hashtag2"]},{"1396870301":["hashtag1","hashtag2"]},{"1396870309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870311, 1396870304, 1396870307, 1396870297, 1396870301, 1396870309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.210922718048096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:28:02.349572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/24/image_29112025_11_24_57_9890.jpg', '/home/pi/Desktop/images/29112025/11/25/image_29112025_11_25_14_10059.jpg', '/home/pi/Desktop/images/29112025/11/25/image_29112025_11_25_25_10747.jpg', '/home/pi/Desktop/images/29112025/11/25/image_29112025_11_25_35_9588.jpg', '/home/pi/Desktop/images/29112025/11/25/image_29112025_11_25_44_9668.jpg', '/home/pi/Desktop/images/29112025/11/25/image_29112025_11_25_55_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/24/image_29112025_11_24_57_9890.jpg
/home/pi/Desktop/images/29112025/11/25/image_29112025_11_25_14_10059.jpg
/home/pi/Desktop/images/29112025/11/25/image_29112025_11_25_25_10747.jpg
/home/pi/Desktop/images/29112025/11/25/image_29112025_11_25_35_9588.jpg
/home/pi/Desktop/images/29112025/11/25/image_29112025_11_25_44_9668.jpg
/home/pi/Desktop/images/29112025/11/25/image_29112025_11_25_55_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870320","1396870314","1396870317","1396870313","1396870312","1396870315"],"photo_ids_order":["1396870312","1396870313","1396870314","1396870315","1396870317","1396870320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e185e5d69a7346ce38be6f69fb83bd5.jpg","text":"TemporaryFile(/tmp/multipartBody1937119488918860105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412143159,"filename":"image_29112025_11_25_55_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e263c492eeced69818183a37c1c70d4.jpg","text":"TemporaryFile(/tmp/multipartBody5536958403092047739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412143159,"filename":"image_29112025_11_25_25_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5c139518fd7777a9d7d5d844ace1ae1.jpg","text":"TemporaryFile(/tmp/multipartBody1961027816429160421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412143159,"filename":"image_29112025_11_25_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba3eaee0106e761618cd9ea0dec35c8f.jpg","text":"TemporaryFile(/tmp/multipartBody1400731611244730259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412143159,"filename":"image_29112025_11_25_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c643c0fc78a3f1ef353b3939ef9aa3a.jpg","text":"TemporaryFile(/tmp/multipartBody3727081794488759067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412143159,"filename":"image_29112025_11_24_57_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7542a5ef82c11a991a1a38061be4f302.jpg","text":"TemporaryFile(/tmp/multipartBody3507638207375393352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412143159,"filename":"image_29112025_11_25_35_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870314","file1":"1396870313","file0":"1396870312","file4":"1396870317","file5":"1396870320","file3":"1396870315"},"map_files_photo_id_array":[{"photo_id":"1396870320","filename":"file5"},{"photo_id":"1396870314","filename":"file2"},{"photo_id":"1396870317","filename":"file4"},{"photo_id":"1396870313","filename":"file1"},{"photo_id":"1396870312","filename":"file0"},{"photo_id":"1396870315","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870320":["hashtag1","hashtag2"]},{"1396870314":["hashtag1","hashtag2"]},{"1396870317":["hashtag1","hashtag2"]},{"1396870313":["hashtag1","hashtag2"]},{"1396870312":["hashtag1","hashtag2"]},{"1396870315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870320, 1396870314, 1396870317, 1396870313, 1396870312, 1396870315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.838772773742676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:28:41.927461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_27_2808.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_29_2706.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_32_2684.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_36_3713.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_38_2602.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_41_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/09/26/image_31102025_09_26_27_2808.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_29_2706.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_32_2684.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_36_3713.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_38_2602.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_41_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":["1396870332","1396870329","1396870334","1396870331","1396870330","1396870333"],"photo_ids_order":["1396870329","1396870330","1396870331","1396870332","1396870333","1396870334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e93817adb4bcfdd95142e1ea7ac562ec.jpg","text":"TemporaryFile(/tmp/multipartBody2812578631761362888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412183047,"filename":"image_31102025_09_26_36_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da08be6666ec7f32ef0cb3404430641b.jpg","text":"TemporaryFile(/tmp/multipartBody823543225973306520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412183047,"filename":"image_31102025_09_26_27_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50dfc5afdd412de6f73583bbc41debbe.jpg","text":"TemporaryFile(/tmp/multipartBody7980746037446189231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412183047,"filename":"image_31102025_09_26_41_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2eaadfc6191936f679673c88ed2026e6.jpg","text":"TemporaryFile(/tmp/multipartBody7033681580170153640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412183047,"filename":"image_31102025_09_26_32_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb0825f9192bf23d9ac359a4838af24f.jpg","text":"TemporaryFile(/tmp/multipartBody6699248238122967214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412183047,"filename":"image_31102025_09_26_29_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cfce425b0930703a867446265cdbcecf.jpg","text":"TemporaryFile(/tmp/multipartBody5805689485919670932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412183047,"filename":"image_31102025_09_26_38_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870331","file1":"1396870330","file0":"1396870329","file4":"1396870333","file5":"1396870334","file3":"1396870332"},"map_files_photo_id_array":[{"photo_id":"1396870334","filename":"file5"},{"photo_id":"1396870331","filename":"file2"},{"photo_id":"1396870333","filename":"file4"},{"photo_id":"1396870330","filename":"file1"},{"photo_id":"1396870329","filename":"file0"},{"photo_id":"1396870332","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870332":["hashtag1","hashtag2"]},{"1396870329":["hashtag1","hashtag2"]},{"1396870334":["hashtag1","hashtag2"]},{"1396870331":["hashtag1","hashtag2"]},{"1396870330":["hashtag1","hashtag2"]},{"1396870333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870332, 1396870329, 1396870334, 1396870331, 1396870330, 1396870333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.308088302612305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:29:22.163290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/25/image_29112025_11_26_05_9665.jpg', '/home/pi/Desktop/images/29112025/11/26/image_29112025_11_26_15_10640.jpg', '/home/pi/Desktop/images/29112025/11/26/image_29112025_11_26_25_9780.jpg', '/home/pi/Desktop/images/29112025/11/26/image_29112025_11_26_35_9651.jpg', '/home/pi/Desktop/images/29112025/11/26/image_29112025_11_26_44_9649.jpg', '/home/pi/Desktop/images/29112025/11/26/image_29112025_11_26_55_10877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/25/image_29112025_11_26_05_9665.jpg
/home/pi/Desktop/images/29112025/11/26/image_29112025_11_26_15_10640.jpg
/home/pi/Desktop/images/29112025/11/26/image_29112025_11_26_25_9780.jpg
/home/pi/Desktop/images/29112025/11/26/image_29112025_11_26_35_9651.jpg
/home/pi/Desktop/images/29112025/11/26/image_29112025_11_26_44_9649.jpg
/home/pi/Desktop/images/29112025/11/26/image_29112025_11_26_55_10877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870379","1396870346","1396870376","1396870349","1396870383","1396870341"],"photo_ids_order":["1396870341","1396870346","1396870349","1396870376","1396870379","1396870383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/483bf495f58b142d97b8e93ae171bf6d.jpg","text":"TemporaryFile(/tmp/multipartBody8966167207945763284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412222932,"filename":"image_29112025_11_26_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/11/29/e5a02acbd7572c9e7399074ea583b06d.jpg","text":"TemporaryFile(/tmp/multipartBody4614292695570294548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412222932,"filename":"image_29112025_11_26_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/11/29/2bd7113f7670f9a9c3d6a7de606ffe56.jpg","text":"TemporaryFile(/tmp/multipartBody972531621207192070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412222932,"filename":"image_29112025_11_26_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/11/29/0768b5583ed9a8a522b05c9eaa064afb.jpg","text":"TemporaryFile(/tmp/multipartBody2845053645612307538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412222932,"filename":"image_29112025_11_26_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/11/29/badda66655667011d67fb88a87d06b86.jpg","text":"TemporaryFile(/tmp/multipartBody3357438331466347013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412222932,"filename":"image_29112025_11_26_55_10877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b83ee07ac3e3fc1c3122682b5956548.jpg","text":"TemporaryFile(/tmp/multipartBody4617394872370516263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412222932,"filename":"image_29112025_11_26_05_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870349","file1":"1396870346","file0":"1396870341","file4":"1396870379","file5":"1396870383","file3":"1396870376"},"map_files_photo_id_array":[{"photo_id":"1396870383","filename":"file5"},{"photo_id":"1396870349","filename":"file2"},{"photo_id":"1396870379","filename":"file4"},{"photo_id":"1396870346","filename":"file1"},{"photo_id":"1396870341","filename":"file0"},{"photo_id":"1396870376","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870379":["hashtag1","hashtag2"]},{"1396870346":["hashtag1","hashtag2"]},{"1396870376":["hashtag1","hashtag2"]},{"1396870349":["hashtag1","hashtag2"]},{"1396870383":["hashtag1","hashtag2"]},{"1396870341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870379, 1396870346, 1396870376, 1396870349, 1396870383, 1396870341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00138831138611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:30:02.637744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/26/image_29112025_11_27_05_9600.jpg', '/home/pi/Desktop/images/29112025/11/27/image_29112025_11_27_14_9606.jpg', '/home/pi/Desktop/images/29112025/11/27/image_29112025_11_27_25_10702.jpg', '/home/pi/Desktop/images/29112025/11/27/image_29112025_11_27_35_9712.jpg', '/home/pi/Desktop/images/29112025/11/27/image_29112025_11_27_45_9672.jpg', '/home/pi/Desktop/images/29112025/11/27/image_29112025_11_27_54_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/26/image_29112025_11_27_05_9600.jpg
/home/pi/Desktop/images/29112025/11/27/image_29112025_11_27_14_9606.jpg
/home/pi/Desktop/images/29112025/11/27/image_29112025_11_27_25_10702.jpg
/home/pi/Desktop/images/29112025/11/27/image_29112025_11_27_35_9712.jpg
/home/pi/Desktop/images/29112025/11/27/image_29112025_11_27_45_9672.jpg
/home/pi/Desktop/images/29112025/11/27/image_29112025_11_27_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":["1396870391","1396870393","1396870390","1396870392","1396870395","1396870398"],"photo_ids_order":["1396870390","1396870391","1396870392","1396870393","1396870395","1396870398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/616a5ac9b2b5b10aae400f04a4a83acc.jpg","text":"TemporaryFile(/tmp/multipartBody2417529915990521504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412263401,"filename":"image_29112025_11_27_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3667ebfb16c48346fb77cd374e3dfb77.jpg","text":"TemporaryFile(/tmp/multipartBody227989701547479533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412263401,"filename":"image_29112025_11_27_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/11/29/00847444e1848e8702b9e5e28e677380.jpg","text":"TemporaryFile(/tmp/multipartBody3303221163663937732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412263401,"filename":"image_29112025_11_27_05_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/034ff715d82abe7f99edb472106e41a9.jpg","text":"TemporaryFile(/tmp/multipartBody496342493804604692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412263401,"filename":"image_29112025_11_27_25_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/904b9a5b37fc1b7e003c1fae29d8e938.jpg","text":"TemporaryFile(/tmp/multipartBody8457756340880681109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412263401,"filename":"image_29112025_11_27_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b791620f1c1dce4249bc9d572d69ba85.jpg","text":"TemporaryFile(/tmp/multipartBody9152580524695544593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412263401,"filename":"image_29112025_11_27_54_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870392","file1":"1396870391","file0":"1396870390","file4":"1396870395","file5":"1396870398","file3":"1396870393"},"map_files_photo_id_array":[{"photo_id":"1396870398","filename":"file5"},{"photo_id":"1396870392","filename":"file2"},{"photo_id":"1396870395","filename":"file4"},{"photo_id":"1396870391","filename":"file1"},{"photo_id":"1396870390","filename":"file0"},{"photo_id":"1396870393","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870391":["hashtag1","hashtag2"]},{"1396870393":["hashtag1","hashtag2"]},{"1396870390":["hashtag1","hashtag2"]},{"1396870392":["hashtag1","hashtag2"]},{"1396870395":["hashtag1","hashtag2"]},{"1396870398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870391, 1396870393, 1396870390, 1396870392, 1396870395, 1396870398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13151407241821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:30:42.238373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_45_3528.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_47_2734.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_50_2671.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_54_3710.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_57_3002.jpg', '/home/pi/Desktop/images/31102025/09/26/image_31102025_09_27_00_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/09/26/image_31102025_09_26_45_3528.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_47_2734.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_50_2671.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_54_3710.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_26_57_3002.jpg
/home/pi/Desktop/images/31102025/09/26/image_31102025_09_27_00_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":["1396870410","1396870413","1396870407","1396870409","1396870412","1396870411"],"photo_ids_order":["1396870407","1396870409","1396870410","1396870411","1396870412","1396870413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c1a97956babb89b73d936da34f204a7.jpg","text":"TemporaryFile(/tmp/multipartBody991661770414878055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412303397,"filename":"image_31102025_09_26_50_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2317bd9497f5a825cb9dffa79a53d72c.jpg","text":"TemporaryFile(/tmp/multipartBody2476369732237139895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412303397,"filename":"image_31102025_09_27_00_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46d262cba4cf57b60390b6386a8bb795.jpg","text":"TemporaryFile(/tmp/multipartBody8760236891025388710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412303397,"filename":"image_31102025_09_26_45_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adc8147cdce2550183e8345127d2bb78.jpg","text":"TemporaryFile(/tmp/multipartBody3733638031253281550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412303397,"filename":"image_31102025_09_26_47_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d6bef1f1d2ece1432c9abf86f37b7648.jpg","text":"TemporaryFile(/tmp/multipartBody7156580588907929561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412303397,"filename":"image_31102025_09_26_57_3002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/932da14e1bdf1b7c65cb663092cb5b57.jpg","text":"TemporaryFile(/tmp/multipartBody2410112418026268708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412303397,"filename":"image_31102025_09_26_54_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870410","file1":"1396870409","file0":"1396870407","file4":"1396870412","file5":"1396870413","file3":"1396870411"},"map_files_photo_id_array":[{"photo_id":"1396870413","filename":"file5"},{"photo_id":"1396870410","filename":"file2"},{"photo_id":"1396870412","filename":"file4"},{"photo_id":"1396870409","filename":"file1"},{"photo_id":"1396870407","filename":"file0"},{"photo_id":"1396870411","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870410":["hashtag1","hashtag2"]},{"1396870413":["hashtag1","hashtag2"]},{"1396870407":["hashtag1","hashtag2"]},{"1396870409":["hashtag1","hashtag2"]},{"1396870412":["hashtag1","hashtag2"]},{"1396870411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870410, 1396870413, 1396870407, 1396870409, 1396870412, 1396870411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.043837547302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:31:22.361663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/27/image_29112025_11_28_05_10577.jpg', '/home/pi/Desktop/images/29112025/11/28/image_29112025_11_28_15_9694.jpg', '/home/pi/Desktop/images/29112025/11/28/image_29112025_11_28_24_9750.jpg', '/home/pi/Desktop/images/29112025/11/28/image_29112025_11_28_35_10635.jpg', '/home/pi/Desktop/images/29112025/11/28/image_29112025_11_28_45_9624.jpg', '/home/pi/Desktop/images/29112025/11/28/image_29112025_11_28_55_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/27/image_29112025_11_28_05_10577.jpg
/home/pi/Desktop/images/29112025/11/28/image_29112025_11_28_15_9694.jpg
/home/pi/Desktop/images/29112025/11/28/image_29112025_11_28_24_9750.jpg
/home/pi/Desktop/images/29112025/11/28/image_29112025_11_28_35_10635.jpg
/home/pi/Desktop/images/29112025/11/28/image_29112025_11_28_45_9624.jpg
/home/pi/Desktop/images/29112025/11/28/image_29112025_11_28_55_10645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870415","1396870432","1396870426","1396870429","1396870420","1396870423"],"photo_ids_order":["1396870415","1396870420","1396870423","1396870426","1396870429","1396870432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b0d7ed715e7cc383fb3fabf72d62fd6.jpg","text":"TemporaryFile(/tmp/multipartBody9203191595416953066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412343234,"filename":"image_29112025_11_28_05_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b276c09ec18b0031d0cf504e63a289d.jpg","text":"TemporaryFile(/tmp/multipartBody849629423918245878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412343234,"filename":"image_29112025_11_28_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/807119ca867db2b1343e5b913a87fdd5.jpg","text":"TemporaryFile(/tmp/multipartBody5752624294213852855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412343234,"filename":"image_29112025_11_28_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/11/29/05d796f70b5731fa7a5e6d81ec158ce0.jpg","text":"TemporaryFile(/tmp/multipartBody244106652745505996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412343234,"filename":"image_29112025_11_28_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af23795685e384e5ac38915c45bc9f8c.jpg","text":"TemporaryFile(/tmp/multipartBody8325706439099545503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412343234,"filename":"image_29112025_11_28_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/11/29/ae0b3bc11f16d532f63faf8d588a37cf.jpg","text":"TemporaryFile(/tmp/multipartBody2070150322901592105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412343234,"filename":"image_29112025_11_28_24_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870423","file1":"1396870420","file0":"1396870415","file4":"1396870429","file5":"1396870432","file3":"1396870426"},"map_files_photo_id_array":[{"photo_id":"1396870432","filename":"file5"},{"photo_id":"1396870423","filename":"file2"},{"photo_id":"1396870429","filename":"file4"},{"photo_id":"1396870420","filename":"file1"},{"photo_id":"1396870415","filename":"file0"},{"photo_id":"1396870426","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870415":["hashtag1","hashtag2"]},{"1396870432":["hashtag1","hashtag2"]},{"1396870426":["hashtag1","hashtag2"]},{"1396870429":["hashtag1","hashtag2"]},{"1396870420":["hashtag1","hashtag2"]},{"1396870423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870415, 1396870432, 1396870426, 1396870429, 1396870420, 1396870423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63242506980896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:32:02.904255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/28/image_29112025_11_29_05_9696.jpg', '/home/pi/Desktop/images/29112025/11/29/image_29112025_11_29_15_9651.jpg', '/home/pi/Desktop/images/29112025/11/29/image_29112025_11_29_25_10582.jpg', '/home/pi/Desktop/images/29112025/11/29/image_29112025_11_29_35_9614.jpg', '/home/pi/Desktop/images/29112025/11/29/image_29112025_11_29_44_9592.jpg', '/home/pi/Desktop/images/29112025/11/29/image_29112025_11_29_55_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/28/image_29112025_11_29_05_9696.jpg
/home/pi/Desktop/images/29112025/11/29/image_29112025_11_29_15_9651.jpg
/home/pi/Desktop/images/29112025/11/29/image_29112025_11_29_25_10582.jpg
/home/pi/Desktop/images/29112025/11/29/image_29112025_11_29_35_9614.jpg
/home/pi/Desktop/images/29112025/11/29/image_29112025_11_29_44_9592.jpg
/home/pi/Desktop/images/29112025/11/29/image_29112025_11_29_55_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870437","1396870436","1396870439","1396870444","1396870438","1396870441"],"photo_ids_order":["1396870436","1396870437","1396870438","1396870439","1396870441","1396870444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb11e49a965098ab0b6d2e7346f4eb5b.jpg","text":"TemporaryFile(/tmp/multipartBody4600079475811636042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412383649,"filename":"image_29112025_11_29_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff634ef2932baf0c6d1794a669a08a9f.jpg","text":"TemporaryFile(/tmp/multipartBody70730630896208402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412383649,"filename":"image_29112025_11_29_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/11/29/a005350b43f6bf396fa9c212e9a5f400.jpg","text":"TemporaryFile(/tmp/multipartBody263480648652951264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412383649,"filename":"image_29112025_11_29_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/11/29/17d8ba1abd449f4582c95a1c67114872.jpg","text":"TemporaryFile(/tmp/multipartBody6171067473394838553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412383649,"filename":"image_29112025_11_29_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f1d30572b9daef55a5aae21923de0b1.jpg","text":"TemporaryFile(/tmp/multipartBody4646086050317242693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412383649,"filename":"image_29112025_11_29_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/11/29/dff28f80949e177045f64b4ace66b4a4.jpg","text":"TemporaryFile(/tmp/multipartBody32432164240294131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412383649,"filename":"image_29112025_11_29_44_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870438","file1":"1396870437","file0":"1396870436","file4":"1396870441","file5":"1396870444","file3":"1396870439"},"map_files_photo_id_array":[{"photo_id":"1396870444","filename":"file5"},{"photo_id":"1396870438","filename":"file2"},{"photo_id":"1396870441","filename":"file4"},{"photo_id":"1396870437","filename":"file1"},{"photo_id":"1396870436","filename":"file0"},{"photo_id":"1396870439","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870437":["hashtag1","hashtag2"]},{"1396870436":["hashtag1","hashtag2"]},{"1396870439":["hashtag1","hashtag2"]},{"1396870444":["hashtag1","hashtag2"]},{"1396870438":["hashtag1","hashtag2"]},{"1396870441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870437, 1396870436, 1396870439, 1396870444, 1396870438, 1396870441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90316557884216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:32:42.617009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_03_2965.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_05_2674.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_10_4459.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_13_2984.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_16_2817.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_17_1791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_03_2965.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_05_2674.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_10_4459.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_13_2984.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_16_2817.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_17_1791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870458","1396870460","1396870454","1396870457","1396870456","1396870461"],"photo_ids_order":["1396870454","1396870456","1396870457","1396870458","1396870460","1396870461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8bf07491bada5cc6b8037e53a2891bc.jpg","text":"TemporaryFile(/tmp/multipartBody4159746994736182074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412423782,"filename":"image_31102025_09_27_13_2984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5e1583e4ce42f2d803d9521ce83840d.jpg","text":"TemporaryFile(/tmp/multipartBody7302394418111124180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412423782,"filename":"image_31102025_09_27_16_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/142644d812738969637fbc6dcb9b9470.jpg","text":"TemporaryFile(/tmp/multipartBody8457366340527673212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412423782,"filename":"image_31102025_09_27_03_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68172e4ef5ef58361f31caa764a79a42.jpg","text":"TemporaryFile(/tmp/multipartBody702026083326422579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412423782,"filename":"image_31102025_09_27_10_4459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9abe7e3d596da2939025240c26b36bbf.jpg","text":"TemporaryFile(/tmp/multipartBody9203541452074821533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412423782,"filename":"image_31102025_09_27_05_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6c53fdccaa7f49da069d2b93aa64a99.jpg","text":"TemporaryFile(/tmp/multipartBody2436623317040247586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412423782,"filename":"image_31102025_09_27_17_1791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870457","file1":"1396870456","file0":"1396870454","file4":"1396870460","file5":"1396870461","file3":"1396870458"},"map_files_photo_id_array":[{"photo_id":"1396870461","filename":"file5"},{"photo_id":"1396870457","filename":"file2"},{"photo_id":"1396870460","filename":"file4"},{"photo_id":"1396870456","filename":"file1"},{"photo_id":"1396870454","filename":"file0"},{"photo_id":"1396870458","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870458":["hashtag1","hashtag2"]},{"1396870460":["hashtag1","hashtag2"]},{"1396870454":["hashtag1","hashtag2"]},{"1396870457":["hashtag1","hashtag2"]},{"1396870456":["hashtag1","hashtag2"]},{"1396870461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870458, 1396870460, 1396870454, 1396870457, 1396870456, 1396870461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33701705932617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:33:22.780081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/30/image_29112025_11_30_14_10059.jpg', '/home/pi/Desktop/images/29112025/11/30/image_29112025_11_30_25_10643.jpg', '/home/pi/Desktop/images/29112025/11/30/image_29112025_11_30_34_9732.jpg', '/home/pi/Desktop/images/29112025/11/30/image_29112025_11_30_44_9705.jpg', '/home/pi/Desktop/images/29112025/11/30/image_29112025_11_30_55_10705.jpg', '/home/pi/Desktop/images/29112025/11/30/image_29112025_11_31_04_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/30/image_29112025_11_30_14_10059.jpg
/home/pi/Desktop/images/29112025/11/30/image_29112025_11_30_25_10643.jpg
/home/pi/Desktop/images/29112025/11/30/image_29112025_11_30_34_9732.jpg
/home/pi/Desktop/images/29112025/11/30/image_29112025_11_30_44_9705.jpg
/home/pi/Desktop/images/29112025/11/30/image_29112025_11_30_55_10705.jpg
/home/pi/Desktop/images/29112025/11/30/image_29112025_11_31_04_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870478","1396870474","1396870477","1396870471","1396870465","1396870468"],"photo_ids_order":["1396870465","1396870468","1396870471","1396870474","1396870477","1396870478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83d5ab893f19297db727b369b183a377.jpg","text":"TemporaryFile(/tmp/multipartBody2886209691459477551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412463538,"filename":"image_29112025_11_31_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/11/29/33355a51d37d63622123609649daa0b1.jpg","text":"TemporaryFile(/tmp/multipartBody5818157536418069075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412463538,"filename":"image_29112025_11_30_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/11/29/4002ca20c7745f2392f027ae81d24caa.jpg","text":"TemporaryFile(/tmp/multipartBody4618041843775041770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412463538,"filename":"image_29112025_11_30_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/11/29/75b249c3ca0a11f8d4049a5658fd95bd.jpg","text":"TemporaryFile(/tmp/multipartBody3210439517315603074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412463538,"filename":"image_29112025_11_30_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/11/29/edc2b99cb6451bc5f211ab253ed22979.jpg","text":"TemporaryFile(/tmp/multipartBody4505769043701760617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412463538,"filename":"image_29112025_11_30_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a97f8515a3e0d4cf9e74e2467c4962d9.jpg","text":"TemporaryFile(/tmp/multipartBody436065229821106128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412463538,"filename":"image_29112025_11_30_25_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870471","file1":"1396870468","file0":"1396870465","file4":"1396870477","file5":"1396870478","file3":"1396870474"},"map_files_photo_id_array":[{"photo_id":"1396870478","filename":"file5"},{"photo_id":"1396870471","filename":"file2"},{"photo_id":"1396870477","filename":"file4"},{"photo_id":"1396870468","filename":"file1"},{"photo_id":"1396870465","filename":"file0"},{"photo_id":"1396870474","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870478":["hashtag1","hashtag2"]},{"1396870474":["hashtag1","hashtag2"]},{"1396870477":["hashtag1","hashtag2"]},{"1396870471":["hashtag1","hashtag2"]},{"1396870465":["hashtag1","hashtag2"]},{"1396870468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870478, 1396870474, 1396870477, 1396870471, 1396870465, 1396870468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10326266288757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:34:02.763546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/31/image_29112025_11_31_14_9762.jpg', '/home/pi/Desktop/images/29112025/11/31/image_29112025_11_31_24_9824.jpg', '/home/pi/Desktop/images/29112025/11/31/image_29112025_11_31_35_10559.jpg', '/home/pi/Desktop/images/29112025/11/31/image_29112025_11_31_44_9651.jpg', '/home/pi/Desktop/images/29112025/11/31/image_29112025_11_31_55_10584.jpg', '/home/pi/Desktop/images/29112025/11/31/image_29112025_11_32_04_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/31/image_29112025_11_31_14_9762.jpg
/home/pi/Desktop/images/29112025/11/31/image_29112025_11_31_24_9824.jpg
/home/pi/Desktop/images/29112025/11/31/image_29112025_11_31_35_10559.jpg
/home/pi/Desktop/images/29112025/11/31/image_29112025_11_31_44_9651.jpg
/home/pi/Desktop/images/29112025/11/31/image_29112025_11_31_55_10584.jpg
/home/pi/Desktop/images/29112025/11/31/image_29112025_11_32_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":["1396870481","1396870484","1396870487","1396870480","1396870479","1396870482"],"photo_ids_order":["1396870479","1396870480","1396870481","1396870482","1396870484","1396870487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f0f26387314567028831397abdacb91.jpg","text":"TemporaryFile(/tmp/multipartBody834625731759332658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412503528,"filename":"image_29112025_11_31_35_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17bf142e736eded8c62eb44b98698c98.jpg","text":"TemporaryFile(/tmp/multipartBody1265223264958872907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412503528,"filename":"image_29112025_11_31_55_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47336178cf0a0f927bc58798204992a6.jpg","text":"TemporaryFile(/tmp/multipartBody8058719596739560787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412503528,"filename":"image_29112025_11_32_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/11/29/5b733428b2fb5eeef8c1d7e8de168df0.jpg","text":"TemporaryFile(/tmp/multipartBody2938329475520756061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412503528,"filename":"image_29112025_11_31_24_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42cca1fd8264a15bf8aae811a029d2e1.jpg","text":"TemporaryFile(/tmp/multipartBody471552919948075236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412503528,"filename":"image_29112025_11_31_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b60789674ee50cc84cadb59d4030ded.jpg","text":"TemporaryFile(/tmp/multipartBody8240904912442618685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412503528,"filename":"image_29112025_11_31_44_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870481","file1":"1396870480","file0":"1396870479","file4":"1396870484","file5":"1396870487","file3":"1396870482"},"map_files_photo_id_array":[{"photo_id":"1396870487","filename":"file5"},{"photo_id":"1396870481","filename":"file2"},{"photo_id":"1396870484","filename":"file4"},{"photo_id":"1396870480","filename":"file1"},{"photo_id":"1396870479","filename":"file0"},{"photo_id":"1396870482","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870481":["hashtag1","hashtag2"]},{"1396870484":["hashtag1","hashtag2"]},{"1396870487":["hashtag1","hashtag2"]},{"1396870480":["hashtag1","hashtag2"]},{"1396870479":["hashtag1","hashtag2"]},{"1396870482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870481, 1396870484, 1396870487, 1396870480, 1396870479, 1396870482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.149218797683716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:34:42.120844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_27_9934.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_29_1651.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_31_1808.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_35_4322.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_37_1586.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_38_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_27_9934.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_29_1651.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_31_1808.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_35_4322.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_37_1586.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_38_1641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870503","1396870496","1396870499","1396870505","1396870507","1396870501"],"photo_ids_order":["1396870496","1396870499","1396870501","1396870503","1396870505","1396870507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bdd7c9c1d251f06261f9659870918bf.jpg","text":"TemporaryFile(/tmp/multipartBody3652678514326505145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412543286,"filename":"image_31102025_09_27_35_4322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f741f8d64e38609839c24444207b2e36.jpg","text":"TemporaryFile(/tmp/multipartBody3149158384726818289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412543286,"filename":"image_31102025_09_27_27_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9fd43f634ffa66cbc63fe4c0989d50f4.jpg","text":"TemporaryFile(/tmp/multipartBody5762971278944080253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412543286,"filename":"image_31102025_09_27_29_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c98192ed9b05c23d210bbe49ecc48364.jpg","text":"TemporaryFile(/tmp/multipartBody5204519771783555701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412543286,"filename":"image_31102025_09_27_37_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bb3b742d24e8aa60476b2f60c752bba.jpg","text":"TemporaryFile(/tmp/multipartBody1915707684789082725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412543286,"filename":"image_31102025_09_27_38_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c6df0f193ea72f20c080d0112e1a648.jpg","text":"TemporaryFile(/tmp/multipartBody2735292074527030373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412543286,"filename":"image_31102025_09_27_31_1808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870501","file1":"1396870499","file0":"1396870496","file4":"1396870505","file5":"1396870507","file3":"1396870503"},"map_files_photo_id_array":[{"photo_id":"1396870507","filename":"file5"},{"photo_id":"1396870501","filename":"file2"},{"photo_id":"1396870505","filename":"file4"},{"photo_id":"1396870499","filename":"file1"},{"photo_id":"1396870496","filename":"file0"},{"photo_id":"1396870503","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870503":["hashtag1","hashtag2"]},{"1396870496":["hashtag1","hashtag2"]},{"1396870499":["hashtag1","hashtag2"]},{"1396870505":["hashtag1","hashtag2"]},{"1396870507":["hashtag1","hashtag2"]},{"1396870501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870503, 1396870496, 1396870499, 1396870505, 1396870507, 1396870501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09221124649048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:35:22.321162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_14_9556.jpg', '/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_25_10781.jpg', '/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_35_9908.jpg', '/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_44_9683.jpg', '/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_54_9633.jpg', '/home/pi/Desktop/images/29112025/11/32/image_29112025_11_33_05_10774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_14_9556.jpg
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_25_10781.jpg
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_35_9908.jpg
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_44_9683.jpg
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_54_9633.jpg
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_33_05_10774.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6228148937225342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:35:32.321007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_30_2591.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_33_3663.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_38_2704.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_42_3681.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_45_2762.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_48_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_30_2591.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_33_3663.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_38_2704.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_42_3681.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_45_2762.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_48_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":["1396870524","1396870533","1396870532","1396870531","1396870519","1396870528"],"photo_ids_order":["1396870519","1396870524","1396870528","1396870531","1396870532","1396870533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a21bd351ef03df62ad41363604b77e66.jpg","text":"TemporaryFile(/tmp/multipartBody8453763521122125070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412594550,"filename":"image_25112025_18_20_33_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f3763af7cb525efc7b528167427c70e.jpg","text":"TemporaryFile(/tmp/multipartBody8217552064019165545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412594550,"filename":"image_25112025_18_20_48_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d19b3ca2007d62091f52f50ff0f16b72.jpg","text":"TemporaryFile(/tmp/multipartBody6276506539431330441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412594550,"filename":"image_25112025_18_20_45_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5fe1cb2bf4da3ac2a1af449c947efbd8.jpg","text":"TemporaryFile(/tmp/multipartBody6591003688474761293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412594550,"filename":"image_25112025_18_20_42_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4331e32586fe47a520f8490a3b7a515.jpg","text":"TemporaryFile(/tmp/multipartBody793108507323862454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412594550,"filename":"image_25112025_18_20_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/11/29/afcccf5fc459a1b14d680fb80f15ed0d.jpg","text":"TemporaryFile(/tmp/multipartBody6202317203145228898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412594550,"filename":"image_25112025_18_20_38_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870528","file1":"1396870524","file0":"1396870519","file4":"1396870532","file5":"1396870533","file3":"1396870531"},"map_files_photo_id_array":[{"photo_id":"1396870533","filename":"file5"},{"photo_id":"1396870528","filename":"file2"},{"photo_id":"1396870532","filename":"file4"},{"photo_id":"1396870524","filename":"file1"},{"photo_id":"1396870519","filename":"file0"},{"photo_id":"1396870531","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396870524":["hashtag1","hashtag2"]},{"1396870533":["hashtag1","hashtag2"]},{"1396870532":["hashtag1","hashtag2"]},{"1396870531":["hashtag1","hashtag2"]},{"1396870519":["hashtag1","hashtag2"]},{"1396870528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396870524, 1396870533, 1396870532, 1396870531, 1396870519, 1396870528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.292818784713745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:36:12.490211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_51_3594.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_54_2641.jpg', '/home/pi/Desktop/images/25112025/18/20/image_25112025_18_21_00_3678.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_03_2771.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_06_2660.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_09_3777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_51_3594.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_20_54_2641.jpg
/home/pi/Desktop/images/25112025/18/20/image_25112025_18_21_00_3678.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_03_2771.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_06_2660.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_09_3777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870542","1396870536","1396870545","1396870539","1396870534","1396870548"],"photo_ids_order":["1396870534","1396870536","1396870539","1396870542","1396870545","1396870548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b38181695a65b0363514caff96755001.jpg","text":"TemporaryFile(/tmp/multipartBody8402897656716063208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412634624,"filename":"image_25112025_18_21_03_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c769d8a1551145bf61db97503d0a192.jpg","text":"TemporaryFile(/tmp/multipartBody7152555442976964141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412634624,"filename":"image_25112025_18_20_54_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95260d14d9014cb065037e640bff2a09.jpg","text":"TemporaryFile(/tmp/multipartBody7182277793112317309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412634624,"filename":"image_25112025_18_21_06_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e95fc5d1aeb940741963be4d832bb8d.jpg","text":"TemporaryFile(/tmp/multipartBody3144668636236649197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412634624,"filename":"image_25112025_18_21_00_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2b7926895a0ce9940a6cdb937e8685c.jpg","text":"TemporaryFile(/tmp/multipartBody5493874112376686355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412634624,"filename":"image_25112025_18_20_51_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f68adca4562fcb945fe57874876b2be.jpg","text":"TemporaryFile(/tmp/multipartBody4607394511107365638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412634624,"filename":"image_25112025_18_21_09_3777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870539","file1":"1396870536","file0":"1396870534","file4":"1396870545","file5":"1396870548","file3":"1396870542"},"map_files_photo_id_array":[{"photo_id":"1396870548","filename":"file5"},{"photo_id":"1396870539","filename":"file2"},{"photo_id":"1396870545","filename":"file4"},{"photo_id":"1396870536","filename":"file1"},{"photo_id":"1396870534","filename":"file0"},{"photo_id":"1396870542","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396870542":["hashtag1","hashtag2"]},{"1396870536":["hashtag1","hashtag2"]},{"1396870545":["hashtag1","hashtag2"]},{"1396870539":["hashtag1","hashtag2"]},{"1396870534":["hashtag1","hashtag2"]},{"1396870548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396870542, 1396870536, 1396870545, 1396870539, 1396870534, 1396870548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.011996030807495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:37:03.480867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_14_9556.jpg', '/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_25_10781.jpg', '/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_35_9908.jpg', '/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_44_9683.jpg', '/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_54_9633.jpg', '/home/pi/Desktop/images/29112025/11/32/image_29112025_11_33_05_10774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_14_9556.jpg
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_25_10781.jpg
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_35_9908.jpg
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_44_9683.jpg
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_32_54_9633.jpg
/home/pi/Desktop/images/29112025/11/32/image_29112025_11_33_05_10774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870553","1396870556","1396870561","1396870555","1396870558","1396870554"],"photo_ids_order":["1396870553","1396870554","1396870555","1396870556","1396870558","1396870561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16ec2fc8ff0ba6071f7a7968903d0d28.jpg","text":"TemporaryFile(/tmp/multipartBody7194079556927289729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412684273,"filename":"image_29112025_11_32_14_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7bc5f715195ee668f67ba942b58805d1.jpg","text":"TemporaryFile(/tmp/multipartBody3712938748930794728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412684273,"filename":"image_29112025_11_32_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/11/29/4fbf8d8c093e0d0b2f3cd44f4e36e43d.jpg","text":"TemporaryFile(/tmp/multipartBody184430796153310369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412684273,"filename":"image_29112025_11_33_05_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f7a5b8b6b0cdd3771c5644755d0d6fd.jpg","text":"TemporaryFile(/tmp/multipartBody5775991577193148699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412684273,"filename":"image_29112025_11_32_35_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9665b08b1f7a447e0addf37ebb75f8e0.jpg","text":"TemporaryFile(/tmp/multipartBody5459127313694454894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412684273,"filename":"image_29112025_11_32_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc44dec010e1f8dce3a378a7f18ce93f.jpg","text":"TemporaryFile(/tmp/multipartBody5880810857635093715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412684273,"filename":"image_29112025_11_32_25_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870555","file1":"1396870554","file0":"1396870553","file4":"1396870558","file5":"1396870561","file3":"1396870556"},"map_files_photo_id_array":[{"photo_id":"1396870561","filename":"file5"},{"photo_id":"1396870555","filename":"file2"},{"photo_id":"1396870558","filename":"file4"},{"photo_id":"1396870554","filename":"file1"},{"photo_id":"1396870553","filename":"file0"},{"photo_id":"1396870556","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870553":["hashtag1","hashtag2"]},{"1396870556":["hashtag1","hashtag2"]},{"1396870561":["hashtag1","hashtag2"]},{"1396870555":["hashtag1","hashtag2"]},{"1396870558":["hashtag1","hashtag2"]},{"1396870554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870553, 1396870556, 1396870561, 1396870555, 1396870558, 1396870554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73788833618164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:37:42.679577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_40_1753.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_42_1675.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_46_4110.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_48_1703.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_50_2694.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_54_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/09/27/image_31102025_09_27_40_1753.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_42_1675.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_46_4110.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_48_1703.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_50_2694.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_54_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":["1396870574","1396870573","1396870576","1396870570","1396870572","1396870575"],"photo_ids_order":["1396870570","1396870572","1396870573","1396870574","1396870575","1396870576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c70e5afb41dfd2e54b969285937cb47e.jpg","text":"TemporaryFile(/tmp/multipartBody9056245586712484106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412723803,"filename":"image_31102025_09_27_48_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf73413eb907294324f515dc76c7be5a.jpg","text":"TemporaryFile(/tmp/multipartBody6412270488828707472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412723803,"filename":"image_31102025_09_27_46_4110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10e7e1fc7f15bd47686203a435e9b873.jpg","text":"TemporaryFile(/tmp/multipartBody224628269410502895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412723803,"filename":"image_31102025_09_27_54_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76fc1638ccf25e58097ca00d6250e0c4.jpg","text":"TemporaryFile(/tmp/multipartBody4783855930147405243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412723803,"filename":"image_31102025_09_27_40_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee50754f6cf9df7d7ee091eba1cca8b1.jpg","text":"TemporaryFile(/tmp/multipartBody1058130197162867573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412723803,"filename":"image_31102025_09_27_42_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18fed6d03650d0af0ed852d7f7aa698b.jpg","text":"TemporaryFile(/tmp/multipartBody5440554969706854186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412723803,"filename":"image_31102025_09_27_50_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870573","file1":"1396870572","file0":"1396870570","file4":"1396870575","file5":"1396870576","file3":"1396870574"},"map_files_photo_id_array":[{"photo_id":"1396870576","filename":"file5"},{"photo_id":"1396870573","filename":"file2"},{"photo_id":"1396870575","filename":"file4"},{"photo_id":"1396870572","filename":"file1"},{"photo_id":"1396870570","filename":"file0"},{"photo_id":"1396870574","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870574":["hashtag1","hashtag2"]},{"1396870573":["hashtag1","hashtag2"]},{"1396870576":["hashtag1","hashtag2"]},{"1396870570":["hashtag1","hashtag2"]},{"1396870572":["hashtag1","hashtag2"]},{"1396870575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870574, 1396870573, 1396870576, 1396870570, 1396870572, 1396870575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83622717857361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:38:21.885708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/33/image_29112025_11_33_14_9640.jpg', '/home/pi/Desktop/images/29112025/11/33/image_29112025_11_33_24_9692.jpg', '/home/pi/Desktop/images/29112025/11/33/image_29112025_11_33_44_9610.jpg', '/home/pi/Desktop/images/29112025/11/33/image_29112025_11_33_54_9690.jpg', '/home/pi/Desktop/images/29112025/11/33/image_29112025_11_34_05_10813.jpg', '/home/pi/Desktop/images/29112025/11/34/image_29112025_11_34_15_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/33/image_29112025_11_33_14_9640.jpg
/home/pi/Desktop/images/29112025/11/33/image_29112025_11_33_24_9692.jpg
/home/pi/Desktop/images/29112025/11/33/image_29112025_11_33_44_9610.jpg
/home/pi/Desktop/images/29112025/11/33/image_29112025_11_33_54_9690.jpg
/home/pi/Desktop/images/29112025/11/33/image_29112025_11_34_05_10813.jpg
/home/pi/Desktop/images/29112025/11/34/image_29112025_11_34_15_9873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870591","1396870588","1396870582","1396870585","1396870579","1396870593"],"photo_ids_order":["1396870579","1396870582","1396870585","1396870588","1396870591","1396870593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cc2028a2831e91a010710372538e8aa.jpg","text":"TemporaryFile(/tmp/multipartBody1242462167220796107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412762608,"filename":"image_29112025_11_34_05_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25c292c12ee5d441bd14cda64bc736c5.jpg","text":"TemporaryFile(/tmp/multipartBody7696242864243345783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412762608,"filename":"image_29112025_11_33_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/11/29/38467912bb7c56ee6b95bfb46c471497.jpg","text":"TemporaryFile(/tmp/multipartBody5849182905398084062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412762608,"filename":"image_29112025_11_33_24_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84f8be2b7e563706d3f81626518ce654.jpg","text":"TemporaryFile(/tmp/multipartBody4358194615261934362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412762608,"filename":"image_29112025_11_33_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/11/29/27eb51eff48ba67185aad1060063ec8b.jpg","text":"TemporaryFile(/tmp/multipartBody7870893261468135435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412762608,"filename":"image_29112025_11_33_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c650e00075d1a507763b828dac7fed6.jpg","text":"TemporaryFile(/tmp/multipartBody8302100931910543108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412762608,"filename":"image_29112025_11_34_15_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870585","file1":"1396870582","file0":"1396870579","file4":"1396870591","file5":"1396870593","file3":"1396870588"},"map_files_photo_id_array":[{"photo_id":"1396870593","filename":"file5"},{"photo_id":"1396870585","filename":"file2"},{"photo_id":"1396870591","filename":"file4"},{"photo_id":"1396870582","filename":"file1"},{"photo_id":"1396870579","filename":"file0"},{"photo_id":"1396870588","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870591":["hashtag1","hashtag2"]},{"1396870588":["hashtag1","hashtag2"]},{"1396870582":["hashtag1","hashtag2"]},{"1396870585":["hashtag1","hashtag2"]},{"1396870579":["hashtag1","hashtag2"]},{"1396870593":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870591, 1396870588, 1396870582, 1396870585, 1396870579, 1396870593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.918171644210815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:39:03.014998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/34/image_29112025_11_34_24_9704.jpg', '/home/pi/Desktop/images/29112025/11/34/image_29112025_11_34_34_9664.jpg', '/home/pi/Desktop/images/29112025/11/34/image_29112025_11_34_44_9835.jpg', '/home/pi/Desktop/images/29112025/11/34/image_29112025_11_34_55_10632.jpg', '/home/pi/Desktop/images/29112025/11/35/image_29112025_11_35_14_10060.jpg', '/home/pi/Desktop/images/29112025/11/35/image_29112025_11_35_25_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/34/image_29112025_11_34_24_9704.jpg
/home/pi/Desktop/images/29112025/11/34/image_29112025_11_34_34_9664.jpg
/home/pi/Desktop/images/29112025/11/34/image_29112025_11_34_44_9835.jpg
/home/pi/Desktop/images/29112025/11/34/image_29112025_11_34_55_10632.jpg
/home/pi/Desktop/images/29112025/11/35/image_29112025_11_35_14_10060.jpg
/home/pi/Desktop/images/29112025/11/35/image_29112025_11_35_25_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870595","1396870598","1396870601","1396870597","1396870606","1396870596"],"photo_ids_order":["1396870595","1396870596","1396870597","1396870598","1396870601","1396870606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf257298521cc1968d7bcf1b69428cc6.jpg","text":"TemporaryFile(/tmp/multipartBody7294339066551164399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412803865,"filename":"image_29112025_11_34_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/11/29/9d97144eded6891d922744acbe5c5a19.jpg","text":"TemporaryFile(/tmp/multipartBody7901618177324982790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412803865,"filename":"image_29112025_11_34_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/11/29/953bee5314dd7015115a1f5df8e4cfe7.jpg","text":"TemporaryFile(/tmp/multipartBody306009421375452255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412803865,"filename":"image_29112025_11_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/11/29/8c5d46bb7f7dd40e95a6d905e02dbb4b.jpg","text":"TemporaryFile(/tmp/multipartBody5181516835055045797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412803865,"filename":"image_29112025_11_34_44_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a0e01acd0ece7a0851bf261974b8d5d.jpg","text":"TemporaryFile(/tmp/multipartBody1104111043906864673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412803865,"filename":"image_29112025_11_35_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/11/29/8f0d8e97731e7dd0231c0d2ea145d853.jpg","text":"TemporaryFile(/tmp/multipartBody1767180808135139694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412803865,"filename":"image_29112025_11_34_34_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870597","file1":"1396870596","file0":"1396870595","file4":"1396870601","file5":"1396870606","file3":"1396870598"},"map_files_photo_id_array":[{"photo_id":"1396870606","filename":"file5"},{"photo_id":"1396870597","filename":"file2"},{"photo_id":"1396870601","filename":"file4"},{"photo_id":"1396870596","filename":"file1"},{"photo_id":"1396870595","filename":"file0"},{"photo_id":"1396870598","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870595":["hashtag1","hashtag2"]},{"1396870598":["hashtag1","hashtag2"]},{"1396870601":["hashtag1","hashtag2"]},{"1396870597":["hashtag1","hashtag2"]},{"1396870606":["hashtag1","hashtag2"]},{"1396870596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870595, 1396870598, 1396870601, 1396870597, 1396870606, 1396870596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72352409362793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:39:42.130785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_56_2614.jpg', '/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_59_2779.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_02_2691.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_06_3770.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_10_4288.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_12_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_56_2614.jpg
/home/pi/Desktop/images/31102025/09/27/image_31102025_09_27_59_2779.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_02_2691.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_06_3770.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_10_4288.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_12_1688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870662","1396870661","1396870658","1396870637","1396870660","1396870659"],"photo_ids_order":["1396870637","1396870658","1396870659","1396870660","1396870661","1396870662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b03e5431a7aa74a94efd9ab92ce2679.jpg","text":"TemporaryFile(/tmp/multipartBody5502227766391701156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412843233,"filename":"image_31102025_09_28_12_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99aeb24f3fcb8bc6ca4d25eaaf0bbe75.jpg","text":"TemporaryFile(/tmp/multipartBody5369802833463058680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412843233,"filename":"image_31102025_09_28_10_4288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d059955d7519f022d5ce74c544a9ed6.jpg","text":"TemporaryFile(/tmp/multipartBody6423039393790276735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412843233,"filename":"image_31102025_09_27_59_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d13dd44dea1bb335d252a8e4d778dc5f.jpg","text":"TemporaryFile(/tmp/multipartBody887206759300839964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412843233,"filename":"image_31102025_09_27_56_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f7a494705242f3799b71f3d8e5cd8e5.jpg","text":"TemporaryFile(/tmp/multipartBody3532976736847770559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412843233,"filename":"image_31102025_09_28_06_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5be0ad99f968eb9318edc2f1fa62f23e.jpg","text":"TemporaryFile(/tmp/multipartBody18477386595129719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412843233,"filename":"image_31102025_09_28_02_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870659","file1":"1396870658","file0":"1396870637","file4":"1396870661","file5":"1396870662","file3":"1396870660"},"map_files_photo_id_array":[{"photo_id":"1396870662","filename":"file5"},{"photo_id":"1396870659","filename":"file2"},{"photo_id":"1396870661","filename":"file4"},{"photo_id":"1396870658","filename":"file1"},{"photo_id":"1396870637","filename":"file0"},{"photo_id":"1396870660","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870662":["hashtag1","hashtag2"]},{"1396870661":["hashtag1","hashtag2"]},{"1396870658":["hashtag1","hashtag2"]},{"1396870637":["hashtag1","hashtag2"]},{"1396870660":["hashtag1","hashtag2"]},{"1396870659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870662, 1396870661, 1396870658, 1396870637, 1396870660, 1396870659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91443490982056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:40:22.280482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/35/image_29112025_11_35_34_9587.jpg', '/home/pi/Desktop/images/29112025/11/35/image_29112025_11_35_45_10552.jpg', '/home/pi/Desktop/images/29112025/11/35/image_29112025_11_35_54_9602.jpg', '/home/pi/Desktop/images/29112025/11/35/image_29112025_11_36_04_9713.jpg', '/home/pi/Desktop/images/29112025/11/36/image_29112025_11_36_15_10718.jpg', '/home/pi/Desktop/images/29112025/11/36/image_29112025_11_36_24_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/35/image_29112025_11_35_34_9587.jpg
/home/pi/Desktop/images/29112025/11/35/image_29112025_11_35_45_10552.jpg
/home/pi/Desktop/images/29112025/11/35/image_29112025_11_35_54_9602.jpg
/home/pi/Desktop/images/29112025/11/35/image_29112025_11_36_04_9713.jpg
/home/pi/Desktop/images/29112025/11/36/image_29112025_11_36_15_10718.jpg
/home/pi/Desktop/images/29112025/11/36/image_29112025_11_36_24_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":["1396870672","1396870666","1396870681","1396870675","1396870669","1396870678"],"photo_ids_order":["1396870666","1396870669","1396870672","1396870675","1396870678","1396870681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/075ee2bb86585c1e0120cf43f87d0d1a.jpg","text":"TemporaryFile(/tmp/multipartBody381819040238820780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412883011,"filename":"image_29112025_11_35_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/11/29/da32be87cf87c375b79c49fab920e64c.jpg","text":"TemporaryFile(/tmp/multipartBody4201559542539881901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412883011,"filename":"image_29112025_11_35_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/11/29/3c7d799f2d4994e3d4ed724b0ead5ad8.jpg","text":"TemporaryFile(/tmp/multipartBody648395371826884866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412883011,"filename":"image_29112025_11_36_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/11/29/b4e9905551ac3685039ce057ee877446.jpg","text":"TemporaryFile(/tmp/multipartBody7168971368514189789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412883011,"filename":"image_29112025_11_36_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/11/29/c333615e3f38c403d241e18c42a7267a.jpg","text":"TemporaryFile(/tmp/multipartBody7506619281501231049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412883011,"filename":"image_29112025_11_35_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/11/29/e28a1665b3b96f1dc466f910480b08ac.jpg","text":"TemporaryFile(/tmp/multipartBody2962318293598877118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412883011,"filename":"image_29112025_11_36_15_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870672","file1":"1396870669","file0":"1396870666","file4":"1396870678","file5":"1396870681","file3":"1396870675"},"map_files_photo_id_array":[{"photo_id":"1396870681","filename":"file5"},{"photo_id":"1396870672","filename":"file2"},{"photo_id":"1396870678","filename":"file4"},{"photo_id":"1396870669","filename":"file1"},{"photo_id":"1396870666","filename":"file0"},{"photo_id":"1396870675","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870672":["hashtag1","hashtag2"]},{"1396870666":["hashtag1","hashtag2"]},{"1396870681":["hashtag1","hashtag2"]},{"1396870675":["hashtag1","hashtag2"]},{"1396870669":["hashtag1","hashtag2"]},{"1396870678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870672, 1396870666, 1396870681, 1396870675, 1396870669, 1396870678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43341588973999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:41:03.125276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/36/image_29112025_11_36_34_9677.jpg', '/home/pi/Desktop/images/29112025/11/36/image_29112025_11_36_45_10680.jpg', '/home/pi/Desktop/images/29112025/11/36/image_29112025_11_36_54_9650.jpg', '/home/pi/Desktop/images/29112025/11/36/image_29112025_11_37_04_10045.jpg', '/home/pi/Desktop/images/29112025/11/37/image_29112025_11_37_35_10838.jpg', '/home/pi/Desktop/images/29112025/11/37/image_29112025_11_37_45_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/36/image_29112025_11_36_34_9677.jpg
/home/pi/Desktop/images/29112025/11/36/image_29112025_11_36_45_10680.jpg
/home/pi/Desktop/images/29112025/11/36/image_29112025_11_36_54_9650.jpg
/home/pi/Desktop/images/29112025/11/36/image_29112025_11_37_04_10045.jpg
/home/pi/Desktop/images/29112025/11/37/image_29112025_11_37_35_10838.jpg
/home/pi/Desktop/images/29112025/11/37/image_29112025_11_37_45_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":["1396870682","1396870685","1396870690","1396870684","1396870687","1396870683"],"photo_ids_order":["1396870682","1396870683","1396870684","1396870685","1396870687","1396870690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86f0999e54e3e958e54a1f7453713a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2906605067676056203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412923997,"filename":"image_29112025_11_36_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9e393d8761e2a35bfb7313e820c8695.jpg","text":"TemporaryFile(/tmp/multipartBody3042976540253797537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412923997,"filename":"image_29112025_11_37_04_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d1efc0da851fd85928effb24c8772c1.jpg","text":"TemporaryFile(/tmp/multipartBody6815559826102134508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412923997,"filename":"image_29112025_11_37_45_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93cc2798b91803e28ec433c84d6cc376.jpg","text":"TemporaryFile(/tmp/multipartBody2353266366043980750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412923997,"filename":"image_29112025_11_36_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/11/29/e858e7105234ca0c1b505fab5b91a876.jpg","text":"TemporaryFile(/tmp/multipartBody5360057032313601257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412923997,"filename":"image_29112025_11_37_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/11/29/745b4d0c704d576425769c6eda4fd2a7.jpg","text":"TemporaryFile(/tmp/multipartBody4335968519624137331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412923997,"filename":"image_29112025_11_36_45_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870684","file1":"1396870683","file0":"1396870682","file4":"1396870687","file5":"1396870690","file3":"1396870685"},"map_files_photo_id_array":[{"photo_id":"1396870690","filename":"file5"},{"photo_id":"1396870684","filename":"file2"},{"photo_id":"1396870687","filename":"file4"},{"photo_id":"1396870683","filename":"file1"},{"photo_id":"1396870682","filename":"file0"},{"photo_id":"1396870685","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870682":["hashtag1","hashtag2"]},{"1396870685":["hashtag1","hashtag2"]},{"1396870690":["hashtag1","hashtag2"]},{"1396870684":["hashtag1","hashtag2"]},{"1396870687":["hashtag1","hashtag2"]},{"1396870683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870682, 1396870685, 1396870690, 1396870684, 1396870687, 1396870683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11744952201843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:41:42.500329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_22_9947.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_23_1663.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_25_1642.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_27_1658.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_30_3772.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_32_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_22_9947.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_23_1663.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_25_1642.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_27_1658.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_30_3772.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_32_1715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870704","1396870706","1396870700","1396870703","1396870705","1396870702"],"photo_ids_order":["1396870700","1396870702","1396870703","1396870704","1396870705","1396870706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e498fa9e0e41f2f43aa10842d96e6ba.jpg","text":"TemporaryFile(/tmp/multipartBody1679159475248722945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412963587,"filename":"image_31102025_09_28_27_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/355c6ecc858de2e5ab07d1b450093cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3806556429766377054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412963587,"filename":"image_31102025_09_28_32_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/606aa6551496ccb93aaf40690c892a58.jpg","text":"TemporaryFile(/tmp/multipartBody1460659040853822154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412963587,"filename":"image_31102025_09_28_22_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39a38090084db5c9a48380a6ad2e8960.jpg","text":"TemporaryFile(/tmp/multipartBody6935613947136190548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412963587,"filename":"image_31102025_09_28_25_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1225c5dc4edd6a6e3f309e31947c0956.jpg","text":"TemporaryFile(/tmp/multipartBody4202380963280756100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412963587,"filename":"image_31102025_09_28_30_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73532b2608f42fc07d6dff642ed43eef.jpg","text":"TemporaryFile(/tmp/multipartBody4841916993296132700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764412963587,"filename":"image_31102025_09_28_23_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870703","file1":"1396870702","file0":"1396870700","file4":"1396870705","file5":"1396870706","file3":"1396870704"},"map_files_photo_id_array":[{"photo_id":"1396870706","filename":"file5"},{"photo_id":"1396870703","filename":"file2"},{"photo_id":"1396870705","filename":"file4"},{"photo_id":"1396870702","filename":"file1"},{"photo_id":"1396870700","filename":"file0"},{"photo_id":"1396870704","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870704":["hashtag1","hashtag2"]},{"1396870706":["hashtag1","hashtag2"]},{"1396870700":["hashtag1","hashtag2"]},{"1396870703":["hashtag1","hashtag2"]},{"1396870705":["hashtag1","hashtag2"]},{"1396870702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870704, 1396870706, 1396870700, 1396870703, 1396870705, 1396870702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.708609104156494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:42:22.657973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/37/image_29112025_11_37_54_9694.jpg', '/home/pi/Desktop/images/29112025/11/37/image_29112025_11_38_04_9729.jpg', '/home/pi/Desktop/images/29112025/11/38/image_29112025_11_38_15_10641.jpg', '/home/pi/Desktop/images/29112025/11/38/image_29112025_11_38_24_9813.jpg', '/home/pi/Desktop/images/29112025/11/38/image_29112025_11_38_34_9651.jpg', '/home/pi/Desktop/images/29112025/11/38/image_29112025_11_38_45_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/37/image_29112025_11_37_54_9694.jpg
/home/pi/Desktop/images/29112025/11/37/image_29112025_11_38_04_9729.jpg
/home/pi/Desktop/images/29112025/11/38/image_29112025_11_38_15_10641.jpg
/home/pi/Desktop/images/29112025/11/38/image_29112025_11_38_24_9813.jpg
/home/pi/Desktop/images/29112025/11/38/image_29112025_11_38_34_9651.jpg
/home/pi/Desktop/images/29112025/11/38/image_29112025_11_38_45_10532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870713","1396870722","1396870716","1396870719","1396870710","1396870724"],"photo_ids_order":["1396870710","1396870713","1396870716","1396870719","1396870722","1396870724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b31627279ba9e1a86e251ddc8e56d888.jpg","text":"TemporaryFile(/tmp/multipartBody5448085819628420285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413003391,"filename":"image_29112025_11_38_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d9ca441288559d75b585c4dc8ec5c60.jpg","text":"TemporaryFile(/tmp/multipartBody4068795898966943509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413003391,"filename":"image_29112025_11_38_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a7a66b8e79db9056719c8b3808d9a84.jpg","text":"TemporaryFile(/tmp/multipartBody3587895791503376165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413003391,"filename":"image_29112025_11_38_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38a870d95c9b3dc6edd2040a8b56a2ec.jpg","text":"TemporaryFile(/tmp/multipartBody37581192842828010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413003391,"filename":"image_29112025_11_38_24_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ceacea36af9def408bc34180adffc522.jpg","text":"TemporaryFile(/tmp/multipartBody8012298485251702141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413003391,"filename":"image_29112025_11_37_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/11/29/31db120fbe39cf8556c0d8ba8ddf3306.jpg","text":"TemporaryFile(/tmp/multipartBody8699716967407366447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413003391,"filename":"image_29112025_11_38_45_10532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870716","file1":"1396870713","file0":"1396870710","file4":"1396870722","file5":"1396870724","file3":"1396870719"},"map_files_photo_id_array":[{"photo_id":"1396870724","filename":"file5"},{"photo_id":"1396870716","filename":"file2"},{"photo_id":"1396870722","filename":"file4"},{"photo_id":"1396870713","filename":"file1"},{"photo_id":"1396870710","filename":"file0"},{"photo_id":"1396870719","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870713":["hashtag1","hashtag2"]},{"1396870722":["hashtag1","hashtag2"]},{"1396870716":["hashtag1","hashtag2"]},{"1396870719":["hashtag1","hashtag2"]},{"1396870710":["hashtag1","hashtag2"]},{"1396870724":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870713, 1396870722, 1396870716, 1396870719, 1396870710, 1396870724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34441614151001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:43:02.515565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/38/image_29112025_11_38_54_9642.jpg', '/home/pi/Desktop/images/29112025/11/38/image_29112025_11_39_04_9832.jpg', '/home/pi/Desktop/images/29112025/11/39/image_29112025_11_39_15_10707.jpg', '/home/pi/Desktop/images/29112025/11/39/image_29112025_11_39_24_9660.jpg', '/home/pi/Desktop/images/29112025/11/39/image_29112025_11_39_34_9709.jpg', '/home/pi/Desktop/images/29112025/11/39/image_29112025_11_39_44_9912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/38/image_29112025_11_38_54_9642.jpg
/home/pi/Desktop/images/29112025/11/38/image_29112025_11_39_04_9832.jpg
/home/pi/Desktop/images/29112025/11/39/image_29112025_11_39_15_10707.jpg
/home/pi/Desktop/images/29112025/11/39/image_29112025_11_39_24_9660.jpg
/home/pi/Desktop/images/29112025/11/39/image_29112025_11_39_34_9709.jpg
/home/pi/Desktop/images/29112025/11/39/image_29112025_11_39_44_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":["1396870734","1396870728","1396870727","1396870729","1396870726","1396870731"],"photo_ids_order":["1396870726","1396870727","1396870728","1396870729","1396870731","1396870734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13299f6121ea6b3eebd677dcabaa1dea.jpg","text":"TemporaryFile(/tmp/multipartBody8293656813357364178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413043319,"filename":"image_29112025_11_39_44_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ee54032478010caae8d7b98d9c60b21.jpg","text":"TemporaryFile(/tmp/multipartBody5140292614376793820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413043319,"filename":"image_29112025_11_39_15_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c279c62e4384c033c1c9f796324b90f8.jpg","text":"TemporaryFile(/tmp/multipartBody405906582770349189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413043319,"filename":"image_29112025_11_39_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/11/29/90af7c34d848963904f08b83e1956d1c.jpg","text":"TemporaryFile(/tmp/multipartBody2867113662166843175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413043319,"filename":"image_29112025_11_39_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/11/29/a6546303f293fa5453a22fd0458cad57.jpg","text":"TemporaryFile(/tmp/multipartBody5112238130562557020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413043319,"filename":"image_29112025_11_38_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/11/29/cfbe5319df240faca88ecccd506958eb.jpg","text":"TemporaryFile(/tmp/multipartBody1818833824121590599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413043319,"filename":"image_29112025_11_39_34_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870728","file1":"1396870727","file0":"1396870726","file4":"1396870731","file5":"1396870734","file3":"1396870729"},"map_files_photo_id_array":[{"photo_id":"1396870734","filename":"file5"},{"photo_id":"1396870728","filename":"file2"},{"photo_id":"1396870731","filename":"file4"},{"photo_id":"1396870727","filename":"file1"},{"photo_id":"1396870726","filename":"file0"},{"photo_id":"1396870729","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870734":["hashtag1","hashtag2"]},{"1396870728":["hashtag1","hashtag2"]},{"1396870727":["hashtag1","hashtag2"]},{"1396870729":["hashtag1","hashtag2"]},{"1396870726":["hashtag1","hashtag2"]},{"1396870731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870734, 1396870728, 1396870727, 1396870729, 1396870726, 1396870731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99800205230713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:43:41.832670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_34_1920.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_36_1669.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_38_2738.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_47_8496.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_48_1556.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_50_1610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_34_1920.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_36_1669.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_38_2738.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_47_8496.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_48_1556.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_50_1610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870749","1396870743","1396870751","1396870748","1396870747","1396870746"],"photo_ids_order":["1396870743","1396870746","1396870747","1396870748","1396870749","1396870751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/596fc1f2450b4be06f7a86a204604b31.jpg","text":"TemporaryFile(/tmp/multipartBody3145071482080633053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413082918,"filename":"image_31102025_09_28_48_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e021e0158e9635f0e43b380bbfe1844.jpg","text":"TemporaryFile(/tmp/multipartBody9215091609383912425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413082918,"filename":"image_31102025_09_28_34_1920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07e3aebc83febb820751e13d12fc06e3.jpg","text":"TemporaryFile(/tmp/multipartBody6415173190958250561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413082918,"filename":"image_31102025_09_28_50_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/23695a8f4b490e931a49e3f42d858b0f.jpg","text":"TemporaryFile(/tmp/multipartBody1651812308641424964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413082918,"filename":"image_31102025_09_28_47_8496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b31ec16d4edf02e096615ff9091cf81e.jpg","text":"TemporaryFile(/tmp/multipartBody3722563585724086986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413082918,"filename":"image_31102025_09_28_38_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e36203fabb86c5abece414a7866ebf3.jpg","text":"TemporaryFile(/tmp/multipartBody5545799936132658398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413082918,"filename":"image_31102025_09_28_36_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870747","file1":"1396870746","file0":"1396870743","file4":"1396870749","file5":"1396870751","file3":"1396870748"},"map_files_photo_id_array":[{"photo_id":"1396870751","filename":"file5"},{"photo_id":"1396870747","filename":"file2"},{"photo_id":"1396870749","filename":"file4"},{"photo_id":"1396870746","filename":"file1"},{"photo_id":"1396870743","filename":"file0"},{"photo_id":"1396870748","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870749":["hashtag1","hashtag2"]},{"1396870743":["hashtag1","hashtag2"]},{"1396870751":["hashtag1","hashtag2"]},{"1396870748":["hashtag1","hashtag2"]},{"1396870747":["hashtag1","hashtag2"]},{"1396870746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870749, 1396870743, 1396870751, 1396870748, 1396870747, 1396870746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35785937309265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:44:22.005908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/39/image_29112025_11_39_54_9748.jpg', '/home/pi/Desktop/images/29112025/11/40/image_29112025_11_40_14_10055.jpg', '/home/pi/Desktop/images/29112025/11/40/image_29112025_11_40_25_10664.jpg', '/home/pi/Desktop/images/29112025/11/40/image_29112025_11_40_34_9554.jpg', '/home/pi/Desktop/images/29112025/11/40/image_29112025_11_40_44_9778.jpg', '/home/pi/Desktop/images/29112025/11/40/image_29112025_11_40_55_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/39/image_29112025_11_39_54_9748.jpg
/home/pi/Desktop/images/29112025/11/40/image_29112025_11_40_14_10055.jpg
/home/pi/Desktop/images/29112025/11/40/image_29112025_11_40_25_10664.jpg
/home/pi/Desktop/images/29112025/11/40/image_29112025_11_40_34_9554.jpg
/home/pi/Desktop/images/29112025/11/40/image_29112025_11_40_44_9778.jpg
/home/pi/Desktop/images/29112025/11/40/image_29112025_11_40_55_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870755","1396870769","1396870771","1396870765","1396870762","1396870759"],"photo_ids_order":["1396870755","1396870759","1396870762","1396870765","1396870769","1396870771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bab8681e9ecd2834b4c02a46bf67135d.jpg","text":"TemporaryFile(/tmp/multipartBody778220792838993624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413122717,"filename":"image_29112025_11_39_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/11/29/92e84ba1f2e56145ac7a64fbab3cec32.jpg","text":"TemporaryFile(/tmp/multipartBody3210092056290049487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413122717,"filename":"image_29112025_11_40_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/11/29/eb256398bccf4cc5ab62c1d796aef8c4.jpg","text":"TemporaryFile(/tmp/multipartBody2167100806282261156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413122717,"filename":"image_29112025_11_40_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3cd6093e7e1bc9ac6cdaa229576b3444.jpg","text":"TemporaryFile(/tmp/multipartBody1548918491193998953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413122717,"filename":"image_29112025_11_40_34_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81a4c60872707e91583d318b32678772.jpg","text":"TemporaryFile(/tmp/multipartBody125490104138384317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413122717,"filename":"image_29112025_11_40_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5419724bce18edffccc349b7ae989b1.jpg","text":"TemporaryFile(/tmp/multipartBody1834290256263656276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413122717,"filename":"image_29112025_11_40_14_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870762","file1":"1396870759","file0":"1396870755","file4":"1396870769","file5":"1396870771","file3":"1396870765"},"map_files_photo_id_array":[{"photo_id":"1396870771","filename":"file5"},{"photo_id":"1396870762","filename":"file2"},{"photo_id":"1396870769","filename":"file4"},{"photo_id":"1396870759","filename":"file1"},{"photo_id":"1396870755","filename":"file0"},{"photo_id":"1396870765","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870755":["hashtag1","hashtag2"]},{"1396870769":["hashtag1","hashtag2"]},{"1396870771":["hashtag1","hashtag2"]},{"1396870765":["hashtag1","hashtag2"]},{"1396870762":["hashtag1","hashtag2"]},{"1396870759":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870755, 1396870769, 1396870771, 1396870765, 1396870762, 1396870759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05622386932373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:45:02.979274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/40/image_29112025_11_41_04_9636.jpg', '/home/pi/Desktop/images/29112025/11/41/image_29112025_11_41_14_9762.jpg', '/home/pi/Desktop/images/29112025/11/41/image_29112025_11_41_25_10790.jpg', '/home/pi/Desktop/images/29112025/11/41/image_29112025_11_41_35_9650.jpg', '/home/pi/Desktop/images/29112025/11/41/image_29112025_11_41_44_9641.jpg', '/home/pi/Desktop/images/29112025/11/41/image_29112025_11_41_55_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/40/image_29112025_11_41_04_9636.jpg
/home/pi/Desktop/images/29112025/11/41/image_29112025_11_41_14_9762.jpg
/home/pi/Desktop/images/29112025/11/41/image_29112025_11_41_25_10790.jpg
/home/pi/Desktop/images/29112025/11/41/image_29112025_11_41_35_9650.jpg
/home/pi/Desktop/images/29112025/11/41/image_29112025_11_41_44_9641.jpg
/home/pi/Desktop/images/29112025/11/41/image_29112025_11_41_55_10676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870781","1396870775","1396870778","1396870774","1396870776","1396870773"],"photo_ids_order":["1396870773","1396870774","1396870775","1396870776","1396870778","1396870781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57d4f6f8142156967285592b9f848cdb.jpg","text":"TemporaryFile(/tmp/multipartBody7881288178271232852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413163806,"filename":"image_29112025_11_41_55_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ee748a2857316a92d166133300acaf9.jpg","text":"TemporaryFile(/tmp/multipartBody6967510770023206111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413163806,"filename":"image_29112025_11_41_25_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ee79a9214487e81dfd9e3a8703f0d03.jpg","text":"TemporaryFile(/tmp/multipartBody8040538868032437530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413163806,"filename":"image_29112025_11_41_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/11/29/21fd345081668da6b5f0155be7c94c4c.jpg","text":"TemporaryFile(/tmp/multipartBody7458605665533584049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413163806,"filename":"image_29112025_11_41_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdb56088ce226141b22724449e713601.jpg","text":"TemporaryFile(/tmp/multipartBody692884916074836446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413163806,"filename":"image_29112025_11_41_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/11/29/b5671a1821ce7a3c8a6bf723c0752b7a.jpg","text":"TemporaryFile(/tmp/multipartBody5586547205485522417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413163806,"filename":"image_29112025_11_41_04_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870775","file1":"1396870774","file0":"1396870773","file4":"1396870778","file5":"1396870781","file3":"1396870776"},"map_files_photo_id_array":[{"photo_id":"1396870781","filename":"file5"},{"photo_id":"1396870775","filename":"file2"},{"photo_id":"1396870778","filename":"file4"},{"photo_id":"1396870774","filename":"file1"},{"photo_id":"1396870773","filename":"file0"},{"photo_id":"1396870776","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870781":["hashtag1","hashtag2"]},{"1396870775":["hashtag1","hashtag2"]},{"1396870778":["hashtag1","hashtag2"]},{"1396870774":["hashtag1","hashtag2"]},{"1396870776":["hashtag1","hashtag2"]},{"1396870773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870781, 1396870775, 1396870778, 1396870774, 1396870776, 1396870773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.211281299591064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:45:42.321414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_52_1849.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_56_3823.jpg', '/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_57_1538.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_01_3782.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_03_1627.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_06_3032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_52_1849.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_56_3823.jpg
/home/pi/Desktop/images/31102025/09/28/image_31102025_09_28_57_1538.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_01_3782.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_03_1627.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_06_3032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870796","1396870798","1396870795","1396870794","1396870797","1396870791"],"photo_ids_order":["1396870791","1396870794","1396870795","1396870796","1396870797","1396870798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc440fddcd7dffa6d3816a686cc19883.jpg","text":"TemporaryFile(/tmp/multipartBody7850475508259154087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413203424,"filename":"image_31102025_09_29_01_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4eaab29486fb92bb78afafa9969fc543.jpg","text":"TemporaryFile(/tmp/multipartBody8164889755503822902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413203424,"filename":"image_31102025_09_29_06_3032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b95ac3736b13354fac19bac33e10f718.jpg","text":"TemporaryFile(/tmp/multipartBody5004710452461167975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413203424,"filename":"image_31102025_09_28_57_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64b2d117da4cdf0d58bab2c72cf8ce04.jpg","text":"TemporaryFile(/tmp/multipartBody2687324762118487878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413203424,"filename":"image_31102025_09_28_56_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6103d5977d3aae0aab946c1bdcc5bbc.jpg","text":"TemporaryFile(/tmp/multipartBody8716317561106312220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413203424,"filename":"image_31102025_09_29_03_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da232dc62b940012854f5ddba3b42c55.jpg","text":"TemporaryFile(/tmp/multipartBody6555561887437434196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413203424,"filename":"image_31102025_09_28_52_1849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870795","file1":"1396870794","file0":"1396870791","file4":"1396870797","file5":"1396870798","file3":"1396870796"},"map_files_photo_id_array":[{"photo_id":"1396870798","filename":"file5"},{"photo_id":"1396870795","filename":"file2"},{"photo_id":"1396870797","filename":"file4"},{"photo_id":"1396870794","filename":"file1"},{"photo_id":"1396870791","filename":"file0"},{"photo_id":"1396870796","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870796":["hashtag1","hashtag2"]},{"1396870798":["hashtag1","hashtag2"]},{"1396870795":["hashtag1","hashtag2"]},{"1396870794":["hashtag1","hashtag2"]},{"1396870797":["hashtag1","hashtag2"]},{"1396870791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870796, 1396870798, 1396870795, 1396870794, 1396870797, 1396870791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.388103008270264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:46:22.473931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/41/image_29112025_11_42_04_9586.jpg', '/home/pi/Desktop/images/29112025/11/42/image_29112025_11_42_14_9769.jpg', '/home/pi/Desktop/images/29112025/11/42/image_29112025_11_42_25_10790.jpg', '/home/pi/Desktop/images/29112025/11/42/image_29112025_11_42_35_9656.jpg', '/home/pi/Desktop/images/29112025/11/42/image_29112025_11_42_44_9656.jpg', '/home/pi/Desktop/images/29112025/11/42/image_29112025_11_42_54_9911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/41/image_29112025_11_42_04_9586.jpg
/home/pi/Desktop/images/29112025/11/42/image_29112025_11_42_14_9769.jpg
/home/pi/Desktop/images/29112025/11/42/image_29112025_11_42_25_10790.jpg
/home/pi/Desktop/images/29112025/11/42/image_29112025_11_42_35_9656.jpg
/home/pi/Desktop/images/29112025/11/42/image_29112025_11_42_44_9656.jpg
/home/pi/Desktop/images/29112025/11/42/image_29112025_11_42_54_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":["1396870809","1396870803","1396870806","1396870817","1396870813","1396870801"],"photo_ids_order":["1396870801","1396870803","1396870806","1396870809","1396870813","1396870817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73090e4cd95ade2ae49b6501d3d70f8f.jpg","text":"TemporaryFile(/tmp/multipartBody662243213918577864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413243208,"filename":"image_29112025_11_42_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/11/29/189663f23ab85b1d257ea9baa3a92511.jpg","text":"TemporaryFile(/tmp/multipartBody1182255591422324576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413243208,"filename":"image_29112025_11_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/11/29/bd7ae09b17a51b17d9d0f88398f97953.jpg","text":"TemporaryFile(/tmp/multipartBody6228152059672540319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413243208,"filename":"image_29112025_11_42_25_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b55efafe95d605426d9d475980e4b99a.jpg","text":"TemporaryFile(/tmp/multipartBody2129345024164761640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413243208,"filename":"image_29112025_11_42_54_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c75235cf337f312fb82c3d8dc5a06a8a.jpg","text":"TemporaryFile(/tmp/multipartBody4764283734425065764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413243208,"filename":"image_29112025_11_42_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/decd56849234ea363547c17e31ae5869.jpg","text":"TemporaryFile(/tmp/multipartBody450824902945753606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413243208,"filename":"image_29112025_11_42_04_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870806","file1":"1396870803","file0":"1396870801","file4":"1396870813","file5":"1396870817","file3":"1396870809"},"map_files_photo_id_array":[{"photo_id":"1396870817","filename":"file5"},{"photo_id":"1396870806","filename":"file2"},{"photo_id":"1396870813","filename":"file4"},{"photo_id":"1396870803","filename":"file1"},{"photo_id":"1396870801","filename":"file0"},{"photo_id":"1396870809","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870809":["hashtag1","hashtag2"]},{"1396870803":["hashtag1","hashtag2"]},{"1396870806":["hashtag1","hashtag2"]},{"1396870817":["hashtag1","hashtag2"]},{"1396870813":["hashtag1","hashtag2"]},{"1396870801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870809, 1396870803, 1396870806, 1396870817, 1396870813, 1396870801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45874500274658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:47:03.329340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/42/image_29112025_11_43_05_10717.jpg', '/home/pi/Desktop/images/29112025/11/43/image_29112025_11_43_15_9763.jpg', '/home/pi/Desktop/images/29112025/11/43/image_29112025_11_43_24_9604.jpg', '/home/pi/Desktop/images/29112025/11/43/image_29112025_11_43_35_10574.jpg', '/home/pi/Desktop/images/29112025/11/43/image_29112025_11_43_54_9656.jpg', '/home/pi/Desktop/images/29112025/11/43/image_29112025_11_44_05_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/42/image_29112025_11_43_05_10717.jpg
/home/pi/Desktop/images/29112025/11/43/image_29112025_11_43_15_9763.jpg
/home/pi/Desktop/images/29112025/11/43/image_29112025_11_43_24_9604.jpg
/home/pi/Desktop/images/29112025/11/43/image_29112025_11_43_35_10574.jpg
/home/pi/Desktop/images/29112025/11/43/image_29112025_11_43_54_9656.jpg
/home/pi/Desktop/images/29112025/11/43/image_29112025_11_44_05_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":["1396870824","1396870832","1396870826","1396870829","1396870822","1396870825"],"photo_ids_order":["1396870822","1396870824","1396870825","1396870826","1396870829","1396870832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c8aa1ec794977bdf4748d1bb332950c.jpg","text":"TemporaryFile(/tmp/multipartBody7567000813644249089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413284165,"filename":"image_29112025_11_43_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/11/29/f23a8270856d57f9f324d36e98b02dbb.jpg","text":"TemporaryFile(/tmp/multipartBody321472759194552390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413284165,"filename":"image_29112025_11_44_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e00bfab50a85bbd40a551477ac7aed97.jpg","text":"TemporaryFile(/tmp/multipartBody3231949956758886153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413284165,"filename":"image_29112025_11_43_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/11/29/7d6cca06b00a7ca7956dd47bd18c217d.jpg","text":"TemporaryFile(/tmp/multipartBody3747889101337944349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413284165,"filename":"image_29112025_11_43_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/11/29/4832acaea759a8b34dad717a8d5fd71b.jpg","text":"TemporaryFile(/tmp/multipartBody3009863002161182732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413284165,"filename":"image_29112025_11_43_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/11/29/38858d071251feac4400345edf1b5753.jpg","text":"TemporaryFile(/tmp/multipartBody2677089721441979040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413284165,"filename":"image_29112025_11_43_24_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870825","file1":"1396870824","file0":"1396870822","file4":"1396870829","file5":"1396870832","file3":"1396870826"},"map_files_photo_id_array":[{"photo_id":"1396870832","filename":"file5"},{"photo_id":"1396870825","filename":"file2"},{"photo_id":"1396870829","filename":"file4"},{"photo_id":"1396870824","filename":"file1"},{"photo_id":"1396870822","filename":"file0"},{"photo_id":"1396870826","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870824":["hashtag1","hashtag2"]},{"1396870832":["hashtag1","hashtag2"]},{"1396870826":["hashtag1","hashtag2"]},{"1396870829":["hashtag1","hashtag2"]},{"1396870822":["hashtag1","hashtag2"]},{"1396870825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870824, 1396870832, 1396870826, 1396870829, 1396870822, 1396870825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30982208251953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:47:42.693600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_08_2764.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_11_2605.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_15_3571.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_17_2766.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_20_2551.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_23_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_08_2764.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_11_2605.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_15_3571.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_17_2766.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_20_2551.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_23_2810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870842","1396870844","1396870847","1396870840","1396870843","1396870845"],"photo_ids_order":["1396870840","1396870842","1396870843","1396870844","1396870845","1396870847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/085a55568a501dd3a448d1b427f26b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1758393132891586111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413323776,"filename":"image_31102025_09_29_11_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15aeccd8f3c5cf55cfb79b67957c64a1.jpg","text":"TemporaryFile(/tmp/multipartBody6334418908557604087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413323776,"filename":"image_31102025_09_29_17_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/688bd2573fcae2d1fa5cb4f9a3ba041e.jpg","text":"TemporaryFile(/tmp/multipartBody4431749598856099350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413323776,"filename":"image_31102025_09_29_23_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2dd6548cff6558a01477c1019fbe02d.jpg","text":"TemporaryFile(/tmp/multipartBody5831517979483418080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413323776,"filename":"image_31102025_09_29_08_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e61ff11d0a76ed90a38edb4b970ea84.jpg","text":"TemporaryFile(/tmp/multipartBody3460500295199324918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413323776,"filename":"image_31102025_09_29_15_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b039dd1ea364c0195e29cdc1acf4de3.jpg","text":"TemporaryFile(/tmp/multipartBody2907889983390367085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413323776,"filename":"image_31102025_09_29_20_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870843","file1":"1396870842","file0":"1396870840","file4":"1396870845","file5":"1396870847","file3":"1396870844"},"map_files_photo_id_array":[{"photo_id":"1396870847","filename":"file5"},{"photo_id":"1396870843","filename":"file2"},{"photo_id":"1396870845","filename":"file4"},{"photo_id":"1396870842","filename":"file1"},{"photo_id":"1396870840","filename":"file0"},{"photo_id":"1396870844","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870842":["hashtag1","hashtag2"]},{"1396870844":["hashtag1","hashtag2"]},{"1396870847":["hashtag1","hashtag2"]},{"1396870840":["hashtag1","hashtag2"]},{"1396870843":["hashtag1","hashtag2"]},{"1396870845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870842, 1396870844, 1396870847, 1396870840, 1396870843, 1396870845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68033003807068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:48:21.893578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/44/image_29112025_11_44_15_9594.jpg', '/home/pi/Desktop/images/29112025/11/44/image_29112025_11_44_24_9614.jpg', '/home/pi/Desktop/images/29112025/11/44/image_29112025_11_44_35_10746.jpg', '/home/pi/Desktop/images/29112025/11/44/image_29112025_11_44_45_9684.jpg', '/home/pi/Desktop/images/29112025/11/44/image_29112025_11_44_54_9579.jpg', '/home/pi/Desktop/images/29112025/11/45/image_29112025_11_45_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/44/image_29112025_11_44_15_9594.jpg
/home/pi/Desktop/images/29112025/11/44/image_29112025_11_44_24_9614.jpg
/home/pi/Desktop/images/29112025/11/44/image_29112025_11_44_35_10746.jpg
/home/pi/Desktop/images/29112025/11/44/image_29112025_11_44_45_9684.jpg
/home/pi/Desktop/images/29112025/11/44/image_29112025_11_44_54_9579.jpg
/home/pi/Desktop/images/29112025/11/45/image_29112025_11_45_14_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870862","1396870856","1396870865","1396870859","1396870852","1396870849"],"photo_ids_order":["1396870849","1396870852","1396870856","1396870859","1396870862","1396870865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/717a0cbeda099f48478c8f090607cdc3.jpg","text":"TemporaryFile(/tmp/multipartBody7951300727761342185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413362612,"filename":"image_29112025_11_44_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/11/29/0d4a6b53b3abb680ccfc2828262cf4f3.jpg","text":"TemporaryFile(/tmp/multipartBody925397079420031650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413362612,"filename":"image_29112025_11_44_35_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab6b327c6cca339ac55e6fd1d5d23f7a.jpg","text":"TemporaryFile(/tmp/multipartBody3488322231956927702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413362612,"filename":"image_29112025_11_45_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/544296973b425b97380061e66adb31d1.jpg","text":"TemporaryFile(/tmp/multipartBody3462474631467897011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413362612,"filename":"image_29112025_11_44_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/11/29/9f84eb3efca4cb2aa53430f91a62763e.jpg","text":"TemporaryFile(/tmp/multipartBody5545007097497822487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413362612,"filename":"image_29112025_11_44_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3ce51443d4b2ee472abbd29f267050b.jpg","text":"TemporaryFile(/tmp/multipartBody2299375077316434900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413362612,"filename":"image_29112025_11_44_15_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870856","file1":"1396870852","file0":"1396870849","file4":"1396870862","file5":"1396870865","file3":"1396870859"},"map_files_photo_id_array":[{"photo_id":"1396870865","filename":"file5"},{"photo_id":"1396870856","filename":"file2"},{"photo_id":"1396870862","filename":"file4"},{"photo_id":"1396870852","filename":"file1"},{"photo_id":"1396870849","filename":"file0"},{"photo_id":"1396870859","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870862":["hashtag1","hashtag2"]},{"1396870856":["hashtag1","hashtag2"]},{"1396870865":["hashtag1","hashtag2"]},{"1396870859":["hashtag1","hashtag2"]},{"1396870852":["hashtag1","hashtag2"]},{"1396870849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870862, 1396870856, 1396870865, 1396870859, 1396870852, 1396870849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6531617641449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:49:03.120756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/45/image_29112025_11_45_24_10750.jpg', '/home/pi/Desktop/images/29112025/11/45/image_29112025_11_45_34_9680.jpg', '/home/pi/Desktop/images/29112025/11/45/image_29112025_11_45_44_9609.jpg', '/home/pi/Desktop/images/29112025/11/45/image_29112025_11_45_54_10560.jpg', '/home/pi/Desktop/images/29112025/11/45/image_29112025_11_46_04_9771.jpg', '/home/pi/Desktop/images/29112025/11/46/image_29112025_11_46_14_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/45/image_29112025_11_45_24_10750.jpg
/home/pi/Desktop/images/29112025/11/45/image_29112025_11_45_34_9680.jpg
/home/pi/Desktop/images/29112025/11/45/image_29112025_11_45_44_9609.jpg
/home/pi/Desktop/images/29112025/11/45/image_29112025_11_45_54_10560.jpg
/home/pi/Desktop/images/29112025/11/45/image_29112025_11_46_04_9771.jpg
/home/pi/Desktop/images/29112025/11/46/image_29112025_11_46_14_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870869","1396870868","1396870870","1396870867","1396870875","1396870872"],"photo_ids_order":["1396870867","1396870868","1396870869","1396870870","1396870872","1396870875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5c149b2d3b61a52ada19febe630185b.jpg","text":"TemporaryFile(/tmp/multipartBody4795537263095481363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413403958,"filename":"image_29112025_11_45_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5b532029a12d832b620240f9913701a.jpg","text":"TemporaryFile(/tmp/multipartBody4175697746371271466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413403958,"filename":"image_29112025_11_45_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0170467e7c7b06fb7b1f9c2e6cb437eb.jpg","text":"TemporaryFile(/tmp/multipartBody8051949345331672960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413403958,"filename":"image_29112025_11_45_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/11/29/7f109aed202c34480b0a4d0083b517bb.jpg","text":"TemporaryFile(/tmp/multipartBody2367396850482378830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413403958,"filename":"image_29112025_11_45_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/11/29/e4ec5a7d79dcc0f546591f0303dee3fb.jpg","text":"TemporaryFile(/tmp/multipartBody4824468274639437880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413403958,"filename":"image_29112025_11_46_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/11/29/c706b64e514a209f58e53af5dac63b93.jpg","text":"TemporaryFile(/tmp/multipartBody7706620789761068594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413403958,"filename":"image_29112025_11_46_04_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870869","file1":"1396870868","file0":"1396870867","file4":"1396870872","file5":"1396870875","file3":"1396870870"},"map_files_photo_id_array":[{"photo_id":"1396870875","filename":"file5"},{"photo_id":"1396870869","filename":"file2"},{"photo_id":"1396870872","filename":"file4"},{"photo_id":"1396870868","filename":"file1"},{"photo_id":"1396870867","filename":"file0"},{"photo_id":"1396870870","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870869":["hashtag1","hashtag2"]},{"1396870868":["hashtag1","hashtag2"]},{"1396870870":["hashtag1","hashtag2"]},{"1396870867":["hashtag1","hashtag2"]},{"1396870875":["hashtag1","hashtag2"]},{"1396870872":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870869, 1396870868, 1396870870, 1396870867, 1396870875, 1396870872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83831548690796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:49:42.241643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_27_3746.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_31_4410.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_33_1718.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_37_4079.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_38_1758.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_48_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/09/29/image_31102025_09_29_27_3746.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_31_4410.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_33_1718.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_37_4079.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_38_1758.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_48_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":["1396870889","1396870891","1396870885","1396870888","1396870890","1396870887"],"photo_ids_order":["1396870885","1396870887","1396870888","1396870889","1396870890","1396870891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cf2e2fcd49b6c0aa1f10c7b2285c644.jpg","text":"TemporaryFile(/tmp/multipartBody6163151192030011669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413443329,"filename":"image_31102025_09_29_37_4079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73d678700501b70db9fa2c1d3e4e6601.jpg","text":"TemporaryFile(/tmp/multipartBody5229794940844903342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413443329,"filename":"image_31102025_09_29_48_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/675ee0d06fa7a65aa1f4eacd50447d7d.jpg","text":"TemporaryFile(/tmp/multipartBody6748556788797032082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413443329,"filename":"image_31102025_09_29_27_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de7b9c60847469e37783db074aed3a7c.jpg","text":"TemporaryFile(/tmp/multipartBody8260563747349780580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413443329,"filename":"image_31102025_09_29_33_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81ed5e0424234273e471e034c69ff6a6.jpg","text":"TemporaryFile(/tmp/multipartBody7365464926984799406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413443329,"filename":"image_31102025_09_29_38_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7851e9b3396b552f7edddc0cc97ad4a.jpg","text":"TemporaryFile(/tmp/multipartBody8065120231585976728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413443329,"filename":"image_31102025_09_29_31_4410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870888","file1":"1396870887","file0":"1396870885","file4":"1396870890","file5":"1396870891","file3":"1396870889"},"map_files_photo_id_array":[{"photo_id":"1396870891","filename":"file5"},{"photo_id":"1396870888","filename":"file2"},{"photo_id":"1396870890","filename":"file4"},{"photo_id":"1396870887","filename":"file1"},{"photo_id":"1396870885","filename":"file0"},{"photo_id":"1396870889","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870889":["hashtag1","hashtag2"]},{"1396870891":["hashtag1","hashtag2"]},{"1396870885":["hashtag1","hashtag2"]},{"1396870888":["hashtag1","hashtag2"]},{"1396870890":["hashtag1","hashtag2"]},{"1396870887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870889, 1396870891, 1396870885, 1396870888, 1396870890, 1396870887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64478874206543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:50:22.425732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/46/image_29112025_11_46_24_10708.jpg', '/home/pi/Desktop/images/29112025/11/46/image_29112025_11_46_34_9611.jpg', '/home/pi/Desktop/images/29112025/11/46/image_29112025_11_46_44_9800.jpg', '/home/pi/Desktop/images/29112025/11/46/image_29112025_11_46_55_10755.jpg', '/home/pi/Desktop/images/29112025/11/46/image_29112025_11_47_04_9575.jpg', '/home/pi/Desktop/images/29112025/11/47/image_29112025_11_47_14_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/46/image_29112025_11_46_24_10708.jpg
/home/pi/Desktop/images/29112025/11/46/image_29112025_11_46_34_9611.jpg
/home/pi/Desktop/images/29112025/11/46/image_29112025_11_46_44_9800.jpg
/home/pi/Desktop/images/29112025/11/46/image_29112025_11_46_55_10755.jpg
/home/pi/Desktop/images/29112025/11/46/image_29112025_11_47_04_9575.jpg
/home/pi/Desktop/images/29112025/11/47/image_29112025_11_47_14_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870908","1396870898","1396870895","1396870904","1396870901","1396870906"],"photo_ids_order":["1396870895","1396870898","1396870901","1396870904","1396870906","1396870908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8aafede7e635d1a472c626e476422812.jpg","text":"TemporaryFile(/tmp/multipartBody1380878280211138787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413483182,"filename":"image_29112025_11_47_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74c21e73ef1a3c6a44b9374b174cbd4b.jpg","text":"TemporaryFile(/tmp/multipartBody781405356656312723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413483182,"filename":"image_29112025_11_46_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/11/29/876bf26657e1bed390ebcc884685b72e.jpg","text":"TemporaryFile(/tmp/multipartBody8775725595767334276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413483182,"filename":"image_29112025_11_46_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/11/29/f03692b8e1182d7dbd281b7753896627.jpg","text":"TemporaryFile(/tmp/multipartBody519684643287503046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413483182,"filename":"image_29112025_11_46_55_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d0b080f0f3bbfebd4e7f94481a7951a.jpg","text":"TemporaryFile(/tmp/multipartBody5963851738812102346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413483182,"filename":"image_29112025_11_46_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/11/29/f0204753ef19c78a9a131637dd491b4a.jpg","text":"TemporaryFile(/tmp/multipartBody5994423178554932274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413483182,"filename":"image_29112025_11_47_04_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870901","file1":"1396870898","file0":"1396870895","file4":"1396870906","file5":"1396870908","file3":"1396870904"},"map_files_photo_id_array":[{"photo_id":"1396870908","filename":"file5"},{"photo_id":"1396870901","filename":"file2"},{"photo_id":"1396870906","filename":"file4"},{"photo_id":"1396870898","filename":"file1"},{"photo_id":"1396870895","filename":"file0"},{"photo_id":"1396870904","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870908":["hashtag1","hashtag2"]},{"1396870898":["hashtag1","hashtag2"]},{"1396870895":["hashtag1","hashtag2"]},{"1396870904":["hashtag1","hashtag2"]},{"1396870901":["hashtag1","hashtag2"]},{"1396870906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870908, 1396870898, 1396870895, 1396870904, 1396870901, 1396870906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80058479309082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:51:03.137624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/47/image_29112025_11_47_24_10584.jpg', '/home/pi/Desktop/images/29112025/11/47/image_29112025_11_47_34_9648.jpg', '/home/pi/Desktop/images/29112025/11/47/image_29112025_11_47_44_9577.jpg', '/home/pi/Desktop/images/29112025/11/47/image_29112025_11_47_54_10677.jpg', '/home/pi/Desktop/images/29112025/11/47/image_29112025_11_48_04_9591.jpg', '/home/pi/Desktop/images/29112025/11/48/image_29112025_11_48_14_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/47/image_29112025_11_47_24_10584.jpg
/home/pi/Desktop/images/29112025/11/47/image_29112025_11_47_34_9648.jpg
/home/pi/Desktop/images/29112025/11/47/image_29112025_11_47_44_9577.jpg
/home/pi/Desktop/images/29112025/11/47/image_29112025_11_47_54_10677.jpg
/home/pi/Desktop/images/29112025/11/47/image_29112025_11_48_04_9591.jpg
/home/pi/Desktop/images/29112025/11/48/image_29112025_11_48_14_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870911","1396870910","1396870913","1396870915","1396870918","1396870912"],"photo_ids_order":["1396870910","1396870911","1396870912","1396870913","1396870915","1396870918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2729984f5a2e5e55d67b3c02330bef42.jpg","text":"TemporaryFile(/tmp/multipartBody722890678778901362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413523928,"filename":"image_29112025_11_47_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/11/29/d5cc33791cc1571a6cd002859038a32a.jpg","text":"TemporaryFile(/tmp/multipartBody6363252783467497576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413523928,"filename":"image_29112025_11_47_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/11/29/0e9b5814ad509059e171cb473f9abccf.jpg","text":"TemporaryFile(/tmp/multipartBody97635407141593540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413523928,"filename":"image_29112025_11_47_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/11/29/5cfa86ac2f0b4282fb2d47ddcaef54c2.jpg","text":"TemporaryFile(/tmp/multipartBody3491167939652462886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413523928,"filename":"image_29112025_11_48_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4bd402c4c7d39027f6c971bc504e970f.jpg","text":"TemporaryFile(/tmp/multipartBody441763948024500516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413523928,"filename":"image_29112025_11_48_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/11/29/91f8d1ad3f87cb2bbc9acdcea50e9a02.jpg","text":"TemporaryFile(/tmp/multipartBody4646266248963498856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413523928,"filename":"image_29112025_11_47_44_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870912","file1":"1396870911","file0":"1396870910","file4":"1396870915","file5":"1396870918","file3":"1396870913"},"map_files_photo_id_array":[{"photo_id":"1396870918","filename":"file5"},{"photo_id":"1396870912","filename":"file2"},{"photo_id":"1396870915","filename":"file4"},{"photo_id":"1396870911","filename":"file1"},{"photo_id":"1396870910","filename":"file0"},{"photo_id":"1396870913","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870911":["hashtag1","hashtag2"]},{"1396870910":["hashtag1","hashtag2"]},{"1396870913":["hashtag1","hashtag2"]},{"1396870915":["hashtag1","hashtag2"]},{"1396870918":["hashtag1","hashtag2"]},{"1396870912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870911, 1396870910, 1396870913, 1396870915, 1396870918, 1396870912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42127585411072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:51:42.510229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_50_2539.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_53_2681.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_57_3671.jpg', '/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_59_2699.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_08_3012.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_11_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_50_2539.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_53_2681.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_57_3671.jpg
/home/pi/Desktop/images/31102025/09/29/image_31102025_09_29_59_2699.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_08_3012.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_11_3714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870932","1396870934","1396870931","1396870928","1396870933","1396870930"],"photo_ids_order":["1396870928","1396870930","1396870931","1396870932","1396870933","1396870934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/362183a7b9bad7393f9bad2e2ccd5a9d.jpg","text":"TemporaryFile(/tmp/multipartBody2617519518323775866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413563616,"filename":"image_31102025_09_29_59_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6612ba07b53f30dee75537f6f7702fea.jpg","text":"TemporaryFile(/tmp/multipartBody329067850742265710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413563616,"filename":"image_31102025_09_30_11_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43c1b7fc2fbccd0de70da6f8b30329d5.jpg","text":"TemporaryFile(/tmp/multipartBody8311517875905402577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413563616,"filename":"image_31102025_09_29_57_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20a4c924f634f6a91a9bf920a2b93c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2399734154247563521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413563616,"filename":"image_31102025_09_29_50_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1fa1275d094826d2306ef9eeab090624.jpg","text":"TemporaryFile(/tmp/multipartBody165170122284403474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413563616,"filename":"image_31102025_09_30_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3985ef3444b66e5eecc7e50728d5b06.jpg","text":"TemporaryFile(/tmp/multipartBody2441967619380614282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413563616,"filename":"image_31102025_09_29_53_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870931","file1":"1396870930","file0":"1396870928","file4":"1396870933","file5":"1396870934","file3":"1396870932"},"map_files_photo_id_array":[{"photo_id":"1396870934","filename":"file5"},{"photo_id":"1396870931","filename":"file2"},{"photo_id":"1396870933","filename":"file4"},{"photo_id":"1396870930","filename":"file1"},{"photo_id":"1396870928","filename":"file0"},{"photo_id":"1396870932","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870932":["hashtag1","hashtag2"]},{"1396870934":["hashtag1","hashtag2"]},{"1396870931":["hashtag1","hashtag2"]},{"1396870928":["hashtag1","hashtag2"]},{"1396870933":["hashtag1","hashtag2"]},{"1396870930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870932, 1396870934, 1396870931, 1396870928, 1396870933, 1396870930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.618571519851685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:52:22.778534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/48/image_29112025_11_48_24_10700.jpg', '/home/pi/Desktop/images/29112025/11/48/image_29112025_11_48_34_9570.jpg', '/home/pi/Desktop/images/29112025/11/48/image_29112025_11_48_45_10628.jpg', '/home/pi/Desktop/images/29112025/11/48/image_29112025_11_48_54_9554.jpg', '/home/pi/Desktop/images/29112025/11/48/image_29112025_11_49_04_9684.jpg', '/home/pi/Desktop/images/29112025/11/49/image_29112025_11_49_14_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/48/image_29112025_11_48_24_10700.jpg
/home/pi/Desktop/images/29112025/11/48/image_29112025_11_48_34_9570.jpg
/home/pi/Desktop/images/29112025/11/48/image_29112025_11_48_45_10628.jpg
/home/pi/Desktop/images/29112025/11/48/image_29112025_11_48_54_9554.jpg
/home/pi/Desktop/images/29112025/11/48/image_29112025_11_49_04_9684.jpg
/home/pi/Desktop/images/29112025/11/49/image_29112025_11_49_14_10696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870947","1396870941","1396870952","1396870950","1396870944","1396870938"],"photo_ids_order":["1396870938","1396870941","1396870944","1396870947","1396870950","1396870952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60ac141855c4e98d940d9228c413e3bc.jpg","text":"TemporaryFile(/tmp/multipartBody8819851523076279022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413603535,"filename":"image_29112025_11_48_54_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6389f0d225bbf24f91d879f7f45e8f9c.jpg","text":"TemporaryFile(/tmp/multipartBody8040495298932335177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413603535,"filename":"image_29112025_11_48_34_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/094e22bb53a44b0fa873e487722eaf04.jpg","text":"TemporaryFile(/tmp/multipartBody1807889063901821492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413603535,"filename":"image_29112025_11_49_14_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/677a57c333a66d3607587eba55e3e6aa.jpg","text":"TemporaryFile(/tmp/multipartBody2069418802238310741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413603535,"filename":"image_29112025_11_49_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/11/29/cd381f03461fd4e89385661cf3899c53.jpg","text":"TemporaryFile(/tmp/multipartBody3681486585956597215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413603535,"filename":"image_29112025_11_48_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/11/29/7ae43a18779041af8623f2a74f2aa7cf.jpg","text":"TemporaryFile(/tmp/multipartBody2805409303054655395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413603535,"filename":"image_29112025_11_48_24_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870944","file1":"1396870941","file0":"1396870938","file4":"1396870950","file5":"1396870952","file3":"1396870947"},"map_files_photo_id_array":[{"photo_id":"1396870952","filename":"file5"},{"photo_id":"1396870944","filename":"file2"},{"photo_id":"1396870950","filename":"file4"},{"photo_id":"1396870941","filename":"file1"},{"photo_id":"1396870938","filename":"file0"},{"photo_id":"1396870947","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870947":["hashtag1","hashtag2"]},{"1396870941":["hashtag1","hashtag2"]},{"1396870952":["hashtag1","hashtag2"]},{"1396870950":["hashtag1","hashtag2"]},{"1396870944":["hashtag1","hashtag2"]},{"1396870938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870947, 1396870941, 1396870952, 1396870950, 1396870944, 1396870938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61591672897339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:53:02.497277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/49/image_29112025_11_49_24_9591.jpg', '/home/pi/Desktop/images/29112025/11/49/image_29112025_11_49_34_9615.jpg', '/home/pi/Desktop/images/29112025/11/49/image_29112025_11_49_44_10686.jpg', '/home/pi/Desktop/images/29112025/11/49/image_29112025_11_49_54_9674.jpg', '/home/pi/Desktop/images/29112025/11/50/image_29112025_11_50_14_10053.jpg', '/home/pi/Desktop/images/29112025/11/50/image_29112025_11_50_25_10823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/49/image_29112025_11_49_24_9591.jpg
/home/pi/Desktop/images/29112025/11/49/image_29112025_11_49_34_9615.jpg
/home/pi/Desktop/images/29112025/11/49/image_29112025_11_49_44_10686.jpg
/home/pi/Desktop/images/29112025/11/49/image_29112025_11_49_54_9674.jpg
/home/pi/Desktop/images/29112025/11/50/image_29112025_11_50_14_10053.jpg
/home/pi/Desktop/images/29112025/11/50/image_29112025_11_50_25_10823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870953","1396870961","1396870955","1396870958","1396870954","1396870956"],"photo_ids_order":["1396870953","1396870954","1396870955","1396870956","1396870958","1396870961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02c869ad2ae1689565ed9f48c1667d05.jpg","text":"TemporaryFile(/tmp/multipartBody9034715682115702340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413643315,"filename":"image_29112025_11_49_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/11/29/0290851c97cf5e82ce3e3d44216ba555.jpg","text":"TemporaryFile(/tmp/multipartBody5107558309512086580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413643315,"filename":"image_29112025_11_50_25_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1d97dbeedf5cc76db5c9f72afbb298e.jpg","text":"TemporaryFile(/tmp/multipartBody7317382610937170509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413643315,"filename":"image_29112025_11_49_44_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afc0eea0cd754d2ffbd7bb07fbb2fb95.jpg","text":"TemporaryFile(/tmp/multipartBody5439328983580236001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413643315,"filename":"image_29112025_11_50_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/11/29/65fe3305f56d6a90b305401a21c10179.jpg","text":"TemporaryFile(/tmp/multipartBody3526820750998620373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413643315,"filename":"image_29112025_11_49_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/11/29/d64eaf6a1dc5f9ece4ab47577683af5f.jpg","text":"TemporaryFile(/tmp/multipartBody7814679275680247848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413643315,"filename":"image_29112025_11_49_54_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870955","file1":"1396870954","file0":"1396870953","file4":"1396870958","file5":"1396870961","file3":"1396870956"},"map_files_photo_id_array":[{"photo_id":"1396870961","filename":"file5"},{"photo_id":"1396870955","filename":"file2"},{"photo_id":"1396870958","filename":"file4"},{"photo_id":"1396870954","filename":"file1"},{"photo_id":"1396870953","filename":"file0"},{"photo_id":"1396870956","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870953":["hashtag1","hashtag2"]},{"1396870961":["hashtag1","hashtag2"]},{"1396870955":["hashtag1","hashtag2"]},{"1396870958":["hashtag1","hashtag2"]},{"1396870954":["hashtag1","hashtag2"]},{"1396870956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870953, 1396870961, 1396870955, 1396870958, 1396870954, 1396870956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.794933557510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:53:41.894307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_14_2597.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_18_3656.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_20_2651.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_23_2556.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_27_3691.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_29_2823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_14_2597.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_18_3656.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_20_2651.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_23_2556.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_27_3691.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_29_2823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396870976","1396870978","1396870975","1396870974","1396870977","1396870971"],"photo_ids_order":["1396870971","1396870974","1396870975","1396870976","1396870977","1396870978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f6f9ffafedb19310197188821a2e342.jpg","text":"TemporaryFile(/tmp/multipartBody3272698798879633074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413683051,"filename":"image_31102025_09_30_23_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2fbd818b4072b880ca5379f49e58407.jpg","text":"TemporaryFile(/tmp/multipartBody6348710615001890965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413683051,"filename":"image_31102025_09_30_29_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a00602b1053b1236332462ac89899a17.jpg","text":"TemporaryFile(/tmp/multipartBody4251390187459839937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413683051,"filename":"image_31102025_09_30_20_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be812a0a67e761edca1c2a5c13248160.jpg","text":"TemporaryFile(/tmp/multipartBody9148421915246124814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413683051,"filename":"image_31102025_09_30_18_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b49cbbebfe939c9a5838677b8ae1f3d.jpg","text":"TemporaryFile(/tmp/multipartBody4515027179801483743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413683051,"filename":"image_31102025_09_30_27_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe1262e12eb620c07cdb18e52958d4ed.jpg","text":"TemporaryFile(/tmp/multipartBody2614649821579394196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413683051,"filename":"image_31102025_09_30_14_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870975","file1":"1396870974","file0":"1396870971","file4":"1396870977","file5":"1396870978","file3":"1396870976"},"map_files_photo_id_array":[{"photo_id":"1396870978","filename":"file5"},{"photo_id":"1396870975","filename":"file2"},{"photo_id":"1396870977","filename":"file4"},{"photo_id":"1396870974","filename":"file1"},{"photo_id":"1396870971","filename":"file0"},{"photo_id":"1396870976","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396870976":["hashtag1","hashtag2"]},{"1396870978":["hashtag1","hashtag2"]},{"1396870975":["hashtag1","hashtag2"]},{"1396870974":["hashtag1","hashtag2"]},{"1396870977":["hashtag1","hashtag2"]},{"1396870971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396870976, 1396870978, 1396870975, 1396870974, 1396870977, 1396870971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95373749732971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:54:22.059329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/50/image_29112025_11_50_35_9680.jpg', '/home/pi/Desktop/images/29112025/11/50/image_29112025_11_50_44_9674.jpg', '/home/pi/Desktop/images/29112025/11/50/image_29112025_11_50_55_10760.jpg', '/home/pi/Desktop/images/29112025/11/50/image_29112025_11_51_05_9715.jpg', '/home/pi/Desktop/images/29112025/11/51/image_29112025_11_51_15_9728.jpg', '/home/pi/Desktop/images/29112025/11/51/image_29112025_11_51_24_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/50/image_29112025_11_50_35_9680.jpg
/home/pi/Desktop/images/29112025/11/50/image_29112025_11_50_44_9674.jpg
/home/pi/Desktop/images/29112025/11/50/image_29112025_11_50_55_10760.jpg
/home/pi/Desktop/images/29112025/11/50/image_29112025_11_51_05_9715.jpg
/home/pi/Desktop/images/29112025/11/51/image_29112025_11_51_15_9728.jpg
/home/pi/Desktop/images/29112025/11/51/image_29112025_11_51_24_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":["1396870996","1396870981","1396870990","1396870984","1396870993","1396870987"],"photo_ids_order":["1396870981","1396870984","1396870987","1396870990","1396870993","1396870996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f168c5c01ba6ee611d83de1a324b8f0.jpg","text":"TemporaryFile(/tmp/multipartBody8462417898839105132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413722774,"filename":"image_29112025_11_51_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/11/29/5e7daac34bd7419ad25edb8903edb761.jpg","text":"TemporaryFile(/tmp/multipartBody6205177861231040744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413722774,"filename":"image_29112025_11_50_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/11/29/5e228d536baf9931546018abeecc1039.jpg","text":"TemporaryFile(/tmp/multipartBody6421731280999238996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413722774,"filename":"image_29112025_11_51_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/11/29/0754eae36450214d622cc5b197b56ba8.jpg","text":"TemporaryFile(/tmp/multipartBody337690058549021223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413722774,"filename":"image_29112025_11_50_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9fc10ad8b083a5321b1b0add2d6b5c28.jpg","text":"TemporaryFile(/tmp/multipartBody4815549555048260554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413722774,"filename":"image_29112025_11_51_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/11/29/60c613bc1a261fe2e353a8c19620cbe0.jpg","text":"TemporaryFile(/tmp/multipartBody2305753099794190102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413722774,"filename":"image_29112025_11_50_55_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396870987","file1":"1396870984","file0":"1396870981","file4":"1396870993","file5":"1396870996","file3":"1396870990"},"map_files_photo_id_array":[{"photo_id":"1396870996","filename":"file5"},{"photo_id":"1396870987","filename":"file2"},{"photo_id":"1396870993","filename":"file4"},{"photo_id":"1396870984","filename":"file1"},{"photo_id":"1396870981","filename":"file0"},{"photo_id":"1396870990","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396870996":["hashtag1","hashtag2"]},{"1396870981":["hashtag1","hashtag2"]},{"1396870990":["hashtag1","hashtag2"]},{"1396870984":["hashtag1","hashtag2"]},{"1396870993":["hashtag1","hashtag2"]},{"1396870987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396870996, 1396870981, 1396870990, 1396870984, 1396870993, 1396870987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32711386680603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:55:02.797734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/51/image_29112025_11_51_35_10761.jpg', '/home/pi/Desktop/images/29112025/11/51/image_29112025_11_51_45_9688.jpg', '/home/pi/Desktop/images/29112025/11/51/image_29112025_11_51_54_9619.jpg', '/home/pi/Desktop/images/29112025/11/51/image_29112025_11_52_05_10728.jpg', '/home/pi/Desktop/images/29112025/11/52/image_29112025_11_52_15_9573.jpg', '/home/pi/Desktop/images/29112025/11/52/image_29112025_11_52_24_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/51/image_29112025_11_51_35_10761.jpg
/home/pi/Desktop/images/29112025/11/51/image_29112025_11_51_45_9688.jpg
/home/pi/Desktop/images/29112025/11/51/image_29112025_11_51_54_9619.jpg
/home/pi/Desktop/images/29112025/11/51/image_29112025_11_52_05_10728.jpg
/home/pi/Desktop/images/29112025/11/52/image_29112025_11_52_15_9573.jpg
/home/pi/Desktop/images/29112025/11/52/image_29112025_11_52_24_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":["1396871001","1396871003","1396871006","1396871000","1396870999","1396870998"],"photo_ids_order":["1396870998","1396870999","1396871000","1396871001","1396871003","1396871006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37c340b482b66d04313f24086def2752.jpg","text":"TemporaryFile(/tmp/multipartBody2799411175310938478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413763576,"filename":"image_29112025_11_52_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/11/29/94cb178df4a23297c5500006fef57298.jpg","text":"TemporaryFile(/tmp/multipartBody1938286901984654710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413763576,"filename":"image_29112025_11_52_15_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ffc9e7ec26824588a551f9a35672f43.jpg","text":"TemporaryFile(/tmp/multipartBody8794923423921130147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413763576,"filename":"image_29112025_11_52_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2297a06fc2a7a3f16ec9933da8db57f.jpg","text":"TemporaryFile(/tmp/multipartBody1299909482797906406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413763576,"filename":"image_29112025_11_51_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/11/29/343339aad1c06d3c5af7c49e74d83874.jpg","text":"TemporaryFile(/tmp/multipartBody4344673097024241858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413763576,"filename":"image_29112025_11_51_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/11/29/5625a27136f516cc9eeacb94b3de2216.jpg","text":"TemporaryFile(/tmp/multipartBody4986448702021395242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413763576,"filename":"image_29112025_11_51_35_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396871000","file1":"1396870999","file0":"1396870998","file4":"1396871003","file5":"1396871006","file3":"1396871001"},"map_files_photo_id_array":[{"photo_id":"1396871006","filename":"file5"},{"photo_id":"1396871000","filename":"file2"},{"photo_id":"1396871003","filename":"file4"},{"photo_id":"1396870999","filename":"file1"},{"photo_id":"1396870998","filename":"file0"},{"photo_id":"1396871001","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396871001":["hashtag1","hashtag2"]},{"1396871003":["hashtag1","hashtag2"]},{"1396871006":["hashtag1","hashtag2"]},{"1396871000":["hashtag1","hashtag2"]},{"1396870999":["hashtag1","hashtag2"]},{"1396870998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396871001, 1396871003, 1396871006, 1396871000, 1396870999, 1396870998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95614504814148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:55:42.302559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_32_2800.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_35_2789.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_38_2886.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_41_3553.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_44_2621.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_47_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_32_2800.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_35_2789.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_38_2886.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_41_3553.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_44_2621.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_47_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396871021","1396871018","1396871015","1396871020","1396871017","1396871019"],"photo_ids_order":["1396871015","1396871017","1396871018","1396871019","1396871020","1396871021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7ff6ac2066ff8deac36b2c523da1c21.jpg","text":"TemporaryFile(/tmp/multipartBody861106779076471728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413803458,"filename":"image_31102025_09_30_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/11/29/25c7e3d623f6e0964c4631f72dea37dd.jpg","text":"TemporaryFile(/tmp/multipartBody6037619283214248372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413803458,"filename":"image_31102025_09_30_38_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f66d94fb5673c8aa7ee5dff353980fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3783567566344487289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413803458,"filename":"image_31102025_09_30_32_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c25d87b3eeb36571587d996ff41a09c.jpg","text":"TemporaryFile(/tmp/multipartBody8365657713914866341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413803458,"filename":"image_31102025_09_30_44_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73382a9f76b7a06c8f7c4deb3a0e115b.jpg","text":"TemporaryFile(/tmp/multipartBody285466526799025222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413803458,"filename":"image_31102025_09_30_35_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e70f4736f6d5fda8e48777450848b16.jpg","text":"TemporaryFile(/tmp/multipartBody3994604944028965425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413803458,"filename":"image_31102025_09_30_41_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396871018","file1":"1396871017","file0":"1396871015","file4":"1396871020","file5":"1396871021","file3":"1396871019"},"map_files_photo_id_array":[{"photo_id":"1396871021","filename":"file5"},{"photo_id":"1396871018","filename":"file2"},{"photo_id":"1396871020","filename":"file4"},{"photo_id":"1396871017","filename":"file1"},{"photo_id":"1396871015","filename":"file0"},{"photo_id":"1396871019","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396871021":["hashtag1","hashtag2"]},{"1396871018":["hashtag1","hashtag2"]},{"1396871015":["hashtag1","hashtag2"]},{"1396871020":["hashtag1","hashtag2"]},{"1396871017":["hashtag1","hashtag2"]},{"1396871019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396871021, 1396871018, 1396871015, 1396871020, 1396871017, 1396871019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63403820991516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 11:56:22.474626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/52/image_29112025_11_52_35_10595.jpg', '/home/pi/Desktop/images/29112025/11/52/image_29112025_11_52_45_9683.jpg', '/home/pi/Desktop/images/29112025/11/52/image_29112025_11_52_54_9603.jpg', '/home/pi/Desktop/images/29112025/11/52/image_29112025_11_53_05_10698.jpg', '/home/pi/Desktop/images/29112025/11/53/image_29112025_11_53_15_9580.jpg', '/home/pi/Desktop/images/29112025/11/53/image_29112025_11_53_25_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/52/image_29112025_11_52_35_10595.jpg
/home/pi/Desktop/images/29112025/11/52/image_29112025_11_52_45_9683.jpg
/home/pi/Desktop/images/29112025/11/52/image_29112025_11_52_54_9603.jpg
/home/pi/Desktop/images/29112025/11/52/image_29112025_11_53_05_10698.jpg
/home/pi/Desktop/images/29112025/11/53/image_29112025_11_53_15_9580.jpg
/home/pi/Desktop/images/29112025/11/53/image_29112025_11_53_25_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396871036","1396871039","1396871030","1396871024","1396871027","1396871034"],"photo_ids_order":["1396871024","1396871027","1396871030","1396871034","1396871036","1396871039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99808368195428cfbf5e5020b27d4d42.jpg","text":"TemporaryFile(/tmp/multipartBody4574687467191223092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413843228,"filename":"image_29112025_11_53_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/11/29/2e14ae6ab186f3fb8cb7616a6978fc1c.jpg","text":"TemporaryFile(/tmp/multipartBody18512093221920015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413843228,"filename":"image_29112025_11_53_25_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b00dd75b152f5e1714079ad4b8cf08d.jpg","text":"TemporaryFile(/tmp/multipartBody6072246890399667854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413843228,"filename":"image_29112025_11_52_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38137156855be816e035c4acfd90a6dc.jpg","text":"TemporaryFile(/tmp/multipartBody8984389247618322207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413843228,"filename":"image_29112025_11_52_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/11/29/8d1091a487819931dd44a81756da2999.jpg","text":"TemporaryFile(/tmp/multipartBody3096971127845804771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413843228,"filename":"image_29112025_11_52_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c530202d08679c8861a390a77d69e27f.jpg","text":"TemporaryFile(/tmp/multipartBody3988765903351618953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413843228,"filename":"image_29112025_11_53_05_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396871030","file1":"1396871027","file0":"1396871024","file4":"1396871036","file5":"1396871039","file3":"1396871034"},"map_files_photo_id_array":[{"photo_id":"1396871039","filename":"file5"},{"photo_id":"1396871030","filename":"file2"},{"photo_id":"1396871036","filename":"file4"},{"photo_id":"1396871027","filename":"file1"},{"photo_id":"1396871024","filename":"file0"},{"photo_id":"1396871034","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396871036":["hashtag1","hashtag2"]},{"1396871039":["hashtag1","hashtag2"]},{"1396871030":["hashtag1","hashtag2"]},{"1396871024":["hashtag1","hashtag2"]},{"1396871027":["hashtag1","hashtag2"]},{"1396871034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396871036, 1396871039, 1396871030, 1396871024, 1396871027, 1396871034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66740846633911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:57:03.392937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/53/image_29112025_11_53_35_9573.jpg', '/home/pi/Desktop/images/29112025/11/53/image_29112025_11_53_44_9585.jpg', '/home/pi/Desktop/images/29112025/11/53/image_29112025_11_53_55_10687.jpg', '/home/pi/Desktop/images/29112025/11/53/image_29112025_11_54_05_9815.jpg', '/home/pi/Desktop/images/29112025/11/54/image_29112025_11_54_15_9695.jpg', '/home/pi/Desktop/images/29112025/11/54/image_29112025_11_54_25_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/53/image_29112025_11_53_35_9573.jpg
/home/pi/Desktop/images/29112025/11/53/image_29112025_11_53_44_9585.jpg
/home/pi/Desktop/images/29112025/11/53/image_29112025_11_53_55_10687.jpg
/home/pi/Desktop/images/29112025/11/53/image_29112025_11_54_05_9815.jpg
/home/pi/Desktop/images/29112025/11/54/image_29112025_11_54_15_9695.jpg
/home/pi/Desktop/images/29112025/11/54/image_29112025_11_54_25_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":["1396871045","1396871050","1396871053","1396871047","1396871041","1396871043"],"photo_ids_order":["1396871041","1396871043","1396871045","1396871047","1396871050","1396871053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cee77c026299476c37076e8563a05e6b.jpg","text":"TemporaryFile(/tmp/multipartBody7606419040352920620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413884183,"filename":"image_29112025_11_53_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/11/29/0b3a2a8c22020b3209ac4a396d2f320a.jpg","text":"TemporaryFile(/tmp/multipartBody6340112516227143945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413884183,"filename":"image_29112025_11_54_15_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1207695c60890578be1f75293ddd5369.jpg","text":"TemporaryFile(/tmp/multipartBody2409614864185500726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413884183,"filename":"image_29112025_11_54_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/11/29/67c788f41e79b301dc06b3778ce4ac2c.jpg","text":"TemporaryFile(/tmp/multipartBody8129338843859203519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413884183,"filename":"image_29112025_11_54_05_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b910e379e74b37bbebb583aab4c7f171.jpg","text":"TemporaryFile(/tmp/multipartBody1502794127382386041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413884183,"filename":"image_29112025_11_53_35_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f59865fbb856212af7895efb59e65494.jpg","text":"TemporaryFile(/tmp/multipartBody9009726828595496497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413884183,"filename":"image_29112025_11_53_44_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396871045","file1":"1396871043","file0":"1396871041","file4":"1396871050","file5":"1396871053","file3":"1396871047"},"map_files_photo_id_array":[{"photo_id":"1396871053","filename":"file5"},{"photo_id":"1396871045","filename":"file2"},{"photo_id":"1396871050","filename":"file4"},{"photo_id":"1396871043","filename":"file1"},{"photo_id":"1396871041","filename":"file0"},{"photo_id":"1396871047","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396871045":["hashtag1","hashtag2"]},{"1396871050":["hashtag1","hashtag2"]},{"1396871053":["hashtag1","hashtag2"]},{"1396871047":["hashtag1","hashtag2"]},{"1396871041":["hashtag1","hashtag2"]},{"1396871043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396871045, 1396871050, 1396871053, 1396871047, 1396871041, 1396871043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03867959976196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 11:57:42.648784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_50_3636.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_53_2731.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_56_2566.jpg', '/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_59_3683.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_02_2724.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_05_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/09/30/image_31102025_09_30_50_3636.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_53_2731.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_56_2566.jpg
/home/pi/Desktop/images/31102025/09/30/image_31102025_09_30_59_3683.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_02_2724.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_05_2680.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396871066","1396871060","1396871063","1396871062","1396871065","1396871064"],"photo_ids_order":["1396871060","1396871062","1396871063","1396871064","1396871065","1396871066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4345ad5f795d2eeb8a11d2eb40549815.jpg","text":"TemporaryFile(/tmp/multipartBody8196612700723893288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413923740,"filename":"image_31102025_09_31_05_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf707dd413d3c7799dbd5bc45f360b24.jpg","text":"TemporaryFile(/tmp/multipartBody563050221732674632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413923740,"filename":"image_31102025_09_30_50_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e47d20e781e7b162636330712be829ae.jpg","text":"TemporaryFile(/tmp/multipartBody761993931078956003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413923740,"filename":"image_31102025_09_30_56_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/141c1bdb1f67ec2fc663218ee8654bc0.jpg","text":"TemporaryFile(/tmp/multipartBody4548593469082507668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413923740,"filename":"image_31102025_09_30_53_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46bc25f6579e8b11a86ca04238923a83.jpg","text":"TemporaryFile(/tmp/multipartBody5471095263041480949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413923740,"filename":"image_31102025_09_31_02_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cba32c1c06bd86aa1a90e29b6566821.jpg","text":"TemporaryFile(/tmp/multipartBody89754721693748136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764413923740,"filename":"image_31102025_09_30_59_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396871063","file1":"1396871062","file0":"1396871060","file4":"1396871065","file5":"1396871066","file3":"1396871064"},"map_files_photo_id_array":[{"photo_id":"1396871066","filename":"file5"},{"photo_id":"1396871063","filename":"file2"},{"photo_id":"1396871065","filename":"file4"},{"photo_id":"1396871062","filename":"file1"},{"photo_id":"1396871060","filename":"file0"},{"photo_id":"1396871064","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396871066":["hashtag1","hashtag2"]},{"1396871060":["hashtag1","hashtag2"]},{"1396871063":["hashtag1","hashtag2"]},{"1396871062":["hashtag1","hashtag2"]},{"1396871065":["hashtag1","hashtag2"]},{"1396871064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396871066, 1396871060, 1396871063, 1396871062, 1396871065, 1396871064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.734267234802246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 11:59:02.901427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/54/image_29112025_11_54_35_9726.jpg', '/home/pi/Desktop/images/29112025/11/54/image_29112025_11_54_45_9681.jpg', '/home/pi/Desktop/images/29112025/11/54/image_29112025_11_54_54_9857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/54/image_29112025_11_54_35_9726.jpg
/home/pi/Desktop/images/29112025/11/54/image_29112025_11_54_45_9681.jpg
/home/pi/Desktop/images/29112025/11/54/image_29112025_11_54_54_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":["1396871072","1396871074","1396871068"],"photo_ids_order":["1396871068","1396871072","1396871074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1853bd64006d164e6cfaf8505ac1ad18.jpg","text":"TemporaryFile(/tmp/multipartBody4819912891421560290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414003581,"filename":"image_29112025_11_54_45_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecea66b8e97c81fd5dbcda9eae2b764a.jpg","text":"TemporaryFile(/tmp/multipartBody8989953123673451274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414003581,"filename":"image_29112025_11_54_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/11/29/27e7689ee609a73cff4dad18606bfd66.jpg","text":"TemporaryFile(/tmp/multipartBody3768425851214525871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414003581,"filename":"image_29112025_11_54_35_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396871074","file1":"1396871072","file0":"1396871068"},"map_files_photo_id_array":[{"photo_id":"1396871074","filename":"file2"},{"photo_id":"1396871072","filename":"file1"},{"photo_id":"1396871068","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396871072":["hashtag1","hashtag2"]},{"1396871074":["hashtag1","hashtag2"]},{"1396871068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396871072, 1396871074, 1396871068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.147664308547974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 11:59:31.956004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_12_2491.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_14_2619.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_18_3580.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_21_2665.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_24_3497.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_27_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_12_2491.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_14_2619.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_18_3580.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_21_2665.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_24_3497.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_27_2658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396871084","1396871098","1396871086","1396871091","1396871094","1396871096"],"photo_ids_order":["1396871084","1396871086","1396871091","1396871094","1396871096","1396871098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dcdf51fae1eac2e516f977467bcedda2.jpg","text":"TemporaryFile(/tmp/multipartBody4581932598312141310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414034197,"filename":"image_25112025_18_21_12_2491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7434b3853e022e0d55aba3e1196e0b4d.jpg","text":"TemporaryFile(/tmp/multipartBody4254553110323335764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414034197,"filename":"image_25112025_18_21_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/11/29/b5e2ded29ca6f60d70d4572e06755235.jpg","text":"TemporaryFile(/tmp/multipartBody7181358479485034868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414034197,"filename":"image_25112025_18_21_14_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2660a2fc9211a8e6e003f710e1d4b03a.jpg","text":"TemporaryFile(/tmp/multipartBody8646997051512123531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414034197,"filename":"image_25112025_18_21_18_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3328c0485047b071a2f155d95d62f850.jpg","text":"TemporaryFile(/tmp/multipartBody5370445432797449249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414034197,"filename":"image_25112025_18_21_21_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1061ec7fc18c06724bd63822e736125d.jpg","text":"TemporaryFile(/tmp/multipartBody2796934256351683545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414034197,"filename":"image_25112025_18_21_24_3497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396871091","file1":"1396871086","file0":"1396871084","file4":"1396871096","file5":"1396871098","file3":"1396871094"},"map_files_photo_id_array":[{"photo_id":"1396871098","filename":"file5"},{"photo_id":"1396871091","filename":"file2"},{"photo_id":"1396871096","filename":"file4"},{"photo_id":"1396871086","filename":"file1"},{"photo_id":"1396871084","filename":"file0"},{"photo_id":"1396871094","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396871084":["hashtag1","hashtag2"]},{"1396871098":["hashtag1","hashtag2"]},{"1396871086":["hashtag1","hashtag2"]},{"1396871091":["hashtag1","hashtag2"]},{"1396871094":["hashtag1","hashtag2"]},{"1396871096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396871084, 1396871098, 1396871086, 1396871091, 1396871094, 1396871096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.82168698310852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:00:22.197394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/55/image_29112025_11_55_14_10058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/55/image_29112025_11_55_14_10058.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396871179"],"photo_id":"1396871179","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/472390a07f8e14d725f3f5ea5ea816b1.jpg","text":"TemporaryFile(/tmp/multipartBody8904084384340134264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414082717,"filename":"image_29112025_11_55_14_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396871179"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396871179"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.067161083221436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:00:42.166924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_08_2913.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_12_3879.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_14_2768.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_17_2704.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_20_2640.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_23_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_08_2913.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_12_3879.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_14_2768.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_17_2704.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_20_2640.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_23_3739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396871468","1396871887","1396871694","1396871783","1396871616","1396871538"],"photo_ids_order":["1396871468","1396871538","1396871616","1396871694","1396871783","1396871887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ff4f9a9cdf4ff4f60fd45077cb7ba94.jpg","text":"TemporaryFile(/tmp/multipartBody9139822563487896411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414103214,"filename":"image_31102025_09_31_08_2913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad20b1007574d163b7f6ddd183bebf74.jpg","text":"TemporaryFile(/tmp/multipartBody832702804647881282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414103214,"filename":"image_31102025_09_31_23_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0eb3a0ef1280d26c4e7c5ca62ab09626.jpg","text":"TemporaryFile(/tmp/multipartBody3342154461353835439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414103214,"filename":"image_31102025_09_31_17_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a498b7e348caafdae619b351487a4e54.jpg","text":"TemporaryFile(/tmp/multipartBody8519994551488336559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414103214,"filename":"image_31102025_09_31_20_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81c23bbd7d6a42b2df2d5d2912522049.jpg","text":"TemporaryFile(/tmp/multipartBody4003146851388017337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414103214,"filename":"image_31102025_09_31_14_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c4d833e9992fe62601b30ddd9375bdf.jpg","text":"TemporaryFile(/tmp/multipartBody4521370062901497358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414103214,"filename":"image_31102025_09_31_12_3879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396871616","file1":"1396871538","file0":"1396871468","file4":"1396871783","file5":"1396871887","file3":"1396871694"},"map_files_photo_id_array":[{"photo_id":"1396871887","filename":"file5"},{"photo_id":"1396871616","filename":"file2"},{"photo_id":"1396871783","filename":"file4"},{"photo_id":"1396871538","filename":"file1"},{"photo_id":"1396871468","filename":"file0"},{"photo_id":"1396871694","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396871468":["hashtag1","hashtag2"]},{"1396871887":["hashtag1","hashtag2"]},{"1396871694":["hashtag1","hashtag2"]},{"1396871783":["hashtag1","hashtag2"]},{"1396871616":["hashtag1","hashtag2"]},{"1396871538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396871468, 1396871887, 1396871694, 1396871783, 1396871616, 1396871538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.871628284454346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:01:22.442937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/11/58/image_29112025_11_59_04_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/11/58/image_29112025_11_59_04_9596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396872263"],"photo_id":"1396872263","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/064647272b6170b610cc7f643d0edce3.jpg","text":"TemporaryFile(/tmp/multipartBody685211720990340675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414142960,"filename":"image_29112025_11_59_04_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396872263"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396872263"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.109562397003174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:01:42.416792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_26_2737.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_29_2663.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_33_3712.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_35_2905.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_38_2774.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_41_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_26_2737.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_29_2663.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_33_3712.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_35_2905.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_38_2774.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_41_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396872853","1396873080","1396872745","1396873296","1396873181","1396872965"],"photo_ids_order":["1396872745","1396872853","1396872965","1396873080","1396873181","1396873296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8af1a0b2dc661113e447e06333268f17.jpg","text":"TemporaryFile(/tmp/multipartBody9073944033014913124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414163512,"filename":"image_31102025_09_31_29_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68e99c948938fb8b986a687234a548f9.jpg","text":"TemporaryFile(/tmp/multipartBody8291224862090119754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414163512,"filename":"image_31102025_09_31_35_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5914dc42d86386bd166ea65aa48631b8.jpg","text":"TemporaryFile(/tmp/multipartBody2158078214822503594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414163512,"filename":"image_31102025_09_31_26_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e884b487422bb6cf766c4ca2f13a53fe.jpg","text":"TemporaryFile(/tmp/multipartBody3378461941408428093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414163512,"filename":"image_31102025_09_31_41_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a130722eb4580c74cce67a8a84e9b884.jpg","text":"TemporaryFile(/tmp/multipartBody4866523701281755425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414163512,"filename":"image_31102025_09_31_38_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28f25f3ba76a9cd23ff263e23e0d387c.jpg","text":"TemporaryFile(/tmp/multipartBody5813728281534734964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414163512,"filename":"image_31102025_09_31_33_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396872965","file1":"1396872853","file0":"1396872745","file4":"1396873181","file5":"1396873296","file3":"1396873080"},"map_files_photo_id_array":[{"photo_id":"1396873296","filename":"file5"},{"photo_id":"1396872965","filename":"file2"},{"photo_id":"1396873181","filename":"file4"},{"photo_id":"1396872853","filename":"file1"},{"photo_id":"1396872745","filename":"file0"},{"photo_id":"1396873080","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396872853":["hashtag1","hashtag2"]},{"1396873080":["hashtag1","hashtag2"]},{"1396872745":["hashtag1","hashtag2"]},{"1396873296":["hashtag1","hashtag2"]},{"1396873181":["hashtag1","hashtag2"]},{"1396872965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396872853, 1396873080, 1396872745, 1396873296, 1396873181, 1396872965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19703555107117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:02:22.641443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/01/image_29112025_12_01_24_10563.jpg', '/home/pi/Desktop/images/29112025/12/02/image_29112025_12_02_14_9697.jpg', '/home/pi/Desktop/images/29112025/12/02/image_29112025_12_02_23_9637.jpg', '/home/pi/Desktop/images/29112025/12/02/image_29112025_12_02_34_10690.jpg', '/home/pi/Desktop/images/29112025/12/02/image_29112025_12_02_44_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/01/image_29112025_12_01_24_10563.jpg
/home/pi/Desktop/images/29112025/12/02/image_29112025_12_02_14_9697.jpg
/home/pi/Desktop/images/29112025/12/02/image_29112025_12_02_23_9637.jpg
/home/pi/Desktop/images/29112025/12/02/image_29112025_12_02_34_10690.jpg
/home/pi/Desktop/images/29112025/12/02/image_29112025_12_02_44_9592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396873561","1396873633","1396873787","1396873856","1396873706"],"photo_ids_order":["1396873561","1396873633","1396873706","1396873787","1396873856"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/331df97312a38cd15a91c42b4f3b646a.jpg","text":"TemporaryFile(/tmp/multipartBody1165744448360061363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414203298,"filename":"image_29112025_12_01_24_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e4b1a9e700370157d78c38314881ff4f.jpg","text":"TemporaryFile(/tmp/multipartBody9002695896518801990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414203298,"filename":"image_29112025_12_02_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89ff9bde91ff45b6d1f9fffd03b9d362.jpg","text":"TemporaryFile(/tmp/multipartBody6040777504814631569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414203298,"filename":"image_29112025_12_02_34_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/614a4538e466f5da8e29e91bbb9f2200.jpg","text":"TemporaryFile(/tmp/multipartBody8499815539926169774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414203298,"filename":"image_29112025_12_02_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/11/29/919c95579a1849133afae3627e3fe97a.jpg","text":"TemporaryFile(/tmp/multipartBody8719835712229930999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414203298,"filename":"image_29112025_12_02_23_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396873706","file1":"1396873633","file0":"1396873561","file4":"1396873856","file3":"1396873787"},"map_files_photo_id_array":[{"photo_id":"1396873706","filename":"file2"},{"photo_id":"1396873856","filename":"file4"},{"photo_id":"1396873633","filename":"file1"},{"photo_id":"1396873561","filename":"file0"},{"photo_id":"1396873787","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396873561":["hashtag1","hashtag2"]},{"1396873633":["hashtag1","hashtag2"]},{"1396873787":["hashtag1","hashtag2"]},{"1396873856":["hashtag1","hashtag2"]},{"1396873706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396873561, 1396873633, 1396873787, 1396873856, 1396873706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.9476056098938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:03:02.636612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_29_2634.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_33_3535.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_36_2615.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_38_2744.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_42_3745.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_45_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_29_2634.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_33_3535.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_36_2615.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_38_2744.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_42_3745.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_45_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396874128","1396874163","1396874202","1396874282","1396874240","1396874092"],"photo_ids_order":["1396874092","1396874128","1396874163","1396874202","1396874240","1396874282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c69dec3b3159296831a800000e10d898.jpg","text":"TemporaryFile(/tmp/multipartBody7082143721408063955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414244302,"filename":"image_25112025_18_21_33_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/484a7464121cb77de1ec3743f01432e7.jpg","text":"TemporaryFile(/tmp/multipartBody7489122084552423172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414244302,"filename":"image_25112025_18_21_36_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a87f499e8b9a1160688ceed09c4ad53.jpg","text":"TemporaryFile(/tmp/multipartBody291302707090478591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414244302,"filename":"image_25112025_18_21_38_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6248ffe44d7bf26ad1385827a8e919f0.jpg","text":"TemporaryFile(/tmp/multipartBody3109461686233262845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414244302,"filename":"image_25112025_18_21_45_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b5763cbffdccb6064a63fce5bac7c75.jpg","text":"TemporaryFile(/tmp/multipartBody2633716433249517328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414244302,"filename":"image_25112025_18_21_42_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e01c43e56177fef1542cdd0f10a01fc5.jpg","text":"TemporaryFile(/tmp/multipartBody7328580735546717874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414244302,"filename":"image_25112025_18_21_29_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396874163","file1":"1396874128","file0":"1396874092","file4":"1396874240","file5":"1396874282","file3":"1396874202"},"map_files_photo_id_array":[{"photo_id":"1396874282","filename":"file5"},{"photo_id":"1396874163","filename":"file2"},{"photo_id":"1396874240","filename":"file4"},{"photo_id":"1396874128","filename":"file1"},{"photo_id":"1396874092","filename":"file0"},{"photo_id":"1396874202","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396874128":["hashtag1","hashtag2"]},{"1396874163":["hashtag1","hashtag2"]},{"1396874202":["hashtag1","hashtag2"]},{"1396874282":["hashtag1","hashtag2"]},{"1396874240":["hashtag1","hashtag2"]},{"1396874092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396874128, 1396874163, 1396874202, 1396874282, 1396874240, 1396874092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.726174116134644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:03:41.783765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_44_3674.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_47_2681.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_50_2891.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_53_2701.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_56_3676.jpg', '/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_59_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/09/31/image_31102025_09_31_44_3674.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_47_2681.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_50_2891.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_53_2701.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_56_3676.jpg
/home/pi/Desktop/images/31102025/09/31/image_31102025_09_31_59_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":["1396874766","1396874427","1396874567","1396874375","1396874498","1396874662"],"photo_ids_order":["1396874375","1396874427","1396874498","1396874567","1396874662","1396874766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c409baf2a6b7384da853a3e09c2d71ee.jpg","text":"TemporaryFile(/tmp/multipartBody7556017536754193210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414282899,"filename":"image_31102025_09_31_59_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf0b0a3b4822d3ebc9d6e67fd0d57559.jpg","text":"TemporaryFile(/tmp/multipartBody1074266671607404991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414282899,"filename":"image_31102025_09_31_47_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8193c9a5201a44a015b0d8d5c5808d7.jpg","text":"TemporaryFile(/tmp/multipartBody7498550960879316356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414282899,"filename":"image_31102025_09_31_53_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/558aaa817b15ae45461cbf5d73353158.jpg","text":"TemporaryFile(/tmp/multipartBody3335562554160518065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414282899,"filename":"image_31102025_09_31_44_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4cadc617cb28ad8eeb258b20f8e3331.jpg","text":"TemporaryFile(/tmp/multipartBody3238797540862293403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414282899,"filename":"image_31102025_09_31_50_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5af71d412e9b6d18839f6f6b6040069e.jpg","text":"TemporaryFile(/tmp/multipartBody7423746294414452544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414282899,"filename":"image_31102025_09_31_56_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396874498","file1":"1396874427","file0":"1396874375","file4":"1396874662","file5":"1396874766","file3":"1396874567"},"map_files_photo_id_array":[{"photo_id":"1396874766","filename":"file5"},{"photo_id":"1396874498","filename":"file2"},{"photo_id":"1396874662","filename":"file4"},{"photo_id":"1396874427","filename":"file1"},{"photo_id":"1396874375","filename":"file0"},{"photo_id":"1396874567","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396874766":["hashtag1","hashtag2"]},{"1396874427":["hashtag1","hashtag2"]},{"1396874567":["hashtag1","hashtag2"]},{"1396874375":["hashtag1","hashtag2"]},{"1396874498":["hashtag1","hashtag2"]},{"1396874662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396874766, 1396874427, 1396874567, 1396874375, 1396874498, 1396874662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43097281455994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:04:22.078843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/02/image_29112025_12_02_54_10643.jpg', '/home/pi/Desktop/images/29112025/12/03/image_29112025_12_03_14_9638.jpg', '/home/pi/Desktop/images/29112025/12/03/image_29112025_12_03_24_9737.jpg', '/home/pi/Desktop/images/29112025/12/03/image_29112025_12_03_34_10712.jpg', '/home/pi/Desktop/images/29112025/12/03/image_29112025_12_03_44_9673.jpg', '/home/pi/Desktop/images/29112025/12/03/image_29112025_12_03_53_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/02/image_29112025_12_02_54_10643.jpg
/home/pi/Desktop/images/29112025/12/03/image_29112025_12_03_14_9638.jpg
/home/pi/Desktop/images/29112025/12/03/image_29112025_12_03_24_9737.jpg
/home/pi/Desktop/images/29112025/12/03/image_29112025_12_03_34_10712.jpg
/home/pi/Desktop/images/29112025/12/03/image_29112025_12_03_44_9673.jpg
/home/pi/Desktop/images/29112025/12/03/image_29112025_12_03_53_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396875159","1396875056","1396875428","1396874951","1396875241","1396875337"],"photo_ids_order":["1396874951","1396875056","1396875159","1396875241","1396875337","1396875428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1811411247e6e8fd5aec7c422a3d7d43.jpg","text":"TemporaryFile(/tmp/multipartBody381297478500230351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414322773,"filename":"image_29112025_12_03_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/11/29/f8df7f10bce9de9ae066047c2f714edd.jpg","text":"TemporaryFile(/tmp/multipartBody902714592693155080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414322773,"filename":"image_29112025_12_03_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4bebaaa756fe9974b88fb1a0c67cfa1b.jpg","text":"TemporaryFile(/tmp/multipartBody8677851058253469366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414322773,"filename":"image_29112025_12_03_53_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3506e11c4dad6eaf6a4a283478e1394d.jpg","text":"TemporaryFile(/tmp/multipartBody247406638769978654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414322773,"filename":"image_29112025_12_02_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce17d2ee8f372b48c6a83ee983e2e43d.jpg","text":"TemporaryFile(/tmp/multipartBody3372209670315117561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414322773,"filename":"image_29112025_12_03_34_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1dfd68dd89efbf2843c77f186d76a36.jpg","text":"TemporaryFile(/tmp/multipartBody135832802689916498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414322773,"filename":"image_29112025_12_03_44_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396875159","file1":"1396875056","file0":"1396874951","file4":"1396875337","file5":"1396875428","file3":"1396875241"},"map_files_photo_id_array":[{"photo_id":"1396875428","filename":"file5"},{"photo_id":"1396875159","filename":"file2"},{"photo_id":"1396875337","filename":"file4"},{"photo_id":"1396875056","filename":"file1"},{"photo_id":"1396874951","filename":"file0"},{"photo_id":"1396875241","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396875159":["hashtag1","hashtag2"]},{"1396875056":["hashtag1","hashtag2"]},{"1396875428":["hashtag1","hashtag2"]},{"1396874951":["hashtag1","hashtag2"]},{"1396875241":["hashtag1","hashtag2"]},{"1396875337":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396875159, 1396875056, 1396875428, 1396874951, 1396875241, 1396875337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33897519111633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:05:02.782059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/03/image_29112025_12_04_04_10644.jpg', '/home/pi/Desktop/images/29112025/12/04/image_29112025_12_04_14_9718.jpg', '/home/pi/Desktop/images/29112025/12/04/image_29112025_12_04_24_9671.jpg', '/home/pi/Desktop/images/29112025/12/04/image_29112025_12_04_44_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/03/image_29112025_12_04_04_10644.jpg
/home/pi/Desktop/images/29112025/12/04/image_29112025_12_04_14_9718.jpg
/home/pi/Desktop/images/29112025/12/04/image_29112025_12_04_24_9671.jpg
/home/pi/Desktop/images/29112025/12/04/image_29112025_12_04_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":["1396875879","1396875732","1396875809","1396875934"],"photo_ids_order":["1396875732","1396875809","1396875879","1396875934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b968d9021ac1bc0d05966e6a13487b0.jpg","text":"TemporaryFile(/tmp/multipartBody7611268704245854341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414363524,"filename":"image_29112025_12_04_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/11/29/409b50306c20de8245f59aebc0393ec2.jpg","text":"TemporaryFile(/tmp/multipartBody5988124427655247445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414363524,"filename":"image_29112025_12_04_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/11/29/71565b50710a95199dc6098e433fa398.jpg","text":"TemporaryFile(/tmp/multipartBody1404087555211095476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414363524,"filename":"image_29112025_12_04_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/11/29/7b2f6ed0fd998e1333dfa18c532769f1.jpg","text":"TemporaryFile(/tmp/multipartBody1566329178657535713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414363524,"filename":"image_29112025_12_04_44_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396875879","file1":"1396875809","file0":"1396875732","file3":"1396875934"},"map_files_photo_id_array":[{"photo_id":"1396875879","filename":"file2"},{"photo_id":"1396875809","filename":"file1"},{"photo_id":"1396875732","filename":"file0"},{"photo_id":"1396875934","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396875879":["hashtag1","hashtag2"]},{"1396875732":["hashtag1","hashtag2"]},{"1396875809":["hashtag1","hashtag2"]},{"1396875934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396875879, 1396875732, 1396875809, 1396875934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.786506414413452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 12:05:32.108642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_47_2633.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_51_3638.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_54_2589.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_56_2808.jpg', '/home/pi/Desktop/images/25112025/18/21/image_25112025_18_22_00_3641.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_03_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_47_2633.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_51_3638.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_54_2589.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_21_56_2808.jpg
/home/pi/Desktop/images/25112025/18/21/image_25112025_18_22_00_3641.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_03_2640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396876187","1396876081","1396876183","1396876123","1396876161","1396876185"],"photo_ids_order":["1396876081","1396876123","1396876161","1396876183","1396876185","1396876187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b89500b4e01a843d0d796325b39dc51e.jpg","text":"TemporaryFile(/tmp/multipartBody5730453544017883321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414394339,"filename":"image_25112025_18_22_03_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0a9c2bd36e8daa4b9ec35a9455815b1.jpg","text":"TemporaryFile(/tmp/multipartBody1835697688062121626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414394339,"filename":"image_25112025_18_21_47_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab5a4dc3328c5e2c9443e503a2696eee.jpg","text":"TemporaryFile(/tmp/multipartBody6877746694299210706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414394339,"filename":"image_25112025_18_21_56_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80b8ed65f3706d8fa34d8902741c0055.jpg","text":"TemporaryFile(/tmp/multipartBody4219544487560004945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414394339,"filename":"image_25112025_18_21_51_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5246537d8ec847d1f0a67c801910753e.jpg","text":"TemporaryFile(/tmp/multipartBody333275973106315320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414394339,"filename":"image_25112025_18_21_54_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7d2a91b7425389afd9642e405b677e6.jpg","text":"TemporaryFile(/tmp/multipartBody2642846378323660958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414394339,"filename":"image_25112025_18_22_00_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876161","file1":"1396876123","file0":"1396876081","file4":"1396876185","file5":"1396876187","file3":"1396876183"},"map_files_photo_id_array":[{"photo_id":"1396876187","filename":"file5"},{"photo_id":"1396876161","filename":"file2"},{"photo_id":"1396876185","filename":"file4"},{"photo_id":"1396876123","filename":"file1"},{"photo_id":"1396876081","filename":"file0"},{"photo_id":"1396876183","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396876187":["hashtag1","hashtag2"]},{"1396876081":["hashtag1","hashtag2"]},{"1396876183":["hashtag1","hashtag2"]},{"1396876123":["hashtag1","hashtag2"]},{"1396876161":["hashtag1","hashtag2"]},{"1396876185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396876187, 1396876081, 1396876183, 1396876123, 1396876161, 1396876185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23730707168579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 12:06:12.388118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_06_2794.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_09_3511.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_12_2652.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_14_2594.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_18_3691.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_21_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_06_2794.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_09_3511.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_12_2652.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_14_2594.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_18_3691.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_21_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396876397","1396876358","1396876274","1396876319","1396876435","1396876476"],"photo_ids_order":["1396876274","1396876319","1396876358","1396876397","1396876435","1396876476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/376f30b249efaf35e5829df646da3b43.jpg","text":"TemporaryFile(/tmp/multipartBody7469127460904474464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414435366,"filename":"image_25112025_18_22_14_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32f33119b5efc9e2cb9b8440a585db46.jpg","text":"TemporaryFile(/tmp/multipartBody3290978124660610242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414435366,"filename":"image_25112025_18_22_12_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/683fe83797a35c77106cdfa5d0d1b6a0.jpg","text":"TemporaryFile(/tmp/multipartBody9089179978780313735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414435366,"filename":"image_25112025_18_22_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/11/29/190aba51de3a06c420acd36ff2c12743.jpg","text":"TemporaryFile(/tmp/multipartBody360021480864320390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414435366,"filename":"image_25112025_18_22_09_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c16a59dfa77f97f06f43f6c08051dc75.jpg","text":"TemporaryFile(/tmp/multipartBody7381767704300392834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414435366,"filename":"image_25112025_18_22_18_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5beb97dbe285c862c5cdde5ea30110d8.jpg","text":"TemporaryFile(/tmp/multipartBody3612739670223234734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414435366,"filename":"image_25112025_18_22_21_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876358","file1":"1396876319","file0":"1396876274","file4":"1396876435","file5":"1396876476","file3":"1396876397"},"map_files_photo_id_array":[{"photo_id":"1396876476","filename":"file5"},{"photo_id":"1396876358","filename":"file2"},{"photo_id":"1396876435","filename":"file4"},{"photo_id":"1396876319","filename":"file1"},{"photo_id":"1396876274","filename":"file0"},{"photo_id":"1396876397","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396876397":["hashtag1","hashtag2"]},{"1396876358":["hashtag1","hashtag2"]},{"1396876274":["hashtag1","hashtag2"]},{"1396876319":["hashtag1","hashtag2"]},{"1396876435":["hashtag1","hashtag2"]},{"1396876476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396876397, 1396876358, 1396876274, 1396876319, 1396876435, 1396876476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.69554805755615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:07:03.192715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/04/image_29112025_12_04_54_10545.jpg', '/home/pi/Desktop/images/29112025/12/04/image_29112025_12_05_04_9661.jpg', '/home/pi/Desktop/images/29112025/12/05/image_29112025_12_05_34_9594.jpg', '/home/pi/Desktop/images/29112025/12/05/image_29112025_12_05_44_9670.jpg', '/home/pi/Desktop/images/29112025/12/05/image_29112025_12_05_54_10674.jpg', '/home/pi/Desktop/images/29112025/12/06/image_29112025_12_06_23_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/04/image_29112025_12_04_54_10545.jpg
/home/pi/Desktop/images/29112025/12/04/image_29112025_12_05_04_9661.jpg
/home/pi/Desktop/images/29112025/12/05/image_29112025_12_05_34_9594.jpg
/home/pi/Desktop/images/29112025/12/05/image_29112025_12_05_44_9670.jpg
/home/pi/Desktop/images/29112025/12/05/image_29112025_12_05_54_10674.jpg
/home/pi/Desktop/images/29112025/12/06/image_29112025_12_06_23_9827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396876580","1396876574","1396876598","1396876640","1396876624","1396876644"],"photo_ids_order":["1396876574","1396876580","1396876598","1396876624","1396876640","1396876644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39ccc3178c0b1e1be66b77233b9bc92c.jpg","text":"TemporaryFile(/tmp/multipartBody4823246003650146832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414486170,"filename":"image_29112025_12_05_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/11/29/e6c32ddd7ef56b6abf438cac05144d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7702858874193542448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414486170,"filename":"image_29112025_12_04_54_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06946c0725f7f0affc83e2a23706d66f.jpg","text":"TemporaryFile(/tmp/multipartBody5195230832267560471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414486170,"filename":"image_29112025_12_05_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34f786de5422573a6e961b372c68d8f2.jpg","text":"TemporaryFile(/tmp/multipartBody4172376281907424389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414486170,"filename":"image_29112025_12_05_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a93ee756a2d149163a3e974f57880759.jpg","text":"TemporaryFile(/tmp/multipartBody5249197385271861009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414486170,"filename":"image_29112025_12_05_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/11/29/6a3c35c81c032ca09e56d04ab88248f5.jpg","text":"TemporaryFile(/tmp/multipartBody686116192730603663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414486170,"filename":"image_29112025_12_06_23_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876598","file1":"1396876580","file0":"1396876574","file4":"1396876640","file5":"1396876644","file3":"1396876624"},"map_files_photo_id_array":[{"photo_id":"1396876644","filename":"file5"},{"photo_id":"1396876598","filename":"file2"},{"photo_id":"1396876640","filename":"file4"},{"photo_id":"1396876580","filename":"file1"},{"photo_id":"1396876574","filename":"file0"},{"photo_id":"1396876624","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396876580":["hashtag1","hashtag2"]},{"1396876574":["hashtag1","hashtag2"]},{"1396876598":["hashtag1","hashtag2"]},{"1396876640":["hashtag1","hashtag2"]},{"1396876624":["hashtag1","hashtag2"]},{"1396876644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396876580, 1396876574, 1396876598, 1396876640, 1396876624, 1396876644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.04626393318176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:08:03.256195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/06/image_29112025_12_06_34_10639.jpg', '/home/pi/Desktop/images/29112025/12/06/image_29112025_12_06_44_9804.jpg', '/home/pi/Desktop/images/29112025/12/06/image_29112025_12_06_54_9616.jpg', '/home/pi/Desktop/images/29112025/12/06/image_29112025_12_07_04_10654.jpg', '/home/pi/Desktop/images/29112025/12/07/image_29112025_12_07_14_9789.jpg', '/home/pi/Desktop/images/29112025/12/07/image_29112025_12_07_34_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/06/image_29112025_12_06_34_10639.jpg
/home/pi/Desktop/images/29112025/12/06/image_29112025_12_06_44_9804.jpg
/home/pi/Desktop/images/29112025/12/06/image_29112025_12_06_54_9616.jpg
/home/pi/Desktop/images/29112025/12/06/image_29112025_12_07_04_10654.jpg
/home/pi/Desktop/images/29112025/12/07/image_29112025_12_07_14_9789.jpg
/home/pi/Desktop/images/29112025/12/07/image_29112025_12_07_34_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396876656","1396876655","1396876658","1396876652","1396876654","1396876653"],"photo_ids_order":["1396876652","1396876653","1396876654","1396876655","1396876656","1396876658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3347a1aa641b5aefc4c35d4f576cf15f.jpg","text":"TemporaryFile(/tmp/multipartBody5308317842505872065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414544461,"filename":"image_29112025_12_07_14_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cd4e72633d7e21469d6ec1138e4a37b.jpg","text":"TemporaryFile(/tmp/multipartBody2951162171924437600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414544461,"filename":"image_29112025_12_07_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/11/29/1bb538c84179b3e53e3b210097411ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1643177035415012218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414544461,"filename":"image_29112025_12_07_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86c738871580fa8b0635d105b013d00b.jpg","text":"TemporaryFile(/tmp/multipartBody5485220588691533650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414544461,"filename":"image_29112025_12_06_34_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5067ae8b1aa5f7be7ca733aa6a4eaae6.jpg","text":"TemporaryFile(/tmp/multipartBody4921312584096204478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414544461,"filename":"image_29112025_12_06_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2542974c93b97f0d4902cb930f0d4a82.jpg","text":"TemporaryFile(/tmp/multipartBody9053521292760588076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414544461,"filename":"image_29112025_12_06_44_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876654","file1":"1396876653","file0":"1396876652","file4":"1396876656","file5":"1396876658","file3":"1396876655"},"map_files_photo_id_array":[{"photo_id":"1396876658","filename":"file5"},{"photo_id":"1396876654","filename":"file2"},{"photo_id":"1396876656","filename":"file4"},{"photo_id":"1396876653","filename":"file1"},{"photo_id":"1396876652","filename":"file0"},{"photo_id":"1396876655","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396876656":["hashtag1","hashtag2"]},{"1396876655":["hashtag1","hashtag2"]},{"1396876658":["hashtag1","hashtag2"]},{"1396876652":["hashtag1","hashtag2"]},{"1396876654":["hashtag1","hashtag2"]},{"1396876653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396876656, 1396876655, 1396876658, 1396876652, 1396876654, 1396876653)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.01400637626648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:09:03.092284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/07/image_29112025_12_07_44_9683.jpg', '/home/pi/Desktop/images/29112025/12/07/image_29112025_12_07_54_9763.jpg', '/home/pi/Desktop/images/29112025/12/07/image_29112025_12_08_03_9736.jpg', '/home/pi/Desktop/images/29112025/12/08/image_29112025_12_08_14_10730.jpg', '/home/pi/Desktop/images/29112025/12/08/image_29112025_12_08_24_9540.jpg', '/home/pi/Desktop/images/29112025/12/08/image_29112025_12_08_34_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/07/image_29112025_12_07_44_9683.jpg
/home/pi/Desktop/images/29112025/12/07/image_29112025_12_07_54_9763.jpg
/home/pi/Desktop/images/29112025/12/07/image_29112025_12_08_03_9736.jpg
/home/pi/Desktop/images/29112025/12/08/image_29112025_12_08_14_10730.jpg
/home/pi/Desktop/images/29112025/12/08/image_29112025_12_08_24_9540.jpg
/home/pi/Desktop/images/29112025/12/08/image_29112025_12_08_34_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396876673","1396876676","1396876679","1396876681","1396876675","1396876677"],"photo_ids_order":["1396876673","1396876675","1396876676","1396876677","1396876679","1396876681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d6ad216141e3d76788ea881e70fa523f.jpg","text":"TemporaryFile(/tmp/multipartBody4081593789881203035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414605353,"filename":"image_29112025_12_07_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/11/29/8ed83739a3b7f2d9307ae1b10dba508a.jpg","text":"TemporaryFile(/tmp/multipartBody2784857793921403283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414605353,"filename":"image_29112025_12_08_03_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28f35ea31fbe11e3ab1df6575cd1579e.jpg","text":"TemporaryFile(/tmp/multipartBody1447957393372367819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414605353,"filename":"image_29112025_12_08_24_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c98713cf6ea6fcad1cc95374e00b127a.jpg","text":"TemporaryFile(/tmp/multipartBody134549901851830435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414605353,"filename":"image_29112025_12_08_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/11/29/c2dad5294e70fb742a48ae576e130dcf.jpg","text":"TemporaryFile(/tmp/multipartBody8690823153618191076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414605353,"filename":"image_29112025_12_07_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9db21aa5f486f01c4807f7c3e57e4981.jpg","text":"TemporaryFile(/tmp/multipartBody2091763689965130406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414605353,"filename":"image_29112025_12_08_14_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876676","file1":"1396876675","file0":"1396876673","file4":"1396876679","file5":"1396876681","file3":"1396876677"},"map_files_photo_id_array":[{"photo_id":"1396876681","filename":"file5"},{"photo_id":"1396876676","filename":"file2"},{"photo_id":"1396876679","filename":"file4"},{"photo_id":"1396876675","filename":"file1"},{"photo_id":"1396876673","filename":"file0"},{"photo_id":"1396876677","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396876673":["hashtag1","hashtag2"]},{"1396876676":["hashtag1","hashtag2"]},{"1396876679":["hashtag1","hashtag2"]},{"1396876681":["hashtag1","hashtag2"]},{"1396876675":["hashtag1","hashtag2"]},{"1396876677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396876673, 1396876676, 1396876679, 1396876681, 1396876675, 1396876677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.324169874191284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:10:02.654782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/08/image_29112025_12_08_44_10665.jpg', '/home/pi/Desktop/images/29112025/12/08/image_29112025_12_08_54_9703.jpg', '/home/pi/Desktop/images/29112025/12/08/image_29112025_12_09_04_9632.jpg', '/home/pi/Desktop/images/29112025/12/09/image_29112025_12_09_14_10791.jpg', '/home/pi/Desktop/images/29112025/12/09/image_29112025_12_09_24_9603.jpg', '/home/pi/Desktop/images/29112025/12/09/image_29112025_12_09_34_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/08/image_29112025_12_08_44_10665.jpg
/home/pi/Desktop/images/29112025/12/08/image_29112025_12_08_54_9703.jpg
/home/pi/Desktop/images/29112025/12/08/image_29112025_12_09_04_9632.jpg
/home/pi/Desktop/images/29112025/12/09/image_29112025_12_09_14_10791.jpg
/home/pi/Desktop/images/29112025/12/09/image_29112025_12_09_24_9603.jpg
/home/pi/Desktop/images/29112025/12/09/image_29112025_12_09_34_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396876694","1396876697","1396876699","1396876703","1396876693","1396876695"],"photo_ids_order":["1396876693","1396876694","1396876695","1396876697","1396876699","1396876703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e553d4539fb6829df4dd773e0192e33.jpg","text":"TemporaryFile(/tmp/multipartBody794211994316145860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414663475,"filename":"image_29112025_12_08_54_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef55e67b64b6a65228667847d68e09e3.jpg","text":"TemporaryFile(/tmp/multipartBody6713819922122095652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414663475,"filename":"image_29112025_12_09_14_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a64d40dffada30e80065428bd3d0bb01.jpg","text":"TemporaryFile(/tmp/multipartBody513858945855370904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414663475,"filename":"image_29112025_12_09_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/11/29/be0d212f8c309cb42be5846bf1491e37.jpg","text":"TemporaryFile(/tmp/multipartBody1517072029469725913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414663475,"filename":"image_29112025_12_09_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3afd6c3600d1210b57fa04c14b87371.jpg","text":"TemporaryFile(/tmp/multipartBody4876486229021959136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414663475,"filename":"image_29112025_12_08_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/11/29/acc81904ac6dfdb39e86da6821fd5c9a.jpg","text":"TemporaryFile(/tmp/multipartBody6135488983524346175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414663475,"filename":"image_29112025_12_09_04_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876695","file1":"1396876694","file0":"1396876693","file4":"1396876699","file5":"1396876703","file3":"1396876697"},"map_files_photo_id_array":[{"photo_id":"1396876703","filename":"file5"},{"photo_id":"1396876695","filename":"file2"},{"photo_id":"1396876699","filename":"file4"},{"photo_id":"1396876694","filename":"file1"},{"photo_id":"1396876693","filename":"file0"},{"photo_id":"1396876697","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396876694":["hashtag1","hashtag2"]},{"1396876697":["hashtag1","hashtag2"]},{"1396876699":["hashtag1","hashtag2"]},{"1396876703":["hashtag1","hashtag2"]},{"1396876693":["hashtag1","hashtag2"]},{"1396876695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396876694, 1396876697, 1396876699, 1396876703, 1396876693, 1396876695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60516929626465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:10:42.307054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_02_2588.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_05_3690.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_08_2702.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_11_2785.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_14_3645.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_17_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/09/32/image_31102025_09_32_02_2588.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_05_3690.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_08_2702.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_11_2785.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_14_3645.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_17_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":["1396876716","1396876718","1396876715","1396876714","1396876717","1396876711"],"photo_ids_order":["1396876711","1396876714","1396876715","1396876716","1396876717","1396876718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6db5e9dba60865a6da771d487c53ad9.jpg","text":"TemporaryFile(/tmp/multipartBody442977673884014188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414704498,"filename":"image_31102025_09_32_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/11/29/e615532c222df5d0bc61e597e0bc56d2.jpg","text":"TemporaryFile(/tmp/multipartBody7416602310161261663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414704498,"filename":"image_31102025_09_32_17_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/badeed1218a7ff4f31d981191fc8332d.jpg","text":"TemporaryFile(/tmp/multipartBody106751670814738356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414704498,"filename":"image_31102025_09_32_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/11/29/5978103a832ae1e9e059a6ee32ca04fd.jpg","text":"TemporaryFile(/tmp/multipartBody2371100815824391841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414704498,"filename":"image_31102025_09_32_05_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b755eda0439107100d52e412cae4ece.jpg","text":"TemporaryFile(/tmp/multipartBody2688825898780564449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414704498,"filename":"image_31102025_09_32_14_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86cf3297eb0c5d412e6fe282201b758b.jpg","text":"TemporaryFile(/tmp/multipartBody1302215741794262164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414704498,"filename":"image_31102025_09_32_02_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876715","file1":"1396876714","file0":"1396876711","file4":"1396876717","file5":"1396876718","file3":"1396876716"},"map_files_photo_id_array":[{"photo_id":"1396876718","filename":"file5"},{"photo_id":"1396876715","filename":"file2"},{"photo_id":"1396876717","filename":"file4"},{"photo_id":"1396876714","filename":"file1"},{"photo_id":"1396876711","filename":"file0"},{"photo_id":"1396876716","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396876716":["hashtag1","hashtag2"]},{"1396876718":["hashtag1","hashtag2"]},{"1396876715":["hashtag1","hashtag2"]},{"1396876714":["hashtag1","hashtag2"]},{"1396876717":["hashtag1","hashtag2"]},{"1396876711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396876716, 1396876718, 1396876715, 1396876714, 1396876717, 1396876711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22078609466553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:11:22.493789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/09/image_29112025_12_09_44_10610.jpg', '/home/pi/Desktop/images/29112025/12/09/image_29112025_12_09_54_9602.jpg', '/home/pi/Desktop/images/29112025/12/09/image_29112025_12_10_04_9775.jpg', '/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_14_10600.jpg', '/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_24_9676.jpg', '/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_34_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/09/image_29112025_12_09_44_10610.jpg
/home/pi/Desktop/images/29112025/12/09/image_29112025_12_09_54_9602.jpg
/home/pi/Desktop/images/29112025/12/09/image_29112025_12_10_04_9775.jpg
/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_14_10600.jpg
/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_24_9676.jpg
/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_34_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396876728","1396876722","1396876736","1396876733","1396876731","1396876725"],"photo_ids_order":["1396876722","1396876725","1396876728","1396876731","1396876733","1396876736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12c9c6beff854d1309b76f36ea07e0ca.jpg","text":"TemporaryFile(/tmp/multipartBody5110516996754967658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414743188,"filename":"image_29112025_12_10_04_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86fb7d59149def20822fce958ceda155.jpg","text":"TemporaryFile(/tmp/multipartBody6699615792603586199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414743188,"filename":"image_29112025_12_09_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/11/29/b5f072edc12c3faf4a1d2312723a26e6.jpg","text":"TemporaryFile(/tmp/multipartBody2368880292242781381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414743188,"filename":"image_29112025_12_10_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ca93778e2aaf043212ba3e50000c3c9.jpg","text":"TemporaryFile(/tmp/multipartBody2713807293001877616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414743188,"filename":"image_29112025_12_10_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/345acb17b18cb93c8d5fbeee5f13e061.jpg","text":"TemporaryFile(/tmp/multipartBody1663533464667344704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414743188,"filename":"image_29112025_12_10_14_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/967043f0f52bdb9ba62d381f2f583ff6.jpg","text":"TemporaryFile(/tmp/multipartBody7828624375584567272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414743188,"filename":"image_29112025_12_09_54_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876728","file1":"1396876725","file0":"1396876722","file4":"1396876733","file5":"1396876736","file3":"1396876731"},"map_files_photo_id_array":[{"photo_id":"1396876736","filename":"file5"},{"photo_id":"1396876728","filename":"file2"},{"photo_id":"1396876733","filename":"file4"},{"photo_id":"1396876725","filename":"file1"},{"photo_id":"1396876722","filename":"file0"},{"photo_id":"1396876731","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396876728":["hashtag1","hashtag2"]},{"1396876722":["hashtag1","hashtag2"]},{"1396876736":["hashtag1","hashtag2"]},{"1396876733":["hashtag1","hashtag2"]},{"1396876731":["hashtag1","hashtag2"]},{"1396876725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396876728, 1396876722, 1396876736, 1396876733, 1396876731, 1396876725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29483079910278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:12:03.115744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_44_10828.jpg', '/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_54_9776.jpg', '/home/pi/Desktop/images/29112025/12/10/image_29112025_12_11_04_9778.jpg', '/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_14_9657.jpg', '/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_23_9853.jpg', '/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_34_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_44_10828.jpg
/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_54_9776.jpg
/home/pi/Desktop/images/29112025/12/10/image_29112025_12_11_04_9778.jpg
/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_14_9657.jpg
/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_23_9853.jpg
/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_34_10673.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6361348628997803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 12:12:12.668873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_23_2736.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_27_3480.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_30_2776.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_32_2554.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_36_3650.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_39_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_23_2736.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_27_3480.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_30_2776.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_32_2554.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_36_3650.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_39_2549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396876742","1396876739","1396876750","1396876753","1396876756","1396876746"],"photo_ids_order":["1396876739","1396876742","1396876746","1396876750","1396876753","1396876756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92200b50c51545dbafbead3b97ed5660.jpg","text":"TemporaryFile(/tmp/multipartBody4077039398564743203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414795390,"filename":"image_25112025_18_22_27_3480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7240f19fae48505335f5b0dc1f921e60.jpg","text":"TemporaryFile(/tmp/multipartBody8089165377518925638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414795390,"filename":"image_25112025_18_22_23_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c26afd6132a3a3fa8597506424a3a7f7.jpg","text":"TemporaryFile(/tmp/multipartBody3598342933236840264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414795390,"filename":"image_25112025_18_22_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/11/29/8a6a632a26894c3381fa2ff807076646.jpg","text":"TemporaryFile(/tmp/multipartBody9043078817163683964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414795390,"filename":"image_25112025_18_22_36_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7c977e8ee2d261bb3dea68b4da198c6.jpg","text":"TemporaryFile(/tmp/multipartBody8920286483959881357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414795390,"filename":"image_25112025_18_22_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/11/29/ab5510cc00bfe440bd3950a20891abe9.jpg","text":"TemporaryFile(/tmp/multipartBody2024333183668468030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414795390,"filename":"image_25112025_18_22_30_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876746","file1":"1396876742","file0":"1396876739","file4":"1396876753","file5":"1396876756","file3":"1396876750"},"map_files_photo_id_array":[{"photo_id":"1396876756","filename":"file5"},{"photo_id":"1396876746","filename":"file2"},{"photo_id":"1396876753","filename":"file4"},{"photo_id":"1396876742","filename":"file1"},{"photo_id":"1396876739","filename":"file0"},{"photo_id":"1396876750","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396876742":["hashtag1","hashtag2"]},{"1396876739":["hashtag1","hashtag2"]},{"1396876750":["hashtag1","hashtag2"]},{"1396876753":["hashtag1","hashtag2"]},{"1396876756":["hashtag1","hashtag2"]},{"1396876746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396876742, 1396876739, 1396876750, 1396876753, 1396876756, 1396876746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.20096564292908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:13:02.539193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_44_10828.jpg', '/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_54_9776.jpg', '/home/pi/Desktop/images/29112025/12/10/image_29112025_12_11_04_9778.jpg', '/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_14_9657.jpg', '/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_23_9853.jpg', '/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_34_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_44_10828.jpg
/home/pi/Desktop/images/29112025/12/10/image_29112025_12_10_54_9776.jpg
/home/pi/Desktop/images/29112025/12/10/image_29112025_12_11_04_9778.jpg
/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_14_9657.jpg
/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_23_9853.jpg
/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_34_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396876800","1396876799","1396876789","1396876804","1396876807","1396876797"],"photo_ids_order":["1396876789","1396876797","1396876799","1396876800","1396876804","1396876807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41ab44d8e7ecc9eebff2f0f58f891ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5186919916033330184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414843354,"filename":"image_29112025_12_11_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/11/29/0742b6109caac635a689b26e3c557175.jpg","text":"TemporaryFile(/tmp/multipartBody2498015433979791266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414843354,"filename":"image_29112025_12_11_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/11/29/e1ea51f71b6ab913e10498d49c8e79b3.jpg","text":"TemporaryFile(/tmp/multipartBody3390695992696163691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414843354,"filename":"image_29112025_12_10_44_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfb662698ce0e2cc4b128356a6012588.jpg","text":"TemporaryFile(/tmp/multipartBody3744008348540867980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414843354,"filename":"image_29112025_12_11_23_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/caccacef361af4ad818cc38826389a45.jpg","text":"TemporaryFile(/tmp/multipartBody2305550574089703012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414843354,"filename":"image_29112025_12_11_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/11/29/31f9724e5be82f434ed8f2e770829d52.jpg","text":"TemporaryFile(/tmp/multipartBody2279341989121792727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414843354,"filename":"image_29112025_12_10_54_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876799","file1":"1396876797","file0":"1396876789","file4":"1396876804","file5":"1396876807","file3":"1396876800"},"map_files_photo_id_array":[{"photo_id":"1396876807","filename":"file5"},{"photo_id":"1396876799","filename":"file2"},{"photo_id":"1396876804","filename":"file4"},{"photo_id":"1396876797","filename":"file1"},{"photo_id":"1396876789","filename":"file0"},{"photo_id":"1396876800","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396876800":["hashtag1","hashtag2"]},{"1396876799":["hashtag1","hashtag2"]},{"1396876789":["hashtag1","hashtag2"]},{"1396876804":["hashtag1","hashtag2"]},{"1396876807":["hashtag1","hashtag2"]},{"1396876797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396876800, 1396876799, 1396876789, 1396876804, 1396876807, 1396876797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35797309875488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:14:02.821885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_44_9595.jpg', '/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_54_10556.jpg', '/home/pi/Desktop/images/29112025/12/11/image_29112025_12_12_04_9685.jpg', '/home/pi/Desktop/images/29112025/12/12/image_29112025_12_12_14_9605.jpg', '/home/pi/Desktop/images/29112025/12/12/image_29112025_12_12_24_10662.jpg', '/home/pi/Desktop/images/29112025/12/12/image_29112025_12_12_34_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_44_9595.jpg
/home/pi/Desktop/images/29112025/12/11/image_29112025_12_11_54_10556.jpg
/home/pi/Desktop/images/29112025/12/11/image_29112025_12_12_04_9685.jpg
/home/pi/Desktop/images/29112025/12/12/image_29112025_12_12_14_9605.jpg
/home/pi/Desktop/images/29112025/12/12/image_29112025_12_12_24_10662.jpg
/home/pi/Desktop/images/29112025/12/12/image_29112025_12_12_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":["1396876821","1396876815","1396876826","1396876816","1396876819","1396876818"],"photo_ids_order":["1396876815","1396876816","1396876818","1396876819","1396876821","1396876826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f8ef266ab098e88f56b9029c3fdfef4.jpg","text":"TemporaryFile(/tmp/multipartBody8597204469789877056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414903587,"filename":"image_29112025_12_12_24_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f03c5165e6551901036bc75dde266f7.jpg","text":"TemporaryFile(/tmp/multipartBody47275366732179676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414903587,"filename":"image_29112025_12_11_44_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/256806445c79432f67a06afac1a14ced.jpg","text":"TemporaryFile(/tmp/multipartBody3150290157454008598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414903587,"filename":"image_29112025_12_12_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/11/29/5bbdaacb9595579dee2859015f114ee3.jpg","text":"TemporaryFile(/tmp/multipartBody4000899157437665346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414903587,"filename":"image_29112025_12_11_54_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6a192e29c072e82d611066ca257780e.jpg","text":"TemporaryFile(/tmp/multipartBody1432972030296627741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414903587,"filename":"image_29112025_12_12_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9527ec0d211a2294b32a8f30b20548d.jpg","text":"TemporaryFile(/tmp/multipartBody368215480321533169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414903587,"filename":"image_29112025_12_12_04_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876818","file1":"1396876816","file0":"1396876815","file4":"1396876821","file5":"1396876826","file3":"1396876819"},"map_files_photo_id_array":[{"photo_id":"1396876826","filename":"file5"},{"photo_id":"1396876818","filename":"file2"},{"photo_id":"1396876821","filename":"file4"},{"photo_id":"1396876816","filename":"file1"},{"photo_id":"1396876815","filename":"file0"},{"photo_id":"1396876819","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396876821":["hashtag1","hashtag2"]},{"1396876815":["hashtag1","hashtag2"]},{"1396876826":["hashtag1","hashtag2"]},{"1396876816":["hashtag1","hashtag2"]},{"1396876819":["hashtag1","hashtag2"]},{"1396876818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396876821, 1396876815, 1396876826, 1396876816, 1396876819, 1396876818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4836049079895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:14:42.076991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_20_2585.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_23_3568.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_26_2676.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_29_2718.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_32_3605.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_35_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/09/32/image_31102025_09_32_20_2585.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_23_3568.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_26_2676.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_29_2718.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_32_3605.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_35_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":["1396876841","1396876838","1396876840","1396876834","1396876836","1396876839"],"photo_ids_order":["1396876834","1396876836","1396876838","1396876839","1396876840","1396876841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e7f43d9500bbd175a7ffe4b4d6dfc77.jpg","text":"TemporaryFile(/tmp/multipartBody5867153857485270221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414943163,"filename":"image_31102025_09_32_35_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59163ab7b712ea6677b6ed749f6c06b8.jpg","text":"TemporaryFile(/tmp/multipartBody8290045617249858588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414943163,"filename":"image_31102025_09_32_26_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5129d19709fe8306ec00d03763b36ac5.jpg","text":"TemporaryFile(/tmp/multipartBody6070478996037713982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414943163,"filename":"image_31102025_09_32_32_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85663d2d6d5e658714497ae76ec76b04.jpg","text":"TemporaryFile(/tmp/multipartBody4707091914348431538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414943163,"filename":"image_31102025_09_32_20_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97a4a7f61d84c2bfbaf45cc8e49512f7.jpg","text":"TemporaryFile(/tmp/multipartBody5166540279600928195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414943163,"filename":"image_31102025_09_32_23_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc0bf7886ed7aa31d9e932b3aada54da.jpg","text":"TemporaryFile(/tmp/multipartBody5176178531309154921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414943163,"filename":"image_31102025_09_32_29_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876838","file1":"1396876836","file0":"1396876834","file4":"1396876840","file5":"1396876841","file3":"1396876839"},"map_files_photo_id_array":[{"photo_id":"1396876841","filename":"file5"},{"photo_id":"1396876838","filename":"file2"},{"photo_id":"1396876840","filename":"file4"},{"photo_id":"1396876836","filename":"file1"},{"photo_id":"1396876834","filename":"file0"},{"photo_id":"1396876839","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396876841":["hashtag1","hashtag2"]},{"1396876838":["hashtag1","hashtag2"]},{"1396876840":["hashtag1","hashtag2"]},{"1396876834":["hashtag1","hashtag2"]},{"1396876836":["hashtag1","hashtag2"]},{"1396876839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396876841, 1396876838, 1396876840, 1396876834, 1396876836, 1396876839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28348517417908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:15:22.259981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/12/image_29112025_12_12_44_9676.jpg', '/home/pi/Desktop/images/29112025/12/12/image_29112025_12_12_53_9836.jpg', '/home/pi/Desktop/images/29112025/12/12/image_29112025_12_13_04_10655.jpg', '/home/pi/Desktop/images/29112025/12/13/image_29112025_12_13_14_9632.jpg', '/home/pi/Desktop/images/29112025/12/13/image_29112025_12_13_24_9754.jpg', '/home/pi/Desktop/images/29112025/12/13/image_29112025_12_13_34_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/12/image_29112025_12_12_44_9676.jpg
/home/pi/Desktop/images/29112025/12/12/image_29112025_12_12_53_9836.jpg
/home/pi/Desktop/images/29112025/12/12/image_29112025_12_13_04_10655.jpg
/home/pi/Desktop/images/29112025/12/13/image_29112025_12_13_14_9632.jpg
/home/pi/Desktop/images/29112025/12/13/image_29112025_12_13_24_9754.jpg
/home/pi/Desktop/images/29112025/12/13/image_29112025_12_13_34_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":["1396876848","1396877093","1396876850","1396877008","1396876915","1396876843"],"photo_ids_order":["1396876843","1396876848","1396876850","1396876915","1396877008","1396877093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/526968419f90f08612158a05a39250d3.jpg","text":"TemporaryFile(/tmp/multipartBody4917655448746582509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414982964,"filename":"image_29112025_12_12_53_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dcf1a803b84384ede5f37b40c6b862d9.jpg","text":"TemporaryFile(/tmp/multipartBody648804108603545377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414982964,"filename":"image_29112025_12_13_34_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/abf432cd15d64ac775048c7cc5736c96.jpg","text":"TemporaryFile(/tmp/multipartBody8094207407219078696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414982964,"filename":"image_29112025_12_13_04_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e5beafa5a0664a81c29a0838f6a1c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5659384013368813334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414982964,"filename":"image_29112025_12_13_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/11/29/1aedd22d65057f8e78b5bc0335e62ffc.jpg","text":"TemporaryFile(/tmp/multipartBody4768393682975307482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414982964,"filename":"image_29112025_12_13_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/11/29/23f02950091699b52907d1fd15cca874.jpg","text":"TemporaryFile(/tmp/multipartBody8224345481829410903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764414982964,"filename":"image_29112025_12_12_44_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396876850","file1":"1396876848","file0":"1396876843","file4":"1396877008","file5":"1396877093","file3":"1396876915"},"map_files_photo_id_array":[{"photo_id":"1396877093","filename":"file5"},{"photo_id":"1396876850","filename":"file2"},{"photo_id":"1396877008","filename":"file4"},{"photo_id":"1396876848","filename":"file1"},{"photo_id":"1396876843","filename":"file0"},{"photo_id":"1396876915","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396876848":["hashtag1","hashtag2"]},{"1396877093":["hashtag1","hashtag2"]},{"1396876850":["hashtag1","hashtag2"]},{"1396877008":["hashtag1","hashtag2"]},{"1396876915":["hashtag1","hashtag2"]},{"1396876843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396876848, 1396877093, 1396876850, 1396877008, 1396876915, 1396876843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19097685813904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:16:02.856456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/13/image_29112025_12_13_44_9630.jpg', '/home/pi/Desktop/images/29112025/12/13/image_29112025_12_13_54_9717.jpg', '/home/pi/Desktop/images/29112025/12/13/image_29112025_12_14_04_10622.jpg', '/home/pi/Desktop/images/29112025/12/14/image_29112025_12_14_14_9660.jpg', '/home/pi/Desktop/images/29112025/12/14/image_29112025_12_14_24_9647.jpg', '/home/pi/Desktop/images/29112025/12/14/image_29112025_12_14_34_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/13/image_29112025_12_13_44_9630.jpg
/home/pi/Desktop/images/29112025/12/13/image_29112025_12_13_54_9717.jpg
/home/pi/Desktop/images/29112025/12/13/image_29112025_12_14_04_10622.jpg
/home/pi/Desktop/images/29112025/12/14/image_29112025_12_14_14_9660.jpg
/home/pi/Desktop/images/29112025/12/14/image_29112025_12_14_24_9647.jpg
/home/pi/Desktop/images/29112025/12/14/image_29112025_12_14_34_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396877495","1396877801","1396877698","1396877386","1396877923","1396877601"],"photo_ids_order":["1396877386","1396877495","1396877601","1396877698","1396877801","1396877923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa5132793d0cb6dcbdcea171afe33083.jpg","text":"TemporaryFile(/tmp/multipartBody1384485144328316657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415023588,"filename":"image_29112025_12_13_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/11/29/5060aaa7cb2e1cdea530a1665fa05586.jpg","text":"TemporaryFile(/tmp/multipartBody6899382323538279594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415023588,"filename":"image_29112025_12_14_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09070e8dfdf6a04660983a2177cb1a1a.jpg","text":"TemporaryFile(/tmp/multipartBody1857107294572922257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415023588,"filename":"image_29112025_12_14_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/11/29/d2ddb9386d5420e52e79a4abab12e16c.jpg","text":"TemporaryFile(/tmp/multipartBody4236445119017730360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415023588,"filename":"image_29112025_12_13_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/200a64842d4c7f5708d20bc7187b3ca1.jpg","text":"TemporaryFile(/tmp/multipartBody4558629922537239906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415023588,"filename":"image_29112025_12_14_34_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4becdbf9c78c7af0602527d5d706f04.jpg","text":"TemporaryFile(/tmp/multipartBody2569115936624264566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415023588,"filename":"image_29112025_12_14_04_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396877601","file1":"1396877495","file0":"1396877386","file4":"1396877801","file5":"1396877923","file3":"1396877698"},"map_files_photo_id_array":[{"photo_id":"1396877923","filename":"file5"},{"photo_id":"1396877601","filename":"file2"},{"photo_id":"1396877801","filename":"file4"},{"photo_id":"1396877495","filename":"file1"},{"photo_id":"1396877386","filename":"file0"},{"photo_id":"1396877698","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396877495":["hashtag1","hashtag2"]},{"1396877801":["hashtag1","hashtag2"]},{"1396877698":["hashtag1","hashtag2"]},{"1396877386":["hashtag1","hashtag2"]},{"1396877923":["hashtag1","hashtag2"]},{"1396877601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396877495, 1396877801, 1396877698, 1396877386, 1396877923, 1396877601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36600875854492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:16:42.367481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_38_2667.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_41_3640.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_44_2509.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_47_2808.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_49_2856.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_55_5578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_38_2667.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_41_3640.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_44_2509.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_47_2808.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_49_2856.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_55_5578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396878070","1396878073","1396878072","1396878074","1396878068","1396878071"],"photo_ids_order":["1396878068","1396878070","1396878071","1396878072","1396878073","1396878074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f67900ab55520e70472fb3e7a58161b.jpg","text":"TemporaryFile(/tmp/multipartBody3353322954054585970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415063474,"filename":"image_31102025_09_32_41_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/440c6d526d95a2f50dc8b20e825ca5ad.jpg","text":"TemporaryFile(/tmp/multipartBody7315775531362890808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415063474,"filename":"image_31102025_09_32_49_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17c5e470ad6856e7d8790b95a3efc40f.jpg","text":"TemporaryFile(/tmp/multipartBody5809553135822818824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415063474,"filename":"image_31102025_09_32_47_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b98b9fa6f4c386270d199cd889b4f52b.jpg","text":"TemporaryFile(/tmp/multipartBody7983102742265970447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415063474,"filename":"image_31102025_09_32_55_5578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d10aa7c80970167fdace1b6602fb7b83.jpg","text":"TemporaryFile(/tmp/multipartBody5191597036915250675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415063474,"filename":"image_31102025_09_32_38_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e8c4da7a0d66a9af3c6f8ea42d8d49b.jpg","text":"TemporaryFile(/tmp/multipartBody2174657780367179631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415063474,"filename":"image_31102025_09_32_44_2509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878071","file1":"1396878070","file0":"1396878068","file4":"1396878073","file5":"1396878074","file3":"1396878072"},"map_files_photo_id_array":[{"photo_id":"1396878074","filename":"file5"},{"photo_id":"1396878071","filename":"file2"},{"photo_id":"1396878073","filename":"file4"},{"photo_id":"1396878070","filename":"file1"},{"photo_id":"1396878068","filename":"file0"},{"photo_id":"1396878072","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396878070":["hashtag1","hashtag2"]},{"1396878073":["hashtag1","hashtag2"]},{"1396878072":["hashtag1","hashtag2"]},{"1396878074":["hashtag1","hashtag2"]},{"1396878068":["hashtag1","hashtag2"]},{"1396878071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396878070, 1396878073, 1396878072, 1396878074, 1396878068, 1396878071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.9176070690155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 12:17:32.479465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_42_3660.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_45_2632.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_47_2664.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_51_3620.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_54_2747.jpg', '/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_56_2498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_42_3660.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_45_2632.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_47_2664.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_51_3620.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_54_2747.jpg
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_22_56_2498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396878397","1396878442","1396878316","1396878369","1396878441","1396878380"],"photo_ids_order":["1396878316","1396878369","1396878380","1396878397","1396878441","1396878442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cdeb44e16b7d4265c4c6dbb2ac828b77.jpg","text":"TemporaryFile(/tmp/multipartBody402632210633410558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415114699,"filename":"image_25112025_18_22_51_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b28e5db58bdd359fe1bef00a938b34a3.jpg","text":"TemporaryFile(/tmp/multipartBody1469902493062948678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415114699,"filename":"image_25112025_18_22_56_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3292902a3397a80af2736d9bfc90fc1d.jpg","text":"TemporaryFile(/tmp/multipartBody3927633039195050948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415114699,"filename":"image_25112025_18_22_42_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/caf2a9472437ce2eefd591e6f852d421.jpg","text":"TemporaryFile(/tmp/multipartBody8938595676901613767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415114699,"filename":"image_25112025_18_22_45_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/514067925df0f545a5353b1176f42fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1562248840755361139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415114699,"filename":"image_25112025_18_22_54_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d63bb075f8b5b1e9294c7ea430dda28.jpg","text":"TemporaryFile(/tmp/multipartBody1086179741766798500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415114699,"filename":"image_25112025_18_22_47_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878380","file1":"1396878369","file0":"1396878316","file4":"1396878441","file5":"1396878442","file3":"1396878397"},"map_files_photo_id_array":[{"photo_id":"1396878442","filename":"file5"},{"photo_id":"1396878380","filename":"file2"},{"photo_id":"1396878441","filename":"file4"},{"photo_id":"1396878369","filename":"file1"},{"photo_id":"1396878316","filename":"file0"},{"photo_id":"1396878397","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396878397":["hashtag1","hashtag2"]},{"1396878442":["hashtag1","hashtag2"]},{"1396878316":["hashtag1","hashtag2"]},{"1396878369":["hashtag1","hashtag2"]},{"1396878441":["hashtag1","hashtag2"]},{"1396878380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396878397, 1396878442, 1396878316, 1396878369, 1396878441, 1396878380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.75351357460022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:18:22.856997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/14/image_29112025_12_14_44_9724.jpg', '/home/pi/Desktop/images/29112025/12/14/image_29112025_12_14_54_9761.jpg', '/home/pi/Desktop/images/29112025/12/14/image_29112025_12_15_04_10578.jpg', '/home/pi/Desktop/images/29112025/12/15/image_29112025_12_15_14_9605.jpg', '/home/pi/Desktop/images/29112025/12/15/image_29112025_12_15_24_10623.jpg', '/home/pi/Desktop/images/29112025/12/15/image_29112025_12_15_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/14/image_29112025_12_14_44_9724.jpg
/home/pi/Desktop/images/29112025/12/14/image_29112025_12_14_54_9761.jpg
/home/pi/Desktop/images/29112025/12/14/image_29112025_12_15_04_10578.jpg
/home/pi/Desktop/images/29112025/12/15/image_29112025_12_15_14_9605.jpg
/home/pi/Desktop/images/29112025/12/15/image_29112025_12_15_24_10623.jpg
/home/pi/Desktop/images/29112025/12/15/image_29112025_12_15_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":["1396878568","1396878577","1396878558","1396878531","1396878525","1396878528"],"photo_ids_order":["1396878525","1396878528","1396878531","1396878558","1396878568","1396878577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4e23f3e12ce8a837409fe27f78eccae.jpg","text":"TemporaryFile(/tmp/multipartBody8660387492634411700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415163579,"filename":"image_29112025_12_15_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/11/29/597455078d94bed5068990e1afe5ca34.jpg","text":"TemporaryFile(/tmp/multipartBody4488549901965347766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415163579,"filename":"image_29112025_12_15_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/11/29/750bde812c3dfcb9a4767098cd25d9cc.jpg","text":"TemporaryFile(/tmp/multipartBody2124625148663458520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415163579,"filename":"image_29112025_12_15_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a98753435ae676156c82cfb2054a9207.jpg","text":"TemporaryFile(/tmp/multipartBody3874553305067175194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415163579,"filename":"image_29112025_12_15_04_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4bc24c5df5e1de688cefd4f14d0f371.jpg","text":"TemporaryFile(/tmp/multipartBody1467039384184333288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415163579,"filename":"image_29112025_12_14_44_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/367e1e1a9936ccb4280dafce55434885.jpg","text":"TemporaryFile(/tmp/multipartBody4684542551293218497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415163579,"filename":"image_29112025_12_14_54_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878531","file1":"1396878528","file0":"1396878525","file4":"1396878568","file5":"1396878577","file3":"1396878558"},"map_files_photo_id_array":[{"photo_id":"1396878577","filename":"file5"},{"photo_id":"1396878531","filename":"file2"},{"photo_id":"1396878568","filename":"file4"},{"photo_id":"1396878528","filename":"file1"},{"photo_id":"1396878525","filename":"file0"},{"photo_id":"1396878558","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396878568":["hashtag1","hashtag2"]},{"1396878577":["hashtag1","hashtag2"]},{"1396878558":["hashtag1","hashtag2"]},{"1396878531":["hashtag1","hashtag2"]},{"1396878525":["hashtag1","hashtag2"]},{"1396878528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396878568, 1396878577, 1396878558, 1396878531, 1396878525, 1396878528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97780990600586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:19:02.946611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/15/image_29112025_12_15_44_9727.jpg', '/home/pi/Desktop/images/29112025/12/15/image_29112025_12_15_54_10540.jpg', '/home/pi/Desktop/images/29112025/12/15/image_29112025_12_16_04_9680.jpg', '/home/pi/Desktop/images/29112025/12/16/image_29112025_12_16_14_9871.jpg', '/home/pi/Desktop/images/29112025/12/16/image_29112025_12_16_24_9659.jpg', '/home/pi/Desktop/images/29112025/12/16/image_29112025_12_16_34_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/15/image_29112025_12_15_44_9727.jpg
/home/pi/Desktop/images/29112025/12/15/image_29112025_12_15_54_10540.jpg
/home/pi/Desktop/images/29112025/12/15/image_29112025_12_16_04_9680.jpg
/home/pi/Desktop/images/29112025/12/16/image_29112025_12_16_14_9871.jpg
/home/pi/Desktop/images/29112025/12/16/image_29112025_12_16_24_9659.jpg
/home/pi/Desktop/images/29112025/12/16/image_29112025_12_16_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":["1396878605","1396878613","1396878607","1396878603","1396878606","1396878609"],"photo_ids_order":["1396878603","1396878605","1396878606","1396878607","1396878609","1396878613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a18e9ed360961b328e98d8c9db56d5c.jpg","text":"TemporaryFile(/tmp/multipartBody532568840904470746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415203865,"filename":"image_29112025_12_15_54_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b244d91d839d3f6f082f84f8f6830ce7.jpg","text":"TemporaryFile(/tmp/multipartBody595820197007862254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415203865,"filename":"image_29112025_12_16_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/11/29/fc4a516233cdc42d00eb89da37061758.jpg","text":"TemporaryFile(/tmp/multipartBody463438219912314565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415203865,"filename":"image_29112025_12_16_14_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/844301aa1de5dc6fb692da86465d0e6d.jpg","text":"TemporaryFile(/tmp/multipartBody4146326480307997988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415203865,"filename":"image_29112025_12_15_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/11/29/210dd679e1d287393f8eebabaabda45a.jpg","text":"TemporaryFile(/tmp/multipartBody646407048874827060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415203865,"filename":"image_29112025_12_16_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/11/29/ad79fe8dc110073a93ee142ab218ebf8.jpg","text":"TemporaryFile(/tmp/multipartBody4188746123560017950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415203865,"filename":"image_29112025_12_16_24_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878606","file1":"1396878605","file0":"1396878603","file4":"1396878609","file5":"1396878613","file3":"1396878607"},"map_files_photo_id_array":[{"photo_id":"1396878613","filename":"file5"},{"photo_id":"1396878606","filename":"file2"},{"photo_id":"1396878609","filename":"file4"},{"photo_id":"1396878605","filename":"file1"},{"photo_id":"1396878603","filename":"file0"},{"photo_id":"1396878607","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396878605":["hashtag1","hashtag2"]},{"1396878613":["hashtag1","hashtag2"]},{"1396878607":["hashtag1","hashtag2"]},{"1396878603":["hashtag1","hashtag2"]},{"1396878606":["hashtag1","hashtag2"]},{"1396878609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396878605, 1396878613, 1396878607, 1396878603, 1396878606, 1396878609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82147264480591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:19:41.950823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_57_1679.jpg', '/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_59_2587.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_02_2674.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_05_2661.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_08_3682.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_11_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/09/32/image_31102025_09_32_57_1679.jpg
/home/pi/Desktop/images/31102025/09/32/image_31102025_09_32_59_2587.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_02_2674.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_05_2661.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_08_3682.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_11_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":["1396878673","1396878670","1396878654","1396878671","1396878659","1396878632"],"photo_ids_order":["1396878632","1396878654","1396878659","1396878670","1396878671","1396878673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d3278cd9d7cd79d8022b93298912c67.jpg","text":"TemporaryFile(/tmp/multipartBody5694485733217079947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415243071,"filename":"image_31102025_09_33_11_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/694a95eb16acbef87cb3e28375f182f3.jpg","text":"TemporaryFile(/tmp/multipartBody2807222697472663182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415243071,"filename":"image_31102025_09_33_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/11/29/9dca246edbed56f10e4ec8dceb48b97c.jpg","text":"TemporaryFile(/tmp/multipartBody3314725662362823843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415243071,"filename":"image_31102025_09_32_59_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4464315d00cf2e8b3cc0f2ff909a06da.jpg","text":"TemporaryFile(/tmp/multipartBody338583556013978455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415243071,"filename":"image_31102025_09_33_08_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/412ccf8b1838f42386ff5ee0fe430f23.jpg","text":"TemporaryFile(/tmp/multipartBody8009355456271309890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415243071,"filename":"image_31102025_09_33_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/11/29/6989bc5d0f054de309f376d5cba1da6b.jpg","text":"TemporaryFile(/tmp/multipartBody7383760538224115236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415243071,"filename":"image_31102025_09_32_57_1679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878659","file1":"1396878654","file0":"1396878632","file4":"1396878671","file5":"1396878673","file3":"1396878670"},"map_files_photo_id_array":[{"photo_id":"1396878673","filename":"file5"},{"photo_id":"1396878659","filename":"file2"},{"photo_id":"1396878671","filename":"file4"},{"photo_id":"1396878654","filename":"file1"},{"photo_id":"1396878632","filename":"file0"},{"photo_id":"1396878670","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396878673":["hashtag1","hashtag2"]},{"1396878670":["hashtag1","hashtag2"]},{"1396878654":["hashtag1","hashtag2"]},{"1396878671":["hashtag1","hashtag2"]},{"1396878659":["hashtag1","hashtag2"]},{"1396878632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396878673, 1396878670, 1396878654, 1396878671, 1396878659, 1396878632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50788879394531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:20:22.093690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/16/image_29112025_12_16_54_10647.jpg', '/home/pi/Desktop/images/29112025/12/16/image_29112025_12_17_04_9677.jpg', '/home/pi/Desktop/images/29112025/12/17/image_29112025_12_17_14_9847.jpg', '/home/pi/Desktop/images/29112025/12/17/image_29112025_12_17_24_9576.jpg', '/home/pi/Desktop/images/29112025/12/17/image_29112025_12_17_34_10731.jpg', '/home/pi/Desktop/images/29112025/12/17/image_29112025_12_17_44_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/16/image_29112025_12_16_54_10647.jpg
/home/pi/Desktop/images/29112025/12/16/image_29112025_12_17_04_9677.jpg
/home/pi/Desktop/images/29112025/12/17/image_29112025_12_17_14_9847.jpg
/home/pi/Desktop/images/29112025/12/17/image_29112025_12_17_24_9576.jpg
/home/pi/Desktop/images/29112025/12/17/image_29112025_12_17_34_10731.jpg
/home/pi/Desktop/images/29112025/12/17/image_29112025_12_17_44_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":["1396878690","1396878678","1396878687","1396878692","1396878680","1396878683"],"photo_ids_order":["1396878678","1396878680","1396878683","1396878687","1396878690","1396878692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2292e65c603c345913f01e742ed8ef2.jpg","text":"TemporaryFile(/tmp/multipartBody1438917572399645771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415282826,"filename":"image_29112025_12_17_34_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70237b885de55822e449dd4636de481c.jpg","text":"TemporaryFile(/tmp/multipartBody7893458290530102037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415282826,"filename":"image_29112025_12_16_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/11/29/8b7f32811360be75e48498e360456634.jpg","text":"TemporaryFile(/tmp/multipartBody1338530967132450665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415282826,"filename":"image_29112025_12_17_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/11/29/8ef5d590fc3701f72319be067a7491ca.jpg","text":"TemporaryFile(/tmp/multipartBody236146795931372052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415282826,"filename":"image_29112025_12_17_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/11/29/aed2fbb9e596a61d62ac30075d4435b9.jpg","text":"TemporaryFile(/tmp/multipartBody9155555583604968028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415282826,"filename":"image_29112025_12_17_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/11/29/30e83cb20b54d8ce6114093580071b8f.jpg","text":"TemporaryFile(/tmp/multipartBody3250266135182101618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415282826,"filename":"image_29112025_12_17_14_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878683","file1":"1396878680","file0":"1396878678","file4":"1396878690","file5":"1396878692","file3":"1396878687"},"map_files_photo_id_array":[{"photo_id":"1396878692","filename":"file5"},{"photo_id":"1396878683","filename":"file2"},{"photo_id":"1396878690","filename":"file4"},{"photo_id":"1396878680","filename":"file1"},{"photo_id":"1396878678","filename":"file0"},{"photo_id":"1396878687","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396878690":["hashtag1","hashtag2"]},{"1396878678":["hashtag1","hashtag2"]},{"1396878687":["hashtag1","hashtag2"]},{"1396878692":["hashtag1","hashtag2"]},{"1396878680":["hashtag1","hashtag2"]},{"1396878683":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396878690, 1396878678, 1396878687, 1396878692, 1396878680, 1396878683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83692479133606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:21:03.041806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/17/image_29112025_12_17_54_9668.jpg', '/home/pi/Desktop/images/29112025/12/17/image_29112025_12_18_04_10769.jpg', '/home/pi/Desktop/images/29112025/12/18/image_29112025_12_18_14_9606.jpg', '/home/pi/Desktop/images/29112025/12/18/image_29112025_12_18_24_9562.jpg', '/home/pi/Desktop/images/29112025/12/18/image_29112025_12_18_34_10709.jpg', '/home/pi/Desktop/images/29112025/12/18/image_29112025_12_18_44_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/17/image_29112025_12_17_54_9668.jpg
/home/pi/Desktop/images/29112025/12/17/image_29112025_12_18_04_10769.jpg
/home/pi/Desktop/images/29112025/12/18/image_29112025_12_18_14_9606.jpg
/home/pi/Desktop/images/29112025/12/18/image_29112025_12_18_24_9562.jpg
/home/pi/Desktop/images/29112025/12/18/image_29112025_12_18_34_10709.jpg
/home/pi/Desktop/images/29112025/12/18/image_29112025_12_18_44_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":["1396878704","1396878703","1396878706","1396878711","1396878705","1396878708"],"photo_ids_order":["1396878703","1396878704","1396878705","1396878706","1396878708","1396878711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/855cd5f2c5b5cb069c880d066cda3fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4189340232823178072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415323841,"filename":"image_29112025_12_18_04_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29f95c855586ff89e64eb2272131ac65.jpg","text":"TemporaryFile(/tmp/multipartBody7208415318105432418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415323841,"filename":"image_29112025_12_17_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/11/29/b9b4e0d572b27c3322130a2c8b29615b.jpg","text":"TemporaryFile(/tmp/multipartBody18510182383057331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415323841,"filename":"image_29112025_12_18_24_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d688c2ae234006fa506b6603bd06af51.jpg","text":"TemporaryFile(/tmp/multipartBody4693687311370570128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415323841,"filename":"image_29112025_12_18_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/11/29/7123cd2082df97019a883cb3bca46382.jpg","text":"TemporaryFile(/tmp/multipartBody4860382302246846102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415323841,"filename":"image_29112025_12_18_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9df1a445a07b15ea72282280c38a1e87.jpg","text":"TemporaryFile(/tmp/multipartBody6373762302897579431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415323841,"filename":"image_29112025_12_18_34_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878705","file1":"1396878704","file0":"1396878703","file4":"1396878708","file5":"1396878711","file3":"1396878706"},"map_files_photo_id_array":[{"photo_id":"1396878711","filename":"file5"},{"photo_id":"1396878705","filename":"file2"},{"photo_id":"1396878708","filename":"file4"},{"photo_id":"1396878704","filename":"file1"},{"photo_id":"1396878703","filename":"file0"},{"photo_id":"1396878706","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396878704":["hashtag1","hashtag2"]},{"1396878703":["hashtag1","hashtag2"]},{"1396878706":["hashtag1","hashtag2"]},{"1396878711":["hashtag1","hashtag2"]},{"1396878705":["hashtag1","hashtag2"]},{"1396878708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396878704, 1396878703, 1396878706, 1396878711, 1396878705, 1396878708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69168543815613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:21:42.421678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_14_2755.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_17_2704.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_20_3668.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_24_3467.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_26_2613.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_29_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/09/33/image_31102025_09_33_14_2755.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_17_2704.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_20_3668.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_24_3467.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_26_2613.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_29_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":["1396878728","1396878721","1396878727","1396878723","1396878726","1396878725"],"photo_ids_order":["1396878721","1396878723","1396878725","1396878726","1396878727","1396878728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11ce0c6c651865266c622dd58b50dbf2.jpg","text":"TemporaryFile(/tmp/multipartBody7383789563225771185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415363502,"filename":"image_31102025_09_33_29_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88d725d69afa349474bde454f578fb1f.jpg","text":"TemporaryFile(/tmp/multipartBody601695673781723029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415363502,"filename":"image_31102025_09_33_14_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52b1e6f1760dd51948caca89d8790765.jpg","text":"TemporaryFile(/tmp/multipartBody2999390837003498324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415363502,"filename":"image_31102025_09_33_26_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df863ff96a8aa51fc11d3bea59de21e0.jpg","text":"TemporaryFile(/tmp/multipartBody3780398693131833672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415363502,"filename":"image_31102025_09_33_17_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9dee6cabaeee9dd44a9a689accde117.jpg","text":"TemporaryFile(/tmp/multipartBody4516432185049059280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415363502,"filename":"image_31102025_09_33_24_3467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a557c5b772815c4eb5f8bcb5c37e3b7.jpg","text":"TemporaryFile(/tmp/multipartBody9079084640998213846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415363502,"filename":"image_31102025_09_33_20_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878725","file1":"1396878723","file0":"1396878721","file4":"1396878727","file5":"1396878728","file3":"1396878726"},"map_files_photo_id_array":[{"photo_id":"1396878728","filename":"file5"},{"photo_id":"1396878725","filename":"file2"},{"photo_id":"1396878727","filename":"file4"},{"photo_id":"1396878723","filename":"file1"},{"photo_id":"1396878721","filename":"file0"},{"photo_id":"1396878726","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396878728":["hashtag1","hashtag2"]},{"1396878721":["hashtag1","hashtag2"]},{"1396878727":["hashtag1","hashtag2"]},{"1396878723":["hashtag1","hashtag2"]},{"1396878726":["hashtag1","hashtag2"]},{"1396878725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396878728, 1396878721, 1396878727, 1396878723, 1396878726, 1396878725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74286913871765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:22:22.583333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/18/image_29112025_12_18_54_9674.jpg', '/home/pi/Desktop/images/29112025/12/18/image_29112025_12_19_04_10699.jpg', '/home/pi/Desktop/images/29112025/12/19/image_29112025_12_19_14_9762.jpg', '/home/pi/Desktop/images/29112025/12/19/image_29112025_12_19_24_9625.jpg', '/home/pi/Desktop/images/29112025/12/19/image_29112025_12_19_34_10593.jpg', '/home/pi/Desktop/images/29112025/12/19/image_29112025_12_19_44_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/18/image_29112025_12_18_54_9674.jpg
/home/pi/Desktop/images/29112025/12/18/image_29112025_12_19_04_10699.jpg
/home/pi/Desktop/images/29112025/12/19/image_29112025_12_19_14_9762.jpg
/home/pi/Desktop/images/29112025/12/19/image_29112025_12_19_24_9625.jpg
/home/pi/Desktop/images/29112025/12/19/image_29112025_12_19_34_10593.jpg
/home/pi/Desktop/images/29112025/12/19/image_29112025_12_19_44_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":["1396878827","1396878806","1396878748","1396878820","1396878823","1396878762"],"photo_ids_order":["1396878748","1396878762","1396878806","1396878820","1396878823","1396878827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9bbdbcdb9ea3c5fd1e912f441f4bbdd.jpg","text":"TemporaryFile(/tmp/multipartBody1759700026932413671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415403288,"filename":"image_29112025_12_19_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5d1f0170cc077155b1b0003f58926bd.jpg","text":"TemporaryFile(/tmp/multipartBody9165199706138679425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415403288,"filename":"image_29112025_12_19_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c46789eae311ec3511702041617debb.jpg","text":"TemporaryFile(/tmp/multipartBody8371458001393603392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415403288,"filename":"image_29112025_12_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/11/29/2f74aa03923617fa2aa3bd43be5b5944.jpg","text":"TemporaryFile(/tmp/multipartBody4264670990783617685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415403288,"filename":"image_29112025_12_19_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cdf65d004732cae24be5ba338dea3e4.jpg","text":"TemporaryFile(/tmp/multipartBody393113906436075665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415403288,"filename":"image_29112025_12_19_34_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/090cefd9811cba04038c74b40e09e216.jpg","text":"TemporaryFile(/tmp/multipartBody5430238702585536062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415403288,"filename":"image_29112025_12_19_04_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878806","file1":"1396878762","file0":"1396878748","file4":"1396878823","file5":"1396878827","file3":"1396878820"},"map_files_photo_id_array":[{"photo_id":"1396878827","filename":"file5"},{"photo_id":"1396878806","filename":"file2"},{"photo_id":"1396878823","filename":"file4"},{"photo_id":"1396878762","filename":"file1"},{"photo_id":"1396878748","filename":"file0"},{"photo_id":"1396878820","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396878827":["hashtag1","hashtag2"]},{"1396878806":["hashtag1","hashtag2"]},{"1396878748":["hashtag1","hashtag2"]},{"1396878820":["hashtag1","hashtag2"]},{"1396878823":["hashtag1","hashtag2"]},{"1396878762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396878827, 1396878806, 1396878748, 1396878820, 1396878823, 1396878762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.949918031692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:23:03.402851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/19/image_29112025_12_19_54_9677.jpg', '/home/pi/Desktop/images/29112025/12/19/image_29112025_12_20_04_10136.jpg', '/home/pi/Desktop/images/29112025/12/20/image_29112025_12_20_14_9854.jpg', '/home/pi/Desktop/images/29112025/12/20/image_29112025_12_20_24_10537.jpg', '/home/pi/Desktop/images/29112025/12/20/image_29112025_12_20_34_9656.jpg', '/home/pi/Desktop/images/29112025/12/20/image_29112025_12_20_44_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/19/image_29112025_12_19_54_9677.jpg
/home/pi/Desktop/images/29112025/12/19/image_29112025_12_20_04_10136.jpg
/home/pi/Desktop/images/29112025/12/20/image_29112025_12_20_14_9854.jpg
/home/pi/Desktop/images/29112025/12/20/image_29112025_12_20_24_10537.jpg
/home/pi/Desktop/images/29112025/12/20/image_29112025_12_20_34_9656.jpg
/home/pi/Desktop/images/29112025/12/20/image_29112025_12_20_44_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396878832","1396878831","1396878840","1396878834","1396878837","1396878830"],"photo_ids_order":["1396878830","1396878831","1396878832","1396878834","1396878837","1396878840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/687a6fc2be311d4c5d642c32bd7eb069.jpg","text":"TemporaryFile(/tmp/multipartBody4081301769295077092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415444239,"filename":"image_29112025_12_20_14_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f658aa6b62fffc8c67ccc32751b5fc31.jpg","text":"TemporaryFile(/tmp/multipartBody3919888826622871934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415444239,"filename":"image_29112025_12_20_04_10136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e80351114cd1d63027675e221ae9d54b.jpg","text":"TemporaryFile(/tmp/multipartBody564309107911209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415444239,"filename":"image_29112025_12_20_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af722c0a2f21ff30620285584e062bbb.jpg","text":"TemporaryFile(/tmp/multipartBody7575303892977111549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415444239,"filename":"image_29112025_12_20_24_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ec5905ae4dc27e2026c602aaceed389.jpg","text":"TemporaryFile(/tmp/multipartBody8159902505890084221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415444239,"filename":"image_29112025_12_20_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/11/29/cc37124e8257d11529300f7202854ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2132620611907999830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415444239,"filename":"image_29112025_12_19_54_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878832","file1":"1396878831","file0":"1396878830","file4":"1396878837","file5":"1396878840","file3":"1396878834"},"map_files_photo_id_array":[{"photo_id":"1396878840","filename":"file5"},{"photo_id":"1396878832","filename":"file2"},{"photo_id":"1396878837","filename":"file4"},{"photo_id":"1396878831","filename":"file1"},{"photo_id":"1396878830","filename":"file0"},{"photo_id":"1396878834","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396878832":["hashtag1","hashtag2"]},{"1396878831":["hashtag1","hashtag2"]},{"1396878840":["hashtag1","hashtag2"]},{"1396878834":["hashtag1","hashtag2"]},{"1396878837":["hashtag1","hashtag2"]},{"1396878830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396878832, 1396878831, 1396878840, 1396878834, 1396878837, 1396878830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44569706916809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:23:42.863641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_32_2876.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_34_2683.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_38_3789.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_41_2681.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_43_2636.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_47_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/09/33/image_31102025_09_33_32_2876.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_34_2683.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_38_3789.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_41_2681.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_43_2636.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_47_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":["1396878853","1396878847","1396878862","1396878861","1396878860","1396878863"],"photo_ids_order":["1396878847","1396878853","1396878860","1396878861","1396878862","1396878863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bb52b033ca852369d7304a625e201d5.jpg","text":"TemporaryFile(/tmp/multipartBody6774298957823888044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415484005,"filename":"image_31102025_09_33_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/11/29/0e78b7af9870e2082801c233aa93b075.jpg","text":"TemporaryFile(/tmp/multipartBody5164636820920502648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415484005,"filename":"image_31102025_09_33_32_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f310a7a8dc00609a15f3609e33fbaa71.jpg","text":"TemporaryFile(/tmp/multipartBody6232104874217973677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415484005,"filename":"image_31102025_09_33_43_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6eb4efd20041c0de1df173e56c3963c8.jpg","text":"TemporaryFile(/tmp/multipartBody6027442214199039466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415484005,"filename":"image_31102025_09_33_41_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f93b19f7a274a3e40dab289124ebd2a8.jpg","text":"TemporaryFile(/tmp/multipartBody6418467120220151556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415484005,"filename":"image_31102025_09_33_38_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4adc0ded86fb328e1ecbb86cbf775f2.jpg","text":"TemporaryFile(/tmp/multipartBody252314928078731170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415484005,"filename":"image_31102025_09_33_47_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878860","file1":"1396878853","file0":"1396878847","file4":"1396878862","file5":"1396878863","file3":"1396878861"},"map_files_photo_id_array":[{"photo_id":"1396878863","filename":"file5"},{"photo_id":"1396878860","filename":"file2"},{"photo_id":"1396878862","filename":"file4"},{"photo_id":"1396878853","filename":"file1"},{"photo_id":"1396878847","filename":"file0"},{"photo_id":"1396878861","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396878853":["hashtag1","hashtag2"]},{"1396878847":["hashtag1","hashtag2"]},{"1396878862":["hashtag1","hashtag2"]},{"1396878861":["hashtag1","hashtag2"]},{"1396878860":["hashtag1","hashtag2"]},{"1396878863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396878853, 1396878847, 1396878862, 1396878861, 1396878860, 1396878863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.639113664627075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:24:22.039284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/20/image_29112025_12_20_54_10718.jpg', '/home/pi/Desktop/images/29112025/12/20/image_29112025_12_21_04_9691.jpg', '/home/pi/Desktop/images/29112025/12/21/image_29112025_12_21_14_9699.jpg', '/home/pi/Desktop/images/29112025/12/21/image_29112025_12_21_23_9664.jpg', '/home/pi/Desktop/images/29112025/12/21/image_29112025_12_21_34_10670.jpg', '/home/pi/Desktop/images/29112025/12/21/image_29112025_12_21_44_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/20/image_29112025_12_20_54_10718.jpg
/home/pi/Desktop/images/29112025/12/20/image_29112025_12_21_04_9691.jpg
/home/pi/Desktop/images/29112025/12/21/image_29112025_12_21_14_9699.jpg
/home/pi/Desktop/images/29112025/12/21/image_29112025_12_21_23_9664.jpg
/home/pi/Desktop/images/29112025/12/21/image_29112025_12_21_34_10670.jpg
/home/pi/Desktop/images/29112025/12/21/image_29112025_12_21_44_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396878883","1396878865","1396878880","1396878890","1396878887","1396878875"],"photo_ids_order":["1396878865","1396878875","1396878880","1396878883","1396878887","1396878890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ef6e95c36b47a829905985c090ba69a.jpg","text":"TemporaryFile(/tmp/multipartBody323001881675936824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415522739,"filename":"image_29112025_12_21_23_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93c7667f609d42a47e43c4c6017e17b2.jpg","text":"TemporaryFile(/tmp/multipartBody6251185482331590821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415522739,"filename":"image_29112025_12_20_54_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e219c111916b2ff06015aac9ca74b73.jpg","text":"TemporaryFile(/tmp/multipartBody7088363180405042117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415522739,"filename":"image_29112025_12_21_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/11/29/74046c8410106e67992357545ff3a2fe.jpg","text":"TemporaryFile(/tmp/multipartBody146680503145206511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415522739,"filename":"image_29112025_12_21_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/11/29/12d11f88eae5c036a91cd2559b43fced.jpg","text":"TemporaryFile(/tmp/multipartBody9041849055191780856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415522739,"filename":"image_29112025_12_21_34_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75ba903c4274aef5936bb33cb9ce3326.jpg","text":"TemporaryFile(/tmp/multipartBody8543752487223383550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415522739,"filename":"image_29112025_12_21_04_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878880","file1":"1396878875","file0":"1396878865","file4":"1396878887","file5":"1396878890","file3":"1396878883"},"map_files_photo_id_array":[{"photo_id":"1396878890","filename":"file5"},{"photo_id":"1396878880","filename":"file2"},{"photo_id":"1396878887","filename":"file4"},{"photo_id":"1396878875","filename":"file1"},{"photo_id":"1396878865","filename":"file0"},{"photo_id":"1396878883","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396878883":["hashtag1","hashtag2"]},{"1396878865":["hashtag1","hashtag2"]},{"1396878880":["hashtag1","hashtag2"]},{"1396878890":["hashtag1","hashtag2"]},{"1396878887":["hashtag1","hashtag2"]},{"1396878875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396878883, 1396878865, 1396878880, 1396878890, 1396878887, 1396878875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.453296422958374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:25:02.800004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/21/image_29112025_12_21_54_10530.jpg', '/home/pi/Desktop/images/29112025/12/21/image_29112025_12_22_04_9736.jpg', '/home/pi/Desktop/images/29112025/12/22/image_29112025_12_22_14_9699.jpg', '/home/pi/Desktop/images/29112025/12/22/image_29112025_12_22_24_10605.jpg', '/home/pi/Desktop/images/29112025/12/22/image_29112025_12_22_34_9689.jpg', '/home/pi/Desktop/images/29112025/12/22/image_29112025_12_22_44_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/21/image_29112025_12_21_54_10530.jpg
/home/pi/Desktop/images/29112025/12/21/image_29112025_12_22_04_9736.jpg
/home/pi/Desktop/images/29112025/12/22/image_29112025_12_22_14_9699.jpg
/home/pi/Desktop/images/29112025/12/22/image_29112025_12_22_24_10605.jpg
/home/pi/Desktop/images/29112025/12/22/image_29112025_12_22_34_9689.jpg
/home/pi/Desktop/images/29112025/12/22/image_29112025_12_22_44_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":["1396878895","1396878892","1396878910","1396878894","1396878897","1396878893"],"photo_ids_order":["1396878892","1396878893","1396878894","1396878895","1396878897","1396878910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/656faa056f114f86694f2cf5f31ca630.jpg","text":"TemporaryFile(/tmp/multipartBody2473924233999951655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415563584,"filename":"image_29112025_12_22_24_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27c7210cbcb6b7949bd678dd1d150cbf.jpg","text":"TemporaryFile(/tmp/multipartBody7681105659032786915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415563584,"filename":"image_29112025_12_21_54_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e19da9fcad6cae5611feaf74db3cbe8.jpg","text":"TemporaryFile(/tmp/multipartBody5178320302243068860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415563584,"filename":"image_29112025_12_22_44_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e724442ebc2b9c4da9ba6977aa28fb2.jpg","text":"TemporaryFile(/tmp/multipartBody2099526991696771509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415563584,"filename":"image_29112025_12_22_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/11/29/6fc18174e9156f5d7534e9c087beedbc.jpg","text":"TemporaryFile(/tmp/multipartBody6222332048990531307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415563584,"filename":"image_29112025_12_22_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9108014381577aba44987e7596581d3.jpg","text":"TemporaryFile(/tmp/multipartBody7222571401836164423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415563584,"filename":"image_29112025_12_22_04_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878894","file1":"1396878893","file0":"1396878892","file4":"1396878897","file5":"1396878910","file3":"1396878895"},"map_files_photo_id_array":[{"photo_id":"1396878910","filename":"file5"},{"photo_id":"1396878894","filename":"file2"},{"photo_id":"1396878897","filename":"file4"},{"photo_id":"1396878893","filename":"file1"},{"photo_id":"1396878892","filename":"file0"},{"photo_id":"1396878895","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396878895":["hashtag1","hashtag2"]},{"1396878892":["hashtag1","hashtag2"]},{"1396878910":["hashtag1","hashtag2"]},{"1396878894":["hashtag1","hashtag2"]},{"1396878897":["hashtag1","hashtag2"]},{"1396878893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396878895, 1396878892, 1396878910, 1396878894, 1396878897, 1396878893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.790693283081055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:25:42.241778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_50_2745.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_53_2735.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_56_3747.jpg', '/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_59_2756.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_02_2621.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_04_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/09/33/image_31102025_09_33_50_2745.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_53_2735.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_56_3747.jpg
/home/pi/Desktop/images/31102025/09/33/image_31102025_09_33_59_2756.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_02_2621.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_04_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":["1396878932","1396878929","1396878934","1396878931","1396878933","1396878935"],"photo_ids_order":["1396878929","1396878931","1396878932","1396878933","1396878934","1396878935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9adafdb3a04040b5077f2b93a3ded6d.jpg","text":"TemporaryFile(/tmp/multipartBody6275355130308572559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415603315,"filename":"image_31102025_09_33_56_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fcd5079250c3ea052f2ca17190722e61.jpg","text":"TemporaryFile(/tmp/multipartBody6282462199422287410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415603315,"filename":"image_31102025_09_33_50_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02a8a25a4292a4936bf87b06eda1eb89.jpg","text":"TemporaryFile(/tmp/multipartBody2666836191043768070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415603315,"filename":"image_31102025_09_34_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/11/29/88af1fa39063f864fb1c90036c1642f1.jpg","text":"TemporaryFile(/tmp/multipartBody377184105730888445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415603315,"filename":"image_31102025_09_33_53_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24e91bacfd587240dcf76aa3039cd3f7.jpg","text":"TemporaryFile(/tmp/multipartBody7605362357495572374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415603315,"filename":"image_31102025_09_33_59_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/563c8517cf14897e334da3c5de454f14.jpg","text":"TemporaryFile(/tmp/multipartBody5323533673756919759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415603315,"filename":"image_31102025_09_34_04_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878932","file1":"1396878931","file0":"1396878929","file4":"1396878934","file5":"1396878935","file3":"1396878933"},"map_files_photo_id_array":[{"photo_id":"1396878935","filename":"file5"},{"photo_id":"1396878932","filename":"file2"},{"photo_id":"1396878934","filename":"file4"},{"photo_id":"1396878931","filename":"file1"},{"photo_id":"1396878929","filename":"file0"},{"photo_id":"1396878933","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396878932":["hashtag1","hashtag2"]},{"1396878929":["hashtag1","hashtag2"]},{"1396878934":["hashtag1","hashtag2"]},{"1396878931":["hashtag1","hashtag2"]},{"1396878933":["hashtag1","hashtag2"]},{"1396878935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396878932, 1396878929, 1396878934, 1396878931, 1396878933, 1396878935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76728892326355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:26:22.539770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/22/image_29112025_12_22_54_10629.jpg', '/home/pi/Desktop/images/29112025/12/22/image_29112025_12_23_04_9658.jpg', '/home/pi/Desktop/images/29112025/12/23/image_29112025_12_23_14_9927.jpg', '/home/pi/Desktop/images/29112025/12/23/image_29112025_12_23_24_9808.jpg', '/home/pi/Desktop/images/29112025/12/23/image_29112025_12_23_34_10610.jpg', '/home/pi/Desktop/images/29112025/12/23/image_29112025_12_23_44_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/22/image_29112025_12_22_54_10629.jpg
/home/pi/Desktop/images/29112025/12/22/image_29112025_12_23_04_9658.jpg
/home/pi/Desktop/images/29112025/12/23/image_29112025_12_23_14_9927.jpg
/home/pi/Desktop/images/29112025/12/23/image_29112025_12_23_24_9808.jpg
/home/pi/Desktop/images/29112025/12/23/image_29112025_12_23_34_10610.jpg
/home/pi/Desktop/images/29112025/12/23/image_29112025_12_23_44_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396878947","1396878954","1396878941","1396878950","1396878944","1396878938"],"photo_ids_order":["1396878938","1396878941","1396878944","1396878947","1396878950","1396878954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60845dafb4ef4e4884322783e1ac14fd.jpg","text":"TemporaryFile(/tmp/multipartBody3468324168482690360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415643240,"filename":"image_29112025_12_23_24_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51c2e97c150d91eb5e3370bec778167d.jpg","text":"TemporaryFile(/tmp/multipartBody1896079299180950799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415643240,"filename":"image_29112025_12_23_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f494159f4f79b1fe99014114223c3f97.jpg","text":"TemporaryFile(/tmp/multipartBody9036721590337330949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415643240,"filename":"image_29112025_12_23_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a2997a95403cdd9e56473961bad44bb.jpg","text":"TemporaryFile(/tmp/multipartBody1841080117780233350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415643240,"filename":"image_29112025_12_23_34_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac2c3701c548f6823a880529420dd33d.jpg","text":"TemporaryFile(/tmp/multipartBody661550490058393262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415643240,"filename":"image_29112025_12_23_14_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/712a6981b7a73c323558986b0a13af1c.jpg","text":"TemporaryFile(/tmp/multipartBody864240078703088982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415643240,"filename":"image_29112025_12_22_54_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878944","file1":"1396878941","file0":"1396878938","file4":"1396878950","file5":"1396878954","file3":"1396878947"},"map_files_photo_id_array":[{"photo_id":"1396878954","filename":"file5"},{"photo_id":"1396878944","filename":"file2"},{"photo_id":"1396878950","filename":"file4"},{"photo_id":"1396878941","filename":"file1"},{"photo_id":"1396878938","filename":"file0"},{"photo_id":"1396878947","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396878947":["hashtag1","hashtag2"]},{"1396878954":["hashtag1","hashtag2"]},{"1396878941":["hashtag1","hashtag2"]},{"1396878950":["hashtag1","hashtag2"]},{"1396878944":["hashtag1","hashtag2"]},{"1396878938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396878947, 1396878954, 1396878941, 1396878950, 1396878944, 1396878938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87908148765564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:27:03.299002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/23/image_29112025_12_23_54_9872.jpg', '/home/pi/Desktop/images/29112025/12/23/image_29112025_12_24_03_9718.jpg', '/home/pi/Desktop/images/29112025/12/24/image_29112025_12_24_14_10828.jpg', '/home/pi/Desktop/images/29112025/12/24/image_29112025_12_24_24_9684.jpg', '/home/pi/Desktop/images/29112025/12/24/image_29112025_12_24_34_9626.jpg', '/home/pi/Desktop/images/29112025/12/24/image_29112025_12_24_44_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/23/image_29112025_12_23_54_9872.jpg
/home/pi/Desktop/images/29112025/12/23/image_29112025_12_24_03_9718.jpg
/home/pi/Desktop/images/29112025/12/24/image_29112025_12_24_14_10828.jpg
/home/pi/Desktop/images/29112025/12/24/image_29112025_12_24_24_9684.jpg
/home/pi/Desktop/images/29112025/12/24/image_29112025_12_24_34_9626.jpg
/home/pi/Desktop/images/29112025/12/24/image_29112025_12_24_44_10568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396878970","1396878960","1396878963","1396878968","1396878962","1396878965"],"photo_ids_order":["1396878960","1396878962","1396878963","1396878965","1396878968","1396878970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e88e38ce5c714bfb10df050e336094f3.jpg","text":"TemporaryFile(/tmp/multipartBody3528968817192369237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415684416,"filename":"image_29112025_12_24_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/11/29/a457fbf7eb55d4fdc50d0ca9a7ee6c31.jpg","text":"TemporaryFile(/tmp/multipartBody3717760681714792386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415684416,"filename":"image_29112025_12_23_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/11/29/8e8fadad8ead334f205019e20ed4eddb.jpg","text":"TemporaryFile(/tmp/multipartBody652618922939500554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415684416,"filename":"image_29112025_12_24_14_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3008165b334dabe222cc18f5a390d783.jpg","text":"TemporaryFile(/tmp/multipartBody8380186758904138929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415684416,"filename":"image_29112025_12_24_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1979692a6671f06ac540a8f0b9b8bd3e.jpg","text":"TemporaryFile(/tmp/multipartBody265251852437100006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415684416,"filename":"image_29112025_12_24_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/11/29/d8785fc79a6a2aa489574cc174c8ce7d.jpg","text":"TemporaryFile(/tmp/multipartBody3473291783308112264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415684416,"filename":"image_29112025_12_24_24_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396878963","file1":"1396878962","file0":"1396878960","file4":"1396878968","file5":"1396878970","file3":"1396878965"},"map_files_photo_id_array":[{"photo_id":"1396878970","filename":"file5"},{"photo_id":"1396878963","filename":"file2"},{"photo_id":"1396878968","filename":"file4"},{"photo_id":"1396878962","filename":"file1"},{"photo_id":"1396878960","filename":"file0"},{"photo_id":"1396878965","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396878970":["hashtag1","hashtag2"]},{"1396878960":["hashtag1","hashtag2"]},{"1396878963":["hashtag1","hashtag2"]},{"1396878968":["hashtag1","hashtag2"]},{"1396878962":["hashtag1","hashtag2"]},{"1396878965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396878970, 1396878960, 1396878963, 1396878968, 1396878962, 1396878965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.281811237335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:27:42.692953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_19_14719.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_28_8767.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_31_3029.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_33_1678.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_40_6992.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_41_1703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_19_14719.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_28_8767.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_31_3029.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_33_1678.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_40_6992.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_41_1703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879015","1396879018","1396879005","1396879020","1396879017","1396879016"],"photo_ids_order":["1396879005","1396879015","1396879016","1396879017","1396879018","1396879020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f665ab10fe1b67a4fb797a591360d5c.jpg","text":"TemporaryFile(/tmp/multipartBody3942474934443446116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415723774,"filename":"image_31102025_09_34_28_8767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a75b02af218a05a37a21842c57f1eee.jpg","text":"TemporaryFile(/tmp/multipartBody6477774392773023609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415723774,"filename":"image_31102025_09_34_40_6992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e321c4061f30dd6401b0f8685450b754.jpg","text":"TemporaryFile(/tmp/multipartBody8226371649466116018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415723774,"filename":"image_31102025_09_34_19_14719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6688c0ab70b54afa5d88dd4d8a7d528b.jpg","text":"TemporaryFile(/tmp/multipartBody8674649163717284320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415723774,"filename":"image_31102025_09_34_41_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d9f6f6482a09f7c14a0ff8f77e5bf8f.jpg","text":"TemporaryFile(/tmp/multipartBody8156050020706433198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415723774,"filename":"image_31102025_09_34_33_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd9c7f030c5b28ae32153c05b80cc7c8.jpg","text":"TemporaryFile(/tmp/multipartBody7059631873134224377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415723774,"filename":"image_31102025_09_34_31_3029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879016","file1":"1396879015","file0":"1396879005","file4":"1396879018","file5":"1396879020","file3":"1396879017"},"map_files_photo_id_array":[{"photo_id":"1396879020","filename":"file5"},{"photo_id":"1396879016","filename":"file2"},{"photo_id":"1396879018","filename":"file4"},{"photo_id":"1396879015","filename":"file1"},{"photo_id":"1396879005","filename":"file0"},{"photo_id":"1396879017","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396879015":["hashtag1","hashtag2"]},{"1396879018":["hashtag1","hashtag2"]},{"1396879005":["hashtag1","hashtag2"]},{"1396879020":["hashtag1","hashtag2"]},{"1396879017":["hashtag1","hashtag2"]},{"1396879016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396879015, 1396879018, 1396879005, 1396879020, 1396879017, 1396879016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.469120264053345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:28:21.840066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/24/image_29112025_12_24_54_9647.jpg', '/home/pi/Desktop/images/29112025/12/24/image_29112025_12_25_03_9661.jpg', '/home/pi/Desktop/images/29112025/12/25/image_29112025_12_25_14_10874.jpg', '/home/pi/Desktop/images/29112025/12/25/image_29112025_12_25_24_9664.jpg', '/home/pi/Desktop/images/29112025/12/25/image_29112025_12_25_34_9766.jpg', '/home/pi/Desktop/images/29112025/12/25/image_29112025_12_25_43_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/24/image_29112025_12_24_54_9647.jpg
/home/pi/Desktop/images/29112025/12/24/image_29112025_12_25_03_9661.jpg
/home/pi/Desktop/images/29112025/12/25/image_29112025_12_25_14_10874.jpg
/home/pi/Desktop/images/29112025/12/25/image_29112025_12_25_24_9664.jpg
/home/pi/Desktop/images/29112025/12/25/image_29112025_12_25_34_9766.jpg
/home/pi/Desktop/images/29112025/12/25/image_29112025_12_25_43_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879039","1396879033","1396879036","1396879030","1396879023","1396879026"],"photo_ids_order":["1396879023","1396879026","1396879030","1396879033","1396879036","1396879039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b76c54d875eedfa7119d8d0855d0dfec.jpg","text":"TemporaryFile(/tmp/multipartBody5702550886561680914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415762539,"filename":"image_29112025_12_25_43_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1615e7e7b74cae4e6c650f4217e520fd.jpg","text":"TemporaryFile(/tmp/multipartBody9174780054926907286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415762539,"filename":"image_29112025_12_25_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/11/29/5c8e34e56c05c103e286b7991b01623e.jpg","text":"TemporaryFile(/tmp/multipartBody8308986955545100312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415762539,"filename":"image_29112025_12_25_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6af0a162751de82bdea8985807cc165.jpg","text":"TemporaryFile(/tmp/multipartBody5422745619578439092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415762539,"filename":"image_29112025_12_25_14_10874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d6b7ebc3271b682f4ff6c7b4a8a5962.jpg","text":"TemporaryFile(/tmp/multipartBody1126198292680250198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415762539,"filename":"image_29112025_12_24_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/11/29/1127de174c51e19fab2e0700ce99e764.jpg","text":"TemporaryFile(/tmp/multipartBody3285035968069374510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415762539,"filename":"image_29112025_12_25_03_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879030","file1":"1396879026","file0":"1396879023","file4":"1396879036","file5":"1396879039","file3":"1396879033"},"map_files_photo_id_array":[{"photo_id":"1396879039","filename":"file5"},{"photo_id":"1396879030","filename":"file2"},{"photo_id":"1396879036","filename":"file4"},{"photo_id":"1396879026","filename":"file1"},{"photo_id":"1396879023","filename":"file0"},{"photo_id":"1396879033","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879039":["hashtag1","hashtag2"]},{"1396879033":["hashtag1","hashtag2"]},{"1396879036":["hashtag1","hashtag2"]},{"1396879030":["hashtag1","hashtag2"]},{"1396879023":["hashtag1","hashtag2"]},{"1396879026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879039, 1396879033, 1396879036, 1396879030, 1396879023, 1396879026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.337890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:29:03.218774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/25/image_29112025_12_25_54_10662.jpg', '/home/pi/Desktop/images/29112025/12/25/image_29112025_12_26_04_9697.jpg', '/home/pi/Desktop/images/29112025/12/26/image_29112025_12_26_14_9731.jpg', '/home/pi/Desktop/images/29112025/12/26/image_29112025_12_26_34_9744.jpg', '/home/pi/Desktop/images/29112025/12/26/image_29112025_12_26_44_9690.jpg', '/home/pi/Desktop/images/29112025/12/26/image_29112025_12_26_54_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/25/image_29112025_12_25_54_10662.jpg
/home/pi/Desktop/images/29112025/12/25/image_29112025_12_26_04_9697.jpg
/home/pi/Desktop/images/29112025/12/26/image_29112025_12_26_14_9731.jpg
/home/pi/Desktop/images/29112025/12/26/image_29112025_12_26_34_9744.jpg
/home/pi/Desktop/images/29112025/12/26/image_29112025_12_26_44_9690.jpg
/home/pi/Desktop/images/29112025/12/26/image_29112025_12_26_54_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":["1396879045","1396879042","1396879041","1396879044","1396879055","1396879049"],"photo_ids_order":["1396879041","1396879042","1396879044","1396879045","1396879049","1396879055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbef6d04997e1804b669b0287e64f019.jpg","text":"TemporaryFile(/tmp/multipartBody4004569803941244934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415804117,"filename":"image_29112025_12_26_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/11/29/b55d2f6a433236dd09db1d87abee5591.jpg","text":"TemporaryFile(/tmp/multipartBody2735015566921554489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415804117,"filename":"image_29112025_12_26_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/11/29/fa609e0c21ad8897874b2228003618c0.jpg","text":"TemporaryFile(/tmp/multipartBody4417468915036275755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415804117,"filename":"image_29112025_12_25_54_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9b057342647cf8da31b8bc51e850308.jpg","text":"TemporaryFile(/tmp/multipartBody510609495438902103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415804117,"filename":"image_29112025_12_26_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/11/29/12425cca0d92fb7fab975c999b03ffac.jpg","text":"TemporaryFile(/tmp/multipartBody4237897916304161638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415804117,"filename":"image_29112025_12_26_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48e48e5d63eb0c0d3c1f2787136db8b1.jpg","text":"TemporaryFile(/tmp/multipartBody903900734991590444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415804117,"filename":"image_29112025_12_26_44_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879044","file1":"1396879042","file0":"1396879041","file4":"1396879049","file5":"1396879055","file3":"1396879045"},"map_files_photo_id_array":[{"photo_id":"1396879055","filename":"file5"},{"photo_id":"1396879044","filename":"file2"},{"photo_id":"1396879049","filename":"file4"},{"photo_id":"1396879042","filename":"file1"},{"photo_id":"1396879041","filename":"file0"},{"photo_id":"1396879045","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879045":["hashtag1","hashtag2"]},{"1396879042":["hashtag1","hashtag2"]},{"1396879041":["hashtag1","hashtag2"]},{"1396879044":["hashtag1","hashtag2"]},{"1396879055":["hashtag1","hashtag2"]},{"1396879049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879045, 1396879042, 1396879041, 1396879044, 1396879055, 1396879049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92111849784851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:29:42.167260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_43_1719.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_45_1679.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_46_1773.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_48_1514.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_50_1607.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_51_1661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_43_1719.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_45_1679.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_46_1773.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_48_1514.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_50_1607.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_51_1661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879099","1396879102","1396879104","1396879101","1396879103","1396879106"],"photo_ids_order":["1396879099","1396879101","1396879102","1396879103","1396879104","1396879106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfdca63db7f039931360c7417cf7b681.jpg","text":"TemporaryFile(/tmp/multipartBody8570314534860470403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415843266,"filename":"image_31102025_09_34_43_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90d2fa753fae075b0680a1c3356055fd.jpg","text":"TemporaryFile(/tmp/multipartBody5524276879730760137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415843266,"filename":"image_31102025_09_34_46_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30dd718e970c95c3062f52698e498676.jpg","text":"TemporaryFile(/tmp/multipartBody147276773884655244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415843266,"filename":"image_31102025_09_34_50_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d5078735f7cfab77aa9cdbf71afc140.jpg","text":"TemporaryFile(/tmp/multipartBody7819305607458674826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415843266,"filename":"image_31102025_09_34_45_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3cce7b8965b809f0c2b2f3f573938497.jpg","text":"TemporaryFile(/tmp/multipartBody1249245187259606208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415843266,"filename":"image_31102025_09_34_48_1514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02c585866e6ec31d20d4ed071f76272d.jpg","text":"TemporaryFile(/tmp/multipartBody515836641923432234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415843266,"filename":"image_31102025_09_34_51_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879102","file1":"1396879101","file0":"1396879099","file4":"1396879104","file5":"1396879106","file3":"1396879103"},"map_files_photo_id_array":[{"photo_id":"1396879106","filename":"file5"},{"photo_id":"1396879102","filename":"file2"},{"photo_id":"1396879104","filename":"file4"},{"photo_id":"1396879101","filename":"file1"},{"photo_id":"1396879099","filename":"file0"},{"photo_id":"1396879103","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396879099":["hashtag1","hashtag2"]},{"1396879102":["hashtag1","hashtag2"]},{"1396879104":["hashtag1","hashtag2"]},{"1396879101":["hashtag1","hashtag2"]},{"1396879103":["hashtag1","hashtag2"]},{"1396879106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396879099, 1396879102, 1396879104, 1396879101, 1396879103, 1396879106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81191968917847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:30:22.329226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/26/image_29112025_12_27_04_9603.jpg', '/home/pi/Desktop/images/29112025/12/27/image_29112025_12_27_14_9730.jpg', '/home/pi/Desktop/images/29112025/12/27/image_29112025_12_27_24_10638.jpg', '/home/pi/Desktop/images/29112025/12/27/image_29112025_12_27_34_9767.jpg', '/home/pi/Desktop/images/29112025/12/27/image_29112025_12_27_44_9751.jpg', '/home/pi/Desktop/images/29112025/12/27/image_29112025_12_27_54_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/26/image_29112025_12_27_04_9603.jpg
/home/pi/Desktop/images/29112025/12/27/image_29112025_12_27_14_9730.jpg
/home/pi/Desktop/images/29112025/12/27/image_29112025_12_27_24_10638.jpg
/home/pi/Desktop/images/29112025/12/27/image_29112025_12_27_34_9767.jpg
/home/pi/Desktop/images/29112025/12/27/image_29112025_12_27_44_9751.jpg
/home/pi/Desktop/images/29112025/12/27/image_29112025_12_27_54_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":["1396879111","1396879122","1396879119","1396879113","1396879116","1396879124"],"photo_ids_order":["1396879111","1396879113","1396879116","1396879119","1396879122","1396879124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06d9d3894bda22032186996c94aacedd.jpg","text":"TemporaryFile(/tmp/multipartBody7125352634137493442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415883030,"filename":"image_29112025_12_27_04_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e6458e137e9c7a93090a0613ace3eb0.jpg","text":"TemporaryFile(/tmp/multipartBody437828709666632620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415883030,"filename":"image_29112025_12_27_44_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/770c2e929199f8d8a265e4c6eb3cbecd.jpg","text":"TemporaryFile(/tmp/multipartBody87843555202290542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415883030,"filename":"image_29112025_12_27_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/11/29/083fb83495bc358fbb7101078498bc05.jpg","text":"TemporaryFile(/tmp/multipartBody1224911714848145980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415883030,"filename":"image_29112025_12_27_14_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f048b2796eb39d521f829e9b2433c2df.jpg","text":"TemporaryFile(/tmp/multipartBody3646051038896114934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415883030,"filename":"image_29112025_12_27_24_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/272ab8856879c3a64b468d5a03493b48.jpg","text":"TemporaryFile(/tmp/multipartBody9077077352777028484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415883030,"filename":"image_29112025_12_27_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879116","file1":"1396879113","file0":"1396879111","file4":"1396879122","file5":"1396879124","file3":"1396879119"},"map_files_photo_id_array":[{"photo_id":"1396879124","filename":"file5"},{"photo_id":"1396879116","filename":"file2"},{"photo_id":"1396879122","filename":"file4"},{"photo_id":"1396879113","filename":"file1"},{"photo_id":"1396879111","filename":"file0"},{"photo_id":"1396879119","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879111":["hashtag1","hashtag2"]},{"1396879122":["hashtag1","hashtag2"]},{"1396879119":["hashtag1","hashtag2"]},{"1396879113":["hashtag1","hashtag2"]},{"1396879116":["hashtag1","hashtag2"]},{"1396879124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879111, 1396879122, 1396879119, 1396879113, 1396879116, 1396879124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.029247999191284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:31:03.200250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/27/image_29112025_12_28_04_10636.jpg', '/home/pi/Desktop/images/29112025/12/28/image_29112025_12_28_14_9787.jpg', '/home/pi/Desktop/images/29112025/12/28/image_29112025_12_28_24_9705.jpg', '/home/pi/Desktop/images/29112025/12/28/image_29112025_12_28_54_9568.jpg', '/home/pi/Desktop/images/29112025/12/28/image_29112025_12_29_04_9700.jpg', '/home/pi/Desktop/images/29112025/12/29/image_29112025_12_29_14_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/27/image_29112025_12_28_04_10636.jpg
/home/pi/Desktop/images/29112025/12/28/image_29112025_12_28_14_9787.jpg
/home/pi/Desktop/images/29112025/12/28/image_29112025_12_28_24_9705.jpg
/home/pi/Desktop/images/29112025/12/28/image_29112025_12_28_54_9568.jpg
/home/pi/Desktop/images/29112025/12/28/image_29112025_12_29_04_9700.jpg
/home/pi/Desktop/images/29112025/12/29/image_29112025_12_29_14_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879132","1396879126","1396879129","1396879128","1396879136","1396879130"],"photo_ids_order":["1396879126","1396879128","1396879129","1396879130","1396879132","1396879136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6b2169b24c82723c4ef68cd46d5e86f.jpg","text":"TemporaryFile(/tmp/multipartBody6950348807411840964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415923963,"filename":"image_29112025_12_29_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/11/29/7159b1d88187ba161950f984f8eeccb6.jpg","text":"TemporaryFile(/tmp/multipartBody778560755182295242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415923963,"filename":"image_29112025_12_28_04_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90bd0302f0a6295c1bac8aee4e83fd0e.jpg","text":"TemporaryFile(/tmp/multipartBody1475394244917793573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415923963,"filename":"image_29112025_12_28_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/11/29/d90d70df7798ae12d154eb663f0f061d.jpg","text":"TemporaryFile(/tmp/multipartBody7380854844590470994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415923963,"filename":"image_29112025_12_28_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/11/29/418a11a65be1cf3f51707eb5bb9f1da5.jpg","text":"TemporaryFile(/tmp/multipartBody2944783858373021073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415923963,"filename":"image_29112025_12_29_14_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69fc100a12214c668a6bd39e69836192.jpg","text":"TemporaryFile(/tmp/multipartBody7723866931531784655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415923963,"filename":"image_29112025_12_28_54_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879129","file1":"1396879128","file0":"1396879126","file4":"1396879132","file5":"1396879136","file3":"1396879130"},"map_files_photo_id_array":[{"photo_id":"1396879136","filename":"file5"},{"photo_id":"1396879129","filename":"file2"},{"photo_id":"1396879132","filename":"file4"},{"photo_id":"1396879128","filename":"file1"},{"photo_id":"1396879126","filename":"file0"},{"photo_id":"1396879130","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879132":["hashtag1","hashtag2"]},{"1396879126":["hashtag1","hashtag2"]},{"1396879129":["hashtag1","hashtag2"]},{"1396879128":["hashtag1","hashtag2"]},{"1396879136":["hashtag1","hashtag2"]},{"1396879130":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879132, 1396879126, 1396879129, 1396879128, 1396879136, 1396879130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62207770347595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:31:42.553204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_53_1557.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_57_3944.jpg', '/home/pi/Desktop/images/31102025/09/34/image_31102025_09_35_00_1566.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_02_1692.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_03_1696.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_05_1537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_53_1557.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_34_57_3944.jpg
/home/pi/Desktop/images/31102025/09/34/image_31102025_09_35_00_1566.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_02_1692.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_03_1696.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_05_1537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879150","1396879144","1396879147","1396879149","1396879146","1396879148"],"photo_ids_order":["1396879144","1396879146","1396879147","1396879148","1396879149","1396879150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/494ea8dfa16d90255dbd50e5f3d18426.jpg","text":"TemporaryFile(/tmp/multipartBody6537959308306770886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415963672,"filename":"image_31102025_09_35_05_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ca7d42f28dafb9971596d4ad45c6bc2.jpg","text":"TemporaryFile(/tmp/multipartBody9137976202534678980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415963672,"filename":"image_31102025_09_34_53_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12719b3bc1ab444c544775f563570b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3391553072215593585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415963672,"filename":"image_31102025_09_35_00_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de9efedf71e2ba47f6fb516ab8a7c441.jpg","text":"TemporaryFile(/tmp/multipartBody657579411761004437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415963672,"filename":"image_31102025_09_35_03_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c3006b7abe33cbb6fb66d271cc4a518.jpg","text":"TemporaryFile(/tmp/multipartBody229905893295311378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415963672,"filename":"image_31102025_09_34_57_3944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7bc970648088bc29597b8667e6a08c73.jpg","text":"TemporaryFile(/tmp/multipartBody8553211728132435311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764415963672,"filename":"image_31102025_09_35_02_1692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879147","file1":"1396879146","file0":"1396879144","file4":"1396879149","file5":"1396879150","file3":"1396879148"},"map_files_photo_id_array":[{"photo_id":"1396879150","filename":"file5"},{"photo_id":"1396879147","filename":"file2"},{"photo_id":"1396879149","filename":"file4"},{"photo_id":"1396879146","filename":"file1"},{"photo_id":"1396879144","filename":"file0"},{"photo_id":"1396879148","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396879150":["hashtag1","hashtag2"]},{"1396879144":["hashtag1","hashtag2"]},{"1396879147":["hashtag1","hashtag2"]},{"1396879149":["hashtag1","hashtag2"]},{"1396879146":["hashtag1","hashtag2"]},{"1396879148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396879150, 1396879144, 1396879147, 1396879149, 1396879146, 1396879148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47218656539917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:32:22.769057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/29/image_29112025_12_29_24_9647.jpg', '/home/pi/Desktop/images/29112025/12/29/image_29112025_12_29_34_9617.jpg', '/home/pi/Desktop/images/29112025/12/29/image_29112025_12_29_44_10632.jpg', '/home/pi/Desktop/images/29112025/12/29/image_29112025_12_29_54_9613.jpg', '/home/pi/Desktop/images/29112025/12/30/image_29112025_12_30_14_10056.jpg', '/home/pi/Desktop/images/29112025/12/30/image_29112025_12_30_25_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/29/image_29112025_12_29_24_9647.jpg
/home/pi/Desktop/images/29112025/12/29/image_29112025_12_29_34_9617.jpg
/home/pi/Desktop/images/29112025/12/29/image_29112025_12_29_44_10632.jpg
/home/pi/Desktop/images/29112025/12/29/image_29112025_12_29_54_9613.jpg
/home/pi/Desktop/images/29112025/12/30/image_29112025_12_30_14_10056.jpg
/home/pi/Desktop/images/29112025/12/30/image_29112025_12_30_25_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879162","1396879159","1396879168","1396879166","1396879154","1396879157"],"photo_ids_order":["1396879154","1396879157","1396879159","1396879162","1396879166","1396879168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f1887ad412553081d4f888a04b3861c.jpg","text":"TemporaryFile(/tmp/multipartBody2947521800049246842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416003493,"filename":"image_29112025_12_29_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/11/29/732040060087011731ff75407fdad3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5654496297329585643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416003493,"filename":"image_29112025_12_29_44_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2b95e38b4ea633838b6588fda2bdaf2.jpg","text":"TemporaryFile(/tmp/multipartBody8000116905817326570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416003493,"filename":"image_29112025_12_30_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/11/29/02dcf85649b77e219cc4cb763cf3dc94.jpg","text":"TemporaryFile(/tmp/multipartBody8470643138053187076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416003493,"filename":"image_29112025_12_30_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc5e6e82ff975730e4cd414ddf6d7d52.jpg","text":"TemporaryFile(/tmp/multipartBody4696337216238286566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416003493,"filename":"image_29112025_12_29_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e17ce02f05a81a9fbf31ca0279538c2.jpg","text":"TemporaryFile(/tmp/multipartBody2117196236706177279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416003493,"filename":"image_29112025_12_29_34_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879159","file1":"1396879157","file0":"1396879154","file4":"1396879166","file5":"1396879168","file3":"1396879162"},"map_files_photo_id_array":[{"photo_id":"1396879168","filename":"file5"},{"photo_id":"1396879159","filename":"file2"},{"photo_id":"1396879166","filename":"file4"},{"photo_id":"1396879157","filename":"file1"},{"photo_id":"1396879154","filename":"file0"},{"photo_id":"1396879162","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879162":["hashtag1","hashtag2"]},{"1396879159":["hashtag1","hashtag2"]},{"1396879168":["hashtag1","hashtag2"]},{"1396879166":["hashtag1","hashtag2"]},{"1396879154":["hashtag1","hashtag2"]},{"1396879157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879162, 1396879159, 1396879168, 1396879166, 1396879154, 1396879157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26153755187988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:33:02.519131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/30/image_29112025_12_30_35_9778.jpg', '/home/pi/Desktop/images/29112025/12/30/image_29112025_12_30_55_10582.jpg', '/home/pi/Desktop/images/29112025/12/30/image_29112025_12_31_05_9669.jpg', '/home/pi/Desktop/images/29112025/12/31/image_29112025_12_31_15_10683.jpg', '/home/pi/Desktop/images/29112025/12/31/image_29112025_12_31_25_9634.jpg', '/home/pi/Desktop/images/29112025/12/31/image_29112025_12_31_34_9541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/30/image_29112025_12_30_35_9778.jpg
/home/pi/Desktop/images/29112025/12/30/image_29112025_12_30_55_10582.jpg
/home/pi/Desktop/images/29112025/12/30/image_29112025_12_31_05_9669.jpg
/home/pi/Desktop/images/29112025/12/31/image_29112025_12_31_15_10683.jpg
/home/pi/Desktop/images/29112025/12/31/image_29112025_12_31_25_9634.jpg
/home/pi/Desktop/images/29112025/12/31/image_29112025_12_31_34_9541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879171","1396879173","1396879176","1396879179","1396879172","1396879174"],"photo_ids_order":["1396879171","1396879172","1396879173","1396879174","1396879176","1396879179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bb74d56d695bfe707b59c8cc7e00e15.jpg","text":"TemporaryFile(/tmp/multipartBody1924360387249025190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416043293,"filename":"image_29112025_12_30_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72b26d656a4816e41cd7359ab8f16a1a.jpg","text":"TemporaryFile(/tmp/multipartBody4110036308741517818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416043293,"filename":"image_29112025_12_31_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c639679218be91880e89919ccb5cd62a.jpg","text":"TemporaryFile(/tmp/multipartBody4035901575343746034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416043293,"filename":"image_29112025_12_31_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91e09c92caaf2391854be80e8baf2838.jpg","text":"TemporaryFile(/tmp/multipartBody3019989755432415749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416043293,"filename":"image_29112025_12_31_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/11/29/4b49aec63e3159bae125fc8d3df1a81f.jpg","text":"TemporaryFile(/tmp/multipartBody4077550580315535190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416043293,"filename":"image_29112025_12_30_55_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4de24cbf32b531ad53514aea6b000e35.jpg","text":"TemporaryFile(/tmp/multipartBody3574341462788210428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416043293,"filename":"image_29112025_12_31_15_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879173","file1":"1396879172","file0":"1396879171","file4":"1396879176","file5":"1396879179","file3":"1396879174"},"map_files_photo_id_array":[{"photo_id":"1396879179","filename":"file5"},{"photo_id":"1396879173","filename":"file2"},{"photo_id":"1396879176","filename":"file4"},{"photo_id":"1396879172","filename":"file1"},{"photo_id":"1396879171","filename":"file0"},{"photo_id":"1396879174","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879171":["hashtag1","hashtag2"]},{"1396879173":["hashtag1","hashtag2"]},{"1396879176":["hashtag1","hashtag2"]},{"1396879179":["hashtag1","hashtag2"]},{"1396879172":["hashtag1","hashtag2"]},{"1396879174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879171, 1396879173, 1396879176, 1396879179, 1396879172, 1396879174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.036980867385864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:33:42.001672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_14_9073.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_16_1686.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_37_21525.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_39_1669.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_44_5641.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_46_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_14_9073.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_16_1686.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_37_21525.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_39_1669.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_44_5641.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_46_1640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879208","1396879198","1396879210","1396879188","1396879193","1396879189"],"photo_ids_order":["1396879188","1396879189","1396879193","1396879198","1396879208","1396879210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/669ad5caa44a043e67ef5fa26c124459.jpg","text":"TemporaryFile(/tmp/multipartBody8122048298099570383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416083116,"filename":"image_31102025_09_35_44_5641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bd09e4801b53fcf61590a69627f6722.jpg","text":"TemporaryFile(/tmp/multipartBody1393480902296063804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416083116,"filename":"image_31102025_09_35_39_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf8a20def9146805bd052f2323093a7d.jpg","text":"TemporaryFile(/tmp/multipartBody6773317743233625390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416083116,"filename":"image_31102025_09_35_46_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1cd760944a62df704ef23b1364b3d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4725714981092772752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416083116,"filename":"image_31102025_09_35_14_9073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/905c58a63b89eeb3f6dbc6075d46d0b6.jpg","text":"TemporaryFile(/tmp/multipartBody8704370950714580506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416083116,"filename":"image_31102025_09_35_37_21525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5929975492fb158ffa17a906cce254d0.jpg","text":"TemporaryFile(/tmp/multipartBody7005535833480501561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416083116,"filename":"image_31102025_09_35_16_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879193","file1":"1396879189","file0":"1396879188","file4":"1396879208","file5":"1396879210","file3":"1396879198"},"map_files_photo_id_array":[{"photo_id":"1396879210","filename":"file5"},{"photo_id":"1396879193","filename":"file2"},{"photo_id":"1396879208","filename":"file4"},{"photo_id":"1396879189","filename":"file1"},{"photo_id":"1396879188","filename":"file0"},{"photo_id":"1396879198","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396879208":["hashtag1","hashtag2"]},{"1396879198":["hashtag1","hashtag2"]},{"1396879210":["hashtag1","hashtag2"]},{"1396879188":["hashtag1","hashtag2"]},{"1396879193":["hashtag1","hashtag2"]},{"1396879189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396879208, 1396879198, 1396879210, 1396879188, 1396879193, 1396879189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.360424280166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:34:22.151588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/31/image_29112025_12_31_45_10544.jpg', '/home/pi/Desktop/images/29112025/12/31/image_29112025_12_31_55_9803.jpg', '/home/pi/Desktop/images/29112025/12/31/image_29112025_12_32_04_9600.jpg', '/home/pi/Desktop/images/29112025/12/32/image_29112025_12_32_15_10687.jpg', '/home/pi/Desktop/images/29112025/12/32/image_29112025_12_32_25_9726.jpg', '/home/pi/Desktop/images/29112025/12/32/image_29112025_12_32_34_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/31/image_29112025_12_31_45_10544.jpg
/home/pi/Desktop/images/29112025/12/31/image_29112025_12_31_55_9803.jpg
/home/pi/Desktop/images/29112025/12/31/image_29112025_12_32_04_9600.jpg
/home/pi/Desktop/images/29112025/12/32/image_29112025_12_32_15_10687.jpg
/home/pi/Desktop/images/29112025/12/32/image_29112025_12_32_25_9726.jpg
/home/pi/Desktop/images/29112025/12/32/image_29112025_12_32_34_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879232","1396879229","1396879220","1396879223","1396879217","1396879226"],"photo_ids_order":["1396879217","1396879220","1396879223","1396879226","1396879229","1396879232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1bdd583e7fd7bcf6bb0a233a7cfb0db.jpg","text":"TemporaryFile(/tmp/multipartBody3660578374296654227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416122868,"filename":"image_29112025_12_32_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e90620172e049133518d49142bc8eddc.jpg","text":"TemporaryFile(/tmp/multipartBody1538638510170230661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416122868,"filename":"image_29112025_12_32_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/11/29/b88da096884a536901f12cbc32784450.jpg","text":"TemporaryFile(/tmp/multipartBody6740701793702535460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416122868,"filename":"image_29112025_12_31_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/11/29/825ac3981e9c57e0b1c185edd72af481.jpg","text":"TemporaryFile(/tmp/multipartBody7766530335209187803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416122868,"filename":"image_29112025_12_32_04_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2dd24f2b301eb4ef046aab774ee20cb0.jpg","text":"TemporaryFile(/tmp/multipartBody3728061022891583145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416122868,"filename":"image_29112025_12_31_45_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c9146f278216dea17dd5ad47cb655df.jpg","text":"TemporaryFile(/tmp/multipartBody7171305421848520488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416122868,"filename":"image_29112025_12_32_15_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879223","file1":"1396879220","file0":"1396879217","file4":"1396879229","file5":"1396879232","file3":"1396879226"},"map_files_photo_id_array":[{"photo_id":"1396879232","filename":"file5"},{"photo_id":"1396879223","filename":"file2"},{"photo_id":"1396879229","filename":"file4"},{"photo_id":"1396879220","filename":"file1"},{"photo_id":"1396879217","filename":"file0"},{"photo_id":"1396879226","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879232":["hashtag1","hashtag2"]},{"1396879229":["hashtag1","hashtag2"]},{"1396879220":["hashtag1","hashtag2"]},{"1396879223":["hashtag1","hashtag2"]},{"1396879217":["hashtag1","hashtag2"]},{"1396879226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879232, 1396879229, 1396879220, 1396879223, 1396879217, 1396879226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.388277769088745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:35:02.934535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/32/image_29112025_12_32_45_10743.jpg', '/home/pi/Desktop/images/29112025/12/32/image_29112025_12_32_55_9711.jpg', '/home/pi/Desktop/images/29112025/12/32/image_29112025_12_33_05_9726.jpg', '/home/pi/Desktop/images/29112025/12/33/image_29112025_12_33_15_10578.jpg', '/home/pi/Desktop/images/29112025/12/33/image_29112025_12_33_25_9728.jpg', '/home/pi/Desktop/images/29112025/12/33/image_29112025_12_33_35_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/32/image_29112025_12_32_45_10743.jpg
/home/pi/Desktop/images/29112025/12/32/image_29112025_12_32_55_9711.jpg
/home/pi/Desktop/images/29112025/12/32/image_29112025_12_33_05_9726.jpg
/home/pi/Desktop/images/29112025/12/33/image_29112025_12_33_15_10578.jpg
/home/pi/Desktop/images/29112025/12/33/image_29112025_12_33_25_9728.jpg
/home/pi/Desktop/images/29112025/12/33/image_29112025_12_33_35_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879411","1396879414","1396879408","1396879407","1396879379","1396879406"],"photo_ids_order":["1396879379","1396879406","1396879407","1396879408","1396879411","1396879414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ab7ec793ee1845e483080d4715934b8.jpg","text":"TemporaryFile(/tmp/multipartBody3397525488588684659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416163705,"filename":"image_29112025_12_33_25_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb57ab1af15eb26a1736c6a319ea30bd.jpg","text":"TemporaryFile(/tmp/multipartBody2318144240884075475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416163705,"filename":"image_29112025_12_33_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/11/29/d05af4f690df6c184d9a4f639be82992.jpg","text":"TemporaryFile(/tmp/multipartBody6200254836600041705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416163705,"filename":"image_29112025_12_33_15_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13ceec42af6e606cd141dba457ac2772.jpg","text":"TemporaryFile(/tmp/multipartBody4214147412055337821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416163705,"filename":"image_29112025_12_33_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/361e35bc013c41d8d925cb60b6021f2d.jpg","text":"TemporaryFile(/tmp/multipartBody5719839991689553021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416163705,"filename":"image_29112025_12_32_45_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73b654128a5776542c32953b2f913e1c.jpg","text":"TemporaryFile(/tmp/multipartBody137764739423875367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416163705,"filename":"image_29112025_12_32_55_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879407","file1":"1396879406","file0":"1396879379","file4":"1396879411","file5":"1396879414","file3":"1396879408"},"map_files_photo_id_array":[{"photo_id":"1396879414","filename":"file5"},{"photo_id":"1396879407","filename":"file2"},{"photo_id":"1396879411","filename":"file4"},{"photo_id":"1396879406","filename":"file1"},{"photo_id":"1396879379","filename":"file0"},{"photo_id":"1396879408","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879411":["hashtag1","hashtag2"]},{"1396879414":["hashtag1","hashtag2"]},{"1396879408":["hashtag1","hashtag2"]},{"1396879407":["hashtag1","hashtag2"]},{"1396879379":["hashtag1","hashtag2"]},{"1396879406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879411, 1396879414, 1396879408, 1396879407, 1396879379, 1396879406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.143327951431274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:35:42.423019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_48_1656.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_50_1836.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_51_1528.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_53_1773.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_55_1680.jpg', '/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_58_3788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_48_1656.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_50_1836.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_51_1528.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_53_1773.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_55_1680.jpg
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_35_58_3788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879477","1396879438","1396879513","1396879422","1396879424","1396879547"],"photo_ids_order":["1396879422","1396879424","1396879438","1396879477","1396879513","1396879547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95405b2fbe385881ecb4bd5625ac9d50.jpg","text":"TemporaryFile(/tmp/multipartBody6784610483589168513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416203518,"filename":"image_31102025_09_35_53_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3739c7c3fd95989a581b96eca3901fd8.jpg","text":"TemporaryFile(/tmp/multipartBody2993271768106192325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416203518,"filename":"image_31102025_09_35_51_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/933596c0dd92d32f5cadd0d46ca4d621.jpg","text":"TemporaryFile(/tmp/multipartBody5347961157575916717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416203518,"filename":"image_31102025_09_35_55_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/963108ceb7707acd6206caab4d2ed5f3.jpg","text":"TemporaryFile(/tmp/multipartBody379582336781669326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416203518,"filename":"image_31102025_09_35_48_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fbfdfbc7c95162958b1ce3270feec53.jpg","text":"TemporaryFile(/tmp/multipartBody4340719083990144084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416203518,"filename":"image_31102025_09_35_50_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa3b53309f703a8a9ab40e8fd76047be.jpg","text":"TemporaryFile(/tmp/multipartBody8263673847705948343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416203518,"filename":"image_31102025_09_35_58_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879438","file1":"1396879424","file0":"1396879422","file4":"1396879513","file5":"1396879547","file3":"1396879477"},"map_files_photo_id_array":[{"photo_id":"1396879547","filename":"file5"},{"photo_id":"1396879438","filename":"file2"},{"photo_id":"1396879513","filename":"file4"},{"photo_id":"1396879424","filename":"file1"},{"photo_id":"1396879422","filename":"file0"},{"photo_id":"1396879477","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396879477":["hashtag1","hashtag2"]},{"1396879438":["hashtag1","hashtag2"]},{"1396879513":["hashtag1","hashtag2"]},{"1396879422":["hashtag1","hashtag2"]},{"1396879424":["hashtag1","hashtag2"]},{"1396879547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396879477, 1396879438, 1396879513, 1396879422, 1396879424, 1396879547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61010479927063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:36:22.582701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/33/image_29112025_12_33_45_10573.jpg', '/home/pi/Desktop/images/29112025/12/33/image_29112025_12_33_55_9654.jpg', '/home/pi/Desktop/images/29112025/12/33/image_29112025_12_34_04_9615.jpg', '/home/pi/Desktop/images/29112025/12/34/image_29112025_12_34_15_10646.jpg', '/home/pi/Desktop/images/29112025/12/34/image_29112025_12_34_25_9800.jpg', '/home/pi/Desktop/images/29112025/12/34/image_29112025_12_34_35_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/33/image_29112025_12_33_45_10573.jpg
/home/pi/Desktop/images/29112025/12/33/image_29112025_12_33_55_9654.jpg
/home/pi/Desktop/images/29112025/12/33/image_29112025_12_34_04_9615.jpg
/home/pi/Desktop/images/29112025/12/34/image_29112025_12_34_15_10646.jpg
/home/pi/Desktop/images/29112025/12/34/image_29112025_12_34_25_9800.jpg
/home/pi/Desktop/images/29112025/12/34/image_29112025_12_34_35_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":["1396879576","1396879624","1396879612","1396879557","1396879619","1396879616"],"photo_ids_order":["1396879557","1396879576","1396879612","1396879616","1396879619","1396879624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/029f8c83e62305d221e1d0c341fb0e5c.jpg","text":"TemporaryFile(/tmp/multipartBody7953845318249131318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416243302,"filename":"image_29112025_12_33_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8eb25f1a89fac70706f8e739a5e91fff.jpg","text":"TemporaryFile(/tmp/multipartBody2880422254379363254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416243302,"filename":"image_29112025_12_34_35_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e8d4e530bc008ec5821d403fd93c69c.jpg","text":"TemporaryFile(/tmp/multipartBody8967919637002485422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416243302,"filename":"image_29112025_12_34_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/11/29/8e07c6fc763c1bb2b8d7f720999979c8.jpg","text":"TemporaryFile(/tmp/multipartBody3359855783028688723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416243302,"filename":"image_29112025_12_33_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8931e99724170d733bda9248281b17ce.jpg","text":"TemporaryFile(/tmp/multipartBody7198729778642151539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416243302,"filename":"image_29112025_12_34_25_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7d18b11f61bf35b4abfc2fcaf4e9302.jpg","text":"TemporaryFile(/tmp/multipartBody5875448875230481287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416243302,"filename":"image_29112025_12_34_15_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879612","file1":"1396879576","file0":"1396879557","file4":"1396879619","file5":"1396879624","file3":"1396879616"},"map_files_photo_id_array":[{"photo_id":"1396879624","filename":"file5"},{"photo_id":"1396879612","filename":"file2"},{"photo_id":"1396879619","filename":"file4"},{"photo_id":"1396879576","filename":"file1"},{"photo_id":"1396879557","filename":"file0"},{"photo_id":"1396879616","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879576":["hashtag1","hashtag2"]},{"1396879624":["hashtag1","hashtag2"]},{"1396879612":["hashtag1","hashtag2"]},{"1396879557":["hashtag1","hashtag2"]},{"1396879619":["hashtag1","hashtag2"]},{"1396879616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879576, 1396879624, 1396879612, 1396879557, 1396879619, 1396879616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35162281990051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:37:03.447920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/34/image_29112025_12_34_44_9701.jpg', '/home/pi/Desktop/images/29112025/12/34/image_29112025_12_34_55_10696.jpg', '/home/pi/Desktop/images/29112025/12/34/image_29112025_12_35_05_9629.jpg', '/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_14_9633.jpg', '/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_25_10648.jpg', '/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_35_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/34/image_29112025_12_34_44_9701.jpg
/home/pi/Desktop/images/29112025/12/34/image_29112025_12_34_55_10696.jpg
/home/pi/Desktop/images/29112025/12/34/image_29112025_12_35_05_9629.jpg
/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_14_9633.jpg
/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_25_10648.jpg
/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_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":["1396879636","1396879638","1396879635","1396879640","1396879643","1396879637"],"photo_ids_order":["1396879635","1396879636","1396879637","1396879638","1396879640","1396879643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/349f91adeefdea4d8486f6e778452d9c.jpg","text":"TemporaryFile(/tmp/multipartBody8259578762180977220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416284240,"filename":"image_29112025_12_34_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/11/29/900a02db3612738fea73078366109f18.jpg","text":"TemporaryFile(/tmp/multipartBody9029568719484574317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416284240,"filename":"image_29112025_12_35_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/11/29/299f169e9290ec62b768ef2b77df46fc.jpg","text":"TemporaryFile(/tmp/multipartBody3040611096980344793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416284240,"filename":"image_29112025_12_34_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/11/29/7ee990b3e017f6f6831f1015ccf8925a.jpg","text":"TemporaryFile(/tmp/multipartBody6794582313106805193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416284240,"filename":"image_29112025_12_35_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/051ff2babab4f28f992fba85212804f7.jpg","text":"TemporaryFile(/tmp/multipartBody2940010042917148878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416284240,"filename":"image_29112025_12_35_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/11/29/2259b4ff8c58b876d5c1a38eac2ae33c.jpg","text":"TemporaryFile(/tmp/multipartBody1042881353714561300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416284240,"filename":"image_29112025_12_35_05_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879637","file1":"1396879636","file0":"1396879635","file4":"1396879640","file5":"1396879643","file3":"1396879638"},"map_files_photo_id_array":[{"photo_id":"1396879643","filename":"file5"},{"photo_id":"1396879637","filename":"file2"},{"photo_id":"1396879640","filename":"file4"},{"photo_id":"1396879636","filename":"file1"},{"photo_id":"1396879635","filename":"file0"},{"photo_id":"1396879638","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879636":["hashtag1","hashtag2"]},{"1396879638":["hashtag1","hashtag2"]},{"1396879635":["hashtag1","hashtag2"]},{"1396879640":["hashtag1","hashtag2"]},{"1396879643":["hashtag1","hashtag2"]},{"1396879637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879636, 1396879638, 1396879635, 1396879640, 1396879643, 1396879637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83808469772339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:37:42.791984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/35/image_31102025_09_36_00_1560.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_08_8221.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_10_1754.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_11_1600.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_14_2448.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_16_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/35/image_31102025_09_36_00_1560.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_08_8221.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_10_1754.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_11_1600.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_14_2448.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_16_1672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879672","1396879660","1396879654","1396879656","1396879658","1396879663"],"photo_ids_order":["1396879654","1396879656","1396879658","1396879660","1396879663","1396879672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52b5bfad5d23ba7dd058f7acd4edd4e6.jpg","text":"TemporaryFile(/tmp/multipartBody2034569759752235559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416323910,"filename":"image_31102025_09_36_16_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4978ac2c300ef10bdb4fd5f00d7f8843.jpg","text":"TemporaryFile(/tmp/multipartBody7490508673668258608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416323910,"filename":"image_31102025_09_36_11_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aaa3982294e880424e8ab6b72754efe4.jpg","text":"TemporaryFile(/tmp/multipartBody1447301209124509492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416323910,"filename":"image_31102025_09_36_00_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6227b3006efa10b8687208a2394a8cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8099167961393897231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416323910,"filename":"image_31102025_09_36_08_8221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ced110362c56137918484319d7a7401.jpg","text":"TemporaryFile(/tmp/multipartBody5876298703119494370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416323910,"filename":"image_31102025_09_36_10_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/399c785025e573810b1982c6fba64c56.jpg","text":"TemporaryFile(/tmp/multipartBody8579862846647843284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416323910,"filename":"image_31102025_09_36_14_2448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879658","file1":"1396879656","file0":"1396879654","file4":"1396879663","file5":"1396879672","file3":"1396879660"},"map_files_photo_id_array":[{"photo_id":"1396879672","filename":"file5"},{"photo_id":"1396879658","filename":"file2"},{"photo_id":"1396879663","filename":"file4"},{"photo_id":"1396879656","filename":"file1"},{"photo_id":"1396879654","filename":"file0"},{"photo_id":"1396879660","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396879672":["hashtag1","hashtag2"]},{"1396879660":["hashtag1","hashtag2"]},{"1396879654":["hashtag1","hashtag2"]},{"1396879656":["hashtag1","hashtag2"]},{"1396879658":["hashtag1","hashtag2"]},{"1396879663":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396879672, 1396879660, 1396879654, 1396879656, 1396879658, 1396879663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96742129325867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:38:22.006728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_45_10652.jpg', '/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_55_9770.jpg', '/home/pi/Desktop/images/29112025/12/35/image_29112025_12_36_05_9735.jpg', '/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_14_9636.jpg', '/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_25_10724.jpg', '/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_35_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_45_10652.jpg
/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_55_9770.jpg
/home/pi/Desktop/images/29112025/12/35/image_29112025_12_36_05_9735.jpg
/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_14_9636.jpg
/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_25_10724.jpg
/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_35_9653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.603081464767456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 12:38:31.991460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/22/image_25112025_18_23_00_3507.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_03_2704.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_05_2666.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_09_3566.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_11_2521.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_15_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/22/image_25112025_18_23_00_3507.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_03_2704.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_05_2666.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_09_3566.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_11_2521.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_15_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879753","1396879741","1396879755","1396879749","1396879754","1396879745"],"photo_ids_order":["1396879741","1396879745","1396879749","1396879753","1396879754","1396879755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a381546a7c101cc7b2c28c2117b855b.jpg","text":"TemporaryFile(/tmp/multipartBody4244820289912796463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416374219,"filename":"image_25112025_18_23_09_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53fd0193256241efdbfe56744bce0c7c.jpg","text":"TemporaryFile(/tmp/multipartBody2522760906798648307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416374219,"filename":"image_25112025_18_23_00_3507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/556aca5c6258309105a64545ac5432be.jpg","text":"TemporaryFile(/tmp/multipartBody2030689719099965768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416374219,"filename":"image_25112025_18_23_15_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/006556ff67d62ddaaefbabadd5108cf0.jpg","text":"TemporaryFile(/tmp/multipartBody5318045532626641659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416374219,"filename":"image_25112025_18_23_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/11/29/b12a0fd7f0d84d6381e4eb86c2a0df65.jpg","text":"TemporaryFile(/tmp/multipartBody6527850602968904641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416374219,"filename":"image_25112025_18_23_11_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a69d49757203989e2e13142fa6062f2.jpg","text":"TemporaryFile(/tmp/multipartBody1964430429592675328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416374219,"filename":"image_25112025_18_23_03_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879749","file1":"1396879745","file0":"1396879741","file4":"1396879754","file5":"1396879755","file3":"1396879753"},"map_files_photo_id_array":[{"photo_id":"1396879755","filename":"file5"},{"photo_id":"1396879749","filename":"file2"},{"photo_id":"1396879754","filename":"file4"},{"photo_id":"1396879745","filename":"file1"},{"photo_id":"1396879741","filename":"file0"},{"photo_id":"1396879753","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396879753":["hashtag1","hashtag2"]},{"1396879741":["hashtag1","hashtag2"]},{"1396879755":["hashtag1","hashtag2"]},{"1396879749":["hashtag1","hashtag2"]},{"1396879754":["hashtag1","hashtag2"]},{"1396879745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396879753, 1396879741, 1396879755, 1396879749, 1396879754, 1396879745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79309105873108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 12:39:12.144246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_18_2735.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_20_2510.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_24_3664.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_26_2536.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_29_3025.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_33_3514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_18_2735.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_20_2510.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_24_3664.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_26_2536.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_29_3025.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_33_3514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879756","1396879761","1396879779","1396879764","1396879758","1396879817"],"photo_ids_order":["1396879756","1396879758","1396879761","1396879764","1396879779","1396879817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/867e7400e51eeb686a224f0861a40495.jpg","text":"TemporaryFile(/tmp/multipartBody334913754288577969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416414257,"filename":"image_25112025_18_23_18_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/849e941cb47f74fd6848379de816857e.jpg","text":"TemporaryFile(/tmp/multipartBody7183541864650148238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416414257,"filename":"image_25112025_18_23_24_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce191f09250fabf84988dc7a8e215ab8.jpg","text":"TemporaryFile(/tmp/multipartBody899903429439864677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416414257,"filename":"image_25112025_18_23_29_3025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a5a28c2330e620bd11a3aa84aba7935.jpg","text":"TemporaryFile(/tmp/multipartBody76958156250739258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416414257,"filename":"image_25112025_18_23_26_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48349a67d0c1693819c4b1d6e6f939d1.jpg","text":"TemporaryFile(/tmp/multipartBody1410632700934041266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416414257,"filename":"image_25112025_18_23_20_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4fbe353261f84117d487d94a3a1a393.jpg","text":"TemporaryFile(/tmp/multipartBody3686523420168347526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416414257,"filename":"image_25112025_18_23_33_3514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879761","file1":"1396879758","file0":"1396879756","file4":"1396879779","file5":"1396879817","file3":"1396879764"},"map_files_photo_id_array":[{"photo_id":"1396879817","filename":"file5"},{"photo_id":"1396879761","filename":"file2"},{"photo_id":"1396879779","filename":"file4"},{"photo_id":"1396879758","filename":"file1"},{"photo_id":"1396879756","filename":"file0"},{"photo_id":"1396879764","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396879756":["hashtag1","hashtag2"]},{"1396879761":["hashtag1","hashtag2"]},{"1396879779":["hashtag1","hashtag2"]},{"1396879764":["hashtag1","hashtag2"]},{"1396879758":["hashtag1","hashtag2"]},{"1396879817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396879756, 1396879761, 1396879779, 1396879764, 1396879758, 1396879817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15083026885986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:40:02.715423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_45_10652.jpg', '/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_55_9770.jpg', '/home/pi/Desktop/images/29112025/12/35/image_29112025_12_36_05_9735.jpg', '/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_14_9636.jpg', '/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_25_10724.jpg', '/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_35_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_45_10652.jpg
/home/pi/Desktop/images/29112025/12/35/image_29112025_12_35_55_9770.jpg
/home/pi/Desktop/images/29112025/12/35/image_29112025_12_36_05_9735.jpg
/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_14_9636.jpg
/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_25_10724.jpg
/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_35_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879885","1396879887","1396879884","1396879892","1396879886","1396879889"],"photo_ids_order":["1396879884","1396879885","1396879886","1396879887","1396879889","1396879892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a9a02cab783dfe054ac1745cf062579.jpg","text":"TemporaryFile(/tmp/multipartBody7861810780544751079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416463442,"filename":"image_29112025_12_35_55_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/348116380e2185e3dba468be19445e1c.jpg","text":"TemporaryFile(/tmp/multipartBody5133003759802784131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416463442,"filename":"image_29112025_12_36_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/11/29/d3f5661d86cbdcea270c044f71790bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3252741645099641067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416463442,"filename":"image_29112025_12_35_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/11/29/c7a9fddce9a8240b1f422f4cda0f9779.jpg","text":"TemporaryFile(/tmp/multipartBody1924955006446845097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416463442,"filename":"image_29112025_12_36_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/11/29/176c71e87dda00d61873dd0139161ec9.jpg","text":"TemporaryFile(/tmp/multipartBody7527675680693289607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416463442,"filename":"image_29112025_12_36_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/11/29/19af95a109aa0b6656e93f35e1b6c409.jpg","text":"TemporaryFile(/tmp/multipartBody2193212704382837105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416463442,"filename":"image_29112025_12_36_25_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879886","file1":"1396879885","file0":"1396879884","file4":"1396879889","file5":"1396879892","file3":"1396879887"},"map_files_photo_id_array":[{"photo_id":"1396879892","filename":"file5"},{"photo_id":"1396879886","filename":"file2"},{"photo_id":"1396879889","filename":"file4"},{"photo_id":"1396879885","filename":"file1"},{"photo_id":"1396879884","filename":"file0"},{"photo_id":"1396879887","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396879885":["hashtag1","hashtag2"]},{"1396879887":["hashtag1","hashtag2"]},{"1396879884":["hashtag1","hashtag2"]},{"1396879892":["hashtag1","hashtag2"]},{"1396879886":["hashtag1","hashtag2"]},{"1396879889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396879885, 1396879887, 1396879884, 1396879892, 1396879886, 1396879889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65958619117737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:40:42.334730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_17_1659.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_19_1721.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_21_1852.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_22_1685.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_26_3283.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_27_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_17_1659.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_19_1721.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_21_1852.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_22_1685.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_26_3283.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_27_1543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396879927","1396879921","1396879929","1396879926","1396879937","1396879925"],"photo_ids_order":["1396879921","1396879925","1396879926","1396879927","1396879929","1396879937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87dba209e22feb1a009afda423dc9f9c.jpg","text":"TemporaryFile(/tmp/multipartBody4055835591006364999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416503470,"filename":"image_31102025_09_36_22_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e153857e15678515c113b4610006268.jpg","text":"TemporaryFile(/tmp/multipartBody3175977082362197238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416503470,"filename":"image_31102025_09_36_17_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9cdeb58cecdced8db2bc6df6853b8254.jpg","text":"TemporaryFile(/tmp/multipartBody8479810015507093638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416503470,"filename":"image_31102025_09_36_26_3283.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/540e23a026fb8d8f90dd1b58a5c65b98.jpg","text":"TemporaryFile(/tmp/multipartBody3236807124319433428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416503470,"filename":"image_31102025_09_36_21_1852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f731cd3f8f1ee7f47a30f69ac1bf9498.jpg","text":"TemporaryFile(/tmp/multipartBody719463273782046192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416503470,"filename":"image_31102025_09_36_27_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6619593c8fe74919fe74a413223d3588.jpg","text":"TemporaryFile(/tmp/multipartBody5960056040825446624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416503470,"filename":"image_31102025_09_36_19_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396879926","file1":"1396879925","file0":"1396879921","file4":"1396879929","file5":"1396879937","file3":"1396879927"},"map_files_photo_id_array":[{"photo_id":"1396879937","filename":"file5"},{"photo_id":"1396879926","filename":"file2"},{"photo_id":"1396879929","filename":"file4"},{"photo_id":"1396879925","filename":"file1"},{"photo_id":"1396879921","filename":"file0"},{"photo_id":"1396879927","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396879927":["hashtag1","hashtag2"]},{"1396879921":["hashtag1","hashtag2"]},{"1396879929":["hashtag1","hashtag2"]},{"1396879926":["hashtag1","hashtag2"]},{"1396879937":["hashtag1","hashtag2"]},{"1396879925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396879927, 1396879921, 1396879929, 1396879926, 1396879937, 1396879925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92668628692627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:41:22.455570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_44_9666.jpg', '/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_55_10615.jpg', '/home/pi/Desktop/images/29112025/12/36/image_29112025_12_37_05_9831.jpg', '/home/pi/Desktop/images/29112025/12/37/image_29112025_12_37_15_9700.jpg', '/home/pi/Desktop/images/29112025/12/37/image_29112025_12_37_25_10554.jpg', '/home/pi/Desktop/images/29112025/12/37/image_29112025_12_37_35_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_44_9666.jpg
/home/pi/Desktop/images/29112025/12/36/image_29112025_12_36_55_10615.jpg
/home/pi/Desktop/images/29112025/12/36/image_29112025_12_37_05_9831.jpg
/home/pi/Desktop/images/29112025/12/37/image_29112025_12_37_15_9700.jpg
/home/pi/Desktop/images/29112025/12/37/image_29112025_12_37_25_10554.jpg
/home/pi/Desktop/images/29112025/12/37/image_29112025_12_37_35_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396880116","1396880023","1396880145","1396879961","1396880060","1396879975"],"photo_ids_order":["1396879961","1396879975","1396880023","1396880060","1396880116","1396880145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d14e6acea48082dfeacac0073ef0f87.jpg","text":"TemporaryFile(/tmp/multipartBody7501722963401192866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416543270,"filename":"image_29112025_12_37_25_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecc9d0cc41060fef70449fcbd8bda71f.jpg","text":"TemporaryFile(/tmp/multipartBody3365165062061459256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416543270,"filename":"image_29112025_12_37_05_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a041c586a802edfd90cc5752c95f3797.jpg","text":"TemporaryFile(/tmp/multipartBody7022381905598695749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416543270,"filename":"image_29112025_12_37_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6a7f374cf613bfda21195ba1f8862fa.jpg","text":"TemporaryFile(/tmp/multipartBody9209236266208207351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416543270,"filename":"image_29112025_12_36_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/11/29/e45b4c4ea9ec26a494356ea10390d8b5.jpg","text":"TemporaryFile(/tmp/multipartBody3139817642738409701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416543270,"filename":"image_29112025_12_37_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/11/29/eb0be25afe258b15fa1fcf26d17e1b0b.jpg","text":"TemporaryFile(/tmp/multipartBody5071439111844380225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416543270,"filename":"image_29112025_12_36_55_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880023","file1":"1396879975","file0":"1396879961","file4":"1396880116","file5":"1396880145","file3":"1396880060"},"map_files_photo_id_array":[{"photo_id":"1396880145","filename":"file5"},{"photo_id":"1396880023","filename":"file2"},{"photo_id":"1396880116","filename":"file4"},{"photo_id":"1396879975","filename":"file1"},{"photo_id":"1396879961","filename":"file0"},{"photo_id":"1396880060","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396880116":["hashtag1","hashtag2"]},{"1396880023":["hashtag1","hashtag2"]},{"1396880145":["hashtag1","hashtag2"]},{"1396879961":["hashtag1","hashtag2"]},{"1396880060":["hashtag1","hashtag2"]},{"1396879975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396880116, 1396880023, 1396880145, 1396879961, 1396880060, 1396879975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52053499221802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:42:03.220923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/37/image_29112025_12_37_45_9709.jpg', '/home/pi/Desktop/images/29112025/12/37/image_29112025_12_37_55_10593.jpg', '/home/pi/Desktop/images/29112025/12/37/image_29112025_12_38_05_9742.jpg', '/home/pi/Desktop/images/29112025/12/38/image_29112025_12_38_15_9778.jpg', '/home/pi/Desktop/images/29112025/12/38/image_29112025_12_38_25_10666.jpg', '/home/pi/Desktop/images/29112025/12/38/image_29112025_12_38_35_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/37/image_29112025_12_37_45_9709.jpg
/home/pi/Desktop/images/29112025/12/37/image_29112025_12_37_55_10593.jpg
/home/pi/Desktop/images/29112025/12/37/image_29112025_12_38_05_9742.jpg
/home/pi/Desktop/images/29112025/12/38/image_29112025_12_38_15_9778.jpg
/home/pi/Desktop/images/29112025/12/38/image_29112025_12_38_25_10666.jpg
/home/pi/Desktop/images/29112025/12/38/image_29112025_12_38_35_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396880149","1396880146","1396880151","1396880154","1396880148","1396880147"],"photo_ids_order":["1396880146","1396880147","1396880148","1396880149","1396880151","1396880154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12f00350a1be72937104e1a6048957bb.jpg","text":"TemporaryFile(/tmp/multipartBody3400725490341195629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416583942,"filename":"image_29112025_12_38_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/11/29/c9ecb5cd28ccacf76bef86a9849c325d.jpg","text":"TemporaryFile(/tmp/multipartBody460403389679094600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416583942,"filename":"image_29112025_12_37_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/11/29/bd51de874407e8a1f05c31b6b9030ed6.jpg","text":"TemporaryFile(/tmp/multipartBody3197255356737767521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416583942,"filename":"image_29112025_12_38_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/11/29/8d7c6e030307a4326d2012e8ae88f43f.jpg","text":"TemporaryFile(/tmp/multipartBody5888513149791120026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416583942,"filename":"image_29112025_12_38_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/11/29/ace98c2b4c4d8fe2efac2378ec4663a8.jpg","text":"TemporaryFile(/tmp/multipartBody2976732004389046448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416583942,"filename":"image_29112025_12_38_05_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2113a639f5a0ccc0dc4475eec42c0ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5874290199339162256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416583942,"filename":"image_29112025_12_37_55_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880148","file1":"1396880147","file0":"1396880146","file4":"1396880151","file5":"1396880154","file3":"1396880149"},"map_files_photo_id_array":[{"photo_id":"1396880154","filename":"file5"},{"photo_id":"1396880148","filename":"file2"},{"photo_id":"1396880151","filename":"file4"},{"photo_id":"1396880147","filename":"file1"},{"photo_id":"1396880146","filename":"file0"},{"photo_id":"1396880149","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396880149":["hashtag1","hashtag2"]},{"1396880146":["hashtag1","hashtag2"]},{"1396880151":["hashtag1","hashtag2"]},{"1396880154":["hashtag1","hashtag2"]},{"1396880148":["hashtag1","hashtag2"]},{"1396880147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396880149, 1396880146, 1396880151, 1396880154, 1396880148, 1396880147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.734046936035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:42:42.783613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_29_1609.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_32_3560.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_34_1713.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_38_1639.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_39_1872.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_41_1702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_29_1609.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_32_3560.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_34_1713.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_38_1639.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_39_1872.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_41_1702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396880458","1396880451","1396880469","1396880460","1396880396","1396880459"],"photo_ids_order":["1396880396","1396880451","1396880458","1396880459","1396880460","1396880469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5004a17da3faeec555421f1448e3e911.jpg","text":"TemporaryFile(/tmp/multipartBody3989273168776425794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416623914,"filename":"image_31102025_09_36_34_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f3b2a7ba1280bdf9d4b15c0fa3ba169.jpg","text":"TemporaryFile(/tmp/multipartBody2352483045184089598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416623914,"filename":"image_31102025_09_36_32_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1c01bae5012ff20769d6f28835a3941.jpg","text":"TemporaryFile(/tmp/multipartBody2163731573682122447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416623914,"filename":"image_31102025_09_36_41_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a9d8106de2425aba3cd17ed7b413b08.jpg","text":"TemporaryFile(/tmp/multipartBody2702345034572992732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416623914,"filename":"image_31102025_09_36_39_1872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e1944e46f52da9126dbdf5ce29d37c4.jpg","text":"TemporaryFile(/tmp/multipartBody8828000114723910605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416623914,"filename":"image_31102025_09_36_29_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41cc39e31e2c9907402b96c05fcf9c72.jpg","text":"TemporaryFile(/tmp/multipartBody7946823050075175262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416623914,"filename":"image_31102025_09_36_38_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880458","file1":"1396880451","file0":"1396880396","file4":"1396880460","file5":"1396880469","file3":"1396880459"},"map_files_photo_id_array":[{"photo_id":"1396880469","filename":"file5"},{"photo_id":"1396880458","filename":"file2"},{"photo_id":"1396880460","filename":"file4"},{"photo_id":"1396880451","filename":"file1"},{"photo_id":"1396880396","filename":"file0"},{"photo_id":"1396880459","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396880458":["hashtag1","hashtag2"]},{"1396880451":["hashtag1","hashtag2"]},{"1396880469":["hashtag1","hashtag2"]},{"1396880460":["hashtag1","hashtag2"]},{"1396880396":["hashtag1","hashtag2"]},{"1396880459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396880458, 1396880451, 1396880469, 1396880460, 1396880396, 1396880459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26162362098694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:43:21.949108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/38/image_29112025_12_38_45_9641.jpg', '/home/pi/Desktop/images/29112025/12/38/image_29112025_12_38_55_10552.jpg', '/home/pi/Desktop/images/29112025/12/38/image_29112025_12_39_05_9608.jpg', '/home/pi/Desktop/images/29112025/12/39/image_29112025_12_39_15_9774.jpg', '/home/pi/Desktop/images/29112025/12/39/image_29112025_12_39_25_10687.jpg', '/home/pi/Desktop/images/29112025/12/39/image_29112025_12_39_35_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/38/image_29112025_12_38_45_9641.jpg
/home/pi/Desktop/images/29112025/12/38/image_29112025_12_38_55_10552.jpg
/home/pi/Desktop/images/29112025/12/38/image_29112025_12_39_05_9608.jpg
/home/pi/Desktop/images/29112025/12/39/image_29112025_12_39_15_9774.jpg
/home/pi/Desktop/images/29112025/12/39/image_29112025_12_39_25_10687.jpg
/home/pi/Desktop/images/29112025/12/39/image_29112025_12_39_35_9553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396880504","1396880523","1396880552","1396880555","1396880549","1396880558"],"photo_ids_order":["1396880504","1396880523","1396880549","1396880552","1396880555","1396880558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9d3b4cc0480538edcbb7fe2b3c9de1b.jpg","text":"TemporaryFile(/tmp/multipartBody4985235573328672389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416662663,"filename":"image_29112025_12_38_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81b0aaa03812a3cf8b2162a533593401.jpg","text":"TemporaryFile(/tmp/multipartBody7208011966759171064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416662663,"filename":"image_29112025_12_38_55_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd7d37e680f6bd85bfaa3cb42299b5cd.jpg","text":"TemporaryFile(/tmp/multipartBody6690360052830304940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416662663,"filename":"image_29112025_12_39_15_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a63062fc8e5dc3dd2c3af8b2950609a8.jpg","text":"TemporaryFile(/tmp/multipartBody2675348305223568958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416662663,"filename":"image_29112025_12_39_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67fb5ca20a36321f5742792c5dacc00c.jpg","text":"TemporaryFile(/tmp/multipartBody6992082196781679319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416662663,"filename":"image_29112025_12_39_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6261afe9ee9aee93a59bcb45d43e74a9.jpg","text":"TemporaryFile(/tmp/multipartBody2273953005937907170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416662663,"filename":"image_29112025_12_39_35_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880549","file1":"1396880523","file0":"1396880504","file4":"1396880555","file5":"1396880558","file3":"1396880552"},"map_files_photo_id_array":[{"photo_id":"1396880558","filename":"file5"},{"photo_id":"1396880549","filename":"file2"},{"photo_id":"1396880555","filename":"file4"},{"photo_id":"1396880523","filename":"file1"},{"photo_id":"1396880504","filename":"file0"},{"photo_id":"1396880552","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396880504":["hashtag1","hashtag2"]},{"1396880523":["hashtag1","hashtag2"]},{"1396880552":["hashtag1","hashtag2"]},{"1396880555":["hashtag1","hashtag2"]},{"1396880549":["hashtag1","hashtag2"]},{"1396880558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396880504, 1396880523, 1396880552, 1396880555, 1396880549, 1396880558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55587840080261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:44:02.991615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/39/image_29112025_12_39_45_9715.jpg', '/home/pi/Desktop/images/29112025/12/39/image_29112025_12_39_55_10680.jpg', '/home/pi/Desktop/images/29112025/12/39/image_29112025_12_40_05_9630.jpg', '/home/pi/Desktop/images/29112025/12/40/image_29112025_12_40_15_9674.jpg', '/home/pi/Desktop/images/29112025/12/40/image_29112025_12_40_24_9895.jpg', '/home/pi/Desktop/images/29112025/12/40/image_29112025_12_40_35_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/39/image_29112025_12_39_45_9715.jpg
/home/pi/Desktop/images/29112025/12/39/image_29112025_12_39_55_10680.jpg
/home/pi/Desktop/images/29112025/12/39/image_29112025_12_40_05_9630.jpg
/home/pi/Desktop/images/29112025/12/40/image_29112025_12_40_15_9674.jpg
/home/pi/Desktop/images/29112025/12/40/image_29112025_12_40_24_9895.jpg
/home/pi/Desktop/images/29112025/12/40/image_29112025_12_40_35_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396880659","1396880650","1396880653","1396880656","1396880652","1396880654"],"photo_ids_order":["1396880650","1396880652","1396880653","1396880654","1396880656","1396880659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f81f87fdcd88f67e91588056dd2e2699.jpg","text":"TemporaryFile(/tmp/multipartBody7069742968399625515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416703784,"filename":"image_29112025_12_40_35_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f3f048b83b33f21ef59dd4080fbd12f.jpg","text":"TemporaryFile(/tmp/multipartBody5814468802132099880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416703784,"filename":"image_29112025_12_39_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04de978c6cf27a7931a541db023b22c0.jpg","text":"TemporaryFile(/tmp/multipartBody2058414580049108455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416703784,"filename":"image_29112025_12_40_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/11/29/d9d5d67c87bb8b57b9a7781d88e1fd56.jpg","text":"TemporaryFile(/tmp/multipartBody2898577765453522390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416703784,"filename":"image_29112025_12_40_24_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9954c43ff87e22d2717f07dba9837a09.jpg","text":"TemporaryFile(/tmp/multipartBody3922299198207643931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416703784,"filename":"image_29112025_12_39_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7fb213ba6ae30ba207ff710d56f1f6d1.jpg","text":"TemporaryFile(/tmp/multipartBody8085147151326227401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416703784,"filename":"image_29112025_12_40_15_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880653","file1":"1396880652","file0":"1396880650","file4":"1396880656","file5":"1396880659","file3":"1396880654"},"map_files_photo_id_array":[{"photo_id":"1396880659","filename":"file5"},{"photo_id":"1396880653","filename":"file2"},{"photo_id":"1396880656","filename":"file4"},{"photo_id":"1396880652","filename":"file1"},{"photo_id":"1396880650","filename":"file0"},{"photo_id":"1396880654","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396880659":["hashtag1","hashtag2"]},{"1396880650":["hashtag1","hashtag2"]},{"1396880653":["hashtag1","hashtag2"]},{"1396880656":["hashtag1","hashtag2"]},{"1396880652":["hashtag1","hashtag2"]},{"1396880654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396880659, 1396880650, 1396880653, 1396880656, 1396880652, 1396880654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36070203781128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:44:42.281414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_43_1593.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_44_1687.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_46_1665.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_48_1753.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_50_1801.jpg', '/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_52_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/09/36/image_31102025_09_36_43_1593.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_44_1687.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_46_1665.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_48_1753.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_50_1801.jpg
/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_52_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":["1396880708","1396880766","1396880673","1396880670","1396880765","1396880747"],"photo_ids_order":["1396880670","1396880673","1396880708","1396880747","1396880765","1396880766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8e84f9254e761fc02b51cc0fcd6254a.jpg","text":"TemporaryFile(/tmp/multipartBody2523397022418725103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416743442,"filename":"image_31102025_09_36_46_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5145169c6e3b6a7cd3f33219710a4e5d.jpg","text":"TemporaryFile(/tmp/multipartBody3060315698466968666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416743442,"filename":"image_31102025_09_36_52_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc85b04c39e862189a06d6f1211fc03e.jpg","text":"TemporaryFile(/tmp/multipartBody3861795289151088314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416743442,"filename":"image_31102025_09_36_44_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbf52b5d0b45a5fdcaddf30fa91939d0.jpg","text":"TemporaryFile(/tmp/multipartBody7667036728865242030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416743442,"filename":"image_31102025_09_36_43_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0f0bb5d1f84c143c045c01931b9d2ea.jpg","text":"TemporaryFile(/tmp/multipartBody2515050222047873705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416743442,"filename":"image_31102025_09_36_50_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8be847c0075b2c70655d699fedf81508.jpg","text":"TemporaryFile(/tmp/multipartBody473593592444759651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416743442,"filename":"image_31102025_09_36_48_1753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880708","file1":"1396880673","file0":"1396880670","file4":"1396880765","file5":"1396880766","file3":"1396880747"},"map_files_photo_id_array":[{"photo_id":"1396880766","filename":"file5"},{"photo_id":"1396880708","filename":"file2"},{"photo_id":"1396880765","filename":"file4"},{"photo_id":"1396880673","filename":"file1"},{"photo_id":"1396880670","filename":"file0"},{"photo_id":"1396880747","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396880708":["hashtag1","hashtag2"]},{"1396880766":["hashtag1","hashtag2"]},{"1396880673":["hashtag1","hashtag2"]},{"1396880670":["hashtag1","hashtag2"]},{"1396880765":["hashtag1","hashtag2"]},{"1396880747":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396880708, 1396880766, 1396880673, 1396880670, 1396880765, 1396880747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88416838645935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:45:22.392976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/40/image_29112025_12_40_45_9601.jpg', '/home/pi/Desktop/images/29112025/12/40/image_29112025_12_40_55_9798.jpg', '/home/pi/Desktop/images/29112025/12/40/image_29112025_12_41_05_10554.jpg', '/home/pi/Desktop/images/29112025/12/41/image_29112025_12_41_15_9651.jpg', '/home/pi/Desktop/images/29112025/12/41/image_29112025_12_41_24_9674.jpg', '/home/pi/Desktop/images/29112025/12/41/image_29112025_12_41_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/40/image_29112025_12_40_45_9601.jpg
/home/pi/Desktop/images/29112025/12/40/image_29112025_12_40_55_9798.jpg
/home/pi/Desktop/images/29112025/12/40/image_29112025_12_41_05_10554.jpg
/home/pi/Desktop/images/29112025/12/41/image_29112025_12_41_15_9651.jpg
/home/pi/Desktop/images/29112025/12/41/image_29112025_12_41_24_9674.jpg
/home/pi/Desktop/images/29112025/12/41/image_29112025_12_41_35_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":["1396880807","1396880784","1396880868","1396880781","1396880862","1396880778"],"photo_ids_order":["1396880778","1396880781","1396880784","1396880807","1396880862","1396880868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6801ab31e3c5c72a912ff6e42621b49.jpg","text":"TemporaryFile(/tmp/multipartBody5860743323139489003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416783081,"filename":"image_29112025_12_41_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5ba0a60c44cf3101453b52a8646a766.jpg","text":"TemporaryFile(/tmp/multipartBody8702007377739541604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416783081,"filename":"image_29112025_12_41_05_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec5ec5f9f1d7a9c9fc8cbf936d218417.jpg","text":"TemporaryFile(/tmp/multipartBody8309979291748812406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416783081,"filename":"image_29112025_12_41_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31da91581582d2a9a05a90a37ee78922.jpg","text":"TemporaryFile(/tmp/multipartBody6585887253446254798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416783081,"filename":"image_29112025_12_40_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/11/29/92e5a0b2199254d803f2b5718cf74e26.jpg","text":"TemporaryFile(/tmp/multipartBody8518523502404098791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416783081,"filename":"image_29112025_12_41_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/11/29/0f60d353caee9291737ab5eec8d2bf73.jpg","text":"TemporaryFile(/tmp/multipartBody3247813681508552573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416783081,"filename":"image_29112025_12_40_45_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880784","file1":"1396880781","file0":"1396880778","file4":"1396880862","file5":"1396880868","file3":"1396880807"},"map_files_photo_id_array":[{"photo_id":"1396880868","filename":"file5"},{"photo_id":"1396880784","filename":"file2"},{"photo_id":"1396880862","filename":"file4"},{"photo_id":"1396880781","filename":"file1"},{"photo_id":"1396880778","filename":"file0"},{"photo_id":"1396880807","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396880807":["hashtag1","hashtag2"]},{"1396880784":["hashtag1","hashtag2"]},{"1396880868":["hashtag1","hashtag2"]},{"1396880781":["hashtag1","hashtag2"]},{"1396880862":["hashtag1","hashtag2"]},{"1396880778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396880807, 1396880784, 1396880868, 1396880781, 1396880862, 1396880778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.625223875045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:46:03.030719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/41/image_29112025_12_41_45_9704.jpg', '/home/pi/Desktop/images/29112025/12/41/image_29112025_12_41_55_9733.jpg', '/home/pi/Desktop/images/29112025/12/41/image_29112025_12_42_05_10650.jpg', '/home/pi/Desktop/images/29112025/12/42/image_29112025_12_42_35_10538.jpg', '/home/pi/Desktop/images/29112025/12/42/image_29112025_12_42_45_9706.jpg', '/home/pi/Desktop/images/29112025/12/42/image_29112025_12_42_54_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/41/image_29112025_12_41_45_9704.jpg
/home/pi/Desktop/images/29112025/12/41/image_29112025_12_41_55_9733.jpg
/home/pi/Desktop/images/29112025/12/41/image_29112025_12_42_05_10650.jpg
/home/pi/Desktop/images/29112025/12/42/image_29112025_12_42_35_10538.jpg
/home/pi/Desktop/images/29112025/12/42/image_29112025_12_42_45_9706.jpg
/home/pi/Desktop/images/29112025/12/42/image_29112025_12_42_54_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396880918","1396880893","1396880889","1396880916","1396880910","1396880879"],"photo_ids_order":["1396880879","1396880889","1396880893","1396880910","1396880916","1396880918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94c1399e3f0df1d9dcb8a77f9e31b143.jpg","text":"TemporaryFile(/tmp/multipartBody5714722013108034451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416823804,"filename":"image_29112025_12_42_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b294967ca9ea1dd11aa2ba6608e3c00a.jpg","text":"TemporaryFile(/tmp/multipartBody4913682311037299756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416823804,"filename":"image_29112025_12_42_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/11/29/a1fa488cd536f1a41cf2ffc26d3a6e82.jpg","text":"TemporaryFile(/tmp/multipartBody6235131886737403550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416823804,"filename":"image_29112025_12_41_55_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d34948639099e15bfd95583b44cfddc.jpg","text":"TemporaryFile(/tmp/multipartBody1521488500981572582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416823804,"filename":"image_29112025_12_42_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/11/29/51107b0cb79a072da9b86bdc7f4d0491.jpg","text":"TemporaryFile(/tmp/multipartBody7895184411059528890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416823804,"filename":"image_29112025_12_42_35_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc54c22f53643dfba51707a4e09e3426.jpg","text":"TemporaryFile(/tmp/multipartBody1151458826960769740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416823804,"filename":"image_29112025_12_41_45_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880893","file1":"1396880889","file0":"1396880879","file4":"1396880916","file5":"1396880918","file3":"1396880910"},"map_files_photo_id_array":[{"photo_id":"1396880918","filename":"file5"},{"photo_id":"1396880893","filename":"file2"},{"photo_id":"1396880916","filename":"file4"},{"photo_id":"1396880889","filename":"file1"},{"photo_id":"1396880879","filename":"file0"},{"photo_id":"1396880910","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396880918":["hashtag1","hashtag2"]},{"1396880893":["hashtag1","hashtag2"]},{"1396880889":["hashtag1","hashtag2"]},{"1396880916":["hashtag1","hashtag2"]},{"1396880910":["hashtag1","hashtag2"]},{"1396880879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396880918, 1396880893, 1396880889, 1396880916, 1396880910, 1396880879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.388256311416626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:46:42.633292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/36/image_31102025_09_36_56_3656.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_01_2739.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_04_2714.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_08_3643.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_10_2631.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_13_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/09/36/image_31102025_09_36_56_3656.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_01_2739.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_04_2714.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_08_3643.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_10_2631.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_13_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":["1396880941","1396880935","1396880929","1396880937","1396880939","1396880933"],"photo_ids_order":["1396880929","1396880933","1396880935","1396880937","1396880939","1396880941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84c3eb99ac6425f2939153e8e60abffc.jpg","text":"TemporaryFile(/tmp/multipartBody5303076012101364655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416863741,"filename":"image_31102025_09_37_13_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e52b8bb37e263544a8bcc3f11aae2ec4.jpg","text":"TemporaryFile(/tmp/multipartBody1706511016575465259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416863741,"filename":"image_31102025_09_37_04_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c9b53b0967025a574102e6a33463cf5.jpg","text":"TemporaryFile(/tmp/multipartBody6322516514344084048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416863741,"filename":"image_31102025_09_36_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/11/29/ac203b74e47286e8cf317fc93f909612.jpg","text":"TemporaryFile(/tmp/multipartBody3196268533905994448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416863741,"filename":"image_31102025_09_37_08_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d325af7985d7b4888267e7787c14277.jpg","text":"TemporaryFile(/tmp/multipartBody6911740194883920284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416863741,"filename":"image_31102025_09_37_10_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fefd3216b14ae0a809a257c03b688163.jpg","text":"TemporaryFile(/tmp/multipartBody411768675987321509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416863741,"filename":"image_31102025_09_37_01_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880935","file1":"1396880933","file0":"1396880929","file4":"1396880939","file5":"1396880941","file3":"1396880937"},"map_files_photo_id_array":[{"photo_id":"1396880941","filename":"file5"},{"photo_id":"1396880935","filename":"file2"},{"photo_id":"1396880939","filename":"file4"},{"photo_id":"1396880933","filename":"file1"},{"photo_id":"1396880929","filename":"file0"},{"photo_id":"1396880937","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396880941":["hashtag1","hashtag2"]},{"1396880935":["hashtag1","hashtag2"]},{"1396880929":["hashtag1","hashtag2"]},{"1396880937":["hashtag1","hashtag2"]},{"1396880939":["hashtag1","hashtag2"]},{"1396880933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396880941, 1396880935, 1396880929, 1396880937, 1396880939, 1396880933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.192758083343506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:47:22.810302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/42/image_29112025_12_43_05_10607.jpg', '/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_15_9680.jpg', '/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_24_9751.jpg', '/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_45_9550.jpg', '/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_55_10618.jpg', '/home/pi/Desktop/images/29112025/12/43/image_29112025_12_44_05_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/42/image_29112025_12_43_05_10607.jpg
/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_15_9680.jpg
/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_24_9751.jpg
/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_45_9550.jpg
/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_55_10618.jpg
/home/pi/Desktop/images/29112025/12/43/image_29112025_12_44_05_9707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6041834354400635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 12:47:32.807563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_36_2781.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_38_2572.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_42_3687.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_45_2620.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_47_2613.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_51_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_36_2781.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_38_2572.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_42_3687.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_45_2620.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_47_2613.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_51_3567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396880965","1396880967","1396880952","1396880963","1396880957","1396880966"],"photo_ids_order":["1396880952","1396880957","1396880963","1396880965","1396880966","1396880967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad8f5e3121651c1aa7cba138599fdc3d.jpg","text":"TemporaryFile(/tmp/multipartBody2890130440291205539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416915060,"filename":"image_25112025_18_23_45_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec08454a079478c647b9e9c66d2be35d.jpg","text":"TemporaryFile(/tmp/multipartBody3781738716406113359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416915060,"filename":"image_25112025_18_23_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/11/29/47266bf1d2979a7d073f246e80f59d1e.jpg","text":"TemporaryFile(/tmp/multipartBody184600269588194976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416915060,"filename":"image_25112025_18_23_36_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc48558b732051f6dd90a8499d6ff65e.jpg","text":"TemporaryFile(/tmp/multipartBody6823202016279974678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416915060,"filename":"image_25112025_18_23_42_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42b219a7def9a3f89fd3a008b5bf51b3.jpg","text":"TemporaryFile(/tmp/multipartBody2065239624683406142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416915060,"filename":"image_25112025_18_23_38_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38eb3b160b6df01c88a22f0d54b2202a.jpg","text":"TemporaryFile(/tmp/multipartBody2151751259052253087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416915060,"filename":"image_25112025_18_23_47_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880963","file1":"1396880957","file0":"1396880952","file4":"1396880966","file5":"1396880967","file3":"1396880965"},"map_files_photo_id_array":[{"photo_id":"1396880967","filename":"file5"},{"photo_id":"1396880963","filename":"file2"},{"photo_id":"1396880966","filename":"file4"},{"photo_id":"1396880957","filename":"file1"},{"photo_id":"1396880952","filename":"file0"},{"photo_id":"1396880965","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396880965":["hashtag1","hashtag2"]},{"1396880967":["hashtag1","hashtag2"]},{"1396880952":["hashtag1","hashtag2"]},{"1396880963":["hashtag1","hashtag2"]},{"1396880957":["hashtag1","hashtag2"]},{"1396880966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396880965, 1396880967, 1396880952, 1396880963, 1396880957, 1396880966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06928873062134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 12:48:12.043078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_53_2608.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_56_2740.jpg', '/home/pi/Desktop/images/25112025/18/23/image_25112025_18_24_00_3582.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_02_2734.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_06_3545.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_09_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_53_2608.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_23_56_2740.jpg
/home/pi/Desktop/images/25112025/18/23/image_25112025_18_24_00_3582.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_02_2734.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_06_3545.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_09_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396880974","1396880977","1396881028","1396881009","1396881032","1396880972"],"photo_ids_order":["1396880972","1396880974","1396880977","1396881009","1396881028","1396881032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2160f45e986534d1bb07f499c2ed6d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8997970712160671710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416954147,"filename":"image_25112025_18_23_56_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/960b61ff8514f62c2bb8c3d3dbb0e0fd.jpg","text":"TemporaryFile(/tmp/multipartBody578168878796136981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416954147,"filename":"image_25112025_18_24_00_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12174d39e92ac5024a0230ec3934ecfa.jpg","text":"TemporaryFile(/tmp/multipartBody5983253635448923098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416954147,"filename":"image_25112025_18_24_06_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f33ebc40061e2cd58f5c15de63e8e1e.jpg","text":"TemporaryFile(/tmp/multipartBody9187654572831758136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416954147,"filename":"image_25112025_18_24_02_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ebe3d3bea9d65fad2273f0eb37954a5.jpg","text":"TemporaryFile(/tmp/multipartBody5041460711487833543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416954147,"filename":"image_25112025_18_24_09_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20b44f6092fb96541b715050bc9c0d00.jpg","text":"TemporaryFile(/tmp/multipartBody357976492431721401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764416954147,"filename":"image_25112025_18_23_53_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396880977","file1":"1396880974","file0":"1396880972","file4":"1396881028","file5":"1396881032","file3":"1396881009"},"map_files_photo_id_array":[{"photo_id":"1396881032","filename":"file5"},{"photo_id":"1396880977","filename":"file2"},{"photo_id":"1396881028","filename":"file4"},{"photo_id":"1396880974","filename":"file1"},{"photo_id":"1396880972","filename":"file0"},{"photo_id":"1396881009","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396880974":["hashtag1","hashtag2"]},{"1396880977":["hashtag1","hashtag2"]},{"1396881028":["hashtag1","hashtag2"]},{"1396881009":["hashtag1","hashtag2"]},{"1396881032":["hashtag1","hashtag2"]},{"1396880972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396880974, 1396880977, 1396881028, 1396881009, 1396881032, 1396880972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78534173965454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:49:03.193238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/42/image_29112025_12_43_05_10607.jpg', '/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_15_9680.jpg', '/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_24_9751.jpg', '/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_45_9550.jpg', '/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_55_10618.jpg', '/home/pi/Desktop/images/29112025/12/43/image_29112025_12_44_05_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/42/image_29112025_12_43_05_10607.jpg
/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_15_9680.jpg
/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_24_9751.jpg
/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_45_9550.jpg
/home/pi/Desktop/images/29112025/12/43/image_29112025_12_43_55_10618.jpg
/home/pi/Desktop/images/29112025/12/43/image_29112025_12_44_05_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396881078","1396881072","1396881069","1396881074","1396881071","1396881070"],"photo_ids_order":["1396881069","1396881070","1396881071","1396881072","1396881074","1396881078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52c59587f823ce0e7c57fb85a7ed1a2f.jpg","text":"TemporaryFile(/tmp/multipartBody6540365398208162356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417004008,"filename":"image_29112025_12_44_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/11/29/63ba067c3e57837e770e707e95ad1868.jpg","text":"TemporaryFile(/tmp/multipartBody313831778096296043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417004008,"filename":"image_29112025_12_43_45_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2872e8d8a7a71b6652aae41a484217b.jpg","text":"TemporaryFile(/tmp/multipartBody8525604939030803879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417004008,"filename":"image_29112025_12_43_05_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/884fa5fa65e9269110235d4f886bda89.jpg","text":"TemporaryFile(/tmp/multipartBody5578036099182253964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417004008,"filename":"image_29112025_12_43_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32d792502691aa0ecd2327aba052344e.jpg","text":"TemporaryFile(/tmp/multipartBody7176041863966090789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417004008,"filename":"image_29112025_12_43_24_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2fb28a7190343e25ec50f492a19740c.jpg","text":"TemporaryFile(/tmp/multipartBody7374789896620953912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417004008,"filename":"image_29112025_12_43_15_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881071","file1":"1396881070","file0":"1396881069","file4":"1396881074","file5":"1396881078","file3":"1396881072"},"map_files_photo_id_array":[{"photo_id":"1396881078","filename":"file5"},{"photo_id":"1396881071","filename":"file2"},{"photo_id":"1396881074","filename":"file4"},{"photo_id":"1396881070","filename":"file1"},{"photo_id":"1396881069","filename":"file0"},{"photo_id":"1396881072","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396881078":["hashtag1","hashtag2"]},{"1396881072":["hashtag1","hashtag2"]},{"1396881069":["hashtag1","hashtag2"]},{"1396881074":["hashtag1","hashtag2"]},{"1396881071":["hashtag1","hashtag2"]},{"1396881070":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396881078, 1396881072, 1396881069, 1396881074, 1396881071, 1396881070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06080460548401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:49:42.180111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_17_3788.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_19_2608.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_22_2629.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_26_3615.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_28_2641.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_31_2885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_17_3788.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_19_2608.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_22_2629.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_26_3615.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_28_2641.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_31_2885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396881130","1396881099","1396881147","1396881146","1396881113","1396881116"],"photo_ids_order":["1396881099","1396881113","1396881116","1396881130","1396881146","1396881147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/23105f65dd89d9ccd15361a947eac6e9.jpg","text":"TemporaryFile(/tmp/multipartBody8103179437155751868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417043294,"filename":"image_31102025_09_37_26_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59410cdbe85c0922cb185cd7e62e2a13.jpg","text":"TemporaryFile(/tmp/multipartBody7041753762887210707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417043294,"filename":"image_31102025_09_37_17_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0bdcdad02ad5952758a0d9d24f6bf93f.jpg","text":"TemporaryFile(/tmp/multipartBody6576356633831085764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417043294,"filename":"image_31102025_09_37_31_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e2706d4fcc2d377dd33bd81f1732ede.jpg","text":"TemporaryFile(/tmp/multipartBody1680396414151923933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417043294,"filename":"image_31102025_09_37_28_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12c2b707c44e0bfe88c4286cbe7d2919.jpg","text":"TemporaryFile(/tmp/multipartBody1806873879608318460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417043294,"filename":"image_31102025_09_37_19_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1df93bdc690e137053034b1c33d36cf5.jpg","text":"TemporaryFile(/tmp/multipartBody8924216198874067104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417043294,"filename":"image_31102025_09_37_22_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881116","file1":"1396881113","file0":"1396881099","file4":"1396881146","file5":"1396881147","file3":"1396881130"},"map_files_photo_id_array":[{"photo_id":"1396881147","filename":"file5"},{"photo_id":"1396881116","filename":"file2"},{"photo_id":"1396881146","filename":"file4"},{"photo_id":"1396881113","filename":"file1"},{"photo_id":"1396881099","filename":"file0"},{"photo_id":"1396881130","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396881130":["hashtag1","hashtag2"]},{"1396881099":["hashtag1","hashtag2"]},{"1396881147":["hashtag1","hashtag2"]},{"1396881146":["hashtag1","hashtag2"]},{"1396881113":["hashtag1","hashtag2"]},{"1396881116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396881130, 1396881099, 1396881147, 1396881146, 1396881113, 1396881116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12857508659363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:50:22.373467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/44/image_29112025_12_44_14_9576.jpg', '/home/pi/Desktop/images/29112025/12/44/image_29112025_12_44_25_10712.jpg', '/home/pi/Desktop/images/29112025/12/44/image_29112025_12_44_35_9614.jpg', '/home/pi/Desktop/images/29112025/12/44/image_29112025_12_44_44_9659.jpg', '/home/pi/Desktop/images/29112025/12/44/image_29112025_12_44_55_10690.jpg', '/home/pi/Desktop/images/29112025/12/44/image_29112025_12_45_05_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/44/image_29112025_12_44_14_9576.jpg
/home/pi/Desktop/images/29112025/12/44/image_29112025_12_44_25_10712.jpg
/home/pi/Desktop/images/29112025/12/44/image_29112025_12_44_35_9614.jpg
/home/pi/Desktop/images/29112025/12/44/image_29112025_12_44_44_9659.jpg
/home/pi/Desktop/images/29112025/12/44/image_29112025_12_44_55_10690.jpg
/home/pi/Desktop/images/29112025/12/44/image_29112025_12_45_05_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396881151","1396881162","1396881165","1396881159","1396881153","1396881156"],"photo_ids_order":["1396881151","1396881153","1396881156","1396881159","1396881162","1396881165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80cc73e3a97173e0792c33b1b8a1c476.jpg","text":"TemporaryFile(/tmp/multipartBody2693436301601643550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417083091,"filename":"image_29112025_12_44_14_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/742b2249e05e36702e1f2fce401eedad.jpg","text":"TemporaryFile(/tmp/multipartBody7605036297894360210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417083091,"filename":"image_29112025_12_44_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/11/29/925d20963bfa61883308d0cc9e123ff9.jpg","text":"TemporaryFile(/tmp/multipartBody4310050390462191371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417083091,"filename":"image_29112025_12_45_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1643521a45f741f1f8fc80359c478010.jpg","text":"TemporaryFile(/tmp/multipartBody5826179593106496834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417083091,"filename":"image_29112025_12_44_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/11/29/7270f1c10b88d872b4c543a875249435.jpg","text":"TemporaryFile(/tmp/multipartBody5340592658748635651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417083091,"filename":"image_29112025_12_44_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1a952969f8e98cd19595403edeab376.jpg","text":"TemporaryFile(/tmp/multipartBody3480606097986892473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417083091,"filename":"image_29112025_12_44_35_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881156","file1":"1396881153","file0":"1396881151","file4":"1396881162","file5":"1396881165","file3":"1396881159"},"map_files_photo_id_array":[{"photo_id":"1396881165","filename":"file5"},{"photo_id":"1396881156","filename":"file2"},{"photo_id":"1396881162","filename":"file4"},{"photo_id":"1396881153","filename":"file1"},{"photo_id":"1396881151","filename":"file0"},{"photo_id":"1396881159","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396881151":["hashtag1","hashtag2"]},{"1396881162":["hashtag1","hashtag2"]},{"1396881165":["hashtag1","hashtag2"]},{"1396881159":["hashtag1","hashtag2"]},{"1396881153":["hashtag1","hashtag2"]},{"1396881156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396881151, 1396881162, 1396881165, 1396881159, 1396881153, 1396881156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16642951965332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:51:03.184804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/45/image_29112025_12_45_15_9750.jpg', '/home/pi/Desktop/images/29112025/12/45/image_29112025_12_45_25_10695.jpg', '/home/pi/Desktop/images/29112025/12/45/image_29112025_12_45_35_9714.jpg', '/home/pi/Desktop/images/29112025/12/45/image_29112025_12_45_45_9549.jpg', '/home/pi/Desktop/images/29112025/12/45/image_29112025_12_45_55_10549.jpg', '/home/pi/Desktop/images/29112025/12/45/image_29112025_12_46_05_10046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/45/image_29112025_12_45_15_9750.jpg
/home/pi/Desktop/images/29112025/12/45/image_29112025_12_45_25_10695.jpg
/home/pi/Desktop/images/29112025/12/45/image_29112025_12_45_35_9714.jpg
/home/pi/Desktop/images/29112025/12/45/image_29112025_12_45_45_9549.jpg
/home/pi/Desktop/images/29112025/12/45/image_29112025_12_45_55_10549.jpg
/home/pi/Desktop/images/29112025/12/45/image_29112025_12_46_05_10046.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396881172","1396881192","1396881171","1396881174","1396881173","1396881176"],"photo_ids_order":["1396881171","1396881172","1396881173","1396881174","1396881176","1396881192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bb576f5ab8a343337ae26867b79cbd9.jpg","text":"TemporaryFile(/tmp/multipartBody6663136390829322198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417123961,"filename":"image_29112025_12_45_25_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf51780dfb26e5e6c970ec3fb8fc1636.jpg","text":"TemporaryFile(/tmp/multipartBody5967426571328913588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417123961,"filename":"image_29112025_12_46_05_10046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f9bbcfa53a9773aa60f847b8a7c54ad.jpg","text":"TemporaryFile(/tmp/multipartBody7602558391007297847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417123961,"filename":"image_29112025_12_45_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/11/29/6a9b360c9e907ba8ebf8c944f6a8f923.jpg","text":"TemporaryFile(/tmp/multipartBody6798789928247883798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417123961,"filename":"image_29112025_12_45_45_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/932bbe4ca66bd4e070d52757e52532e9.jpg","text":"TemporaryFile(/tmp/multipartBody5111786359546379686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417123961,"filename":"image_29112025_12_45_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/11/29/7e288d7baf7bf9db81a925a73cde8568.jpg","text":"TemporaryFile(/tmp/multipartBody8355542786170456283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417123961,"filename":"image_29112025_12_45_55_10549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881173","file1":"1396881172","file0":"1396881171","file4":"1396881176","file5":"1396881192","file3":"1396881174"},"map_files_photo_id_array":[{"photo_id":"1396881192","filename":"file5"},{"photo_id":"1396881173","filename":"file2"},{"photo_id":"1396881176","filename":"file4"},{"photo_id":"1396881172","filename":"file1"},{"photo_id":"1396881171","filename":"file0"},{"photo_id":"1396881174","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396881172":["hashtag1","hashtag2"]},{"1396881192":["hashtag1","hashtag2"]},{"1396881171":["hashtag1","hashtag2"]},{"1396881174":["hashtag1","hashtag2"]},{"1396881173":["hashtag1","hashtag2"]},{"1396881176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396881172, 1396881192, 1396881171, 1396881174, 1396881173, 1396881176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32160472869873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:51:42.575780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_34_2754.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_38_3711.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_40_2558.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_43_2804.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_47_3635.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_49_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/09/37/image_31102025_09_37_34_2754.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_38_3711.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_40_2558.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_43_2804.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_47_3635.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_49_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":["1396881271","1396881214","1396881216","1396881236","1396881344","1396881308"],"photo_ids_order":["1396881214","1396881216","1396881236","1396881271","1396881308","1396881344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20c60fa84759dcd3d0d15e8365498c7b.jpg","text":"TemporaryFile(/tmp/multipartBody7322367840755660065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417163697,"filename":"image_31102025_09_37_43_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5b09a1aee9c9e0b51f16b55ceac2a80.jpg","text":"TemporaryFile(/tmp/multipartBody962138506066346505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417163697,"filename":"image_31102025_09_37_34_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/778f92bd202dfe28a37d3218dac90ef1.jpg","text":"TemporaryFile(/tmp/multipartBody9083153318193810657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417163697,"filename":"image_31102025_09_37_38_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffd2efaa3f85cfdfee50b4151cd41302.jpg","text":"TemporaryFile(/tmp/multipartBody1770057213408136575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417163697,"filename":"image_31102025_09_37_40_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b752ce266d9456e0d25459019194aa0e.jpg","text":"TemporaryFile(/tmp/multipartBody8711572204511969859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417163697,"filename":"image_31102025_09_37_49_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4df21bdc453a6f13da6762bc6ad86df.jpg","text":"TemporaryFile(/tmp/multipartBody5500454187403310568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417163697,"filename":"image_31102025_09_37_47_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881236","file1":"1396881216","file0":"1396881214","file4":"1396881308","file5":"1396881344","file3":"1396881271"},"map_files_photo_id_array":[{"photo_id":"1396881344","filename":"file5"},{"photo_id":"1396881236","filename":"file2"},{"photo_id":"1396881308","filename":"file4"},{"photo_id":"1396881216","filename":"file1"},{"photo_id":"1396881214","filename":"file0"},{"photo_id":"1396881271","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396881271":["hashtag1","hashtag2"]},{"1396881214":["hashtag1","hashtag2"]},{"1396881216":["hashtag1","hashtag2"]},{"1396881236":["hashtag1","hashtag2"]},{"1396881344":["hashtag1","hashtag2"]},{"1396881308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396881271, 1396881214, 1396881216, 1396881236, 1396881344, 1396881308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9872624874115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:52:22.731167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/46/image_29112025_12_46_15_9725.jpg', '/home/pi/Desktop/images/29112025/12/46/image_29112025_12_46_25_9661.jpg', '/home/pi/Desktop/images/29112025/12/46/image_29112025_12_46_35_10611.jpg', '/home/pi/Desktop/images/29112025/12/46/image_29112025_12_46_45_9734.jpg', '/home/pi/Desktop/images/29112025/12/46/image_29112025_12_46_55_9755.jpg', '/home/pi/Desktop/images/29112025/12/46/image_29112025_12_47_05_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/46/image_29112025_12_46_15_9725.jpg
/home/pi/Desktop/images/29112025/12/46/image_29112025_12_46_25_9661.jpg
/home/pi/Desktop/images/29112025/12/46/image_29112025_12_46_35_10611.jpg
/home/pi/Desktop/images/29112025/12/46/image_29112025_12_46_45_9734.jpg
/home/pi/Desktop/images/29112025/12/46/image_29112025_12_46_55_9755.jpg
/home/pi/Desktop/images/29112025/12/46/image_29112025_12_47_05_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":["1396881562","1396881559","1396881553","1396881485","1396881548","1396881521"],"photo_ids_order":["1396881485","1396881521","1396881548","1396881553","1396881559","1396881562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82b36c59a4a297137975b3be66d282fa.jpg","text":"TemporaryFile(/tmp/multipartBody2003273987383347748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417203423,"filename":"image_29112025_12_47_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/11/29/313a51e5e8960f027e988a2bc5d3d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody348587559246152891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417203423,"filename":"image_29112025_12_46_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/11/29/fa51713ff80d6c8d71b18eb1ec45176e.jpg","text":"TemporaryFile(/tmp/multipartBody1562635716595949658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417203423,"filename":"image_29112025_12_46_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/11/29/18cfed5c4a87a7603b848c279da77e30.jpg","text":"TemporaryFile(/tmp/multipartBody5071495512215870193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417203423,"filename":"image_29112025_12_46_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/11/29/d4badd0d46112a8969654a2b804588a9.jpg","text":"TemporaryFile(/tmp/multipartBody4363510574658154981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417203423,"filename":"image_29112025_12_46_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9210e2a3b9e9788f124e2733ce7943ca.jpg","text":"TemporaryFile(/tmp/multipartBody8735055616860667087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417203423,"filename":"image_29112025_12_46_25_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881548","file1":"1396881521","file0":"1396881485","file4":"1396881559","file5":"1396881562","file3":"1396881553"},"map_files_photo_id_array":[{"photo_id":"1396881562","filename":"file5"},{"photo_id":"1396881548","filename":"file2"},{"photo_id":"1396881559","filename":"file4"},{"photo_id":"1396881521","filename":"file1"},{"photo_id":"1396881485","filename":"file0"},{"photo_id":"1396881553","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396881562":["hashtag1","hashtag2"]},{"1396881559":["hashtag1","hashtag2"]},{"1396881553":["hashtag1","hashtag2"]},{"1396881485":["hashtag1","hashtag2"]},{"1396881548":["hashtag1","hashtag2"]},{"1396881521":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396881562, 1396881559, 1396881553, 1396881485, 1396881548, 1396881521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12762808799744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:53:02.631616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/47/image_29112025_12_47_15_9686.jpg', '/home/pi/Desktop/images/29112025/12/47/image_29112025_12_47_25_9650.jpg', '/home/pi/Desktop/images/29112025/12/47/image_29112025_12_47_35_10651.jpg', '/home/pi/Desktop/images/29112025/12/47/image_29112025_12_47_45_9895.jpg', '/home/pi/Desktop/images/29112025/12/47/image_29112025_12_47_55_9676.jpg', '/home/pi/Desktop/images/29112025/12/47/image_29112025_12_48_04_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/47/image_29112025_12_47_15_9686.jpg
/home/pi/Desktop/images/29112025/12/47/image_29112025_12_47_25_9650.jpg
/home/pi/Desktop/images/29112025/12/47/image_29112025_12_47_35_10651.jpg
/home/pi/Desktop/images/29112025/12/47/image_29112025_12_47_45_9895.jpg
/home/pi/Desktop/images/29112025/12/47/image_29112025_12_47_55_9676.jpg
/home/pi/Desktop/images/29112025/12/47/image_29112025_12_48_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":["1396881571","1396881565","1396881567","1396881566","1396881574","1396881568"],"photo_ids_order":["1396881565","1396881566","1396881567","1396881568","1396881571","1396881574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e1eaca9958f49b3cc572d4d51308be0.jpg","text":"TemporaryFile(/tmp/multipartBody4586634285672614883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417243399,"filename":"image_29112025_12_47_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/11/29/27753f86c9fee66f1893a23e42bff582.jpg","text":"TemporaryFile(/tmp/multipartBody8893091661354467071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417243399,"filename":"image_29112025_12_47_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/11/29/960f89a28165da28413f4acb05e46691.jpg","text":"TemporaryFile(/tmp/multipartBody6475048639463816813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417243399,"filename":"image_29112025_12_47_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee46d69a2a7ca57ebb7b420e63415677.jpg","text":"TemporaryFile(/tmp/multipartBody1986618314989645887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417243399,"filename":"image_29112025_12_47_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b8d704b00b43ebe6185058eca898d93.jpg","text":"TemporaryFile(/tmp/multipartBody4890390771608113485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417243399,"filename":"image_29112025_12_48_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/11/29/0f1110ca3e1dcfdaba90bdcbfd3a1f48.jpg","text":"TemporaryFile(/tmp/multipartBody6590463719964197647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417243399,"filename":"image_29112025_12_47_45_9895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881567","file1":"1396881566","file0":"1396881565","file4":"1396881571","file5":"1396881574","file3":"1396881568"},"map_files_photo_id_array":[{"photo_id":"1396881574","filename":"file5"},{"photo_id":"1396881567","filename":"file2"},{"photo_id":"1396881571","filename":"file4"},{"photo_id":"1396881566","filename":"file1"},{"photo_id":"1396881565","filename":"file0"},{"photo_id":"1396881568","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396881571":["hashtag1","hashtag2"]},{"1396881565":["hashtag1","hashtag2"]},{"1396881567":["hashtag1","hashtag2"]},{"1396881566":["hashtag1","hashtag2"]},{"1396881574":["hashtag1","hashtag2"]},{"1396881568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396881571, 1396881565, 1396881567, 1396881566, 1396881574, 1396881568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25543713569641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:53:41.959031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_52_2584.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_56_3672.jpg', '/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_58_2661.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_01_2661.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_05_3680.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_07_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/09/37/image_31102025_09_37_52_2584.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_56_3672.jpg
/home/pi/Desktop/images/31102025/09/37/image_31102025_09_37_58_2661.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_01_2661.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_05_3680.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_07_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":["1396881591","1396881585","1396881588","1396881590","1396881587","1396881589"],"photo_ids_order":["1396881585","1396881587","1396881588","1396881589","1396881590","1396881591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4ff4155bea01866b1bdac4a5cd867fa.jpg","text":"TemporaryFile(/tmp/multipartBody6021310017557972396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417283129,"filename":"image_31102025_09_38_07_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b404b0a7eb7b72c3b977354695286170.jpg","text":"TemporaryFile(/tmp/multipartBody3083922622847740460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417283129,"filename":"image_31102025_09_37_52_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ebec26f8e12010504a2fab53bcdbd07.jpg","text":"TemporaryFile(/tmp/multipartBody5901729846892306885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417283129,"filename":"image_31102025_09_37_58_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/165b1512d52820dff0523694aeda5ee3.jpg","text":"TemporaryFile(/tmp/multipartBody656076512487101983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417283129,"filename":"image_31102025_09_38_05_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9fb9de2fccb776cd8e9e69ab055ce6e6.jpg","text":"TemporaryFile(/tmp/multipartBody2973813431631141271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417283129,"filename":"image_31102025_09_37_56_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56f434e485d64ec6fae3652e4ffd403a.jpg","text":"TemporaryFile(/tmp/multipartBody9149732114105402451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417283129,"filename":"image_31102025_09_38_01_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881588","file1":"1396881587","file0":"1396881585","file4":"1396881590","file5":"1396881591","file3":"1396881589"},"map_files_photo_id_array":[{"photo_id":"1396881591","filename":"file5"},{"photo_id":"1396881588","filename":"file2"},{"photo_id":"1396881590","filename":"file4"},{"photo_id":"1396881587","filename":"file1"},{"photo_id":"1396881585","filename":"file0"},{"photo_id":"1396881589","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396881591":["hashtag1","hashtag2"]},{"1396881585":["hashtag1","hashtag2"]},{"1396881588":["hashtag1","hashtag2"]},{"1396881590":["hashtag1","hashtag2"]},{"1396881587":["hashtag1","hashtag2"]},{"1396881589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396881591, 1396881585, 1396881588, 1396881590, 1396881587, 1396881589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.514477491378784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:54:22.140669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/48/image_29112025_12_48_15_10650.jpg', '/home/pi/Desktop/images/29112025/12/48/image_29112025_12_48_25_9718.jpg', '/home/pi/Desktop/images/29112025/12/48/image_29112025_12_48_35_9776.jpg', '/home/pi/Desktop/images/29112025/12/48/image_29112025_12_48_45_10668.jpg', '/home/pi/Desktop/images/29112025/12/48/image_29112025_12_48_55_9619.jpg', '/home/pi/Desktop/images/29112025/12/48/image_29112025_12_49_05_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/48/image_29112025_12_48_15_10650.jpg
/home/pi/Desktop/images/29112025/12/48/image_29112025_12_48_25_9718.jpg
/home/pi/Desktop/images/29112025/12/48/image_29112025_12_48_35_9776.jpg
/home/pi/Desktop/images/29112025/12/48/image_29112025_12_48_45_10668.jpg
/home/pi/Desktop/images/29112025/12/48/image_29112025_12_48_55_9619.jpg
/home/pi/Desktop/images/29112025/12/48/image_29112025_12_49_05_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":["1396881598","1396881604","1396881607","1396881600","1396881608","1396881595"],"photo_ids_order":["1396881595","1396881598","1396881600","1396881604","1396881607","1396881608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc50157b694de598a8f03c64a605fe01.jpg","text":"TemporaryFile(/tmp/multipartBody4090471809670046187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417322837,"filename":"image_29112025_12_48_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7795ad8342db79978d9a09efb566593.jpg","text":"TemporaryFile(/tmp/multipartBody8815002668924166747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417322837,"filename":"image_29112025_12_48_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97ac0cca9bab0544d55eabc8c00dd105.jpg","text":"TemporaryFile(/tmp/multipartBody879478895574103761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417322837,"filename":"image_29112025_12_48_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/11/29/44a79a54d08e9b2a192b3423d300f01a.jpg","text":"TemporaryFile(/tmp/multipartBody5319738227268365729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417322837,"filename":"image_29112025_12_48_35_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86d09badd793753be9f23e1064f0bf6d.jpg","text":"TemporaryFile(/tmp/multipartBody6618592168387633111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417322837,"filename":"image_29112025_12_49_05_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c028b28777a57776049b8fc595b8dab.jpg","text":"TemporaryFile(/tmp/multipartBody2378033640267409558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417322837,"filename":"image_29112025_12_48_15_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881600","file1":"1396881598","file0":"1396881595","file4":"1396881607","file5":"1396881608","file3":"1396881604"},"map_files_photo_id_array":[{"photo_id":"1396881608","filename":"file5"},{"photo_id":"1396881600","filename":"file2"},{"photo_id":"1396881607","filename":"file4"},{"photo_id":"1396881598","filename":"file1"},{"photo_id":"1396881595","filename":"file0"},{"photo_id":"1396881604","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396881598":["hashtag1","hashtag2"]},{"1396881604":["hashtag1","hashtag2"]},{"1396881607":["hashtag1","hashtag2"]},{"1396881600":["hashtag1","hashtag2"]},{"1396881608":["hashtag1","hashtag2"]},{"1396881595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396881598, 1396881604, 1396881607, 1396881600, 1396881608, 1396881595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16420364379883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:55:02.859150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/49/image_29112025_12_49_14_9770.jpg', '/home/pi/Desktop/images/29112025/12/49/image_29112025_12_49_25_10557.jpg', '/home/pi/Desktop/images/29112025/12/49/image_29112025_12_49_35_9645.jpg', '/home/pi/Desktop/images/29112025/12/49/image_29112025_12_49_45_10693.jpg', '/home/pi/Desktop/images/29112025/12/49/image_29112025_12_49_55_9857.jpg', '/home/pi/Desktop/images/29112025/12/49/image_29112025_12_50_05_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/49/image_29112025_12_49_14_9770.jpg
/home/pi/Desktop/images/29112025/12/49/image_29112025_12_49_25_10557.jpg
/home/pi/Desktop/images/29112025/12/49/image_29112025_12_49_35_9645.jpg
/home/pi/Desktop/images/29112025/12/49/image_29112025_12_49_45_10693.jpg
/home/pi/Desktop/images/29112025/12/49/image_29112025_12_49_55_9857.jpg
/home/pi/Desktop/images/29112025/12/49/image_29112025_12_50_05_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396881610","1396881612","1396881609","1396881614","1396881617","1396881611"],"photo_ids_order":["1396881609","1396881610","1396881611","1396881612","1396881614","1396881617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5b90f5e2fdccedede720112ade4a60d.jpg","text":"TemporaryFile(/tmp/multipartBody3099303980087893824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417363615,"filename":"image_29112025_12_49_25_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f94d27480c96db0fdc08531b0603b3d5.jpg","text":"TemporaryFile(/tmp/multipartBody18779394856723607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417363615,"filename":"image_29112025_12_49_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/094b938e94a774e8a0744acf0af547f4.jpg","text":"TemporaryFile(/tmp/multipartBody4189291625693199653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417363615,"filename":"image_29112025_12_49_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/11/29/67ae3038eefcef101fc71be907f71596.jpg","text":"TemporaryFile(/tmp/multipartBody7344213666576765591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417363615,"filename":"image_29112025_12_49_55_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92f67c5c8122b23d4e00848e42b7a4c6.jpg","text":"TemporaryFile(/tmp/multipartBody8857537048476612080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417363615,"filename":"image_29112025_12_50_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/11/29/cb2a88359c4de570957bc26fb12af52a.jpg","text":"TemporaryFile(/tmp/multipartBody2743092033632279945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417363615,"filename":"image_29112025_12_49_35_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881611","file1":"1396881610","file0":"1396881609","file4":"1396881614","file5":"1396881617","file3":"1396881612"},"map_files_photo_id_array":[{"photo_id":"1396881617","filename":"file5"},{"photo_id":"1396881611","filename":"file2"},{"photo_id":"1396881614","filename":"file4"},{"photo_id":"1396881610","filename":"file1"},{"photo_id":"1396881609","filename":"file0"},{"photo_id":"1396881612","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396881610":["hashtag1","hashtag2"]},{"1396881612":["hashtag1","hashtag2"]},{"1396881609":["hashtag1","hashtag2"]},{"1396881614":["hashtag1","hashtag2"]},{"1396881617":["hashtag1","hashtag2"]},{"1396881611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396881610, 1396881612, 1396881609, 1396881614, 1396881617, 1396881611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.605209827423096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:55:42.318099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_20_12713.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_22_1827.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_24_1655.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_25_1631.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_27_1745.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_29_1795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_20_12713.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_22_1827.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_24_1655.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_25_1631.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_27_1745.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_29_1795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396881631","1396881628","1396881630","1396881627","1396881632","1396881629"],"photo_ids_order":["1396881627","1396881628","1396881629","1396881630","1396881631","1396881632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9809475f7211e3fb6e838c48e4dc0bf5.jpg","text":"TemporaryFile(/tmp/multipartBody316619578393965971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417403433,"filename":"image_31102025_09_38_27_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7464d963c9d4c733ddc63dbc7595c9d.jpg","text":"TemporaryFile(/tmp/multipartBody7483795704783709933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417403433,"filename":"image_31102025_09_38_22_1827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/199c4396eeec2766a591c2c32ce5e55a.jpg","text":"TemporaryFile(/tmp/multipartBody878261487268978375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417403433,"filename":"image_31102025_09_38_25_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e6c277c4f221f3ce0196bc1309ef78d.jpg","text":"TemporaryFile(/tmp/multipartBody8136189665208803323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417403433,"filename":"image_31102025_09_38_20_12713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afa43c1bca72ad809e531f057a384c38.jpg","text":"TemporaryFile(/tmp/multipartBody7912356085103757078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417403433,"filename":"image_31102025_09_38_29_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f7be061637105d69c5747e168e312ff.jpg","text":"TemporaryFile(/tmp/multipartBody2227571234323012692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417403433,"filename":"image_31102025_09_38_24_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881629","file1":"1396881628","file0":"1396881627","file4":"1396881631","file5":"1396881632","file3":"1396881630"},"map_files_photo_id_array":[{"photo_id":"1396881632","filename":"file5"},{"photo_id":"1396881629","filename":"file2"},{"photo_id":"1396881631","filename":"file4"},{"photo_id":"1396881628","filename":"file1"},{"photo_id":"1396881627","filename":"file0"},{"photo_id":"1396881630","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396881631":["hashtag1","hashtag2"]},{"1396881628":["hashtag1","hashtag2"]},{"1396881630":["hashtag1","hashtag2"]},{"1396881627":["hashtag1","hashtag2"]},{"1396881632":["hashtag1","hashtag2"]},{"1396881629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396881631, 1396881628, 1396881630, 1396881627, 1396881632, 1396881629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.109623193740845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 12:56:22.493715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/50/image_29112025_12_50_14_9653.jpg', '/home/pi/Desktop/images/29112025/12/50/image_29112025_12_50_25_10700.jpg', '/home/pi/Desktop/images/29112025/12/50/image_29112025_12_50_35_9553.jpg', '/home/pi/Desktop/images/29112025/12/50/image_29112025_12_50_44_9660.jpg', '/home/pi/Desktop/images/29112025/12/50/image_29112025_12_50_55_10670.jpg', '/home/pi/Desktop/images/29112025/12/50/image_29112025_12_51_05_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/50/image_29112025_12_50_14_9653.jpg
/home/pi/Desktop/images/29112025/12/50/image_29112025_12_50_25_10700.jpg
/home/pi/Desktop/images/29112025/12/50/image_29112025_12_50_35_9553.jpg
/home/pi/Desktop/images/29112025/12/50/image_29112025_12_50_44_9660.jpg
/home/pi/Desktop/images/29112025/12/50/image_29112025_12_50_55_10670.jpg
/home/pi/Desktop/images/29112025/12/50/image_29112025_12_51_05_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396881650","1396881644","1396881638","1396881647","1396881641","1396881635"],"photo_ids_order":["1396881635","1396881638","1396881641","1396881644","1396881647","1396881650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/526c3169ab002eec0f46ced7366a7738.jpg","text":"TemporaryFile(/tmp/multipartBody423153993970585752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417443185,"filename":"image_29112025_12_51_05_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97661f15b0cbc76c74a57821ba62d40b.jpg","text":"TemporaryFile(/tmp/multipartBody3849331251031815488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417443185,"filename":"image_29112025_12_50_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1893bdc4188f6eb8707f6ac49f6f06ac.jpg","text":"TemporaryFile(/tmp/multipartBody6881629968345100500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417443185,"filename":"image_29112025_12_50_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/11/29/c97be5f4246162a1d4495f4f5ea2f914.jpg","text":"TemporaryFile(/tmp/multipartBody164827488446743519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417443185,"filename":"image_29112025_12_50_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/11/29/aa6ef3f464bf66f6ad3bf9aed4a44543.jpg","text":"TemporaryFile(/tmp/multipartBody1171774693405685915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417443185,"filename":"image_29112025_12_50_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/11/29/53e207d3888d91f91a37132611bd88a4.jpg","text":"TemporaryFile(/tmp/multipartBody2241786564292911214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417443185,"filename":"image_29112025_12_50_14_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881641","file1":"1396881638","file0":"1396881635","file4":"1396881647","file5":"1396881650","file3":"1396881644"},"map_files_photo_id_array":[{"photo_id":"1396881650","filename":"file5"},{"photo_id":"1396881641","filename":"file2"},{"photo_id":"1396881647","filename":"file4"},{"photo_id":"1396881638","filename":"file1"},{"photo_id":"1396881635","filename":"file0"},{"photo_id":"1396881644","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396881650":["hashtag1","hashtag2"]},{"1396881644":["hashtag1","hashtag2"]},{"1396881638":["hashtag1","hashtag2"]},{"1396881647":["hashtag1","hashtag2"]},{"1396881641":["hashtag1","hashtag2"]},{"1396881635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396881650, 1396881644, 1396881638, 1396881647, 1396881641, 1396881635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54922294616699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:57:03.349905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/51/image_29112025_12_51_14_9646.jpg', '/home/pi/Desktop/images/29112025/12/51/image_29112025_12_51_25_10651.jpg', '/home/pi/Desktop/images/29112025/12/51/image_29112025_12_51_35_9548.jpg', '/home/pi/Desktop/images/29112025/12/51/image_29112025_12_51_44_9769.jpg', '/home/pi/Desktop/images/29112025/12/51/image_29112025_12_51_55_10710.jpg', '/home/pi/Desktop/images/29112025/12/51/image_29112025_12_52_05_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/51/image_29112025_12_51_14_9646.jpg
/home/pi/Desktop/images/29112025/12/51/image_29112025_12_51_25_10651.jpg
/home/pi/Desktop/images/29112025/12/51/image_29112025_12_51_35_9548.jpg
/home/pi/Desktop/images/29112025/12/51/image_29112025_12_51_44_9769.jpg
/home/pi/Desktop/images/29112025/12/51/image_29112025_12_51_55_10710.jpg
/home/pi/Desktop/images/29112025/12/51/image_29112025_12_52_05_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396881664","1396881669","1396881660","1396881657","1396881662","1396881667"],"photo_ids_order":["1396881657","1396881660","1396881662","1396881664","1396881667","1396881669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd8a72178bd548a0112e63dc5a546c45.jpg","text":"TemporaryFile(/tmp/multipartBody2746466388608915502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417484125,"filename":"image_29112025_12_51_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/11/29/b2ee1bc2e1e42111dc45f77f3627a980.jpg","text":"TemporaryFile(/tmp/multipartBody530156104839003750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417484125,"filename":"image_29112025_12_52_05_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a4b8d8f51d9e8721543fbc8cf790552.jpg","text":"TemporaryFile(/tmp/multipartBody2832019445579158074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417484125,"filename":"image_29112025_12_51_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6721b262b572aae8d6c059d4ce4b0e8b.jpg","text":"TemporaryFile(/tmp/multipartBody2796970651277853765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417484125,"filename":"image_29112025_12_51_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/11/29/6a7f1ee5ecb475bf762274fed8ffe3e9.jpg","text":"TemporaryFile(/tmp/multipartBody1254042596810643208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417484125,"filename":"image_29112025_12_51_35_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75501aeddcd4760bc73ec776baab704b.jpg","text":"TemporaryFile(/tmp/multipartBody8833813324688853177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417484125,"filename":"image_29112025_12_51_55_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881662","file1":"1396881660","file0":"1396881657","file4":"1396881667","file5":"1396881669","file3":"1396881664"},"map_files_photo_id_array":[{"photo_id":"1396881669","filename":"file5"},{"photo_id":"1396881662","filename":"file2"},{"photo_id":"1396881667","filename":"file4"},{"photo_id":"1396881660","filename":"file1"},{"photo_id":"1396881657","filename":"file0"},{"photo_id":"1396881664","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396881664":["hashtag1","hashtag2"]},{"1396881669":["hashtag1","hashtag2"]},{"1396881660":["hashtag1","hashtag2"]},{"1396881657":["hashtag1","hashtag2"]},{"1396881662":["hashtag1","hashtag2"]},{"1396881667":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396881664, 1396881669, 1396881660, 1396881657, 1396881662, 1396881667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63568663597107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 12:57:42.620917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_30_1718.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_32_1889.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_34_1718.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_38_3695.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_40_2664.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_43_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_30_1718.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_32_1889.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_34_1718.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_38_3695.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_40_2664.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_43_2786.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0724451541900635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 12:59:02.972803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/52/image_29112025_12_52_14_9653.jpg', '/home/pi/Desktop/images/29112025/12/52/image_29112025_12_52_25_10603.jpg', '/home/pi/Desktop/images/29112025/12/52/image_29112025_12_52_35_9743.jpg', '/home/pi/Desktop/images/29112025/12/52/image_29112025_12_52_45_10598.jpg', '/home/pi/Desktop/images/29112025/12/52/image_29112025_12_52_55_9752.jpg', '/home/pi/Desktop/images/29112025/12/52/image_29112025_12_53_05_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/52/image_29112025_12_52_14_9653.jpg
/home/pi/Desktop/images/29112025/12/52/image_29112025_12_52_25_10603.jpg
/home/pi/Desktop/images/29112025/12/52/image_29112025_12_52_35_9743.jpg
/home/pi/Desktop/images/29112025/12/52/image_29112025_12_52_45_10598.jpg
/home/pi/Desktop/images/29112025/12/52/image_29112025_12_52_55_9752.jpg
/home/pi/Desktop/images/29112025/12/52/image_29112025_12_53_05_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396882057","1396882015","1396881838","1396881939","1396881977","1396881898"],"photo_ids_order":["1396881838","1396881898","1396881939","1396881977","1396882015","1396882057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2604ab2dce0ff44d09084196624d0231.jpg","text":"TemporaryFile(/tmp/multipartBody3151456286396616910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417603823,"filename":"image_29112025_12_53_05_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42c2ac7ee994ed63ac272dc15319401e.jpg","text":"TemporaryFile(/tmp/multipartBody2125351624140804143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417603823,"filename":"image_29112025_12_52_55_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffe36e92def683fb67e202d4aeaceade.jpg","text":"TemporaryFile(/tmp/multipartBody7971237520502511933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417603823,"filename":"image_29112025_12_52_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e0f0e3f0b58b2a8239aa12b8da651bb.jpg","text":"TemporaryFile(/tmp/multipartBody7652924356144247741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417603823,"filename":"image_29112025_12_52_35_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e32f5ec573b25e75495fa295d51b4628.jpg","text":"TemporaryFile(/tmp/multipartBody5832317441810412659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417603823,"filename":"image_29112025_12_52_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/11/29/f39100d5f9ecc61a3777d620e29285e9.jpg","text":"TemporaryFile(/tmp/multipartBody3519008322225601634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417603823,"filename":"image_29112025_12_52_25_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396881939","file1":"1396881898","file0":"1396881838","file4":"1396882015","file5":"1396882057","file3":"1396881977"},"map_files_photo_id_array":[{"photo_id":"1396882057","filename":"file5"},{"photo_id":"1396881939","filename":"file2"},{"photo_id":"1396882015","filename":"file4"},{"photo_id":"1396881898","filename":"file1"},{"photo_id":"1396881838","filename":"file0"},{"photo_id":"1396881977","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396882057":["hashtag1","hashtag2"]},{"1396882015":["hashtag1","hashtag2"]},{"1396881838":["hashtag1","hashtag2"]},{"1396881939":["hashtag1","hashtag2"]},{"1396881977":["hashtag1","hashtag2"]},{"1396881898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396882057, 1396882015, 1396881838, 1396881939, 1396881977, 1396881898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.47764754295349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:00:02.645283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/53/image_29112025_12_53_15_9797.jpg', '/home/pi/Desktop/images/29112025/12/53/image_29112025_12_53_25_10664.jpg', '/home/pi/Desktop/images/29112025/12/53/image_29112025_12_53_35_9610.jpg', '/home/pi/Desktop/images/29112025/12/53/image_29112025_12_53_45_9772.jpg', '/home/pi/Desktop/images/29112025/12/53/image_29112025_12_53_55_10704.jpg', '/home/pi/Desktop/images/29112025/12/53/image_29112025_12_54_05_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/53/image_29112025_12_53_15_9797.jpg
/home/pi/Desktop/images/29112025/12/53/image_29112025_12_53_25_10664.jpg
/home/pi/Desktop/images/29112025/12/53/image_29112025_12_53_35_9610.jpg
/home/pi/Desktop/images/29112025/12/53/image_29112025_12_53_45_9772.jpg
/home/pi/Desktop/images/29112025/12/53/image_29112025_12_53_55_10704.jpg
/home/pi/Desktop/images/29112025/12/53/image_29112025_12_54_05_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396882485","1396882380","1396882343","1396882454","1396882418","1396882483"],"photo_ids_order":["1396882343","1396882380","1396882418","1396882454","1396882483","1396882485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d718bb0d778241187eb6d050ce07d51c.jpg","text":"TemporaryFile(/tmp/multipartBody658033273942087330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417663359,"filename":"image_29112025_12_54_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/11/29/22607a3188a1c7d52123d7ad33c4222b.jpg","text":"TemporaryFile(/tmp/multipartBody4964579485796542037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417663359,"filename":"image_29112025_12_53_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3723c4282180150f635c121aecd56993.jpg","text":"TemporaryFile(/tmp/multipartBody5273954310574685947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417663359,"filename":"image_29112025_12_53_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/11/29/ed94c0d542a50dfd5cbb8543e4daf7d4.jpg","text":"TemporaryFile(/tmp/multipartBody7786161081021385820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417663359,"filename":"image_29112025_12_53_45_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a97eede16bc8470eddc1c576ce92118.jpg","text":"TemporaryFile(/tmp/multipartBody853560985491031933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417663359,"filename":"image_29112025_12_53_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/11/29/cedffa55a33594f7b8db7746a6f2c895.jpg","text":"TemporaryFile(/tmp/multipartBody501987715831487813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417663359,"filename":"image_29112025_12_53_55_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396882418","file1":"1396882380","file0":"1396882343","file4":"1396882483","file5":"1396882485","file3":"1396882454"},"map_files_photo_id_array":[{"photo_id":"1396882485","filename":"file5"},{"photo_id":"1396882418","filename":"file2"},{"photo_id":"1396882483","filename":"file4"},{"photo_id":"1396882380","filename":"file1"},{"photo_id":"1396882343","filename":"file0"},{"photo_id":"1396882454","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396882485":["hashtag1","hashtag2"]},{"1396882380":["hashtag1","hashtag2"]},{"1396882343":["hashtag1","hashtag2"]},{"1396882454":["hashtag1","hashtag2"]},{"1396882418":["hashtag1","hashtag2"]},{"1396882483":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396882485, 1396882380, 1396882343, 1396882454, 1396882418, 1396882483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75471806526184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:00:42.188040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_30_1718.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_32_1889.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_34_1718.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_38_3695.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_40_2664.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_43_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_30_1718.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_32_1889.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_34_1718.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_38_3695.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_40_2664.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_43_2786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396882507","1396882501","1396882512","1396882499","1396882538","1396882495"],"photo_ids_order":["1396882495","1396882499","1396882501","1396882507","1396882512","1396882538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/990cf80029cce317812da30f87c2b387.jpg","text":"TemporaryFile(/tmp/multipartBody3526965082963297877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417703162,"filename":"image_31102025_09_38_38_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5fc0a029b574a10184d5c2585f73a9e4.jpg","text":"TemporaryFile(/tmp/multipartBody7869397942421973889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417703162,"filename":"image_31102025_09_38_34_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b60420fd729f92165bf87c6ecc652ab1.jpg","text":"TemporaryFile(/tmp/multipartBody7124110429600096644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417703162,"filename":"image_31102025_09_38_40_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fba4d5f1a07ef23a74c7ebde30b25943.jpg","text":"TemporaryFile(/tmp/multipartBody5172000057934595298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417703162,"filename":"image_31102025_09_38_32_1889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9501754ec6acc681a91f27e38e7ce11f.jpg","text":"TemporaryFile(/tmp/multipartBody3361488552811124025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417703162,"filename":"image_31102025_09_38_43_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee7d158380e964101fb01f19bd22d0ab.jpg","text":"TemporaryFile(/tmp/multipartBody9208999717669164144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417703162,"filename":"image_31102025_09_38_30_1718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396882501","file1":"1396882499","file0":"1396882495","file4":"1396882512","file5":"1396882538","file3":"1396882507"},"map_files_photo_id_array":[{"photo_id":"1396882538","filename":"file5"},{"photo_id":"1396882501","filename":"file2"},{"photo_id":"1396882512","filename":"file4"},{"photo_id":"1396882499","filename":"file1"},{"photo_id":"1396882495","filename":"file0"},{"photo_id":"1396882507","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396882507":["hashtag1","hashtag2"]},{"1396882501":["hashtag1","hashtag2"]},{"1396882512":["hashtag1","hashtag2"]},{"1396882499":["hashtag1","hashtag2"]},{"1396882538":["hashtag1","hashtag2"]},{"1396882495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396882507, 1396882501, 1396882512, 1396882499, 1396882538, 1396882495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.488168478012085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:01:22.435992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/54/image_29112025_12_54_15_9806.jpg', '/home/pi/Desktop/images/29112025/12/54/image_29112025_12_54_25_9818.jpg', '/home/pi/Desktop/images/29112025/12/54/image_29112025_12_54_35_10705.jpg', '/home/pi/Desktop/images/29112025/12/54/image_29112025_12_54_45_9607.jpg', '/home/pi/Desktop/images/29112025/12/54/image_29112025_12_54_55_9690.jpg', '/home/pi/Desktop/images/29112025/12/54/image_29112025_12_55_05_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/54/image_29112025_12_54_15_9806.jpg
/home/pi/Desktop/images/29112025/12/54/image_29112025_12_54_25_9818.jpg
/home/pi/Desktop/images/29112025/12/54/image_29112025_12_54_35_10705.jpg
/home/pi/Desktop/images/29112025/12/54/image_29112025_12_54_45_9607.jpg
/home/pi/Desktop/images/29112025/12/54/image_29112025_12_54_55_9690.jpg
/home/pi/Desktop/images/29112025/12/54/image_29112025_12_55_05_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396882717","1396882678","1396882864","1396882792","1396882753","1396882642"],"photo_ids_order":["1396882642","1396882678","1396882717","1396882753","1396882792","1396882864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/206db9d0ab55306b05226c663c763da3.jpg","text":"TemporaryFile(/tmp/multipartBody424101037009046522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417743128,"filename":"image_29112025_12_54_35_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a32f28def5a1bc961fe7b3d73b67bf0.jpg","text":"TemporaryFile(/tmp/multipartBody4668026569690169521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417743128,"filename":"image_29112025_12_54_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/11/29/f62b119f3c2701c655eb481f825c5665.jpg","text":"TemporaryFile(/tmp/multipartBody4048011837130478442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417743128,"filename":"image_29112025_12_55_05_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4e0a4a21c918a9288b045a8afe90cd7.jpg","text":"TemporaryFile(/tmp/multipartBody1089515180196060681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417743128,"filename":"image_29112025_12_54_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/11/29/4e8a3fc71160994d1444245eed8852d3.jpg","text":"TemporaryFile(/tmp/multipartBody330313190962773814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417743128,"filename":"image_29112025_12_54_45_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5c216e6e94f38ebe54ceb5171b96614.jpg","text":"TemporaryFile(/tmp/multipartBody9204815278033874358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417743128,"filename":"image_29112025_12_54_15_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396882717","file1":"1396882678","file0":"1396882642","file4":"1396882792","file5":"1396882864","file3":"1396882753"},"map_files_photo_id_array":[{"photo_id":"1396882864","filename":"file5"},{"photo_id":"1396882717","filename":"file2"},{"photo_id":"1396882792","filename":"file4"},{"photo_id":"1396882678","filename":"file1"},{"photo_id":"1396882642","filename":"file0"},{"photo_id":"1396882753","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396882717":["hashtag1","hashtag2"]},{"1396882678":["hashtag1","hashtag2"]},{"1396882864":["hashtag1","hashtag2"]},{"1396882792":["hashtag1","hashtag2"]},{"1396882753":["hashtag1","hashtag2"]},{"1396882642":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396882717, 1396882678, 1396882864, 1396882792, 1396882753, 1396882642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43796253204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:02:03.010638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/55/image_29112025_12_55_15_9587.jpg', '/home/pi/Desktop/images/29112025/12/55/image_29112025_12_55_25_9750.jpg', '/home/pi/Desktop/images/29112025/12/55/image_29112025_12_55_35_10699.jpg', '/home/pi/Desktop/images/29112025/12/55/image_29112025_12_55_45_9601.jpg', '/home/pi/Desktop/images/29112025/12/55/image_29112025_12_55_55_9863.jpg', '/home/pi/Desktop/images/29112025/12/55/image_29112025_12_56_04_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/55/image_29112025_12_55_15_9587.jpg
/home/pi/Desktop/images/29112025/12/55/image_29112025_12_55_25_9750.jpg
/home/pi/Desktop/images/29112025/12/55/image_29112025_12_55_35_10699.jpg
/home/pi/Desktop/images/29112025/12/55/image_29112025_12_55_45_9601.jpg
/home/pi/Desktop/images/29112025/12/55/image_29112025_12_55_55_9863.jpg
/home/pi/Desktop/images/29112025/12/55/image_29112025_12_56_04_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":["1396883478","1396883052","1396883148","1396883322","1396883246","1396883388"],"photo_ids_order":["1396883052","1396883148","1396883246","1396883322","1396883388","1396883478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e75edf3c3b1e2fbdbcabe02c4a6b601f.jpg","text":"TemporaryFile(/tmp/multipartBody1843744258854212838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417783718,"filename":"image_29112025_12_56_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/11/29/308e9627b7dd86a8ca444fc45ae74b11.jpg","text":"TemporaryFile(/tmp/multipartBody4851890065988037527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417783718,"filename":"image_29112025_12_55_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/11/29/d4f2f73e8b5dded83b1c687ff8ed5856.jpg","text":"TemporaryFile(/tmp/multipartBody464565186639955001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417783718,"filename":"image_29112025_12_55_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/11/29/cd78d0f9ee61add04f721f18d567e217.jpg","text":"TemporaryFile(/tmp/multipartBody8113257097061429183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417783718,"filename":"image_29112025_12_55_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/11/29/337713824f81c9d04c56bb21b3ad0ae0.jpg","text":"TemporaryFile(/tmp/multipartBody8810354054124969186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417783718,"filename":"image_29112025_12_55_35_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de486792bf7e9c77b1bc8937fd7c10d0.jpg","text":"TemporaryFile(/tmp/multipartBody6667006789860757004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417783718,"filename":"image_29112025_12_55_55_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396883246","file1":"1396883148","file0":"1396883052","file4":"1396883388","file5":"1396883478","file3":"1396883322"},"map_files_photo_id_array":[{"photo_id":"1396883478","filename":"file5"},{"photo_id":"1396883246","filename":"file2"},{"photo_id":"1396883388","filename":"file4"},{"photo_id":"1396883148","filename":"file1"},{"photo_id":"1396883052","filename":"file0"},{"photo_id":"1396883322","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396883478":["hashtag1","hashtag2"]},{"1396883052":["hashtag1","hashtag2"]},{"1396883148":["hashtag1","hashtag2"]},{"1396883322":["hashtag1","hashtag2"]},{"1396883246":["hashtag1","hashtag2"]},{"1396883388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396883478, 1396883052, 1396883148, 1396883322, 1396883246, 1396883388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.117867946624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:02:42.489284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_46_2665.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_49_3616.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_52_2596.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_55_2791.jpg', '/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_59_3618.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_01_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/09/38/image_31102025_09_38_46_2665.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_49_3616.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_52_2596.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_55_2791.jpg
/home/pi/Desktop/images/31102025/09/38/image_31102025_09_38_59_3618.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_01_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":["1396884020","1396884166","1396883953","1396884093","1396883878","1396883806"],"photo_ids_order":["1396883806","1396883878","1396883953","1396884020","1396884093","1396884166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec32ebe5419f998eddb2eba4b55ca621.jpg","text":"TemporaryFile(/tmp/multipartBody5188593128164422013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417823609,"filename":"image_31102025_09_38_55_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/912feb5b5b05299dd86e75909d557441.jpg","text":"TemporaryFile(/tmp/multipartBody1930242770045923049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417823609,"filename":"image_31102025_09_39_01_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ea6f79b32692cfa91f754bcf11cfc25.jpg","text":"TemporaryFile(/tmp/multipartBody6986431952651174330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417823609,"filename":"image_31102025_09_38_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/11/29/3aa6e0d7c856be2cee7c430f69b01b5e.jpg","text":"TemporaryFile(/tmp/multipartBody2319520245807793407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417823609,"filename":"image_31102025_09_38_59_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f8c8bb2c7afa03aeead03048d22b7dc.jpg","text":"TemporaryFile(/tmp/multipartBody8361685523396341298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417823609,"filename":"image_31102025_09_38_49_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c24d80ef8991a17cfebfd148adf777f9.jpg","text":"TemporaryFile(/tmp/multipartBody2601946379125708410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417823609,"filename":"image_31102025_09_38_46_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396883953","file1":"1396883878","file0":"1396883806","file4":"1396884093","file5":"1396884166","file3":"1396884020"},"map_files_photo_id_array":[{"photo_id":"1396884166","filename":"file5"},{"photo_id":"1396883953","filename":"file2"},{"photo_id":"1396884093","filename":"file4"},{"photo_id":"1396883878","filename":"file1"},{"photo_id":"1396883806","filename":"file0"},{"photo_id":"1396884020","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396884020":["hashtag1","hashtag2"]},{"1396884166":["hashtag1","hashtag2"]},{"1396883953":["hashtag1","hashtag2"]},{"1396884093":["hashtag1","hashtag2"]},{"1396883878":["hashtag1","hashtag2"]},{"1396883806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396884020, 1396884166, 1396883953, 1396884093, 1396883878, 1396883806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33190560340881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:03:22.775598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/56/image_29112025_12_56_14_9874.jpg', '/home/pi/Desktop/images/29112025/12/56/image_29112025_12_56_25_10917.jpg', '/home/pi/Desktop/images/29112025/12/56/image_29112025_12_56_35_9696.jpg', '/home/pi/Desktop/images/29112025/12/56/image_29112025_12_56_45_9750.jpg', '/home/pi/Desktop/images/29112025/12/56/image_29112025_12_56_55_9841.jpg', '/home/pi/Desktop/images/29112025/12/56/image_29112025_12_57_05_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/56/image_29112025_12_56_14_9874.jpg
/home/pi/Desktop/images/29112025/12/56/image_29112025_12_56_25_10917.jpg
/home/pi/Desktop/images/29112025/12/56/image_29112025_12_56_35_9696.jpg
/home/pi/Desktop/images/29112025/12/56/image_29112025_12_56_45_9750.jpg
/home/pi/Desktop/images/29112025/12/56/image_29112025_12_56_55_9841.jpg
/home/pi/Desktop/images/29112025/12/56/image_29112025_12_57_05_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":["1396884655","1396884508","1396884579","1396884732","1396884435","1396884807"],"photo_ids_order":["1396884435","1396884508","1396884579","1396884655","1396884732","1396884807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c071c092b827889d1ce685493b5dc931.jpg","text":"TemporaryFile(/tmp/multipartBody8546700721527744158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417863476,"filename":"image_29112025_12_56_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/11/29/4d448ac07b312d730c3f2c09c8a0c4ec.jpg","text":"TemporaryFile(/tmp/multipartBody838687627791537338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417863476,"filename":"image_29112025_12_56_25_10917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6eebc6e0e303af5c2c7417ce1ca628c9.jpg","text":"TemporaryFile(/tmp/multipartBody3901581151253505346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417863476,"filename":"image_29112025_12_56_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf7fab5407a83d3e2d33dd1ac2329e20.jpg","text":"TemporaryFile(/tmp/multipartBody4313749156321498024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417863476,"filename":"image_29112025_12_56_55_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a1c42758eb3ff5294f4fd7106497948.jpg","text":"TemporaryFile(/tmp/multipartBody5175327179716313284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417863476,"filename":"image_29112025_12_56_14_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7fe5e4461bd17bff5aa5a554f1342976.jpg","text":"TemporaryFile(/tmp/multipartBody293357301375088139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417863476,"filename":"image_29112025_12_57_05_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396884579","file1":"1396884508","file0":"1396884435","file4":"1396884732","file5":"1396884807","file3":"1396884655"},"map_files_photo_id_array":[{"photo_id":"1396884807","filename":"file5"},{"photo_id":"1396884579","filename":"file2"},{"photo_id":"1396884732","filename":"file4"},{"photo_id":"1396884508","filename":"file1"},{"photo_id":"1396884435","filename":"file0"},{"photo_id":"1396884655","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396884655":["hashtag1","hashtag2"]},{"1396884508":["hashtag1","hashtag2"]},{"1396884579":["hashtag1","hashtag2"]},{"1396884732":["hashtag1","hashtag2"]},{"1396884435":["hashtag1","hashtag2"]},{"1396884807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396884655, 1396884508, 1396884579, 1396884732, 1396884435, 1396884807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7745156288147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:04:02.784302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/57/image_29112025_12_57_15_9567.jpg', '/home/pi/Desktop/images/29112025/12/57/image_29112025_12_57_24_9612.jpg', '/home/pi/Desktop/images/29112025/12/57/image_29112025_12_57_35_10632.jpg', '/home/pi/Desktop/images/29112025/12/57/image_29112025_12_57_45_9805.jpg', '/home/pi/Desktop/images/29112025/12/57/image_29112025_12_57_55_9628.jpg', '/home/pi/Desktop/images/29112025/12/57/image_29112025_12_58_05_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/57/image_29112025_12_57_15_9567.jpg
/home/pi/Desktop/images/29112025/12/57/image_29112025_12_57_24_9612.jpg
/home/pi/Desktop/images/29112025/12/57/image_29112025_12_57_35_10632.jpg
/home/pi/Desktop/images/29112025/12/57/image_29112025_12_57_45_9805.jpg
/home/pi/Desktop/images/29112025/12/57/image_29112025_12_57_55_9628.jpg
/home/pi/Desktop/images/29112025/12/57/image_29112025_12_58_05_10602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396885291","1396885217","1396885294","1396885077","1396885146","1396885280"],"photo_ids_order":["1396885077","1396885146","1396885217","1396885280","1396885291","1396885294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cfa5057da77e11f3d7acecb39154a01.jpg","text":"TemporaryFile(/tmp/multipartBody3722833157142178276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417903544,"filename":"image_29112025_12_57_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/11/29/964c8141655c91b4b7d4c4e79918257a.jpg","text":"TemporaryFile(/tmp/multipartBody4524517748621793005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417903544,"filename":"image_29112025_12_57_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6973fe160f5638e46b61804be453ab8b.jpg","text":"TemporaryFile(/tmp/multipartBody2495503414590885161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417903544,"filename":"image_29112025_12_58_05_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/226dcfdff2b5726a917b44a8ae763e66.jpg","text":"TemporaryFile(/tmp/multipartBody5496680778325158034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417903544,"filename":"image_29112025_12_57_15_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8b171e32bcc667af452147ca811f87e.jpg","text":"TemporaryFile(/tmp/multipartBody5078572822958880835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417903544,"filename":"image_29112025_12_57_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/239eef78d1fa8438bea03047bfe8b792.jpg","text":"TemporaryFile(/tmp/multipartBody5258203223450561316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417903544,"filename":"image_29112025_12_57_45_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396885217","file1":"1396885146","file0":"1396885077","file4":"1396885291","file5":"1396885294","file3":"1396885280"},"map_files_photo_id_array":[{"photo_id":"1396885294","filename":"file5"},{"photo_id":"1396885217","filename":"file2"},{"photo_id":"1396885291","filename":"file4"},{"photo_id":"1396885146","filename":"file1"},{"photo_id":"1396885077","filename":"file0"},{"photo_id":"1396885280","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396885291":["hashtag1","hashtag2"]},{"1396885217":["hashtag1","hashtag2"]},{"1396885294":["hashtag1","hashtag2"]},{"1396885077":["hashtag1","hashtag2"]},{"1396885146":["hashtag1","hashtag2"]},{"1396885280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396885291, 1396885217, 1396885294, 1396885077, 1396885146, 1396885280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8019495010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:04:41.954682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_05_3655.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_07_2536.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_10_2765.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_14_3590.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_19_2538.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_23_3827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_05_3655.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_07_2536.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_10_2765.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_14_3590.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_19_2538.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_23_3827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396885307","1396885310","1396885304","1396885330","1396885309","1396885308"],"photo_ids_order":["1396885304","1396885307","1396885308","1396885309","1396885310","1396885330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ebfba58ffb1cc64ee3bbec946b40ddd6.jpg","text":"TemporaryFile(/tmp/multipartBody4296153041593286192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417943087,"filename":"image_31102025_09_39_07_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/acd127d95962805b41925a138a6302d6.jpg","text":"TemporaryFile(/tmp/multipartBody7504460318048611695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417943087,"filename":"image_31102025_09_39_19_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb43ec00c8f01906e77afab443a0b721.jpg","text":"TemporaryFile(/tmp/multipartBody7457145642193470631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417943087,"filename":"image_31102025_09_39_05_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67790e966e1659e3f4b25ce92ec6d5a7.jpg","text":"TemporaryFile(/tmp/multipartBody7142884112697160617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417943087,"filename":"image_31102025_09_39_23_3827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/045c30e1dcf52796cd5b0584b4bdd194.jpg","text":"TemporaryFile(/tmp/multipartBody2446261176567469499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417943087,"filename":"image_31102025_09_39_14_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d8e18be488abf787780eb21a8f25627.jpg","text":"TemporaryFile(/tmp/multipartBody2005288797146867601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417943087,"filename":"image_31102025_09_39_10_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396885308","file1":"1396885307","file0":"1396885304","file4":"1396885310","file5":"1396885330","file3":"1396885309"},"map_files_photo_id_array":[{"photo_id":"1396885330","filename":"file5"},{"photo_id":"1396885308","filename":"file2"},{"photo_id":"1396885310","filename":"file4"},{"photo_id":"1396885307","filename":"file1"},{"photo_id":"1396885304","filename":"file0"},{"photo_id":"1396885309","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396885307":["hashtag1","hashtag2"]},{"1396885310":["hashtag1","hashtag2"]},{"1396885304":["hashtag1","hashtag2"]},{"1396885330":["hashtag1","hashtag2"]},{"1396885309":["hashtag1","hashtag2"]},{"1396885308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396885307, 1396885310, 1396885304, 1396885330, 1396885309, 1396885308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4696786403656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:05:22.175900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/58/image_29112025_12_58_15_9662.jpg', '/home/pi/Desktop/images/29112025/12/58/image_29112025_12_58_24_9661.jpg', '/home/pi/Desktop/images/29112025/12/58/image_29112025_12_58_35_10614.jpg', '/home/pi/Desktop/images/29112025/12/58/image_29112025_12_58_45_9763.jpg', '/home/pi/Desktop/images/29112025/12/58/image_29112025_12_58_54_9659.jpg', '/home/pi/Desktop/images/29112025/12/58/image_29112025_12_59_05_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/58/image_29112025_12_58_15_9662.jpg
/home/pi/Desktop/images/29112025/12/58/image_29112025_12_58_24_9661.jpg
/home/pi/Desktop/images/29112025/12/58/image_29112025_12_58_35_10614.jpg
/home/pi/Desktop/images/29112025/12/58/image_29112025_12_58_45_9763.jpg
/home/pi/Desktop/images/29112025/12/58/image_29112025_12_58_54_9659.jpg
/home/pi/Desktop/images/29112025/12/58/image_29112025_12_59_05_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396885505","1396885465","1396885573","1396885615","1396885542","1396885652"],"photo_ids_order":["1396885465","1396885505","1396885542","1396885573","1396885615","1396885652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b8368b66fc8765e302c9ef37369e3de.jpg","text":"TemporaryFile(/tmp/multipartBody9124852047490859769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417982874,"filename":"image_29112025_12_58_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbf415c1665f3a493b1df1b228f692d1.jpg","text":"TemporaryFile(/tmp/multipartBody4625507153609804140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417982874,"filename":"image_29112025_12_58_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/11/29/074e06c8900f1c40cd8605ecf8c0240f.jpg","text":"TemporaryFile(/tmp/multipartBody2302048340604720298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417982874,"filename":"image_29112025_12_58_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/11/29/e8e250656be0f32187c42167c2c333e5.jpg","text":"TemporaryFile(/tmp/multipartBody3159084806452610010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417982874,"filename":"image_29112025_12_58_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/11/29/c71cd472c29c91abda91f675c4f1d9a0.jpg","text":"TemporaryFile(/tmp/multipartBody593109332385718332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417982874,"filename":"image_29112025_12_58_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/11/29/1696e5ab3e5a1f87bf1d88025cf70286.jpg","text":"TemporaryFile(/tmp/multipartBody8824931707656168054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764417982874,"filename":"image_29112025_12_59_05_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396885542","file1":"1396885505","file0":"1396885465","file4":"1396885615","file5":"1396885652","file3":"1396885573"},"map_files_photo_id_array":[{"photo_id":"1396885652","filename":"file5"},{"photo_id":"1396885542","filename":"file2"},{"photo_id":"1396885615","filename":"file4"},{"photo_id":"1396885505","filename":"file1"},{"photo_id":"1396885465","filename":"file0"},{"photo_id":"1396885573","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396885505":["hashtag1","hashtag2"]},{"1396885465":["hashtag1","hashtag2"]},{"1396885573":["hashtag1","hashtag2"]},{"1396885615":["hashtag1","hashtag2"]},{"1396885542":["hashtag1","hashtag2"]},{"1396885652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396885505, 1396885465, 1396885573, 1396885615, 1396885542, 1396885652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43328094482422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:06:02.739293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/12/59/image_29112025_12_59_15_9702.jpg', '/home/pi/Desktop/images/29112025/12/59/image_29112025_12_59_25_9805.jpg', '/home/pi/Desktop/images/29112025/12/59/image_29112025_12_59_34_9628.jpg', '/home/pi/Desktop/images/29112025/12/59/image_29112025_12_59_45_10593.jpg', '/home/pi/Desktop/images/29112025/12/59/image_29112025_12_59_55_9868.jpg', '/home/pi/Desktop/images/29112025/13/00/image_29112025_13_00_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/12/59/image_29112025_12_59_15_9702.jpg
/home/pi/Desktop/images/29112025/12/59/image_29112025_12_59_25_9805.jpg
/home/pi/Desktop/images/29112025/12/59/image_29112025_12_59_34_9628.jpg
/home/pi/Desktop/images/29112025/12/59/image_29112025_12_59_45_10593.jpg
/home/pi/Desktop/images/29112025/12/59/image_29112025_12_59_55_9868.jpg
/home/pi/Desktop/images/29112025/13/00/image_29112025_13_00_14_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396886123","1396885949","1396885912","1396885992","1396885875","1396886063"],"photo_ids_order":["1396885875","1396885912","1396885949","1396885992","1396886063","1396886123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82425624d2d581709dff2bae041cba2c.jpg","text":"TemporaryFile(/tmp/multipartBody487771492093890411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418023465,"filename":"image_29112025_13_00_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d88c8766989d19430bb1427ef468a59c.jpg","text":"TemporaryFile(/tmp/multipartBody5253112462944005638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418023465,"filename":"image_29112025_12_59_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/11/29/639a2ac851b8b363d3e20c1dd8ba32b2.jpg","text":"TemporaryFile(/tmp/multipartBody880989047725504648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418023465,"filename":"image_29112025_12_59_25_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34cf6c8fe0cd33e8fad200ea6b526a3e.jpg","text":"TemporaryFile(/tmp/multipartBody5380079887541050333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418023465,"filename":"image_29112025_12_59_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/11/29/459b2f6b9d4edf570f76a06342b2c6da.jpg","text":"TemporaryFile(/tmp/multipartBody6712781661569477912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418023465,"filename":"image_29112025_12_59_15_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc05e208cf2f2f06db197772f8924cbc.jpg","text":"TemporaryFile(/tmp/multipartBody2017162776164059238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418023465,"filename":"image_29112025_12_59_55_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396885949","file1":"1396885912","file0":"1396885875","file4":"1396886063","file5":"1396886123","file3":"1396885992"},"map_files_photo_id_array":[{"photo_id":"1396886123","filename":"file5"},{"photo_id":"1396885949","filename":"file2"},{"photo_id":"1396886063","filename":"file4"},{"photo_id":"1396885912","filename":"file1"},{"photo_id":"1396885875","filename":"file0"},{"photo_id":"1396885992","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396886123":["hashtag1","hashtag2"]},{"1396885949":["hashtag1","hashtag2"]},{"1396885912":["hashtag1","hashtag2"]},{"1396885992":["hashtag1","hashtag2"]},{"1396885875":["hashtag1","hashtag2"]},{"1396886063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396886123, 1396885949, 1396885912, 1396885992, 1396885875, 1396886063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25977826118469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:06:42.361717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_25_2621.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_28_2767.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_31_2750.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_35_3780.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_37_2616.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_40_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/09/39/image_31102025_09_39_25_2621.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_28_2767.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_31_2750.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_35_3780.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_37_2616.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_40_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":["1396886234","1396886263","1396886199","1396886265","1396886186","1396886183"],"photo_ids_order":["1396886183","1396886186","1396886199","1396886234","1396886263","1396886265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/815beb62cc722cc95876a24b55188df2.jpg","text":"TemporaryFile(/tmp/multipartBody3031065023932451422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418063529,"filename":"image_31102025_09_39_35_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e2405b874174ea4faba7481cb7a81a4.jpg","text":"TemporaryFile(/tmp/multipartBody2246864330049469295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418063529,"filename":"image_31102025_09_39_37_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45c8bba1b4cf66b755f1c723f31cc610.jpg","text":"TemporaryFile(/tmp/multipartBody4480463996897569910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418063529,"filename":"image_31102025_09_39_31_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/117f45637b0ca7eb1022ec48b3d87074.jpg","text":"TemporaryFile(/tmp/multipartBody3788201587499496794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418063529,"filename":"image_31102025_09_39_40_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e7a9daf0c1113989db089f12d70931a.jpg","text":"TemporaryFile(/tmp/multipartBody8927823854044175580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418063529,"filename":"image_31102025_09_39_28_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62c35ff5139617460ec7ff4f8c4fd243.jpg","text":"TemporaryFile(/tmp/multipartBody3103869310006485139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418063529,"filename":"image_31102025_09_39_25_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396886199","file1":"1396886186","file0":"1396886183","file4":"1396886263","file5":"1396886265","file3":"1396886234"},"map_files_photo_id_array":[{"photo_id":"1396886265","filename":"file5"},{"photo_id":"1396886199","filename":"file2"},{"photo_id":"1396886263","filename":"file4"},{"photo_id":"1396886186","filename":"file1"},{"photo_id":"1396886183","filename":"file0"},{"photo_id":"1396886234","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396886234":["hashtag1","hashtag2"]},{"1396886263":["hashtag1","hashtag2"]},{"1396886199":["hashtag1","hashtag2"]},{"1396886265":["hashtag1","hashtag2"]},{"1396886186":["hashtag1","hashtag2"]},{"1396886183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396886234, 1396886263, 1396886199, 1396886265, 1396886186, 1396886183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.941195011138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:07:22.542378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/00/image_29112025_13_00_24_10123.jpg', '/home/pi/Desktop/images/29112025/13/00/image_29112025_13_00_35_10703.jpg', '/home/pi/Desktop/images/29112025/13/00/image_29112025_13_00_45_9637.jpg', '/home/pi/Desktop/images/29112025/13/00/image_29112025_13_00_55_9951.jpg', '/home/pi/Desktop/images/29112025/13/00/image_29112025_13_01_04_9678.jpg', '/home/pi/Desktop/images/29112025/13/01/image_29112025_13_01_15_10746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/00/image_29112025_13_00_24_10123.jpg
/home/pi/Desktop/images/29112025/13/00/image_29112025_13_00_35_10703.jpg
/home/pi/Desktop/images/29112025/13/00/image_29112025_13_00_45_9637.jpg
/home/pi/Desktop/images/29112025/13/00/image_29112025_13_00_55_9951.jpg
/home/pi/Desktop/images/29112025/13/00/image_29112025_13_01_04_9678.jpg
/home/pi/Desktop/images/29112025/13/01/image_29112025_13_01_15_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":["1396886365","1396886359","1396886362","1396886337","1396886366","1396886354"],"photo_ids_order":["1396886337","1396886354","1396886359","1396886362","1396886365","1396886366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5faebe0e7a44c7f07f508ecce09caf7b.jpg","text":"TemporaryFile(/tmp/multipartBody196114495204856093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418103236,"filename":"image_29112025_13_01_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/11/29/a1db8e1334b6cdc4c75ee7812e362206.jpg","text":"TemporaryFile(/tmp/multipartBody3041603405970668977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418103236,"filename":"image_29112025_13_00_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/11/29/5d2d82df314cec9aede18eddf71267dd.jpg","text":"TemporaryFile(/tmp/multipartBody3803441891362447422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418103236,"filename":"image_29112025_13_00_55_9951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9dd628aa75059121fb3961ec500b8c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7843973333607462252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418103236,"filename":"image_29112025_13_00_24_10123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53f97a81646bb37346e562bb43f71181.jpg","text":"TemporaryFile(/tmp/multipartBody688222738817054467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418103236,"filename":"image_29112025_13_01_15_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f763ece6017bfbb3bbf71dec28558842.jpg","text":"TemporaryFile(/tmp/multipartBody3090764938956627805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418103236,"filename":"image_29112025_13_00_35_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396886359","file1":"1396886354","file0":"1396886337","file4":"1396886365","file5":"1396886366","file3":"1396886362"},"map_files_photo_id_array":[{"photo_id":"1396886366","filename":"file5"},{"photo_id":"1396886359","filename":"file2"},{"photo_id":"1396886365","filename":"file4"},{"photo_id":"1396886354","filename":"file1"},{"photo_id":"1396886337","filename":"file0"},{"photo_id":"1396886362","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396886365":["hashtag1","hashtag2"]},{"1396886359":["hashtag1","hashtag2"]},{"1396886362":["hashtag1","hashtag2"]},{"1396886337":["hashtag1","hashtag2"]},{"1396886366":["hashtag1","hashtag2"]},{"1396886354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396886365, 1396886359, 1396886362, 1396886337, 1396886366, 1396886354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.023027181625366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:08:03.228835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/01/image_29112025_13_01_25_9731.jpg', '/home/pi/Desktop/images/29112025/13/01/image_29112025_13_01_34_9613.jpg', '/home/pi/Desktop/images/29112025/13/01/image_29112025_13_01_45_10642.jpg', '/home/pi/Desktop/images/29112025/13/01/image_29112025_13_01_55_9609.jpg', '/home/pi/Desktop/images/29112025/13/01/image_29112025_13_02_04_9672.jpg', '/home/pi/Desktop/images/29112025/13/02/image_29112025_13_02_15_10809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/01/image_29112025_13_01_25_9731.jpg
/home/pi/Desktop/images/29112025/13/01/image_29112025_13_01_34_9613.jpg
/home/pi/Desktop/images/29112025/13/01/image_29112025_13_01_45_10642.jpg
/home/pi/Desktop/images/29112025/13/01/image_29112025_13_01_55_9609.jpg
/home/pi/Desktop/images/29112025/13/01/image_29112025_13_02_04_9672.jpg
/home/pi/Desktop/images/29112025/13/02/image_29112025_13_02_15_10809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396886368","1396886373","1396886376","1396886370","1396886367","1396886369"],"photo_ids_order":["1396886367","1396886368","1396886369","1396886370","1396886373","1396886376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce0041502b787c200110097424d8108c.jpg","text":"TemporaryFile(/tmp/multipartBody407401034804804326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418143944,"filename":"image_29112025_13_01_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/11/29/1f1f7225870a08c36f8409ac344a4601.jpg","text":"TemporaryFile(/tmp/multipartBody3553205379350592078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418143944,"filename":"image_29112025_13_02_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/11/29/1b491c03eaa1f2942e4781461cf08725.jpg","text":"TemporaryFile(/tmp/multipartBody1119898940279355171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418143944,"filename":"image_29112025_13_02_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/11/29/4c2841b1cc6bf99cc816639b5a291725.jpg","text":"TemporaryFile(/tmp/multipartBody2468439202753173079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418143944,"filename":"image_29112025_13_01_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7547f792420c117474c22f697272647d.jpg","text":"TemporaryFile(/tmp/multipartBody1648960682389427746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418143944,"filename":"image_29112025_13_01_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/11/29/8c615fd211302a7dade878c5764bc8a1.jpg","text":"TemporaryFile(/tmp/multipartBody8641106608219095933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418143944,"filename":"image_29112025_13_01_45_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396886369","file1":"1396886368","file0":"1396886367","file4":"1396886373","file5":"1396886376","file3":"1396886370"},"map_files_photo_id_array":[{"photo_id":"1396886376","filename":"file5"},{"photo_id":"1396886369","filename":"file2"},{"photo_id":"1396886373","filename":"file4"},{"photo_id":"1396886368","filename":"file1"},{"photo_id":"1396886367","filename":"file0"},{"photo_id":"1396886370","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396886368":["hashtag1","hashtag2"]},{"1396886373":["hashtag1","hashtag2"]},{"1396886376":["hashtag1","hashtag2"]},{"1396886370":["hashtag1","hashtag2"]},{"1396886367":["hashtag1","hashtag2"]},{"1396886369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396886368, 1396886373, 1396886376, 1396886370, 1396886367, 1396886369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09177088737488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:08:42.714377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_43_3607.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_46_2759.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_49_2683.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_53_3720.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_56_2992.jpg', '/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_58_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/09/39/image_31102025_09_39_43_3607.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_46_2759.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_49_2683.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_53_3720.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_56_2992.jpg
/home/pi/Desktop/images/31102025/09/39/image_31102025_09_39_58_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":["1396886398","1396886397","1396886400","1396886399","1396886393","1396886396"],"photo_ids_order":["1396886393","1396886396","1396886397","1396886398","1396886399","1396886400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18064d6a9cd60171a6fd66c2d16861b5.jpg","text":"TemporaryFile(/tmp/multipartBody4765466990367952029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418183843,"filename":"image_31102025_09_39_53_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01df45ada5e62573c19ee136b76cf307.jpg","text":"TemporaryFile(/tmp/multipartBody5769562629597109708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418183843,"filename":"image_31102025_09_39_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/11/29/c71d0f27291a73a3f27d90fb76dc6e5f.jpg","text":"TemporaryFile(/tmp/multipartBody8869935130900114469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418183843,"filename":"image_31102025_09_39_58_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d52929ba2f5bf8af91c6d2fc6cfce445.jpg","text":"TemporaryFile(/tmp/multipartBody8514214718701757218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418183843,"filename":"image_31102025_09_39_56_2992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e34e886a228e93ec7ef5238d1160aed8.jpg","text":"TemporaryFile(/tmp/multipartBody4849756375885440746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418183843,"filename":"image_31102025_09_39_43_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02bbf8f60dbd2de8d666438f7e059e57.jpg","text":"TemporaryFile(/tmp/multipartBody4896409046681813372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418183843,"filename":"image_31102025_09_39_46_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396886397","file1":"1396886396","file0":"1396886393","file4":"1396886399","file5":"1396886400","file3":"1396886398"},"map_files_photo_id_array":[{"photo_id":"1396886400","filename":"file5"},{"photo_id":"1396886397","filename":"file2"},{"photo_id":"1396886399","filename":"file4"},{"photo_id":"1396886396","filename":"file1"},{"photo_id":"1396886393","filename":"file0"},{"photo_id":"1396886398","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396886398":["hashtag1","hashtag2"]},{"1396886397":["hashtag1","hashtag2"]},{"1396886400":["hashtag1","hashtag2"]},{"1396886399":["hashtag1","hashtag2"]},{"1396886393":["hashtag1","hashtag2"]},{"1396886396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396886398, 1396886397, 1396886400, 1396886399, 1396886393, 1396886396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08790874481201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:09:21.878815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/02/image_29112025_13_02_25_9597.jpg', '/home/pi/Desktop/images/29112025/13/02/image_29112025_13_02_34_9615.jpg', '/home/pi/Desktop/images/29112025/13/02/image_29112025_13_02_45_10526.jpg', '/home/pi/Desktop/images/29112025/13/02/image_29112025_13_02_55_9821.jpg', '/home/pi/Desktop/images/29112025/13/02/image_29112025_13_03_04_9636.jpg', '/home/pi/Desktop/images/29112025/13/03/image_29112025_13_03_15_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/02/image_29112025_13_02_25_9597.jpg
/home/pi/Desktop/images/29112025/13/02/image_29112025_13_02_34_9615.jpg
/home/pi/Desktop/images/29112025/13/02/image_29112025_13_02_45_10526.jpg
/home/pi/Desktop/images/29112025/13/02/image_29112025_13_02_55_9821.jpg
/home/pi/Desktop/images/29112025/13/02/image_29112025_13_03_04_9636.jpg
/home/pi/Desktop/images/29112025/13/03/image_29112025_13_03_15_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396886411","1396886405","1396886408","1396886419","1396886415","1396886403"],"photo_ids_order":["1396886403","1396886405","1396886408","1396886411","1396886415","1396886419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a24d14b3c921f21d5c4c643da661a304.jpg","text":"TemporaryFile(/tmp/multipartBody2550768073681282707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418222567,"filename":"image_29112025_13_02_55_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/113a180ec941386bc9957721577d314d.jpg","text":"TemporaryFile(/tmp/multipartBody3745568798364126611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418222567,"filename":"image_29112025_13_02_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/11/29/c4479a1f080ac431fba58e7902aea4a9.jpg","text":"TemporaryFile(/tmp/multipartBody3123120194022357250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418222567,"filename":"image_29112025_13_02_45_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d475e28f997983a96375687a6cf6663.jpg","text":"TemporaryFile(/tmp/multipartBody8059324104507249154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418222567,"filename":"image_29112025_13_03_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d95027f45086072e7050bae07b91bfc.jpg","text":"TemporaryFile(/tmp/multipartBody5228172064417605962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418222567,"filename":"image_29112025_13_03_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ca09c85de5ea933b0f71e07a6a7c978.jpg","text":"TemporaryFile(/tmp/multipartBody8269682418302137083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418222567,"filename":"image_29112025_13_02_25_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396886408","file1":"1396886405","file0":"1396886403","file4":"1396886415","file5":"1396886419","file3":"1396886411"},"map_files_photo_id_array":[{"photo_id":"1396886419","filename":"file5"},{"photo_id":"1396886408","filename":"file2"},{"photo_id":"1396886415","filename":"file4"},{"photo_id":"1396886405","filename":"file1"},{"photo_id":"1396886403","filename":"file0"},{"photo_id":"1396886411","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396886411":["hashtag1","hashtag2"]},{"1396886405":["hashtag1","hashtag2"]},{"1396886408":["hashtag1","hashtag2"]},{"1396886419":["hashtag1","hashtag2"]},{"1396886415":["hashtag1","hashtag2"]},{"1396886403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396886411, 1396886405, 1396886408, 1396886419, 1396886415, 1396886403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25711750984192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:10:02.501065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/03/image_29112025_13_03_25_9627.jpg', '/home/pi/Desktop/images/29112025/13/03/image_29112025_13_03_34_9597.jpg', '/home/pi/Desktop/images/29112025/13/03/image_29112025_13_03_45_10643.jpg', '/home/pi/Desktop/images/29112025/13/03/image_29112025_13_03_55_9708.jpg', '/home/pi/Desktop/images/29112025/13/03/image_29112025_13_04_04_9828.jpg', '/home/pi/Desktop/images/29112025/13/04/image_29112025_13_04_15_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/03/image_29112025_13_03_25_9627.jpg
/home/pi/Desktop/images/29112025/13/03/image_29112025_13_03_34_9597.jpg
/home/pi/Desktop/images/29112025/13/03/image_29112025_13_03_45_10643.jpg
/home/pi/Desktop/images/29112025/13/03/image_29112025_13_03_55_9708.jpg
/home/pi/Desktop/images/29112025/13/03/image_29112025_13_04_04_9828.jpg
/home/pi/Desktop/images/29112025/13/04/image_29112025_13_04_15_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396886440","1396886442","1396886436","1396886445","1396886439","1396886438"],"photo_ids_order":["1396886436","1396886438","1396886439","1396886440","1396886442","1396886445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/915fadcb36d4d55f7777a774d71219f7.jpg","text":"TemporaryFile(/tmp/multipartBody9022148470354040821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418263205,"filename":"image_29112025_13_03_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8dcd79eeb90acf0660473838d48ebaf4.jpg","text":"TemporaryFile(/tmp/multipartBody8968342863885091908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418263205,"filename":"image_29112025_13_04_04_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfd26f8a90945536e75fe45704d78d8d.jpg","text":"TemporaryFile(/tmp/multipartBody1456596445257586303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418263205,"filename":"image_29112025_13_03_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54e7ff4ee5ed1877a6b8e1ddf7740c2f.jpg","text":"TemporaryFile(/tmp/multipartBody7812182175868892933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418263205,"filename":"image_29112025_13_04_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5c2fc40c25e1661bcc780bb301dd455.jpg","text":"TemporaryFile(/tmp/multipartBody1091365057656431170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418263205,"filename":"image_29112025_13_03_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/11/29/1ad34e10621fa94876738d2078f45f1b.jpg","text":"TemporaryFile(/tmp/multipartBody1206954801441920863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418263205,"filename":"image_29112025_13_03_34_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396886439","file1":"1396886438","file0":"1396886436","file4":"1396886442","file5":"1396886445","file3":"1396886440"},"map_files_photo_id_array":[{"photo_id":"1396886445","filename":"file5"},{"photo_id":"1396886439","filename":"file2"},{"photo_id":"1396886442","filename":"file4"},{"photo_id":"1396886438","filename":"file1"},{"photo_id":"1396886436","filename":"file0"},{"photo_id":"1396886440","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396886440":["hashtag1","hashtag2"]},{"1396886442":["hashtag1","hashtag2"]},{"1396886436":["hashtag1","hashtag2"]},{"1396886445":["hashtag1","hashtag2"]},{"1396886439":["hashtag1","hashtag2"]},{"1396886438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396886440, 1396886442, 1396886436, 1396886445, 1396886439, 1396886438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19923496246338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:10:42.031762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_01_2676.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_05_3752.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_07_2767.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_10_2651.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_13_2754.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_16_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_01_2676.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_05_3752.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_07_2767.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_10_2651.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_13_2754.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_16_3618.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0310111045837402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:11:02.984542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/04/image_29112025_13_04_25_9736.jpg', '/home/pi/Desktop/images/29112025/13/04/image_29112025_13_04_35_10105.jpg', '/home/pi/Desktop/images/29112025/13/04/image_29112025_13_05_05_10636.jpg', '/home/pi/Desktop/images/29112025/13/05/image_29112025_13_05_15_9661.jpg', '/home/pi/Desktop/images/29112025/13/05/image_29112025_13_05_24_9707.jpg', '/home/pi/Desktop/images/29112025/13/05/image_29112025_13_05_45_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/04/image_29112025_13_04_25_9736.jpg
/home/pi/Desktop/images/29112025/13/04/image_29112025_13_04_35_10105.jpg
/home/pi/Desktop/images/29112025/13/04/image_29112025_13_05_05_10636.jpg
/home/pi/Desktop/images/29112025/13/05/image_29112025_13_05_15_9661.jpg
/home/pi/Desktop/images/29112025/13/05/image_29112025_13_05_24_9707.jpg
/home/pi/Desktop/images/29112025/13/05/image_29112025_13_05_45_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396886464","1396886490","1396886466","1396886492","1396886465","1396886495"],"photo_ids_order":["1396886464","1396886465","1396886466","1396886490","1396886492","1396886495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5e7151789628f4a344e7950a5641b10.jpg","text":"TemporaryFile(/tmp/multipartBody6084347365725604242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418323761,"filename":"image_29112025_13_04_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/11/29/0dfcc21ab3c8939a93ad5f6cebdeb140.jpg","text":"TemporaryFile(/tmp/multipartBody572772074924829697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418323761,"filename":"image_29112025_13_05_15_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a7c2970a05d2d1fd45b91bd9d00e944.jpg","text":"TemporaryFile(/tmp/multipartBody7961695191901244883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418323761,"filename":"image_29112025_13_05_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10a62c28ae73db671bc5f7374705f5cb.jpg","text":"TemporaryFile(/tmp/multipartBody752461289826301146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418323761,"filename":"image_29112025_13_05_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/859b873d7af5eb0f1fa9b225c10b5261.jpg","text":"TemporaryFile(/tmp/multipartBody7092559665731273837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418323761,"filename":"image_29112025_13_04_35_10105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65e2db95e4b922726bf77021aa467d65.jpg","text":"TemporaryFile(/tmp/multipartBody5533806759540932996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418323761,"filename":"image_29112025_13_05_45_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396886466","file1":"1396886465","file0":"1396886464","file4":"1396886492","file5":"1396886495","file3":"1396886490"},"map_files_photo_id_array":[{"photo_id":"1396886495","filename":"file5"},{"photo_id":"1396886466","filename":"file2"},{"photo_id":"1396886492","filename":"file4"},{"photo_id":"1396886465","filename":"file1"},{"photo_id":"1396886464","filename":"file0"},{"photo_id":"1396886490","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396886464":["hashtag1","hashtag2"]},{"1396886490":["hashtag1","hashtag2"]},{"1396886466":["hashtag1","hashtag2"]},{"1396886492":["hashtag1","hashtag2"]},{"1396886465":["hashtag1","hashtag2"]},{"1396886495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396886464, 1396886490, 1396886466, 1396886492, 1396886465, 1396886495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41135025024414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:11:42.237202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_01_2676.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_05_3752.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_07_2767.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_10_2651.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_13_2754.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_16_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_01_2676.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_05_3752.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_07_2767.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_10_2651.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_13_2754.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_16_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396886983","1396886695","1396886905","1396886635","1396886763","1396886831"],"photo_ids_order":["1396886635","1396886695","1396886763","1396886831","1396886905","1396886983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8200d8a5bf669991e3a12d2e47673ada.jpg","text":"TemporaryFile(/tmp/multipartBody471411288996769073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418363219,"filename":"image_31102025_09_40_16_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/451105b07ed32531096b90c07041bd04.jpg","text":"TemporaryFile(/tmp/multipartBody4779108197206039329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418363219,"filename":"image_31102025_09_40_05_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a746ac77a1e31db10d71d1534ae8b440.jpg","text":"TemporaryFile(/tmp/multipartBody8345340946437579187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418363219,"filename":"image_31102025_09_40_13_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/337fc60cabdc072837e9fccd68028892.jpg","text":"TemporaryFile(/tmp/multipartBody5397159236805355649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418363219,"filename":"image_31102025_09_40_01_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e74b9af137896ed85826cd0f74a3e216.jpg","text":"TemporaryFile(/tmp/multipartBody891411915379328082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418363219,"filename":"image_31102025_09_40_07_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60786429d6797cb646d205f5f1cf550d.jpg","text":"TemporaryFile(/tmp/multipartBody5485434793723881694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418363219,"filename":"image_31102025_09_40_10_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396886763","file1":"1396886695","file0":"1396886635","file4":"1396886905","file5":"1396886983","file3":"1396886831"},"map_files_photo_id_array":[{"photo_id":"1396886983","filename":"file5"},{"photo_id":"1396886763","filename":"file2"},{"photo_id":"1396886905","filename":"file4"},{"photo_id":"1396886695","filename":"file1"},{"photo_id":"1396886635","filename":"file0"},{"photo_id":"1396886831","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396886983":["hashtag1","hashtag2"]},{"1396886695":["hashtag1","hashtag2"]},{"1396886905":["hashtag1","hashtag2"]},{"1396886635":["hashtag1","hashtag2"]},{"1396886763":["hashtag1","hashtag2"]},{"1396886831":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396886983, 1396886695, 1396886905, 1396886635, 1396886763, 1396886831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91506576538086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:12:22.479712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/05/image_29112025_13_05_54_9904.jpg', '/home/pi/Desktop/images/29112025/13/05/image_29112025_13_06_05_10538.jpg', '/home/pi/Desktop/images/29112025/13/06/image_29112025_13_06_15_9692.jpg', '/home/pi/Desktop/images/29112025/13/06/image_29112025_13_06_24_9663.jpg', '/home/pi/Desktop/images/29112025/13/06/image_29112025_13_06_34_9812.jpg', '/home/pi/Desktop/images/29112025/13/06/image_29112025_13_06_55_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/05/image_29112025_13_05_54_9904.jpg
/home/pi/Desktop/images/29112025/13/05/image_29112025_13_06_05_10538.jpg
/home/pi/Desktop/images/29112025/13/06/image_29112025_13_06_15_9692.jpg
/home/pi/Desktop/images/29112025/13/06/image_29112025_13_06_24_9663.jpg
/home/pi/Desktop/images/29112025/13/06/image_29112025_13_06_34_9812.jpg
/home/pi/Desktop/images/29112025/13/06/image_29112025_13_06_55_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396887291","1396887217","1396887369","1396887255","1396887330","1396887407"],"photo_ids_order":["1396887217","1396887255","1396887291","1396887330","1396887369","1396887407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc86d16edb9124850f4c5af324846cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2053924927000425581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418403193,"filename":"image_29112025_13_06_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab8ca31e835bbed3987f97aab92fe4af.jpg","text":"TemporaryFile(/tmp/multipartBody1469561648620567875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418403193,"filename":"image_29112025_13_05_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/11/29/0d4bfc5e71e95f1f04791ee7f225f973.jpg","text":"TemporaryFile(/tmp/multipartBody5768630159156391181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418403193,"filename":"image_29112025_13_06_34_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd08317c034aabbc065a887f26126fbb.jpg","text":"TemporaryFile(/tmp/multipartBody5446420088957468446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418403193,"filename":"image_29112025_13_06_05_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee7491af8fcb307c5987b4472daed28a.jpg","text":"TemporaryFile(/tmp/multipartBody7417541358752858677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418403193,"filename":"image_29112025_13_06_24_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28d65c7a8c205d77ea267c6b154c6891.jpg","text":"TemporaryFile(/tmp/multipartBody9220243160093081980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418403193,"filename":"image_29112025_13_06_55_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396887291","file1":"1396887255","file0":"1396887217","file4":"1396887369","file5":"1396887407","file3":"1396887330"},"map_files_photo_id_array":[{"photo_id":"1396887407","filename":"file5"},{"photo_id":"1396887291","filename":"file2"},{"photo_id":"1396887369","filename":"file4"},{"photo_id":"1396887255","filename":"file1"},{"photo_id":"1396887217","filename":"file0"},{"photo_id":"1396887330","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396887291":["hashtag1","hashtag2"]},{"1396887217":["hashtag1","hashtag2"]},{"1396887369":["hashtag1","hashtag2"]},{"1396887255":["hashtag1","hashtag2"]},{"1396887330":["hashtag1","hashtag2"]},{"1396887407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396887291, 1396887217, 1396887369, 1396887255, 1396887330, 1396887407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32529854774475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:13:03.181185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/06/image_29112025_13_07_04_9670.jpg', '/home/pi/Desktop/images/29112025/13/07/image_29112025_13_07_15_10590.jpg', '/home/pi/Desktop/images/29112025/13/07/image_29112025_13_07_25_9683.jpg', '/home/pi/Desktop/images/29112025/13/07/image_29112025_13_07_34_9581.jpg', '/home/pi/Desktop/images/29112025/13/07/image_29112025_13_07_45_10834.jpg', '/home/pi/Desktop/images/29112025/13/07/image_29112025_13_08_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/06/image_29112025_13_07_04_9670.jpg
/home/pi/Desktop/images/29112025/13/07/image_29112025_13_07_15_10590.jpg
/home/pi/Desktop/images/29112025/13/07/image_29112025_13_07_25_9683.jpg
/home/pi/Desktop/images/29112025/13/07/image_29112025_13_07_34_9581.jpg
/home/pi/Desktop/images/29112025/13/07/image_29112025_13_07_45_10834.jpg
/home/pi/Desktop/images/29112025/13/07/image_29112025_13_08_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":["1396887754","1396887693","1396887864","1396887621","1396887791","1396887827"],"photo_ids_order":["1396887621","1396887693","1396887754","1396887791","1396887827","1396887864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe5c69aa08177188c0a4ee476c979e4e.jpg","text":"TemporaryFile(/tmp/multipartBody4450745064906932353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418443960,"filename":"image_29112025_13_07_25_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf3b04fa395171e123ece380b4586adf.jpg","text":"TemporaryFile(/tmp/multipartBody7495598597824624307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418443960,"filename":"image_29112025_13_07_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/11/29/f6faf17a444e5e931af33c3308891ae1.jpg","text":"TemporaryFile(/tmp/multipartBody9106153447723225671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418443960,"filename":"image_29112025_13_08_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/11/29/8881e978f105dadf269c2e4a735635c1.jpg","text":"TemporaryFile(/tmp/multipartBody5713971891239731936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418443960,"filename":"image_29112025_13_07_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/11/29/4729dba613c56c022d1e0c32df4f2143.jpg","text":"TemporaryFile(/tmp/multipartBody7709505906358331725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418443960,"filename":"image_29112025_13_07_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/11/29/7192bf702b0e45f65fb1a34d518db3ef.jpg","text":"TemporaryFile(/tmp/multipartBody1374272604988651651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418443960,"filename":"image_29112025_13_07_45_10834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396887754","file1":"1396887693","file0":"1396887621","file4":"1396887827","file5":"1396887864","file3":"1396887791"},"map_files_photo_id_array":[{"photo_id":"1396887864","filename":"file5"},{"photo_id":"1396887754","filename":"file2"},{"photo_id":"1396887827","filename":"file4"},{"photo_id":"1396887693","filename":"file1"},{"photo_id":"1396887621","filename":"file0"},{"photo_id":"1396887791","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396887754":["hashtag1","hashtag2"]},{"1396887693":["hashtag1","hashtag2"]},{"1396887864":["hashtag1","hashtag2"]},{"1396887621":["hashtag1","hashtag2"]},{"1396887791":["hashtag1","hashtag2"]},{"1396887827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396887754, 1396887693, 1396887864, 1396887621, 1396887791, 1396887827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40242838859558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:13:42.532907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_19_2805.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_22_2556.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_26_3645.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_30_4035.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_48_18001.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_56_8825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_19_2805.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_22_2556.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_26_3645.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_30_4035.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_48_18001.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_56_8825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396888129","1396888089","1396888053","1396888211","1396888016","1396888165"],"photo_ids_order":["1396888016","1396888053","1396888089","1396888129","1396888165","1396888211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edb647e466894306dc46e0307cabdb96.jpg","text":"TemporaryFile(/tmp/multipartBody3958421181473260897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418483661,"filename":"image_31102025_09_40_30_4035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c52314c78077526d6362761a30de055b.jpg","text":"TemporaryFile(/tmp/multipartBody8245963265879376164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418483661,"filename":"image_31102025_09_40_26_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8f5b6a3a8039cfed2423f42148d6131.jpg","text":"TemporaryFile(/tmp/multipartBody6277249498067449938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418483661,"filename":"image_31102025_09_40_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/11/29/68e2768df17aa3f3c388b98c16fbd95e.jpg","text":"TemporaryFile(/tmp/multipartBody1178774404575468192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418483661,"filename":"image_31102025_09_40_56_8825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/435b3eb0f7cdc99907a08bad5cdea2e2.jpg","text":"TemporaryFile(/tmp/multipartBody5070906613413500654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418483661,"filename":"image_31102025_09_40_19_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6498d0864be9b0c336ffbf6efc67022.jpg","text":"TemporaryFile(/tmp/multipartBody2045420031890281661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418483661,"filename":"image_31102025_09_40_48_18001.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396888089","file1":"1396888053","file0":"1396888016","file4":"1396888165","file5":"1396888211","file3":"1396888129"},"map_files_photo_id_array":[{"photo_id":"1396888211","filename":"file5"},{"photo_id":"1396888089","filename":"file2"},{"photo_id":"1396888165","filename":"file4"},{"photo_id":"1396888053","filename":"file1"},{"photo_id":"1396888016","filename":"file0"},{"photo_id":"1396888129","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396888129":["hashtag1","hashtag2"]},{"1396888089":["hashtag1","hashtag2"]},{"1396888053":["hashtag1","hashtag2"]},{"1396888211":["hashtag1","hashtag2"]},{"1396888016":["hashtag1","hashtag2"]},{"1396888165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396888129, 1396888089, 1396888053, 1396888211, 1396888016, 1396888165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.378466844558716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:14:22.713376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/08/image_29112025_13_08_15_10036.jpg', '/home/pi/Desktop/images/29112025/13/08/image_29112025_13_08_25_10635.jpg', '/home/pi/Desktop/images/29112025/13/08/image_29112025_13_09_05_10670.jpg', '/home/pi/Desktop/images/29112025/13/09/image_29112025_13_09_15_9570.jpg', '/home/pi/Desktop/images/29112025/13/09/image_29112025_13_09_24_9726.jpg', '/home/pi/Desktop/images/29112025/13/09/image_29112025_13_09_35_10791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/08/image_29112025_13_08_15_10036.jpg
/home/pi/Desktop/images/29112025/13/08/image_29112025_13_08_25_10635.jpg
/home/pi/Desktop/images/29112025/13/08/image_29112025_13_09_05_10670.jpg
/home/pi/Desktop/images/29112025/13/09/image_29112025_13_09_15_9570.jpg
/home/pi/Desktop/images/29112025/13/09/image_29112025_13_09_24_9726.jpg
/home/pi/Desktop/images/29112025/13/09/image_29112025_13_09_35_10791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396888250","1396888244","1396888238","1396888232","1396888241","1396888235"],"photo_ids_order":["1396888232","1396888235","1396888238","1396888241","1396888244","1396888250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37f78d5ea2b3e6cec6159d78c400b4d4.jpg","text":"TemporaryFile(/tmp/multipartBody3807433801024677170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418523429,"filename":"image_29112025_13_09_35_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/278adb1d2458f0681db6af4b6a83b106.jpg","text":"TemporaryFile(/tmp/multipartBody2455546693190818833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418523429,"filename":"image_29112025_13_09_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/11/29/d3a9aa27ce68c9594760e2fe1da9ba13.jpg","text":"TemporaryFile(/tmp/multipartBody1755651227765373480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418523429,"filename":"image_29112025_13_09_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd41f89d3bffd56ab77890f09dbc0d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4884047132862173012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418523429,"filename":"image_29112025_13_08_15_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d18286b9dadca4bf1cf5ffe4ddaab2f.jpg","text":"TemporaryFile(/tmp/multipartBody5002401944835667919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418523429,"filename":"image_29112025_13_09_15_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90eb4bfb285c6eeb035635880ddc08e4.jpg","text":"TemporaryFile(/tmp/multipartBody5415257214508628271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418523429,"filename":"image_29112025_13_08_25_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396888238","file1":"1396888235","file0":"1396888232","file4":"1396888244","file5":"1396888250","file3":"1396888241"},"map_files_photo_id_array":[{"photo_id":"1396888250","filename":"file5"},{"photo_id":"1396888238","filename":"file2"},{"photo_id":"1396888244","filename":"file4"},{"photo_id":"1396888235","filename":"file1"},{"photo_id":"1396888232","filename":"file0"},{"photo_id":"1396888241","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396888250":["hashtag1","hashtag2"]},{"1396888244":["hashtag1","hashtag2"]},{"1396888238":["hashtag1","hashtag2"]},{"1396888232":["hashtag1","hashtag2"]},{"1396888241":["hashtag1","hashtag2"]},{"1396888235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396888250, 1396888244, 1396888238, 1396888232, 1396888241, 1396888235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73265075683594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:15:02.631808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/09/image_29112025_13_09_45_9519.jpg', '/home/pi/Desktop/images/29112025/13/09/image_29112025_13_09_55_10527.jpg', '/home/pi/Desktop/images/29112025/13/09/image_29112025_13_10_05_9931.jpg', '/home/pi/Desktop/images/29112025/13/10/image_29112025_13_10_15_9717.jpg', '/home/pi/Desktop/images/29112025/13/10/image_29112025_13_10_24_9678.jpg', '/home/pi/Desktop/images/29112025/13/10/image_29112025_13_10_35_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/09/image_29112025_13_09_45_9519.jpg
/home/pi/Desktop/images/29112025/13/09/image_29112025_13_09_55_10527.jpg
/home/pi/Desktop/images/29112025/13/09/image_29112025_13_10_05_9931.jpg
/home/pi/Desktop/images/29112025/13/10/image_29112025_13_10_15_9717.jpg
/home/pi/Desktop/images/29112025/13/10/image_29112025_13_10_24_9678.jpg
/home/pi/Desktop/images/29112025/13/10/image_29112025_13_10_35_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":["1396888257","1396888262","1396888259","1396888288","1396888267","1396888258"],"photo_ids_order":["1396888257","1396888258","1396888259","1396888262","1396888267","1396888288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae4130b81ebc390ca42df0ff1b141957.jpg","text":"TemporaryFile(/tmp/multipartBody387540120359076106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418563383,"filename":"image_29112025_13_09_45_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/687ef49076568a552c143ebecf3cae9d.jpg","text":"TemporaryFile(/tmp/multipartBody9140152918462027842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418563383,"filename":"image_29112025_13_10_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/11/29/409c8df9d1c821a34ba0d67417af6e1b.jpg","text":"TemporaryFile(/tmp/multipartBody8354444919127349483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418563383,"filename":"image_29112025_13_10_05_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18ba0710e2992c7601300643daaa16d9.jpg","text":"TemporaryFile(/tmp/multipartBody3545643917453638870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418563383,"filename":"image_29112025_13_10_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/11/29/10c9f16aa704cbaaeed2b9ff48a9771b.jpg","text":"TemporaryFile(/tmp/multipartBody6788956040041558924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418563383,"filename":"image_29112025_13_10_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/11/29/bc73e4447585e661bd888d89bee3fc0e.jpg","text":"TemporaryFile(/tmp/multipartBody103408307090252878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418563383,"filename":"image_29112025_13_09_55_10527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396888259","file1":"1396888258","file0":"1396888257","file4":"1396888267","file5":"1396888288","file3":"1396888262"},"map_files_photo_id_array":[{"photo_id":"1396888288","filename":"file5"},{"photo_id":"1396888259","filename":"file2"},{"photo_id":"1396888267","filename":"file4"},{"photo_id":"1396888258","filename":"file1"},{"photo_id":"1396888257","filename":"file0"},{"photo_id":"1396888262","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396888257":["hashtag1","hashtag2"]},{"1396888262":["hashtag1","hashtag2"]},{"1396888259":["hashtag1","hashtag2"]},{"1396888288":["hashtag1","hashtag2"]},{"1396888267":["hashtag1","hashtag2"]},{"1396888258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396888257, 1396888262, 1396888259, 1396888288, 1396888267, 1396888258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23807454109192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:15:41.956599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_58_1775.jpg', '/home/pi/Desktop/images/31102025/09/40/image_31102025_09_41_00_1768.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_02_1602.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_03_1553.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_08_5215.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_10_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_40_58_1775.jpg
/home/pi/Desktop/images/31102025/09/40/image_31102025_09_41_00_1768.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_02_1602.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_03_1553.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_08_5215.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_10_1697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396888504","1396888426","1396888584","1396888548","1396888462","1396888621"],"photo_ids_order":["1396888426","1396888462","1396888504","1396888548","1396888584","1396888621"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db0c10b75e420734b42986d88e8b77e4.jpg","text":"TemporaryFile(/tmp/multipartBody4801955336935902661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418603134,"filename":"image_31102025_09_41_02_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e88d0d7e8488acc729d1dfafb59bc9e.jpg","text":"TemporaryFile(/tmp/multipartBody1247113108833025205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418603134,"filename":"image_31102025_09_40_58_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be92d63a3b8cfb33d0e661343b8e291d.jpg","text":"TemporaryFile(/tmp/multipartBody7522216298745512648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418603134,"filename":"image_31102025_09_41_08_5215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50fc77f28c808eae33ac6dc84c3810cf.jpg","text":"TemporaryFile(/tmp/multipartBody8653565615517352633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418603134,"filename":"image_31102025_09_41_03_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aece0be49dbb39b08ef62c2cde4807c1.jpg","text":"TemporaryFile(/tmp/multipartBody2950915585418363857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418603134,"filename":"image_31102025_09_41_00_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e43a0438443ade472d06a438aa8fafe.jpg","text":"TemporaryFile(/tmp/multipartBody1713391149259442999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418603134,"filename":"image_31102025_09_41_10_1697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396888504","file1":"1396888462","file0":"1396888426","file4":"1396888584","file5":"1396888621","file3":"1396888548"},"map_files_photo_id_array":[{"photo_id":"1396888621","filename":"file5"},{"photo_id":"1396888504","filename":"file2"},{"photo_id":"1396888584","filename":"file4"},{"photo_id":"1396888462","filename":"file1"},{"photo_id":"1396888426","filename":"file0"},{"photo_id":"1396888548","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396888504":["hashtag1","hashtag2"]},{"1396888426":["hashtag1","hashtag2"]},{"1396888584":["hashtag1","hashtag2"]},{"1396888548":["hashtag1","hashtag2"]},{"1396888462":["hashtag1","hashtag2"]},{"1396888621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396888504, 1396888426, 1396888584, 1396888548, 1396888462, 1396888621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94072866439819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:16:22.151412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/10/image_29112025_13_10_45_9556.jpg', '/home/pi/Desktop/images/29112025/13/10/image_29112025_13_10_55_9932.jpg', '/home/pi/Desktop/images/29112025/13/10/image_29112025_13_11_04_9705.jpg', '/home/pi/Desktop/images/29112025/13/11/image_29112025_13_11_15_10759.jpg', '/home/pi/Desktop/images/29112025/13/11/image_29112025_13_11_25_9923.jpg', '/home/pi/Desktop/images/29112025/13/11/image_29112025_13_11_35_9527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/10/image_29112025_13_10_45_9556.jpg
/home/pi/Desktop/images/29112025/13/10/image_29112025_13_10_55_9932.jpg
/home/pi/Desktop/images/29112025/13/10/image_29112025_13_11_04_9705.jpg
/home/pi/Desktop/images/29112025/13/11/image_29112025_13_11_15_10759.jpg
/home/pi/Desktop/images/29112025/13/11/image_29112025_13_11_25_9923.jpg
/home/pi/Desktop/images/29112025/13/11/image_29112025_13_11_35_9527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396888829","1396888789","1396888744","1396888738","1396888747","1396888741"],"photo_ids_order":["1396888738","1396888741","1396888744","1396888747","1396888789","1396888829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0e42dcbcde9c3cdeb11277a5918e7de.jpg","text":"TemporaryFile(/tmp/multipartBody3470905285766789809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418642841,"filename":"image_29112025_13_11_35_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bf051d029dc394ceb99af62178e6d89.jpg","text":"TemporaryFile(/tmp/multipartBody1737806567501080240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418642841,"filename":"image_29112025_13_11_25_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ff4e6173ab376060158dcb23296c5cf.jpg","text":"TemporaryFile(/tmp/multipartBody4833483026807041300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418642841,"filename":"image_29112025_13_11_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/11/29/c5235ee6497872f0a5c578e5ce94718d.jpg","text":"TemporaryFile(/tmp/multipartBody5980549524573054604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418642841,"filename":"image_29112025_13_10_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/11/29/df641f439ec73f6ad5d2af17a8b22840.jpg","text":"TemporaryFile(/tmp/multipartBody485848515763425358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418642841,"filename":"image_29112025_13_11_15_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c149ae041355c0f8ee7bddfb194918c3.jpg","text":"TemporaryFile(/tmp/multipartBody956062872770066959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418642841,"filename":"image_29112025_13_10_55_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396888744","file1":"1396888741","file0":"1396888738","file4":"1396888789","file5":"1396888829","file3":"1396888747"},"map_files_photo_id_array":[{"photo_id":"1396888829","filename":"file5"},{"photo_id":"1396888744","filename":"file2"},{"photo_id":"1396888789","filename":"file4"},{"photo_id":"1396888741","filename":"file1"},{"photo_id":"1396888738","filename":"file0"},{"photo_id":"1396888747","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396888829":["hashtag1","hashtag2"]},{"1396888789":["hashtag1","hashtag2"]},{"1396888744":["hashtag1","hashtag2"]},{"1396888738":["hashtag1","hashtag2"]},{"1396888747":["hashtag1","hashtag2"]},{"1396888741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396888829, 1396888789, 1396888744, 1396888738, 1396888747, 1396888741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30533695220947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:17:03.074007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/11/image_29112025_13_11_45_10582.jpg', '/home/pi/Desktop/images/29112025/13/11/image_29112025_13_11_55_9825.jpg', '/home/pi/Desktop/images/29112025/13/11/image_29112025_13_12_05_9769.jpg', '/home/pi/Desktop/images/29112025/13/12/image_29112025_13_12_14_9650.jpg', '/home/pi/Desktop/images/29112025/13/12/image_29112025_13_12_25_10628.jpg', '/home/pi/Desktop/images/29112025/13/12/image_29112025_13_12_35_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/11/image_29112025_13_11_45_10582.jpg
/home/pi/Desktop/images/29112025/13/11/image_29112025_13_11_55_9825.jpg
/home/pi/Desktop/images/29112025/13/11/image_29112025_13_12_05_9769.jpg
/home/pi/Desktop/images/29112025/13/12/image_29112025_13_12_14_9650.jpg
/home/pi/Desktop/images/29112025/13/12/image_29112025_13_12_25_10628.jpg
/home/pi/Desktop/images/29112025/13/12/image_29112025_13_12_35_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889103","1396889123","1396888961","1396889126","1396889008","1396889064"],"photo_ids_order":["1396888961","1396889008","1396889064","1396889103","1396889123","1396889126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/466c14c1899205d00dc819c9f2d2f92a.jpg","text":"TemporaryFile(/tmp/multipartBody3646743132036009014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418683857,"filename":"image_29112025_13_12_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/11/29/03a7b619d39d18ef1da0aa122c6fc4e7.jpg","text":"TemporaryFile(/tmp/multipartBody7989414918287894103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418683857,"filename":"image_29112025_13_12_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/11/29/fb73c6a5a0d60bb6edfd44e9ce29629e.jpg","text":"TemporaryFile(/tmp/multipartBody7157624926377577082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418683857,"filename":"image_29112025_13_11_45_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5f65af699d3ed94bd3a2a0ea9f02e38.jpg","text":"TemporaryFile(/tmp/multipartBody4334087759001812112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418683857,"filename":"image_29112025_13_12_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/11/29/14fab233e563daf09e2276d2587237cb.jpg","text":"TemporaryFile(/tmp/multipartBody697313790804257506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418683857,"filename":"image_29112025_13_11_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/11/29/f75992aa7d78aed333ffc9b898e9ed33.jpg","text":"TemporaryFile(/tmp/multipartBody8057110699158925143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418683857,"filename":"image_29112025_13_12_05_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889064","file1":"1396889008","file0":"1396888961","file4":"1396889123","file5":"1396889126","file3":"1396889103"},"map_files_photo_id_array":[{"photo_id":"1396889126","filename":"file5"},{"photo_id":"1396889064","filename":"file2"},{"photo_id":"1396889123","filename":"file4"},{"photo_id":"1396889008","filename":"file1"},{"photo_id":"1396888961","filename":"file0"},{"photo_id":"1396889103","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396889103":["hashtag1","hashtag2"]},{"1396889123":["hashtag1","hashtag2"]},{"1396888961":["hashtag1","hashtag2"]},{"1396889126":["hashtag1","hashtag2"]},{"1396889008":["hashtag1","hashtag2"]},{"1396889064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396889103, 1396889123, 1396888961, 1396889126, 1396889008, 1396889064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8022825717926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:17:42.309665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_12_1539.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_13_1585.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_17_3802.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_18_1586.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_20_1667.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_22_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_12_1539.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_13_1585.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_17_3802.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_18_1586.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_20_1667.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_22_1606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889235","1396889220","1396889205","1396889237","1396889234","1396889236"],"photo_ids_order":["1396889205","1396889220","1396889234","1396889235","1396889236","1396889237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc96c45c66beb809ae5d0d07c312bb3a.jpg","text":"TemporaryFile(/tmp/multipartBody428341673811438493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418723438,"filename":"image_31102025_09_41_18_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0a00c3209bd2612a42b8573d22d8007.jpg","text":"TemporaryFile(/tmp/multipartBody4344717972416596202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418723438,"filename":"image_31102025_09_41_13_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b150f0f6579b162dd617c1ff753e81e5.jpg","text":"TemporaryFile(/tmp/multipartBody7921071870256272033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418723438,"filename":"image_31102025_09_41_12_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/618bcb77d09b6543d983c6a737cc6ce1.jpg","text":"TemporaryFile(/tmp/multipartBody1177025492117840321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418723438,"filename":"image_31102025_09_41_22_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16a4cd96d86457967504e59fd592dec3.jpg","text":"TemporaryFile(/tmp/multipartBody3801968058232994764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418723438,"filename":"image_31102025_09_41_17_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b2cb7104df4819c58e24dcc44e214da.jpg","text":"TemporaryFile(/tmp/multipartBody6298786914737065464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418723438,"filename":"image_31102025_09_41_20_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889234","file1":"1396889220","file0":"1396889205","file4":"1396889236","file5":"1396889237","file3":"1396889235"},"map_files_photo_id_array":[{"photo_id":"1396889237","filename":"file5"},{"photo_id":"1396889234","filename":"file2"},{"photo_id":"1396889236","filename":"file4"},{"photo_id":"1396889220","filename":"file1"},{"photo_id":"1396889205","filename":"file0"},{"photo_id":"1396889235","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396889235":["hashtag1","hashtag2"]},{"1396889220":["hashtag1","hashtag2"]},{"1396889205":["hashtag1","hashtag2"]},{"1396889237":["hashtag1","hashtag2"]},{"1396889234":["hashtag1","hashtag2"]},{"1396889236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396889235, 1396889220, 1396889205, 1396889237, 1396889234, 1396889236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46718120574951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:18:22.473594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/12/image_29112025_13_12_45_9850.jpg', '/home/pi/Desktop/images/29112025/13/12/image_29112025_13_12_54_9646.jpg', '/home/pi/Desktop/images/29112025/13/12/image_29112025_13_13_05_10640.jpg', '/home/pi/Desktop/images/29112025/13/13/image_29112025_13_13_14_9546.jpg', '/home/pi/Desktop/images/29112025/13/13/image_29112025_13_13_25_10576.jpg', '/home/pi/Desktop/images/29112025/13/13/image_29112025_13_13_35_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/12/image_29112025_13_12_45_9850.jpg
/home/pi/Desktop/images/29112025/13/12/image_29112025_13_12_54_9646.jpg
/home/pi/Desktop/images/29112025/13/12/image_29112025_13_13_05_10640.jpg
/home/pi/Desktop/images/29112025/13/13/image_29112025_13_13_14_9546.jpg
/home/pi/Desktop/images/29112025/13/13/image_29112025_13_13_25_10576.jpg
/home/pi/Desktop/images/29112025/13/13/image_29112025_13_13_35_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":["1396889325","1396889319","1396889310","1396889321","1396889312","1396889315"],"photo_ids_order":["1396889310","1396889312","1396889315","1396889319","1396889321","1396889325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/163a914a7889b3e63ecb8ce4c043bd98.jpg","text":"TemporaryFile(/tmp/multipartBody3767429187076201865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418763166,"filename":"image_29112025_13_13_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/11/29/056b8961b8039cb8bef07f0ea6d1248c.jpg","text":"TemporaryFile(/tmp/multipartBody1406974970189671560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418763166,"filename":"image_29112025_13_13_14_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af0078779286abe9cbc75cbeba154b34.jpg","text":"TemporaryFile(/tmp/multipartBody4425613242201218769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418763166,"filename":"image_29112025_13_12_45_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e475168a6dff89c3a097a4934a09e0cd.jpg","text":"TemporaryFile(/tmp/multipartBody3192128023455152590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418763166,"filename":"image_29112025_13_13_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/11/29/de7c669c24ec315f90b831db88714448.jpg","text":"TemporaryFile(/tmp/multipartBody304748068514590259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418763166,"filename":"image_29112025_13_12_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4a22fb32abc7a65e1c5565c401f4924.jpg","text":"TemporaryFile(/tmp/multipartBody7775449637231628552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418763166,"filename":"image_29112025_13_13_05_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889315","file1":"1396889312","file0":"1396889310","file4":"1396889321","file5":"1396889325","file3":"1396889319"},"map_files_photo_id_array":[{"photo_id":"1396889325","filename":"file5"},{"photo_id":"1396889315","filename":"file2"},{"photo_id":"1396889321","filename":"file4"},{"photo_id":"1396889312","filename":"file1"},{"photo_id":"1396889310","filename":"file0"},{"photo_id":"1396889319","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396889325":["hashtag1","hashtag2"]},{"1396889319":["hashtag1","hashtag2"]},{"1396889310":["hashtag1","hashtag2"]},{"1396889321":["hashtag1","hashtag2"]},{"1396889312":["hashtag1","hashtag2"]},{"1396889315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396889325, 1396889319, 1396889310, 1396889321, 1396889312, 1396889315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.503015756607056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:19:03.633128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/13/image_29112025_13_13_44_9587.jpg', '/home/pi/Desktop/images/29112025/13/13/image_29112025_13_13_55_10693.jpg', '/home/pi/Desktop/images/29112025/13/13/image_29112025_13_14_05_9626.jpg', '/home/pi/Desktop/images/29112025/13/14/image_29112025_13_14_14_9804.jpg', '/home/pi/Desktop/images/29112025/13/14/image_29112025_13_14_25_10533.jpg', '/home/pi/Desktop/images/29112025/13/14/image_29112025_13_14_35_10238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/13/image_29112025_13_13_44_9587.jpg
/home/pi/Desktop/images/29112025/13/13/image_29112025_13_13_55_10693.jpg
/home/pi/Desktop/images/29112025/13/13/image_29112025_13_14_05_9626.jpg
/home/pi/Desktop/images/29112025/13/14/image_29112025_13_14_14_9804.jpg
/home/pi/Desktop/images/29112025/13/14/image_29112025_13_14_25_10533.jpg
/home/pi/Desktop/images/29112025/13/14/image_29112025_13_14_35_10238.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889334","1396889342","1396889336","1396889339","1396889332","1396889335"],"photo_ids_order":["1396889332","1396889334","1396889335","1396889336","1396889339","1396889342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/662a3d1749895e52c3b31eec89ce9207.jpg","text":"TemporaryFile(/tmp/multipartBody5912181084512359147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418804547,"filename":"image_29112025_13_13_55_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/beedca2d1f696c7fde1c68638a4089d5.jpg","text":"TemporaryFile(/tmp/multipartBody5533917749466633672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418804547,"filename":"image_29112025_13_14_35_10238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c3444d1936584c55b17cacacac4d743.jpg","text":"TemporaryFile(/tmp/multipartBody8230700173470240857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418804547,"filename":"image_29112025_13_14_14_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd67fe8fe0adbdfab6abef9fea04a454.jpg","text":"TemporaryFile(/tmp/multipartBody7229749969718509196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418804547,"filename":"image_29112025_13_14_25_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99d14dd35478f4198a72b218f9cf876f.jpg","text":"TemporaryFile(/tmp/multipartBody7885000226468883270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418804547,"filename":"image_29112025_13_13_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/11/29/f285262e80c2babe98262c716d334c70.jpg","text":"TemporaryFile(/tmp/multipartBody5218454601113468881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418804547,"filename":"image_29112025_13_14_05_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889335","file1":"1396889334","file0":"1396889332","file4":"1396889339","file5":"1396889342","file3":"1396889336"},"map_files_photo_id_array":[{"photo_id":"1396889342","filename":"file5"},{"photo_id":"1396889335","filename":"file2"},{"photo_id":"1396889339","filename":"file4"},{"photo_id":"1396889334","filename":"file1"},{"photo_id":"1396889332","filename":"file0"},{"photo_id":"1396889336","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396889334":["hashtag1","hashtag2"]},{"1396889342":["hashtag1","hashtag2"]},{"1396889336":["hashtag1","hashtag2"]},{"1396889339":["hashtag1","hashtag2"]},{"1396889332":["hashtag1","hashtag2"]},{"1396889335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396889334, 1396889342, 1396889336, 1396889339, 1396889332, 1396889335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.979055404663086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:19:42.666759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_23_1654.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_27_3129.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_28_1784.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_30_1583.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_32_1868.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_34_1779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_23_1654.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_27_3129.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_28_1784.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_30_1583.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_32_1868.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_34_1779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889436","1396889445","1396889453","1396889405","1396889452","1396889455"],"photo_ids_order":["1396889405","1396889436","1396889445","1396889452","1396889453","1396889455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db6738430afb768ad34c0c3abfeab120.jpg","text":"TemporaryFile(/tmp/multipartBody7458974742701791282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418843778,"filename":"image_31102025_09_41_27_3129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50bf25dd02e19028536918fcae0f9faa.jpg","text":"TemporaryFile(/tmp/multipartBody6907815920511580488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418843778,"filename":"image_31102025_09_41_28_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dcf214d7c2049fa0a2ce2b0cb5c7bc3a.jpg","text":"TemporaryFile(/tmp/multipartBody8407809379960259503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418843778,"filename":"image_31102025_09_41_32_1868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4712b783bb94bedbfd581e2cf50c425b.jpg","text":"TemporaryFile(/tmp/multipartBody5246630062743412024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418843778,"filename":"image_31102025_09_41_23_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c0aa3079d566f6180bceb51e899d739.jpg","text":"TemporaryFile(/tmp/multipartBody4645586218887881057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418843778,"filename":"image_31102025_09_41_30_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e8422536f95838326f695ba719ed9ed.jpg","text":"TemporaryFile(/tmp/multipartBody294798418640139370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418843778,"filename":"image_31102025_09_41_34_1779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889445","file1":"1396889436","file0":"1396889405","file4":"1396889453","file5":"1396889455","file3":"1396889452"},"map_files_photo_id_array":[{"photo_id":"1396889455","filename":"file5"},{"photo_id":"1396889445","filename":"file2"},{"photo_id":"1396889453","filename":"file4"},{"photo_id":"1396889436","filename":"file1"},{"photo_id":"1396889405","filename":"file0"},{"photo_id":"1396889452","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396889436":["hashtag1","hashtag2"]},{"1396889445":["hashtag1","hashtag2"]},{"1396889453":["hashtag1","hashtag2"]},{"1396889405":["hashtag1","hashtag2"]},{"1396889452":["hashtag1","hashtag2"]},{"1396889455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396889436, 1396889445, 1396889453, 1396889405, 1396889452, 1396889455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.622814655303955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:20:21.854634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/14/image_29112025_13_14_45_9571.jpg', '/home/pi/Desktop/images/29112025/13/14/image_29112025_13_14_54_9751.jpg', '/home/pi/Desktop/images/29112025/13/14/image_29112025_13_15_04_9758.jpg', '/home/pi/Desktop/images/29112025/13/15/image_29112025_13_15_15_10611.jpg', '/home/pi/Desktop/images/29112025/13/15/image_29112025_13_15_24_9571.jpg', '/home/pi/Desktop/images/29112025/13/15/image_29112025_13_15_35_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/14/image_29112025_13_14_45_9571.jpg
/home/pi/Desktop/images/29112025/13/14/image_29112025_13_14_54_9751.jpg
/home/pi/Desktop/images/29112025/13/14/image_29112025_13_15_04_9758.jpg
/home/pi/Desktop/images/29112025/13/15/image_29112025_13_15_15_10611.jpg
/home/pi/Desktop/images/29112025/13/15/image_29112025_13_15_24_9571.jpg
/home/pi/Desktop/images/29112025/13/15/image_29112025_13_15_35_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889542","1396889545","1396889539","1396889530","1396889533","1396889536"],"photo_ids_order":["1396889530","1396889533","1396889536","1396889539","1396889542","1396889545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68ba76edff36a3c50134b884c299f2b1.jpg","text":"TemporaryFile(/tmp/multipartBody1683440022133660385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418882541,"filename":"image_29112025_13_15_24_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b002f36aaa48eb97a87bf2dc77a4e6f0.jpg","text":"TemporaryFile(/tmp/multipartBody7084504430107827296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418882541,"filename":"image_29112025_13_15_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/11/29/3914f8a429d11d84dc9c9b57ee474763.jpg","text":"TemporaryFile(/tmp/multipartBody5431697483834813571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418882541,"filename":"image_29112025_13_15_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb39d92b8a50ee606d4a86d5979f8841.jpg","text":"TemporaryFile(/tmp/multipartBody5403426427435954857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418882541,"filename":"image_29112025_13_14_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/11/29/9e9c39ddc7534daafa4c3caea5a042f9.jpg","text":"TemporaryFile(/tmp/multipartBody4608877113553684779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418882541,"filename":"image_29112025_13_14_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea4c15c70b8e73584eeb2e75b0d14fbc.jpg","text":"TemporaryFile(/tmp/multipartBody7869607600624819226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418882541,"filename":"image_29112025_13_15_04_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889536","file1":"1396889533","file0":"1396889530","file4":"1396889542","file5":"1396889545","file3":"1396889539"},"map_files_photo_id_array":[{"photo_id":"1396889545","filename":"file5"},{"photo_id":"1396889536","filename":"file2"},{"photo_id":"1396889542","filename":"file4"},{"photo_id":"1396889533","filename":"file1"},{"photo_id":"1396889530","filename":"file0"},{"photo_id":"1396889539","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396889542":["hashtag1","hashtag2"]},{"1396889545":["hashtag1","hashtag2"]},{"1396889539":["hashtag1","hashtag2"]},{"1396889530":["hashtag1","hashtag2"]},{"1396889533":["hashtag1","hashtag2"]},{"1396889536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396889542, 1396889545, 1396889539, 1396889530, 1396889533, 1396889536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.269288063049316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:21:02.833147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/15/image_29112025_13_15_45_9589.jpg', '/home/pi/Desktop/images/29112025/13/15/image_29112025_13_16_05_10649.jpg', '/home/pi/Desktop/images/29112025/13/16/image_29112025_13_16_15_9762.jpg', '/home/pi/Desktop/images/29112025/13/16/image_29112025_13_16_25_9738.jpg', '/home/pi/Desktop/images/29112025/13/16/image_29112025_13_16_35_10562.jpg', '/home/pi/Desktop/images/29112025/13/16/image_29112025_13_16_45_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/15/image_29112025_13_15_45_9589.jpg
/home/pi/Desktop/images/29112025/13/15/image_29112025_13_16_05_10649.jpg
/home/pi/Desktop/images/29112025/13/16/image_29112025_13_16_15_9762.jpg
/home/pi/Desktop/images/29112025/13/16/image_29112025_13_16_25_9738.jpg
/home/pi/Desktop/images/29112025/13/16/image_29112025_13_16_35_10562.jpg
/home/pi/Desktop/images/29112025/13/16/image_29112025_13_16_45_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889577","1396889576","1396889599","1396889575","1396889578","1396889580"],"photo_ids_order":["1396889575","1396889576","1396889577","1396889578","1396889580","1396889599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c18fbaeceddadb556226bf3c202ad03.jpg","text":"TemporaryFile(/tmp/multipartBody1488503613782953389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418923591,"filename":"image_29112025_13_16_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/11/29/3625065fe77a0440c56bfae0f15c285d.jpg","text":"TemporaryFile(/tmp/multipartBody4081665034064241656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418923591,"filename":"image_29112025_13_16_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5121b99ac8eee70de5b2aabc5d46a7e1.jpg","text":"TemporaryFile(/tmp/multipartBody3152462373069329664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418923591,"filename":"image_29112025_13_16_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/11/29/2c25d3304d0af84456898de4a8b5df1e.jpg","text":"TemporaryFile(/tmp/multipartBody187836308508922707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418923591,"filename":"image_29112025_13_15_45_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73361330eda2dcde8dbffac652751f3c.jpg","text":"TemporaryFile(/tmp/multipartBody6566117632685885576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418923591,"filename":"image_29112025_13_16_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f37eee2d794bd5a7a6af1bef841390c4.jpg","text":"TemporaryFile(/tmp/multipartBody7043600393680205939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418923591,"filename":"image_29112025_13_16_35_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889577","file1":"1396889576","file0":"1396889575","file4":"1396889580","file5":"1396889599","file3":"1396889578"},"map_files_photo_id_array":[{"photo_id":"1396889599","filename":"file5"},{"photo_id":"1396889577","filename":"file2"},{"photo_id":"1396889580","filename":"file4"},{"photo_id":"1396889576","filename":"file1"},{"photo_id":"1396889575","filename":"file0"},{"photo_id":"1396889578","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396889577":["hashtag1","hashtag2"]},{"1396889576":["hashtag1","hashtag2"]},{"1396889599":["hashtag1","hashtag2"]},{"1396889575":["hashtag1","hashtag2"]},{"1396889578":["hashtag1","hashtag2"]},{"1396889580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396889577, 1396889576, 1396889599, 1396889575, 1396889578, 1396889580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00880169868469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:21:42.075171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_35_1620.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_37_1620.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_38_1656.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_40_1634.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_46_6385.jpg', '/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_56_9942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_35_1620.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_37_1620.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_38_1656.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_40_1634.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_46_6385.jpg
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_56_9942.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889715","1396889681","1396889791","1396889686","1396889680","1396889758"],"photo_ids_order":["1396889680","1396889681","1396889686","1396889715","1396889758","1396889791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9cf2f98786e94ffe3919867f9d19504c.jpg","text":"TemporaryFile(/tmp/multipartBody7113495172147797794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418963178,"filename":"image_31102025_09_41_40_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9196a96a9fab928ca93c79964c2bfc40.jpg","text":"TemporaryFile(/tmp/multipartBody3863249395492375820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418963178,"filename":"image_31102025_09_41_37_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e66fe7d31813d6a8222c6d2609f649f7.jpg","text":"TemporaryFile(/tmp/multipartBody8988583075207689904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418963178,"filename":"image_31102025_09_41_56_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7b8ef303481d139f2387458a735df1d.jpg","text":"TemporaryFile(/tmp/multipartBody7710734454980752960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418963178,"filename":"image_31102025_09_41_38_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5df2263c7aada579b08d04ed2ddcbf14.jpg","text":"TemporaryFile(/tmp/multipartBody2637656493013527205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418963178,"filename":"image_31102025_09_41_35_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73d3946e0aabc10fed78f2ee0005a9be.jpg","text":"TemporaryFile(/tmp/multipartBody146966469504689106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764418963178,"filename":"image_31102025_09_41_46_6385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889686","file1":"1396889681","file0":"1396889680","file4":"1396889758","file5":"1396889791","file3":"1396889715"},"map_files_photo_id_array":[{"photo_id":"1396889791","filename":"file5"},{"photo_id":"1396889686","filename":"file2"},{"photo_id":"1396889758","filename":"file4"},{"photo_id":"1396889681","filename":"file1"},{"photo_id":"1396889680","filename":"file0"},{"photo_id":"1396889715","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396889715":["hashtag1","hashtag2"]},{"1396889681":["hashtag1","hashtag2"]},{"1396889791":["hashtag1","hashtag2"]},{"1396889686":["hashtag1","hashtag2"]},{"1396889680":["hashtag1","hashtag2"]},{"1396889758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396889715, 1396889681, 1396889791, 1396889686, 1396889680, 1396889758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39943766593933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:22:22.249336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/16/image_29112025_13_16_54_9546.jpg', '/home/pi/Desktop/images/29112025/13/16/image_29112025_13_17_05_10680.jpg', '/home/pi/Desktop/images/29112025/13/17/image_29112025_13_17_15_9601.jpg', '/home/pi/Desktop/images/29112025/13/17/image_29112025_13_17_24_9871.jpg', '/home/pi/Desktop/images/29112025/13/17/image_29112025_13_17_35_10677.jpg', '/home/pi/Desktop/images/29112025/13/17/image_29112025_13_17_45_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/16/image_29112025_13_16_54_9546.jpg
/home/pi/Desktop/images/29112025/13/16/image_29112025_13_17_05_10680.jpg
/home/pi/Desktop/images/29112025/13/17/image_29112025_13_17_15_9601.jpg
/home/pi/Desktop/images/29112025/13/17/image_29112025_13_17_24_9871.jpg
/home/pi/Desktop/images/29112025/13/17/image_29112025_13_17_35_10677.jpg
/home/pi/Desktop/images/29112025/13/17/image_29112025_13_17_45_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":["1396889832","1396889826","1396889835","1396889829","1396889823","1396889819"],"photo_ids_order":["1396889819","1396889823","1396889826","1396889829","1396889832","1396889835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88561ce7a1e1bebc33aab84ae1253860.jpg","text":"TemporaryFile(/tmp/multipartBody1601098106377643935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419002972,"filename":"image_29112025_13_17_35_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46f958b494cd2c72dc70e5c4203c5246.jpg","text":"TemporaryFile(/tmp/multipartBody7973458680208003666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419002972,"filename":"image_29112025_13_17_15_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68e929f37fb2f7115f6d9a955f87f709.jpg","text":"TemporaryFile(/tmp/multipartBody6168539706652443926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419002972,"filename":"image_29112025_13_17_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/11/29/c780f2c951825153c74a6f3b2d3f517e.jpg","text":"TemporaryFile(/tmp/multipartBody8092781955952081094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419002972,"filename":"image_29112025_13_17_24_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f639a3e9b4b36d74fa12098e8f63511.jpg","text":"TemporaryFile(/tmp/multipartBody7347338095560314943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419002972,"filename":"image_29112025_13_17_05_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9037727aaf04ddeec63a66f8ca5dfca0.jpg","text":"TemporaryFile(/tmp/multipartBody6936430253657385863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419002972,"filename":"image_29112025_13_16_54_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889826","file1":"1396889823","file0":"1396889819","file4":"1396889832","file5":"1396889835","file3":"1396889829"},"map_files_photo_id_array":[{"photo_id":"1396889835","filename":"file5"},{"photo_id":"1396889826","filename":"file2"},{"photo_id":"1396889832","filename":"file4"},{"photo_id":"1396889823","filename":"file1"},{"photo_id":"1396889819","filename":"file0"},{"photo_id":"1396889829","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396889832":["hashtag1","hashtag2"]},{"1396889826":["hashtag1","hashtag2"]},{"1396889835":["hashtag1","hashtag2"]},{"1396889829":["hashtag1","hashtag2"]},{"1396889823":["hashtag1","hashtag2"]},{"1396889819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396889832, 1396889826, 1396889835, 1396889829, 1396889823, 1396889819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.433589696884155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:23:03.139023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/17/image_29112025_13_17_54_9552.jpg', '/home/pi/Desktop/images/29112025/13/17/image_29112025_13_18_05_10655.jpg', '/home/pi/Desktop/images/29112025/13/18/image_29112025_13_18_15_9747.jpg', '/home/pi/Desktop/images/29112025/13/18/image_29112025_13_18_24_9652.jpg', '/home/pi/Desktop/images/29112025/13/18/image_29112025_13_18_44_10062.jpg', '/home/pi/Desktop/images/29112025/13/18/image_29112025_13_18_55_10766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/17/image_29112025_13_17_54_9552.jpg
/home/pi/Desktop/images/29112025/13/17/image_29112025_13_18_05_10655.jpg
/home/pi/Desktop/images/29112025/13/18/image_29112025_13_18_15_9747.jpg
/home/pi/Desktop/images/29112025/13/18/image_29112025_13_18_24_9652.jpg
/home/pi/Desktop/images/29112025/13/18/image_29112025_13_18_44_10062.jpg
/home/pi/Desktop/images/29112025/13/18/image_29112025_13_18_55_10766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889838","1396889837","1396889846","1396889840","1396889842","1396889839"],"photo_ids_order":["1396889837","1396889838","1396889839","1396889840","1396889842","1396889846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/862f029d44b75fc7ce9ef7f6d4b0e956.jpg","text":"TemporaryFile(/tmp/multipartBody7287131169064788431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419043907,"filename":"image_29112025_13_18_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/11/29/2bcc21d8d0f8d99730fd5073da2d369a.jpg","text":"TemporaryFile(/tmp/multipartBody3867875774270018709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419043907,"filename":"image_29112025_13_17_54_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d92fa8316820a0fd76e3b76395f2cbfd.jpg","text":"TemporaryFile(/tmp/multipartBody4436298321384694991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419043907,"filename":"image_29112025_13_18_55_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea117d14db0ea6147259eedbbd2346f2.jpg","text":"TemporaryFile(/tmp/multipartBody1510796168480575666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419043907,"filename":"image_29112025_13_18_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/11/29/0d44dcb113f4ee79a07b6b51f3096e00.jpg","text":"TemporaryFile(/tmp/multipartBody5657683730203568149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419043907,"filename":"image_29112025_13_18_44_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ffeab8045e9f99764720baa7dc777c5.jpg","text":"TemporaryFile(/tmp/multipartBody3854994729292017328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419043907,"filename":"image_29112025_13_18_15_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889839","file1":"1396889838","file0":"1396889837","file4":"1396889842","file5":"1396889846","file3":"1396889840"},"map_files_photo_id_array":[{"photo_id":"1396889846","filename":"file5"},{"photo_id":"1396889839","filename":"file2"},{"photo_id":"1396889842","filename":"file4"},{"photo_id":"1396889838","filename":"file1"},{"photo_id":"1396889837","filename":"file0"},{"photo_id":"1396889840","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396889838":["hashtag1","hashtag2"]},{"1396889837":["hashtag1","hashtag2"]},{"1396889846":["hashtag1","hashtag2"]},{"1396889840":["hashtag1","hashtag2"]},{"1396889842":["hashtag1","hashtag2"]},{"1396889839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396889838, 1396889837, 1396889846, 1396889840, 1396889842, 1396889839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.710495471954346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:23:42.393218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_58_1870.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_02_3204.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_03_1828.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_09_5470.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_15_5727.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_16_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/41/image_31102025_09_41_58_1870.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_02_3204.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_03_1828.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_09_5470.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_15_5727.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_16_1625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889931","1396889930","1396889903","1396889893","1396889932","1396889929"],"photo_ids_order":["1396889893","1396889903","1396889929","1396889930","1396889931","1396889932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/765b7b7dc281691c5cc118ed1e9f7db9.jpg","text":"TemporaryFile(/tmp/multipartBody5721129727960472842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419083544,"filename":"image_31102025_09_42_15_5727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7db2250b4fcb097dcab5a53b1e130fc.jpg","text":"TemporaryFile(/tmp/multipartBody4834588644961096282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419083544,"filename":"image_31102025_09_42_09_5470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2218e5653743a2a6c6900d7a9d769c01.jpg","text":"TemporaryFile(/tmp/multipartBody1574574487886645737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419083544,"filename":"image_31102025_09_42_02_3204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd79e01da84567a2df831d14d2af20dd.jpg","text":"TemporaryFile(/tmp/multipartBody8844200718346714721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419083544,"filename":"image_31102025_09_41_58_1870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9f8ef15e1b7cb3b29c3bceedbab841a.jpg","text":"TemporaryFile(/tmp/multipartBody2647811942928808493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419083544,"filename":"image_31102025_09_42_16_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5f6bbd328f39ec13608f52a3a2d46a4.jpg","text":"TemporaryFile(/tmp/multipartBody93456559499585425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419083544,"filename":"image_31102025_09_42_03_1828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889929","file1":"1396889903","file0":"1396889893","file4":"1396889931","file5":"1396889932","file3":"1396889930"},"map_files_photo_id_array":[{"photo_id":"1396889932","filename":"file5"},{"photo_id":"1396889929","filename":"file2"},{"photo_id":"1396889931","filename":"file4"},{"photo_id":"1396889903","filename":"file1"},{"photo_id":"1396889893","filename":"file0"},{"photo_id":"1396889930","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396889931":["hashtag1","hashtag2"]},{"1396889930":["hashtag1","hashtag2"]},{"1396889903":["hashtag1","hashtag2"]},{"1396889893":["hashtag1","hashtag2"]},{"1396889932":["hashtag1","hashtag2"]},{"1396889929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396889931, 1396889930, 1396889903, 1396889893, 1396889932, 1396889929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50908088684082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:24:22.725234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/18/image_29112025_13_19_05_9616.jpg', '/home/pi/Desktop/images/29112025/13/19/image_29112025_13_19_14_9674.jpg', '/home/pi/Desktop/images/29112025/13/19/image_29112025_13_19_25_10578.jpg', '/home/pi/Desktop/images/29112025/13/19/image_29112025_13_19_34_9598.jpg', '/home/pi/Desktop/images/29112025/13/19/image_29112025_13_19_45_10656.jpg', '/home/pi/Desktop/images/29112025/13/19/image_29112025_13_19_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/18/image_29112025_13_19_05_9616.jpg
/home/pi/Desktop/images/29112025/13/19/image_29112025_13_19_14_9674.jpg
/home/pi/Desktop/images/29112025/13/19/image_29112025_13_19_25_10578.jpg
/home/pi/Desktop/images/29112025/13/19/image_29112025_13_19_34_9598.jpg
/home/pi/Desktop/images/29112025/13/19/image_29112025_13_19_45_10656.jpg
/home/pi/Desktop/images/29112025/13/19/image_29112025_13_19_55_9646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889936","1396889950","1396889947","1396889941","1396889944","1396889938"],"photo_ids_order":["1396889936","1396889938","1396889941","1396889944","1396889947","1396889950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02033a2b9d8dc0a98fda323bbca997e5.jpg","text":"TemporaryFile(/tmp/multipartBody448659190057180284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419123423,"filename":"image_29112025_13_19_05_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46040cc78cba4ba3bab0a4fca7f077ec.jpg","text":"TemporaryFile(/tmp/multipartBody5710079623527098650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419123423,"filename":"image_29112025_13_19_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/11/29/1b354000eb58547c8672491530dfa39f.jpg","text":"TemporaryFile(/tmp/multipartBody1208927306833140661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419123423,"filename":"image_29112025_13_19_45_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a7a46a78a9cb5b338d040120cd1cfcd.jpg","text":"TemporaryFile(/tmp/multipartBody2632861442115054806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419123423,"filename":"image_29112025_13_19_25_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee184ceb2760ec6de380ea056fedf609.jpg","text":"TemporaryFile(/tmp/multipartBody5652043385060835172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419123423,"filename":"image_29112025_13_19_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/11/29/c867f5d146407e4c460ba070c9d95059.jpg","text":"TemporaryFile(/tmp/multipartBody2125006851953966569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419123423,"filename":"image_29112025_13_19_14_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889941","file1":"1396889938","file0":"1396889936","file4":"1396889947","file5":"1396889950","file3":"1396889944"},"map_files_photo_id_array":[{"photo_id":"1396889950","filename":"file5"},{"photo_id":"1396889941","filename":"file2"},{"photo_id":"1396889947","filename":"file4"},{"photo_id":"1396889938","filename":"file1"},{"photo_id":"1396889936","filename":"file0"},{"photo_id":"1396889944","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396889936":["hashtag1","hashtag2"]},{"1396889950":["hashtag1","hashtag2"]},{"1396889947":["hashtag1","hashtag2"]},{"1396889941":["hashtag1","hashtag2"]},{"1396889944":["hashtag1","hashtag2"]},{"1396889938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396889936, 1396889950, 1396889947, 1396889941, 1396889944, 1396889938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41099524497986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:25:03.376030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/20/image_29112025_13_20_34_9688.jpg', '/home/pi/Desktop/images/29112025/13/20/image_29112025_13_20_45_10614.jpg', '/home/pi/Desktop/images/29112025/13/20/image_29112025_13_20_54_9576.jpg', '/home/pi/Desktop/images/29112025/13/20/image_29112025_13_21_05_10579.jpg', '/home/pi/Desktop/images/29112025/13/21/image_29112025_13_21_15_9735.jpg', '/home/pi/Desktop/images/29112025/13/21/image_29112025_13_21_25_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/20/image_29112025_13_20_34_9688.jpg
/home/pi/Desktop/images/29112025/13/20/image_29112025_13_20_45_10614.jpg
/home/pi/Desktop/images/29112025/13/20/image_29112025_13_20_54_9576.jpg
/home/pi/Desktop/images/29112025/13/20/image_29112025_13_21_05_10579.jpg
/home/pi/Desktop/images/29112025/13/21/image_29112025_13_21_15_9735.jpg
/home/pi/Desktop/images/29112025/13/21/image_29112025_13_21_25_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889952","1396889955","1396889960","1396889954","1396889957","1396889953"],"photo_ids_order":["1396889952","1396889953","1396889954","1396889955","1396889957","1396889960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81c222bffa6fdaf6cda8f1679e147cb9.jpg","text":"TemporaryFile(/tmp/multipartBody60484886691954712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419164183,"filename":"image_29112025_13_20_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/11/29/ed4f16aa44f216f552c7dfa8852e7bde.jpg","text":"TemporaryFile(/tmp/multipartBody3265154479452544421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419164183,"filename":"image_29112025_13_21_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/731980e5061766a11b97722d8eb07b89.jpg","text":"TemporaryFile(/tmp/multipartBody785786701827908289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419164183,"filename":"image_29112025_13_21_25_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e35e618923fd4d22b3eb6252d13e0ddd.jpg","text":"TemporaryFile(/tmp/multipartBody2773797495511016165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419164183,"filename":"image_29112025_13_20_54_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9da7b1e5994640fe37d1edda168aac08.jpg","text":"TemporaryFile(/tmp/multipartBody516085573799510893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419164183,"filename":"image_29112025_13_21_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/11/29/8d38c9b8192a22fdebf07f3d0c8a464e.jpg","text":"TemporaryFile(/tmp/multipartBody8893975823897298402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419164183,"filename":"image_29112025_13_20_45_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889954","file1":"1396889953","file0":"1396889952","file4":"1396889957","file5":"1396889960","file3":"1396889955"},"map_files_photo_id_array":[{"photo_id":"1396889960","filename":"file5"},{"photo_id":"1396889954","filename":"file2"},{"photo_id":"1396889957","filename":"file4"},{"photo_id":"1396889953","filename":"file1"},{"photo_id":"1396889952","filename":"file0"},{"photo_id":"1396889955","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396889952":["hashtag1","hashtag2"]},{"1396889955":["hashtag1","hashtag2"]},{"1396889960":["hashtag1","hashtag2"]},{"1396889954":["hashtag1","hashtag2"]},{"1396889957":["hashtag1","hashtag2"]},{"1396889953":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396889952, 1396889955, 1396889960, 1396889954, 1396889957, 1396889953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72536754608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:25:42.689460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_18_1617.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_19_1655.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_24_4969.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_28_1610.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_35_4461.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_37_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_18_1617.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_19_1655.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_24_4969.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_28_1610.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_35_4461.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_37_1632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889973","1396889972","1396889975","1396889974","1396889976","1396889970"],"photo_ids_order":["1396889970","1396889972","1396889973","1396889974","1396889975","1396889976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d64a0a0ba4109eee978a0352219cf1e4.jpg","text":"TemporaryFile(/tmp/multipartBody3598733269720012717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419203817,"filename":"image_31102025_09_42_24_4969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84dffa053ce19bb5d7ed3dddc3be4d15.jpg","text":"TemporaryFile(/tmp/multipartBody6065503439603051263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419203817,"filename":"image_31102025_09_42_19_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d6ac8a9b6f609ac88ed1b9ce8a91f16.jpg","text":"TemporaryFile(/tmp/multipartBody9088798398405563756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419203817,"filename":"image_31102025_09_42_35_4461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/434a9fc106936d275260a58ab92f4258.jpg","text":"TemporaryFile(/tmp/multipartBody7578454900655144295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419203817,"filename":"image_31102025_09_42_28_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edcfadd74b5a4f3172fb421c32c31221.jpg","text":"TemporaryFile(/tmp/multipartBody7257748563188689790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419203817,"filename":"image_31102025_09_42_37_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b991352e23a03cca96ea72f2affa774a.jpg","text":"TemporaryFile(/tmp/multipartBody8726867309531247691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419203817,"filename":"image_31102025_09_42_18_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889973","file1":"1396889972","file0":"1396889970","file4":"1396889975","file5":"1396889976","file3":"1396889974"},"map_files_photo_id_array":[{"photo_id":"1396889976","filename":"file5"},{"photo_id":"1396889973","filename":"file2"},{"photo_id":"1396889975","filename":"file4"},{"photo_id":"1396889972","filename":"file1"},{"photo_id":"1396889970","filename":"file0"},{"photo_id":"1396889974","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396889973":["hashtag1","hashtag2"]},{"1396889972":["hashtag1","hashtag2"]},{"1396889975":["hashtag1","hashtag2"]},{"1396889974":["hashtag1","hashtag2"]},{"1396889976":["hashtag1","hashtag2"]},{"1396889970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396889973, 1396889972, 1396889975, 1396889974, 1396889976, 1396889970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9426109790802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:26:21.833915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/21/image_29112025_13_21_34_9743.jpg', '/home/pi/Desktop/images/29112025/13/21/image_29112025_13_21_45_10590.jpg', '/home/pi/Desktop/images/29112025/13/21/image_29112025_13_21_55_10174.jpg', '/home/pi/Desktop/images/29112025/13/21/image_29112025_13_22_05_9613.jpg', '/home/pi/Desktop/images/29112025/13/22/image_29112025_13_22_15_9900.jpg', '/home/pi/Desktop/images/29112025/13/22/image_29112025_13_22_24_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/21/image_29112025_13_21_34_9743.jpg
/home/pi/Desktop/images/29112025/13/21/image_29112025_13_21_45_10590.jpg
/home/pi/Desktop/images/29112025/13/21/image_29112025_13_21_55_10174.jpg
/home/pi/Desktop/images/29112025/13/21/image_29112025_13_22_05_9613.jpg
/home/pi/Desktop/images/29112025/13/22/image_29112025_13_22_15_9900.jpg
/home/pi/Desktop/images/29112025/13/22/image_29112025_13_22_24_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396889996","1396889981","1396889978","1396889992","1396889988","1396889985"],"photo_ids_order":["1396889978","1396889981","1396889985","1396889988","1396889992","1396889996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49614cf25a9ee11109407eb8961d77b9.jpg","text":"TemporaryFile(/tmp/multipartBody8802998058404610546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419242557,"filename":"image_29112025_13_22_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65be42e62a64922526a537fecdd422da.jpg","text":"TemporaryFile(/tmp/multipartBody4834718715551645013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419242557,"filename":"image_29112025_13_21_45_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/741c885f83dc8af3ae13e5bd4e867c6d.jpg","text":"TemporaryFile(/tmp/multipartBody1715969306018185576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419242557,"filename":"image_29112025_13_21_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/11/29/800ca62b874120c1fe07a3dc01729a45.jpg","text":"TemporaryFile(/tmp/multipartBody4706477510689621644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419242557,"filename":"image_29112025_13_22_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/11/29/94343514d9ca39eea44bba2a04516ab9.jpg","text":"TemporaryFile(/tmp/multipartBody5439975740726728322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419242557,"filename":"image_29112025_13_22_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/11/29/41d26ed6d7efcd6c13c730f39e4c05d2.jpg","text":"TemporaryFile(/tmp/multipartBody4523450096733466515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419242557,"filename":"image_29112025_13_21_55_10174.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889985","file1":"1396889981","file0":"1396889978","file4":"1396889992","file5":"1396889996","file3":"1396889988"},"map_files_photo_id_array":[{"photo_id":"1396889996","filename":"file5"},{"photo_id":"1396889985","filename":"file2"},{"photo_id":"1396889992","filename":"file4"},{"photo_id":"1396889981","filename":"file1"},{"photo_id":"1396889978","filename":"file0"},{"photo_id":"1396889988","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396889996":["hashtag1","hashtag2"]},{"1396889981":["hashtag1","hashtag2"]},{"1396889978":["hashtag1","hashtag2"]},{"1396889992":["hashtag1","hashtag2"]},{"1396889988":["hashtag1","hashtag2"]},{"1396889985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396889996, 1396889981, 1396889978, 1396889992, 1396889988, 1396889985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.64836263656616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:27:02.774719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/22/image_29112025_13_22_35_10737.jpg', '/home/pi/Desktop/images/29112025/13/22/image_29112025_13_22_45_9650.jpg', '/home/pi/Desktop/images/29112025/13/22/image_29112025_13_22_54_9680.jpg', '/home/pi/Desktop/images/29112025/13/22/image_29112025_13_23_05_10644.jpg', '/home/pi/Desktop/images/29112025/13/23/image_29112025_13_23_15_9771.jpg', '/home/pi/Desktop/images/29112025/13/23/image_29112025_13_23_24_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/22/image_29112025_13_22_35_10737.jpg
/home/pi/Desktop/images/29112025/13/22/image_29112025_13_22_45_9650.jpg
/home/pi/Desktop/images/29112025/13/22/image_29112025_13_22_54_9680.jpg
/home/pi/Desktop/images/29112025/13/22/image_29112025_13_23_05_10644.jpg
/home/pi/Desktop/images/29112025/13/23/image_29112025_13_23_15_9771.jpg
/home/pi/Desktop/images/29112025/13/23/image_29112025_13_23_24_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":["1396890007","1396889999","1396890003","1396889998","1396889997","1396890001"],"photo_ids_order":["1396889997","1396889998","1396889999","1396890001","1396890003","1396890007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/123c1065c11ec7d74bdc4c8e52a1c72c.jpg","text":"TemporaryFile(/tmp/multipartBody5171794668165715436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419283572,"filename":"image_29112025_13_23_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/11/29/35e1e5c996c6705e24e008bf4a36caaa.jpg","text":"TemporaryFile(/tmp/multipartBody905976830060603672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419283572,"filename":"image_29112025_13_22_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9157c3e09870905c60cb32ef38f84b1e.jpg","text":"TemporaryFile(/tmp/multipartBody3642386265942780778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419283572,"filename":"image_29112025_13_23_15_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/acb31d0d220de8c9af4d67cab8b373dc.jpg","text":"TemporaryFile(/tmp/multipartBody7089758355360229330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419283572,"filename":"image_29112025_13_22_45_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/945ffd00a992f39d1e984d4f48c1e57f.jpg","text":"TemporaryFile(/tmp/multipartBody7205984010215115691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419283572,"filename":"image_29112025_13_22_35_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d123954c1fc95b119a1f7318b5005bb.jpg","text":"TemporaryFile(/tmp/multipartBody1019302864506866915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419283572,"filename":"image_29112025_13_23_05_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396889999","file1":"1396889998","file0":"1396889997","file4":"1396890003","file5":"1396890007","file3":"1396890001"},"map_files_photo_id_array":[{"photo_id":"1396890007","filename":"file5"},{"photo_id":"1396889999","filename":"file2"},{"photo_id":"1396890003","filename":"file4"},{"photo_id":"1396889998","filename":"file1"},{"photo_id":"1396889997","filename":"file0"},{"photo_id":"1396890001","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890007":["hashtag1","hashtag2"]},{"1396889999":["hashtag1","hashtag2"]},{"1396890003":["hashtag1","hashtag2"]},{"1396889998":["hashtag1","hashtag2"]},{"1396889997":["hashtag1","hashtag2"]},{"1396890001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890007, 1396889999, 1396890003, 1396889998, 1396889997, 1396890001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.728994369506836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:27:41.983966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_39_1585.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_40_1619.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_44_1839.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_45_1660.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_49_3754.jpg', '/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_52_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_39_1585.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_40_1619.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_44_1839.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_45_1660.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_49_3754.jpg
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_52_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890019","1396890021","1396890018","1396890017","1396890020","1396890014"],"photo_ids_order":["1396890014","1396890017","1396890018","1396890019","1396890020","1396890021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bb2803354a5a626766bf47fbb235266.jpg","text":"TemporaryFile(/tmp/multipartBody2194427752032556023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419323175,"filename":"image_31102025_09_42_45_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afae35fbd2ec5540c9953dcead9ceea8.jpg","text":"TemporaryFile(/tmp/multipartBody8605709124421759713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419323175,"filename":"image_31102025_09_42_52_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6b59722bf703f12c6e8a2fad7da37fb.jpg","text":"TemporaryFile(/tmp/multipartBody8928759265105686368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419323175,"filename":"image_31102025_09_42_44_1839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06a62e89fd4c0898368a51073539c920.jpg","text":"TemporaryFile(/tmp/multipartBody9152637343992507128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419323175,"filename":"image_31102025_09_42_40_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/acf9e98ab0ec93a073723d0d01771ef7.jpg","text":"TemporaryFile(/tmp/multipartBody2411844976669369362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419323175,"filename":"image_31102025_09_42_49_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8acf20fbcdd7fd3cdff09cbf60e87b11.jpg","text":"TemporaryFile(/tmp/multipartBody5896025948826388031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419323175,"filename":"image_31102025_09_42_39_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890018","file1":"1396890017","file0":"1396890014","file4":"1396890020","file5":"1396890021","file3":"1396890019"},"map_files_photo_id_array":[{"photo_id":"1396890021","filename":"file5"},{"photo_id":"1396890018","filename":"file2"},{"photo_id":"1396890020","filename":"file4"},{"photo_id":"1396890017","filename":"file1"},{"photo_id":"1396890014","filename":"file0"},{"photo_id":"1396890019","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396890019":["hashtag1","hashtag2"]},{"1396890021":["hashtag1","hashtag2"]},{"1396890018":["hashtag1","hashtag2"]},{"1396890017":["hashtag1","hashtag2"]},{"1396890020":["hashtag1","hashtag2"]},{"1396890014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396890019, 1396890021, 1396890018, 1396890017, 1396890020, 1396890014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80140233039856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:28:22.113262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/23/image_29112025_13_23_35_10656.jpg', '/home/pi/Desktop/images/29112025/13/23/image_29112025_13_23_45_9752.jpg', '/home/pi/Desktop/images/29112025/13/23/image_29112025_13_23_55_9759.jpg', '/home/pi/Desktop/images/29112025/13/23/image_29112025_13_24_04_9688.jpg', '/home/pi/Desktop/images/29112025/13/24/image_29112025_13_24_15_10658.jpg', '/home/pi/Desktop/images/29112025/13/24/image_29112025_13_24_25_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/23/image_29112025_13_23_35_10656.jpg
/home/pi/Desktop/images/29112025/13/23/image_29112025_13_23_45_9752.jpg
/home/pi/Desktop/images/29112025/13/23/image_29112025_13_23_55_9759.jpg
/home/pi/Desktop/images/29112025/13/23/image_29112025_13_24_04_9688.jpg
/home/pi/Desktop/images/29112025/13/24/image_29112025_13_24_15_10658.jpg
/home/pi/Desktop/images/29112025/13/24/image_29112025_13_24_25_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":["1396890031","1396890025","1396890040","1396890034","1396890028","1396890037"],"photo_ids_order":["1396890025","1396890028","1396890031","1396890034","1396890037","1396890040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f9a68ba0694a6f870d812599e848a5d.jpg","text":"TemporaryFile(/tmp/multipartBody2734927353599287006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419362866,"filename":"image_29112025_13_23_55_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a48538823829e76ff222ccbe092db27b.jpg","text":"TemporaryFile(/tmp/multipartBody7874276456897433504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419362866,"filename":"image_29112025_13_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/11/29/0e6d1afa3a30ae25da3504538eeb064d.jpg","text":"TemporaryFile(/tmp/multipartBody1974778454141411468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419362866,"filename":"image_29112025_13_24_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/11/29/ada429af0846da7074aec29b3d651a3f.jpg","text":"TemporaryFile(/tmp/multipartBody8225052124384451826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419362866,"filename":"image_29112025_13_24_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/11/29/57fc4298e09ee2d859b7fc68837a4108.jpg","text":"TemporaryFile(/tmp/multipartBody8748138929403990489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419362866,"filename":"image_29112025_13_23_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/11/29/2112449191a80136f99eb43b0e5a6edb.jpg","text":"TemporaryFile(/tmp/multipartBody609941957994177874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419362866,"filename":"image_29112025_13_24_15_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890031","file1":"1396890028","file0":"1396890025","file4":"1396890037","file5":"1396890040","file3":"1396890034"},"map_files_photo_id_array":[{"photo_id":"1396890040","filename":"file5"},{"photo_id":"1396890031","filename":"file2"},{"photo_id":"1396890037","filename":"file4"},{"photo_id":"1396890028","filename":"file1"},{"photo_id":"1396890025","filename":"file0"},{"photo_id":"1396890034","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890031":["hashtag1","hashtag2"]},{"1396890025":["hashtag1","hashtag2"]},{"1396890040":["hashtag1","hashtag2"]},{"1396890034":["hashtag1","hashtag2"]},{"1396890028":["hashtag1","hashtag2"]},{"1396890037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890031, 1396890025, 1396890040, 1396890034, 1396890028, 1396890037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.417144536972046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:29:03.210640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/24/image_29112025_13_24_35_9875.jpg', '/home/pi/Desktop/images/29112025/13/24/image_29112025_13_24_44_9632.jpg', '/home/pi/Desktop/images/29112025/13/24/image_29112025_13_24_55_10614.jpg', '/home/pi/Desktop/images/29112025/13/24/image_29112025_13_25_05_9789.jpg', '/home/pi/Desktop/images/29112025/13/25/image_29112025_13_25_15_10562.jpg', '/home/pi/Desktop/images/29112025/13/25/image_29112025_13_25_25_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/24/image_29112025_13_24_35_9875.jpg
/home/pi/Desktop/images/29112025/13/24/image_29112025_13_24_44_9632.jpg
/home/pi/Desktop/images/29112025/13/24/image_29112025_13_24_55_10614.jpg
/home/pi/Desktop/images/29112025/13/24/image_29112025_13_25_05_9789.jpg
/home/pi/Desktop/images/29112025/13/25/image_29112025_13_25_15_10562.jpg
/home/pi/Desktop/images/29112025/13/25/image_29112025_13_25_25_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":["1396890051","1396890045","1396890042","1396890044","1396890064","1396890046"],"photo_ids_order":["1396890042","1396890044","1396890045","1396890046","1396890051","1396890064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b81f902672a3cc8c279f5722276d4bf.jpg","text":"TemporaryFile(/tmp/multipartBody5125316131619729214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419404462,"filename":"image_29112025_13_25_15_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba871ea26743991d9e5c20a5bf78521c.jpg","text":"TemporaryFile(/tmp/multipartBody999411492252843573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419404462,"filename":"image_29112025_13_24_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f70f1bf8a624294dc40238fc1c2ecacf.jpg","text":"TemporaryFile(/tmp/multipartBody3023187056631263102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419404462,"filename":"image_29112025_13_24_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/11/29/cc8ddb88882591e88f96e593ae81ab70.jpg","text":"TemporaryFile(/tmp/multipartBody1938670446372581077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419404462,"filename":"image_29112025_13_24_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73276cb597695ea6ca38285dc80bf883.jpg","text":"TemporaryFile(/tmp/multipartBody3112925983133850509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419404462,"filename":"image_29112025_13_25_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/11/29/8a7e84edea50683779f6b617562b55d1.jpg","text":"TemporaryFile(/tmp/multipartBody8123111242118286793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419404462,"filename":"image_29112025_13_25_05_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890045","file1":"1396890044","file0":"1396890042","file4":"1396890051","file5":"1396890064","file3":"1396890046"},"map_files_photo_id_array":[{"photo_id":"1396890064","filename":"file5"},{"photo_id":"1396890045","filename":"file2"},{"photo_id":"1396890051","filename":"file4"},{"photo_id":"1396890044","filename":"file1"},{"photo_id":"1396890042","filename":"file0"},{"photo_id":"1396890046","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890051":["hashtag1","hashtag2"]},{"1396890045":["hashtag1","hashtag2"]},{"1396890042":["hashtag1","hashtag2"]},{"1396890044":["hashtag1","hashtag2"]},{"1396890064":["hashtag1","hashtag2"]},{"1396890046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890051, 1396890045, 1396890042, 1396890044, 1396890064, 1396890046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98767566680908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:29:42.438068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_55_2780.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_05_9910.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_06_1870.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_08_1638.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_10_1589.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_13_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/42/image_31102025_09_42_55_2780.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_05_9910.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_06_1870.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_08_1638.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_10_1589.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_13_3713.jpg
 val : 1 : upload photos 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":["1396890103","1396890112","1396890108","1396890098","1396890102","1396890101"],"photo_ids_order":["1396890098","1396890101","1396890102","1396890103","1396890108","1396890112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed3bbca5cad7350e5138d1ff52c8e399.jpg","text":"TemporaryFile(/tmp/multipartBody4501367689708886837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419443572,"filename":"image_31102025_09_43_08_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ba39b991294a197ce858ea56f04b21f.jpg","text":"TemporaryFile(/tmp/multipartBody5783828127787131422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419443572,"filename":"image_31102025_09_43_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/11/29/9cd120acbfff9ba2409ca6d457f5d367.jpg","text":"TemporaryFile(/tmp/multipartBody2399715142184086670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419443572,"filename":"image_31102025_09_43_10_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c0b202798cf2517a1fb07db598be8d6.jpg","text":"TemporaryFile(/tmp/multipartBody4186203203187418503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419443572,"filename":"image_31102025_09_42_55_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b90838029aa9ee943f9b5a7a208d77e3.jpg","text":"TemporaryFile(/tmp/multipartBody7815458676556341892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419443572,"filename":"image_31102025_09_43_06_1870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e68afccdf119ded20a1b54846e3c84a5.jpg","text":"TemporaryFile(/tmp/multipartBody8457102659122404125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419443572,"filename":"image_31102025_09_43_05_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890102","file1":"1396890101","file0":"1396890098","file4":"1396890108","file5":"1396890112","file3":"1396890103"},"map_files_photo_id_array":[{"photo_id":"1396890112","filename":"file5"},{"photo_id":"1396890102","filename":"file2"},{"photo_id":"1396890108","filename":"file4"},{"photo_id":"1396890101","filename":"file1"},{"photo_id":"1396890098","filename":"file0"},{"photo_id":"1396890103","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396890103":["hashtag1","hashtag2"]},{"1396890112":["hashtag1","hashtag2"]},{"1396890108":["hashtag1","hashtag2"]},{"1396890098":["hashtag1","hashtag2"]},{"1396890102":["hashtag1","hashtag2"]},{"1396890101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396890103, 1396890112, 1396890108, 1396890098, 1396890102, 1396890101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.63376569747925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:31:03.439590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/25/image_29112025_13_25_34_9300.jpg', '/home/pi/Desktop/images/29112025/13/25/image_29112025_13_25_45_10611.jpg', '/home/pi/Desktop/images/29112025/13/25/image_29112025_13_25_54_9557.jpg', '/home/pi/Desktop/images/29112025/13/25/image_29112025_13_26_04_10045.jpg', '/home/pi/Desktop/images/29112025/13/26/image_29112025_13_26_15_10702.jpg', '/home/pi/Desktop/images/29112025/13/26/image_29112025_13_26_25_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/25/image_29112025_13_25_34_9300.jpg
/home/pi/Desktop/images/29112025/13/25/image_29112025_13_25_45_10611.jpg
/home/pi/Desktop/images/29112025/13/25/image_29112025_13_25_54_9557.jpg
/home/pi/Desktop/images/29112025/13/25/image_29112025_13_26_04_10045.jpg
/home/pi/Desktop/images/29112025/13/26/image_29112025_13_26_15_10702.jpg
/home/pi/Desktop/images/29112025/13/26/image_29112025_13_26_25_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890124","1396890126","1396890134","1396890131","1396890128","1396890127"],"photo_ids_order":["1396890124","1396890126","1396890127","1396890128","1396890131","1396890134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7e6bcced741dee97c2137772b2eaff5.jpg","text":"TemporaryFile(/tmp/multipartBody6802755104595591430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419524252,"filename":"image_29112025_13_25_34_9300.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8efc30c78626c33123f88bf40d3d7c29.jpg","text":"TemporaryFile(/tmp/multipartBody3550549530850766894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419524252,"filename":"image_29112025_13_25_45_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/739f706c73e8e021485bd9fb8ccf144f.jpg","text":"TemporaryFile(/tmp/multipartBody5413247834400347406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419524252,"filename":"image_29112025_13_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/11/29/04c353026f9d4f515b02953b17155ba7.jpg","text":"TemporaryFile(/tmp/multipartBody5889273951025059651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419524252,"filename":"image_29112025_13_26_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c563423e9780e9a59fb14c91068d5cdf.jpg","text":"TemporaryFile(/tmp/multipartBody809687220839742438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419524252,"filename":"image_29112025_13_26_04_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c35e231ac76ab0188ff970a43c07927c.jpg","text":"TemporaryFile(/tmp/multipartBody234569685552986092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419524252,"filename":"image_29112025_13_25_54_9557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890127","file1":"1396890126","file0":"1396890124","file4":"1396890131","file5":"1396890134","file3":"1396890128"},"map_files_photo_id_array":[{"photo_id":"1396890134","filename":"file5"},{"photo_id":"1396890127","filename":"file2"},{"photo_id":"1396890131","filename":"file4"},{"photo_id":"1396890126","filename":"file1"},{"photo_id":"1396890124","filename":"file0"},{"photo_id":"1396890128","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890124":["hashtag1","hashtag2"]},{"1396890126":["hashtag1","hashtag2"]},{"1396890134":["hashtag1","hashtag2"]},{"1396890131":["hashtag1","hashtag2"]},{"1396890128":["hashtag1","hashtag2"]},{"1396890127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890124, 1396890126, 1396890134, 1396890131, 1396890128, 1396890127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.018754959106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:31:42.805865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_15_1894.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_17_1728.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_19_1688.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_22_3665.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_25_2761.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_28_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/09/43/image_31102025_09_43_15_1894.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_17_1728.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_19_1688.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_22_3665.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_25_2761.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_28_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":["1396890147","1396890149","1396890143","1396890146","1396890145","1396890148"],"photo_ids_order":["1396890143","1396890145","1396890146","1396890147","1396890148","1396890149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2059966544414c911529d8d4ea367db.jpg","text":"TemporaryFile(/tmp/multipartBody8745725365787323308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419564069,"filename":"image_31102025_09_43_22_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d461412e8567bb55526ab9faaaccb45.jpg","text":"TemporaryFile(/tmp/multipartBody2187382075489356699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419564069,"filename":"image_31102025_09_43_28_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f4229890bcd63ef91835222d8eab6e8.jpg","text":"TemporaryFile(/tmp/multipartBody3388134343469606856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419564069,"filename":"image_31102025_09_43_15_1894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9b251ca3bcd892d6ebf4359288f374b.jpg","text":"TemporaryFile(/tmp/multipartBody486722820846195452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419564069,"filename":"image_31102025_09_43_19_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3b11e08ed0c1b1e7dd83a0d250981b7.jpg","text":"TemporaryFile(/tmp/multipartBody4687598858397205830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419564069,"filename":"image_31102025_09_43_17_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/090e32269e7882c4d641aabf36a27707.jpg","text":"TemporaryFile(/tmp/multipartBody1691547667505661290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419564069,"filename":"image_31102025_09_43_25_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890146","file1":"1396890145","file0":"1396890143","file4":"1396890148","file5":"1396890149","file3":"1396890147"},"map_files_photo_id_array":[{"photo_id":"1396890149","filename":"file5"},{"photo_id":"1396890146","filename":"file2"},{"photo_id":"1396890148","filename":"file4"},{"photo_id":"1396890145","filename":"file1"},{"photo_id":"1396890143","filename":"file0"},{"photo_id":"1396890147","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396890147":["hashtag1","hashtag2"]},{"1396890149":["hashtag1","hashtag2"]},{"1396890143":["hashtag1","hashtag2"]},{"1396890146":["hashtag1","hashtag2"]},{"1396890145":["hashtag1","hashtag2"]},{"1396890148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396890147, 1396890149, 1396890143, 1396890146, 1396890145, 1396890148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25442457199097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:32:22.093250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/26/image_29112025_13_26_34_9578.jpg', '/home/pi/Desktop/images/29112025/13/26/image_29112025_13_26_44_9807.jpg', '/home/pi/Desktop/images/29112025/13/26/image_29112025_13_26_55_10684.jpg', '/home/pi/Desktop/images/29112025/13/26/image_29112025_13_27_04_9627.jpg', '/home/pi/Desktop/images/29112025/13/27/image_29112025_13_27_15_10626.jpg', '/home/pi/Desktop/images/29112025/13/27/image_29112025_13_27_25_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/26/image_29112025_13_26_34_9578.jpg
/home/pi/Desktop/images/29112025/13/26/image_29112025_13_26_44_9807.jpg
/home/pi/Desktop/images/29112025/13/26/image_29112025_13_26_55_10684.jpg
/home/pi/Desktop/images/29112025/13/26/image_29112025_13_27_04_9627.jpg
/home/pi/Desktop/images/29112025/13/27/image_29112025_13_27_15_10626.jpg
/home/pi/Desktop/images/29112025/13/27/image_29112025_13_27_25_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":["1396890167","1396890161","1396890164","1396890151","1396890154","1396890157"],"photo_ids_order":["1396890151","1396890154","1396890157","1396890161","1396890164","1396890167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a99f30d981c86160399612c9d5d2319.jpg","text":"TemporaryFile(/tmp/multipartBody7728801193911055156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419602803,"filename":"image_29112025_13_27_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/11/29/818d1dc91c9d45b498d30dd52bd4c900.jpg","text":"TemporaryFile(/tmp/multipartBody8452183934649764853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419602803,"filename":"image_29112025_13_27_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/11/29/d8cdb6ddedc48ae8460057ee53c1a17d.jpg","text":"TemporaryFile(/tmp/multipartBody8667773525497830933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419602803,"filename":"image_29112025_13_27_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d987c3305b9e342b4c8f580b13f22f78.jpg","text":"TemporaryFile(/tmp/multipartBody6244512583385181969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419602803,"filename":"image_29112025_13_26_34_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a89e5d14c192f2f46b1e33c39aab447f.jpg","text":"TemporaryFile(/tmp/multipartBody4949513248253695398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419602803,"filename":"image_29112025_13_26_44_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4bd669c4e54119d8915bd46293bf14e0.jpg","text":"TemporaryFile(/tmp/multipartBody4304779884017711332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419602803,"filename":"image_29112025_13_26_55_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890157","file1":"1396890154","file0":"1396890151","file4":"1396890164","file5":"1396890167","file3":"1396890161"},"map_files_photo_id_array":[{"photo_id":"1396890167","filename":"file5"},{"photo_id":"1396890157","filename":"file2"},{"photo_id":"1396890164","filename":"file4"},{"photo_id":"1396890154","filename":"file1"},{"photo_id":"1396890151","filename":"file0"},{"photo_id":"1396890161","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890167":["hashtag1","hashtag2"]},{"1396890161":["hashtag1","hashtag2"]},{"1396890164":["hashtag1","hashtag2"]},{"1396890151":["hashtag1","hashtag2"]},{"1396890154":["hashtag1","hashtag2"]},{"1396890157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890167, 1396890161, 1396890164, 1396890151, 1396890154, 1396890157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59850287437439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:33:02.787600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/27/image_29112025_13_27_34_9561.jpg', '/home/pi/Desktop/images/29112025/13/27/image_29112025_13_27_44_9948.jpg', '/home/pi/Desktop/images/29112025/13/27/image_29112025_13_27_55_10695.jpg', '/home/pi/Desktop/images/29112025/13/27/image_29112025_13_28_05_9676.jpg', '/home/pi/Desktop/images/29112025/13/28/image_29112025_13_28_15_10172.jpg', '/home/pi/Desktop/images/29112025/13/28/image_29112025_13_28_25_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/27/image_29112025_13_27_34_9561.jpg
/home/pi/Desktop/images/29112025/13/27/image_29112025_13_27_44_9948.jpg
/home/pi/Desktop/images/29112025/13/27/image_29112025_13_27_55_10695.jpg
/home/pi/Desktop/images/29112025/13/27/image_29112025_13_28_05_9676.jpg
/home/pi/Desktop/images/29112025/13/28/image_29112025_13_28_15_10172.jpg
/home/pi/Desktop/images/29112025/13/28/image_29112025_13_28_25_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890171","1396890170","1396890173","1396890178","1396890172","1396890175"],"photo_ids_order":["1396890170","1396890171","1396890172","1396890173","1396890175","1396890178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adcb2daa2551b6ebeb7a4e3796671077.jpg","text":"TemporaryFile(/tmp/multipartBody2324732025248644108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419643561,"filename":"image_29112025_13_27_44_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8331c6c99210539ac0ff4a8101eff7da.jpg","text":"TemporaryFile(/tmp/multipartBody7004144044510401392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419643561,"filename":"image_29112025_13_27_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/11/29/fb80256f5a5ffabb9ad5e9b1c6b15bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8365438546179041988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419643561,"filename":"image_29112025_13_28_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/11/29/54348a679abf50800d9fc2ad5e0c8e1e.jpg","text":"TemporaryFile(/tmp/multipartBody4003130921792711929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419643561,"filename":"image_29112025_13_28_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/11/29/fc5f5e79f6add85bb3b2485b6aeb2fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3337604874193126937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419643561,"filename":"image_29112025_13_27_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef5144ed396b0b5626ff3025b4ab3482.jpg","text":"TemporaryFile(/tmp/multipartBody4170071304252754918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419643561,"filename":"image_29112025_13_28_15_10172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890172","file1":"1396890171","file0":"1396890170","file4":"1396890175","file5":"1396890178","file3":"1396890173"},"map_files_photo_id_array":[{"photo_id":"1396890178","filename":"file5"},{"photo_id":"1396890172","filename":"file2"},{"photo_id":"1396890175","filename":"file4"},{"photo_id":"1396890171","filename":"file1"},{"photo_id":"1396890170","filename":"file0"},{"photo_id":"1396890173","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890171":["hashtag1","hashtag2"]},{"1396890170":["hashtag1","hashtag2"]},{"1396890173":["hashtag1","hashtag2"]},{"1396890178":["hashtag1","hashtag2"]},{"1396890172":["hashtag1","hashtag2"]},{"1396890175":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890171, 1396890170, 1396890173, 1396890178, 1396890172, 1396890175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44585132598877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:33:42.209164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_31_3604.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_36_4354.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_38_1919.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_40_2667.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_43_2860.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_46_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_31_3604.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_36_4354.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_38_1919.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_40_2667.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_43_2860.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_46_2575.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0809259414672852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:34:03.078300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/28/image_29112025_13_28_35_10236.jpg', '/home/pi/Desktop/images/29112025/13/28/image_29112025_13_28_45_10003.jpg', '/home/pi/Desktop/images/29112025/13/28/image_29112025_13_28_55_9736.jpg', '/home/pi/Desktop/images/29112025/13/28/image_29112025_13_29_04_9652.jpg', '/home/pi/Desktop/images/29112025/13/29/image_29112025_13_29_14_9971.jpg', '/home/pi/Desktop/images/29112025/13/29/image_29112025_13_29_25_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/28/image_29112025_13_28_35_10236.jpg
/home/pi/Desktop/images/29112025/13/28/image_29112025_13_28_45_10003.jpg
/home/pi/Desktop/images/29112025/13/28/image_29112025_13_28_55_9736.jpg
/home/pi/Desktop/images/29112025/13/28/image_29112025_13_29_04_9652.jpg
/home/pi/Desktop/images/29112025/13/29/image_29112025_13_29_14_9971.jpg
/home/pi/Desktop/images/29112025/13/29/image_29112025_13_29_25_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890192","1396890204","1396890201","1396890191","1396890196","1396890190"],"photo_ids_order":["1396890190","1396890191","1396890192","1396890196","1396890201","1396890204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59dd27688204894d666cdb9ddb1785b6.jpg","text":"TemporaryFile(/tmp/multipartBody5564624241360078906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419703843,"filename":"image_29112025_13_28_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/11/29/39839597469c760f607e2e7cc450fdfa.jpg","text":"TemporaryFile(/tmp/multipartBody29067032720213583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419703843,"filename":"image_29112025_13_29_25_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7810b4ea54bdee94fcc01b233ea2d7ff.jpg","text":"TemporaryFile(/tmp/multipartBody1025015746238121700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419703843,"filename":"image_29112025_13_29_14_9971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1fa2d1349a362fd3180b99168473721.jpg","text":"TemporaryFile(/tmp/multipartBody3340885155362589777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419703843,"filename":"image_29112025_13_28_45_10003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f749bfb6876d5a69460778ca7384bec9.jpg","text":"TemporaryFile(/tmp/multipartBody2771977862214115671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419703843,"filename":"image_29112025_13_29_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/11/29/d23fc27c6d492cf6c802a02173493d03.jpg","text":"TemporaryFile(/tmp/multipartBody7876389744250661909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419703843,"filename":"image_29112025_13_28_35_10236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890192","file1":"1396890191","file0":"1396890190","file4":"1396890201","file5":"1396890204","file3":"1396890196"},"map_files_photo_id_array":[{"photo_id":"1396890204","filename":"file5"},{"photo_id":"1396890192","filename":"file2"},{"photo_id":"1396890201","filename":"file4"},{"photo_id":"1396890191","filename":"file1"},{"photo_id":"1396890190","filename":"file0"},{"photo_id":"1396890196","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890192":["hashtag1","hashtag2"]},{"1396890204":["hashtag1","hashtag2"]},{"1396890201":["hashtag1","hashtag2"]},{"1396890191":["hashtag1","hashtag2"]},{"1396890196":["hashtag1","hashtag2"]},{"1396890190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890192, 1396890204, 1396890201, 1396890191, 1396890196, 1396890190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97701549530029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:34:42.389293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_31_3604.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_36_4354.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_38_1919.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_40_2667.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_43_2860.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_46_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_31_3604.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_36_4354.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_38_1919.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_40_2667.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_43_2860.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_46_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890237","1396890233","1396890236","1396890239","1396890238","1396890235"],"photo_ids_order":["1396890233","1396890235","1396890236","1396890237","1396890238","1396890239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f27d9097fa838210cb3ccdea3d950ab0.jpg","text":"TemporaryFile(/tmp/multipartBody2421055619680810387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419743360,"filename":"image_31102025_09_43_40_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfd3c157cc45d85dce94920f7bead8b6.jpg","text":"TemporaryFile(/tmp/multipartBody6967946939010040134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419743360,"filename":"image_31102025_09_43_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/11/29/2b80dd83f9a549f6548c4b8bceac4114.jpg","text":"TemporaryFile(/tmp/multipartBody8829071629670393553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419743360,"filename":"image_31102025_09_43_38_1919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89a06656e2fe75edd0cfaa6a81c7d8ce.jpg","text":"TemporaryFile(/tmp/multipartBody1867660462987277013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419743360,"filename":"image_31102025_09_43_46_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1953436ee8bbf89ad00fa8541fc9b22c.jpg","text":"TemporaryFile(/tmp/multipartBody7322403580057452510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419743360,"filename":"image_31102025_09_43_43_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a37951e0c913587d85e60f124047009.jpg","text":"TemporaryFile(/tmp/multipartBody5555644475622973048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419743360,"filename":"image_31102025_09_43_36_4354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890236","file1":"1396890235","file0":"1396890233","file4":"1396890238","file5":"1396890239","file3":"1396890237"},"map_files_photo_id_array":[{"photo_id":"1396890239","filename":"file5"},{"photo_id":"1396890236","filename":"file2"},{"photo_id":"1396890238","filename":"file4"},{"photo_id":"1396890235","filename":"file1"},{"photo_id":"1396890233","filename":"file0"},{"photo_id":"1396890237","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396890237":["hashtag1","hashtag2"]},{"1396890233":["hashtag1","hashtag2"]},{"1396890236":["hashtag1","hashtag2"]},{"1396890239":["hashtag1","hashtag2"]},{"1396890238":["hashtag1","hashtag2"]},{"1396890235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396890237, 1396890233, 1396890236, 1396890239, 1396890238, 1396890235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.905155181884766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:35:22.651830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/29/image_29112025_13_29_35_9629.jpg', '/home/pi/Desktop/images/29112025/13/29/image_29112025_13_29_44_9743.jpg', '/home/pi/Desktop/images/29112025/13/29/image_29112025_13_29_55_10688.jpg', '/home/pi/Desktop/images/29112025/13/30/image_29112025_13_30_14_10054.jpg', '/home/pi/Desktop/images/29112025/13/30/image_29112025_13_30_25_10690.jpg', '/home/pi/Desktop/images/29112025/13/30/image_29112025_13_30_35_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/29/image_29112025_13_29_35_9629.jpg
/home/pi/Desktop/images/29112025/13/29/image_29112025_13_29_44_9743.jpg
/home/pi/Desktop/images/29112025/13/29/image_29112025_13_29_55_10688.jpg
/home/pi/Desktop/images/29112025/13/30/image_29112025_13_30_14_10054.jpg
/home/pi/Desktop/images/29112025/13/30/image_29112025_13_30_25_10690.jpg
/home/pi/Desktop/images/29112025/13/30/image_29112025_13_30_35_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890369","1396890243","1396890345","1396890263","1396890305","1396890367"],"photo_ids_order":["1396890243","1396890263","1396890305","1396890345","1396890367","1396890369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2be66ff0016cb4852290dcdcc7c31412.jpg","text":"TemporaryFile(/tmp/multipartBody1586462271231033851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419783353,"filename":"image_29112025_13_30_35_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ac23e13f276556c69efc21a7ed74641.jpg","text":"TemporaryFile(/tmp/multipartBody5941470501990024259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419783353,"filename":"image_29112025_13_29_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/11/29/a4d6a18456c5dd329afd705700f0052f.jpg","text":"TemporaryFile(/tmp/multipartBody7976772477277137049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419783353,"filename":"image_29112025_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/11/29/2984c758044a5f91c54cc11008623b4e.jpg","text":"TemporaryFile(/tmp/multipartBody9076333718284514213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419783353,"filename":"image_29112025_13_29_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/11/29/818a0efeb84d727255fc1c31fb67b028.jpg","text":"TemporaryFile(/tmp/multipartBody6247951211894723666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419783353,"filename":"image_29112025_13_29_55_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6917aa00680aaa9e44b73c271c04265d.jpg","text":"TemporaryFile(/tmp/multipartBody7022829280216678168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419783353,"filename":"image_29112025_13_30_25_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890305","file1":"1396890263","file0":"1396890243","file4":"1396890367","file5":"1396890369","file3":"1396890345"},"map_files_photo_id_array":[{"photo_id":"1396890369","filename":"file5"},{"photo_id":"1396890305","filename":"file2"},{"photo_id":"1396890367","filename":"file4"},{"photo_id":"1396890263","filename":"file1"},{"photo_id":"1396890243","filename":"file0"},{"photo_id":"1396890345","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890369":["hashtag1","hashtag2"]},{"1396890243":["hashtag1","hashtag2"]},{"1396890345":["hashtag1","hashtag2"]},{"1396890263":["hashtag1","hashtag2"]},{"1396890305":["hashtag1","hashtag2"]},{"1396890367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890369, 1396890243, 1396890345, 1396890263, 1396890305, 1396890367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.213717222213745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:36:03.191844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/30/image_29112025_13_30_45_10582.jpg', '/home/pi/Desktop/images/29112025/13/30/image_29112025_13_30_55_9633.jpg', '/home/pi/Desktop/images/29112025/13/30/image_29112025_13_31_04_9630.jpg', '/home/pi/Desktop/images/29112025/13/31/image_29112025_13_31_15_10673.jpg', '/home/pi/Desktop/images/29112025/13/31/image_29112025_13_31_25_10126.jpg', '/home/pi/Desktop/images/29112025/13/31/image_29112025_13_31_35_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/30/image_29112025_13_30_45_10582.jpg
/home/pi/Desktop/images/29112025/13/30/image_29112025_13_30_55_9633.jpg
/home/pi/Desktop/images/29112025/13/30/image_29112025_13_31_04_9630.jpg
/home/pi/Desktop/images/29112025/13/31/image_29112025_13_31_15_10673.jpg
/home/pi/Desktop/images/29112025/13/31/image_29112025_13_31_25_10126.jpg
/home/pi/Desktop/images/29112025/13/31/image_29112025_13_31_35_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890375","1396890377","1396890380","1396890374","1396890373","1396890370"],"photo_ids_order":["1396890370","1396890373","1396890374","1396890375","1396890377","1396890380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31da4ee36ab00c3a402fa1680e57ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody9170894264297115987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419823931,"filename":"image_29112025_13_31_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/11/29/c16663f1eedeb474201adf2164d3fb70.jpg","text":"TemporaryFile(/tmp/multipartBody5094535351080180759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419823931,"filename":"image_29112025_13_31_25_10126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1eb2eb1569d641e92fc21031510c096.jpg","text":"TemporaryFile(/tmp/multipartBody6083520361032576238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419823931,"filename":"image_29112025_13_31_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/900850df2f3c36b3782c009ebcb6c204.jpg","text":"TemporaryFile(/tmp/multipartBody4024286464117587323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419823931,"filename":"image_29112025_13_31_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91bea40cd8039a8a23e9687bfa143a6d.jpg","text":"TemporaryFile(/tmp/multipartBody4885083721246177654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419823931,"filename":"image_29112025_13_30_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4349ff9da0291d6ead1bd2cc23cb2ace.jpg","text":"TemporaryFile(/tmp/multipartBody2797688637596881323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419823931,"filename":"image_29112025_13_30_45_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890374","file1":"1396890373","file0":"1396890370","file4":"1396890377","file5":"1396890380","file3":"1396890375"},"map_files_photo_id_array":[{"photo_id":"1396890380","filename":"file5"},{"photo_id":"1396890374","filename":"file2"},{"photo_id":"1396890377","filename":"file4"},{"photo_id":"1396890373","filename":"file1"},{"photo_id":"1396890370","filename":"file0"},{"photo_id":"1396890375","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890375":["hashtag1","hashtag2"]},{"1396890377":["hashtag1","hashtag2"]},{"1396890380":["hashtag1","hashtag2"]},{"1396890374":["hashtag1","hashtag2"]},{"1396890373":["hashtag1","hashtag2"]},{"1396890370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890375, 1396890377, 1396890380, 1396890374, 1396890373, 1396890370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93935418128967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:36:42.837319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_48_2716.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_52_3833.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_55_2731.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_58_2612.jpg', '/home/pi/Desktop/images/31102025/09/43/image_31102025_09_44_01_3685.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_04_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_48_2716.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_52_3833.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_55_2731.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_43_58_2612.jpg
/home/pi/Desktop/images/31102025/09/43/image_31102025_09_44_01_3685.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_04_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890421","1396890426","1396890428","1396890416","1396890425","1396890427"],"photo_ids_order":["1396890416","1396890421","1396890425","1396890426","1396890427","1396890428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dbd00885fa7a1a33d617560731180519.jpg","text":"TemporaryFile(/tmp/multipartBody5861070150284102171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419864001,"filename":"image_31102025_09_43_52_3833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d47434b7bf8bfc4dde03c65eda99bae.jpg","text":"TemporaryFile(/tmp/multipartBody194720551250785116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419864001,"filename":"image_31102025_09_43_58_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5994837e21afef630828af876c636c9.jpg","text":"TemporaryFile(/tmp/multipartBody4865120530151264105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419864001,"filename":"image_31102025_09_44_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/11/29/ec636514101a032ea83a9e47c7bb9f9d.jpg","text":"TemporaryFile(/tmp/multipartBody2065426823882567123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419864001,"filename":"image_31102025_09_43_48_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e87d0b9be976e49c293f8d8d24ec081.jpg","text":"TemporaryFile(/tmp/multipartBody6566024940842807381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419864001,"filename":"image_31102025_09_43_55_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b02d2fcfcc95b59e672176cfc927483f.jpg","text":"TemporaryFile(/tmp/multipartBody1638266428256548809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419864001,"filename":"image_31102025_09_44_01_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890425","file1":"1396890421","file0":"1396890416","file4":"1396890427","file5":"1396890428","file3":"1396890426"},"map_files_photo_id_array":[{"photo_id":"1396890428","filename":"file5"},{"photo_id":"1396890425","filename":"file2"},{"photo_id":"1396890427","filename":"file4"},{"photo_id":"1396890421","filename":"file1"},{"photo_id":"1396890416","filename":"file0"},{"photo_id":"1396890426","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396890421":["hashtag1","hashtag2"]},{"1396890426":["hashtag1","hashtag2"]},{"1396890428":["hashtag1","hashtag2"]},{"1396890416":["hashtag1","hashtag2"]},{"1396890425":["hashtag1","hashtag2"]},{"1396890427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396890421, 1396890426, 1396890428, 1396890416, 1396890425, 1396890427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.295085430145264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:37:22.017798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/31/image_29112025_13_31_45_9751.jpg', '/home/pi/Desktop/images/29112025/13/31/image_29112025_13_31_55_9779.jpg', '/home/pi/Desktop/images/29112025/13/32/image_29112025_13_32_15_10841.jpg', '/home/pi/Desktop/images/29112025/13/32/image_29112025_13_32_25_10112.jpg', '/home/pi/Desktop/images/29112025/13/32/image_29112025_13_32_35_9892.jpg', '/home/pi/Desktop/images/29112025/13/32/image_29112025_13_32_45_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/31/image_29112025_13_31_45_9751.jpg
/home/pi/Desktop/images/29112025/13/31/image_29112025_13_31_55_9779.jpg
/home/pi/Desktop/images/29112025/13/32/image_29112025_13_32_15_10841.jpg
/home/pi/Desktop/images/29112025/13/32/image_29112025_13_32_25_10112.jpg
/home/pi/Desktop/images/29112025/13/32/image_29112025_13_32_35_9892.jpg
/home/pi/Desktop/images/29112025/13/32/image_29112025_13_32_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":["1396890447","1396890444","1396890431","1396890440","1396890434","1396890437"],"photo_ids_order":["1396890431","1396890434","1396890437","1396890440","1396890444","1396890447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a3a33e2fc4ed1309bac0f25ed004e70.jpg","text":"TemporaryFile(/tmp/multipartBody5106794598875795224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419902722,"filename":"image_29112025_13_32_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/11/29/37b0b0fbd2b2981b9e41342456fce0b4.jpg","text":"TemporaryFile(/tmp/multipartBody3982149047586506695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419902722,"filename":"image_29112025_13_32_35_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe6ea82dd49948699542fc51958e0b34.jpg","text":"TemporaryFile(/tmp/multipartBody5213661890312844116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419902722,"filename":"image_29112025_13_31_45_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1011cf2de78b7c31beae69d1b4d119a2.jpg","text":"TemporaryFile(/tmp/multipartBody289840606912980149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419902722,"filename":"image_29112025_13_32_25_10112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6031a8a89d49eb27db8d94a4ebba652.jpg","text":"TemporaryFile(/tmp/multipartBody2071743112929778577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419902722,"filename":"image_29112025_13_31_55_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea80a25195c499b0efec3fea4ec547a6.jpg","text":"TemporaryFile(/tmp/multipartBody3482121262131871597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419902722,"filename":"image_29112025_13_32_15_10841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890437","file1":"1396890434","file0":"1396890431","file4":"1396890444","file5":"1396890447","file3":"1396890440"},"map_files_photo_id_array":[{"photo_id":"1396890447","filename":"file5"},{"photo_id":"1396890437","filename":"file2"},{"photo_id":"1396890444","filename":"file4"},{"photo_id":"1396890434","filename":"file1"},{"photo_id":"1396890431","filename":"file0"},{"photo_id":"1396890440","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890447":["hashtag1","hashtag2"]},{"1396890444":["hashtag1","hashtag2"]},{"1396890431":["hashtag1","hashtag2"]},{"1396890440":["hashtag1","hashtag2"]},{"1396890434":["hashtag1","hashtag2"]},{"1396890437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890447, 1396890444, 1396890431, 1396890440, 1396890434, 1396890437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17343521118164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:38:02.635026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/32/image_29112025_13_32_55_10182.jpg', '/home/pi/Desktop/images/29112025/13/33/image_29112025_13_33_15_9856.jpg', '/home/pi/Desktop/images/29112025/13/33/image_29112025_13_33_25_10619.jpg', '/home/pi/Desktop/images/29112025/13/33/image_29112025_13_33_35_9569.jpg', '/home/pi/Desktop/images/29112025/13/33/image_29112025_13_33_44_9735.jpg', '/home/pi/Desktop/images/29112025/13/33/image_29112025_13_33_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/32/image_29112025_13_32_55_10182.jpg
/home/pi/Desktop/images/29112025/13/33/image_29112025_13_33_15_9856.jpg
/home/pi/Desktop/images/29112025/13/33/image_29112025_13_33_25_10619.jpg
/home/pi/Desktop/images/29112025/13/33/image_29112025_13_33_35_9569.jpg
/home/pi/Desktop/images/29112025/13/33/image_29112025_13_33_44_9735.jpg
/home/pi/Desktop/images/29112025/13/33/image_29112025_13_33_55_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890453","1396890456","1396890450","1396890449","1396890451","1396890448"],"photo_ids_order":["1396890448","1396890449","1396890450","1396890451","1396890453","1396890456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b56ba44ef3c60e47326c99e03840a94.jpg","text":"TemporaryFile(/tmp/multipartBody1043818540551119728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419943362,"filename":"image_29112025_13_33_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/11/29/fcd3ef7545869850ebdd60fe6ab1ae69.jpg","text":"TemporaryFile(/tmp/multipartBody5457541533457145328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419943362,"filename":"image_29112025_13_33_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/11/29/6d99c433332d242529e13dda6b67e6a5.jpg","text":"TemporaryFile(/tmp/multipartBody1517698081629426263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419943362,"filename":"image_29112025_13_33_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1647455f02c34ed240060a6c83ecbb83.jpg","text":"TemporaryFile(/tmp/multipartBody4947543655711983188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419943362,"filename":"image_29112025_13_33_15_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/513dd2caa91bc4fbe00076c52e5d95f6.jpg","text":"TemporaryFile(/tmp/multipartBody782201149777401857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419943362,"filename":"image_29112025_13_33_35_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a52ddb2c32327d03a66911017eb2502c.jpg","text":"TemporaryFile(/tmp/multipartBody2124910099391295225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419943362,"filename":"image_29112025_13_32_55_10182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890450","file1":"1396890449","file0":"1396890448","file4":"1396890453","file5":"1396890456","file3":"1396890451"},"map_files_photo_id_array":[{"photo_id":"1396890456","filename":"file5"},{"photo_id":"1396890450","filename":"file2"},{"photo_id":"1396890453","filename":"file4"},{"photo_id":"1396890449","filename":"file1"},{"photo_id":"1396890448","filename":"file0"},{"photo_id":"1396890451","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890453":["hashtag1","hashtag2"]},{"1396890456":["hashtag1","hashtag2"]},{"1396890450":["hashtag1","hashtag2"]},{"1396890449":["hashtag1","hashtag2"]},{"1396890451":["hashtag1","hashtag2"]},{"1396890448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890453, 1396890456, 1396890450, 1396890449, 1396890451, 1396890448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.488900661468506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:38:42.193041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_07_2839.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_09_2648.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_13_3657.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_16_2719.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_18_2651.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_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/09/44/image_31102025_09_44_07_2839.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_09_2648.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_13_3657.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_16_2719.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_18_2651.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_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":["1396890502","1396890474","1396890497","1396890487","1396890496","1396890466"],"photo_ids_order":["1396890466","1396890474","1396890487","1396890496","1396890497","1396890502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76eed94da2a88521cc20ac93c1e40c01.jpg","text":"TemporaryFile(/tmp/multipartBody4787981054881597694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419983318,"filename":"image_31102025_09_44_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/11/29/b4f51773ec79917c29200f24790f9fab.jpg","text":"TemporaryFile(/tmp/multipartBody3735185716524655423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419983318,"filename":"image_31102025_09_44_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/11/29/89114a26b76b0a2252b69da51f479f4a.jpg","text":"TemporaryFile(/tmp/multipartBody3624765453684586098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419983318,"filename":"image_31102025_09_44_18_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da4981b346083e131443ac7852708ebd.jpg","text":"TemporaryFile(/tmp/multipartBody7011241799856329693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419983318,"filename":"image_31102025_09_44_13_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ae11c056401e93b38b4cb65f111c3a0.jpg","text":"TemporaryFile(/tmp/multipartBody5909203729288185311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419983318,"filename":"image_31102025_09_44_16_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5abd4aaadd6040ddedb998010a7a49b.jpg","text":"TemporaryFile(/tmp/multipartBody5232945698025388576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764419983318,"filename":"image_31102025_09_44_07_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890487","file1":"1396890474","file0":"1396890466","file4":"1396890497","file5":"1396890502","file3":"1396890496"},"map_files_photo_id_array":[{"photo_id":"1396890502","filename":"file5"},{"photo_id":"1396890487","filename":"file2"},{"photo_id":"1396890497","filename":"file4"},{"photo_id":"1396890474","filename":"file1"},{"photo_id":"1396890466","filename":"file0"},{"photo_id":"1396890496","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396890502":["hashtag1","hashtag2"]},{"1396890474":["hashtag1","hashtag2"]},{"1396890497":["hashtag1","hashtag2"]},{"1396890487":["hashtag1","hashtag2"]},{"1396890496":["hashtag1","hashtag2"]},{"1396890466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396890502, 1396890474, 1396890497, 1396890487, 1396890496, 1396890466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29099678993225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:39:22.348505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/33/image_29112025_13_34_05_9654.jpg', '/home/pi/Desktop/images/29112025/13/34/image_29112025_13_34_14_9686.jpg', '/home/pi/Desktop/images/29112025/13/34/image_29112025_13_34_25_10767.jpg', '/home/pi/Desktop/images/29112025/13/34/image_29112025_13_34_35_9726.jpg', '/home/pi/Desktop/images/29112025/13/34/image_29112025_13_34_55_9728.jpg', '/home/pi/Desktop/images/29112025/13/34/image_29112025_13_35_05_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/33/image_29112025_13_34_05_9654.jpg
/home/pi/Desktop/images/29112025/13/34/image_29112025_13_34_14_9686.jpg
/home/pi/Desktop/images/29112025/13/34/image_29112025_13_34_25_10767.jpg
/home/pi/Desktop/images/29112025/13/34/image_29112025_13_34_35_9726.jpg
/home/pi/Desktop/images/29112025/13/34/image_29112025_13_34_55_9728.jpg
/home/pi/Desktop/images/29112025/13/34/image_29112025_13_35_05_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":["1396890564","1396890553","1396890562","1396890556","1396890559","1396890550"],"photo_ids_order":["1396890550","1396890553","1396890556","1396890559","1396890562","1396890564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a3988160576b3d6c624201a2f3d6d40.jpg","text":"TemporaryFile(/tmp/multipartBody3606263473301005744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420023051,"filename":"image_29112025_13_35_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63e28b3ea223973bf54a4a5286a52289.jpg","text":"TemporaryFile(/tmp/multipartBody5676375365423016894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420023051,"filename":"image_29112025_13_34_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/11/29/77ea9bf1175912bc0e31e256e00fe408.jpg","text":"TemporaryFile(/tmp/multipartBody1214368041382268244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420023051,"filename":"image_29112025_13_34_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/11/29/c49293be04a2fbcb79d3055ba2b3d6d8.jpg","text":"TemporaryFile(/tmp/multipartBody2584194014762687580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420023051,"filename":"image_29112025_13_34_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/11/29/4ee4d64f3b054c205cd2aa2c3c41f65a.jpg","text":"TemporaryFile(/tmp/multipartBody7719851082463185591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420023051,"filename":"image_29112025_13_34_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/11/29/c738fa2701016bb5888f838b6559911a.jpg","text":"TemporaryFile(/tmp/multipartBody2510366333214274509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420023051,"filename":"image_29112025_13_34_05_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890556","file1":"1396890553","file0":"1396890550","file4":"1396890562","file5":"1396890564","file3":"1396890559"},"map_files_photo_id_array":[{"photo_id":"1396890564","filename":"file5"},{"photo_id":"1396890556","filename":"file2"},{"photo_id":"1396890562","filename":"file4"},{"photo_id":"1396890553","filename":"file1"},{"photo_id":"1396890550","filename":"file0"},{"photo_id":"1396890559","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890564":["hashtag1","hashtag2"]},{"1396890553":["hashtag1","hashtag2"]},{"1396890562":["hashtag1","hashtag2"]},{"1396890556":["hashtag1","hashtag2"]},{"1396890559":["hashtag1","hashtag2"]},{"1396890550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890564, 1396890553, 1396890562, 1396890556, 1396890559, 1396890550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43309020996094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:40:03.010940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/35/image_29112025_13_35_15_9648.jpg', '/home/pi/Desktop/images/29112025/13/35/image_29112025_13_35_24_9658.jpg', '/home/pi/Desktop/images/29112025/13/35/image_29112025_13_35_45_9516.jpg', '/home/pi/Desktop/images/29112025/13/35/image_29112025_13_36_05_10650.jpg', '/home/pi/Desktop/images/29112025/13/36/image_29112025_13_36_45_9781.jpg', '/home/pi/Desktop/images/29112025/13/36/image_29112025_13_36_55_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/35/image_29112025_13_35_15_9648.jpg
/home/pi/Desktop/images/29112025/13/35/image_29112025_13_35_24_9658.jpg
/home/pi/Desktop/images/29112025/13/35/image_29112025_13_35_45_9516.jpg
/home/pi/Desktop/images/29112025/13/35/image_29112025_13_36_05_10650.jpg
/home/pi/Desktop/images/29112025/13/36/image_29112025_13_36_45_9781.jpg
/home/pi/Desktop/images/29112025/13/36/image_29112025_13_36_55_10537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890696","1396890699","1396890692","1396890689","1396890694","1396890693"],"photo_ids_order":["1396890689","1396890692","1396890693","1396890694","1396890696","1396890699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05a500feafe9bbbd3358e39aec4525a5.jpg","text":"TemporaryFile(/tmp/multipartBody7204069831330172659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420063769,"filename":"image_29112025_13_36_45_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a2662aa5fc0f6c67c114257f5434260.jpg","text":"TemporaryFile(/tmp/multipartBody3568502275753689966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420063769,"filename":"image_29112025_13_36_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/11/29/53aa0a2c63a87e1cce7ecb7290754bd8.jpg","text":"TemporaryFile(/tmp/multipartBody3292832837976027378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420063769,"filename":"image_29112025_13_35_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/11/29/ba9e6e5466fa283e334eadf2d556040c.jpg","text":"TemporaryFile(/tmp/multipartBody4412480901769255082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420063769,"filename":"image_29112025_13_35_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/11/29/fa962e18dd9d7b9f7b250f9a7d338113.jpg","text":"TemporaryFile(/tmp/multipartBody8854317171145379181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420063769,"filename":"image_29112025_13_36_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/11/29/720a901450eba61842ed716651d1f4d8.jpg","text":"TemporaryFile(/tmp/multipartBody8244274237181318964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420063769,"filename":"image_29112025_13_35_45_9516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890693","file1":"1396890692","file0":"1396890689","file4":"1396890696","file5":"1396890699","file3":"1396890694"},"map_files_photo_id_array":[{"photo_id":"1396890699","filename":"file5"},{"photo_id":"1396890693","filename":"file2"},{"photo_id":"1396890696","filename":"file4"},{"photo_id":"1396890692","filename":"file1"},{"photo_id":"1396890689","filename":"file0"},{"photo_id":"1396890694","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890696":["hashtag1","hashtag2"]},{"1396890699":["hashtag1","hashtag2"]},{"1396890692":["hashtag1","hashtag2"]},{"1396890689":["hashtag1","hashtag2"]},{"1396890694":["hashtag1","hashtag2"]},{"1396890693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890696, 1396890699, 1396890692, 1396890689, 1396890694, 1396890693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.569408893585205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:40:42.612329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_25_2736.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_28_2724.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_31_2911.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_34_3685.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_37_2815.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_40_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_25_2736.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_28_2724.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_31_2911.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_34_3685.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_37_2815.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_40_2756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890744","1396890747","1396890741","1396890746","1396890748","1396890745"],"photo_ids_order":["1396890741","1396890744","1396890745","1396890746","1396890747","1396890748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55d437d1d8db9d5412cadaa6fb4eea7f.jpg","text":"TemporaryFile(/tmp/multipartBody1051240018502802856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420103902,"filename":"image_31102025_09_44_28_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c619b741776558b2df93fa8e0ec9ddc.jpg","text":"TemporaryFile(/tmp/multipartBody1288853596100901600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420103902,"filename":"image_31102025_09_44_37_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/144eef6cc4ef16cb123a5ee7c7d6405a.jpg","text":"TemporaryFile(/tmp/multipartBody2099694488965810166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420103902,"filename":"image_31102025_09_44_25_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/202543138e15d5dfb57919dc6b001108.jpg","text":"TemporaryFile(/tmp/multipartBody4613819151181058094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420103902,"filename":"image_31102025_09_44_34_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2c3a3f16864d4744b7f744ba3affc54.jpg","text":"TemporaryFile(/tmp/multipartBody5120081639692836489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420103902,"filename":"image_31102025_09_44_40_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94bd22fa3e179b7c3131f442bf127478.jpg","text":"TemporaryFile(/tmp/multipartBody5267136217339962834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420103902,"filename":"image_31102025_09_44_31_2911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890745","file1":"1396890744","file0":"1396890741","file4":"1396890747","file5":"1396890748","file3":"1396890746"},"map_files_photo_id_array":[{"photo_id":"1396890748","filename":"file5"},{"photo_id":"1396890745","filename":"file2"},{"photo_id":"1396890747","filename":"file4"},{"photo_id":"1396890744","filename":"file1"},{"photo_id":"1396890741","filename":"file0"},{"photo_id":"1396890746","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396890744":["hashtag1","hashtag2"]},{"1396890747":["hashtag1","hashtag2"]},{"1396890741":["hashtag1","hashtag2"]},{"1396890746":["hashtag1","hashtag2"]},{"1396890748":["hashtag1","hashtag2"]},{"1396890745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396890744, 1396890747, 1396890741, 1396890746, 1396890748, 1396890745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84932494163513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:41:22.772467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/36/image_29112025_13_37_05_9724.jpg', '/home/pi/Desktop/images/29112025/13/37/image_29112025_13_37_15_9882.jpg', '/home/pi/Desktop/images/29112025/13/37/image_29112025_13_37_25_9777.jpg', '/home/pi/Desktop/images/29112025/13/37/image_29112025_13_37_45_9827.jpg', '/home/pi/Desktop/images/29112025/13/37/image_29112025_13_37_55_9675.jpg', '/home/pi/Desktop/images/29112025/13/38/image_29112025_13_38_25_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/36/image_29112025_13_37_05_9724.jpg
/home/pi/Desktop/images/29112025/13/37/image_29112025_13_37_15_9882.jpg
/home/pi/Desktop/images/29112025/13/37/image_29112025_13_37_25_9777.jpg
/home/pi/Desktop/images/29112025/13/37/image_29112025_13_37_45_9827.jpg
/home/pi/Desktop/images/29112025/13/37/image_29112025_13_37_55_9675.jpg
/home/pi/Desktop/images/29112025/13/38/image_29112025_13_38_25_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890783","1396890761","1396890770","1396890752","1396890809","1396890792"],"photo_ids_order":["1396890752","1396890761","1396890770","1396890783","1396890792","1396890809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/230da5c975faa1d9980b201dfcac07eb.jpg","text":"TemporaryFile(/tmp/multipartBody4730364263296935723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420143492,"filename":"image_29112025_13_37_45_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/360343cf1832fd1a316b0c6ddea2f051.jpg","text":"TemporaryFile(/tmp/multipartBody595047507949553097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420143492,"filename":"image_29112025_13_37_15_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5d3bc4206571b8fe3d59ea373ac42c1.jpg","text":"TemporaryFile(/tmp/multipartBody2507860988734724094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420143492,"filename":"image_29112025_13_37_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/11/29/b5f142fd6f9ec6b117c99da1591337be.jpg","text":"TemporaryFile(/tmp/multipartBody7030749405527373052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420143492,"filename":"image_29112025_13_37_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/11/29/33642a2478589eda26dd56758e30d0df.jpg","text":"TemporaryFile(/tmp/multipartBody3130158211337686043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420143492,"filename":"image_29112025_13_38_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/11/29/d9fa46d1e19c1b33cf236d59bcdcf2c0.jpg","text":"TemporaryFile(/tmp/multipartBody1162448307406024214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420143492,"filename":"image_29112025_13_37_55_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890770","file1":"1396890761","file0":"1396890752","file4":"1396890792","file5":"1396890809","file3":"1396890783"},"map_files_photo_id_array":[{"photo_id":"1396890809","filename":"file5"},{"photo_id":"1396890770","filename":"file2"},{"photo_id":"1396890792","filename":"file4"},{"photo_id":"1396890761","filename":"file1"},{"photo_id":"1396890752","filename":"file0"},{"photo_id":"1396890783","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890783":["hashtag1","hashtag2"]},{"1396890761":["hashtag1","hashtag2"]},{"1396890770":["hashtag1","hashtag2"]},{"1396890752":["hashtag1","hashtag2"]},{"1396890809":["hashtag1","hashtag2"]},{"1396890792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890783, 1396890761, 1396890770, 1396890752, 1396890809, 1396890792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.982499837875366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:42:02.598438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/38/image_29112025_13_38_35_9624.jpg', '/home/pi/Desktop/images/29112025/13/38/image_29112025_13_38_55_10913.jpg', '/home/pi/Desktop/images/29112025/13/39/image_29112025_13_39_25_9765.jpg', '/home/pi/Desktop/images/29112025/13/39/image_29112025_13_39_44_9846.jpg', '/home/pi/Desktop/images/29112025/13/39/image_29112025_13_40_05_9633.jpg', '/home/pi/Desktop/images/29112025/13/40/image_29112025_13_40_25_10709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/38/image_29112025_13_38_35_9624.jpg
/home/pi/Desktop/images/29112025/13/38/image_29112025_13_38_55_10913.jpg
/home/pi/Desktop/images/29112025/13/39/image_29112025_13_39_25_9765.jpg
/home/pi/Desktop/images/29112025/13/39/image_29112025_13_39_44_9846.jpg
/home/pi/Desktop/images/29112025/13/39/image_29112025_13_40_05_9633.jpg
/home/pi/Desktop/images/29112025/13/40/image_29112025_13_40_25_10709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396890930","1396890933","1396890935","1396890929","1396890931","1396890928"],"photo_ids_order":["1396890928","1396890929","1396890930","1396890931","1396890933","1396890935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f466a30117882ce96b970a7f3128eef6.jpg","text":"TemporaryFile(/tmp/multipartBody7750336853287535072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420183349,"filename":"image_29112025_13_39_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/11/29/ee42cb9f606c579a5bb14068a2558f8b.jpg","text":"TemporaryFile(/tmp/multipartBody2683802907841330406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420183349,"filename":"image_29112025_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/11/29/79a3bfdab9d7a5e93de8d3ce064a7225.jpg","text":"TemporaryFile(/tmp/multipartBody2896417643098040812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420183349,"filename":"image_29112025_13_40_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/11/29/5638a67801be72203a76d1e717e7f79d.jpg","text":"TemporaryFile(/tmp/multipartBody2396703717627323500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420183349,"filename":"image_29112025_13_38_55_10913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d75303609b595dc46ea6c9af9392dba3.jpg","text":"TemporaryFile(/tmp/multipartBody1539667704280111708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420183349,"filename":"image_29112025_13_39_44_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c4ff283b5fc00269eb9584242ede10c.jpg","text":"TemporaryFile(/tmp/multipartBody19693010250586188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420183349,"filename":"image_29112025_13_38_35_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890930","file1":"1396890929","file0":"1396890928","file4":"1396890933","file5":"1396890935","file3":"1396890931"},"map_files_photo_id_array":[{"photo_id":"1396890935","filename":"file5"},{"photo_id":"1396890930","filename":"file2"},{"photo_id":"1396890933","filename":"file4"},{"photo_id":"1396890929","filename":"file1"},{"photo_id":"1396890928","filename":"file0"},{"photo_id":"1396890931","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396890930":["hashtag1","hashtag2"]},{"1396890933":["hashtag1","hashtag2"]},{"1396890935":["hashtag1","hashtag2"]},{"1396890929":["hashtag1","hashtag2"]},{"1396890931":["hashtag1","hashtag2"]},{"1396890928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396890930, 1396890933, 1396890935, 1396890929, 1396890931, 1396890928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60250163078308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:42:42.067763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_43_2721.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_45_2793.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_49_3852.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_52_2611.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_55_2830.jpg', '/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_57_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/09/44/image_31102025_09_44_43_2721.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_45_2793.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_49_3852.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_52_2611.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_55_2830.jpg
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_44_57_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":["1396890981","1396890966","1396890951","1396890945","1396890971","1396890949"],"photo_ids_order":["1396890945","1396890949","1396890951","1396890966","1396890971","1396890981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4392d45608c980e38130249d0e9a3e30.jpg","text":"TemporaryFile(/tmp/multipartBody716546077055584827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420223201,"filename":"image_31102025_09_44_57_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0cd0650d9aa52ea8670d28e975800c88.jpg","text":"TemporaryFile(/tmp/multipartBody4285106536982996576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420223201,"filename":"image_31102025_09_44_52_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e79b0d772d754cabe4a4fb58ab50b2b.jpg","text":"TemporaryFile(/tmp/multipartBody8920947682209302346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420223201,"filename":"image_31102025_09_44_49_3852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5b653790f30cd141dca24c44463ec45.jpg","text":"TemporaryFile(/tmp/multipartBody1917932339103225515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420223201,"filename":"image_31102025_09_44_43_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c19097875c169f60f0bae3ea1f463d61.jpg","text":"TemporaryFile(/tmp/multipartBody7322879283156305980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420223201,"filename":"image_31102025_09_44_55_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3f84adf9a14d8546342036105b50f98.jpg","text":"TemporaryFile(/tmp/multipartBody6563501659326096117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420223201,"filename":"image_31102025_09_44_45_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396890951","file1":"1396890949","file0":"1396890945","file4":"1396890971","file5":"1396890981","file3":"1396890966"},"map_files_photo_id_array":[{"photo_id":"1396890981","filename":"file5"},{"photo_id":"1396890951","filename":"file2"},{"photo_id":"1396890971","filename":"file4"},{"photo_id":"1396890949","filename":"file1"},{"photo_id":"1396890945","filename":"file0"},{"photo_id":"1396890966","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396890981":["hashtag1","hashtag2"]},{"1396890966":["hashtag1","hashtag2"]},{"1396890951":["hashtag1","hashtag2"]},{"1396890945":["hashtag1","hashtag2"]},{"1396890971":["hashtag1","hashtag2"]},{"1396890949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396890981, 1396890966, 1396890951, 1396890945, 1396890971, 1396890949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.495473861694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:43:22.239456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/40/image_29112025_13_40_35_9990.jpg', '/home/pi/Desktop/images/29112025/13/40/image_29112025_13_40_45_9706.jpg', '/home/pi/Desktop/images/29112025/13/40/image_29112025_13_40_54_9588.jpg', '/home/pi/Desktop/images/29112025/13/40/image_29112025_13_41_05_10588.jpg', '/home/pi/Desktop/images/29112025/13/41/image_29112025_13_41_15_9817.jpg', '/home/pi/Desktop/images/29112025/13/41/image_29112025_13_41_25_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/40/image_29112025_13_40_35_9990.jpg
/home/pi/Desktop/images/29112025/13/40/image_29112025_13_40_45_9706.jpg
/home/pi/Desktop/images/29112025/13/40/image_29112025_13_40_54_9588.jpg
/home/pi/Desktop/images/29112025/13/40/image_29112025_13_41_05_10588.jpg
/home/pi/Desktop/images/29112025/13/41/image_29112025_13_41_15_9817.jpg
/home/pi/Desktop/images/29112025/13/41/image_29112025_13_41_25_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891005","1396891029","1396890988","1396891024","1396890991","1396891009"],"photo_ids_order":["1396890988","1396890991","1396891005","1396891009","1396891024","1396891029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0fa03beeebe9db14434ebca4576065ca.jpg","text":"TemporaryFile(/tmp/multipartBody386928343152970503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420262970,"filename":"image_29112025_13_40_54_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/33f3bf3005404dd5a373b071557a07e7.jpg","text":"TemporaryFile(/tmp/multipartBody6472367511327246366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420262970,"filename":"image_29112025_13_41_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/11/29/80dd5d5842b9f0db383cac4433ca3756.jpg","text":"TemporaryFile(/tmp/multipartBody1727952329651343492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420262970,"filename":"image_29112025_13_40_35_9990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c387fa918bbc99b208380ad0f0c8e8a4.jpg","text":"TemporaryFile(/tmp/multipartBody1199045579496989521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420262970,"filename":"image_29112025_13_41_15_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4649a6996b8d9581069ca19b7721d5d8.jpg","text":"TemporaryFile(/tmp/multipartBody4368357217113226709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420262970,"filename":"image_29112025_13_40_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/11/29/e2d77eac5c88d963bfc6a64ac8473ca5.jpg","text":"TemporaryFile(/tmp/multipartBody2579328571770750989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420262970,"filename":"image_29112025_13_41_05_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891005","file1":"1396890991","file0":"1396890988","file4":"1396891024","file5":"1396891029","file3":"1396891009"},"map_files_photo_id_array":[{"photo_id":"1396891029","filename":"file5"},{"photo_id":"1396891005","filename":"file2"},{"photo_id":"1396891024","filename":"file4"},{"photo_id":"1396890991","filename":"file1"},{"photo_id":"1396890988","filename":"file0"},{"photo_id":"1396891009","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891005":["hashtag1","hashtag2"]},{"1396891029":["hashtag1","hashtag2"]},{"1396890988":["hashtag1","hashtag2"]},{"1396891024":["hashtag1","hashtag2"]},{"1396890991":["hashtag1","hashtag2"]},{"1396891009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891005, 1396891029, 1396890988, 1396891024, 1396890991, 1396891009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54134178161621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:44:03.216591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/41/image_29112025_13_41_34_9738.jpg', '/home/pi/Desktop/images/29112025/13/41/image_29112025_13_41_45_10789.jpg', '/home/pi/Desktop/images/29112025/13/41/image_29112025_13_41_55_9527.jpg', '/home/pi/Desktop/images/29112025/13/41/image_29112025_13_42_04_9670.jpg', '/home/pi/Desktop/images/29112025/13/42/image_29112025_13_42_15_10753.jpg', '/home/pi/Desktop/images/29112025/13/42/image_29112025_13_42_25_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/41/image_29112025_13_41_34_9738.jpg
/home/pi/Desktop/images/29112025/13/41/image_29112025_13_41_45_10789.jpg
/home/pi/Desktop/images/29112025/13/41/image_29112025_13_41_55_9527.jpg
/home/pi/Desktop/images/29112025/13/41/image_29112025_13_42_04_9670.jpg
/home/pi/Desktop/images/29112025/13/42/image_29112025_13_42_15_10753.jpg
/home/pi/Desktop/images/29112025/13/42/image_29112025_13_42_25_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891254","1396891257","1396891238","1396891204","1396891129","1396891167"],"photo_ids_order":["1396891129","1396891167","1396891204","1396891238","1396891254","1396891257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68d27818569821676e507918caa202c8.jpg","text":"TemporaryFile(/tmp/multipartBody630294429521532480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420303991,"filename":"image_29112025_13_42_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/11/29/27aaf65abca2800b5ded50cbcceca40d.jpg","text":"TemporaryFile(/tmp/multipartBody8503819326820524761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420303991,"filename":"image_29112025_13_42_25_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a23ad4df6e9e5cf3c8e1cef684aba0ef.jpg","text":"TemporaryFile(/tmp/multipartBody8973824580581888185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420303991,"filename":"image_29112025_13_42_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/11/29/d54c5c3a70c75f7d921d6e8e149580c4.jpg","text":"TemporaryFile(/tmp/multipartBody6946740077294709573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420303991,"filename":"image_29112025_13_41_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/11/29/36b40f3346f434013e1d57ff97bb5070.jpg","text":"TemporaryFile(/tmp/multipartBody5497028660291529788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420303991,"filename":"image_29112025_13_41_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/11/29/feb4c0e18ae5449023c44ec75db1cdc1.jpg","text":"TemporaryFile(/tmp/multipartBody1107336579232528025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420303991,"filename":"image_29112025_13_41_45_10789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891204","file1":"1396891167","file0":"1396891129","file4":"1396891254","file5":"1396891257","file3":"1396891238"},"map_files_photo_id_array":[{"photo_id":"1396891257","filename":"file5"},{"photo_id":"1396891204","filename":"file2"},{"photo_id":"1396891254","filename":"file4"},{"photo_id":"1396891167","filename":"file1"},{"photo_id":"1396891129","filename":"file0"},{"photo_id":"1396891238","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891254":["hashtag1","hashtag2"]},{"1396891257":["hashtag1","hashtag2"]},{"1396891238":["hashtag1","hashtag2"]},{"1396891204":["hashtag1","hashtag2"]},{"1396891129":["hashtag1","hashtag2"]},{"1396891167":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891254, 1396891257, 1396891238, 1396891204, 1396891129, 1396891167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.239041805267334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:44:42.482539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/44/image_31102025_09_45_01_3684.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_04_2608.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_07_3078.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_10_3533.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_13_2589.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_16_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/44/image_31102025_09_45_01_3684.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_04_2608.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_07_3078.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_10_3533.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_13_2589.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_16_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891320","1396891295","1396891319","1396891322","1396891321","1396891318"],"photo_ids_order":["1396891295","1396891318","1396891319","1396891320","1396891321","1396891322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12808803e355935aa28e183db0d8dec8.jpg","text":"TemporaryFile(/tmp/multipartBody974218718024108175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420343606,"filename":"image_31102025_09_45_10_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c665ddeced99b579855a475397fd0661.jpg","text":"TemporaryFile(/tmp/multipartBody7205943473818959231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420343606,"filename":"image_31102025_09_45_01_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40a6c7ea1c696fcd10a5595707a18610.jpg","text":"TemporaryFile(/tmp/multipartBody8353954090554464169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420343606,"filename":"image_31102025_09_45_07_3078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e68a0b6d155f8ef5655c4c0cfafb1e9a.jpg","text":"TemporaryFile(/tmp/multipartBody7340310823400228112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420343606,"filename":"image_31102025_09_45_16_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a877f85be3dd3205dc9c3a44e73bd914.jpg","text":"TemporaryFile(/tmp/multipartBody7106738620849416546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420343606,"filename":"image_31102025_09_45_13_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2d2ab988981af7544cc26b5c6395b78.jpg","text":"TemporaryFile(/tmp/multipartBody8115233533231364792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420343606,"filename":"image_31102025_09_45_04_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891319","file1":"1396891318","file0":"1396891295","file4":"1396891321","file5":"1396891322","file3":"1396891320"},"map_files_photo_id_array":[{"photo_id":"1396891322","filename":"file5"},{"photo_id":"1396891319","filename":"file2"},{"photo_id":"1396891321","filename":"file4"},{"photo_id":"1396891318","filename":"file1"},{"photo_id":"1396891295","filename":"file0"},{"photo_id":"1396891320","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396891320":["hashtag1","hashtag2"]},{"1396891295":["hashtag1","hashtag2"]},{"1396891319":["hashtag1","hashtag2"]},{"1396891322":["hashtag1","hashtag2"]},{"1396891321":["hashtag1","hashtag2"]},{"1396891318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396891320, 1396891295, 1396891319, 1396891322, 1396891321, 1396891318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03236126899719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:45:22.640260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/42/image_29112025_13_42_34_9699.jpg', '/home/pi/Desktop/images/29112025/13/42/image_29112025_13_42_45_10862.jpg', '/home/pi/Desktop/images/29112025/13/42/image_29112025_13_42_55_9753.jpg', '/home/pi/Desktop/images/29112025/13/42/image_29112025_13_43_04_9584.jpg', '/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_14_9816.jpg', '/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_25_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/42/image_29112025_13_42_34_9699.jpg
/home/pi/Desktop/images/29112025/13/42/image_29112025_13_42_45_10862.jpg
/home/pi/Desktop/images/29112025/13/42/image_29112025_13_42_55_9753.jpg
/home/pi/Desktop/images/29112025/13/42/image_29112025_13_43_04_9584.jpg
/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_14_9816.jpg
/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_25_10804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891422","1396891418","1396891406","1396891415","1396891411","1396891408"],"photo_ids_order":["1396891406","1396891408","1396891411","1396891415","1396891418","1396891422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0bd3abde2fe6818eb3bce2d9cf849e53.jpg","text":"TemporaryFile(/tmp/multipartBody7428292876371678953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420383396,"filename":"image_29112025_13_43_25_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70efe68dfb0845c1543fc94db5b3cb9a.jpg","text":"TemporaryFile(/tmp/multipartBody3511851961383911446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420383396,"filename":"image_29112025_13_43_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/11/29/c1b6989121ccd64bf91ee5391cd10d9a.jpg","text":"TemporaryFile(/tmp/multipartBody9200230223847498214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420383396,"filename":"image_29112025_13_42_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/11/29/2004770165718543978d9d7dfad8c4ed.jpg","text":"TemporaryFile(/tmp/multipartBody5152547844291189403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420383396,"filename":"image_29112025_13_43_04_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a65114f114dc2486a17eded709f8aded.jpg","text":"TemporaryFile(/tmp/multipartBody1327857856802304656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420383396,"filename":"image_29112025_13_42_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/11/29/b9ef8246ff15977c70a498de831ad29a.jpg","text":"TemporaryFile(/tmp/multipartBody5598179529164332362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420383396,"filename":"image_29112025_13_42_45_10862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891411","file1":"1396891408","file0":"1396891406","file4":"1396891418","file5":"1396891422","file3":"1396891415"},"map_files_photo_id_array":[{"photo_id":"1396891422","filename":"file5"},{"photo_id":"1396891411","filename":"file2"},{"photo_id":"1396891418","filename":"file4"},{"photo_id":"1396891408","filename":"file1"},{"photo_id":"1396891406","filename":"file0"},{"photo_id":"1396891415","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891422":["hashtag1","hashtag2"]},{"1396891418":["hashtag1","hashtag2"]},{"1396891406":["hashtag1","hashtag2"]},{"1396891415":["hashtag1","hashtag2"]},{"1396891411":["hashtag1","hashtag2"]},{"1396891408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891422, 1396891418, 1396891406, 1396891415, 1396891411, 1396891408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.032386302948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:46:03.230249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_35_9564.jpg', '/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_44_9711.jpg', '/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_55_10598.jpg', '/home/pi/Desktop/images/29112025/13/43/image_29112025_13_44_05_9671.jpg', '/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_15_10601.jpg', '/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_25_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_35_9564.jpg
/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_44_9711.jpg
/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_55_10598.jpg
/home/pi/Desktop/images/29112025/13/43/image_29112025_13_44_05_9671.jpg
/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_15_10601.jpg
/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_25_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: 0.6637835502624512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 13:46:12.889940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_11_2597.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_15_3662.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_17_2704.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_20_2709.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_24_3513.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_26_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_11_2597.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_15_3662.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_17_2704.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_20_2709.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_24_3513.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_26_2634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891503","1396891481","1396891484","1396891494","1396891488","1396891491"],"photo_ids_order":["1396891481","1396891484","1396891488","1396891491","1396891494","1396891503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8ef4a5b4b28eacd4a9f96b096314ce1.jpg","text":"TemporaryFile(/tmp/multipartBody6913288613875528962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420434997,"filename":"image_25112025_18_24_26_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b68db50467f6cd82f8e37235ce5c76b7.jpg","text":"TemporaryFile(/tmp/multipartBody170885113763585239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420434997,"filename":"image_25112025_18_24_11_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a6bcf511854d0b03c31011d6ba9c4f3.jpg","text":"TemporaryFile(/tmp/multipartBody1447519993597209438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420434997,"filename":"image_25112025_18_24_15_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/921cb874518d9464f4d17ff83d2b56b3.jpg","text":"TemporaryFile(/tmp/multipartBody551583498640109163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420434997,"filename":"image_25112025_18_24_24_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a74e7ad05e94bc375530391ce30a77a.jpg","text":"TemporaryFile(/tmp/multipartBody5458456105103690172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420434997,"filename":"image_25112025_18_24_17_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a8ad0c9f2654499b612cb19cbadb07b.jpg","text":"TemporaryFile(/tmp/multipartBody2086878727489572142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420434997,"filename":"image_25112025_18_24_20_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891488","file1":"1396891484","file0":"1396891481","file4":"1396891494","file5":"1396891503","file3":"1396891491"},"map_files_photo_id_array":[{"photo_id":"1396891503","filename":"file5"},{"photo_id":"1396891488","filename":"file2"},{"photo_id":"1396891494","filename":"file4"},{"photo_id":"1396891484","filename":"file1"},{"photo_id":"1396891481","filename":"file0"},{"photo_id":"1396891491","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396891503":["hashtag1","hashtag2"]},{"1396891481":["hashtag1","hashtag2"]},{"1396891484":["hashtag1","hashtag2"]},{"1396891494":["hashtag1","hashtag2"]},{"1396891488":["hashtag1","hashtag2"]},{"1396891491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396891503, 1396891481, 1396891484, 1396891494, 1396891488, 1396891491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01907563209534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:47:02.658737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_35_9564.jpg', '/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_44_9711.jpg', '/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_55_10598.jpg', '/home/pi/Desktop/images/29112025/13/43/image_29112025_13_44_05_9671.jpg', '/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_15_10601.jpg', '/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_25_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_35_9564.jpg
/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_44_9711.jpg
/home/pi/Desktop/images/29112025/13/43/image_29112025_13_43_55_10598.jpg
/home/pi/Desktop/images/29112025/13/43/image_29112025_13_44_05_9671.jpg
/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_15_10601.jpg
/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_25_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891518","1396891595","1396891559","1396891523","1396891520","1396891519"],"photo_ids_order":["1396891518","1396891519","1396891520","1396891523","1396891559","1396891595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b28d7e9adba8c993fd0103354f97c29.jpg","text":"TemporaryFile(/tmp/multipartBody4402231167537885473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420483433,"filename":"image_29112025_13_43_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2cb9ffe1f67399789ef65b0d57cc66c9.jpg","text":"TemporaryFile(/tmp/multipartBody4704595586666632624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420483433,"filename":"image_29112025_13_44_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/11/29/667f7a83f4cf9820f30e6c897d11656c.jpg","text":"TemporaryFile(/tmp/multipartBody783786212024182966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420483433,"filename":"image_29112025_13_44_15_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d75d7ac5d24b51a7d80a5d4a0e5884b7.jpg","text":"TemporaryFile(/tmp/multipartBody76713603230185278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420483433,"filename":"image_29112025_13_44_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/11/29/60b58e11ac0e7a4045cf52f7010fce4a.jpg","text":"TemporaryFile(/tmp/multipartBody7166313398892329255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420483433,"filename":"image_29112025_13_43_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/11/29/62f08861f9eea4b6dfb09d3b1d534103.jpg","text":"TemporaryFile(/tmp/multipartBody8243021036038445547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420483433,"filename":"image_29112025_13_43_44_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891520","file1":"1396891519","file0":"1396891518","file4":"1396891559","file5":"1396891595","file3":"1396891523"},"map_files_photo_id_array":[{"photo_id":"1396891595","filename":"file5"},{"photo_id":"1396891520","filename":"file2"},{"photo_id":"1396891559","filename":"file4"},{"photo_id":"1396891519","filename":"file1"},{"photo_id":"1396891518","filename":"file0"},{"photo_id":"1396891523","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891518":["hashtag1","hashtag2"]},{"1396891595":["hashtag1","hashtag2"]},{"1396891559":["hashtag1","hashtag2"]},{"1396891523":["hashtag1","hashtag2"]},{"1396891520":["hashtag1","hashtag2"]},{"1396891519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891518, 1396891595, 1396891559, 1396891523, 1396891520, 1396891519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94843053817749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:47:42.008463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_18_2855.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_22_3718.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_25_2821.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_27_2543.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_30_2873.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_34_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/09/45/image_31102025_09_45_18_2855.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_22_3718.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_25_2821.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_27_2543.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_30_2873.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_34_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":["1396891661","1396891655","1396891657","1396891651","1396891654","1396891662"],"photo_ids_order":["1396891651","1396891654","1396891655","1396891657","1396891661","1396891662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b2d9a2e09c017ceb95baaf6559ada59.jpg","text":"TemporaryFile(/tmp/multipartBody6052376934971912634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420523165,"filename":"image_31102025_09_45_30_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/888c3c3494920c1fd42ecc6d6db5d82e.jpg","text":"TemporaryFile(/tmp/multipartBody3483158174639477849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420523165,"filename":"image_31102025_09_45_25_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5201b0b163920fee31ac70a2353295e4.jpg","text":"TemporaryFile(/tmp/multipartBody5479438742273715393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420523165,"filename":"image_31102025_09_45_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/11/29/97c4c25667ef8faef366c74167dc4b08.jpg","text":"TemporaryFile(/tmp/multipartBody8641598939218742858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420523165,"filename":"image_31102025_09_45_18_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/093abb383d6f66b7443679fdfdb6db21.jpg","text":"TemporaryFile(/tmp/multipartBody2866670446329995589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420523165,"filename":"image_31102025_09_45_22_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/955237f8cc45aca38d25442818d7c64f.jpg","text":"TemporaryFile(/tmp/multipartBody6993846716438320093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420523165,"filename":"image_31102025_09_45_34_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891655","file1":"1396891654","file0":"1396891651","file4":"1396891661","file5":"1396891662","file3":"1396891657"},"map_files_photo_id_array":[{"photo_id":"1396891662","filename":"file5"},{"photo_id":"1396891655","filename":"file2"},{"photo_id":"1396891661","filename":"file4"},{"photo_id":"1396891654","filename":"file1"},{"photo_id":"1396891651","filename":"file0"},{"photo_id":"1396891657","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396891661":["hashtag1","hashtag2"]},{"1396891655":["hashtag1","hashtag2"]},{"1396891657":["hashtag1","hashtag2"]},{"1396891651":["hashtag1","hashtag2"]},{"1396891654":["hashtag1","hashtag2"]},{"1396891662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396891661, 1396891655, 1396891657, 1396891651, 1396891654, 1396891662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63462018966675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:48:22.182900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_35_9713.jpg', '/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_44_9737.jpg', '/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_55_10504.jpg', '/home/pi/Desktop/images/29112025/13/44/image_29112025_13_45_05_9736.jpg', '/home/pi/Desktop/images/29112025/13/45/image_29112025_13_45_14_9744.jpg', '/home/pi/Desktop/images/29112025/13/45/image_29112025_13_45_25_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_35_9713.jpg
/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_44_9737.jpg
/home/pi/Desktop/images/29112025/13/44/image_29112025_13_44_55_10504.jpg
/home/pi/Desktop/images/29112025/13/44/image_29112025_13_45_05_9736.jpg
/home/pi/Desktop/images/29112025/13/45/image_29112025_13_45_14_9744.jpg
/home/pi/Desktop/images/29112025/13/45/image_29112025_13_45_25_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":["1396891716","1396891732","1396891726","1396891729","1396891720","1396891723"],"photo_ids_order":["1396891716","1396891720","1396891723","1396891726","1396891729","1396891732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d4c2565532cc568442efadc11701bdd.jpg","text":"TemporaryFile(/tmp/multipartBody8851563876516511278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420562880,"filename":"image_29112025_13_44_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/11/29/ad0ccb196495ced3148b24cf04c03930.jpg","text":"TemporaryFile(/tmp/multipartBody4042345745997062394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420562880,"filename":"image_29112025_13_45_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8731605b15dcb3dca249b3f9dba417d1.jpg","text":"TemporaryFile(/tmp/multipartBody3307354685549827084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420562880,"filename":"image_29112025_13_45_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/11/29/f1cd76597c544fdedb5e07d650f17d05.jpg","text":"TemporaryFile(/tmp/multipartBody1292477396643287144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420562880,"filename":"image_29112025_13_45_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee6b3188ec28586211c6c1ec9ae30644.jpg","text":"TemporaryFile(/tmp/multipartBody1490481943540953509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420562880,"filename":"image_29112025_13_44_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/11/29/ddead84c1e9a3f00f714bd7f986a8aa4.jpg","text":"TemporaryFile(/tmp/multipartBody3997200075079286278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420562880,"filename":"image_29112025_13_44_55_10504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891723","file1":"1396891720","file0":"1396891716","file4":"1396891729","file5":"1396891732","file3":"1396891726"},"map_files_photo_id_array":[{"photo_id":"1396891732","filename":"file5"},{"photo_id":"1396891723","filename":"file2"},{"photo_id":"1396891729","filename":"file4"},{"photo_id":"1396891720","filename":"file1"},{"photo_id":"1396891716","filename":"file0"},{"photo_id":"1396891726","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891716":["hashtag1","hashtag2"]},{"1396891732":["hashtag1","hashtag2"]},{"1396891726":["hashtag1","hashtag2"]},{"1396891729":["hashtag1","hashtag2"]},{"1396891720":["hashtag1","hashtag2"]},{"1396891723":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891716, 1396891732, 1396891726, 1396891729, 1396891720, 1396891723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33228516578674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:49:03.093472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/45/image_29112025_13_45_35_9753.jpg', '/home/pi/Desktop/images/29112025/13/45/image_29112025_13_45_45_9612.jpg', '/home/pi/Desktop/images/29112025/13/45/image_29112025_13_46_05_9801.jpg', '/home/pi/Desktop/images/29112025/13/46/image_29112025_13_46_15_9686.jpg', '/home/pi/Desktop/images/29112025/13/46/image_29112025_13_46_25_10635.jpg', '/home/pi/Desktop/images/29112025/13/46/image_29112025_13_46_35_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/45/image_29112025_13_45_35_9753.jpg
/home/pi/Desktop/images/29112025/13/45/image_29112025_13_45_45_9612.jpg
/home/pi/Desktop/images/29112025/13/45/image_29112025_13_46_05_9801.jpg
/home/pi/Desktop/images/29112025/13/46/image_29112025_13_46_15_9686.jpg
/home/pi/Desktop/images/29112025/13/46/image_29112025_13_46_25_10635.jpg
/home/pi/Desktop/images/29112025/13/46/image_29112025_13_46_35_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":["1396891737","1396891736","1396891744","1396891738","1396891735","1396891740"],"photo_ids_order":["1396891735","1396891736","1396891737","1396891738","1396891740","1396891744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef7759363a39fedb5d8a9e488090c30b.jpg","text":"TemporaryFile(/tmp/multipartBody7699987659061035437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420604056,"filename":"image_29112025_13_46_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/11/29/46ee1ead54a34f6d15b392cbc7431391.jpg","text":"TemporaryFile(/tmp/multipartBody4926065851726183333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420604056,"filename":"image_29112025_13_45_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/11/29/a2a41aa88a8d19cb65e5f183d4caf533.jpg","text":"TemporaryFile(/tmp/multipartBody1261485467249418758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420604056,"filename":"image_29112025_13_46_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26f7a6703fe2eb3c22f157ddc367de40.jpg","text":"TemporaryFile(/tmp/multipartBody7364559778030151729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420604056,"filename":"image_29112025_13_46_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/11/29/586aa98023060cda8da287c33f8fda8f.jpg","text":"TemporaryFile(/tmp/multipartBody7958966619485458393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420604056,"filename":"image_29112025_13_45_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/11/29/33921a4f998f0860cd0066ad1d5237ab.jpg","text":"TemporaryFile(/tmp/multipartBody7531700230918158766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420604056,"filename":"image_29112025_13_46_25_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891737","file1":"1396891736","file0":"1396891735","file4":"1396891740","file5":"1396891744","file3":"1396891738"},"map_files_photo_id_array":[{"photo_id":"1396891744","filename":"file5"},{"photo_id":"1396891737","filename":"file2"},{"photo_id":"1396891740","filename":"file4"},{"photo_id":"1396891736","filename":"file1"},{"photo_id":"1396891735","filename":"file0"},{"photo_id":"1396891738","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891737":["hashtag1","hashtag2"]},{"1396891736":["hashtag1","hashtag2"]},{"1396891744":["hashtag1","hashtag2"]},{"1396891738":["hashtag1","hashtag2"]},{"1396891735":["hashtag1","hashtag2"]},{"1396891740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891737, 1396891736, 1396891744, 1396891738, 1396891735, 1396891740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44201707839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:49:42.280334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_37_2563.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_39_2764.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_43_3660.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_46_2667.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_48_2685.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_52_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_37_2563.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_39_2764.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_43_3660.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_46_2667.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_48_2685.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_52_3703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891758","1396891757","1396891756","1396891759","1396891753","1396891755"],"photo_ids_order":["1396891753","1396891755","1396891756","1396891757","1396891758","1396891759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a608aa3f852c85a3ed1b92666bedb47.jpg","text":"TemporaryFile(/tmp/multipartBody5124093160109368647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420643416,"filename":"image_31102025_09_45_48_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1c12b9d91c9754a636a34dea20e27ec.jpg","text":"TemporaryFile(/tmp/multipartBody6385159428826362705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420643416,"filename":"image_31102025_09_45_46_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db0621f5bfc8a1d613fd27517f1009ca.jpg","text":"TemporaryFile(/tmp/multipartBody5400939285081304894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420643416,"filename":"image_31102025_09_45_43_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8f0d9d3ddc3b8896fe1a874ea61936b.jpg","text":"TemporaryFile(/tmp/multipartBody1699615113361074470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420643416,"filename":"image_31102025_09_45_52_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b8eeee2fa4fa5b5b0b352ccd0fcb0da.jpg","text":"TemporaryFile(/tmp/multipartBody5475697002666314372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420643416,"filename":"image_31102025_09_45_37_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21e4bf2131272af28bebb3a58914bfe8.jpg","text":"TemporaryFile(/tmp/multipartBody6469392328959201071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420643416,"filename":"image_31102025_09_45_39_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891756","file1":"1396891755","file0":"1396891753","file4":"1396891758","file5":"1396891759","file3":"1396891757"},"map_files_photo_id_array":[{"photo_id":"1396891759","filename":"file5"},{"photo_id":"1396891756","filename":"file2"},{"photo_id":"1396891758","filename":"file4"},{"photo_id":"1396891755","filename":"file1"},{"photo_id":"1396891753","filename":"file0"},{"photo_id":"1396891757","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396891758":["hashtag1","hashtag2"]},{"1396891757":["hashtag1","hashtag2"]},{"1396891756":["hashtag1","hashtag2"]},{"1396891759":["hashtag1","hashtag2"]},{"1396891753":["hashtag1","hashtag2"]},{"1396891755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396891758, 1396891757, 1396891756, 1396891759, 1396891753, 1396891755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1638023853302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:50:22.512091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/46/image_29112025_13_46_55_10648.jpg', '/home/pi/Desktop/images/29112025/13/46/image_29112025_13_47_05_9783.jpg', '/home/pi/Desktop/images/29112025/13/47/image_29112025_13_47_15_9743.jpg', '/home/pi/Desktop/images/29112025/13/47/image_29112025_13_47_24_9653.jpg', '/home/pi/Desktop/images/29112025/13/47/image_29112025_13_47_35_10691.jpg', '/home/pi/Desktop/images/29112025/13/47/image_29112025_13_47_45_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/46/image_29112025_13_46_55_10648.jpg
/home/pi/Desktop/images/29112025/13/46/image_29112025_13_47_05_9783.jpg
/home/pi/Desktop/images/29112025/13/47/image_29112025_13_47_15_9743.jpg
/home/pi/Desktop/images/29112025/13/47/image_29112025_13_47_24_9653.jpg
/home/pi/Desktop/images/29112025/13/47/image_29112025_13_47_35_10691.jpg
/home/pi/Desktop/images/29112025/13/47/image_29112025_13_47_45_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891781","1396891769","1396891777","1396891765","1396891773","1396891761"],"photo_ids_order":["1396891761","1396891765","1396891769","1396891773","1396891777","1396891781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2dda0ebb04153030483c03ef2242768.jpg","text":"TemporaryFile(/tmp/multipartBody9153606738658267281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420683232,"filename":"image_29112025_13_47_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b80d33647eff8d675e1232ba26f36a2.jpg","text":"TemporaryFile(/tmp/multipartBody2492588377289013207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420683232,"filename":"image_29112025_13_47_15_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70a3a52ee6b4896eed75b084fb41e954.jpg","text":"TemporaryFile(/tmp/multipartBody4751289712413039534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420683232,"filename":"image_29112025_13_47_35_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2db668e1b74854a13d62e0bd3f8bc53c.jpg","text":"TemporaryFile(/tmp/multipartBody6458656870685976945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420683232,"filename":"image_29112025_13_47_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/11/29/6895473b32b20af2c51105a2e6dbbdec.jpg","text":"TemporaryFile(/tmp/multipartBody2037657631576183423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420683232,"filename":"image_29112025_13_47_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/893a7c5906f088e949ff6903610c00e0.jpg","text":"TemporaryFile(/tmp/multipartBody875341043204277196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420683232,"filename":"image_29112025_13_46_55_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891769","file1":"1396891765","file0":"1396891761","file4":"1396891777","file5":"1396891781","file3":"1396891773"},"map_files_photo_id_array":[{"photo_id":"1396891781","filename":"file5"},{"photo_id":"1396891769","filename":"file2"},{"photo_id":"1396891777","filename":"file4"},{"photo_id":"1396891765","filename":"file1"},{"photo_id":"1396891761","filename":"file0"},{"photo_id":"1396891773","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891781":["hashtag1","hashtag2"]},{"1396891769":["hashtag1","hashtag2"]},{"1396891777":["hashtag1","hashtag2"]},{"1396891765":["hashtag1","hashtag2"]},{"1396891773":["hashtag1","hashtag2"]},{"1396891761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891781, 1396891769, 1396891777, 1396891765, 1396891773, 1396891761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09962177276611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:51:03.242339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/47/image_29112025_13_47_55_9782.jpg', '/home/pi/Desktop/images/29112025/13/47/image_29112025_13_48_04_9759.jpg', '/home/pi/Desktop/images/29112025/13/48/image_29112025_13_48_15_10809.jpg', '/home/pi/Desktop/images/29112025/13/48/image_29112025_13_48_34_9734.jpg', '/home/pi/Desktop/images/29112025/13/48/image_29112025_13_48_45_10642.jpg', '/home/pi/Desktop/images/29112025/13/48/image_29112025_13_48_55_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/47/image_29112025_13_47_55_9782.jpg
/home/pi/Desktop/images/29112025/13/47/image_29112025_13_48_04_9759.jpg
/home/pi/Desktop/images/29112025/13/48/image_29112025_13_48_15_10809.jpg
/home/pi/Desktop/images/29112025/13/48/image_29112025_13_48_34_9734.jpg
/home/pi/Desktop/images/29112025/13/48/image_29112025_13_48_45_10642.jpg
/home/pi/Desktop/images/29112025/13/48/image_29112025_13_48_55_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891784","1396891787","1396891789","1396891786","1396891791","1396891785"],"photo_ids_order":["1396891784","1396891785","1396891786","1396891787","1396891789","1396891791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74588d8940b62a2514c9cb4588e8f8c2.jpg","text":"TemporaryFile(/tmp/multipartBody7412196589283306527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420724021,"filename":"image_29112025_13_47_55_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a8a7188161cbee1a02c3d6d32b2cd9e.jpg","text":"TemporaryFile(/tmp/multipartBody8422748010045916212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420724021,"filename":"image_29112025_13_48_34_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61ea58e2b60a978975bd1b3aefb6e6ca.jpg","text":"TemporaryFile(/tmp/multipartBody7273920818442511219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420724021,"filename":"image_29112025_13_48_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/527c0052c985707da65f1ed4fcfcff5e.jpg","text":"TemporaryFile(/tmp/multipartBody4328990224823097173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420724021,"filename":"image_29112025_13_48_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/11/29/b87292b46e9e392c06d8e88d30e6ee5f.jpg","text":"TemporaryFile(/tmp/multipartBody9194423262294833035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420724021,"filename":"image_29112025_13_48_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/11/29/9630a1d84d48b3c16560e9de0b897741.jpg","text":"TemporaryFile(/tmp/multipartBody4284180766776985554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420724021,"filename":"image_29112025_13_48_04_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891786","file1":"1396891785","file0":"1396891784","file4":"1396891789","file5":"1396891791","file3":"1396891787"},"map_files_photo_id_array":[{"photo_id":"1396891791","filename":"file5"},{"photo_id":"1396891786","filename":"file2"},{"photo_id":"1396891789","filename":"file4"},{"photo_id":"1396891785","filename":"file1"},{"photo_id":"1396891784","filename":"file0"},{"photo_id":"1396891787","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891784":["hashtag1","hashtag2"]},{"1396891787":["hashtag1","hashtag2"]},{"1396891789":["hashtag1","hashtag2"]},{"1396891786":["hashtag1","hashtag2"]},{"1396891791":["hashtag1","hashtag2"]},{"1396891785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891784, 1396891787, 1396891789, 1396891786, 1396891791, 1396891785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44279193878174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:51:42.590739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_55_2650.jpg', '/home/pi/Desktop/images/31102025/09/45/image_31102025_09_46_01_3673.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_04_2717.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_06_2611.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_09_2746.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_13_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_45_55_2650.jpg
/home/pi/Desktop/images/31102025/09/45/image_31102025_09_46_01_3673.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_04_2717.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_06_2611.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_09_2746.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_13_3742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891809","1396891802","1396891811","1396891805","1396891813","1396891807"],"photo_ids_order":["1396891802","1396891805","1396891807","1396891809","1396891811","1396891813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8b2f3570d87537d5cc0ad3dc95081be.jpg","text":"TemporaryFile(/tmp/multipartBody7597166851285349319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420763727,"filename":"image_31102025_09_46_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/11/29/0b407e570c0bfccc9db4d4a194760a20.jpg","text":"TemporaryFile(/tmp/multipartBody5961776610263411644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420763727,"filename":"image_31102025_09_45_55_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/056faeb04a63eeea36c8dd30a9c1cd77.jpg","text":"TemporaryFile(/tmp/multipartBody4400825313793836086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420763727,"filename":"image_31102025_09_46_09_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/316f1ca341d2f6824a42021be1ae3bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5598633586701411394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420763727,"filename":"image_31102025_09_46_01_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/947b21074005327e4fb148e39704a467.jpg","text":"TemporaryFile(/tmp/multipartBody1505940345043575297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420763727,"filename":"image_31102025_09_46_13_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8dc5b32b4628e7aa5b3b8aa4527e936e.jpg","text":"TemporaryFile(/tmp/multipartBody8646431555715895119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420763727,"filename":"image_31102025_09_46_04_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891807","file1":"1396891805","file0":"1396891802","file4":"1396891811","file5":"1396891813","file3":"1396891809"},"map_files_photo_id_array":[{"photo_id":"1396891813","filename":"file5"},{"photo_id":"1396891807","filename":"file2"},{"photo_id":"1396891811","filename":"file4"},{"photo_id":"1396891805","filename":"file1"},{"photo_id":"1396891802","filename":"file0"},{"photo_id":"1396891809","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396891809":["hashtag1","hashtag2"]},{"1396891802":["hashtag1","hashtag2"]},{"1396891811":["hashtag1","hashtag2"]},{"1396891805":["hashtag1","hashtag2"]},{"1396891813":["hashtag1","hashtag2"]},{"1396891807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396891809, 1396891802, 1396891811, 1396891805, 1396891813, 1396891807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.671631813049316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:52:22.749829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/48/image_29112025_13_49_05_9740.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_14_9802.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_25_10629.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_35_9644.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_45_10557.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_55_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/48/image_29112025_13_49_05_9740.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_14_9802.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_25_10629.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_35_9644.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_45_10557.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_55_9658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6824922561645508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 13:52:32.781168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_30_3586.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_33_2630.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_35_2624.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_39_3567.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_41_2705.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_44_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_30_3586.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_33_2630.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_35_2624.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_39_3567.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_41_2705.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_44_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":["1396891836","1396891824","1396891833","1396891838","1396891837","1396891828"],"photo_ids_order":["1396891824","1396891828","1396891833","1396891836","1396891837","1396891838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef07b1396da43e65af98ff2a72d8db29.jpg","text":"TemporaryFile(/tmp/multipartBody5194501904195078730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420815095,"filename":"image_25112025_18_24_39_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e07d3d9d1194ae6578f61429779a5c6.jpg","text":"TemporaryFile(/tmp/multipartBody2982422873634321084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420815095,"filename":"image_25112025_18_24_30_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a78a33fcad2299365a4aa98c8aeda043.jpg","text":"TemporaryFile(/tmp/multipartBody5321556135607389176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420815095,"filename":"image_25112025_18_24_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/11/29/251b4ad3c6c12b3baab333e9117d1de5.jpg","text":"TemporaryFile(/tmp/multipartBody2642976148363930650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420815095,"filename":"image_25112025_18_24_44_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aaaaaee57e3af528fabea587efd8275d.jpg","text":"TemporaryFile(/tmp/multipartBody3546788199395619620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420815095,"filename":"image_25112025_18_24_41_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a75ec2edb30c5ba92b0f939d00133de.jpg","text":"TemporaryFile(/tmp/multipartBody6794904232810188863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420815095,"filename":"image_25112025_18_24_33_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891833","file1":"1396891828","file0":"1396891824","file4":"1396891837","file5":"1396891838","file3":"1396891836"},"map_files_photo_id_array":[{"photo_id":"1396891838","filename":"file5"},{"photo_id":"1396891833","filename":"file2"},{"photo_id":"1396891837","filename":"file4"},{"photo_id":"1396891828","filename":"file1"},{"photo_id":"1396891824","filename":"file0"},{"photo_id":"1396891836","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396891836":["hashtag1","hashtag2"]},{"1396891824":["hashtag1","hashtag2"]},{"1396891833":["hashtag1","hashtag2"]},{"1396891838":["hashtag1","hashtag2"]},{"1396891837":["hashtag1","hashtag2"]},{"1396891828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396891836, 1396891824, 1396891833, 1396891838, 1396891837, 1396891828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61957001686096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 13:53:11.982647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_48_3689.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_51_2709.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_53_2653.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_57_3695.jpg', '/home/pi/Desktop/images/25112025/18/24/image_25112025_18_25_00_2958.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_03_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_48_3689.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_51_2709.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_53_2653.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_24_57_3695.jpg
/home/pi/Desktop/images/25112025/18/24/image_25112025_18_25_00_2958.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_03_2675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891839","1396891850","1396891841","1396891843","1396891852","1396891846"],"photo_ids_order":["1396891839","1396891841","1396891843","1396891846","1396891850","1396891852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/222821d3b7cce7166e075340a26adb6b.jpg","text":"TemporaryFile(/tmp/multipartBody7135680503724797346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420854111,"filename":"image_25112025_18_24_48_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc0068df74432be7820bb236cf6c8cc4.jpg","text":"TemporaryFile(/tmp/multipartBody5196680154062350976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420854111,"filename":"image_25112025_18_25_00_2958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5291736effbe54d0b1809cd79d2c4339.jpg","text":"TemporaryFile(/tmp/multipartBody8965334868461000524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420854111,"filename":"image_25112025_18_24_51_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17c82a3b008dbb0e4e5fb22bb728dee8.jpg","text":"TemporaryFile(/tmp/multipartBody6529531117354680068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420854111,"filename":"image_25112025_18_24_53_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9ef2af1ec12a439693e84fe7549b749.jpg","text":"TemporaryFile(/tmp/multipartBody947411260832183828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420854111,"filename":"image_25112025_18_25_03_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a91f5406851c2c6604cf707d2bd48b56.jpg","text":"TemporaryFile(/tmp/multipartBody8007064315648524804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420854111,"filename":"image_25112025_18_24_57_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891843","file1":"1396891841","file0":"1396891839","file4":"1396891850","file5":"1396891852","file3":"1396891846"},"map_files_photo_id_array":[{"photo_id":"1396891852","filename":"file5"},{"photo_id":"1396891843","filename":"file2"},{"photo_id":"1396891850","filename":"file4"},{"photo_id":"1396891841","filename":"file1"},{"photo_id":"1396891839","filename":"file0"},{"photo_id":"1396891846","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396891839":["hashtag1","hashtag2"]},{"1396891850":["hashtag1","hashtag2"]},{"1396891841":["hashtag1","hashtag2"]},{"1396891843":["hashtag1","hashtag2"]},{"1396891852":["hashtag1","hashtag2"]},{"1396891846":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396891839, 1396891850, 1396891841, 1396891843, 1396891852, 1396891846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38537621498108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:54:02.889931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/48/image_29112025_13_49_05_9740.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_14_9802.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_25_10629.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_35_9644.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_45_10557.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_55_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/48/image_29112025_13_49_05_9740.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_14_9802.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_25_10629.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_35_9644.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_45_10557.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_55_9658.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6962716579437256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 13:54:12.235722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_05_2563.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_09_3636.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_12_2777.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_14_2580.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_18_3605.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_20_2643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_05_2563.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_09_3636.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_12_2777.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_14_2580.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_18_3605.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_20_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":["1396891863","1396891878","1396891872","1396891866","1396891875","1396891869"],"photo_ids_order":["1396891863","1396891866","1396891869","1396891872","1396891875","1396891878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e93788e8590e5beef27129f319c7a84.jpg","text":"TemporaryFile(/tmp/multipartBody8588510385459810082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420914391,"filename":"image_25112025_18_25_05_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92d5671403e0c6ad533a643fd1db4a0d.jpg","text":"TemporaryFile(/tmp/multipartBody51415057613903276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420914391,"filename":"image_25112025_18_25_20_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c59c5a2af3a59196efc6291967da12f2.jpg","text":"TemporaryFile(/tmp/multipartBody1455634689952989697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420914391,"filename":"image_25112025_18_25_14_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36d16708e022d0f0b7898e83edb6c359.jpg","text":"TemporaryFile(/tmp/multipartBody6075778890802497958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420914391,"filename":"image_25112025_18_25_09_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f132b8f063f12f0dd6f322a359da853.jpg","text":"TemporaryFile(/tmp/multipartBody3088234955180987894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420914391,"filename":"image_25112025_18_25_18_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/883d084614b11d9acfd4d6f904698aa9.jpg","text":"TemporaryFile(/tmp/multipartBody5402791674039991493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420914391,"filename":"image_25112025_18_25_12_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891869","file1":"1396891866","file0":"1396891863","file4":"1396891875","file5":"1396891878","file3":"1396891872"},"map_files_photo_id_array":[{"photo_id":"1396891878","filename":"file5"},{"photo_id":"1396891869","filename":"file2"},{"photo_id":"1396891875","filename":"file4"},{"photo_id":"1396891866","filename":"file1"},{"photo_id":"1396891863","filename":"file0"},{"photo_id":"1396891872","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396891863":["hashtag1","hashtag2"]},{"1396891878":["hashtag1","hashtag2"]},{"1396891872":["hashtag1","hashtag2"]},{"1396891866":["hashtag1","hashtag2"]},{"1396891875":["hashtag1","hashtag2"]},{"1396891869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396891863, 1396891878, 1396891872, 1396891866, 1396891875, 1396891869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6736581325531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:55:03.058769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/48/image_29112025_13_49_05_9740.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_14_9802.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_25_10629.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_35_9644.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_45_10557.jpg', '/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_55_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/48/image_29112025_13_49_05_9740.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_14_9802.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_25_10629.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_35_9644.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_45_10557.jpg
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_49_55_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":["1396891886","1396891894","1396891888","1396891885","1396891890","1396891887"],"photo_ids_order":["1396891885","1396891886","1396891887","1396891888","1396891890","1396891894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d3c9c86d6bd61e85edf5e438f53e1dd.jpg","text":"TemporaryFile(/tmp/multipartBody7739930889102412163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420963836,"filename":"image_29112025_13_49_14_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db28402c46ce1ede1141240b9ddd8adf.jpg","text":"TemporaryFile(/tmp/multipartBody7083066038569481638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420963836,"filename":"image_29112025_13_49_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/11/29/66669fb6550bd4e87479a50985a7227f.jpg","text":"TemporaryFile(/tmp/multipartBody8336850288608754408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420963836,"filename":"image_29112025_13_49_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55ba98f92a53e6b33d0dcb6a48c0e66e.jpg","text":"TemporaryFile(/tmp/multipartBody6086769566549744635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420963836,"filename":"image_29112025_13_49_05_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f65b46e301076d1a5245a17977f4edc6.jpg","text":"TemporaryFile(/tmp/multipartBody6764199997791841808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420963836,"filename":"image_29112025_13_49_45_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad6913e5ded5f8a5edef3d2430c983a7.jpg","text":"TemporaryFile(/tmp/multipartBody2355110967886808051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764420963836,"filename":"image_29112025_13_49_25_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891887","file1":"1396891886","file0":"1396891885","file4":"1396891890","file5":"1396891894","file3":"1396891888"},"map_files_photo_id_array":[{"photo_id":"1396891894","filename":"file5"},{"photo_id":"1396891887","filename":"file2"},{"photo_id":"1396891890","filename":"file4"},{"photo_id":"1396891886","filename":"file1"},{"photo_id":"1396891885","filename":"file0"},{"photo_id":"1396891888","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891886":["hashtag1","hashtag2"]},{"1396891894":["hashtag1","hashtag2"]},{"1396891888":["hashtag1","hashtag2"]},{"1396891885":["hashtag1","hashtag2"]},{"1396891890":["hashtag1","hashtag2"]},{"1396891887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891886, 1396891894, 1396891888, 1396891885, 1396891890, 1396891887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.841787815093994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:55:42.296521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_16_2764.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_18_2531.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_22_3838.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_25_2700.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_27_2562.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_31_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_16_2764.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_18_2531.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_22_3838.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_25_2700.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_27_2562.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_31_3690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891905","1396891908","1396891907","1396891904","1396891906","1396891903"],"photo_ids_order":["1396891903","1396891904","1396891905","1396891906","1396891907","1396891908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e60624d1dccefa610ed9244338a9d9cf.jpg","text":"TemporaryFile(/tmp/multipartBody1648389781392541864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421003496,"filename":"image_31102025_09_46_22_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8e0a78727b9717c7cb560448f5af47b.jpg","text":"TemporaryFile(/tmp/multipartBody1220839717285236286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421003496,"filename":"image_31102025_09_46_31_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09015884182a2f1e44e9fa7ad0c7d6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1777907629049388430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421003496,"filename":"image_31102025_09_46_27_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17e845bf4f4fc484e8845a5a81d04ac3.jpg","text":"TemporaryFile(/tmp/multipartBody410870903904496015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421003496,"filename":"image_31102025_09_46_18_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbba387b070fba1614314efff488b87d.jpg","text":"TemporaryFile(/tmp/multipartBody5872682789362280079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421003496,"filename":"image_31102025_09_46_25_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0acc1fed3f58a1bfa22d6b3990d03190.jpg","text":"TemporaryFile(/tmp/multipartBody102360968763119021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421003496,"filename":"image_31102025_09_46_16_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891905","file1":"1396891904","file0":"1396891903","file4":"1396891907","file5":"1396891908","file3":"1396891906"},"map_files_photo_id_array":[{"photo_id":"1396891908","filename":"file5"},{"photo_id":"1396891905","filename":"file2"},{"photo_id":"1396891907","filename":"file4"},{"photo_id":"1396891904","filename":"file1"},{"photo_id":"1396891903","filename":"file0"},{"photo_id":"1396891906","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396891905":["hashtag1","hashtag2"]},{"1396891908":["hashtag1","hashtag2"]},{"1396891907":["hashtag1","hashtag2"]},{"1396891904":["hashtag1","hashtag2"]},{"1396891906":["hashtag1","hashtag2"]},{"1396891903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396891905, 1396891908, 1396891907, 1396891904, 1396891906, 1396891903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73276901245117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 13:56:22.481729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/49/image_29112025_13_50_04_9685.jpg', '/home/pi/Desktop/images/29112025/13/50/image_29112025_13_50_15_10618.jpg', '/home/pi/Desktop/images/29112025/13/50/image_29112025_13_50_25_9681.jpg', '/home/pi/Desktop/images/29112025/13/50/image_29112025_13_50_35_9813.jpg', '/home/pi/Desktop/images/29112025/13/50/image_29112025_13_50_44_9709.jpg', '/home/pi/Desktop/images/29112025/13/50/image_29112025_13_50_55_10851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/49/image_29112025_13_50_04_9685.jpg
/home/pi/Desktop/images/29112025/13/50/image_29112025_13_50_15_10618.jpg
/home/pi/Desktop/images/29112025/13/50/image_29112025_13_50_25_9681.jpg
/home/pi/Desktop/images/29112025/13/50/image_29112025_13_50_35_9813.jpg
/home/pi/Desktop/images/29112025/13/50/image_29112025_13_50_44_9709.jpg
/home/pi/Desktop/images/29112025/13/50/image_29112025_13_50_55_10851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891920","1396891923","1396891917","1396891926","1396891912","1396891915"],"photo_ids_order":["1396891912","1396891915","1396891917","1396891920","1396891923","1396891926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96527221ec6d31512ae11bffec29774c.jpg","text":"TemporaryFile(/tmp/multipartBody8827528564221358698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421043253,"filename":"image_29112025_13_50_35_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e5c98857d407d3a69c83b8130a3ffa9.jpg","text":"TemporaryFile(/tmp/multipartBody5043575326605030115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421043253,"filename":"image_29112025_13_50_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0526b7e5e1c9d8222328f7671b08aa48.jpg","text":"TemporaryFile(/tmp/multipartBody242973483183709647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421043253,"filename":"image_29112025_13_50_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/11/29/8ac079a699c8a5012adda2d827a42938.jpg","text":"TemporaryFile(/tmp/multipartBody3098088329846633200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421043253,"filename":"image_29112025_13_50_55_10851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f32bca077dde7f2b37c192242ac7f262.jpg","text":"TemporaryFile(/tmp/multipartBody5954901774108674763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421043253,"filename":"image_29112025_13_50_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0dcd74dd07a351f9ca392c2f6e62e20.jpg","text":"TemporaryFile(/tmp/multipartBody5493513263757961154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421043253,"filename":"image_29112025_13_50_15_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891917","file1":"1396891915","file0":"1396891912","file4":"1396891923","file5":"1396891926","file3":"1396891920"},"map_files_photo_id_array":[{"photo_id":"1396891926","filename":"file5"},{"photo_id":"1396891917","filename":"file2"},{"photo_id":"1396891923","filename":"file4"},{"photo_id":"1396891915","filename":"file1"},{"photo_id":"1396891912","filename":"file0"},{"photo_id":"1396891920","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891920":["hashtag1","hashtag2"]},{"1396891923":["hashtag1","hashtag2"]},{"1396891917":["hashtag1","hashtag2"]},{"1396891926":["hashtag1","hashtag2"]},{"1396891912":["hashtag1","hashtag2"]},{"1396891915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891920, 1396891923, 1396891917, 1396891926, 1396891912, 1396891915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53125262260437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:57:03.326405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/51/image_29112025_13_51_15_9922.jpg', '/home/pi/Desktop/images/29112025/13/51/image_29112025_13_51_25_9790.jpg', '/home/pi/Desktop/images/29112025/13/51/image_29112025_13_51_35_10563.jpg', '/home/pi/Desktop/images/29112025/13/51/image_29112025_13_51_45_9845.jpg', '/home/pi/Desktop/images/29112025/13/51/image_29112025_13_51_55_9656.jpg', '/home/pi/Desktop/images/29112025/13/51/image_29112025_13_52_05_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/51/image_29112025_13_51_15_9922.jpg
/home/pi/Desktop/images/29112025/13/51/image_29112025_13_51_25_9790.jpg
/home/pi/Desktop/images/29112025/13/51/image_29112025_13_51_35_10563.jpg
/home/pi/Desktop/images/29112025/13/51/image_29112025_13_51_45_9845.jpg
/home/pi/Desktop/images/29112025/13/51/image_29112025_13_51_55_9656.jpg
/home/pi/Desktop/images/29112025/13/51/image_29112025_13_52_05_9791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891935","1396891938","1396891932","1396891931","1396891930","1396891933"],"photo_ids_order":["1396891930","1396891931","1396891932","1396891933","1396891935","1396891938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab2913014aece06e39bbb71e10383f5e.jpg","text":"TemporaryFile(/tmp/multipartBody2450914935244202259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421084127,"filename":"image_29112025_13_51_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6490b04798d406c8db18a17c2602580.jpg","text":"TemporaryFile(/tmp/multipartBody1162204136653909045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421084127,"filename":"image_29112025_13_52_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/11/29/7b1065e5e34419b662f50afa546c02b3.jpg","text":"TemporaryFile(/tmp/multipartBody5738084379872987934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421084127,"filename":"image_29112025_13_51_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/11/29/54b57badcc3fb060d71364c727393b42.jpg","text":"TemporaryFile(/tmp/multipartBody5345453567401039993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421084127,"filename":"image_29112025_13_51_25_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d2ddc71ac124a8946ec9f7c59afa6bc.jpg","text":"TemporaryFile(/tmp/multipartBody8641175038370405035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421084127,"filename":"image_29112025_13_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/11/29/0213c5adc0a05e916d68bd83f1a56fdc.jpg","text":"TemporaryFile(/tmp/multipartBody8188905578798127447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421084127,"filename":"image_29112025_13_51_45_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891932","file1":"1396891931","file0":"1396891930","file4":"1396891935","file5":"1396891938","file3":"1396891933"},"map_files_photo_id_array":[{"photo_id":"1396891938","filename":"file5"},{"photo_id":"1396891932","filename":"file2"},{"photo_id":"1396891935","filename":"file4"},{"photo_id":"1396891931","filename":"file1"},{"photo_id":"1396891930","filename":"file0"},{"photo_id":"1396891933","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891935":["hashtag1","hashtag2"]},{"1396891938":["hashtag1","hashtag2"]},{"1396891932":["hashtag1","hashtag2"]},{"1396891931":["hashtag1","hashtag2"]},{"1396891930":["hashtag1","hashtag2"]},{"1396891933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891935, 1396891938, 1396891932, 1396891931, 1396891930, 1396891933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.978572607040405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:57:42.673427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_34_2737.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_36_2662.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_40_3575.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_43_2680.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_45_2577.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_51_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/09/46/image_31102025_09_46_34_2737.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_36_2662.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_40_3575.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_43_2680.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_45_2577.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_51_2551.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396891950","1396891952","1396891949","1396891951","1396891948","1396891947"],"photo_ids_order":["1396891947","1396891948","1396891949","1396891950","1396891951","1396891952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f662c6b6b13de21008e1b3314938aaed.jpg","text":"TemporaryFile(/tmp/multipartBody3081368827380957594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421123859,"filename":"image_31102025_09_46_43_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85170645dba78e976c8b2ab0bab1d1d7.jpg","text":"TemporaryFile(/tmp/multipartBody2315247487398594581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421123859,"filename":"image_31102025_09_46_51_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d00beca340d67c646d63503260fa8665.jpg","text":"TemporaryFile(/tmp/multipartBody8362296482629336218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421123859,"filename":"image_31102025_09_46_40_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bada9eabe782c913489802c5e2e9e90.jpg","text":"TemporaryFile(/tmp/multipartBody5913897073921612601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421123859,"filename":"image_31102025_09_46_45_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/380be559630147041782bf769162ab70.jpg","text":"TemporaryFile(/tmp/multipartBody3927884844609614540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421123859,"filename":"image_31102025_09_46_36_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94ac5793fe350535404f904f91ba782f.jpg","text":"TemporaryFile(/tmp/multipartBody2509080746846540046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421123859,"filename":"image_31102025_09_46_34_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891949","file1":"1396891948","file0":"1396891947","file4":"1396891951","file5":"1396891952","file3":"1396891950"},"map_files_photo_id_array":[{"photo_id":"1396891952","filename":"file5"},{"photo_id":"1396891949","filename":"file2"},{"photo_id":"1396891951","filename":"file4"},{"photo_id":"1396891948","filename":"file1"},{"photo_id":"1396891947","filename":"file0"},{"photo_id":"1396891950","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396891950":["hashtag1","hashtag2"]},{"1396891952":["hashtag1","hashtag2"]},{"1396891949":["hashtag1","hashtag2"]},{"1396891951":["hashtag1","hashtag2"]},{"1396891948":["hashtag1","hashtag2"]},{"1396891947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396891950, 1396891952, 1396891949, 1396891951, 1396891948, 1396891947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99919128417969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 13:59:02.796521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/52/image_29112025_13_52_14_9808.jpg', '/home/pi/Desktop/images/29112025/13/52/image_29112025_13_52_25_10660.jpg', '/home/pi/Desktop/images/29112025/13/52/image_29112025_13_52_44_9137.jpg', '/home/pi/Desktop/images/29112025/13/52/image_29112025_13_52_55_10764.jpg', '/home/pi/Desktop/images/29112025/13/53/image_29112025_13_53_15_9896.jpg', '/home/pi/Desktop/images/29112025/13/53/image_29112025_13_53_35_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/52/image_29112025_13_52_14_9808.jpg
/home/pi/Desktop/images/29112025/13/52/image_29112025_13_52_25_10660.jpg
/home/pi/Desktop/images/29112025/13/52/image_29112025_13_52_44_9137.jpg
/home/pi/Desktop/images/29112025/13/52/image_29112025_13_52_55_10764.jpg
/home/pi/Desktop/images/29112025/13/53/image_29112025_13_53_15_9896.jpg
/home/pi/Desktop/images/29112025/13/53/image_29112025_13_53_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":["1396891962","1396892105","1396892036","1396891960","1396892178","1396891995"],"photo_ids_order":["1396891960","1396891962","1396891995","1396892036","1396892105","1396892178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11863b3e148696e03b4ee8887769ab11.jpg","text":"TemporaryFile(/tmp/multipartBody6304691486058105750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421203718,"filename":"image_29112025_13_52_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b57b941d891d30cdb9df177ffda7add.jpg","text":"TemporaryFile(/tmp/multipartBody3205833677100934162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421203718,"filename":"image_29112025_13_53_15_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d19afb4d4f49587f92454b6ce0443da.jpg","text":"TemporaryFile(/tmp/multipartBody6365791708515273659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421203718,"filename":"image_29112025_13_52_55_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6176973c176401b2324309a295ced68d.jpg","text":"TemporaryFile(/tmp/multipartBody1192940664798863561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421203718,"filename":"image_29112025_13_52_14_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c3eb53238ed996621deb2628d490334.jpg","text":"TemporaryFile(/tmp/multipartBody6568025095009728931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421203718,"filename":"image_29112025_13_53_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d14c9fa9d6bdd20972659117a9e6677.jpg","text":"TemporaryFile(/tmp/multipartBody8145147826423004762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421203718,"filename":"image_29112025_13_52_44_9137.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396891995","file1":"1396891962","file0":"1396891960","file4":"1396892105","file5":"1396892178","file3":"1396892036"},"map_files_photo_id_array":[{"photo_id":"1396892178","filename":"file5"},{"photo_id":"1396891995","filename":"file2"},{"photo_id":"1396892105","filename":"file4"},{"photo_id":"1396891962","filename":"file1"},{"photo_id":"1396891960","filename":"file0"},{"photo_id":"1396892036","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396891962":["hashtag1","hashtag2"]},{"1396892105":["hashtag1","hashtag2"]},{"1396892036":["hashtag1","hashtag2"]},{"1396891960":["hashtag1","hashtag2"]},{"1396892178":["hashtag1","hashtag2"]},{"1396891995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396891962, 1396892105, 1396892036, 1396891960, 1396892178, 1396891995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13708758354187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 13:59:41.968310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_54_2703.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_58_3637.jpg', '/home/pi/Desktop/images/31102025/09/46/image_31102025_09_47_00_2720.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_03_2814.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_07_3635.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_10_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_54_2703.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_46_58_3637.jpg
/home/pi/Desktop/images/31102025/09/46/image_31102025_09_47_00_2720.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_03_2814.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_07_3635.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_10_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396892468","1396892612","1396892542","1396892836","1396892758","1396892688"],"photo_ids_order":["1396892468","1396892542","1396892612","1396892688","1396892758","1396892836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f04523a4f505f3fe5467b40cc99677b8.jpg","text":"TemporaryFile(/tmp/multipartBody4216771377918380293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421243081,"filename":"image_31102025_09_46_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/11/29/f125a5ca9b16602d001a1513932161d5.jpg","text":"TemporaryFile(/tmp/multipartBody3259436458696943095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421243081,"filename":"image_31102025_09_47_00_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6644db3d7f9a439b8478c053846915e5.jpg","text":"TemporaryFile(/tmp/multipartBody4159392948847656403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421243081,"filename":"image_31102025_09_46_58_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0d807fbc41b4a99e85d6f34d3490c2e.jpg","text":"TemporaryFile(/tmp/multipartBody5827856763244201672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421243081,"filename":"image_31102025_09_47_10_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d9c6eed4c04e6269e92ac1b65285c09.jpg","text":"TemporaryFile(/tmp/multipartBody3064682685768921953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421243081,"filename":"image_31102025_09_47_07_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37ad511a3160bfe18324f0a1b1bd384c.jpg","text":"TemporaryFile(/tmp/multipartBody3531963068648600274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421243081,"filename":"image_31102025_09_47_03_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396892612","file1":"1396892542","file0":"1396892468","file4":"1396892758","file5":"1396892836","file3":"1396892688"},"map_files_photo_id_array":[{"photo_id":"1396892836","filename":"file5"},{"photo_id":"1396892612","filename":"file2"},{"photo_id":"1396892758","filename":"file4"},{"photo_id":"1396892542","filename":"file1"},{"photo_id":"1396892468","filename":"file0"},{"photo_id":"1396892688","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396892468":["hashtag1","hashtag2"]},{"1396892612":["hashtag1","hashtag2"]},{"1396892542":["hashtag1","hashtag2"]},{"1396892836":["hashtag1","hashtag2"]},{"1396892758":["hashtag1","hashtag2"]},{"1396892688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396892468, 1396892612, 1396892542, 1396892836, 1396892758, 1396892688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46546411514282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:00:22.151030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/53/image_29112025_13_53_44_9389.jpg', '/home/pi/Desktop/images/29112025/13/53/image_29112025_13_53_54_9944.jpg', '/home/pi/Desktop/images/29112025/13/53/image_29112025_13_54_05_10668.jpg', '/home/pi/Desktop/images/29112025/13/54/image_29112025_13_54_15_9755.jpg', '/home/pi/Desktop/images/29112025/13/54/image_29112025_13_54_25_9728.jpg', '/home/pi/Desktop/images/29112025/13/54/image_29112025_13_54_35_10537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/53/image_29112025_13_53_44_9389.jpg
/home/pi/Desktop/images/29112025/13/53/image_29112025_13_53_54_9944.jpg
/home/pi/Desktop/images/29112025/13/53/image_29112025_13_54_05_10668.jpg
/home/pi/Desktop/images/29112025/13/54/image_29112025_13_54_15_9755.jpg
/home/pi/Desktop/images/29112025/13/54/image_29112025_13_54_25_9728.jpg
/home/pi/Desktop/images/29112025/13/54/image_29112025_13_54_35_10537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396893221","1396893103","1396893336","1396893258","1396893296","1396893179"],"photo_ids_order":["1396893103","1396893179","1396893221","1396893258","1396893296","1396893336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/423f8b57034c73da93d163337d7314c6.jpg","text":"TemporaryFile(/tmp/multipartBody5126714955788564910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421282873,"filename":"image_29112025_13_54_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/11/29/5c0690133b5c05db669b752d5f632f4d.jpg","text":"TemporaryFile(/tmp/multipartBody4443720357211534096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421282873,"filename":"image_29112025_13_53_44_9389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/694b00add11b0b53787a62da850ed5ce.jpg","text":"TemporaryFile(/tmp/multipartBody7808793481316679539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421282873,"filename":"image_29112025_13_54_35_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01d53f3f1ade7ab58effa9241ce9d0c3.jpg","text":"TemporaryFile(/tmp/multipartBody2899347260138077009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421282873,"filename":"image_29112025_13_54_15_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/003f90fd5e02593e59201a89a1bb1a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1039286406338435434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421282873,"filename":"image_29112025_13_54_25_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c25069340156cfb0137e19605fa59446.jpg","text":"TemporaryFile(/tmp/multipartBody6599036907737450096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421282873,"filename":"image_29112025_13_53_54_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396893221","file1":"1396893179","file0":"1396893103","file4":"1396893296","file5":"1396893336","file3":"1396893258"},"map_files_photo_id_array":[{"photo_id":"1396893336","filename":"file5"},{"photo_id":"1396893221","filename":"file2"},{"photo_id":"1396893296","filename":"file4"},{"photo_id":"1396893179","filename":"file1"},{"photo_id":"1396893103","filename":"file0"},{"photo_id":"1396893258","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396893221":["hashtag1","hashtag2"]},{"1396893103":["hashtag1","hashtag2"]},{"1396893336":["hashtag1","hashtag2"]},{"1396893258":["hashtag1","hashtag2"]},{"1396893296":["hashtag1","hashtag2"]},{"1396893179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396893221, 1396893103, 1396893336, 1396893258, 1396893296, 1396893179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.873480558395386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:01:03.113200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/54/image_29112025_13_54_45_9669.jpg', '/home/pi/Desktop/images/29112025/13/54/image_29112025_13_54_54_9683.jpg', '/home/pi/Desktop/images/29112025/13/54/image_29112025_13_55_05_10689.jpg', '/home/pi/Desktop/images/29112025/13/55/image_29112025_13_55_15_9728.jpg', '/home/pi/Desktop/images/29112025/13/55/image_29112025_13_55_25_9735.jpg', '/home/pi/Desktop/images/29112025/13/55/image_29112025_13_55_35_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/54/image_29112025_13_54_45_9669.jpg
/home/pi/Desktop/images/29112025/13/54/image_29112025_13_54_54_9683.jpg
/home/pi/Desktop/images/29112025/13/54/image_29112025_13_55_05_10689.jpg
/home/pi/Desktop/images/29112025/13/55/image_29112025_13_55_15_9728.jpg
/home/pi/Desktop/images/29112025/13/55/image_29112025_13_55_25_9735.jpg
/home/pi/Desktop/images/29112025/13/55/image_29112025_13_55_35_10571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396893673","1396893562","1396893631","1396893708","1396893482","1396893749"],"photo_ids_order":["1396893482","1396893562","1396893631","1396893673","1396893708","1396893749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce7d12b8fbe656645dea78b6fdf53683.jpg","text":"TemporaryFile(/tmp/multipartBody1737365795968847119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421323908,"filename":"image_29112025_13_55_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9333bff284d1d452cdf905a2ba2e2f31.jpg","text":"TemporaryFile(/tmp/multipartBody1636588402923670683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421323908,"filename":"image_29112025_13_54_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/11/29/8ea59a1aba453edc4f3701c89807a281.jpg","text":"TemporaryFile(/tmp/multipartBody458770603037309958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421323908,"filename":"image_29112025_13_55_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/11/29/e8757a3e9a4da594615bf6ad7f1b3997.jpg","text":"TemporaryFile(/tmp/multipartBody7120685773597974886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421323908,"filename":"image_29112025_13_55_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/11/29/2e739381376d7dad11df755ef7d06d13.jpg","text":"TemporaryFile(/tmp/multipartBody4260648612696757220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421323908,"filename":"image_29112025_13_54_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4afb512f8172af04e6b4edcf0a451171.jpg","text":"TemporaryFile(/tmp/multipartBody5030826693903612762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421323908,"filename":"image_29112025_13_55_35_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396893631","file1":"1396893562","file0":"1396893482","file4":"1396893708","file5":"1396893749","file3":"1396893673"},"map_files_photo_id_array":[{"photo_id":"1396893749","filename":"file5"},{"photo_id":"1396893631","filename":"file2"},{"photo_id":"1396893708","filename":"file4"},{"photo_id":"1396893562","filename":"file1"},{"photo_id":"1396893482","filename":"file0"},{"photo_id":"1396893673","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396893673":["hashtag1","hashtag2"]},{"1396893562":["hashtag1","hashtag2"]},{"1396893631":["hashtag1","hashtag2"]},{"1396893708":["hashtag1","hashtag2"]},{"1396893482":["hashtag1","hashtag2"]},{"1396893749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396893673, 1396893562, 1396893631, 1396893708, 1396893482, 1396893749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47713589668274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:01:42.487462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_12_2713.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_16_3539.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_19_2709.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_21_2634.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_25_3540.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_27_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/09/47/image_31102025_09_47_12_2713.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_16_3539.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_19_2709.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_21_2634.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_25_3540.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_27_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":["1396893898","1396893862","1396894003","1396893829","1396893795","1396893963"],"photo_ids_order":["1396893795","1396893829","1396893862","1396893898","1396893963","1396894003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40ad71fd4cd040d06a2376d5f5d412bf.jpg","text":"TemporaryFile(/tmp/multipartBody109385618592599869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421363622,"filename":"image_31102025_09_47_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/11/29/08b0d5711eb064143c0a41e2e2355abf.jpg","text":"TemporaryFile(/tmp/multipartBody680098825779150572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421363622,"filename":"image_31102025_09_47_19_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bed8bd68c0edd08b047f2169d6ca18a6.jpg","text":"TemporaryFile(/tmp/multipartBody2449587499367172554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421363622,"filename":"image_31102025_09_47_27_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c7e6fe25d5336ad10858b497573170b.jpg","text":"TemporaryFile(/tmp/multipartBody5067485101849644126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421363622,"filename":"image_31102025_09_47_16_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/643f8f51396f96b3041e9be60e71bbda.jpg","text":"TemporaryFile(/tmp/multipartBody7695831898800886791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421363622,"filename":"image_31102025_09_47_12_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7836def2e39e1ecc8a1f225b4e7343b4.jpg","text":"TemporaryFile(/tmp/multipartBody4735857604044677644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421363622,"filename":"image_31102025_09_47_25_3540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396893862","file1":"1396893829","file0":"1396893795","file4":"1396893963","file5":"1396894003","file3":"1396893898"},"map_files_photo_id_array":[{"photo_id":"1396894003","filename":"file5"},{"photo_id":"1396893862","filename":"file2"},{"photo_id":"1396893963","filename":"file4"},{"photo_id":"1396893829","filename":"file1"},{"photo_id":"1396893795","filename":"file0"},{"photo_id":"1396893898","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396893898":["hashtag1","hashtag2"]},{"1396893862":["hashtag1","hashtag2"]},{"1396894003":["hashtag1","hashtag2"]},{"1396893829":["hashtag1","hashtag2"]},{"1396893795":["hashtag1","hashtag2"]},{"1396893963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396893898, 1396893862, 1396894003, 1396893829, 1396893795, 1396893963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96001601219177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:02:22.714793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/55/image_29112025_13_55_45_9737.jpg', '/home/pi/Desktop/images/29112025/13/55/image_29112025_13_55_55_9837.jpg', '/home/pi/Desktop/images/29112025/13/55/image_29112025_13_56_05_9766.jpg', '/home/pi/Desktop/images/29112025/13/56/image_29112025_13_56_14_9905.jpg', '/home/pi/Desktop/images/29112025/13/56/image_29112025_13_56_25_10766.jpg', '/home/pi/Desktop/images/29112025/13/56/image_29112025_13_56_35_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/55/image_29112025_13_55_45_9737.jpg
/home/pi/Desktop/images/29112025/13/55/image_29112025_13_55_55_9837.jpg
/home/pi/Desktop/images/29112025/13/55/image_29112025_13_56_05_9766.jpg
/home/pi/Desktop/images/29112025/13/56/image_29112025_13_56_14_9905.jpg
/home/pi/Desktop/images/29112025/13/56/image_29112025_13_56_25_10766.jpg
/home/pi/Desktop/images/29112025/13/56/image_29112025_13_56_35_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396894381","1396894237","1396894518","1396894308","1396894586","1396894451"],"photo_ids_order":["1396894237","1396894308","1396894381","1396894451","1396894518","1396894586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69b37a84a1b5d3ac8b944963b7790b18.jpg","text":"TemporaryFile(/tmp/multipartBody1183677433468436693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421403505,"filename":"image_29112025_13_56_05_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f06e1fada33f989524f987e65ef17d68.jpg","text":"TemporaryFile(/tmp/multipartBody5263971411387532391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421403505,"filename":"image_29112025_13_55_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/11/29/da72cef8925e9ce3a9bb569a0d427f79.jpg","text":"TemporaryFile(/tmp/multipartBody7978464011601964707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421403505,"filename":"image_29112025_13_56_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/11/29/a501f7838b3e25c4f9478785e8d9f445.jpg","text":"TemporaryFile(/tmp/multipartBody6495598009539063884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421403505,"filename":"image_29112025_13_55_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/11/29/e2fde65fc2d27205a49cd54c0d337175.jpg","text":"TemporaryFile(/tmp/multipartBody7923308730908860489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421403505,"filename":"image_29112025_13_56_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/11/29/2cdb87040cfa0303cdb436b31569ffbf.jpg","text":"TemporaryFile(/tmp/multipartBody6168292920793113588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421403505,"filename":"image_29112025_13_56_14_9905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396894381","file1":"1396894308","file0":"1396894237","file4":"1396894518","file5":"1396894586","file3":"1396894451"},"map_files_photo_id_array":[{"photo_id":"1396894586","filename":"file5"},{"photo_id":"1396894381","filename":"file2"},{"photo_id":"1396894518","filename":"file4"},{"photo_id":"1396894308","filename":"file1"},{"photo_id":"1396894237","filename":"file0"},{"photo_id":"1396894451","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396894381":["hashtag1","hashtag2"]},{"1396894237":["hashtag1","hashtag2"]},{"1396894518":["hashtag1","hashtag2"]},{"1396894308":["hashtag1","hashtag2"]},{"1396894586":["hashtag1","hashtag2"]},{"1396894451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396894381, 1396894237, 1396894518, 1396894308, 1396894586, 1396894451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91843104362488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:03:03.379825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/56/image_29112025_13_56_54_9727.jpg', '/home/pi/Desktop/images/29112025/13/56/image_29112025_13_57_05_10658.jpg', '/home/pi/Desktop/images/29112025/13/57/image_29112025_13_57_24_9748.jpg', '/home/pi/Desktop/images/29112025/13/57/image_29112025_13_57_35_10656.jpg', '/home/pi/Desktop/images/29112025/13/57/image_29112025_13_57_45_9599.jpg', '/home/pi/Desktop/images/29112025/13/57/image_29112025_13_58_05_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/56/image_29112025_13_56_54_9727.jpg
/home/pi/Desktop/images/29112025/13/56/image_29112025_13_57_05_10658.jpg
/home/pi/Desktop/images/29112025/13/57/image_29112025_13_57_24_9748.jpg
/home/pi/Desktop/images/29112025/13/57/image_29112025_13_57_35_10656.jpg
/home/pi/Desktop/images/29112025/13/57/image_29112025_13_57_45_9599.jpg
/home/pi/Desktop/images/29112025/13/57/image_29112025_13_58_05_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":["1396894768","1396895026","1396894837","1396894968","1396894932","1396894898"],"photo_ids_order":["1396894768","1396894837","1396894898","1396894932","1396894968","1396895026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/346edc2c74703c736b6fa1ac6f8dcc2e.jpg","text":"TemporaryFile(/tmp/multipartBody5521259352215385847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421444206,"filename":"image_29112025_13_56_54_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57ce9f4c8ec1d58a7719c05c102ae9f5.jpg","text":"TemporaryFile(/tmp/multipartBody761739649377463421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421444206,"filename":"image_29112025_13_58_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/11/29/1092ce517e432bf8750bfe5036251be2.jpg","text":"TemporaryFile(/tmp/multipartBody3556652992142119120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421444206,"filename":"image_29112025_13_57_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/11/29/3a978e023d25fa61d29ec4b4910346dd.jpg","text":"TemporaryFile(/tmp/multipartBody8635385213864565642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421444206,"filename":"image_29112025_13_57_45_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/becf0870e8818e6c262766363262b75f.jpg","text":"TemporaryFile(/tmp/multipartBody3955194832447666395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421444206,"filename":"image_29112025_13_57_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/11/29/1ea2b450763b41af7149906dc5783709.jpg","text":"TemporaryFile(/tmp/multipartBody6314973987003016130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421444206,"filename":"image_29112025_13_57_24_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396894898","file1":"1396894837","file0":"1396894768","file4":"1396894968","file5":"1396895026","file3":"1396894932"},"map_files_photo_id_array":[{"photo_id":"1396895026","filename":"file5"},{"photo_id":"1396894898","filename":"file2"},{"photo_id":"1396894968","filename":"file4"},{"photo_id":"1396894837","filename":"file1"},{"photo_id":"1396894768","filename":"file0"},{"photo_id":"1396894932","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396894768":["hashtag1","hashtag2"]},{"1396895026":["hashtag1","hashtag2"]},{"1396894837":["hashtag1","hashtag2"]},{"1396894968":["hashtag1","hashtag2"]},{"1396894932":["hashtag1","hashtag2"]},{"1396894898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396894768, 1396895026, 1396894837, 1396894968, 1396894932, 1396894898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.044495820999146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:03:42.794368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_30_2583.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_34_3533.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_36_2672.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_39_2731.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_43_3712.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_52_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/09/47/image_31102025_09_47_30_2583.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_34_3533.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_36_2672.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_39_2731.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_43_3712.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_52_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":["1396895347","1396895205","1396895313","1396895240","1396895380","1396895278"],"photo_ids_order":["1396895205","1396895240","1396895278","1396895313","1396895347","1396895380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3f58e22e45d117c6f449ef2ced10519.jpg","text":"TemporaryFile(/tmp/multipartBody2338622884508941127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421483918,"filename":"image_31102025_09_47_43_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7c3fe571a1e10afaab2aaf22f643e6b.jpg","text":"TemporaryFile(/tmp/multipartBody3129866768143967610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421483918,"filename":"image_31102025_09_47_30_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5a7e27d06dfd178b737494a77cfc71f.jpg","text":"TemporaryFile(/tmp/multipartBody8134631940646309272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421483918,"filename":"image_31102025_09_47_39_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/abb188295e0cf66b128b9e75401fca81.jpg","text":"TemporaryFile(/tmp/multipartBody8001516812354558166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421483918,"filename":"image_31102025_09_47_34_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7ab78b7d6e8333ef67c55d251dedf8a.jpg","text":"TemporaryFile(/tmp/multipartBody1104061750665149660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421483918,"filename":"image_31102025_09_47_52_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43ec9762aed8a6a0a8e447069e41bd2b.jpg","text":"TemporaryFile(/tmp/multipartBody1460019795200662384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421483918,"filename":"image_31102025_09_47_36_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396895278","file1":"1396895240","file0":"1396895205","file4":"1396895347","file5":"1396895380","file3":"1396895313"},"map_files_photo_id_array":[{"photo_id":"1396895380","filename":"file5"},{"photo_id":"1396895278","filename":"file2"},{"photo_id":"1396895347","filename":"file4"},{"photo_id":"1396895240","filename":"file1"},{"photo_id":"1396895205","filename":"file0"},{"photo_id":"1396895313","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396895347":["hashtag1","hashtag2"]},{"1396895205":["hashtag1","hashtag2"]},{"1396895313":["hashtag1","hashtag2"]},{"1396895240":["hashtag1","hashtag2"]},{"1396895380":["hashtag1","hashtag2"]},{"1396895278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396895347, 1396895205, 1396895313, 1396895240, 1396895380, 1396895278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72321009635925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:04:22.060150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/58/image_29112025_13_58_15_9711.jpg', '/home/pi/Desktop/images/29112025/13/58/image_29112025_13_58_24_9682.jpg', '/home/pi/Desktop/images/29112025/13/58/image_29112025_13_58_45_9689.jpg', '/home/pi/Desktop/images/29112025/13/58/image_29112025_13_58_54_9646.jpg', '/home/pi/Desktop/images/29112025/13/58/image_29112025_13_59_05_10806.jpg', '/home/pi/Desktop/images/29112025/13/59/image_29112025_13_59_15_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/58/image_29112025_13_58_15_9711.jpg
/home/pi/Desktop/images/29112025/13/58/image_29112025_13_58_24_9682.jpg
/home/pi/Desktop/images/29112025/13/58/image_29112025_13_58_45_9689.jpg
/home/pi/Desktop/images/29112025/13/58/image_29112025_13_58_54_9646.jpg
/home/pi/Desktop/images/29112025/13/58/image_29112025_13_59_05_10806.jpg
/home/pi/Desktop/images/29112025/13/59/image_29112025_13_59_15_9688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396895452","1396895446","1396895448","1396895450","1396895455","1396895443"],"photo_ids_order":["1396895443","1396895446","1396895448","1396895450","1396895452","1396895455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c004781e5d3928c52481c3714fd6449b.jpg","text":"TemporaryFile(/tmp/multipartBody785579587033332530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421522789,"filename":"image_29112025_13_59_05_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/abe4bcff48ff3ffb03e0d0d176845454.jpg","text":"TemporaryFile(/tmp/multipartBody3595464888968438543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421522789,"filename":"image_29112025_13_58_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/11/29/8e45ae9fef5eb89b50c3063f2cf986c5.jpg","text":"TemporaryFile(/tmp/multipartBody5222707108840444509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421522789,"filename":"image_29112025_13_58_45_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bbb66c147bfc1db38f04cd4861fedc7d.jpg","text":"TemporaryFile(/tmp/multipartBody2939567243259875082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421522789,"filename":"image_29112025_13_58_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/165180cbe0294b8e4863d07cb9096940.jpg","text":"TemporaryFile(/tmp/multipartBody1591438685370982509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421522789,"filename":"image_29112025_13_59_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/11/29/3a4d09ed330410f7c34922cc5e20554e.jpg","text":"TemporaryFile(/tmp/multipartBody5600555586260088027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421522789,"filename":"image_29112025_13_58_15_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396895448","file1":"1396895446","file0":"1396895443","file4":"1396895452","file5":"1396895455","file3":"1396895450"},"map_files_photo_id_array":[{"photo_id":"1396895455","filename":"file5"},{"photo_id":"1396895448","filename":"file2"},{"photo_id":"1396895452","filename":"file4"},{"photo_id":"1396895446","filename":"file1"},{"photo_id":"1396895443","filename":"file0"},{"photo_id":"1396895450","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396895452":["hashtag1","hashtag2"]},{"1396895446":["hashtag1","hashtag2"]},{"1396895448":["hashtag1","hashtag2"]},{"1396895450":["hashtag1","hashtag2"]},{"1396895455":["hashtag1","hashtag2"]},{"1396895443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396895452, 1396895446, 1396895448, 1396895450, 1396895455, 1396895443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.895275354385376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:05:02.880556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/13/59/image_29112025_13_59_35_10697.jpg', '/home/pi/Desktop/images/29112025/13/59/image_29112025_13_59_45_9657.jpg', '/home/pi/Desktop/images/29112025/13/59/image_29112025_13_59_55_9747.jpg', '/home/pi/Desktop/images/29112025/14/00/image_29112025_14_00_14_10078.jpg', '/home/pi/Desktop/images/29112025/14/00/image_29112025_14_00_25_10699.jpg', '/home/pi/Desktop/images/29112025/14/00/image_29112025_14_00_35_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/13/59/image_29112025_13_59_35_10697.jpg
/home/pi/Desktop/images/29112025/13/59/image_29112025_13_59_45_9657.jpg
/home/pi/Desktop/images/29112025/13/59/image_29112025_13_59_55_9747.jpg
/home/pi/Desktop/images/29112025/14/00/image_29112025_14_00_14_10078.jpg
/home/pi/Desktop/images/29112025/14/00/image_29112025_14_00_25_10699.jpg
/home/pi/Desktop/images/29112025/14/00/image_29112025_14_00_35_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":["1396895727","1396895820","1396895538","1396895657","1396895585","1396895497"],"photo_ids_order":["1396895497","1396895538","1396895585","1396895657","1396895727","1396895820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d411d6c2f1fa860b43acd7c928a0982e.jpg","text":"TemporaryFile(/tmp/multipartBody6181019669129448140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421563657,"filename":"image_29112025_14_00_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/11/29/4396e6bfd72491050f322cf18c4e5b00.jpg","text":"TemporaryFile(/tmp/multipartBody789414473743408572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421563657,"filename":"image_29112025_14_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/11/29/092bb83669c12545376feae0362cc453.jpg","text":"TemporaryFile(/tmp/multipartBody5152226870025171419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421563657,"filename":"image_29112025_13_59_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/11/29/3e2b8cdbc93d96172c12fbf00d1a068d.jpg","text":"TemporaryFile(/tmp/multipartBody7265555456765994822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421563657,"filename":"image_29112025_14_00_14_10078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c1dcf54f398ac92a5fc0d0e940de897.jpg","text":"TemporaryFile(/tmp/multipartBody4269658499619046240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421563657,"filename":"image_29112025_13_59_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/11/29/338d9f857375ae3f169d6d356460f8b0.jpg","text":"TemporaryFile(/tmp/multipartBody689963781522310053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421563657,"filename":"image_29112025_13_59_35_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396895585","file1":"1396895538","file0":"1396895497","file4":"1396895727","file5":"1396895820","file3":"1396895657"},"map_files_photo_id_array":[{"photo_id":"1396895820","filename":"file5"},{"photo_id":"1396895585","filename":"file2"},{"photo_id":"1396895727","filename":"file4"},{"photo_id":"1396895538","filename":"file1"},{"photo_id":"1396895497","filename":"file0"},{"photo_id":"1396895657","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396895727":["hashtag1","hashtag2"]},{"1396895820":["hashtag1","hashtag2"]},{"1396895538":["hashtag1","hashtag2"]},{"1396895657":["hashtag1","hashtag2"]},{"1396895585":["hashtag1","hashtag2"]},{"1396895497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396895727, 1396895820, 1396895538, 1396895657, 1396895585, 1396895497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25980043411255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:05:42.230396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_55_2797.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_57_2686.jpg', '/home/pi/Desktop/images/31102025/09/47/image_31102025_09_48_00_2743.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_04_3802.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_06_2605.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_09_2956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_55_2797.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_47_57_2686.jpg
/home/pi/Desktop/images/31102025/09/47/image_31102025_09_48_00_2743.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_04_3802.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_06_2605.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_09_2956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396896186","1396896273","1396896237","1396895981","1396896107","1396896031"],"photo_ids_order":["1396895981","1396896031","1396896107","1396896186","1396896237","1396896273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45f4d7c80e10b52d89e4ab24e7f99a63.jpg","text":"TemporaryFile(/tmp/multipartBody352039071703147577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421603383,"filename":"image_31102025_09_48_04_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cdd7b552f0c3a13ac39adf897cf69e4c.jpg","text":"TemporaryFile(/tmp/multipartBody8005835917442282542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421603383,"filename":"image_31102025_09_48_09_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da7c637df74292dc7121dcd3370e21ad.jpg","text":"TemporaryFile(/tmp/multipartBody385679792902985268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421603383,"filename":"image_31102025_09_48_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/11/29/eed6b3e1170e9f486fc722e09daaa72c.jpg","text":"TemporaryFile(/tmp/multipartBody3522953095441383453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421603383,"filename":"image_31102025_09_47_55_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/001cf7c59d41301addd66a46754d0ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4154422780661242673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421603383,"filename":"image_31102025_09_48_00_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f787fc19b16b7cca63f6f35218e8e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1554013892703730432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421603383,"filename":"image_31102025_09_47_57_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396896107","file1":"1396896031","file0":"1396895981","file4":"1396896237","file5":"1396896273","file3":"1396896186"},"map_files_photo_id_array":[{"photo_id":"1396896273","filename":"file5"},{"photo_id":"1396896107","filename":"file2"},{"photo_id":"1396896237","filename":"file4"},{"photo_id":"1396896031","filename":"file1"},{"photo_id":"1396895981","filename":"file0"},{"photo_id":"1396896186","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396896186":["hashtag1","hashtag2"]},{"1396896273":["hashtag1","hashtag2"]},{"1396896237":["hashtag1","hashtag2"]},{"1396895981":["hashtag1","hashtag2"]},{"1396896107":["hashtag1","hashtag2"]},{"1396896031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396896186, 1396896273, 1396896237, 1396895981, 1396896107, 1396896031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99276900291443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:06:22.400394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/00/image_29112025_14_00_44_9659.jpg', '/home/pi/Desktop/images/29112025/14/00/image_29112025_14_01_05_9567.jpg', '/home/pi/Desktop/images/29112025/14/01/image_29112025_14_01_15_9815.jpg', '/home/pi/Desktop/images/29112025/14/01/image_29112025_14_01_24_9900.jpg', '/home/pi/Desktop/images/29112025/14/01/image_29112025_14_01_35_10550.jpg', '/home/pi/Desktop/images/29112025/14/01/image_29112025_14_01_45_9997.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/00/image_29112025_14_00_44_9659.jpg
/home/pi/Desktop/images/29112025/14/00/image_29112025_14_01_05_9567.jpg
/home/pi/Desktop/images/29112025/14/01/image_29112025_14_01_15_9815.jpg
/home/pi/Desktop/images/29112025/14/01/image_29112025_14_01_24_9900.jpg
/home/pi/Desktop/images/29112025/14/01/image_29112025_14_01_35_10550.jpg
/home/pi/Desktop/images/29112025/14/01/image_29112025_14_01_45_9997.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396896613","1396896651","1396896757","1396896685","1396896721","1396896550"],"photo_ids_order":["1396896550","1396896613","1396896651","1396896685","1396896721","1396896757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e0c8c13a5cf528cf7a335354449c7a0.jpg","text":"TemporaryFile(/tmp/multipartBody7400391526842299318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421643141,"filename":"image_29112025_14_01_05_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93b368d30479446f3fac31d495a68b77.jpg","text":"TemporaryFile(/tmp/multipartBody5589024054946225887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421643141,"filename":"image_29112025_14_01_15_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3831a23df7a0043758a52cd9cc787809.jpg","text":"TemporaryFile(/tmp/multipartBody409429988578976481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421643141,"filename":"image_29112025_14_01_45_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/795cbab881de67d52f2a9b11f4d4d909.jpg","text":"TemporaryFile(/tmp/multipartBody2744932643981823686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421643141,"filename":"image_29112025_14_01_24_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31f32b6aa665ada27c10201d845c9762.jpg","text":"TemporaryFile(/tmp/multipartBody5562838648044581266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421643141,"filename":"image_29112025_14_01_35_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42059f8acf2091a9515496a4dc12bfc6.jpg","text":"TemporaryFile(/tmp/multipartBody1080582217077253548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421643141,"filename":"image_29112025_14_00_44_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396896651","file1":"1396896613","file0":"1396896550","file4":"1396896721","file5":"1396896757","file3":"1396896685"},"map_files_photo_id_array":[{"photo_id":"1396896757","filename":"file5"},{"photo_id":"1396896651","filename":"file2"},{"photo_id":"1396896721","filename":"file4"},{"photo_id":"1396896613","filename":"file1"},{"photo_id":"1396896550","filename":"file0"},{"photo_id":"1396896685","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396896613":["hashtag1","hashtag2"]},{"1396896651":["hashtag1","hashtag2"]},{"1396896757":["hashtag1","hashtag2"]},{"1396896685":["hashtag1","hashtag2"]},{"1396896721":["hashtag1","hashtag2"]},{"1396896550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396896613, 1396896651, 1396896757, 1396896685, 1396896721, 1396896550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51835584640503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:07:03.258169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/01/image_29112025_14_01_55_9778.jpg', '/home/pi/Desktop/images/29112025/14/01/image_29112025_14_02_04_9601.jpg', '/home/pi/Desktop/images/29112025/14/02/image_29112025_14_02_15_10178.jpg', '/home/pi/Desktop/images/29112025/14/02/image_29112025_14_02_25_10629.jpg', '/home/pi/Desktop/images/29112025/14/02/image_29112025_14_02_45_9779.jpg', '/home/pi/Desktop/images/29112025/14/02/image_29112025_14_02_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/01/image_29112025_14_01_55_9778.jpg
/home/pi/Desktop/images/29112025/14/01/image_29112025_14_02_04_9601.jpg
/home/pi/Desktop/images/29112025/14/02/image_29112025_14_02_15_10178.jpg
/home/pi/Desktop/images/29112025/14/02/image_29112025_14_02_25_10629.jpg
/home/pi/Desktop/images/29112025/14/02/image_29112025_14_02_45_9779.jpg
/home/pi/Desktop/images/29112025/14/02/image_29112025_14_02_55_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":["1396896945","1396897049","1396896908","1396897012","1396897086","1396896978"],"photo_ids_order":["1396896908","1396896945","1396896978","1396897012","1396897049","1396897086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c9c82d75b12988f35f687887aa4a649.jpg","text":"TemporaryFile(/tmp/multipartBody8043464597785027635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421684079,"filename":"image_29112025_14_02_04_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03bebe1e8530c5ac344d7e9cc3ec4b49.jpg","text":"TemporaryFile(/tmp/multipartBody2124136299074412435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421684079,"filename":"image_29112025_14_02_45_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db22640b76ba40f5f5da79e307c2da05.jpg","text":"TemporaryFile(/tmp/multipartBody8565636494073373685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421684079,"filename":"image_29112025_14_01_55_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b91c02b79027c3d04b7d880ba8881fd.jpg","text":"TemporaryFile(/tmp/multipartBody6434699569886914968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421684079,"filename":"image_29112025_14_02_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/11/29/43399d1d2335bad18af48f6adf14b92c.jpg","text":"TemporaryFile(/tmp/multipartBody6260303960681230656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421684079,"filename":"image_29112025_14_02_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cdaeffe8cb06dc1833e8df9ab4eaa0d.jpg","text":"TemporaryFile(/tmp/multipartBody8566060902434198751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421684079,"filename":"image_29112025_14_02_15_10178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396896978","file1":"1396896945","file0":"1396896908","file4":"1396897049","file5":"1396897086","file3":"1396897012"},"map_files_photo_id_array":[{"photo_id":"1396897086","filename":"file5"},{"photo_id":"1396896978","filename":"file2"},{"photo_id":"1396897049","filename":"file4"},{"photo_id":"1396896945","filename":"file1"},{"photo_id":"1396896908","filename":"file0"},{"photo_id":"1396897012","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396896945":["hashtag1","hashtag2"]},{"1396897049":["hashtag1","hashtag2"]},{"1396896908":["hashtag1","hashtag2"]},{"1396897012":["hashtag1","hashtag2"]},{"1396897086":["hashtag1","hashtag2"]},{"1396896978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396896945, 1396897049, 1396896908, 1396897012, 1396897086, 1396896978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09672021865845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:07:42.761540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_12_2704.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_16_3776.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_19_2657.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_21_2668.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_25_3680.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_28_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/09/48/image_31102025_09_48_12_2704.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_16_3776.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_19_2657.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_21_2668.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_25_3680.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_28_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":["1396897241","1396897232","1396897240","1396897219","1396897245","1396897239"],"photo_ids_order":["1396897219","1396897232","1396897239","1396897240","1396897241","1396897245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25d2d642ce3ac27314e0d9b54ea3a5df.jpg","text":"TemporaryFile(/tmp/multipartBody2263507100760445569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421723908,"filename":"image_31102025_09_48_25_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32d4146122ad31f3bd1bc6a4de5057f7.jpg","text":"TemporaryFile(/tmp/multipartBody4337099850942224000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421723908,"filename":"image_31102025_09_48_16_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10f44b7ed39d79f913e75e7e4bc83572.jpg","text":"TemporaryFile(/tmp/multipartBody3922936777542631655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421723908,"filename":"image_31102025_09_48_21_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3ac2317ee111e7d450e9f14d43f882e.jpg","text":"TemporaryFile(/tmp/multipartBody5756888127134618698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421723908,"filename":"image_31102025_09_48_12_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6cf1a8cc236c204c805953bbef4f6d2f.jpg","text":"TemporaryFile(/tmp/multipartBody8914835230822479733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421723908,"filename":"image_31102025_09_48_28_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4a0e3b6011756534967e7b0e64804419.jpg","text":"TemporaryFile(/tmp/multipartBody6958203446987453978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421723908,"filename":"image_31102025_09_48_19_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396897239","file1":"1396897232","file0":"1396897219","file4":"1396897241","file5":"1396897245","file3":"1396897240"},"map_files_photo_id_array":[{"photo_id":"1396897245","filename":"file5"},{"photo_id":"1396897239","filename":"file2"},{"photo_id":"1396897241","filename":"file4"},{"photo_id":"1396897232","filename":"file1"},{"photo_id":"1396897219","filename":"file0"},{"photo_id":"1396897240","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396897241":["hashtag1","hashtag2"]},{"1396897232":["hashtag1","hashtag2"]},{"1396897240":["hashtag1","hashtag2"]},{"1396897219":["hashtag1","hashtag2"]},{"1396897245":["hashtag1","hashtag2"]},{"1396897239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396897241, 1396897232, 1396897240, 1396897219, 1396897245, 1396897239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19728231430054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:08:21.946016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/02/image_29112025_14_03_05_9738.jpg', '/home/pi/Desktop/images/29112025/14/03/image_29112025_14_03_15_9760.jpg', '/home/pi/Desktop/images/29112025/14/03/image_29112025_14_03_24_9656.jpg', '/home/pi/Desktop/images/29112025/14/03/image_29112025_14_03_35_10665.jpg', '/home/pi/Desktop/images/29112025/14/03/image_29112025_14_03_45_9635.jpg', '/home/pi/Desktop/images/29112025/14/03/image_29112025_14_03_55_10518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/02/image_29112025_14_03_05_9738.jpg
/home/pi/Desktop/images/29112025/14/03/image_29112025_14_03_15_9760.jpg
/home/pi/Desktop/images/29112025/14/03/image_29112025_14_03_24_9656.jpg
/home/pi/Desktop/images/29112025/14/03/image_29112025_14_03_35_10665.jpg
/home/pi/Desktop/images/29112025/14/03/image_29112025_14_03_45_9635.jpg
/home/pi/Desktop/images/29112025/14/03/image_29112025_14_03_55_10518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396897269","1396897260","1396897256","1396897252","1396897263","1396897266"],"photo_ids_order":["1396897252","1396897256","1396897260","1396897263","1396897266","1396897269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83036a9659a5900ab5ae1d50605a76e5.jpg","text":"TemporaryFile(/tmp/multipartBody6064633838470699492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421762682,"filename":"image_29112025_14_03_55_10518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08ce60162bbdb2372e42ffc9c155d638.jpg","text":"TemporaryFile(/tmp/multipartBody7256295510638652751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421762682,"filename":"image_29112025_14_03_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11a07851b1a142be58f55b7f5e4071b6.jpg","text":"TemporaryFile(/tmp/multipartBody5142559774841585576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421762682,"filename":"image_29112025_14_03_15_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17c6a07b273422ac57e42e5a70e0826a.jpg","text":"TemporaryFile(/tmp/multipartBody2550044693410590975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421762682,"filename":"image_29112025_14_03_05_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96b8df24ac1f45a8c58bbe9dcc3b184c.jpg","text":"TemporaryFile(/tmp/multipartBody3248444928286103392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421762682,"filename":"image_29112025_14_03_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4acd11e4cef7232fed4a79c30615264.jpg","text":"TemporaryFile(/tmp/multipartBody4902445333020120256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421762682,"filename":"image_29112025_14_03_45_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396897260","file1":"1396897256","file0":"1396897252","file4":"1396897266","file5":"1396897269","file3":"1396897263"},"map_files_photo_id_array":[{"photo_id":"1396897269","filename":"file5"},{"photo_id":"1396897260","filename":"file2"},{"photo_id":"1396897266","filename":"file4"},{"photo_id":"1396897256","filename":"file1"},{"photo_id":"1396897252","filename":"file0"},{"photo_id":"1396897263","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396897269":["hashtag1","hashtag2"]},{"1396897260":["hashtag1","hashtag2"]},{"1396897256":["hashtag1","hashtag2"]},{"1396897252":["hashtag1","hashtag2"]},{"1396897263":["hashtag1","hashtag2"]},{"1396897266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396897269, 1396897260, 1396897256, 1396897252, 1396897263, 1396897266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.419121980667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:09:02.738256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/03/image_29112025_14_04_05_9703.jpg', '/home/pi/Desktop/images/29112025/14/04/image_29112025_14_04_25_10123.jpg', '/home/pi/Desktop/images/29112025/14/04/image_29112025_14_04_34_9680.jpg', '/home/pi/Desktop/images/29112025/14/04/image_29112025_14_04_45_10744.jpg', '/home/pi/Desktop/images/29112025/14/04/image_29112025_14_04_55_9928.jpg', '/home/pi/Desktop/images/29112025/14/04/image_29112025_14_05_05_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/03/image_29112025_14_04_05_9703.jpg
/home/pi/Desktop/images/29112025/14/04/image_29112025_14_04_25_10123.jpg
/home/pi/Desktop/images/29112025/14/04/image_29112025_14_04_34_9680.jpg
/home/pi/Desktop/images/29112025/14/04/image_29112025_14_04_45_10744.jpg
/home/pi/Desktop/images/29112025/14/04/image_29112025_14_04_55_9928.jpg
/home/pi/Desktop/images/29112025/14/04/image_29112025_14_05_05_9759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396897347","1396897311","1396897451","1396897489","1396897381","1396897417"],"photo_ids_order":["1396897311","1396897347","1396897381","1396897417","1396897451","1396897489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2497e11ebce251e365f15acbd5de8a1.jpg","text":"TemporaryFile(/tmp/multipartBody8167241729698169928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421803848,"filename":"image_29112025_14_04_25_10123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d4ead5d743bc636cc6a05972889a71b.jpg","text":"TemporaryFile(/tmp/multipartBody4674765790931922934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421803848,"filename":"image_29112025_14_04_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/11/29/73eb9adb742af5ab8028c8c38a85f898.jpg","text":"TemporaryFile(/tmp/multipartBody2633425144906726293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421803848,"filename":"image_29112025_14_04_55_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73a5f289c37f4d1118752ba67c25357e.jpg","text":"TemporaryFile(/tmp/multipartBody8065051061122788242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421803848,"filename":"image_29112025_14_05_05_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7e265a37ccd9c779910e0f9082d59d0.jpg","text":"TemporaryFile(/tmp/multipartBody1839518068240239834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421803848,"filename":"image_29112025_14_04_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76751a51a8189bda259c605b4ceafbd2.jpg","text":"TemporaryFile(/tmp/multipartBody5479339799716152908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421803848,"filename":"image_29112025_14_04_45_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396897381","file1":"1396897347","file0":"1396897311","file4":"1396897451","file5":"1396897489","file3":"1396897417"},"map_files_photo_id_array":[{"photo_id":"1396897489","filename":"file5"},{"photo_id":"1396897381","filename":"file2"},{"photo_id":"1396897451","filename":"file4"},{"photo_id":"1396897347","filename":"file1"},{"photo_id":"1396897311","filename":"file0"},{"photo_id":"1396897417","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396897347":["hashtag1","hashtag2"]},{"1396897311":["hashtag1","hashtag2"]},{"1396897451":["hashtag1","hashtag2"]},{"1396897489":["hashtag1","hashtag2"]},{"1396897381":["hashtag1","hashtag2"]},{"1396897417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396897347, 1396897311, 1396897451, 1396897489, 1396897381, 1396897417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5893394947052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:09:42.112560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_30_2849.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_33_2683.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_37_3741.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_40_2865.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_42_2729.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_45_2986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_30_2849.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_33_2683.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_37_3741.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_40_2865.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_42_2729.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_45_2986.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396897685","1396897739","1396897721","1396897738","1396897647","1396897740"],"photo_ids_order":["1396897647","1396897685","1396897721","1396897738","1396897739","1396897740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d848936be7b27f4ba821da8b50fbad76.jpg","text":"TemporaryFile(/tmp/multipartBody8570211695079615321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421843253,"filename":"image_31102025_09_48_33_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98c01275a02e6e1f5d777d6c4f2f73da.jpg","text":"TemporaryFile(/tmp/multipartBody58166407463906488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421843253,"filename":"image_31102025_09_48_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/11/29/44d858e6566572423ab1e3764d9bad65.jpg","text":"TemporaryFile(/tmp/multipartBody382530258582276354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421843253,"filename":"image_31102025_09_48_37_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d13fe7e2403779478d6948b7f8ac5fcd.jpg","text":"TemporaryFile(/tmp/multipartBody9176568282640361479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421843253,"filename":"image_31102025_09_48_40_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edf8c96f4772e33dafc1d23d20e14e54.jpg","text":"TemporaryFile(/tmp/multipartBody2605427703002637540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421843253,"filename":"image_31102025_09_48_30_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cc9a698471b9c699ff8424f04770e1e.jpg","text":"TemporaryFile(/tmp/multipartBody1874452628003540258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421843253,"filename":"image_31102025_09_48_45_2986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396897721","file1":"1396897685","file0":"1396897647","file4":"1396897739","file5":"1396897740","file3":"1396897738"},"map_files_photo_id_array":[{"photo_id":"1396897740","filename":"file5"},{"photo_id":"1396897721","filename":"file2"},{"photo_id":"1396897739","filename":"file4"},{"photo_id":"1396897685","filename":"file1"},{"photo_id":"1396897647","filename":"file0"},{"photo_id":"1396897738","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396897685":["hashtag1","hashtag2"]},{"1396897739":["hashtag1","hashtag2"]},{"1396897721":["hashtag1","hashtag2"]},{"1396897738":["hashtag1","hashtag2"]},{"1396897647":["hashtag1","hashtag2"]},{"1396897740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396897685, 1396897739, 1396897721, 1396897738, 1396897647, 1396897740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74229979515076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:10:22.353710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/05/image_29112025_14_05_14_9722.jpg', '/home/pi/Desktop/images/29112025/14/05/image_29112025_14_05_45_9833.jpg', '/home/pi/Desktop/images/29112025/14/05/image_29112025_14_05_55_9806.jpg', '/home/pi/Desktop/images/29112025/14/05/image_29112025_14_06_04_9778.jpg', '/home/pi/Desktop/images/29112025/14/06/image_29112025_14_06_15_10703.jpg', '/home/pi/Desktop/images/29112025/14/06/image_29112025_14_06_55_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/05/image_29112025_14_05_14_9722.jpg
/home/pi/Desktop/images/29112025/14/05/image_29112025_14_05_45_9833.jpg
/home/pi/Desktop/images/29112025/14/05/image_29112025_14_05_55_9806.jpg
/home/pi/Desktop/images/29112025/14/05/image_29112025_14_06_04_9778.jpg
/home/pi/Desktop/images/29112025/14/06/image_29112025_14_06_15_10703.jpg
/home/pi/Desktop/images/29112025/14/06/image_29112025_14_06_55_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":["1396897836","1396897824","1396897919","1396897832","1396897846","1396897884"],"photo_ids_order":["1396897824","1396897832","1396897836","1396897846","1396897884","1396897919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd2929cc5f697f665cd64dc1ba15eaf8.jpg","text":"TemporaryFile(/tmp/multipartBody5986000327237650470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421883075,"filename":"image_29112025_14_05_55_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74c5e805fc5eaa632be661b220dd9182.jpg","text":"TemporaryFile(/tmp/multipartBody3907700048978759780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421883075,"filename":"image_29112025_14_05_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd62d1fd6670d9a09bb1a668ae06dc79.jpg","text":"TemporaryFile(/tmp/multipartBody5877153372814456168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421883075,"filename":"image_29112025_14_06_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/11/29/f0cc193ac618a63ac0b7b154ed9826b6.jpg","text":"TemporaryFile(/tmp/multipartBody3895793296647333030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421883075,"filename":"image_29112025_14_05_45_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/612bc2d1028522035384e7cbb3f8d155.jpg","text":"TemporaryFile(/tmp/multipartBody5013858973489640739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421883075,"filename":"image_29112025_14_06_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/11/29/7b8870ba0509f832481ebd025f43858a.jpg","text":"TemporaryFile(/tmp/multipartBody7500316257643624223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421883075,"filename":"image_29112025_14_06_15_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396897836","file1":"1396897832","file0":"1396897824","file4":"1396897884","file5":"1396897919","file3":"1396897846"},"map_files_photo_id_array":[{"photo_id":"1396897919","filename":"file5"},{"photo_id":"1396897836","filename":"file2"},{"photo_id":"1396897884","filename":"file4"},{"photo_id":"1396897832","filename":"file1"},{"photo_id":"1396897824","filename":"file0"},{"photo_id":"1396897846","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396897836":["hashtag1","hashtag2"]},{"1396897824":["hashtag1","hashtag2"]},{"1396897919":["hashtag1","hashtag2"]},{"1396897832":["hashtag1","hashtag2"]},{"1396897846":["hashtag1","hashtag2"]},{"1396897884":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396897836, 1396897824, 1396897919, 1396897832, 1396897846, 1396897884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.173256397247314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:11:03.200840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/06/image_29112025_14_07_04_9575.jpg', '/home/pi/Desktop/images/29112025/14/07/image_29112025_14_07_15_10760.jpg', '/home/pi/Desktop/images/29112025/14/07/image_29112025_14_07_25_9682.jpg', '/home/pi/Desktop/images/29112025/14/07/image_29112025_14_07_34_9770.jpg', '/home/pi/Desktop/images/29112025/14/07/image_29112025_14_07_44_9683.jpg', '/home/pi/Desktop/images/29112025/14/07/image_29112025_14_07_55_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/06/image_29112025_14_07_04_9575.jpg
/home/pi/Desktop/images/29112025/14/07/image_29112025_14_07_15_10760.jpg
/home/pi/Desktop/images/29112025/14/07/image_29112025_14_07_25_9682.jpg
/home/pi/Desktop/images/29112025/14/07/image_29112025_14_07_34_9770.jpg
/home/pi/Desktop/images/29112025/14/07/image_29112025_14_07_44_9683.jpg
/home/pi/Desktop/images/29112025/14/07/image_29112025_14_07_55_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":["1396897935","1396897991","1396897976","1396898012","1396897936","1396897989"],"photo_ids_order":["1396897935","1396897936","1396897976","1396897989","1396897991","1396898012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af423d33364544ae3e566d605261fd2c.jpg","text":"TemporaryFile(/tmp/multipartBody698702437411125688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421924018,"filename":"image_29112025_14_07_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1995fa454c0c68033cabe15781bb8f62.jpg","text":"TemporaryFile(/tmp/multipartBody4602367404940636255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421924018,"filename":"image_29112025_14_07_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/11/29/8ed61c8a6b22a806298eab2a04a63c27.jpg","text":"TemporaryFile(/tmp/multipartBody6292835388602377418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421924018,"filename":"image_29112025_14_07_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/11/29/536a9c5b932534ed0a743b453d51f3e6.jpg","text":"TemporaryFile(/tmp/multipartBody6088150424102778871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421924018,"filename":"image_29112025_14_07_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/11/29/74adc93f31186f5180695e5d366cb790.jpg","text":"TemporaryFile(/tmp/multipartBody1101180322646980081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421924018,"filename":"image_29112025_14_07_15_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35e34509cb8a5ae53f08f80901f790f5.jpg","text":"TemporaryFile(/tmp/multipartBody3214342856341405321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421924018,"filename":"image_29112025_14_07_34_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396897976","file1":"1396897936","file0":"1396897935","file4":"1396897991","file5":"1396898012","file3":"1396897989"},"map_files_photo_id_array":[{"photo_id":"1396898012","filename":"file5"},{"photo_id":"1396897976","filename":"file2"},{"photo_id":"1396897991","filename":"file4"},{"photo_id":"1396897936","filename":"file1"},{"photo_id":"1396897935","filename":"file0"},{"photo_id":"1396897989","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396897935":["hashtag1","hashtag2"]},{"1396897991":["hashtag1","hashtag2"]},{"1396897976":["hashtag1","hashtag2"]},{"1396898012":["hashtag1","hashtag2"]},{"1396897936":["hashtag1","hashtag2"]},{"1396897989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396897935, 1396897991, 1396897976, 1396898012, 1396897936, 1396897989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50385046005249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:11:42.506513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_48_2839.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_51_2692.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_55_3621.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_57_2859.jpg', '/home/pi/Desktop/images/31102025/09/48/image_31102025_09_49_00_2695.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_03_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_48_2839.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_51_2692.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_55_3621.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_48_57_2859.jpg
/home/pi/Desktop/images/31102025/09/48/image_31102025_09_49_00_2695.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_03_2814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396898087","1396898075","1396898083","1396898089","1396898085","1396898043"],"photo_ids_order":["1396898043","1396898075","1396898083","1396898085","1396898087","1396898089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d0bf89bf592e4f047dbf47b911d4f1c.jpg","text":"TemporaryFile(/tmp/multipartBody7308147601252636095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421963644,"filename":"image_31102025_09_49_00_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4ef2617c3860278c0757b3d92a3210e.jpg","text":"TemporaryFile(/tmp/multipartBody6211061762589441115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421963644,"filename":"image_31102025_09_48_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/11/29/535b469264bd07f07f495f972a005a12.jpg","text":"TemporaryFile(/tmp/multipartBody3822282911289338233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421963644,"filename":"image_31102025_09_48_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/11/29/4f766f863b9c5771b7c61c25212b8fd9.jpg","text":"TemporaryFile(/tmp/multipartBody7853443698295108315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421963644,"filename":"image_31102025_09_49_03_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/766fac87a3c4a45140be92a283ba3f34.jpg","text":"TemporaryFile(/tmp/multipartBody121391108828351044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421963644,"filename":"image_31102025_09_48_57_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f481656c48ed0c5d3dabc75cfe484c15.jpg","text":"TemporaryFile(/tmp/multipartBody7932015485828879449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764421963644,"filename":"image_31102025_09_48_48_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898083","file1":"1396898075","file0":"1396898043","file4":"1396898087","file5":"1396898089","file3":"1396898085"},"map_files_photo_id_array":[{"photo_id":"1396898089","filename":"file5"},{"photo_id":"1396898083","filename":"file2"},{"photo_id":"1396898087","filename":"file4"},{"photo_id":"1396898075","filename":"file1"},{"photo_id":"1396898043","filename":"file0"},{"photo_id":"1396898085","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396898087":["hashtag1","hashtag2"]},{"1396898075":["hashtag1","hashtag2"]},{"1396898083":["hashtag1","hashtag2"]},{"1396898089":["hashtag1","hashtag2"]},{"1396898085":["hashtag1","hashtag2"]},{"1396898043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396898087, 1396898075, 1396898083, 1396898089, 1396898085, 1396898043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45728826522827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:12:22.660307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/07/image_29112025_14_08_04_9669.jpg', '/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_15_10668.jpg', '/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_25_9695.jpg', '/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_34_9565.jpg', '/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_45_10660.jpg', '/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_55_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/07/image_29112025_14_08_04_9669.jpg
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_15_10668.jpg
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_25_9695.jpg
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_34_9565.jpg
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_45_10660.jpg
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_55_9769.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.634002685546875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 14:12:32.715637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_23_2649.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_27_3702.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_29_2763.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_32_2538.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_36_3667.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_38_2598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_23_2649.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_27_3702.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_29_2763.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_32_2538.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_36_3667.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_38_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":["1396898108","1396898102","1396898110","1396898106","1396898109","1396898099"],"photo_ids_order":["1396898099","1396898102","1396898106","1396898108","1396898109","1396898110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68450dcdd40e8ecd4697f47d1e06ce3c.jpg","text":"TemporaryFile(/tmp/multipartBody1272824005270667308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422014965,"filename":"image_25112025_18_25_32_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fcac5e715a1df15a43de5a3ab641ae9.jpg","text":"TemporaryFile(/tmp/multipartBody7387787768309800636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422014965,"filename":"image_25112025_18_25_27_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd9a2c50f9649f15259fff212148456e.jpg","text":"TemporaryFile(/tmp/multipartBody5372832346661146422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422014965,"filename":"image_25112025_18_25_38_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e403dafe01691612cd41475dae829ea.jpg","text":"TemporaryFile(/tmp/multipartBody4117278059275806385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422014965,"filename":"image_25112025_18_25_29_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0bd8f7c66255a53285114dd55b03721.jpg","text":"TemporaryFile(/tmp/multipartBody2059526738187660959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422014965,"filename":"image_25112025_18_25_36_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc7feeed0306f55edb3cc301b2ae4e2a.jpg","text":"TemporaryFile(/tmp/multipartBody3754624804274967196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422014965,"filename":"image_25112025_18_25_23_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898106","file1":"1396898102","file0":"1396898099","file4":"1396898109","file5":"1396898110","file3":"1396898108"},"map_files_photo_id_array":[{"photo_id":"1396898110","filename":"file5"},{"photo_id":"1396898106","filename":"file2"},{"photo_id":"1396898109","filename":"file4"},{"photo_id":"1396898102","filename":"file1"},{"photo_id":"1396898099","filename":"file0"},{"photo_id":"1396898108","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396898108":["hashtag1","hashtag2"]},{"1396898102":["hashtag1","hashtag2"]},{"1396898110":["hashtag1","hashtag2"]},{"1396898106":["hashtag1","hashtag2"]},{"1396898109":["hashtag1","hashtag2"]},{"1396898099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396898108, 1396898102, 1396898110, 1396898106, 1396898109, 1396898099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79946446418762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 14:13:12.000402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_42_3484.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_44_2634.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_47_2542.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_50_3541.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_53_2700.jpg', '/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_57_3585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_42_3484.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_44_2634.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_47_2542.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_50_3541.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_53_2700.jpg
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_57_3585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396898129","1396898131","1396898134","1396898113","1396898133","1396898127"],"photo_ids_order":["1396898113","1396898127","1396898129","1396898131","1396898133","1396898134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f503c39ca43d866c67b1b15700186af.jpg","text":"TemporaryFile(/tmp/multipartBody7069153203934442234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422055437,"filename":"image_25112025_18_25_47_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0806624ac2b6e3d90afc2a4b6b16295e.jpg","text":"TemporaryFile(/tmp/multipartBody4248638230795937342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422055437,"filename":"image_25112025_18_25_50_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58969f1314ffd80edb853f1c53215e77.jpg","text":"TemporaryFile(/tmp/multipartBody4033059336667493730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422055437,"filename":"image_25112025_18_25_57_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e36ca3cf852a741e0d07dbee7308240d.jpg","text":"TemporaryFile(/tmp/multipartBody2526519571360800636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422055437,"filename":"image_25112025_18_25_42_3484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7bed8dfb3172b4733d7d6260bb79e325.jpg","text":"TemporaryFile(/tmp/multipartBody4603349258119455683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422055437,"filename":"image_25112025_18_25_53_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1826a92be09a9b5ef5aabcce0f53da0e.jpg","text":"TemporaryFile(/tmp/multipartBody1106046136771858089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422055437,"filename":"image_25112025_18_25_44_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898129","file1":"1396898127","file0":"1396898113","file4":"1396898133","file5":"1396898134","file3":"1396898131"},"map_files_photo_id_array":[{"photo_id":"1396898134","filename":"file5"},{"photo_id":"1396898129","filename":"file2"},{"photo_id":"1396898133","filename":"file4"},{"photo_id":"1396898127","filename":"file1"},{"photo_id":"1396898113","filename":"file0"},{"photo_id":"1396898131","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396898129":["hashtag1","hashtag2"]},{"1396898131":["hashtag1","hashtag2"]},{"1396898134":["hashtag1","hashtag2"]},{"1396898113":["hashtag1","hashtag2"]},{"1396898133":["hashtag1","hashtag2"]},{"1396898127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396898129, 1396898131, 1396898134, 1396898113, 1396898133, 1396898127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32841682434082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:14:03.520578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/07/image_29112025_14_08_04_9669.jpg', '/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_15_10668.jpg', '/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_25_9695.jpg', '/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_34_9565.jpg', '/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_45_10660.jpg', '/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_55_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/07/image_29112025_14_08_04_9669.jpg
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_15_10668.jpg
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_25_9695.jpg
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_34_9565.jpg
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_45_10660.jpg
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_08_55_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396898153","1396898147","1396898156","1396898149","1396898160","1396898151"],"photo_ids_order":["1396898147","1396898149","1396898151","1396898153","1396898156","1396898160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/082a49e7a23f27188e8c68d89133feb0.jpg","text":"TemporaryFile(/tmp/multipartBody9034105900711932789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422104378,"filename":"image_29112025_14_08_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/11/29/feb59beb14bb19f94721ee937bf9c536.jpg","text":"TemporaryFile(/tmp/multipartBody9200939704402687168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422104378,"filename":"image_29112025_14_08_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/11/29/71c01d2da7a178ad280509de37e4d88b.jpg","text":"TemporaryFile(/tmp/multipartBody4421616667053236716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422104378,"filename":"image_29112025_14_08_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cfb70d77a0e279113c271c7fef51920c.jpg","text":"TemporaryFile(/tmp/multipartBody6315035508402920730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422104378,"filename":"image_29112025_14_08_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/11/29/6d37bd8f392566795f403a252c4e9f88.jpg","text":"TemporaryFile(/tmp/multipartBody618261663424332219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422104378,"filename":"image_29112025_14_08_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/11/29/80ca3b6e710aa52af777f8973f5e9ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4481604773984545212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422104378,"filename":"image_29112025_14_08_25_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898151","file1":"1396898149","file0":"1396898147","file4":"1396898156","file5":"1396898160","file3":"1396898153"},"map_files_photo_id_array":[{"photo_id":"1396898160","filename":"file5"},{"photo_id":"1396898151","filename":"file2"},{"photo_id":"1396898156","filename":"file4"},{"photo_id":"1396898149","filename":"file1"},{"photo_id":"1396898147","filename":"file0"},{"photo_id":"1396898153","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396898153":["hashtag1","hashtag2"]},{"1396898147":["hashtag1","hashtag2"]},{"1396898156":["hashtag1","hashtag2"]},{"1396898149":["hashtag1","hashtag2"]},{"1396898160":["hashtag1","hashtag2"]},{"1396898151":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396898153, 1396898147, 1396898156, 1396898149, 1396898160, 1396898151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.33404874801636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:15:02.856253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/08/image_29112025_14_09_05_9788.jpg', '/home/pi/Desktop/images/29112025/14/09/image_29112025_14_09_14_9830.jpg', '/home/pi/Desktop/images/29112025/14/09/image_29112025_14_09_24_9862.jpg', '/home/pi/Desktop/images/29112025/14/09/image_29112025_14_09_35_10773.jpg', '/home/pi/Desktop/images/29112025/14/09/image_29112025_14_09_45_9636.jpg', '/home/pi/Desktop/images/29112025/14/09/image_29112025_14_09_54_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/08/image_29112025_14_09_05_9788.jpg
/home/pi/Desktop/images/29112025/14/09/image_29112025_14_09_14_9830.jpg
/home/pi/Desktop/images/29112025/14/09/image_29112025_14_09_24_9862.jpg
/home/pi/Desktop/images/29112025/14/09/image_29112025_14_09_35_10773.jpg
/home/pi/Desktop/images/29112025/14/09/image_29112025_14_09_45_9636.jpg
/home/pi/Desktop/images/29112025/14/09/image_29112025_14_09_54_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396898281","1396898284","1396898298","1396898286","1396898283","1396898282"],"photo_ids_order":["1396898281","1396898282","1396898283","1396898284","1396898286","1396898298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fdaa793f415d30d9482e48b32658890.jpg","text":"TemporaryFile(/tmp/multipartBody3158618632012380859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422163700,"filename":"image_29112025_14_09_05_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a2ab9ba972cebac44ec905649b6c15f.jpg","text":"TemporaryFile(/tmp/multipartBody2039599794932328647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422163700,"filename":"image_29112025_14_09_35_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d420456c397271ae60b569da8301205.jpg","text":"TemporaryFile(/tmp/multipartBody4438176915984866254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422163700,"filename":"image_29112025_14_09_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/554c57b146a84af5e98021ed59fda971.jpg","text":"TemporaryFile(/tmp/multipartBody4550530994272857679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422163700,"filename":"image_29112025_14_09_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffd0216a77e99a183bcb107d3c37b2ea.jpg","text":"TemporaryFile(/tmp/multipartBody5371388054133673901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422163700,"filename":"image_29112025_14_09_24_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14925c2c67c20fcc9eeb7951f1395186.jpg","text":"TemporaryFile(/tmp/multipartBody1193139180915720090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422163700,"filename":"image_29112025_14_09_14_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898283","file1":"1396898282","file0":"1396898281","file4":"1396898286","file5":"1396898298","file3":"1396898284"},"map_files_photo_id_array":[{"photo_id":"1396898298","filename":"file5"},{"photo_id":"1396898283","filename":"file2"},{"photo_id":"1396898286","filename":"file4"},{"photo_id":"1396898282","filename":"file1"},{"photo_id":"1396898281","filename":"file0"},{"photo_id":"1396898284","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396898281":["hashtag1","hashtag2"]},{"1396898284":["hashtag1","hashtag2"]},{"1396898298":["hashtag1","hashtag2"]},{"1396898286":["hashtag1","hashtag2"]},{"1396898283":["hashtag1","hashtag2"]},{"1396898282":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396898281, 1396898284, 1396898298, 1396898286, 1396898283, 1396898282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67777466773987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:15:42.259373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_06_3563.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_09_2696.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_13_3615.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_16_2760.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_18_2662.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_21_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/09/49/image_31102025_09_49_06_3563.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_09_2696.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_13_3615.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_16_2760.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_18_2662.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_21_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":["1396898426","1396898380","1396898383","1396898428","1396898403","1396898427"],"photo_ids_order":["1396898380","1396898383","1396898403","1396898426","1396898427","1396898428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60174fafcc4d4bfdb15c07eb84028982.jpg","text":"TemporaryFile(/tmp/multipartBody4827497217373189754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422203396,"filename":"image_31102025_09_49_16_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e1aea28fc0b20eeb51c9ee84f937f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4678263666397901755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422203396,"filename":"image_31102025_09_49_06_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8aecac3bf9ee1ee6afba6598a028c395.jpg","text":"TemporaryFile(/tmp/multipartBody6605768114896030908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422203396,"filename":"image_31102025_09_49_09_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b2d4dc1af03c5e9d924b0e77fceacb7.jpg","text":"TemporaryFile(/tmp/multipartBody8777479768038106613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422203396,"filename":"image_31102025_09_49_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/11/29/926e604c4d9e03bc7e7938db05829832.jpg","text":"TemporaryFile(/tmp/multipartBody5365967255901798478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422203396,"filename":"image_31102025_09_49_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/11/29/bbf3447fafebd9c7b1eab83c19cbb573.jpg","text":"TemporaryFile(/tmp/multipartBody2946966090041288483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422203396,"filename":"image_31102025_09_49_18_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898403","file1":"1396898383","file0":"1396898380","file4":"1396898427","file5":"1396898428","file3":"1396898426"},"map_files_photo_id_array":[{"photo_id":"1396898428","filename":"file5"},{"photo_id":"1396898403","filename":"file2"},{"photo_id":"1396898427","filename":"file4"},{"photo_id":"1396898383","filename":"file1"},{"photo_id":"1396898380","filename":"file0"},{"photo_id":"1396898426","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396898426":["hashtag1","hashtag2"]},{"1396898380":["hashtag1","hashtag2"]},{"1396898383":["hashtag1","hashtag2"]},{"1396898428":["hashtag1","hashtag2"]},{"1396898403":["hashtag1","hashtag2"]},{"1396898427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396898426, 1396898380, 1396898383, 1396898428, 1396898403, 1396898427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03478932380676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:16:22.474275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_05_10593.jpg', '/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_14_9573.jpg', '/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_25_10637.jpg', '/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_35_9643.jpg', '/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_45_10167.jpg', '/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_55_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_05_10593.jpg
/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_14_9573.jpg
/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_25_10637.jpg
/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_35_9643.jpg
/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_45_10167.jpg
/home/pi/Desktop/images/29112025/14/10/image_29112025_14_10_55_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396898432","1396898435","1396898438","1396898443","1396898446","1396898440"],"photo_ids_order":["1396898432","1396898435","1396898438","1396898440","1396898443","1396898446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbbd5c640c437eaa0a2d2f74d554e94e.jpg","text":"TemporaryFile(/tmp/multipartBody5328726208853246706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422243197,"filename":"image_29112025_14_10_05_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25a37e0a836b988e1561800963ba627b.jpg","text":"TemporaryFile(/tmp/multipartBody5082242659707937817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422243197,"filename":"image_29112025_14_10_14_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ffed7f8d86184d0901407af7e45e139.jpg","text":"TemporaryFile(/tmp/multipartBody7619847363567526136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422243197,"filename":"image_29112025_14_10_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/11/29/e282010658048b349e42989a528ec565.jpg","text":"TemporaryFile(/tmp/multipartBody7115545517525204188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422243197,"filename":"image_29112025_14_10_45_10167.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ae401cb6d117fee2823454982a614bb.jpg","text":"TemporaryFile(/tmp/multipartBody7465869294424090109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422243197,"filename":"image_29112025_14_10_55_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43dce3d86d6e486ee2dee4b780a86b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7045405638930239084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422243197,"filename":"image_29112025_14_10_35_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898438","file1":"1396898435","file0":"1396898432","file4":"1396898443","file5":"1396898446","file3":"1396898440"},"map_files_photo_id_array":[{"photo_id":"1396898446","filename":"file5"},{"photo_id":"1396898438","filename":"file2"},{"photo_id":"1396898443","filename":"file4"},{"photo_id":"1396898435","filename":"file1"},{"photo_id":"1396898432","filename":"file0"},{"photo_id":"1396898440","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396898432":["hashtag1","hashtag2"]},{"1396898435":["hashtag1","hashtag2"]},{"1396898438":["hashtag1","hashtag2"]},{"1396898443":["hashtag1","hashtag2"]},{"1396898446":["hashtag1","hashtag2"]},{"1396898440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396898432, 1396898435, 1396898438, 1396898443, 1396898446, 1396898440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07675576210022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:17:03.278704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/10/image_29112025_14_11_04_9726.jpg', '/home/pi/Desktop/images/29112025/14/11/image_29112025_14_11_15_10668.jpg', '/home/pi/Desktop/images/29112025/14/11/image_29112025_14_11_25_9695.jpg', '/home/pi/Desktop/images/29112025/14/11/image_29112025_14_11_34_9689.jpg', '/home/pi/Desktop/images/29112025/14/11/image_29112025_14_11_44_9819.jpg', '/home/pi/Desktop/images/29112025/14/11/image_29112025_14_11_55_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/10/image_29112025_14_11_04_9726.jpg
/home/pi/Desktop/images/29112025/14/11/image_29112025_14_11_15_10668.jpg
/home/pi/Desktop/images/29112025/14/11/image_29112025_14_11_25_9695.jpg
/home/pi/Desktop/images/29112025/14/11/image_29112025_14_11_34_9689.jpg
/home/pi/Desktop/images/29112025/14/11/image_29112025_14_11_44_9819.jpg
/home/pi/Desktop/images/29112025/14/11/image_29112025_14_11_55_10715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396898450","1396898453","1396898449","1396898458","1396898451","1396898448"],"photo_ids_order":["1396898448","1396898449","1396898450","1396898451","1396898453","1396898458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b846e032ece8ce60d9cd78b41ccb2f63.jpg","text":"TemporaryFile(/tmp/multipartBody3542740799214063035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422284143,"filename":"image_29112025_14_11_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/11/29/c384ec28f3173922b191bdfab265ddff.jpg","text":"TemporaryFile(/tmp/multipartBody4415660126839623416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422284143,"filename":"image_29112025_14_11_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/11/29/d2284cc07c1ba74c7cc8a35113e12811.jpg","text":"TemporaryFile(/tmp/multipartBody6504155599186724756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422284143,"filename":"image_29112025_14_11_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/11/29/c668889bfe267652e6d38709b630e4c0.jpg","text":"TemporaryFile(/tmp/multipartBody551598744969784616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422284143,"filename":"image_29112025_14_11_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd1e45d3365ae6af3e1e73613b1312c0.jpg","text":"TemporaryFile(/tmp/multipartBody4687028748116119924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422284143,"filename":"image_29112025_14_11_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07ea8b9628305e453d287a1203d5a1f9.jpg","text":"TemporaryFile(/tmp/multipartBody6070731650693067121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422284143,"filename":"image_29112025_14_11_04_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898450","file1":"1396898449","file0":"1396898448","file4":"1396898453","file5":"1396898458","file3":"1396898451"},"map_files_photo_id_array":[{"photo_id":"1396898458","filename":"file5"},{"photo_id":"1396898450","filename":"file2"},{"photo_id":"1396898453","filename":"file4"},{"photo_id":"1396898449","filename":"file1"},{"photo_id":"1396898448","filename":"file0"},{"photo_id":"1396898451","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396898450":["hashtag1","hashtag2"]},{"1396898453":["hashtag1","hashtag2"]},{"1396898449":["hashtag1","hashtag2"]},{"1396898458":["hashtag1","hashtag2"]},{"1396898451":["hashtag1","hashtag2"]},{"1396898448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396898450, 1396898453, 1396898449, 1396898458, 1396898451, 1396898448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96801018714905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:17:42.706901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_25_3732.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_27_2723.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_30_2651.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_34_3546.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_36_2650.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_39_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/09/49/image_31102025_09_49_25_3732.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_27_2723.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_30_2651.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_34_3546.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_36_2650.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_39_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":["1396898471","1396898474","1396898470","1396898472","1396898466","1396898469"],"photo_ids_order":["1396898466","1396898469","1396898470","1396898471","1396898472","1396898474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85e36d29d8c12efc12a0c8b7481ceaed.jpg","text":"TemporaryFile(/tmp/multipartBody9214056053611148839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422323903,"filename":"image_31102025_09_49_34_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbec47168b552fb8f291d8f48ea508eb.jpg","text":"TemporaryFile(/tmp/multipartBody4733458754660496826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422323903,"filename":"image_31102025_09_49_39_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43116ae5bfc42030784935ecc743b261.jpg","text":"TemporaryFile(/tmp/multipartBody6852395458017592211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422323903,"filename":"image_31102025_09_49_30_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f243b3e56997682030703b4eff5d404b.jpg","text":"TemporaryFile(/tmp/multipartBody5052536560573666465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422323903,"filename":"image_31102025_09_49_36_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44fa3145789bf3994aa6948585ee5936.jpg","text":"TemporaryFile(/tmp/multipartBody7254986435429021754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422323903,"filename":"image_31102025_09_49_25_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95f97b769520cb3d798208e0cd839813.jpg","text":"TemporaryFile(/tmp/multipartBody6229472138064028070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422323903,"filename":"image_31102025_09_49_27_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898470","file1":"1396898469","file0":"1396898466","file4":"1396898472","file5":"1396898474","file3":"1396898471"},"map_files_photo_id_array":[{"photo_id":"1396898474","filename":"file5"},{"photo_id":"1396898470","filename":"file2"},{"photo_id":"1396898472","filename":"file4"},{"photo_id":"1396898469","filename":"file1"},{"photo_id":"1396898466","filename":"file0"},{"photo_id":"1396898471","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396898471":["hashtag1","hashtag2"]},{"1396898474":["hashtag1","hashtag2"]},{"1396898470":["hashtag1","hashtag2"]},{"1396898472":["hashtag1","hashtag2"]},{"1396898466":["hashtag1","hashtag2"]},{"1396898469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396898471, 1396898474, 1396898470, 1396898472, 1396898466, 1396898469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76597452163696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:18:21.970882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/11/image_29112025_14_12_05_9720.jpg', '/home/pi/Desktop/images/29112025/14/12/image_29112025_14_12_14_9699.jpg', '/home/pi/Desktop/images/29112025/14/12/image_29112025_14_12_44_9749.jpg', '/home/pi/Desktop/images/29112025/14/12/image_29112025_14_12_55_10576.jpg', '/home/pi/Desktop/images/29112025/14/12/image_29112025_14_13_05_9619.jpg', '/home/pi/Desktop/images/29112025/14/13/image_29112025_14_13_14_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/11/image_29112025_14_12_05_9720.jpg
/home/pi/Desktop/images/29112025/14/12/image_29112025_14_12_14_9699.jpg
/home/pi/Desktop/images/29112025/14/12/image_29112025_14_12_44_9749.jpg
/home/pi/Desktop/images/29112025/14/12/image_29112025_14_12_55_10576.jpg
/home/pi/Desktop/images/29112025/14/12/image_29112025_14_13_05_9619.jpg
/home/pi/Desktop/images/29112025/14/13/image_29112025_14_13_14_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":["1396898483","1396898486","1396898476","1396898500","1396898489","1396898480"],"photo_ids_order":["1396898476","1396898480","1396898483","1396898486","1396898489","1396898500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd8e0eefe59e10027d44309039125ffb.jpg","text":"TemporaryFile(/tmp/multipartBody5306950957281969467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422362744,"filename":"image_29112025_14_12_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f03243e570b99f09ae9a1c5708becad4.jpg","text":"TemporaryFile(/tmp/multipartBody2107508143873477833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422362744,"filename":"image_29112025_14_12_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0987e206c67cc4ede8bb5246f5818544.jpg","text":"TemporaryFile(/tmp/multipartBody7490142302074737126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422362744,"filename":"image_29112025_14_12_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/11/29/eeaef09ae79fbecd275c9d887b034f67.jpg","text":"TemporaryFile(/tmp/multipartBody6472675059956403804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422362744,"filename":"image_29112025_14_13_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc263bdcfa351c4609303430911b1c8b.jpg","text":"TemporaryFile(/tmp/multipartBody5062362739681844009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422362744,"filename":"image_29112025_14_13_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/11/29/e12c8342107ab1ec05da73e2f3d9e674.jpg","text":"TemporaryFile(/tmp/multipartBody5953949188363973227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422362744,"filename":"image_29112025_14_12_14_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898483","file1":"1396898480","file0":"1396898476","file4":"1396898489","file5":"1396898500","file3":"1396898486"},"map_files_photo_id_array":[{"photo_id":"1396898500","filename":"file5"},{"photo_id":"1396898483","filename":"file2"},{"photo_id":"1396898489","filename":"file4"},{"photo_id":"1396898480","filename":"file1"},{"photo_id":"1396898476","filename":"file0"},{"photo_id":"1396898486","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396898483":["hashtag1","hashtag2"]},{"1396898486":["hashtag1","hashtag2"]},{"1396898476":["hashtag1","hashtag2"]},{"1396898500":["hashtag1","hashtag2"]},{"1396898489":["hashtag1","hashtag2"]},{"1396898480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396898483, 1396898486, 1396898476, 1396898500, 1396898489, 1396898480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.173596143722534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:19:03.025340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/13/image_29112025_14_13_25_10728.jpg', '/home/pi/Desktop/images/29112025/14/13/image_29112025_14_13_35_9642.jpg', '/home/pi/Desktop/images/29112025/14/13/image_29112025_14_13_55_10683.jpg', '/home/pi/Desktop/images/29112025/14/13/image_29112025_14_14_05_9714.jpg', '/home/pi/Desktop/images/29112025/14/14/image_29112025_14_14_14_9663.jpg', '/home/pi/Desktop/images/29112025/14/14/image_29112025_14_14_35_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/13/image_29112025_14_13_25_10728.jpg
/home/pi/Desktop/images/29112025/14/13/image_29112025_14_13_35_9642.jpg
/home/pi/Desktop/images/29112025/14/13/image_29112025_14_13_55_10683.jpg
/home/pi/Desktop/images/29112025/14/13/image_29112025_14_14_05_9714.jpg
/home/pi/Desktop/images/29112025/14/14/image_29112025_14_14_14_9663.jpg
/home/pi/Desktop/images/29112025/14/14/image_29112025_14_14_35_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":["1396898951","1396898696","1396898660","1396898782","1396898866","1396898733"],"photo_ids_order":["1396898660","1396898696","1396898733","1396898782","1396898866","1396898951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d694074041fa9e893a30c37b132a171.jpg","text":"TemporaryFile(/tmp/multipartBody2528684277276344139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422404035,"filename":"image_29112025_14_14_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/11/29/85c9678fda67efd19586408bb57387d1.jpg","text":"TemporaryFile(/tmp/multipartBody5709796369404839321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422404035,"filename":"image_29112025_14_13_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/11/29/35096efd1560dc7e028794e2d91882af.jpg","text":"TemporaryFile(/tmp/multipartBody578948799954771460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422404035,"filename":"image_29112025_14_13_25_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc3b74e26eb56cad714b296451cf595d.jpg","text":"TemporaryFile(/tmp/multipartBody909834410157484003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422404035,"filename":"image_29112025_14_14_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/11/29/3cda4fc04bea61df2f1a707316e31096.jpg","text":"TemporaryFile(/tmp/multipartBody5152069546677675273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422404035,"filename":"image_29112025_14_14_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/11/29/ac05a7fb116c01a6b2e1b430fb2da81c.jpg","text":"TemporaryFile(/tmp/multipartBody7390888779281535053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422404035,"filename":"image_29112025_14_13_55_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396898733","file1":"1396898696","file0":"1396898660","file4":"1396898866","file5":"1396898951","file3":"1396898782"},"map_files_photo_id_array":[{"photo_id":"1396898951","filename":"file5"},{"photo_id":"1396898733","filename":"file2"},{"photo_id":"1396898866","filename":"file4"},{"photo_id":"1396898696","filename":"file1"},{"photo_id":"1396898660","filename":"file0"},{"photo_id":"1396898782","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396898951":["hashtag1","hashtag2"]},{"1396898696":["hashtag1","hashtag2"]},{"1396898660":["hashtag1","hashtag2"]},{"1396898782":["hashtag1","hashtag2"]},{"1396898866":["hashtag1","hashtag2"]},{"1396898733":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396898951, 1396898696, 1396898660, 1396898782, 1396898866, 1396898733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21806240081787 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-11-29 14:20:02.555897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/14/image_29112025_14_14_45_9644.jpg', '/home/pi/Desktop/images/29112025/14/14/image_29112025_14_14_54_9672.jpg', '/home/pi/Desktop/images/29112025/14/14/image_29112025_14_15_05_10581.jpg', '/home/pi/Desktop/images/29112025/14/15/image_29112025_14_15_15_9909.jpg', '/home/pi/Desktop/images/29112025/14/15/image_29112025_14_15_25_9740.jpg', '/home/pi/Desktop/images/29112025/14/15/image_29112025_14_15_45_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/14/image_29112025_14_14_45_9644.jpg
/home/pi/Desktop/images/29112025/14/14/image_29112025_14_14_54_9672.jpg
/home/pi/Desktop/images/29112025/14/14/image_29112025_14_15_05_10581.jpg
/home/pi/Desktop/images/29112025/14/15/image_29112025_14_15_15_9909.jpg
/home/pi/Desktop/images/29112025/14/15/image_29112025_14_15_25_9740.jpg
/home/pi/Desktop/images/29112025/14/15/image_29112025_14_15_45_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":["1396899484","1396899589","1396899634","1396899556","1396899520","1396899440"],"photo_ids_order":["1396899440","1396899484","1396899520","1396899556","1396899589","1396899634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56ec0710d16527e95bac857b3c59164c.jpg","text":"TemporaryFile(/tmp/multipartBody4407652866454402155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422463303,"filename":"image_29112025_14_14_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/11/29/d8385522ef07558e595c4297465657de.jpg","text":"TemporaryFile(/tmp/multipartBody4602878340243578919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422463303,"filename":"image_29112025_14_15_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/11/29/c44c60610f15a6e6c85bccf772a4899d.jpg","text":"TemporaryFile(/tmp/multipartBody7124648322755234776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422463303,"filename":"image_29112025_14_15_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7311a8c34ef1c1a07d01415be3da5ad6.jpg","text":"TemporaryFile(/tmp/multipartBody1255911272935432298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422463303,"filename":"image_29112025_14_15_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/11/29/98b930f1f44426158c0ac0aaaeb3ae19.jpg","text":"TemporaryFile(/tmp/multipartBody5467534959684756606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422463303,"filename":"image_29112025_14_15_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/11/29/ace60d97cbc545eb599b9ad8e456ad4a.jpg","text":"TemporaryFile(/tmp/multipartBody6123885300987515216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422463303,"filename":"image_29112025_14_14_45_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396899520","file1":"1396899484","file0":"1396899440","file4":"1396899589","file5":"1396899634","file3":"1396899556"},"map_files_photo_id_array":[{"photo_id":"1396899634","filename":"file5"},{"photo_id":"1396899520","filename":"file2"},{"photo_id":"1396899589","filename":"file4"},{"photo_id":"1396899484","filename":"file1"},{"photo_id":"1396899440","filename":"file0"},{"photo_id":"1396899556","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396899484":["hashtag1","hashtag2"]},{"1396899589":["hashtag1","hashtag2"]},{"1396899634":["hashtag1","hashtag2"]},{"1396899556":["hashtag1","hashtag2"]},{"1396899520":["hashtag1","hashtag2"]},{"1396899440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396899484, 1396899589, 1396899634, 1396899556, 1396899520, 1396899440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.862138748168945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:20:42.263997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_43_3729.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_48_2718.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_52_3650.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_54_2546.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_57_2684.jpg', '/home/pi/Desktop/images/31102025/09/49/image_31102025_09_50_01_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/09/49/image_31102025_09_49_43_3729.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_48_2718.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_52_3650.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_54_2546.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_49_57_2684.jpg
/home/pi/Desktop/images/31102025/09/49/image_31102025_09_50_01_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396899725","1396899719","1396899721","1396899723","1396899717","1396899714"],"photo_ids_order":["1396899714","1396899717","1396899719","1396899721","1396899723","1396899725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a47336a4c299c85aa8784f26ea411c6.jpg","text":"TemporaryFile(/tmp/multipartBody2560805940808523702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422503390,"filename":"image_31102025_09_50_01_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/251599d52bd877f1e44a25fcc0985e66.jpg","text":"TemporaryFile(/tmp/multipartBody1646369267473034514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422503390,"filename":"image_31102025_09_49_52_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5842b3b6eadea8ed6ca990f38a2cfe81.jpg","text":"TemporaryFile(/tmp/multipartBody3203958744062720632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422503390,"filename":"image_31102025_09_49_54_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/529ca82b6563a9e0e2ad8596f0825380.jpg","text":"TemporaryFile(/tmp/multipartBody3604844147574305459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422503390,"filename":"image_31102025_09_49_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/11/29/37cfb075c2f3d7f136bbe59082849497.jpg","text":"TemporaryFile(/tmp/multipartBody9144235515342930312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422503390,"filename":"image_31102025_09_49_48_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a0739e19341754d9701e909e5b0c40f.jpg","text":"TemporaryFile(/tmp/multipartBody8882197914312719887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422503390,"filename":"image_31102025_09_49_43_3729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396899719","file1":"1396899717","file0":"1396899714","file4":"1396899723","file5":"1396899725","file3":"1396899721"},"map_files_photo_id_array":[{"photo_id":"1396899725","filename":"file5"},{"photo_id":"1396899719","filename":"file2"},{"photo_id":"1396899723","filename":"file4"},{"photo_id":"1396899717","filename":"file1"},{"photo_id":"1396899714","filename":"file0"},{"photo_id":"1396899721","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396899725":["hashtag1","hashtag2"]},{"1396899719":["hashtag1","hashtag2"]},{"1396899721":["hashtag1","hashtag2"]},{"1396899723":["hashtag1","hashtag2"]},{"1396899717":["hashtag1","hashtag2"]},{"1396899714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396899725, 1396899719, 1396899721, 1396899723, 1396899717, 1396899714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.06464219093323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 14:21:32.434437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_59_2711.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_02_2705.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_06_3566.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_08_2607.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_11_2579.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_15_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/25/image_25112025_18_25_59_2711.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_02_2705.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_06_3566.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_08_2607.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_11_2579.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_15_3748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396899994","1396899958","1396899919","1396899999","1396899882","1396900001"],"photo_ids_order":["1396899882","1396899919","1396899958","1396899994","1396899999","1396900001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9167019d9a33535422045e3d481dd0ab.jpg","text":"TemporaryFile(/tmp/multipartBody4045456531083103107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422554706,"filename":"image_25112025_18_26_08_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/779bf71138f1d7a511ac79880c3d555d.jpg","text":"TemporaryFile(/tmp/multipartBody709413678469656306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422554706,"filename":"image_25112025_18_26_06_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99bcdfe38e785638f5eefcef3492d53f.jpg","text":"TemporaryFile(/tmp/multipartBody5404035113253146467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422554706,"filename":"image_25112025_18_26_02_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2031b370720471451fdf1ee2de20bcc.jpg","text":"TemporaryFile(/tmp/multipartBody212455731678040266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422554706,"filename":"image_25112025_18_26_11_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81e164e59f8c370b51a117f0aefcf29a.jpg","text":"TemporaryFile(/tmp/multipartBody5626184041989400332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422554706,"filename":"image_25112025_18_25_59_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f76763bfca587ca27813ce7ac7974877.jpg","text":"TemporaryFile(/tmp/multipartBody3809766513066126440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422554706,"filename":"image_25112025_18_26_15_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396899958","file1":"1396899919","file0":"1396899882","file4":"1396899999","file5":"1396900001","file3":"1396899994"},"map_files_photo_id_array":[{"photo_id":"1396900001","filename":"file5"},{"photo_id":"1396899958","filename":"file2"},{"photo_id":"1396899999","filename":"file4"},{"photo_id":"1396899919","filename":"file1"},{"photo_id":"1396899882","filename":"file0"},{"photo_id":"1396899994","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396899994":["hashtag1","hashtag2"]},{"1396899958":["hashtag1","hashtag2"]},{"1396899919":["hashtag1","hashtag2"]},{"1396899999":["hashtag1","hashtag2"]},{"1396899882":["hashtag1","hashtag2"]},{"1396900001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396899994, 1396899958, 1396899919, 1396899999, 1396899882, 1396900001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46037220954895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 14:22:12.614377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_17_2595.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_20_2718.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_24_3743.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_26_2577.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_29_2584.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_33_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_17_2595.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_20_2718.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_24_3743.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_26_2577.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_29_2584.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_33_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900059","1396900110","1396900113","1396900107","1396900104","1396900093"],"photo_ids_order":["1396900059","1396900093","1396900104","1396900107","1396900110","1396900113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e44870e212af6feb7b4d0a5ee88a5b53.jpg","text":"TemporaryFile(/tmp/multipartBody7504343438052376401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422594704,"filename":"image_25112025_18_26_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/11/29/06a50556b9ea7c404da5081326a86ecf.jpg","text":"TemporaryFile(/tmp/multipartBody1701309559090865986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422594704,"filename":"image_25112025_18_26_29_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/159e0759a7e43b903d9b501c8df89de9.jpg","text":"TemporaryFile(/tmp/multipartBody5649288215101746492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422594704,"filename":"image_25112025_18_26_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/11/29/1ee7eca4e6211e6abf5280664814a6cf.jpg","text":"TemporaryFile(/tmp/multipartBody4261343640388627139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422594704,"filename":"image_25112025_18_26_26_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4dcb9aa44e5beb797f5a7177d5d3630b.jpg","text":"TemporaryFile(/tmp/multipartBody8959917614973269784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422594704,"filename":"image_25112025_18_26_24_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f14bf82ac4d9e73b676d733c1f62851.jpg","text":"TemporaryFile(/tmp/multipartBody9177154859187892735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422594704,"filename":"image_25112025_18_26_20_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900104","file1":"1396900093","file0":"1396900059","file4":"1396900110","file5":"1396900113","file3":"1396900107"},"map_files_photo_id_array":[{"photo_id":"1396900113","filename":"file5"},{"photo_id":"1396900104","filename":"file2"},{"photo_id":"1396900110","filename":"file4"},{"photo_id":"1396900093","filename":"file1"},{"photo_id":"1396900059","filename":"file0"},{"photo_id":"1396900107","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396900059":["hashtag1","hashtag2"]},{"1396900110":["hashtag1","hashtag2"]},{"1396900113":["hashtag1","hashtag2"]},{"1396900107":["hashtag1","hashtag2"]},{"1396900104":["hashtag1","hashtag2"]},{"1396900093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396900059, 1396900110, 1396900113, 1396900107, 1396900104, 1396900093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65407609939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:23:03.580042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/15/image_29112025_14_16_04_9754.jpg', '/home/pi/Desktop/images/29112025/14/16/image_29112025_14_16_15_10684.jpg', '/home/pi/Desktop/images/29112025/14/16/image_29112025_14_16_25_9716.jpg', '/home/pi/Desktop/images/29112025/14/16/image_29112025_14_16_34_9737.jpg', '/home/pi/Desktop/images/29112025/14/16/image_29112025_14_16_45_10748.jpg', '/home/pi/Desktop/images/29112025/14/16/image_29112025_14_16_55_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/15/image_29112025_14_16_04_9754.jpg
/home/pi/Desktop/images/29112025/14/16/image_29112025_14_16_15_10684.jpg
/home/pi/Desktop/images/29112025/14/16/image_29112025_14_16_25_9716.jpg
/home/pi/Desktop/images/29112025/14/16/image_29112025_14_16_34_9737.jpg
/home/pi/Desktop/images/29112025/14/16/image_29112025_14_16_45_10748.jpg
/home/pi/Desktop/images/29112025/14/16/image_29112025_14_16_55_9821.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900120","1396900117","1396900125","1396900119","1396900128","1396900122"],"photo_ids_order":["1396900117","1396900119","1396900120","1396900122","1396900125","1396900128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7509df72aeaad685e39183d5d3e7cbaf.jpg","text":"TemporaryFile(/tmp/multipartBody1848053338896291968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422644354,"filename":"image_29112025_14_16_25_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8ca21079af131fa89cf186e22b052cf.jpg","text":"TemporaryFile(/tmp/multipartBody5730135226178304145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422644354,"filename":"image_29112025_14_16_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/11/29/9a1cb710cf8a633a7244ad72de223391.jpg","text":"TemporaryFile(/tmp/multipartBody479963775244788172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422644354,"filename":"image_29112025_14_16_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/11/29/8036c426f5b75da5530a15fe73a0b04d.jpg","text":"TemporaryFile(/tmp/multipartBody560765927521549099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422644354,"filename":"image_29112025_14_16_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25633698b2d7c2f6e41a169b72f9e538.jpg","text":"TemporaryFile(/tmp/multipartBody3542317343341267077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422644354,"filename":"image_29112025_14_16_55_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1920f60978741ddf8abe8a674a41b46.jpg","text":"TemporaryFile(/tmp/multipartBody7782144470071486081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422644354,"filename":"image_29112025_14_16_34_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900120","file1":"1396900119","file0":"1396900117","file4":"1396900125","file5":"1396900128","file3":"1396900122"},"map_files_photo_id_array":[{"photo_id":"1396900128","filename":"file5"},{"photo_id":"1396900120","filename":"file2"},{"photo_id":"1396900125","filename":"file4"},{"photo_id":"1396900119","filename":"file1"},{"photo_id":"1396900117","filename":"file0"},{"photo_id":"1396900122","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900120":["hashtag1","hashtag2"]},{"1396900117":["hashtag1","hashtag2"]},{"1396900125":["hashtag1","hashtag2"]},{"1396900119":["hashtag1","hashtag2"]},{"1396900128":["hashtag1","hashtag2"]},{"1396900122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900120, 1396900117, 1396900125, 1396900119, 1396900128, 1396900122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6864218711853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:23:42.894298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_03_2569.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_06_2859.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_10_3642.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_12_2606.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_15_2680.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_18_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/09/50/image_31102025_09_50_03_2569.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_06_2859.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_10_3642.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_12_2606.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_15_2680.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_18_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: 1.060908317565918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:24:02.752828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/16/image_29112025_14_17_05_9641.jpg', '/home/pi/Desktop/images/29112025/14/17/image_29112025_14_17_14_9684.jpg', '/home/pi/Desktop/images/29112025/14/17/image_29112025_14_17_25_10780.jpg', '/home/pi/Desktop/images/29112025/14/17/image_29112025_14_17_35_9625.jpg', '/home/pi/Desktop/images/29112025/14/17/image_29112025_14_17_44_9570.jpg', '/home/pi/Desktop/images/29112025/14/18/image_29112025_14_18_14_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/16/image_29112025_14_17_05_9641.jpg
/home/pi/Desktop/images/29112025/14/17/image_29112025_14_17_14_9684.jpg
/home/pi/Desktop/images/29112025/14/17/image_29112025_14_17_25_10780.jpg
/home/pi/Desktop/images/29112025/14/17/image_29112025_14_17_35_9625.jpg
/home/pi/Desktop/images/29112025/14/17/image_29112025_14_17_44_9570.jpg
/home/pi/Desktop/images/29112025/14/18/image_29112025_14_18_14_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":["1396900155","1396900184","1396900154","1396900148","1396900142","1396900177"],"photo_ids_order":["1396900142","1396900148","1396900154","1396900155","1396900177","1396900184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83fc7dd54e007d79fe820e9f8edb6957.jpg","text":"TemporaryFile(/tmp/multipartBody1809875747859192416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422703574,"filename":"image_29112025_14_17_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d499ed425479b2bd75de92a806031c53.jpg","text":"TemporaryFile(/tmp/multipartBody5077891997447806396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422703574,"filename":"image_29112025_14_18_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/11/29/a1553dc35c917578677320f78fea90db.jpg","text":"TemporaryFile(/tmp/multipartBody2346650415838595512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422703574,"filename":"image_29112025_14_17_25_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6332a026662da2241f9145229ba9ed97.jpg","text":"TemporaryFile(/tmp/multipartBody6888691115992623761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422703574,"filename":"image_29112025_14_17_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/11/29/c417cd1ed71f15c0f0e1d0327e6923e0.jpg","text":"TemporaryFile(/tmp/multipartBody7853246685242301197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422703574,"filename":"image_29112025_14_17_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3737d005cf7871ceba5fce5cc8830ef8.jpg","text":"TemporaryFile(/tmp/multipartBody2104160761589168795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422703574,"filename":"image_29112025_14_17_44_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900154","file1":"1396900148","file0":"1396900142","file4":"1396900177","file5":"1396900184","file3":"1396900155"},"map_files_photo_id_array":[{"photo_id":"1396900184","filename":"file5"},{"photo_id":"1396900154","filename":"file2"},{"photo_id":"1396900177","filename":"file4"},{"photo_id":"1396900148","filename":"file1"},{"photo_id":"1396900142","filename":"file0"},{"photo_id":"1396900155","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900155":["hashtag1","hashtag2"]},{"1396900184":["hashtag1","hashtag2"]},{"1396900154":["hashtag1","hashtag2"]},{"1396900148":["hashtag1","hashtag2"]},{"1396900142":["hashtag1","hashtag2"]},{"1396900177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900155, 1396900184, 1396900154, 1396900148, 1396900142, 1396900177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79060435295105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:24:42.082371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_03_2569.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_06_2859.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_10_3642.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_12_2606.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_15_2680.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_18_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/09/50/image_31102025_09_50_03_2569.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_06_2859.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_10_3642.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_12_2606.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_15_2680.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_18_2796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900194","1396900197","1396900196","1396900215","1396900195","1396900192"],"photo_ids_order":["1396900192","1396900194","1396900195","1396900196","1396900197","1396900215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/345b2113dc8ddbed42afab03ac43888d.jpg","text":"TemporaryFile(/tmp/multipartBody140226672155388257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422743051,"filename":"image_31102025_09_50_06_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f9fba000eedf9c59542c05b27f5b831.jpg","text":"TemporaryFile(/tmp/multipartBody3668071541635072071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422743051,"filename":"image_31102025_09_50_15_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4683e856031178cd7b0894c9363c391e.jpg","text":"TemporaryFile(/tmp/multipartBody3056627657164092146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422743051,"filename":"image_31102025_09_50_12_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae6375b4d25eafb3b8986d070ba46882.jpg","text":"TemporaryFile(/tmp/multipartBody662173683895369048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422743051,"filename":"image_31102025_09_50_18_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f4515431c75eb6f2a5c47e34d76d8f9.jpg","text":"TemporaryFile(/tmp/multipartBody4041652476887021073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422743051,"filename":"image_31102025_09_50_10_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5780bd25c2c735da40ca0e9571db2589.jpg","text":"TemporaryFile(/tmp/multipartBody1841532211303353130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422743051,"filename":"image_31102025_09_50_03_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900195","file1":"1396900194","file0":"1396900192","file4":"1396900197","file5":"1396900215","file3":"1396900196"},"map_files_photo_id_array":[{"photo_id":"1396900215","filename":"file5"},{"photo_id":"1396900195","filename":"file2"},{"photo_id":"1396900197","filename":"file4"},{"photo_id":"1396900194","filename":"file1"},{"photo_id":"1396900192","filename":"file0"},{"photo_id":"1396900196","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396900194":["hashtag1","hashtag2"]},{"1396900197":["hashtag1","hashtag2"]},{"1396900196":["hashtag1","hashtag2"]},{"1396900215":["hashtag1","hashtag2"]},{"1396900195":["hashtag1","hashtag2"]},{"1396900192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396900194, 1396900197, 1396900196, 1396900215, 1396900195, 1396900192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88822650909424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:25:22.298027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/18/image_29112025_14_18_25_10644.jpg', '/home/pi/Desktop/images/29112025/14/18/image_29112025_14_18_35_9585.jpg', '/home/pi/Desktop/images/29112025/14/18/image_29112025_14_18_44_9669.jpg', '/home/pi/Desktop/images/29112025/14/18/image_29112025_14_18_55_10765.jpg', '/home/pi/Desktop/images/29112025/14/18/image_29112025_14_19_05_9837.jpg', '/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_15_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/18/image_29112025_14_18_25_10644.jpg
/home/pi/Desktop/images/29112025/14/18/image_29112025_14_18_35_9585.jpg
/home/pi/Desktop/images/29112025/14/18/image_29112025_14_18_44_9669.jpg
/home/pi/Desktop/images/29112025/14/18/image_29112025_14_18_55_10765.jpg
/home/pi/Desktop/images/29112025/14/18/image_29112025_14_19_05_9837.jpg
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_15_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":["1396900380","1396900353","1396900356","1396900401","1396900346","1396900360"],"photo_ids_order":["1396900346","1396900353","1396900356","1396900360","1396900380","1396900401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2403293d34372094e84abd2bfefdee7.jpg","text":"TemporaryFile(/tmp/multipartBody2177580162715495716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422783004,"filename":"image_29112025_14_19_05_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01a62fbf0a79357680209403890bca88.jpg","text":"TemporaryFile(/tmp/multipartBody810120431421261966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422783004,"filename":"image_29112025_14_18_35_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3cfecf24879b6abccf1e3ef81613391f.jpg","text":"TemporaryFile(/tmp/multipartBody2688844048568031648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422783004,"filename":"image_29112025_14_18_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/11/29/d252d475602d731e5a8af1d0f41e0817.jpg","text":"TemporaryFile(/tmp/multipartBody2998918973949796971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422783004,"filename":"image_29112025_14_19_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/11/29/235e76da1de641c697effb248fa5933d.jpg","text":"TemporaryFile(/tmp/multipartBody6937432034996284483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422783004,"filename":"image_29112025_14_18_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16bc558a63f0660a7032abde9d37704f.jpg","text":"TemporaryFile(/tmp/multipartBody5813702026130237500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422783004,"filename":"image_29112025_14_18_55_10765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900356","file1":"1396900353","file0":"1396900346","file4":"1396900380","file5":"1396900401","file3":"1396900360"},"map_files_photo_id_array":[{"photo_id":"1396900401","filename":"file5"},{"photo_id":"1396900356","filename":"file2"},{"photo_id":"1396900380","filename":"file4"},{"photo_id":"1396900353","filename":"file1"},{"photo_id":"1396900346","filename":"file0"},{"photo_id":"1396900360","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900380":["hashtag1","hashtag2"]},{"1396900353":["hashtag1","hashtag2"]},{"1396900356":["hashtag1","hashtag2"]},{"1396900401":["hashtag1","hashtag2"]},{"1396900346":["hashtag1","hashtag2"]},{"1396900360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900380, 1396900353, 1396900356, 1396900401, 1396900346, 1396900360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23952579498291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:26:02.937081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_24_9563.jpg', '/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_35_10820.jpg', '/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_45_9693.jpg', '/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_54_9723.jpg', '/home/pi/Desktop/images/29112025/14/19/image_29112025_14_20_05_10676.jpg', '/home/pi/Desktop/images/29112025/14/20/image_29112025_14_20_15_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_24_9563.jpg
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_35_10820.jpg
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_45_9693.jpg
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_54_9723.jpg
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_20_05_10676.jpg
/home/pi/Desktop/images/29112025/14/20/image_29112025_14_20_15_9648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6265528202056885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 14:26:12.439508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_35_2660.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_39_3490.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_41_2630.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_44_2588.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_48_3676.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_50_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_35_2660.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_39_3490.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_41_2630.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_44_2588.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_48_3676.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_50_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900438","1396900510","1396900513","1396900516","1396900461","1396900499"],"photo_ids_order":["1396900438","1396900461","1396900499","1396900510","1396900513","1396900516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bb59f8a5cb4636be9d9ade2e4b9b5e0.jpg","text":"TemporaryFile(/tmp/multipartBody1623555543437919630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422834549,"filename":"image_25112025_18_26_35_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b77bcc36db2de7978cb9b32628fe852a.jpg","text":"TemporaryFile(/tmp/multipartBody2817606367802844446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422834549,"filename":"image_25112025_18_26_44_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ff1dda96fbea85d58bb9b414a9299dd.jpg","text":"TemporaryFile(/tmp/multipartBody769664752148875921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422834549,"filename":"image_25112025_18_26_48_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16bbaeca691e8adbddcc8bb622df8d1f.jpg","text":"TemporaryFile(/tmp/multipartBody8684642280972022416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422834549,"filename":"image_25112025_18_26_50_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a84f16748bdb1f9bd33f27f8f4f51ba4.jpg","text":"TemporaryFile(/tmp/multipartBody4406551565571529918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422834549,"filename":"image_25112025_18_26_39_3490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4dc85f04288d47d81f6636ed45edbdc7.jpg","text":"TemporaryFile(/tmp/multipartBody4724640155646394700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422834549,"filename":"image_25112025_18_26_41_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900499","file1":"1396900461","file0":"1396900438","file4":"1396900513","file5":"1396900516","file3":"1396900510"},"map_files_photo_id_array":[{"photo_id":"1396900516","filename":"file5"},{"photo_id":"1396900499","filename":"file2"},{"photo_id":"1396900513","filename":"file4"},{"photo_id":"1396900461","filename":"file1"},{"photo_id":"1396900438","filename":"file0"},{"photo_id":"1396900510","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396900438":["hashtag1","hashtag2"]},{"1396900510":["hashtag1","hashtag2"]},{"1396900513":["hashtag1","hashtag2"]},{"1396900516":["hashtag1","hashtag2"]},{"1396900461":["hashtag1","hashtag2"]},{"1396900499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396900438, 1396900510, 1396900513, 1396900516, 1396900461, 1396900499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61757707595825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:27:03.165500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_24_9563.jpg', '/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_35_10820.jpg', '/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_45_9693.jpg', '/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_54_9723.jpg', '/home/pi/Desktop/images/29112025/14/19/image_29112025_14_20_05_10676.jpg', '/home/pi/Desktop/images/29112025/14/20/image_29112025_14_20_15_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_24_9563.jpg
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_35_10820.jpg
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_45_9693.jpg
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_19_54_9723.jpg
/home/pi/Desktop/images/29112025/14/19/image_29112025_14_20_05_10676.jpg
/home/pi/Desktop/images/29112025/14/20/image_29112025_14_20_15_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900522","1396900531","1396900525","1396900528","1396900521","1396900523"],"photo_ids_order":["1396900521","1396900522","1396900523","1396900525","1396900528","1396900531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47e0519182eb7cf152bacae51b528db5.jpg","text":"TemporaryFile(/tmp/multipartBody3890103764145667308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422886570,"filename":"image_29112025_14_19_35_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4967cf233d6087bdb761b3ae637ac2c2.jpg","text":"TemporaryFile(/tmp/multipartBody6260590086271076601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422886570,"filename":"image_29112025_14_20_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/11/29/ceca055f9a3b54a1c6b0f041423e9110.jpg","text":"TemporaryFile(/tmp/multipartBody3569806555212538035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422886570,"filename":"image_29112025_14_19_54_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0cd9839870129d97fc6340ef1e9e316.jpg","text":"TemporaryFile(/tmp/multipartBody6808385043336319663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422886570,"filename":"image_29112025_14_20_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc8b0e20f816cd999bf6c4d05f29d0c2.jpg","text":"TemporaryFile(/tmp/multipartBody5845251392852149792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422886570,"filename":"image_29112025_14_19_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/601fa8f815ec898cc5b99e8406878024.jpg","text":"TemporaryFile(/tmp/multipartBody518754965365515757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422886570,"filename":"image_29112025_14_19_45_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900523","file1":"1396900522","file0":"1396900521","file4":"1396900528","file5":"1396900531","file3":"1396900525"},"map_files_photo_id_array":[{"photo_id":"1396900531","filename":"file5"},{"photo_id":"1396900523","filename":"file2"},{"photo_id":"1396900528","filename":"file4"},{"photo_id":"1396900522","filename":"file1"},{"photo_id":"1396900521","filename":"file0"},{"photo_id":"1396900525","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900522":["hashtag1","hashtag2"]},{"1396900531":["hashtag1","hashtag2"]},{"1396900525":["hashtag1","hashtag2"]},{"1396900528":["hashtag1","hashtag2"]},{"1396900521":["hashtag1","hashtag2"]},{"1396900523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900522, 1396900531, 1396900525, 1396900528, 1396900521, 1396900523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.970714807510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:28:02.483596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/20/image_29112025_14_20_24_9546.jpg', '/home/pi/Desktop/images/29112025/14/20/image_29112025_14_20_35_10752.jpg', '/home/pi/Desktop/images/29112025/14/20/image_29112025_14_20_45_9663.jpg', '/home/pi/Desktop/images/29112025/14/20/image_29112025_14_21_05_10665.jpg', '/home/pi/Desktop/images/29112025/14/21/image_29112025_14_21_25_9718.jpg', '/home/pi/Desktop/images/29112025/14/21/image_29112025_14_21_34_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/20/image_29112025_14_20_24_9546.jpg
/home/pi/Desktop/images/29112025/14/20/image_29112025_14_20_35_10752.jpg
/home/pi/Desktop/images/29112025/14/20/image_29112025_14_20_45_9663.jpg
/home/pi/Desktop/images/29112025/14/20/image_29112025_14_21_05_10665.jpg
/home/pi/Desktop/images/29112025/14/21/image_29112025_14_21_25_9718.jpg
/home/pi/Desktop/images/29112025/14/21/image_29112025_14_21_34_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":["1396900543","1396900545","1396900550","1396900544","1396900547","1396900541"],"photo_ids_order":["1396900541","1396900543","1396900544","1396900545","1396900547","1396900550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9e2d3bdbebd0e4bd3aba4be1bc0e1e8.jpg","text":"TemporaryFile(/tmp/multipartBody4479271008871876198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422943193,"filename":"image_29112025_14_20_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/11/29/69651a33c6d8e23798a1489a805180fc.jpg","text":"TemporaryFile(/tmp/multipartBody5945496638144357788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422943193,"filename":"image_29112025_14_21_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28bef9f8ce9aa1802949cad1c1f143a8.jpg","text":"TemporaryFile(/tmp/multipartBody7451174363109102605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422943193,"filename":"image_29112025_14_21_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/11/29/cf2f509d03896a554434ca5916a18fed.jpg","text":"TemporaryFile(/tmp/multipartBody5279023815589678289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422943193,"filename":"image_29112025_14_20_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff69592111a3b2a1d6dd2e4180d24022.jpg","text":"TemporaryFile(/tmp/multipartBody4856035196478788863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422943193,"filename":"image_29112025_14_21_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb0a6a23095bbdebd1b78755d21b938f.jpg","text":"TemporaryFile(/tmp/multipartBody1960903931501994140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422943193,"filename":"image_29112025_14_20_24_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900544","file1":"1396900543","file0":"1396900541","file4":"1396900547","file5":"1396900550","file3":"1396900545"},"map_files_photo_id_array":[{"photo_id":"1396900550","filename":"file5"},{"photo_id":"1396900544","filename":"file2"},{"photo_id":"1396900547","filename":"file4"},{"photo_id":"1396900543","filename":"file1"},{"photo_id":"1396900541","filename":"file0"},{"photo_id":"1396900545","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900543":["hashtag1","hashtag2"]},{"1396900545":["hashtag1","hashtag2"]},{"1396900550":["hashtag1","hashtag2"]},{"1396900544":["hashtag1","hashtag2"]},{"1396900547":["hashtag1","hashtag2"]},{"1396900541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900543, 1396900545, 1396900550, 1396900544, 1396900547, 1396900541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08565926551819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:28:41.896902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_21_3637.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_24_2664.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_33_2729.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_36_2916.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_39_2697.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_42_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_21_3637.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_24_2664.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_33_2729.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_36_2916.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_39_2697.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_42_3662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900564","1396900563","1396900562","1396900565","1396900559","1396900561"],"photo_ids_order":["1396900559","1396900561","1396900562","1396900563","1396900564","1396900565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d27a1eeecc075aff58527d5c25d9a2ea.jpg","text":"TemporaryFile(/tmp/multipartBody5329731551957233077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422983070,"filename":"image_31102025_09_50_39_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/447ce8345114b5768e88dd0d1f5fb098.jpg","text":"TemporaryFile(/tmp/multipartBody3545896065943792367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422983070,"filename":"image_31102025_09_50_36_2916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/acf813f5d8f6de48d77e5e414664e0fd.jpg","text":"TemporaryFile(/tmp/multipartBody102244422114391716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422983070,"filename":"image_31102025_09_50_33_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f734fc3e13d21710571aeda35c3b0c0e.jpg","text":"TemporaryFile(/tmp/multipartBody2142174459609069702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422983070,"filename":"image_31102025_09_50_42_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c51b503ce1b800823031b6c03115a84.jpg","text":"TemporaryFile(/tmp/multipartBody8522807162868773848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422983070,"filename":"image_31102025_09_50_21_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4433aa9f3aba70da75c4e36af428c816.jpg","text":"TemporaryFile(/tmp/multipartBody7003373178104543285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764422983070,"filename":"image_31102025_09_50_24_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900562","file1":"1396900561","file0":"1396900559","file4":"1396900564","file5":"1396900565","file3":"1396900563"},"map_files_photo_id_array":[{"photo_id":"1396900565","filename":"file5"},{"photo_id":"1396900562","filename":"file2"},{"photo_id":"1396900564","filename":"file4"},{"photo_id":"1396900561","filename":"file1"},{"photo_id":"1396900559","filename":"file0"},{"photo_id":"1396900563","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396900564":["hashtag1","hashtag2"]},{"1396900563":["hashtag1","hashtag2"]},{"1396900562":["hashtag1","hashtag2"]},{"1396900565":["hashtag1","hashtag2"]},{"1396900559":["hashtag1","hashtag2"]},{"1396900561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396900564, 1396900563, 1396900562, 1396900565, 1396900559, 1396900561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58640933036804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:29:22.204990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/21/image_29112025_14_21_45_10693.jpg', '/home/pi/Desktop/images/29112025/14/21/image_29112025_14_21_55_9785.jpg', '/home/pi/Desktop/images/29112025/14/21/image_29112025_14_22_05_9772.jpg', '/home/pi/Desktop/images/29112025/14/22/image_29112025_14_22_14_9672.jpg', '/home/pi/Desktop/images/29112025/14/22/image_29112025_14_22_25_10605.jpg', '/home/pi/Desktop/images/29112025/14/22/image_29112025_14_22_35_9935.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/21/image_29112025_14_21_45_10693.jpg
/home/pi/Desktop/images/29112025/14/21/image_29112025_14_21_55_9785.jpg
/home/pi/Desktop/images/29112025/14/21/image_29112025_14_22_05_9772.jpg
/home/pi/Desktop/images/29112025/14/22/image_29112025_14_22_14_9672.jpg
/home/pi/Desktop/images/29112025/14/22/image_29112025_14_22_25_10605.jpg
/home/pi/Desktop/images/29112025/14/22/image_29112025_14_22_35_9935.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900569","1396900586","1396900579","1396900573","1396900582","1396900576"],"photo_ids_order":["1396900569","1396900573","1396900576","1396900579","1396900582","1396900586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1819017fc1901e6e2973ea8f97f12784.jpg","text":"TemporaryFile(/tmp/multipartBody2617277687140550836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423022909,"filename":"image_29112025_14_21_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c9ce60d2f4b271d900c31d54fe97c3b.jpg","text":"TemporaryFile(/tmp/multipartBody532222049271422829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423022909,"filename":"image_29112025_14_22_35_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/864f5d798078fdddf7320588f530a1fa.jpg","text":"TemporaryFile(/tmp/multipartBody5422117241217441583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423022909,"filename":"image_29112025_14_22_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f23444cfe586a2367706ba8ab0b1f263.jpg","text":"TemporaryFile(/tmp/multipartBody5650062453675539787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423022909,"filename":"image_29112025_14_21_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/11/29/ffdc292179f259724e15a7f176a6778c.jpg","text":"TemporaryFile(/tmp/multipartBody6271980286406917789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423022909,"filename":"image_29112025_14_22_25_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d4fe86ab10574edec2556d1f72cb425.jpg","text":"TemporaryFile(/tmp/multipartBody7698990913511221037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423022909,"filename":"image_29112025_14_22_05_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900576","file1":"1396900573","file0":"1396900569","file4":"1396900582","file5":"1396900586","file3":"1396900579"},"map_files_photo_id_array":[{"photo_id":"1396900586","filename":"file5"},{"photo_id":"1396900576","filename":"file2"},{"photo_id":"1396900582","filename":"file4"},{"photo_id":"1396900573","filename":"file1"},{"photo_id":"1396900569","filename":"file0"},{"photo_id":"1396900579","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900569":["hashtag1","hashtag2"]},{"1396900586":["hashtag1","hashtag2"]},{"1396900579":["hashtag1","hashtag2"]},{"1396900573":["hashtag1","hashtag2"]},{"1396900582":["hashtag1","hashtag2"]},{"1396900576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900569, 1396900586, 1396900579, 1396900573, 1396900582, 1396900576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94586801528931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:30:02.686439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/22/image_29112025_14_22_45_9701.jpg', '/home/pi/Desktop/images/29112025/14/22/image_29112025_14_22_54_9856.jpg', '/home/pi/Desktop/images/29112025/14/22/image_29112025_14_23_05_10643.jpg', '/home/pi/Desktop/images/29112025/14/23/image_29112025_14_23_15_9709.jpg', '/home/pi/Desktop/images/29112025/14/23/image_29112025_14_23_24_9708.jpg', '/home/pi/Desktop/images/29112025/14/23/image_29112025_14_23_34_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/22/image_29112025_14_22_45_9701.jpg
/home/pi/Desktop/images/29112025/14/22/image_29112025_14_22_54_9856.jpg
/home/pi/Desktop/images/29112025/14/22/image_29112025_14_23_05_10643.jpg
/home/pi/Desktop/images/29112025/14/23/image_29112025_14_23_15_9709.jpg
/home/pi/Desktop/images/29112025/14/23/image_29112025_14_23_24_9708.jpg
/home/pi/Desktop/images/29112025/14/23/image_29112025_14_23_34_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900590","1396900592","1396900589","1396900598","1396900591","1396900594"],"photo_ids_order":["1396900589","1396900590","1396900591","1396900592","1396900594","1396900598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71b1f5e9fb37475aff1b3aa6710a9eca.jpg","text":"TemporaryFile(/tmp/multipartBody6028046091687816065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423063422,"filename":"image_29112025_14_22_54_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6add73df13c26071a103571f5ca6ec7f.jpg","text":"TemporaryFile(/tmp/multipartBody3099949060905731999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423063422,"filename":"image_29112025_14_23_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/11/29/d377e1cd7d30545a353827de113a0cfb.jpg","text":"TemporaryFile(/tmp/multipartBody893900923258794421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423063422,"filename":"image_29112025_14_22_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c22222bb5c7c3f0bb110d6f4d02a650.jpg","text":"TemporaryFile(/tmp/multipartBody3493328940530249350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423063422,"filename":"image_29112025_14_23_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/11/29/61d5e9ff36800700143d521f1b95086d.jpg","text":"TemporaryFile(/tmp/multipartBody2369547551657837636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423063422,"filename":"image_29112025_14_23_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/11/29/d678afaf74cb2a751a2cce0aafc67a63.jpg","text":"TemporaryFile(/tmp/multipartBody824149936614762547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423063422,"filename":"image_29112025_14_23_24_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900591","file1":"1396900590","file0":"1396900589","file4":"1396900594","file5":"1396900598","file3":"1396900592"},"map_files_photo_id_array":[{"photo_id":"1396900598","filename":"file5"},{"photo_id":"1396900591","filename":"file2"},{"photo_id":"1396900594","filename":"file4"},{"photo_id":"1396900590","filename":"file1"},{"photo_id":"1396900589","filename":"file0"},{"photo_id":"1396900592","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900590":["hashtag1","hashtag2"]},{"1396900592":["hashtag1","hashtag2"]},{"1396900589":["hashtag1","hashtag2"]},{"1396900598":["hashtag1","hashtag2"]},{"1396900591":["hashtag1","hashtag2"]},{"1396900594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900590, 1396900592, 1396900589, 1396900598, 1396900591, 1396900594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26663088798523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:30:42.310388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_45_2657.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_48_2620.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_51_3726.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_54_2751.jpg', '/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_57_2621.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_03_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/09/50/image_31102025_09_50_45_2657.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_48_2620.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_51_3726.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_54_2751.jpg
/home/pi/Desktop/images/31102025/09/50/image_31102025_09_50_57_2621.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_03_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":["1396900612","1396900609","1396900611","1396900610","1396900613","1396900607"],"photo_ids_order":["1396900607","1396900609","1396900610","1396900611","1396900612","1396900613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22ab76f0a9af70e69a65875690b07dae.jpg","text":"TemporaryFile(/tmp/multipartBody8195201702993296388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423103440,"filename":"image_31102025_09_50_57_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65b1bb0b1900a6a75a059a5eeb787776.jpg","text":"TemporaryFile(/tmp/multipartBody6253464246927461394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423103440,"filename":"image_31102025_09_50_48_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f9c434e39293a4ec92d787d2182f3c4.jpg","text":"TemporaryFile(/tmp/multipartBody5863199283657239105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423103440,"filename":"image_31102025_09_50_54_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3bd53c25cc05626b706727af5b3a34d.jpg","text":"TemporaryFile(/tmp/multipartBody5606630990207824040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423103440,"filename":"image_31102025_09_50_51_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7dc4e11009c59bdba1f35d4257584414.jpg","text":"TemporaryFile(/tmp/multipartBody8641389140380504846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423103440,"filename":"image_31102025_09_51_03_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46b0bf5ee9762808c254de1a8639aa73.jpg","text":"TemporaryFile(/tmp/multipartBody4202328496203748524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423103440,"filename":"image_31102025_09_50_45_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900610","file1":"1396900609","file0":"1396900607","file4":"1396900612","file5":"1396900613","file3":"1396900611"},"map_files_photo_id_array":[{"photo_id":"1396900613","filename":"file5"},{"photo_id":"1396900610","filename":"file2"},{"photo_id":"1396900612","filename":"file4"},{"photo_id":"1396900609","filename":"file1"},{"photo_id":"1396900607","filename":"file0"},{"photo_id":"1396900611","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396900612":["hashtag1","hashtag2"]},{"1396900609":["hashtag1","hashtag2"]},{"1396900611":["hashtag1","hashtag2"]},{"1396900610":["hashtag1","hashtag2"]},{"1396900613":["hashtag1","hashtag2"]},{"1396900607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396900612, 1396900609, 1396900611, 1396900610, 1396900613, 1396900607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85078263282776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:31:22.528821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/23/image_29112025_14_23_45_10605.jpg', '/home/pi/Desktop/images/29112025/14/23/image_29112025_14_23_55_9758.jpg', '/home/pi/Desktop/images/29112025/14/23/image_29112025_14_24_04_9726.jpg', '/home/pi/Desktop/images/29112025/14/24/image_29112025_14_24_15_10643.jpg', '/home/pi/Desktop/images/29112025/14/24/image_29112025_14_24_25_9599.jpg', '/home/pi/Desktop/images/29112025/14/24/image_29112025_14_24_35_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/23/image_29112025_14_23_45_10605.jpg
/home/pi/Desktop/images/29112025/14/23/image_29112025_14_23_55_9758.jpg
/home/pi/Desktop/images/29112025/14/23/image_29112025_14_24_04_9726.jpg
/home/pi/Desktop/images/29112025/14/24/image_29112025_14_24_15_10643.jpg
/home/pi/Desktop/images/29112025/14/24/image_29112025_14_24_25_9599.jpg
/home/pi/Desktop/images/29112025/14/24/image_29112025_14_24_35_9953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900632","1396900626","1396900629","1396900620","1396900623","1396900616"],"photo_ids_order":["1396900616","1396900620","1396900623","1396900626","1396900629","1396900632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12862825c95e2b12b223918afb37528d.jpg","text":"TemporaryFile(/tmp/multipartBody159602509030644465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423143231,"filename":"image_29112025_14_24_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/11/29/1b763dd39a839f7661f41a0e98c37629.jpg","text":"TemporaryFile(/tmp/multipartBody6595239545657621965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423143231,"filename":"image_29112025_14_24_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d04369ab6e9e8bb959f8599a2ef7c8ae.jpg","text":"TemporaryFile(/tmp/multipartBody1443147039785607209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423143231,"filename":"image_29112025_14_24_25_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/933de69b89b1bd15c653f262f5ceeac7.jpg","text":"TemporaryFile(/tmp/multipartBody2873345643918761016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423143231,"filename":"image_29112025_14_23_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/11/29/8411c428af6066410471f3902690ab8b.jpg","text":"TemporaryFile(/tmp/multipartBody8141895520027273461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423143231,"filename":"image_29112025_14_24_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/11/29/3c33f196e317736e94b31a4b1b0aabfa.jpg","text":"TemporaryFile(/tmp/multipartBody1557210244126554347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423143231,"filename":"image_29112025_14_23_45_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900623","file1":"1396900620","file0":"1396900616","file4":"1396900629","file5":"1396900632","file3":"1396900626"},"map_files_photo_id_array":[{"photo_id":"1396900632","filename":"file5"},{"photo_id":"1396900623","filename":"file2"},{"photo_id":"1396900629","filename":"file4"},{"photo_id":"1396900620","filename":"file1"},{"photo_id":"1396900616","filename":"file0"},{"photo_id":"1396900626","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900632":["hashtag1","hashtag2"]},{"1396900626":["hashtag1","hashtag2"]},{"1396900629":["hashtag1","hashtag2"]},{"1396900620":["hashtag1","hashtag2"]},{"1396900623":["hashtag1","hashtag2"]},{"1396900616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900632, 1396900626, 1396900629, 1396900620, 1396900623, 1396900616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53361177444458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:32:03.136979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/24/image_29112025_14_24_44_9773.jpg', '/home/pi/Desktop/images/29112025/14/24/image_29112025_14_24_55_10556.jpg', '/home/pi/Desktop/images/29112025/14/24/image_29112025_14_25_05_9843.jpg', '/home/pi/Desktop/images/29112025/14/25/image_29112025_14_25_15_9730.jpg', '/home/pi/Desktop/images/29112025/14/25/image_29112025_14_25_25_10588.jpg', '/home/pi/Desktop/images/29112025/14/25/image_29112025_14_25_35_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/24/image_29112025_14_24_44_9773.jpg
/home/pi/Desktop/images/29112025/14/24/image_29112025_14_24_55_10556.jpg
/home/pi/Desktop/images/29112025/14/24/image_29112025_14_25_05_9843.jpg
/home/pi/Desktop/images/29112025/14/25/image_29112025_14_25_15_9730.jpg
/home/pi/Desktop/images/29112025/14/25/image_29112025_14_25_25_10588.jpg
/home/pi/Desktop/images/29112025/14/25/image_29112025_14_25_35_9558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900636","1396900638","1396900643","1396900637","1396900640","1396900634"],"photo_ids_order":["1396900634","1396900636","1396900637","1396900638","1396900640","1396900643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/942dfd6594892aad047ae422c9f6c2a9.jpg","text":"TemporaryFile(/tmp/multipartBody3017582570355879990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423183853,"filename":"image_29112025_14_24_55_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f001d5801f6a7af6f7054c0e138336e.jpg","text":"TemporaryFile(/tmp/multipartBody7337551176145128713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423183853,"filename":"image_29112025_14_25_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8dfb95709b20e8d0f629a8a6a53e264.jpg","text":"TemporaryFile(/tmp/multipartBody6980067860136350560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423183853,"filename":"image_29112025_14_25_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/11/29/c7963adff36d40c0a62d16940b861bfc.jpg","text":"TemporaryFile(/tmp/multipartBody5640348082717198285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423183853,"filename":"image_29112025_14_25_05_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df7f08ab5f1d0179fdc7b5efaf3ff231.jpg","text":"TemporaryFile(/tmp/multipartBody3345052204208189695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423183853,"filename":"image_29112025_14_25_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02f4dd2ec630db5217597c43473b282b.jpg","text":"TemporaryFile(/tmp/multipartBody4307845624723642312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423183853,"filename":"image_29112025_14_24_44_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900637","file1":"1396900636","file0":"1396900634","file4":"1396900640","file5":"1396900643","file3":"1396900638"},"map_files_photo_id_array":[{"photo_id":"1396900643","filename":"file5"},{"photo_id":"1396900637","filename":"file2"},{"photo_id":"1396900640","filename":"file4"},{"photo_id":"1396900636","filename":"file1"},{"photo_id":"1396900634","filename":"file0"},{"photo_id":"1396900638","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900636":["hashtag1","hashtag2"]},{"1396900638":["hashtag1","hashtag2"]},{"1396900643":["hashtag1","hashtag2"]},{"1396900637":["hashtag1","hashtag2"]},{"1396900640":["hashtag1","hashtag2"]},{"1396900634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900636, 1396900638, 1396900643, 1396900637, 1396900640, 1396900634)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.05311584472656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:33:04.047898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/25/image_29112025_14_25_44_9702.jpg', '/home/pi/Desktop/images/29112025/14/25/image_29112025_14_25_55_10730.jpg', '/home/pi/Desktop/images/29112025/14/25/image_29112025_14_26_05_9577.jpg', '/home/pi/Desktop/images/29112025/14/26/image_29112025_14_26_14_9639.jpg', '/home/pi/Desktop/images/29112025/14/26/image_29112025_14_26_25_10782.jpg', '/home/pi/Desktop/images/29112025/14/26/image_29112025_14_26_35_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/25/image_29112025_14_25_44_9702.jpg
/home/pi/Desktop/images/29112025/14/25/image_29112025_14_25_55_10730.jpg
/home/pi/Desktop/images/29112025/14/25/image_29112025_14_26_05_9577.jpg
/home/pi/Desktop/images/29112025/14/26/image_29112025_14_26_14_9639.jpg
/home/pi/Desktop/images/29112025/14/26/image_29112025_14_26_25_10782.jpg
/home/pi/Desktop/images/29112025/14/26/image_29112025_14_26_35_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900663","1396900662","1396900671","1396900665","1396900668","1396900661"],"photo_ids_order":["1396900661","1396900662","1396900663","1396900665","1396900668","1396900671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/260198818f98424172c7c690cd6fcb63.jpg","text":"TemporaryFile(/tmp/multipartBody3208523624566462463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423244992,"filename":"image_29112025_14_26_05_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34e1792799744885b393781b040d24c3.jpg","text":"TemporaryFile(/tmp/multipartBody5607379904655614955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423244992,"filename":"image_29112025_14_25_55_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f67ba2f53d46fe275cea69b6adcec99b.jpg","text":"TemporaryFile(/tmp/multipartBody2750845262934214850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423244992,"filename":"image_29112025_14_26_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/11/29/39cbe662f8d94e395da78bde913c6ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2210281169816801738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423244992,"filename":"image_29112025_14_26_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20c717e50bfe5bf13f9591c51c0deee5.jpg","text":"TemporaryFile(/tmp/multipartBody4254824298096004226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423244992,"filename":"image_29112025_14_26_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/11/29/eb3d12ea638bdd8ba4198575076398c9.jpg","text":"TemporaryFile(/tmp/multipartBody5491522105329898964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423244992,"filename":"image_29112025_14_25_44_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900663","file1":"1396900662","file0":"1396900661","file4":"1396900668","file5":"1396900671","file3":"1396900665"},"map_files_photo_id_array":[{"photo_id":"1396900671","filename":"file5"},{"photo_id":"1396900663","filename":"file2"},{"photo_id":"1396900668","filename":"file4"},{"photo_id":"1396900662","filename":"file1"},{"photo_id":"1396900661","filename":"file0"},{"photo_id":"1396900665","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900663":["hashtag1","hashtag2"]},{"1396900662":["hashtag1","hashtag2"]},{"1396900671":["hashtag1","hashtag2"]},{"1396900665":["hashtag1","hashtag2"]},{"1396900668":["hashtag1","hashtag2"]},{"1396900661":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900663, 1396900662, 1396900671, 1396900665, 1396900668, 1396900661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56970453262329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:33:43.367929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_06_2659.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_09_3659.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_12_2604.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_15_2657.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_18_3769.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_21_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/09/51/image_31102025_09_51_06_2659.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_09_3659.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_12_2604.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_15_2657.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_18_3769.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_21_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":["1396900680","1396900683","1396900686","1396900682","1396900685","1396900684"],"photo_ids_order":["1396900680","1396900682","1396900683","1396900684","1396900685","1396900686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ad9de8fa99bd0e94d0a8a96f4843085.jpg","text":"TemporaryFile(/tmp/multipartBody5953190753137306111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423284476,"filename":"image_31102025_09_51_06_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d510a7c08d49690bb55009f50c0a64c4.jpg","text":"TemporaryFile(/tmp/multipartBody4312715803917223151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423284476,"filename":"image_31102025_09_51_12_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7769bd28654d5a841e96d815850457e1.jpg","text":"TemporaryFile(/tmp/multipartBody5582409073694278620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423284476,"filename":"image_31102025_09_51_21_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b89208c4d0acb2d52647606b89e18b5.jpg","text":"TemporaryFile(/tmp/multipartBody9208098429004752092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423284476,"filename":"image_31102025_09_51_09_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7599f490ecd62d2e83149a086b349ee5.jpg","text":"TemporaryFile(/tmp/multipartBody3029451625593051468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423284476,"filename":"image_31102025_09_51_18_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c8c8d72076bdbb8b853a8584ea9f95a.jpg","text":"TemporaryFile(/tmp/multipartBody5294644632714911059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423284476,"filename":"image_31102025_09_51_15_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900683","file1":"1396900682","file0":"1396900680","file4":"1396900685","file5":"1396900686","file3":"1396900684"},"map_files_photo_id_array":[{"photo_id":"1396900686","filename":"file5"},{"photo_id":"1396900683","filename":"file2"},{"photo_id":"1396900685","filename":"file4"},{"photo_id":"1396900682","filename":"file1"},{"photo_id":"1396900680","filename":"file0"},{"photo_id":"1396900684","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396900680":["hashtag1","hashtag2"]},{"1396900683":["hashtag1","hashtag2"]},{"1396900686":["hashtag1","hashtag2"]},{"1396900682":["hashtag1","hashtag2"]},{"1396900685":["hashtag1","hashtag2"]},{"1396900684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396900680, 1396900683, 1396900686, 1396900682, 1396900685, 1396900684)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.84249949455261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 14:34:32.625138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_53_2657.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_57_3781.jpg', '/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_59_2753.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_06_3718.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_08_2567.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_11_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_53_2657.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_57_3781.jpg
/home/pi/Desktop/images/25112025/18/26/image_25112025_18_26_59_2753.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_06_3718.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_08_2567.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_11_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":["1396900705","1396900695","1396900698","1396900701","1396900704","1396900703"],"photo_ids_order":["1396900695","1396900698","1396900701","1396900703","1396900704","1396900705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03ef22e90a5fc1e988ae0cd22888bf10.jpg","text":"TemporaryFile(/tmp/multipartBody256899151457646169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423334748,"filename":"image_25112025_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/11/29/3ffb0d21c58a40ec35e1506741f24b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4447568050630743668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423334748,"filename":"image_25112025_18_26_53_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79b064ce84ee96165c6a6b3f98fbef4c.jpg","text":"TemporaryFile(/tmp/multipartBody1425235920505967976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423334748,"filename":"image_25112025_18_26_57_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c864a4d892ebfccec303b4c4470a30a.jpg","text":"TemporaryFile(/tmp/multipartBody7467699642779137380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423334748,"filename":"image_25112025_18_26_59_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32e63d2fbdd8a15bae545cf7bde335ac.jpg","text":"TemporaryFile(/tmp/multipartBody6225144514080141426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423334748,"filename":"image_25112025_18_27_08_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40460ac4b1c7bd6110b383575361326a.jpg","text":"TemporaryFile(/tmp/multipartBody2844330513107834329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423334748,"filename":"image_25112025_18_27_06_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900701","file1":"1396900698","file0":"1396900695","file4":"1396900704","file5":"1396900705","file3":"1396900703"},"map_files_photo_id_array":[{"photo_id":"1396900705","filename":"file5"},{"photo_id":"1396900701","filename":"file2"},{"photo_id":"1396900704","filename":"file4"},{"photo_id":"1396900698","filename":"file1"},{"photo_id":"1396900695","filename":"file0"},{"photo_id":"1396900703","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396900705":["hashtag1","hashtag2"]},{"1396900695":["hashtag1","hashtag2"]},{"1396900698":["hashtag1","hashtag2"]},{"1396900701":["hashtag1","hashtag2"]},{"1396900704":["hashtag1","hashtag2"]},{"1396900703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396900705, 1396900695, 1396900698, 1396900701, 1396900704, 1396900703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25732731819153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 14:35:12.639577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_15_3642.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_17_2677.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_20_2563.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_23_3633.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_26_2608.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_30_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_15_3642.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_17_2677.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_20_2563.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_23_3633.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_26_2608.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_30_3537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900729","1396900711","1396900708","1396900737","1396900706","1396900750"],"photo_ids_order":["1396900706","1396900708","1396900711","1396900729","1396900737","1396900750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2db3c67967884e10c14013d68890a9d7.jpg","text":"TemporaryFile(/tmp/multipartBody1571330283904790493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423374749,"filename":"image_25112025_18_27_23_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5276370c7b182038c71be1b66950d255.jpg","text":"TemporaryFile(/tmp/multipartBody1287874541457712338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423374749,"filename":"image_25112025_18_27_20_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd55a48765c9371f93e055710a7b1d7b.jpg","text":"TemporaryFile(/tmp/multipartBody6282297608643656856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423374749,"filename":"image_25112025_18_27_17_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c93a15552e8d3da641c2893e4ac49c6.jpg","text":"TemporaryFile(/tmp/multipartBody8253570801564820944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423374749,"filename":"image_25112025_18_27_26_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7fd162d964b90f149101c2a6b7821d43.jpg","text":"TemporaryFile(/tmp/multipartBody8152860834719477259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423374749,"filename":"image_25112025_18_27_15_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c93757ba1c87edc55440bbab640c90f.jpg","text":"TemporaryFile(/tmp/multipartBody1139405168102277908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423374749,"filename":"image_25112025_18_27_30_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900711","file1":"1396900708","file0":"1396900706","file4":"1396900737","file5":"1396900750","file3":"1396900729"},"map_files_photo_id_array":[{"photo_id":"1396900750","filename":"file5"},{"photo_id":"1396900711","filename":"file2"},{"photo_id":"1396900737","filename":"file4"},{"photo_id":"1396900708","filename":"file1"},{"photo_id":"1396900706","filename":"file0"},{"photo_id":"1396900729","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396900729":["hashtag1","hashtag2"]},{"1396900711":["hashtag1","hashtag2"]},{"1396900708":["hashtag1","hashtag2"]},{"1396900737":["hashtag1","hashtag2"]},{"1396900706":["hashtag1","hashtag2"]},{"1396900750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396900729, 1396900711, 1396900708, 1396900737, 1396900706, 1396900750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.62625741958618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:36:02.430786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/26/image_29112025_14_26_45_9931.jpg', '/home/pi/Desktop/images/29112025/14/26/image_29112025_14_26_55_9861.jpg', '/home/pi/Desktop/images/29112025/14/26/image_29112025_14_27_04_9709.jpg', '/home/pi/Desktop/images/29112025/14/27/image_29112025_14_27_15_10569.jpg', '/home/pi/Desktop/images/29112025/14/27/image_29112025_14_27_25_9837.jpg', '/home/pi/Desktop/images/29112025/14/27/image_29112025_14_27_34_9535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/26/image_29112025_14_26_45_9931.jpg
/home/pi/Desktop/images/29112025/14/26/image_29112025_14_26_55_9861.jpg
/home/pi/Desktop/images/29112025/14/26/image_29112025_14_27_04_9709.jpg
/home/pi/Desktop/images/29112025/14/27/image_29112025_14_27_15_10569.jpg
/home/pi/Desktop/images/29112025/14/27/image_29112025_14_27_25_9837.jpg
/home/pi/Desktop/images/29112025/14/27/image_29112025_14_27_34_9535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900773","1396900767","1396900769","1396900771","1396900765","1396900768"],"photo_ids_order":["1396900765","1396900767","1396900768","1396900769","1396900771","1396900773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4dc3a93f606ecee8f69ca2250d1e29c.jpg","text":"TemporaryFile(/tmp/multipartBody1065221845020718237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423423158,"filename":"image_29112025_14_27_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/11/29/95967746a55a0ef9763dbccbfcfb4f52.jpg","text":"TemporaryFile(/tmp/multipartBody3202458430787994236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423423158,"filename":"image_29112025_14_26_55_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d86a45d98d93c8adc4aef4b857aeb889.jpg","text":"TemporaryFile(/tmp/multipartBody321488109738915467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423423158,"filename":"image_29112025_14_27_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/11/29/8bc2d40c655e2c2ee4386e1a2f192942.jpg","text":"TemporaryFile(/tmp/multipartBody3826847536351583027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423423158,"filename":"image_29112025_14_27_25_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/433f413593d9807055016ce0e2c551ba.jpg","text":"TemporaryFile(/tmp/multipartBody8535034936190435368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423423158,"filename":"image_29112025_14_26_45_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1cb99b884eabaf02fd6d833d3166f90.jpg","text":"TemporaryFile(/tmp/multipartBody8323293827423488763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423423158,"filename":"image_29112025_14_27_04_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900768","file1":"1396900767","file0":"1396900765","file4":"1396900771","file5":"1396900773","file3":"1396900769"},"map_files_photo_id_array":[{"photo_id":"1396900773","filename":"file5"},{"photo_id":"1396900768","filename":"file2"},{"photo_id":"1396900771","filename":"file4"},{"photo_id":"1396900767","filename":"file1"},{"photo_id":"1396900765","filename":"file0"},{"photo_id":"1396900769","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900773":["hashtag1","hashtag2"]},{"1396900767":["hashtag1","hashtag2"]},{"1396900769":["hashtag1","hashtag2"]},{"1396900771":["hashtag1","hashtag2"]},{"1396900765":["hashtag1","hashtag2"]},{"1396900768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900773, 1396900767, 1396900769, 1396900771, 1396900765, 1396900768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.525421380996704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:36:41.920251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_24_2529.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_27_3632.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_34_3636.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_36_2603.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_39_2706.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_42_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/09/51/image_31102025_09_51_24_2529.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_27_3632.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_34_3636.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_36_2603.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_39_2706.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_42_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":["1396900794","1396900788","1396900790","1396900783","1396900792","1396900786"],"photo_ids_order":["1396900783","1396900786","1396900788","1396900790","1396900792","1396900794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffc1e6b531f76dd2f543a0d9cd194846.jpg","text":"TemporaryFile(/tmp/multipartBody808588612687937737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423463025,"filename":"image_31102025_09_51_42_2949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9ac82fc91b40e456d10b0c8196ba1b3.jpg","text":"TemporaryFile(/tmp/multipartBody2443342203598105327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423463025,"filename":"image_31102025_09_51_34_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a916436c4839255d4e1f7b4a4f5e1201.jpg","text":"TemporaryFile(/tmp/multipartBody4609156193439788020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423463025,"filename":"image_31102025_09_51_36_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d6d34eb806f10bbd3dd7f1f7a7d34844.jpg","text":"TemporaryFile(/tmp/multipartBody1964658857207436380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423463025,"filename":"image_31102025_09_51_24_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1c351f8349da3db087e262cdd5b1b0f.jpg","text":"TemporaryFile(/tmp/multipartBody5798855295436419265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423463025,"filename":"image_31102025_09_51_39_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1516162b1892063d40004357717f32ff.jpg","text":"TemporaryFile(/tmp/multipartBody853954672712543732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423463025,"filename":"image_31102025_09_51_27_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900788","file1":"1396900786","file0":"1396900783","file4":"1396900792","file5":"1396900794","file3":"1396900790"},"map_files_photo_id_array":[{"photo_id":"1396900794","filename":"file5"},{"photo_id":"1396900788","filename":"file2"},{"photo_id":"1396900792","filename":"file4"},{"photo_id":"1396900786","filename":"file1"},{"photo_id":"1396900783","filename":"file0"},{"photo_id":"1396900790","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396900794":["hashtag1","hashtag2"]},{"1396900788":["hashtag1","hashtag2"]},{"1396900790":["hashtag1","hashtag2"]},{"1396900783":["hashtag1","hashtag2"]},{"1396900792":["hashtag1","hashtag2"]},{"1396900786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396900794, 1396900788, 1396900790, 1396900783, 1396900792, 1396900786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.919777154922485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:37:22.097347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/27/image_29112025_14_27_45_10650.jpg', '/home/pi/Desktop/images/29112025/14/27/image_29112025_14_27_55_9735.jpg', '/home/pi/Desktop/images/29112025/14/27/image_29112025_14_28_04_9622.jpg', '/home/pi/Desktop/images/29112025/14/28/image_29112025_14_28_14_10110.jpg', '/home/pi/Desktop/images/29112025/14/28/image_29112025_14_28_24_9865.jpg', '/home/pi/Desktop/images/29112025/14/28/image_29112025_14_28_35_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/27/image_29112025_14_27_45_10650.jpg
/home/pi/Desktop/images/29112025/14/27/image_29112025_14_27_55_9735.jpg
/home/pi/Desktop/images/29112025/14/27/image_29112025_14_28_04_9622.jpg
/home/pi/Desktop/images/29112025/14/28/image_29112025_14_28_14_10110.jpg
/home/pi/Desktop/images/29112025/14/28/image_29112025_14_28_24_9865.jpg
/home/pi/Desktop/images/29112025/14/28/image_29112025_14_28_35_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":["1396900843","1396900804","1396900797","1396900815","1396900799","1396900832"],"photo_ids_order":["1396900797","1396900799","1396900804","1396900815","1396900832","1396900843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3c788f5482835fa50c0948bd87042fb.jpg","text":"TemporaryFile(/tmp/multipartBody4438869844326689523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423502795,"filename":"image_29112025_14_28_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a12a56e7479fa6e17bf7a20fbdb6f0c5.jpg","text":"TemporaryFile(/tmp/multipartBody5531159307265431355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423502795,"filename":"image_29112025_14_28_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cba0604e190b7c47b336ba9cf24087d3.jpg","text":"TemporaryFile(/tmp/multipartBody1554341645699011397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423502795,"filename":"image_29112025_14_27_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/11/29/7b517ad5ee31dbf0a6fffffff860fbd0.jpg","text":"TemporaryFile(/tmp/multipartBody7534894564332658923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423502795,"filename":"image_29112025_14_28_14_10110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c945f4fff6c79aa5e7da8df204fab85c.jpg","text":"TemporaryFile(/tmp/multipartBody3121295813735778815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423502795,"filename":"image_29112025_14_27_55_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5878f2b77f34faae689a45fbc02f5b50.jpg","text":"TemporaryFile(/tmp/multipartBody993015148626312194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423502795,"filename":"image_29112025_14_28_24_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900804","file1":"1396900799","file0":"1396900797","file4":"1396900832","file5":"1396900843","file3":"1396900815"},"map_files_photo_id_array":[{"photo_id":"1396900843","filename":"file5"},{"photo_id":"1396900804","filename":"file2"},{"photo_id":"1396900832","filename":"file4"},{"photo_id":"1396900799","filename":"file1"},{"photo_id":"1396900797","filename":"file0"},{"photo_id":"1396900815","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900843":["hashtag1","hashtag2"]},{"1396900804":["hashtag1","hashtag2"]},{"1396900797":["hashtag1","hashtag2"]},{"1396900815":["hashtag1","hashtag2"]},{"1396900799":["hashtag1","hashtag2"]},{"1396900832":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900843, 1396900804, 1396900797, 1396900815, 1396900799, 1396900832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77722430229187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:38:02.933662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/28/image_29112025_14_28_45_9690.jpg', '/home/pi/Desktop/images/29112025/14/28/image_29112025_14_28_54_9652.jpg', '/home/pi/Desktop/images/29112025/14/28/image_29112025_14_29_05_10610.jpg', '/home/pi/Desktop/images/29112025/14/29/image_29112025_14_29_14_9608.jpg', '/home/pi/Desktop/images/29112025/14/29/image_29112025_14_29_24_9734.jpg', '/home/pi/Desktop/images/29112025/14/29/image_29112025_14_29_35_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/28/image_29112025_14_28_45_9690.jpg
/home/pi/Desktop/images/29112025/14/28/image_29112025_14_28_54_9652.jpg
/home/pi/Desktop/images/29112025/14/28/image_29112025_14_29_05_10610.jpg
/home/pi/Desktop/images/29112025/14/29/image_29112025_14_29_14_9608.jpg
/home/pi/Desktop/images/29112025/14/29/image_29112025_14_29_24_9734.jpg
/home/pi/Desktop/images/29112025/14/29/image_29112025_14_29_35_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":["1396900872","1396900871","1396900874","1396900868","1396900877","1396900870"],"photo_ids_order":["1396900868","1396900870","1396900871","1396900872","1396900874","1396900877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03524f4131bd05db476c9feb73e7c18d.jpg","text":"TemporaryFile(/tmp/multipartBody7089168662118586565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423543653,"filename":"image_29112025_14_29_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/144922eec6470c3be09dc3ded2d2567d.jpg","text":"TemporaryFile(/tmp/multipartBody4921538931943004586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423543653,"filename":"image_29112025_14_29_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/286a861e6292bd90f0aff4c7a90b7e3f.jpg","text":"TemporaryFile(/tmp/multipartBody4927565752922103456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423543653,"filename":"image_29112025_14_29_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/11/29/bb31a954fecb099639b0c78d20a7b06c.jpg","text":"TemporaryFile(/tmp/multipartBody8557587074716456699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423543653,"filename":"image_29112025_14_28_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed96d7555baa97e8c7d895a5eae11a97.jpg","text":"TemporaryFile(/tmp/multipartBody8225222439717302539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423543653,"filename":"image_29112025_14_29_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/11/29/522837b2d797101b9f8948690c70f39c.jpg","text":"TemporaryFile(/tmp/multipartBody8183910664718627508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423543653,"filename":"image_29112025_14_28_54_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900871","file1":"1396900870","file0":"1396900868","file4":"1396900874","file5":"1396900877","file3":"1396900872"},"map_files_photo_id_array":[{"photo_id":"1396900877","filename":"file5"},{"photo_id":"1396900871","filename":"file2"},{"photo_id":"1396900874","filename":"file4"},{"photo_id":"1396900870","filename":"file1"},{"photo_id":"1396900868","filename":"file0"},{"photo_id":"1396900872","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900872":["hashtag1","hashtag2"]},{"1396900871":["hashtag1","hashtag2"]},{"1396900874":["hashtag1","hashtag2"]},{"1396900868":["hashtag1","hashtag2"]},{"1396900877":["hashtag1","hashtag2"]},{"1396900870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900872, 1396900871, 1396900874, 1396900868, 1396900877, 1396900870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0819947719574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:38:42.553795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_48_3798.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_51_2760.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_54_2651.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_57_2813.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_52_00_3787.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_03_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/09/51/image_31102025_09_51_48_3798.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_51_2760.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_54_2651.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_57_2813.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_52_00_3787.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_03_2726.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0247981548309326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:39:03.509128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/29/image_29112025_14_29_54_9686.jpg', '/home/pi/Desktop/images/29112025/14/30/image_29112025_14_30_14_10058.jpg', '/home/pi/Desktop/images/29112025/14/30/image_29112025_14_30_25_10782.jpg', '/home/pi/Desktop/images/29112025/14/30/image_29112025_14_30_35_9772.jpg', '/home/pi/Desktop/images/29112025/14/30/image_29112025_14_30_44_9593.jpg', '/home/pi/Desktop/images/29112025/14/30/image_29112025_14_30_55_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/29/image_29112025_14_29_54_9686.jpg
/home/pi/Desktop/images/29112025/14/30/image_29112025_14_30_14_10058.jpg
/home/pi/Desktop/images/29112025/14/30/image_29112025_14_30_25_10782.jpg
/home/pi/Desktop/images/29112025/14/30/image_29112025_14_30_35_9772.jpg
/home/pi/Desktop/images/29112025/14/30/image_29112025_14_30_44_9593.jpg
/home/pi/Desktop/images/29112025/14/30/image_29112025_14_30_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":["1396900903","1396900906","1396900905","1396900908","1396900904","1396900913"],"photo_ids_order":["1396900903","1396900904","1396900905","1396900906","1396900908","1396900913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4baefcd3b61f92b74396b75617edf223.jpg","text":"TemporaryFile(/tmp/multipartBody8189360366953716373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423604367,"filename":"image_29112025_14_29_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/963b53c04ab0dffe221bbc6dbd6fe5e6.jpg","text":"TemporaryFile(/tmp/multipartBody7570707413053342699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423604367,"filename":"image_29112025_14_30_35_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df935270a1c18ce6a725759251adf91d.jpg","text":"TemporaryFile(/tmp/multipartBody1584762169381967677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423604367,"filename":"image_29112025_14_30_25_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7ee25378ab881041c1cfa555b105974.jpg","text":"TemporaryFile(/tmp/multipartBody9079908316669506320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423604367,"filename":"image_29112025_14_30_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/11/29/cb46d969df392d93c94abdf244de93b9.jpg","text":"TemporaryFile(/tmp/multipartBody8882607524622144118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423604367,"filename":"image_29112025_14_30_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48555de91bcb05a78956b261a234f1e1.jpg","text":"TemporaryFile(/tmp/multipartBody6962331955060400929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423604367,"filename":"image_29112025_14_30_55_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900905","file1":"1396900904","file0":"1396900903","file4":"1396900908","file5":"1396900913","file3":"1396900906"},"map_files_photo_id_array":[{"photo_id":"1396900913","filename":"file5"},{"photo_id":"1396900905","filename":"file2"},{"photo_id":"1396900908","filename":"file4"},{"photo_id":"1396900904","filename":"file1"},{"photo_id":"1396900903","filename":"file0"},{"photo_id":"1396900906","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900903":["hashtag1","hashtag2"]},{"1396900906":["hashtag1","hashtag2"]},{"1396900905":["hashtag1","hashtag2"]},{"1396900908":["hashtag1","hashtag2"]},{"1396900904":["hashtag1","hashtag2"]},{"1396900913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900903, 1396900906, 1396900905, 1396900908, 1396900904, 1396900913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1912887096405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:39:42.735943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_48_3798.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_51_2760.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_54_2651.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_57_2813.jpg', '/home/pi/Desktop/images/31102025/09/51/image_31102025_09_52_00_3787.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_03_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/09/51/image_31102025_09_51_48_3798.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_51_2760.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_54_2651.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_51_57_2813.jpg
/home/pi/Desktop/images/31102025/09/51/image_31102025_09_52_00_3787.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_03_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":["1396900960","1396900962","1396900964","1396900961","1396900963","1396900957"],"photo_ids_order":["1396900957","1396900960","1396900961","1396900962","1396900963","1396900964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91cb41f3ba407eed5989f8810ef8f1b8.jpg","text":"TemporaryFile(/tmp/multipartBody7247894406095357286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423643707,"filename":"image_31102025_09_51_51_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6880492f5aa56da87ba10ee852d3cf4d.jpg","text":"TemporaryFile(/tmp/multipartBody2799620368889754288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423643707,"filename":"image_31102025_09_51_57_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28dcb6c5a0005a3fbedcb31f7a288e35.jpg","text":"TemporaryFile(/tmp/multipartBody3686437761749974865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423643707,"filename":"image_31102025_09_52_03_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95a678e451657742c463466f08ecc97a.jpg","text":"TemporaryFile(/tmp/multipartBody7332261483797489403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423643707,"filename":"image_31102025_09_51_54_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f665eb159ad1ce297660cf09b31eca6.jpg","text":"TemporaryFile(/tmp/multipartBody2582179708228953204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423643707,"filename":"image_31102025_09_52_00_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9f4f66ec40e3a7c856cf1ca9196c4e6.jpg","text":"TemporaryFile(/tmp/multipartBody2182386464753309469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423643707,"filename":"image_31102025_09_51_48_3798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900961","file1":"1396900960","file0":"1396900957","file4":"1396900963","file5":"1396900964","file3":"1396900962"},"map_files_photo_id_array":[{"photo_id":"1396900964","filename":"file5"},{"photo_id":"1396900961","filename":"file2"},{"photo_id":"1396900963","filename":"file4"},{"photo_id":"1396900960","filename":"file1"},{"photo_id":"1396900957","filename":"file0"},{"photo_id":"1396900962","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396900960":["hashtag1","hashtag2"]},{"1396900962":["hashtag1","hashtag2"]},{"1396900964":["hashtag1","hashtag2"]},{"1396900961":["hashtag1","hashtag2"]},{"1396900963":["hashtag1","hashtag2"]},{"1396900957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396900960, 1396900962, 1396900964, 1396900961, 1396900963, 1396900957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.68166995048523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:40:21.890445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/30/image_29112025_14_31_05_9914.jpg', '/home/pi/Desktop/images/29112025/14/31/image_29112025_14_31_14_9723.jpg', '/home/pi/Desktop/images/29112025/14/31/image_29112025_14_31_24_9732.jpg', '/home/pi/Desktop/images/29112025/14/31/image_29112025_14_31_34_9770.jpg', '/home/pi/Desktop/images/29112025/14/31/image_29112025_14_31_45_10638.jpg', '/home/pi/Desktop/images/29112025/14/31/image_29112025_14_31_54_9607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/30/image_29112025_14_31_05_9914.jpg
/home/pi/Desktop/images/29112025/14/31/image_29112025_14_31_14_9723.jpg
/home/pi/Desktop/images/29112025/14/31/image_29112025_14_31_24_9732.jpg
/home/pi/Desktop/images/29112025/14/31/image_29112025_14_31_34_9770.jpg
/home/pi/Desktop/images/29112025/14/31/image_29112025_14_31_45_10638.jpg
/home/pi/Desktop/images/29112025/14/31/image_29112025_14_31_54_9607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900982","1396900979","1396900970","1396900973","1396900967","1396900976"],"photo_ids_order":["1396900967","1396900970","1396900973","1396900976","1396900979","1396900982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ecd4cc52ae1a06b99ac4cd032b13064.jpg","text":"TemporaryFile(/tmp/multipartBody5001069520119509536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423682633,"filename":"image_29112025_14_31_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/11/29/67f4cb6337c5dfc5cad8a2647685b890.jpg","text":"TemporaryFile(/tmp/multipartBody5572437283494304350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423682633,"filename":"image_29112025_14_31_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/11/29/ee9d28051f3a64c5ca5f72c2fc581533.jpg","text":"TemporaryFile(/tmp/multipartBody5254241602408746497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423682633,"filename":"image_29112025_14_31_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07eb4a7db5b427aa96c7e16796cf06fe.jpg","text":"TemporaryFile(/tmp/multipartBody4355586663233861213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423682633,"filename":"image_29112025_14_31_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/11/29/e7adbdb1cba89e7397e49f71e02912da.jpg","text":"TemporaryFile(/tmp/multipartBody8045366683043308805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423682633,"filename":"image_29112025_14_31_05_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8af7c22954d16c3458fd8c17f7d05ed2.jpg","text":"TemporaryFile(/tmp/multipartBody2781753027113658611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423682633,"filename":"image_29112025_14_31_34_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900973","file1":"1396900970","file0":"1396900967","file4":"1396900979","file5":"1396900982","file3":"1396900976"},"map_files_photo_id_array":[{"photo_id":"1396900982","filename":"file5"},{"photo_id":"1396900973","filename":"file2"},{"photo_id":"1396900979","filename":"file4"},{"photo_id":"1396900970","filename":"file1"},{"photo_id":"1396900967","filename":"file0"},{"photo_id":"1396900976","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900982":["hashtag1","hashtag2"]},{"1396900979":["hashtag1","hashtag2"]},{"1396900970":["hashtag1","hashtag2"]},{"1396900973":["hashtag1","hashtag2"]},{"1396900967":["hashtag1","hashtag2"]},{"1396900976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900982, 1396900979, 1396900970, 1396900973, 1396900967, 1396900976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21665954589844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:41:02.791349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/31/image_29112025_14_32_05_10737.jpg', '/home/pi/Desktop/images/29112025/14/32/image_29112025_14_32_15_9729.jpg', '/home/pi/Desktop/images/29112025/14/32/image_29112025_14_32_24_9566.jpg', '/home/pi/Desktop/images/29112025/14/32/image_29112025_14_32_35_10641.jpg', '/home/pi/Desktop/images/29112025/14/32/image_29112025_14_32_44_9087.jpg', '/home/pi/Desktop/images/29112025/14/32/image_29112025_14_32_54_10517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/31/image_29112025_14_32_05_10737.jpg
/home/pi/Desktop/images/29112025/14/32/image_29112025_14_32_15_9729.jpg
/home/pi/Desktop/images/29112025/14/32/image_29112025_14_32_24_9566.jpg
/home/pi/Desktop/images/29112025/14/32/image_29112025_14_32_35_10641.jpg
/home/pi/Desktop/images/29112025/14/32/image_29112025_14_32_44_9087.jpg
/home/pi/Desktop/images/29112025/14/32/image_29112025_14_32_54_10517.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396900986","1396900991","1396900985","1396900988","1396900999","1396900984"],"photo_ids_order":["1396900984","1396900985","1396900986","1396900988","1396900991","1396900999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89d9c8324305eb3c2b0989baa868e4f0.jpg","text":"TemporaryFile(/tmp/multipartBody5986840694286280636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423723597,"filename":"image_29112025_14_32_24_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e6e2215ac209fe8cc7085e5b3c51e3e.jpg","text":"TemporaryFile(/tmp/multipartBody3187232797379112714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423723597,"filename":"image_29112025_14_32_44_9087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba938ef6aacc02abbff0394e98e48aaa.jpg","text":"TemporaryFile(/tmp/multipartBody127496400471506556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423723597,"filename":"image_29112025_14_32_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/11/29/567486aad902157be1497241ebfea767.jpg","text":"TemporaryFile(/tmp/multipartBody4841792767816773477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423723597,"filename":"image_29112025_14_32_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/11/29/ec85ec61530db2f069d1e10cb839028e.jpg","text":"TemporaryFile(/tmp/multipartBody6051063024707072934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423723597,"filename":"image_29112025_14_32_54_10517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d556b395260e7d38dabe014371f6ac04.jpg","text":"TemporaryFile(/tmp/multipartBody2448378105452969175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423723597,"filename":"image_29112025_14_32_05_10737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396900986","file1":"1396900985","file0":"1396900984","file4":"1396900991","file5":"1396900999","file3":"1396900988"},"map_files_photo_id_array":[{"photo_id":"1396900999","filename":"file5"},{"photo_id":"1396900986","filename":"file2"},{"photo_id":"1396900991","filename":"file4"},{"photo_id":"1396900985","filename":"file1"},{"photo_id":"1396900984","filename":"file0"},{"photo_id":"1396900988","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396900986":["hashtag1","hashtag2"]},{"1396900991":["hashtag1","hashtag2"]},{"1396900985":["hashtag1","hashtag2"]},{"1396900988":["hashtag1","hashtag2"]},{"1396900999":["hashtag1","hashtag2"]},{"1396900984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396900986, 1396900991, 1396900985, 1396900988, 1396900999, 1396900984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.554097175598145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:41:42.147001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_06_2663.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_09_3610.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_12_2566.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_15_2710.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_18_3678.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_21_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/09/52/image_31102025_09_52_06_2663.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_09_3610.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_12_2566.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_15_2710.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_18_3678.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_21_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":["1396901049","1396901052","1396901034","1396901051","1396901048","1396901050"],"photo_ids_order":["1396901034","1396901048","1396901049","1396901050","1396901051","1396901052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b06b05fba23609d6778eb20cd6a697f.jpg","text":"TemporaryFile(/tmp/multipartBody3282979226970669194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423763312,"filename":"image_31102025_09_52_12_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/716fa162e08ac8afe499473336c1a464.jpg","text":"TemporaryFile(/tmp/multipartBody8648838863660582223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423763312,"filename":"image_31102025_09_52_21_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d0a6badecbaa7022a87e730074d5f2d.jpg","text":"TemporaryFile(/tmp/multipartBody9021165490699214041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423763312,"filename":"image_31102025_09_52_06_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89a5add8e58372443c02866bdceb04b6.jpg","text":"TemporaryFile(/tmp/multipartBody4091295583744496162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423763312,"filename":"image_31102025_09_52_18_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/756deae3d802c99fe74578f46e8fa7fc.jpg","text":"TemporaryFile(/tmp/multipartBody586932899725659894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423763312,"filename":"image_31102025_09_52_09_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c4b705967a8bd1b004ef0a8c41d054f.jpg","text":"TemporaryFile(/tmp/multipartBody4530544724307530705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423763312,"filename":"image_31102025_09_52_15_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901049","file1":"1396901048","file0":"1396901034","file4":"1396901051","file5":"1396901052","file3":"1396901050"},"map_files_photo_id_array":[{"photo_id":"1396901052","filename":"file5"},{"photo_id":"1396901049","filename":"file2"},{"photo_id":"1396901051","filename":"file4"},{"photo_id":"1396901048","filename":"file1"},{"photo_id":"1396901034","filename":"file0"},{"photo_id":"1396901050","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396901049":["hashtag1","hashtag2"]},{"1396901052":["hashtag1","hashtag2"]},{"1396901034":["hashtag1","hashtag2"]},{"1396901051":["hashtag1","hashtag2"]},{"1396901048":["hashtag1","hashtag2"]},{"1396901050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396901049, 1396901052, 1396901034, 1396901051, 1396901048, 1396901050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58601236343384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:42:22.337243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/32/image_29112025_14_33_04_9512.jpg', '/home/pi/Desktop/images/29112025/14/33/image_29112025_14_33_15_10558.jpg', '/home/pi/Desktop/images/29112025/14/33/image_29112025_14_33_35_10600.jpg', '/home/pi/Desktop/images/29112025/14/33/image_29112025_14_33_45_10138.jpg', '/home/pi/Desktop/images/29112025/14/33/image_29112025_14_33_55_9977.jpg', '/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_04_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/32/image_29112025_14_33_04_9512.jpg
/home/pi/Desktop/images/29112025/14/33/image_29112025_14_33_15_10558.jpg
/home/pi/Desktop/images/29112025/14/33/image_29112025_14_33_35_10600.jpg
/home/pi/Desktop/images/29112025/14/33/image_29112025_14_33_45_10138.jpg
/home/pi/Desktop/images/29112025/14/33/image_29112025_14_33_55_9977.jpg
/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_04_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901070","1396901062","1396901056","1396901065","1396901059","1396901068"],"photo_ids_order":["1396901056","1396901059","1396901062","1396901065","1396901068","1396901070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd587caccc52c2431a5297139153b132.jpg","text":"TemporaryFile(/tmp/multipartBody1822462316119366663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423803049,"filename":"image_29112025_14_34_04_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c40e9a7db32b241fd67bc8b015df60a.jpg","text":"TemporaryFile(/tmp/multipartBody2172717270719637895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423803049,"filename":"image_29112025_14_33_35_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27042a07e3103d066afaa240bf2722f2.jpg","text":"TemporaryFile(/tmp/multipartBody9185189571949046887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423803049,"filename":"image_29112025_14_33_04_9512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8292228747cab9900b35bb20741e5a05.jpg","text":"TemporaryFile(/tmp/multipartBody7091532848760013022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423803049,"filename":"image_29112025_14_33_45_10138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af550f7e413cd853023f0f192b5932c0.jpg","text":"TemporaryFile(/tmp/multipartBody6377044989623983229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423803049,"filename":"image_29112025_14_33_15_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8ab920306ec5e7ba80ac819fdceb4d8.jpg","text":"TemporaryFile(/tmp/multipartBody2585421735808672040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423803049,"filename":"image_29112025_14_33_55_9977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901062","file1":"1396901059","file0":"1396901056","file4":"1396901068","file5":"1396901070","file3":"1396901065"},"map_files_photo_id_array":[{"photo_id":"1396901070","filename":"file5"},{"photo_id":"1396901062","filename":"file2"},{"photo_id":"1396901068","filename":"file4"},{"photo_id":"1396901059","filename":"file1"},{"photo_id":"1396901056","filename":"file0"},{"photo_id":"1396901065","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901070":["hashtag1","hashtag2"]},{"1396901062":["hashtag1","hashtag2"]},{"1396901056":["hashtag1","hashtag2"]},{"1396901065":["hashtag1","hashtag2"]},{"1396901059":["hashtag1","hashtag2"]},{"1396901068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901070, 1396901062, 1396901056, 1396901065, 1396901059, 1396901068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4426474571228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:43:03.051931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_14_9644.jpg', '/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_25_10743.jpg', '/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_34_9532.jpg', '/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_44_9767.jpg', '/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_55_10753.jpg', '/home/pi/Desktop/images/29112025/14/34/image_29112025_14_35_05_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_14_9644.jpg
/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_25_10743.jpg
/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_34_9532.jpg
/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_44_9767.jpg
/home/pi/Desktop/images/29112025/14/34/image_29112025_14_34_55_10753.jpg
/home/pi/Desktop/images/29112025/14/34/image_29112025_14_35_05_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":["1396901073","1396901081","1396901072","1396901075","1396901074","1396901077"],"photo_ids_order":["1396901072","1396901073","1396901074","1396901075","1396901077","1396901081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0c5a7e057f99313800d5ca0658f38cc.jpg","text":"TemporaryFile(/tmp/multipartBody6549096977975085553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423843818,"filename":"image_29112025_14_34_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/11/29/5d0b5d5af6997361212b7b932c45aae9.jpg","text":"TemporaryFile(/tmp/multipartBody6915735471815885027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423843818,"filename":"image_29112025_14_35_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/11/29/ae662fb9417a6d0116e2f60016db1800.jpg","text":"TemporaryFile(/tmp/multipartBody5815235421517269546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423843818,"filename":"image_29112025_14_34_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/11/29/a65be74dc7337ff9af61410722b356d6.jpg","text":"TemporaryFile(/tmp/multipartBody8341305921359536084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423843818,"filename":"image_29112025_14_34_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f14d94bb383047199bf1ad4dfa7b4ae.jpg","text":"TemporaryFile(/tmp/multipartBody7346846467295090042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423843818,"filename":"image_29112025_14_34_34_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86b66b76da0d371c818359420e59f06a.jpg","text":"TemporaryFile(/tmp/multipartBody1797482304688221646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423843818,"filename":"image_29112025_14_34_55_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901074","file1":"1396901073","file0":"1396901072","file4":"1396901077","file5":"1396901081","file3":"1396901075"},"map_files_photo_id_array":[{"photo_id":"1396901081","filename":"file5"},{"photo_id":"1396901074","filename":"file2"},{"photo_id":"1396901077","filename":"file4"},{"photo_id":"1396901073","filename":"file1"},{"photo_id":"1396901072","filename":"file0"},{"photo_id":"1396901075","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901073":["hashtag1","hashtag2"]},{"1396901081":["hashtag1","hashtag2"]},{"1396901072":["hashtag1","hashtag2"]},{"1396901075":["hashtag1","hashtag2"]},{"1396901074":["hashtag1","hashtag2"]},{"1396901077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901073, 1396901081, 1396901072, 1396901075, 1396901074, 1396901077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.224621534347534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:43:42.484587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_24_2563.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_27_3699.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_36_3629.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_39_2832.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_42_2715.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_44_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_24_2563.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_27_3699.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_36_3629.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_39_2832.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_42_2715.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_44_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901124","1396901126","1396901120","1396901123","1396901125","1396901128"],"photo_ids_order":["1396901120","1396901123","1396901124","1396901125","1396901126","1396901128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52700d91cd8bd3b53cae28d4a3e24277.jpg","text":"TemporaryFile(/tmp/multipartBody5946918630562802172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423883595,"filename":"image_31102025_09_52_36_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2eb1e255afa63e907fcabc93d788eb9a.jpg","text":"TemporaryFile(/tmp/multipartBody7667368611611733391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423883595,"filename":"image_31102025_09_52_42_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/938494bdecefd74f88faf02cddcbdae9.jpg","text":"TemporaryFile(/tmp/multipartBody3919261642337054232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423883595,"filename":"image_31102025_09_52_24_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9430dbe052f5c404ed032853a30dd58d.jpg","text":"TemporaryFile(/tmp/multipartBody3289339288472940252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423883595,"filename":"image_31102025_09_52_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/11/29/08053f948078eb5ab563a51dd5ec13c1.jpg","text":"TemporaryFile(/tmp/multipartBody829597411376083110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423883595,"filename":"image_31102025_09_52_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/11/29/3120b11cfee728e1de2a9a66a2db1f71.jpg","text":"TemporaryFile(/tmp/multipartBody8717415839895559156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423883595,"filename":"image_31102025_09_52_44_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901124","file1":"1396901123","file0":"1396901120","file4":"1396901126","file5":"1396901128","file3":"1396901125"},"map_files_photo_id_array":[{"photo_id":"1396901128","filename":"file5"},{"photo_id":"1396901124","filename":"file2"},{"photo_id":"1396901126","filename":"file4"},{"photo_id":"1396901123","filename":"file1"},{"photo_id":"1396901120","filename":"file0"},{"photo_id":"1396901125","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396901124":["hashtag1","hashtag2"]},{"1396901126":["hashtag1","hashtag2"]},{"1396901120":["hashtag1","hashtag2"]},{"1396901123":["hashtag1","hashtag2"]},{"1396901125":["hashtag1","hashtag2"]},{"1396901128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396901124, 1396901126, 1396901120, 1396901123, 1396901125, 1396901128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56932806968689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:44:22.735868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/35/image_29112025_14_35_14_9588.jpg', '/home/pi/Desktop/images/29112025/14/35/image_29112025_14_35_24_10020.jpg', '/home/pi/Desktop/images/29112025/14/35/image_29112025_14_35_34_9736.jpg', '/home/pi/Desktop/images/29112025/14/35/image_29112025_14_35_45_10712.jpg', '/home/pi/Desktop/images/29112025/14/35/image_29112025_14_35_54_9684.jpg', '/home/pi/Desktop/images/29112025/14/35/image_29112025_14_36_04_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/35/image_29112025_14_35_14_9588.jpg
/home/pi/Desktop/images/29112025/14/35/image_29112025_14_35_24_10020.jpg
/home/pi/Desktop/images/29112025/14/35/image_29112025_14_35_34_9736.jpg
/home/pi/Desktop/images/29112025/14/35/image_29112025_14_35_45_10712.jpg
/home/pi/Desktop/images/29112025/14/35/image_29112025_14_35_54_9684.jpg
/home/pi/Desktop/images/29112025/14/35/image_29112025_14_36_04_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":["1396901144","1396901147","1396901137","1396901149","1396901140","1396901134"],"photo_ids_order":["1396901134","1396901137","1396901140","1396901144","1396901147","1396901149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9070a0ac2818fbd2bef1192adcf770f9.jpg","text":"TemporaryFile(/tmp/multipartBody1377345734159741057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423923433,"filename":"image_29112025_14_35_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/11/29/da3970c60ad9fcdabbaf038fc0fe2f59.jpg","text":"TemporaryFile(/tmp/multipartBody5374246007874756300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423923433,"filename":"image_29112025_14_35_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fcc4345bb6dc7d17d656781c59098199.jpg","text":"TemporaryFile(/tmp/multipartBody2412757240546118149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423923433,"filename":"image_29112025_14_35_24_10020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac3897c7f5fb141f8d6ccd16c0866395.jpg","text":"TemporaryFile(/tmp/multipartBody8509645524388757138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423923433,"filename":"image_29112025_14_36_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40d7350ddd2798fb776d4238eb290041.jpg","text":"TemporaryFile(/tmp/multipartBody2076560334591705253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423923433,"filename":"image_29112025_14_35_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/157607a5ae2ef174a1f09d99e2a7b87b.jpg","text":"TemporaryFile(/tmp/multipartBody4818258187882324247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423923433,"filename":"image_29112025_14_35_14_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901140","file1":"1396901137","file0":"1396901134","file4":"1396901147","file5":"1396901149","file3":"1396901144"},"map_files_photo_id_array":[{"photo_id":"1396901149","filename":"file5"},{"photo_id":"1396901140","filename":"file2"},{"photo_id":"1396901147","filename":"file4"},{"photo_id":"1396901137","filename":"file1"},{"photo_id":"1396901134","filename":"file0"},{"photo_id":"1396901144","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901144":["hashtag1","hashtag2"]},{"1396901147":["hashtag1","hashtag2"]},{"1396901137":["hashtag1","hashtag2"]},{"1396901149":["hashtag1","hashtag2"]},{"1396901140":["hashtag1","hashtag2"]},{"1396901134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901144, 1396901147, 1396901137, 1396901149, 1396901140, 1396901134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49281430244446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:45:02.676378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/36/image_29112025_14_36_15_10648.jpg', '/home/pi/Desktop/images/29112025/14/36/image_29112025_14_36_24_9624.jpg', '/home/pi/Desktop/images/29112025/14/36/image_29112025_14_36_34_9762.jpg', '/home/pi/Desktop/images/29112025/14/36/image_29112025_14_36_45_10662.jpg', '/home/pi/Desktop/images/29112025/14/36/image_29112025_14_36_54_9714.jpg', '/home/pi/Desktop/images/29112025/14/36/image_29112025_14_37_04_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/36/image_29112025_14_36_15_10648.jpg
/home/pi/Desktop/images/29112025/14/36/image_29112025_14_36_24_9624.jpg
/home/pi/Desktop/images/29112025/14/36/image_29112025_14_36_34_9762.jpg
/home/pi/Desktop/images/29112025/14/36/image_29112025_14_36_45_10662.jpg
/home/pi/Desktop/images/29112025/14/36/image_29112025_14_36_54_9714.jpg
/home/pi/Desktop/images/29112025/14/36/image_29112025_14_37_04_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901151","1396901150","1396901153","1396901155","1396901158","1396901152"],"photo_ids_order":["1396901150","1396901151","1396901152","1396901153","1396901155","1396901158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddf33245e87bf7711a92fb4503d91949.jpg","text":"TemporaryFile(/tmp/multipartBody7086599879034065292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423963510,"filename":"image_29112025_14_36_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cfcc4ff7241bf2a73f448de2df4c9d02.jpg","text":"TemporaryFile(/tmp/multipartBody3193190987764583128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423963510,"filename":"image_29112025_14_36_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/11/29/73a89df187a85556fe32c1b2f4964333.jpg","text":"TemporaryFile(/tmp/multipartBody6670977811078165920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423963510,"filename":"image_29112025_14_36_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4feafcfe52763ebda8fdf2f17e564f3f.jpg","text":"TemporaryFile(/tmp/multipartBody8460483588330271851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423963510,"filename":"image_29112025_14_36_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/11/29/b6712287863b97cb34863a12b2cf8f82.jpg","text":"TemporaryFile(/tmp/multipartBody5327225711208061128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423963510,"filename":"image_29112025_14_37_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b27a4f901ade1050349676d4c9b1c7e3.jpg","text":"TemporaryFile(/tmp/multipartBody5484929151527707160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764423963510,"filename":"image_29112025_14_36_34_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901152","file1":"1396901151","file0":"1396901150","file4":"1396901155","file5":"1396901158","file3":"1396901153"},"map_files_photo_id_array":[{"photo_id":"1396901158","filename":"file5"},{"photo_id":"1396901152","filename":"file2"},{"photo_id":"1396901155","filename":"file4"},{"photo_id":"1396901151","filename":"file1"},{"photo_id":"1396901150","filename":"file0"},{"photo_id":"1396901153","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901151":["hashtag1","hashtag2"]},{"1396901150":["hashtag1","hashtag2"]},{"1396901153":["hashtag1","hashtag2"]},{"1396901155":["hashtag1","hashtag2"]},{"1396901158":["hashtag1","hashtag2"]},{"1396901152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901151, 1396901150, 1396901153, 1396901155, 1396901158, 1396901152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67905616760254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:45:42.051381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_48_3746.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_51_2665.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_54_2774.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_57_3687.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_53_00_2730.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_03_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_48_3746.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_51_2665.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_54_2774.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_57_3687.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_53_00_2730.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_03_2848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901203","1396901202","1396901205","1396901201","1396901204","1396901197"],"photo_ids_order":["1396901197","1396901201","1396901202","1396901203","1396901204","1396901205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c0982d5d6b2178e9c428944b4c48519.jpg","text":"TemporaryFile(/tmp/multipartBody7921314138218256588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424003186,"filename":"image_31102025_09_52_57_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78145cebd0a26208fd4412741358a0b2.jpg","text":"TemporaryFile(/tmp/multipartBody275119230197375719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424003186,"filename":"image_31102025_09_52_54_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/659af9367b1f7d7b57ff6c47d6b0b7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8789909120703733619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424003186,"filename":"image_31102025_09_53_03_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed636dd47f5973439d910a0993fffc4e.jpg","text":"TemporaryFile(/tmp/multipartBody4145731276732494969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424003186,"filename":"image_31102025_09_52_51_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1aaa784a33b283d8ff439117b1253686.jpg","text":"TemporaryFile(/tmp/multipartBody2515367131715157321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424003186,"filename":"image_31102025_09_53_00_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0072ceb4a740c30ddda473d1e6ca1b40.jpg","text":"TemporaryFile(/tmp/multipartBody4477481415743114684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424003186,"filename":"image_31102025_09_52_48_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901202","file1":"1396901201","file0":"1396901197","file4":"1396901204","file5":"1396901205","file3":"1396901203"},"map_files_photo_id_array":[{"photo_id":"1396901205","filename":"file5"},{"photo_id":"1396901202","filename":"file2"},{"photo_id":"1396901204","filename":"file4"},{"photo_id":"1396901201","filename":"file1"},{"photo_id":"1396901197","filename":"file0"},{"photo_id":"1396901203","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396901203":["hashtag1","hashtag2"]},{"1396901202":["hashtag1","hashtag2"]},{"1396901205":["hashtag1","hashtag2"]},{"1396901201":["hashtag1","hashtag2"]},{"1396901204":["hashtag1","hashtag2"]},{"1396901197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396901203, 1396901202, 1396901205, 1396901201, 1396901204, 1396901197)","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 = 1396901202 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_54_2774.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1396901202 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_54_2774.jpg";
uploaded 6 photos
time to upload: 60.67546010017395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:47:04.161772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:47:43.540580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 14:48:03.239139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
2025-11-29 14:48:22.754169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:48:52.300645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
2025-11-29 14:48:52.306443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 14:49:03.146739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 14:49:32.189753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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 30 --only_old 1
2025-11-29 14:49:42.169082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 14:50:02.845437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/37/image_29112025_14_37_15_10709.jpg', '/home/pi/Desktop/images/29112025/14/37/image_29112025_14_37_25_9706.jpg', '/home/pi/Desktop/images/29112025/14/37/image_29112025_14_37_35_10021.jpg', '/home/pi/Desktop/images/29112025/14/37/image_29112025_14_37_44_9596.jpg', '/home/pi/Desktop/images/29112025/14/37/image_29112025_14_37_55_10694.jpg', '/home/pi/Desktop/images/29112025/14/37/image_29112025_14_38_05_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/37/image_29112025_14_37_15_10709.jpg
/home/pi/Desktop/images/29112025/14/37/image_29112025_14_37_25_9706.jpg
/home/pi/Desktop/images/29112025/14/37/image_29112025_14_37_35_10021.jpg
/home/pi/Desktop/images/29112025/14/37/image_29112025_14_37_44_9596.jpg
/home/pi/Desktop/images/29112025/14/37/image_29112025_14_37_55_10694.jpg
/home/pi/Desktop/images/29112025/14/37/image_29112025_14_38_05_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":["1396901355","1396901357","1396901354","1396901362","1396901356","1396901359"],"photo_ids_order":["1396901354","1396901355","1396901356","1396901357","1396901359","1396901362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7132c4cbc93f4d343e3cb4327d7a93ab.jpg","text":"TemporaryFile(/tmp/multipartBody380014421539177333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424263597,"filename":"image_29112025_14_37_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/11/29/a1c219a5be556683ea8a717ccc32db94.jpg","text":"TemporaryFile(/tmp/multipartBody5992238393845647693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424263597,"filename":"image_29112025_14_37_44_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88b2bb7c1e8fe84f5862d415e08fe9c1.jpg","text":"TemporaryFile(/tmp/multipartBody502846239181771321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424263597,"filename":"image_29112025_14_37_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9648799cdecf0e2f8f47c1b462b70cc.jpg","text":"TemporaryFile(/tmp/multipartBody5671604687802694070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424263597,"filename":"image_29112025_14_38_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/11/29/42abbe20bdaf762ccdf57a328d596c87.jpg","text":"TemporaryFile(/tmp/multipartBody4606326933048898379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424263597,"filename":"image_29112025_14_37_35_10021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b67abbefcecf28ae839399bf3ed7b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5830543610574693251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424263597,"filename":"image_29112025_14_37_55_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901356","file1":"1396901355","file0":"1396901354","file4":"1396901359","file5":"1396901362","file3":"1396901357"},"map_files_photo_id_array":[{"photo_id":"1396901362","filename":"file5"},{"photo_id":"1396901356","filename":"file2"},{"photo_id":"1396901359","filename":"file4"},{"photo_id":"1396901355","filename":"file1"},{"photo_id":"1396901354","filename":"file0"},{"photo_id":"1396901357","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901355":["hashtag1","hashtag2"]},{"1396901357":["hashtag1","hashtag2"]},{"1396901354":["hashtag1","hashtag2"]},{"1396901362":["hashtag1","hashtag2"]},{"1396901356":["hashtag1","hashtag2"]},{"1396901359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901355, 1396901357, 1396901354, 1396901362, 1396901356, 1396901359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59663915634155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 14:50:42.320940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_48_3746.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_51_2665.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_54_2774.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_57_3687.jpg', '/home/pi/Desktop/images/31102025/09/52/image_31102025_09_53_00_2730.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_03_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_48_3746.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_51_2665.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_54_2774.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_52_57_3687.jpg
/home/pi/Desktop/images/31102025/09/52/image_31102025_09_53_00_2730.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_03_2848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901376","1396901375","1396901378","1396901372","1396901374","1396901377"],"photo_ids_order":["1396901372","1396901374","1396901375","1396901376","1396901377","1396901378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c864e138e8e0c3384c0e696a8856b327.jpg","text":"TemporaryFile(/tmp/multipartBody2004238174343388499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424303283,"filename":"image_31102025_09_52_57_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccf726dc1fe51bc482692132b03da513.jpg","text":"TemporaryFile(/tmp/multipartBody3917827388339848598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424303283,"filename":"image_31102025_09_52_54_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c65769b98b48395265241f351b7be29.jpg","text":"TemporaryFile(/tmp/multipartBody898591926637476303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424303283,"filename":"image_31102025_09_53_03_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fccc7bb585e4d8035c8cdfcf36fca7d.jpg","text":"TemporaryFile(/tmp/multipartBody7456181562112758307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424303283,"filename":"image_31102025_09_52_48_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7b87cd3b214ea7626a04cdcb3f695ea.jpg","text":"TemporaryFile(/tmp/multipartBody6603877586470434739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424303283,"filename":"image_31102025_09_52_51_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/791e847e83232baf3be0b1a04cda8766.jpg","text":"TemporaryFile(/tmp/multipartBody7427706841884329786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424303283,"filename":"image_31102025_09_53_00_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901375","file1":"1396901374","file0":"1396901372","file4":"1396901377","file5":"1396901378","file3":"1396901376"},"map_files_photo_id_array":[{"photo_id":"1396901378","filename":"file5"},{"photo_id":"1396901375","filename":"file2"},{"photo_id":"1396901377","filename":"file4"},{"photo_id":"1396901374","filename":"file1"},{"photo_id":"1396901372","filename":"file0"},{"photo_id":"1396901376","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396901376":["hashtag1","hashtag2"]},{"1396901375":["hashtag1","hashtag2"]},{"1396901378":["hashtag1","hashtag2"]},{"1396901372":["hashtag1","hashtag2"]},{"1396901374":["hashtag1","hashtag2"]},{"1396901377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396901376, 1396901375, 1396901378, 1396901372, 1396901374, 1396901377)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.179120779037476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 14:51:32.598996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_32_2743.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_35_2640.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_39_3695.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_41_2629.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_44_2766.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_48_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_32_2743.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_35_2640.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_39_3695.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_41_2629.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_44_2766.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_48_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":["1396901407","1396901427","1396901442","1396901415","1396901393","1396901441"],"photo_ids_order":["1396901393","1396901407","1396901415","1396901427","1396901441","1396901442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3596c7d70ed1353f0f439c384601e1c6.jpg","text":"TemporaryFile(/tmp/multipartBody4369589462186272392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424357543,"filename":"image_25112025_18_27_35_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/177f27e86556fbc554a0907b8a09354f.jpg","text":"TemporaryFile(/tmp/multipartBody7150144331320442306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424357543,"filename":"image_25112025_18_27_41_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/043245e4baa6ae5c72e2daeab33d13d4.jpg","text":"TemporaryFile(/tmp/multipartBody1149624083340193496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424357543,"filename":"image_25112025_18_27_48_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecd95abc1550104a7bb967c9581515ee.jpg","text":"TemporaryFile(/tmp/multipartBody725845375420927950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424357543,"filename":"image_25112025_18_27_39_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b54693dca0ccc23f5557f6b7a671c97.jpg","text":"TemporaryFile(/tmp/multipartBody1546257585764826038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424357543,"filename":"image_25112025_18_27_32_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/befe0d66ce2adc73e472e3a0d7629063.jpg","text":"TemporaryFile(/tmp/multipartBody1094349661777778658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424357543,"filename":"image_25112025_18_27_44_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901415","file1":"1396901407","file0":"1396901393","file4":"1396901441","file5":"1396901442","file3":"1396901427"},"map_files_photo_id_array":[{"photo_id":"1396901442","filename":"file5"},{"photo_id":"1396901415","filename":"file2"},{"photo_id":"1396901441","filename":"file4"},{"photo_id":"1396901407","filename":"file1"},{"photo_id":"1396901393","filename":"file0"},{"photo_id":"1396901427","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396901407":["hashtag1","hashtag2"]},{"1396901427":["hashtag1","hashtag2"]},{"1396901442":["hashtag1","hashtag2"]},{"1396901415":["hashtag1","hashtag2"]},{"1396901393":["hashtag1","hashtag2"]},{"1396901441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396901407, 1396901427, 1396901442, 1396901415, 1396901393, 1396901441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.695117235183716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 14:52:21.800862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/38/image_29112025_14_38_14_9537.jpg', '/home/pi/Desktop/images/29112025/14/38/image_29112025_14_38_25_10632.jpg', '/home/pi/Desktop/images/29112025/14/38/image_29112025_14_38_35_10023.jpg', '/home/pi/Desktop/images/29112025/14/38/image_29112025_14_38_44_9643.jpg', '/home/pi/Desktop/images/29112025/14/38/image_29112025_14_38_54_9683.jpg', '/home/pi/Desktop/images/29112025/14/39/image_29112025_14_39_14_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/38/image_29112025_14_38_14_9537.jpg
/home/pi/Desktop/images/29112025/14/38/image_29112025_14_38_25_10632.jpg
/home/pi/Desktop/images/29112025/14/38/image_29112025_14_38_35_10023.jpg
/home/pi/Desktop/images/29112025/14/38/image_29112025_14_38_44_9643.jpg
/home/pi/Desktop/images/29112025/14/38/image_29112025_14_38_54_9683.jpg
/home/pi/Desktop/images/29112025/14/39/image_29112025_14_39_14_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901454","1396901448","1396901459","1396901452","1396901446","1396901458"],"photo_ids_order":["1396901446","1396901448","1396901452","1396901454","1396901458","1396901459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07318e91fddc5395ed495be327163f79.jpg","text":"TemporaryFile(/tmp/multipartBody1713450399800251187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424403167,"filename":"image_29112025_14_38_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/11/29/d7c979816ff06ccee5f0d435d04ae00a.jpg","text":"TemporaryFile(/tmp/multipartBody8458809543601061435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424403167,"filename":"image_29112025_14_38_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2080df8b63cd39f16076929983b24236.jpg","text":"TemporaryFile(/tmp/multipartBody2366086501341918851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424403167,"filename":"image_29112025_14_39_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/11/29/2795608681db3d8ee984e434722d4b65.jpg","text":"TemporaryFile(/tmp/multipartBody3733212779568154015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424403167,"filename":"image_29112025_14_38_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/11/29/15925fe3591cb910c926ba77862a40b1.jpg","text":"TemporaryFile(/tmp/multipartBody5342047192356140514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424403167,"filename":"image_29112025_14_38_14_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f278cb63bcac100ab80e2eee5ba228ba.jpg","text":"TemporaryFile(/tmp/multipartBody4520918616701015961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424403167,"filename":"image_29112025_14_38_54_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901452","file1":"1396901448","file0":"1396901446","file4":"1396901458","file5":"1396901459","file3":"1396901454"},"map_files_photo_id_array":[{"photo_id":"1396901459","filename":"file5"},{"photo_id":"1396901452","filename":"file2"},{"photo_id":"1396901458","filename":"file4"},{"photo_id":"1396901448","filename":"file1"},{"photo_id":"1396901446","filename":"file0"},{"photo_id":"1396901454","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901454":["hashtag1","hashtag2"]},{"1396901448":["hashtag1","hashtag2"]},{"1396901459":["hashtag1","hashtag2"]},{"1396901452":["hashtag1","hashtag2"]},{"1396901446":["hashtag1","hashtag2"]},{"1396901458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901454, 1396901448, 1396901459, 1396901452, 1396901446, 1396901458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.117398500442505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:53:03.236671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/39/image_29112025_14_39_24_9715.jpg', '/home/pi/Desktop/images/29112025/14/41/image_29112025_14_41_15_10706.jpg', '/home/pi/Desktop/images/29112025/14/41/image_29112025_14_41_24_9646.jpg', '/home/pi/Desktop/images/29112025/14/41/image_29112025_14_41_34_10035.jpg', '/home/pi/Desktop/images/29112025/14/41/image_29112025_14_41_55_10668.jpg', '/home/pi/Desktop/images/29112025/14/42/image_29112025_14_42_14_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/39/image_29112025_14_39_24_9715.jpg
/home/pi/Desktop/images/29112025/14/41/image_29112025_14_41_15_10706.jpg
/home/pi/Desktop/images/29112025/14/41/image_29112025_14_41_24_9646.jpg
/home/pi/Desktop/images/29112025/14/41/image_29112025_14_41_34_10035.jpg
/home/pi/Desktop/images/29112025/14/41/image_29112025_14_41_55_10668.jpg
/home/pi/Desktop/images/29112025/14/42/image_29112025_14_42_14_9684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901460","1396901462","1396901470","1396901464","1396901467","1396901461"],"photo_ids_order":["1396901460","1396901461","1396901462","1396901464","1396901467","1396901470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d71ebda168934bd2c82bf25c628535ea.jpg","text":"TemporaryFile(/tmp/multipartBody1467971953790272716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424445799,"filename":"image_29112025_14_39_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/11/29/cae7337d6f34ec1d3b258cc305955719.jpg","text":"TemporaryFile(/tmp/multipartBody591751103646153907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424445799,"filename":"image_29112025_14_41_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf35e67d0d5a7f2d06520b442cb675e3.jpg","text":"TemporaryFile(/tmp/multipartBody5849217119547883090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424445799,"filename":"image_29112025_14_42_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/11/29/8cce4c25950a45afaa5f58246378ca22.jpg","text":"TemporaryFile(/tmp/multipartBody1620258414703891570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424445799,"filename":"image_29112025_14_41_34_10035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/735b62e6db9f86d5db46658141d02985.jpg","text":"TemporaryFile(/tmp/multipartBody7397330563816479665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424445799,"filename":"image_29112025_14_41_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38350b670fdf4b33147a8defc2ed7417.jpg","text":"TemporaryFile(/tmp/multipartBody39175557941041142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424445799,"filename":"image_29112025_14_41_15_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901462","file1":"1396901461","file0":"1396901460","file4":"1396901467","file5":"1396901470","file3":"1396901464"},"map_files_photo_id_array":[{"photo_id":"1396901470","filename":"file5"},{"photo_id":"1396901462","filename":"file2"},{"photo_id":"1396901467","filename":"file4"},{"photo_id":"1396901461","filename":"file1"},{"photo_id":"1396901460","filename":"file0"},{"photo_id":"1396901464","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901460":["hashtag1","hashtag2"]},{"1396901462":["hashtag1","hashtag2"]},{"1396901470":["hashtag1","hashtag2"]},{"1396901464":["hashtag1","hashtag2"]},{"1396901467":["hashtag1","hashtag2"]},{"1396901461":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901460, 1396901462, 1396901470, 1396901464, 1396901467, 1396901461)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.96271634101868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:54:02.435766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/42/image_29112025_14_42_25_10581.jpg', '/home/pi/Desktop/images/29112025/14/42/image_29112025_14_42_44_9702.jpg', '/home/pi/Desktop/images/29112025/14/43/image_29112025_14_43_14_9686.jpg', '/home/pi/Desktop/images/29112025/14/43/image_29112025_14_43_44_9611.jpg', '/home/pi/Desktop/images/29112025/14/43/image_29112025_14_43_54_9752.jpg', '/home/pi/Desktop/images/29112025/14/43/image_29112025_14_44_05_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/42/image_29112025_14_42_25_10581.jpg
/home/pi/Desktop/images/29112025/14/42/image_29112025_14_42_44_9702.jpg
/home/pi/Desktop/images/29112025/14/43/image_29112025_14_43_14_9686.jpg
/home/pi/Desktop/images/29112025/14/43/image_29112025_14_43_44_9611.jpg
/home/pi/Desktop/images/29112025/14/43/image_29112025_14_43_54_9752.jpg
/home/pi/Desktop/images/29112025/14/43/image_29112025_14_44_05_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":["1396901481","1396901490","1396901483","1396901482","1396901485","1396901488"],"photo_ids_order":["1396901481","1396901482","1396901483","1396901485","1396901488","1396901490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3b9cc2679034a7a83063abcd9cd8c82.jpg","text":"TemporaryFile(/tmp/multipartBody3388179860229131359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424505702,"filename":"image_29112025_14_42_25_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70225cc91ed6b2118fab259a7bbb2101.jpg","text":"TemporaryFile(/tmp/multipartBody2933563829900205344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424505702,"filename":"image_29112025_14_44_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/11/29/5d3fcda87791f1debd198dd0ab2835d5.jpg","text":"TemporaryFile(/tmp/multipartBody2924930704040050016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424505702,"filename":"image_29112025_14_43_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/11/29/3947da5fc0d18e4f01cfc9376d1ec253.jpg","text":"TemporaryFile(/tmp/multipartBody2812158640272609596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424505702,"filename":"image_29112025_14_42_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d34d59fb25f2803daf84204712c61baa.jpg","text":"TemporaryFile(/tmp/multipartBody90967259527060613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424505702,"filename":"image_29112025_14_43_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/11/29/e568d91301eb8570202c523f87fd1c7d.jpg","text":"TemporaryFile(/tmp/multipartBody6605226139649950467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424505702,"filename":"image_29112025_14_43_54_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901483","file1":"1396901482","file0":"1396901481","file4":"1396901488","file5":"1396901490","file3":"1396901485"},"map_files_photo_id_array":[{"photo_id":"1396901490","filename":"file5"},{"photo_id":"1396901483","filename":"file2"},{"photo_id":"1396901488","filename":"file4"},{"photo_id":"1396901482","filename":"file1"},{"photo_id":"1396901481","filename":"file0"},{"photo_id":"1396901485","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901481":["hashtag1","hashtag2"]},{"1396901490":["hashtag1","hashtag2"]},{"1396901483":["hashtag1","hashtag2"]},{"1396901482":["hashtag1","hashtag2"]},{"1396901485":["hashtag1","hashtag2"]},{"1396901488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901481, 1396901490, 1396901483, 1396901482, 1396901485, 1396901488)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.625258445739746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:55:02.705884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/44/image_29112025_14_44_14_9697.jpg', '/home/pi/Desktop/images/29112025/14/45/image_29112025_14_45_14_9666.jpg', '/home/pi/Desktop/images/29112025/14/45/image_29112025_14_45_54_9607.jpg', '/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_15_10640.jpg', '/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_24_9609.jpg', '/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_34_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/44/image_29112025_14_44_14_9697.jpg
/home/pi/Desktop/images/29112025/14/45/image_29112025_14_45_14_9666.jpg
/home/pi/Desktop/images/29112025/14/45/image_29112025_14_45_54_9607.jpg
/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_15_10640.jpg
/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_24_9609.jpg
/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_34_9763.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.108001232147217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 14:55:12.093527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_53_2673.jpg', '/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_59_2576.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_02_2628.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_05_3660.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_11_2555.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_14_3516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_53_2673.jpg
/home/pi/Desktop/images/25112025/18/27/image_25112025_18_27_59_2576.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_02_2628.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_05_3660.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_11_2555.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_14_3516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901502","1396901505","1396901513","1396901515","1396901509","1396901518"],"photo_ids_order":["1396901502","1396901505","1396901509","1396901513","1396901515","1396901518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a69c17f60892b810c51fc88825a22235.jpg","text":"TemporaryFile(/tmp/multipartBody7932037511025129673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424574165,"filename":"image_25112025_18_27_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/11/29/c9c95d929bbe3eef6ac6d3eacf0f040c.jpg","text":"TemporaryFile(/tmp/multipartBody5116889203201655398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424574165,"filename":"image_25112025_18_27_59_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40f661ca39994abe457f98625ed0d4c9.jpg","text":"TemporaryFile(/tmp/multipartBody6028681257026495929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424574165,"filename":"image_25112025_18_28_05_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47e250c51bcb1735ebd064b95fb1992a.jpg","text":"TemporaryFile(/tmp/multipartBody1930259448118795987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424574165,"filename":"image_25112025_18_28_11_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11fe927e2a307a7a2e2cee3976832683.jpg","text":"TemporaryFile(/tmp/multipartBody7455018064756021828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424574165,"filename":"image_25112025_18_28_02_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4a0f96c1ba0c8151b533aa0003d9ce1.jpg","text":"TemporaryFile(/tmp/multipartBody4900511868353481374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424574165,"filename":"image_25112025_18_28_14_3516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901509","file1":"1396901505","file0":"1396901502","file4":"1396901515","file5":"1396901518","file3":"1396901513"},"map_files_photo_id_array":[{"photo_id":"1396901518","filename":"file5"},{"photo_id":"1396901509","filename":"file2"},{"photo_id":"1396901515","filename":"file4"},{"photo_id":"1396901505","filename":"file1"},{"photo_id":"1396901502","filename":"file0"},{"photo_id":"1396901513","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396901502":["hashtag1","hashtag2"]},{"1396901505":["hashtag1","hashtag2"]},{"1396901513":["hashtag1","hashtag2"]},{"1396901515":["hashtag1","hashtag2"]},{"1396901509":["hashtag1","hashtag2"]},{"1396901518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396901502, 1396901505, 1396901513, 1396901515, 1396901509, 1396901518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.53678297996521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:56:02.716347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/44/image_29112025_14_44_14_9697.jpg', '/home/pi/Desktop/images/29112025/14/45/image_29112025_14_45_14_9666.jpg', '/home/pi/Desktop/images/29112025/14/45/image_29112025_14_45_54_9607.jpg', '/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_15_10640.jpg', '/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_24_9609.jpg', '/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_34_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/44/image_29112025_14_44_14_9697.jpg
/home/pi/Desktop/images/29112025/14/45/image_29112025_14_45_14_9666.jpg
/home/pi/Desktop/images/29112025/14/45/image_29112025_14_45_54_9607.jpg
/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_15_10640.jpg
/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_24_9609.jpg
/home/pi/Desktop/images/29112025/14/46/image_29112025_14_46_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":["1396901532","1396901526","1396901535","1396901529","1396901525","1396901527"],"photo_ids_order":["1396901525","1396901526","1396901527","1396901529","1396901532","1396901535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/560619ef363c43c2f788c09c9e84fbd0.jpg","text":"TemporaryFile(/tmp/multipartBody4253274200562211741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424626110,"filename":"image_29112025_14_46_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/11/29/7472c0ae8d92d730b4cb3bd2507cbb4b.jpg","text":"TemporaryFile(/tmp/multipartBody1005587849651797281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424626110,"filename":"image_29112025_14_45_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/11/29/163383677da0c664cb831c50c6d55ae7.jpg","text":"TemporaryFile(/tmp/multipartBody8994446391927658506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424626110,"filename":"image_29112025_14_46_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/11/29/8453ff33b42cf577a7b30b4e3bd8f4d5.jpg","text":"TemporaryFile(/tmp/multipartBody4852162710287788321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424626110,"filename":"image_29112025_14_46_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/11/29/f611d65e29fd0674c1930e5871d31213.jpg","text":"TemporaryFile(/tmp/multipartBody7791086331699392008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424626110,"filename":"image_29112025_14_44_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0b5d23e2ddba7f7b82d2adb7ac55025.jpg","text":"TemporaryFile(/tmp/multipartBody5526070920135330982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424626110,"filename":"image_29112025_14_45_54_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901527","file1":"1396901526","file0":"1396901525","file4":"1396901532","file5":"1396901535","file3":"1396901529"},"map_files_photo_id_array":[{"photo_id":"1396901535","filename":"file5"},{"photo_id":"1396901527","filename":"file2"},{"photo_id":"1396901532","filename":"file4"},{"photo_id":"1396901526","filename":"file1"},{"photo_id":"1396901525","filename":"file0"},{"photo_id":"1396901529","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901532":["hashtag1","hashtag2"]},{"1396901526":["hashtag1","hashtag2"]},{"1396901535":["hashtag1","hashtag2"]},{"1396901529":["hashtag1","hashtag2"]},{"1396901525":["hashtag1","hashtag2"]},{"1396901527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901532, 1396901526, 1396901535, 1396901529, 1396901525, 1396901527)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.41609239578247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:57:04.287023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/47/image_29112025_14_47_55_10644.jpg', '/home/pi/Desktop/images/29112025/14/48/image_29112025_14_48_36_21910.jpg', '/home/pi/Desktop/images/29112025/14/49/image_29112025_14_49_24_10213.jpg', '/home/pi/Desktop/images/29112025/14/49/image_29112025_14_49_35_10769.jpg', '/home/pi/Desktop/images/29112025/14/49/image_29112025_14_49_52_17352.jpg', '/home/pi/Desktop/images/29112025/14/49/image_29112025_14_50_04_10069.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/47/image_29112025_14_47_55_10644.jpg
/home/pi/Desktop/images/29112025/14/48/image_29112025_14_48_36_21910.jpg
/home/pi/Desktop/images/29112025/14/49/image_29112025_14_49_24_10213.jpg
/home/pi/Desktop/images/29112025/14/49/image_29112025_14_49_35_10769.jpg
/home/pi/Desktop/images/29112025/14/49/image_29112025_14_49_52_17352.jpg
/home/pi/Desktop/images/29112025/14/49/image_29112025_14_50_04_10069.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901547","1396901549","1396901551","1396901554","1396901548","1396901557"],"photo_ids_order":["1396901547","1396901548","1396901549","1396901551","1396901554","1396901557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4a8050b71ed75bda4e4b420a7b281a4.jpg","text":"TemporaryFile(/tmp/multipartBody1678124614797108362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424685754,"filename":"image_29112025_14_47_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/11/29/4e29a42065c63ca674341bb70baca03e.jpg","text":"TemporaryFile(/tmp/multipartBody4036367983253908393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424685754,"filename":"image_29112025_14_49_24_10213.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81a4eafefc612805fa95b619e711216b.jpg","text":"TemporaryFile(/tmp/multipartBody8876988458741581651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424685754,"filename":"image_29112025_14_49_35_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adb339e11102914b197d66ca455b608d.jpg","text":"TemporaryFile(/tmp/multipartBody1587322156891708719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424685754,"filename":"image_29112025_14_49_52_17352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c39792b917b494d8f4d0e2a0d37561d3.jpg","text":"TemporaryFile(/tmp/multipartBody3502717227455014087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424685754,"filename":"image_29112025_14_48_36_21910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d94fcf7eadde0e33001defad69318716.jpg","text":"TemporaryFile(/tmp/multipartBody1207152552440439302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424685754,"filename":"image_29112025_14_50_04_10069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901549","file1":"1396901548","file0":"1396901547","file4":"1396901554","file5":"1396901557","file3":"1396901551"},"map_files_photo_id_array":[{"photo_id":"1396901557","filename":"file5"},{"photo_id":"1396901549","filename":"file2"},{"photo_id":"1396901554","filename":"file4"},{"photo_id":"1396901548","filename":"file1"},{"photo_id":"1396901547","filename":"file0"},{"photo_id":"1396901551","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901547":["hashtag1","hashtag2"]},{"1396901549":["hashtag1","hashtag2"]},{"1396901551":["hashtag1","hashtag2"]},{"1396901554":["hashtag1","hashtag2"]},{"1396901548":["hashtag1","hashtag2"]},{"1396901557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901547, 1396901549, 1396901551, 1396901554, 1396901548, 1396901557)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.11069393157959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 14:59:03.195794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 14:59:12.377723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_17_2622.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_20_2658.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_23_3691.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_26_2578.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_29_2762.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_32_3624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_17_2622.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_20_2658.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_23_3691.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_26_2578.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_29_2762.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_32_3624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901583","1396901585","1396901579","1396901576","1396901584","1396901572"],"photo_ids_order":["1396901572","1396901576","1396901579","1396901583","1396901584","1396901585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e2999aabf58674d150b2e739a85f928.jpg","text":"TemporaryFile(/tmp/multipartBody8577665476108767059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424814511,"filename":"image_25112025_18_28_26_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bea20b4f99098927d8efedc02a1858e.jpg","text":"TemporaryFile(/tmp/multipartBody6763973201997841181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424814511,"filename":"image_25112025_18_28_32_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fb15ced8204ff432c329e84f054221c.jpg","text":"TemporaryFile(/tmp/multipartBody2386977574835578011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424814511,"filename":"image_25112025_18_28_23_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff01a9d785fe5142988c26174ac25c95.jpg","text":"TemporaryFile(/tmp/multipartBody3387566677820728746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424814511,"filename":"image_25112025_18_28_20_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84c429ec84397121bef77b39e100ff59.jpg","text":"TemporaryFile(/tmp/multipartBody7421766093794145373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424814511,"filename":"image_25112025_18_28_29_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/169a7c9dc3b7960ef46ca8b59acb6cc5.jpg","text":"TemporaryFile(/tmp/multipartBody8465590748506994683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424814511,"filename":"image_25112025_18_28_17_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901579","file1":"1396901576","file0":"1396901572","file4":"1396901584","file5":"1396901585","file3":"1396901583"},"map_files_photo_id_array":[{"photo_id":"1396901585","filename":"file5"},{"photo_id":"1396901579","filename":"file2"},{"photo_id":"1396901584","filename":"file4"},{"photo_id":"1396901576","filename":"file1"},{"photo_id":"1396901572","filename":"file0"},{"photo_id":"1396901583","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396901583":["hashtag1","hashtag2"]},{"1396901585":["hashtag1","hashtag2"]},{"1396901579":["hashtag1","hashtag2"]},{"1396901576":["hashtag1","hashtag2"]},{"1396901584":["hashtag1","hashtag2"]},{"1396901572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396901583, 1396901585, 1396901579, 1396901576, 1396901584, 1396901572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04356265068054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:00:02.983872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/50/image_29112025_14_50_55_9852.jpg', '/home/pi/Desktop/images/29112025/14/51/image_29112025_14_51_14_9702.jpg', '/home/pi/Desktop/images/29112025/14/51/image_29112025_14_51_55_9804.jpg', '/home/pi/Desktop/images/29112025/14/52/image_29112025_14_52_45_10616.jpg', '/home/pi/Desktop/images/29112025/14/52/image_29112025_14_52_54_9660.jpg', '/home/pi/Desktop/images/29112025/14/52/image_29112025_14_53_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/50/image_29112025_14_50_55_9852.jpg
/home/pi/Desktop/images/29112025/14/51/image_29112025_14_51_14_9702.jpg
/home/pi/Desktop/images/29112025/14/51/image_29112025_14_51_55_9804.jpg
/home/pi/Desktop/images/29112025/14/52/image_29112025_14_52_45_10616.jpg
/home/pi/Desktop/images/29112025/14/52/image_29112025_14_52_54_9660.jpg
/home/pi/Desktop/images/29112025/14/52/image_29112025_14_53_04_9784.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6409666538238525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:00:12.508666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_35_2563.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_39_3707.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_41_2509.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_47_3527.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_50_2738.jpg', '/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_53_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_35_2563.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_39_3707.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_41_2509.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_47_3527.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_50_2738.jpg
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_53_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901611","1396901613","1396901604","1396901606","1396901609","1396901617"],"photo_ids_order":["1396901604","1396901606","1396901609","1396901611","1396901613","1396901617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d21b6eca427dddde237b40552295d576.jpg","text":"TemporaryFile(/tmp/multipartBody292724882599619740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424874557,"filename":"image_25112025_18_28_47_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/905d8d430174be15100e3a18de700ba8.jpg","text":"TemporaryFile(/tmp/multipartBody8367366108483638344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424874557,"filename":"image_25112025_18_28_50_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2339e65cd6ba59645dece11c8d20eddc.jpg","text":"TemporaryFile(/tmp/multipartBody4799181075873062899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424874557,"filename":"image_25112025_18_28_35_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afc8beb1b8e3700b2e020ffd50c1f95c.jpg","text":"TemporaryFile(/tmp/multipartBody5281024152370358693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424874557,"filename":"image_25112025_18_28_39_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e1d49f52aff438d73236349828c6faa.jpg","text":"TemporaryFile(/tmp/multipartBody9170623772787672179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424874557,"filename":"image_25112025_18_28_41_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc91eed6400e7715d4e330ff9d94019a.jpg","text":"TemporaryFile(/tmp/multipartBody1943103739873524119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424874557,"filename":"image_25112025_18_28_53_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901609","file1":"1396901606","file0":"1396901604","file4":"1396901613","file5":"1396901617","file3":"1396901611"},"map_files_photo_id_array":[{"photo_id":"1396901617","filename":"file5"},{"photo_id":"1396901609","filename":"file2"},{"photo_id":"1396901613","filename":"file4"},{"photo_id":"1396901606","filename":"file1"},{"photo_id":"1396901604","filename":"file0"},{"photo_id":"1396901611","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396901611":["hashtag1","hashtag2"]},{"1396901613":["hashtag1","hashtag2"]},{"1396901604":["hashtag1","hashtag2"]},{"1396901606":["hashtag1","hashtag2"]},{"1396901609":["hashtag1","hashtag2"]},{"1396901617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396901611, 1396901613, 1396901604, 1396901606, 1396901609, 1396901617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72828435897827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:01:03.454231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/50/image_29112025_14_50_55_9852.jpg', '/home/pi/Desktop/images/29112025/14/51/image_29112025_14_51_14_9702.jpg', '/home/pi/Desktop/images/29112025/14/51/image_29112025_14_51_55_9804.jpg', '/home/pi/Desktop/images/29112025/14/52/image_29112025_14_52_45_10616.jpg', '/home/pi/Desktop/images/29112025/14/52/image_29112025_14_52_54_9660.jpg', '/home/pi/Desktop/images/29112025/14/52/image_29112025_14_53_04_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/50/image_29112025_14_50_55_9852.jpg
/home/pi/Desktop/images/29112025/14/51/image_29112025_14_51_14_9702.jpg
/home/pi/Desktop/images/29112025/14/51/image_29112025_14_51_55_9804.jpg
/home/pi/Desktop/images/29112025/14/52/image_29112025_14_52_45_10616.jpg
/home/pi/Desktop/images/29112025/14/52/image_29112025_14_52_54_9660.jpg
/home/pi/Desktop/images/29112025/14/52/image_29112025_14_53_04_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901625","1396901628","1396901624","1396901632","1396901626","1396901623"],"photo_ids_order":["1396901623","1396901624","1396901625","1396901626","1396901628","1396901632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/148fed647415f93eb26fac7e76a38bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5420883419916091708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424924232,"filename":"image_29112025_14_51_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/11/29/3ce1db72fe55ff035ed01fd34bb80bf0.jpg","text":"TemporaryFile(/tmp/multipartBody5597513534024611975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424924232,"filename":"image_29112025_14_52_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac715aed56db9aaf3b8e2ec4649062bf.jpg","text":"TemporaryFile(/tmp/multipartBody205572017681938047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424924232,"filename":"image_29112025_14_51_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fae58c3c98cbf38f4900e337c45bfb53.jpg","text":"TemporaryFile(/tmp/multipartBody6696520991583727351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424924232,"filename":"image_29112025_14_53_04_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bf0c853b969e45f9c64d6dae1e67602.jpg","text":"TemporaryFile(/tmp/multipartBody3479619152446897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424924232,"filename":"image_29112025_14_52_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/11/29/bd9e7aa08f05ab7f32f7f33cb6a276b6.jpg","text":"TemporaryFile(/tmp/multipartBody2436333971307704998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424924232,"filename":"image_29112025_14_50_55_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901625","file1":"1396901624","file0":"1396901623","file4":"1396901628","file5":"1396901632","file3":"1396901626"},"map_files_photo_id_array":[{"photo_id":"1396901632","filename":"file5"},{"photo_id":"1396901625","filename":"file2"},{"photo_id":"1396901628","filename":"file4"},{"photo_id":"1396901624","filename":"file1"},{"photo_id":"1396901623","filename":"file0"},{"photo_id":"1396901626","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901625":["hashtag1","hashtag2"]},{"1396901628":["hashtag1","hashtag2"]},{"1396901624":["hashtag1","hashtag2"]},{"1396901632":["hashtag1","hashtag2"]},{"1396901626":["hashtag1","hashtag2"]},{"1396901623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901625, 1396901628, 1396901624, 1396901632, 1396901626, 1396901623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.207561016082764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:01:42.801124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_06_2783.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_08_2790.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_12_3674.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_15_2830.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_18_2804.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_21_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/09/53/image_31102025_09_53_06_2783.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_08_2790.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_12_3674.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_15_2830.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_18_2804.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_21_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":["1396901643","1396901646","1396901642","1396901645","1396901644","1396901641"],"photo_ids_order":["1396901641","1396901642","1396901643","1396901644","1396901645","1396901646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f929fb68c78565f1916d25c428954413.jpg","text":"TemporaryFile(/tmp/multipartBody3351727822749958228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424963944,"filename":"image_31102025_09_53_12_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97764acbfd0b63c60ba900a6073a0fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4960514842202878444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424963944,"filename":"image_31102025_09_53_21_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a68333d3150f79d7136219d20b53d3f0.jpg","text":"TemporaryFile(/tmp/multipartBody7498631283981174115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424963944,"filename":"image_31102025_09_53_08_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41258047310521249771f07e17466ee9.jpg","text":"TemporaryFile(/tmp/multipartBody1230406927247247152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424963944,"filename":"image_31102025_09_53_18_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afd1183a2561c36e3233daea0bfe8211.jpg","text":"TemporaryFile(/tmp/multipartBody937384507439099719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424963944,"filename":"image_31102025_09_53_15_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a08e5897e7f3a0bf3889ec113c9ad36.jpg","text":"TemporaryFile(/tmp/multipartBody5468609066941848166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764424963944,"filename":"image_31102025_09_53_06_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901643","file1":"1396901642","file0":"1396901641","file4":"1396901645","file5":"1396901646","file3":"1396901644"},"map_files_photo_id_array":[{"photo_id":"1396901646","filename":"file5"},{"photo_id":"1396901643","filename":"file2"},{"photo_id":"1396901645","filename":"file4"},{"photo_id":"1396901642","filename":"file1"},{"photo_id":"1396901641","filename":"file0"},{"photo_id":"1396901644","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396901643":["hashtag1","hashtag2"]},{"1396901646":["hashtag1","hashtag2"]},{"1396901642":["hashtag1","hashtag2"]},{"1396901645":["hashtag1","hashtag2"]},{"1396901644":["hashtag1","hashtag2"]},{"1396901641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396901643, 1396901646, 1396901642, 1396901645, 1396901644, 1396901641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.030275106430054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:02:21.954878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/53/image_29112025_14_53_14_9727.jpg', '/home/pi/Desktop/images/29112025/14/53/image_29112025_14_53_25_10796.jpg', '/home/pi/Desktop/images/29112025/14/53/image_29112025_14_53_34_9604.jpg', '/home/pi/Desktop/images/29112025/14/53/image_29112025_14_53_48_13920.jpg', '/home/pi/Desktop/images/29112025/14/53/image_29112025_14_53_55_6635.jpg', '/home/pi/Desktop/images/29112025/14/53/image_29112025_14_54_04_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/53/image_29112025_14_53_14_9727.jpg
/home/pi/Desktop/images/29112025/14/53/image_29112025_14_53_25_10796.jpg
/home/pi/Desktop/images/29112025/14/53/image_29112025_14_53_34_9604.jpg
/home/pi/Desktop/images/29112025/14/53/image_29112025_14_53_48_13920.jpg
/home/pi/Desktop/images/29112025/14/53/image_29112025_14_53_55_6635.jpg
/home/pi/Desktop/images/29112025/14/53/image_29112025_14_54_04_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901661","1396901649","1396901665","1396901659","1396901653","1396901656"],"photo_ids_order":["1396901649","1396901653","1396901656","1396901659","1396901661","1396901665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec2926775a2419f3d410f0ff9c554523.jpg","text":"TemporaryFile(/tmp/multipartBody3974352314416888446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425003021,"filename":"image_29112025_14_53_55_6635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb6913fd0ea2287690ade6f3dfece549.jpg","text":"TemporaryFile(/tmp/multipartBody7987331416143600441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425003021,"filename":"image_29112025_14_53_14_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ecfe567ed2a7dd8794e78cc166a4802.jpg","text":"TemporaryFile(/tmp/multipartBody3423495692458976413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425003021,"filename":"image_29112025_14_54_04_9345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b7508e253fa8a437be38b89897c6d19.jpg","text":"TemporaryFile(/tmp/multipartBody8338692548784884699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425003021,"filename":"image_29112025_14_53_48_13920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/081719c218f04115c68c9f361a790320.jpg","text":"TemporaryFile(/tmp/multipartBody7732997898079279149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425003021,"filename":"image_29112025_14_53_25_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57544949820caebe0093b5dc6073533d.jpg","text":"TemporaryFile(/tmp/multipartBody5582603485790817678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425003021,"filename":"image_29112025_14_53_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901656","file1":"1396901653","file0":"1396901649","file4":"1396901661","file5":"1396901665","file3":"1396901659"},"map_files_photo_id_array":[{"photo_id":"1396901665","filename":"file5"},{"photo_id":"1396901656","filename":"file2"},{"photo_id":"1396901661","filename":"file4"},{"photo_id":"1396901653","filename":"file1"},{"photo_id":"1396901649","filename":"file0"},{"photo_id":"1396901659","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901661":["hashtag1","hashtag2"]},{"1396901649":["hashtag1","hashtag2"]},{"1396901665":["hashtag1","hashtag2"]},{"1396901659":["hashtag1","hashtag2"]},{"1396901653":["hashtag1","hashtag2"]},{"1396901656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901661, 1396901649, 1396901665, 1396901659, 1396901653, 1396901656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33891820907593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:03:03.042802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/54/image_29112025_14_54_54_9629.jpg', '/home/pi/Desktop/images/29112025/14/54/image_29112025_14_55_05_10674.jpg', '/home/pi/Desktop/images/29112025/14/55/image_29112025_14_55_14_9623.jpg', '/home/pi/Desktop/images/29112025/14/55/image_29112025_14_55_45_9720.jpg', '/home/pi/Desktop/images/29112025/14/55/image_29112025_14_55_54_9616.jpg', '/home/pi/Desktop/images/29112025/14/55/image_29112025_14_56_04_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/54/image_29112025_14_54_54_9629.jpg
/home/pi/Desktop/images/29112025/14/54/image_29112025_14_55_05_10674.jpg
/home/pi/Desktop/images/29112025/14/55/image_29112025_14_55_14_9623.jpg
/home/pi/Desktop/images/29112025/14/55/image_29112025_14_55_45_9720.jpg
/home/pi/Desktop/images/29112025/14/55/image_29112025_14_55_54_9616.jpg
/home/pi/Desktop/images/29112025/14/55/image_29112025_14_56_04_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":["1396901667","1396901666","1396901675","1396901669","1396901671","1396901668"],"photo_ids_order":["1396901666","1396901667","1396901668","1396901669","1396901671","1396901675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/66eff9efb6ab8a8a62f27d727f555bf7.jpg","text":"TemporaryFile(/tmp/multipartBody2867481411045165484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425043827,"filename":"image_29112025_14_55_05_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e735457982f9ddecff4ec4c999d53c4.jpg","text":"TemporaryFile(/tmp/multipartBody2759133377064813772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425043827,"filename":"image_29112025_14_54_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/11/29/67ac4c26d9fa57dbd37b5c579022f7f8.jpg","text":"TemporaryFile(/tmp/multipartBody1871492730921409672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425043827,"filename":"image_29112025_14_56_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/11/29/b39330b1bf8632f6ed6c53742bad6243.jpg","text":"TemporaryFile(/tmp/multipartBody2889483438326208584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425043827,"filename":"image_29112025_14_55_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ddd84957bc6ddb58104fd58e0be5913.jpg","text":"TemporaryFile(/tmp/multipartBody3148194081552387373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425043827,"filename":"image_29112025_14_55_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7cdbe158bf00c065b93c4f29e9f40f2.jpg","text":"TemporaryFile(/tmp/multipartBody7066316195570311334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425043827,"filename":"image_29112025_14_55_14_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901668","file1":"1396901667","file0":"1396901666","file4":"1396901671","file5":"1396901675","file3":"1396901669"},"map_files_photo_id_array":[{"photo_id":"1396901675","filename":"file5"},{"photo_id":"1396901668","filename":"file2"},{"photo_id":"1396901671","filename":"file4"},{"photo_id":"1396901667","filename":"file1"},{"photo_id":"1396901666","filename":"file0"},{"photo_id":"1396901669","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901667":["hashtag1","hashtag2"]},{"1396901666":["hashtag1","hashtag2"]},{"1396901675":["hashtag1","hashtag2"]},{"1396901669":["hashtag1","hashtag2"]},{"1396901671":["hashtag1","hashtag2"]},{"1396901668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901667, 1396901666, 1396901675, 1396901669, 1396901671, 1396901668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30186891555786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:03:42.442906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_23_2807.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_27_3884.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_30_2722.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_33_2599.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_35_2727.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_39_3769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_23_2807.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_27_3884.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_30_2722.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_33_2599.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_35_2727.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_39_3769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901688","1396901684","1396901687","1396901683","1396901686","1396901685"],"photo_ids_order":["1396901683","1396901684","1396901685","1396901686","1396901687","1396901688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20abde2512b60e5f13049fc74fe5c0cc.jpg","text":"TemporaryFile(/tmp/multipartBody2731225583448716986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425083550,"filename":"image_31102025_09_53_39_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f8d6359e379f267face4e10d1f290ab.jpg","text":"TemporaryFile(/tmp/multipartBody2038449050061036698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425083550,"filename":"image_31102025_09_53_27_3884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb28315eef67cba141879eeba5b331ee.jpg","text":"TemporaryFile(/tmp/multipartBody6812408574895872862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425083550,"filename":"image_31102025_09_53_35_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4898999eca9c7d1c9f8184b17ac65e1.jpg","text":"TemporaryFile(/tmp/multipartBody7010585145981823955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425083550,"filename":"image_31102025_09_53_23_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f87ea955bd67608b17162385b1e4c7b9.jpg","text":"TemporaryFile(/tmp/multipartBody8289788822150163754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425083550,"filename":"image_31102025_09_53_33_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecb69cb84881ae22aeebe1c8bb733dee.jpg","text":"TemporaryFile(/tmp/multipartBody1593207757983193824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425083550,"filename":"image_31102025_09_53_30_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901685","file1":"1396901684","file0":"1396901683","file4":"1396901687","file5":"1396901688","file3":"1396901686"},"map_files_photo_id_array":[{"photo_id":"1396901688","filename":"file5"},{"photo_id":"1396901685","filename":"file2"},{"photo_id":"1396901687","filename":"file4"},{"photo_id":"1396901684","filename":"file1"},{"photo_id":"1396901683","filename":"file0"},{"photo_id":"1396901686","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396901688":["hashtag1","hashtag2"]},{"1396901684":["hashtag1","hashtag2"]},{"1396901687":["hashtag1","hashtag2"]},{"1396901683":["hashtag1","hashtag2"]},{"1396901686":["hashtag1","hashtag2"]},{"1396901685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396901688, 1396901684, 1396901687, 1396901683, 1396901686, 1396901685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.550431966781616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:04:22.661121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/56/image_29112025_14_56_15_10744.jpg', '/home/pi/Desktop/images/29112025/14/56/image_29112025_14_56_34_9500.jpg', '/home/pi/Desktop/images/29112025/14/56/image_29112025_14_56_44_9576.jpg', '/home/pi/Desktop/images/29112025/14/56/image_29112025_14_56_55_10655.jpg', '/home/pi/Desktop/images/29112025/14/56/image_29112025_14_57_04_9851.jpg', '/home/pi/Desktop/images/29112025/14/57/image_29112025_14_57_14_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/56/image_29112025_14_56_15_10744.jpg
/home/pi/Desktop/images/29112025/14/56/image_29112025_14_56_34_9500.jpg
/home/pi/Desktop/images/29112025/14/56/image_29112025_14_56_44_9576.jpg
/home/pi/Desktop/images/29112025/14/56/image_29112025_14_56_55_10655.jpg
/home/pi/Desktop/images/29112025/14/56/image_29112025_14_57_04_9851.jpg
/home/pi/Desktop/images/29112025/14/57/image_29112025_14_57_14_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901697","1396901703","1396901706","1396901700","1396901695","1396901692"],"photo_ids_order":["1396901692","1396901695","1396901697","1396901700","1396901703","1396901706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84f35f72e47421a36223d69fdf64a4ee.jpg","text":"TemporaryFile(/tmp/multipartBody8124408483140018931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425123396,"filename":"image_29112025_14_56_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/11/29/a37a35b318dae6e31701b14517d70558.jpg","text":"TemporaryFile(/tmp/multipartBody236506809862260117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425123396,"filename":"image_29112025_14_57_04_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5128febd2227dd2e5c4fe7ffc5d92255.jpg","text":"TemporaryFile(/tmp/multipartBody9176689289253044440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425123396,"filename":"image_29112025_14_57_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/11/29/56a09c042faefe7ef5ea5185218e8dc7.jpg","text":"TemporaryFile(/tmp/multipartBody4664505805121645581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425123396,"filename":"image_29112025_14_56_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a8c1a6d72a617dda4dd81f13335d62c.jpg","text":"TemporaryFile(/tmp/multipartBody107980987335784243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425123396,"filename":"image_29112025_14_56_34_9500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eef7b1c130157266923e7c8006d742c8.jpg","text":"TemporaryFile(/tmp/multipartBody8628862046026883073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425123396,"filename":"image_29112025_14_56_15_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901697","file1":"1396901695","file0":"1396901692","file4":"1396901703","file5":"1396901706","file3":"1396901700"},"map_files_photo_id_array":[{"photo_id":"1396901706","filename":"file5"},{"photo_id":"1396901697","filename":"file2"},{"photo_id":"1396901703","filename":"file4"},{"photo_id":"1396901695","filename":"file1"},{"photo_id":"1396901692","filename":"file0"},{"photo_id":"1396901700","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901697":["hashtag1","hashtag2"]},{"1396901703":["hashtag1","hashtag2"]},{"1396901706":["hashtag1","hashtag2"]},{"1396901700":["hashtag1","hashtag2"]},{"1396901695":["hashtag1","hashtag2"]},{"1396901692":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901697, 1396901703, 1396901706, 1396901700, 1396901695, 1396901692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2584764957428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:05:03.475976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/57/image_29112025_14_57_25_10597.jpg', '/home/pi/Desktop/images/29112025/14/57/image_29112025_14_57_44_9571.jpg', '/home/pi/Desktop/images/29112025/14/57/image_29112025_14_57_55_10814.jpg', '/home/pi/Desktop/images/29112025/14/57/image_29112025_14_58_04_9680.jpg', '/home/pi/Desktop/images/29112025/14/58/image_29112025_14_58_14_9887.jpg', '/home/pi/Desktop/images/29112025/14/58/image_29112025_14_58_24_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/57/image_29112025_14_57_25_10597.jpg
/home/pi/Desktop/images/29112025/14/57/image_29112025_14_57_44_9571.jpg
/home/pi/Desktop/images/29112025/14/57/image_29112025_14_57_55_10814.jpg
/home/pi/Desktop/images/29112025/14/57/image_29112025_14_58_04_9680.jpg
/home/pi/Desktop/images/29112025/14/58/image_29112025_14_58_14_9887.jpg
/home/pi/Desktop/images/29112025/14/58/image_29112025_14_58_24_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901710","1396901712","1396901715","1396901709","1396901708","1396901707"],"photo_ids_order":["1396901707","1396901708","1396901709","1396901710","1396901712","1396901715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71080466fcf6d33421e943b4688a426d.jpg","text":"TemporaryFile(/tmp/multipartBody237366826601249200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425164242,"filename":"image_29112025_14_58_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/11/29/d8636743f7701e5f99672d97535e3f80.jpg","text":"TemporaryFile(/tmp/multipartBody2937303081866380603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425164242,"filename":"image_29112025_14_58_14_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/528d985b9963c4471510a8589489d6b8.jpg","text":"TemporaryFile(/tmp/multipartBody9204792315606884176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425164242,"filename":"image_29112025_14_58_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3105166cb4a4d0912bf3f318f09b72c.jpg","text":"TemporaryFile(/tmp/multipartBody3370526009717680831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425164242,"filename":"image_29112025_14_57_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/11/29/43c696fef2af27a3a6d453061cd7be09.jpg","text":"TemporaryFile(/tmp/multipartBody1222419614378101995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425164242,"filename":"image_29112025_14_57_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/11/29/1694bfdc52405ffb51994c9fd982dece.jpg","text":"TemporaryFile(/tmp/multipartBody7191681232985469244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425164242,"filename":"image_29112025_14_57_25_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901709","file1":"1396901708","file0":"1396901707","file4":"1396901712","file5":"1396901715","file3":"1396901710"},"map_files_photo_id_array":[{"photo_id":"1396901715","filename":"file5"},{"photo_id":"1396901709","filename":"file2"},{"photo_id":"1396901712","filename":"file4"},{"photo_id":"1396901708","filename":"file1"},{"photo_id":"1396901707","filename":"file0"},{"photo_id":"1396901710","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901710":["hashtag1","hashtag2"]},{"1396901712":["hashtag1","hashtag2"]},{"1396901715":["hashtag1","hashtag2"]},{"1396901709":["hashtag1","hashtag2"]},{"1396901708":["hashtag1","hashtag2"]},{"1396901707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901710, 1396901712, 1396901715, 1396901709, 1396901708, 1396901707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91891527175903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:05:42.809354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_42_2672.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_44_2617.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_48_3635.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_51_2675.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_53_2666.jpg', '/home/pi/Desktop/images/31102025/09/53/image_31102025_09_54_00_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/09/53/image_31102025_09_53_42_2672.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_44_2617.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_48_3635.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_51_2675.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_53_53_2666.jpg
/home/pi/Desktop/images/31102025/09/53/image_31102025_09_54_00_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":["1396901730","1396901727","1396901732","1396901729","1396901725","1396901728"],"photo_ids_order":["1396901725","1396901727","1396901728","1396901729","1396901730","1396901732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5871266a04763b972a8c506ef47daa73.jpg","text":"TemporaryFile(/tmp/multipartBody2081475389151129678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425203920,"filename":"image_31102025_09_53_53_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7446451890d379b5710d78b0916e7140.jpg","text":"TemporaryFile(/tmp/multipartBody7661150055752379580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425203920,"filename":"image_31102025_09_53_44_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13e4d35a1001ba5eda2ec51f03a0bd4a.jpg","text":"TemporaryFile(/tmp/multipartBody3125856239289179876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425203920,"filename":"image_31102025_09_54_00_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0416a778ec991a5401109aa093fbe2e5.jpg","text":"TemporaryFile(/tmp/multipartBody935532629815371629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425203920,"filename":"image_31102025_09_53_51_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/801587a5ea46e997391f3b0885a31a51.jpg","text":"TemporaryFile(/tmp/multipartBody1797433044274584757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425203920,"filename":"image_31102025_09_53_42_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4533dc90f598479f40ac0ac596f38ea.jpg","text":"TemporaryFile(/tmp/multipartBody1110274349286120671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425203920,"filename":"image_31102025_09_53_48_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901728","file1":"1396901727","file0":"1396901725","file4":"1396901730","file5":"1396901732","file3":"1396901729"},"map_files_photo_id_array":[{"photo_id":"1396901732","filename":"file5"},{"photo_id":"1396901728","filename":"file2"},{"photo_id":"1396901730","filename":"file4"},{"photo_id":"1396901727","filename":"file1"},{"photo_id":"1396901725","filename":"file0"},{"photo_id":"1396901729","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396901730":["hashtag1","hashtag2"]},{"1396901727":["hashtag1","hashtag2"]},{"1396901732":["hashtag1","hashtag2"]},{"1396901729":["hashtag1","hashtag2"]},{"1396901725":["hashtag1","hashtag2"]},{"1396901728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396901730, 1396901727, 1396901732, 1396901729, 1396901725, 1396901728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14617037773132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:06:23.904817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/58/image_29112025_14_58_35_11310.jpg', '/home/pi/Desktop/images/29112025/14/58/image_29112025_14_58_45_9380.jpg', '/home/pi/Desktop/images/29112025/14/58/image_29112025_14_58_54_9649.jpg', '/home/pi/Desktop/images/29112025/14/58/image_29112025_14_59_04_9703.jpg', '/home/pi/Desktop/images/29112025/14/59/image_29112025_14_59_15_10722.jpg', '/home/pi/Desktop/images/29112025/14/59/image_29112025_14_59_24_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/58/image_29112025_14_58_35_11310.jpg
/home/pi/Desktop/images/29112025/14/58/image_29112025_14_58_45_9380.jpg
/home/pi/Desktop/images/29112025/14/58/image_29112025_14_58_54_9649.jpg
/home/pi/Desktop/images/29112025/14/58/image_29112025_14_59_04_9703.jpg
/home/pi/Desktop/images/29112025/14/59/image_29112025_14_59_15_10722.jpg
/home/pi/Desktop/images/29112025/14/59/image_29112025_14_59_24_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":["1396901754","1396901742","1396901736","1396901739","1396901750","1396901747"],"photo_ids_order":["1396901736","1396901739","1396901742","1396901747","1396901750","1396901754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f04ba27b7d01b63f3392cb6d1b5f659.jpg","text":"TemporaryFile(/tmp/multipartBody1130265568724011436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425244641,"filename":"image_29112025_14_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/11/29/94ddbb8d8d2d474780487df76e033b92.jpg","text":"TemporaryFile(/tmp/multipartBody2551312912556619578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425244641,"filename":"image_29112025_14_58_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0fed387a206cc08b669e4624a2e00436.jpg","text":"TemporaryFile(/tmp/multipartBody2833776663526782506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425244641,"filename":"image_29112025_14_58_35_11310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc71f561a092ef8c111e5027562ffa90.jpg","text":"TemporaryFile(/tmp/multipartBody5148382665069318047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425244641,"filename":"image_29112025_14_58_45_9380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c20ad6b0ff5699745b01b1d69d3a6afe.jpg","text":"TemporaryFile(/tmp/multipartBody4621009576924171839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425244641,"filename":"image_29112025_14_59_15_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18b927abce6da308ab086814a1225cd1.jpg","text":"TemporaryFile(/tmp/multipartBody6342770639526941942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425244641,"filename":"image_29112025_14_59_04_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901742","file1":"1396901739","file0":"1396901736","file4":"1396901750","file5":"1396901754","file3":"1396901747"},"map_files_photo_id_array":[{"photo_id":"1396901754","filename":"file5"},{"photo_id":"1396901742","filename":"file2"},{"photo_id":"1396901750","filename":"file4"},{"photo_id":"1396901739","filename":"file1"},{"photo_id":"1396901736","filename":"file0"},{"photo_id":"1396901747","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901754":["hashtag1","hashtag2"]},{"1396901742":["hashtag1","hashtag2"]},{"1396901736":["hashtag1","hashtag2"]},{"1396901739":["hashtag1","hashtag2"]},{"1396901750":["hashtag1","hashtag2"]},{"1396901747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901754, 1396901742, 1396901736, 1396901739, 1396901750, 1396901747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.539735317230225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:07:02.650917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/14/59/image_29112025_14_59_34_9654.jpg', '/home/pi/Desktop/images/29112025/14/59/image_29112025_14_59_45_10834.jpg', '/home/pi/Desktop/images/29112025/14/59/image_29112025_14_59_55_9705.jpg', '/home/pi/Desktop/images/29112025/15/00/image_29112025_15_00_14_10052.jpg', '/home/pi/Desktop/images/29112025/15/00/image_29112025_15_00_25_10676.jpg', '/home/pi/Desktop/images/29112025/15/00/image_29112025_15_00_35_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/14/59/image_29112025_14_59_34_9654.jpg
/home/pi/Desktop/images/29112025/14/59/image_29112025_14_59_45_10834.jpg
/home/pi/Desktop/images/29112025/14/59/image_29112025_14_59_55_9705.jpg
/home/pi/Desktop/images/29112025/15/00/image_29112025_15_00_14_10052.jpg
/home/pi/Desktop/images/29112025/15/00/image_29112025_15_00_25_10676.jpg
/home/pi/Desktop/images/29112025/15/00/image_29112025_15_00_35_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901766","1396901760","1396901763","1396901757","1396901759","1396901758"],"photo_ids_order":["1396901757","1396901758","1396901759","1396901760","1396901763","1396901766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b5a6294f096caecc1e6285c2c68eb5c.jpg","text":"TemporaryFile(/tmp/multipartBody2027188402962590068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425283457,"filename":"image_29112025_15_00_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/11/29/63c829de736ff23671f0a6eca439574d.jpg","text":"TemporaryFile(/tmp/multipartBody7547819452625815570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425283457,"filename":"image_29112025_15_00_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ff4476fbd06ede0039c798b242edd7e.jpg","text":"TemporaryFile(/tmp/multipartBody3835353294742906997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425283457,"filename":"image_29112025_15_00_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/11/29/96d9cf0278b980377b01584eb869a834.jpg","text":"TemporaryFile(/tmp/multipartBody5227271382717056542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425283457,"filename":"image_29112025_14_59_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/11/29/b65d3d13b2025d2160aa160d62deb0a3.jpg","text":"TemporaryFile(/tmp/multipartBody2737357186415020967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425283457,"filename":"image_29112025_14_59_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/11/29/94b4201fc29197aaddae34f20a7ca7b4.jpg","text":"TemporaryFile(/tmp/multipartBody5261215244540192504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425283457,"filename":"image_29112025_14_59_45_10834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901759","file1":"1396901758","file0":"1396901757","file4":"1396901763","file5":"1396901766","file3":"1396901760"},"map_files_photo_id_array":[{"photo_id":"1396901766","filename":"file5"},{"photo_id":"1396901759","filename":"file2"},{"photo_id":"1396901763","filename":"file4"},{"photo_id":"1396901758","filename":"file1"},{"photo_id":"1396901757","filename":"file0"},{"photo_id":"1396901760","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901766":["hashtag1","hashtag2"]},{"1396901760":["hashtag1","hashtag2"]},{"1396901763":["hashtag1","hashtag2"]},{"1396901757":["hashtag1","hashtag2"]},{"1396901759":["hashtag1","hashtag2"]},{"1396901758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901766, 1396901760, 1396901763, 1396901757, 1396901759, 1396901758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.409260988235474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:07:41.978020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_02_2670.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_06_3786.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_09_2830.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_15_3612.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_21_2717.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_24_2907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_02_2670.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_06_3786.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_09_2830.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_15_3612.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_21_2717.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_24_2907.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0033040046691895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:08:02.563986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/00/image_29112025_15_00_44_9691.jpg', '/home/pi/Desktop/images/29112025/15/00/image_29112025_15_00_54_9917.jpg', '/home/pi/Desktop/images/29112025/15/00/image_29112025_15_01_05_10725.jpg', '/home/pi/Desktop/images/29112025/15/01/image_29112025_15_01_15_9670.jpg', '/home/pi/Desktop/images/29112025/15/01/image_29112025_15_01_55_9898.jpg', '/home/pi/Desktop/images/29112025/15/02/image_29112025_15_02_15_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/00/image_29112025_15_00_44_9691.jpg
/home/pi/Desktop/images/29112025/15/00/image_29112025_15_00_54_9917.jpg
/home/pi/Desktop/images/29112025/15/00/image_29112025_15_01_05_10725.jpg
/home/pi/Desktop/images/29112025/15/01/image_29112025_15_01_15_9670.jpg
/home/pi/Desktop/images/29112025/15/01/image_29112025_15_01_55_9898.jpg
/home/pi/Desktop/images/29112025/15/02/image_29112025_15_02_15_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":["1396901780","1396901810","1396901804","1396901794","1396901807","1396901785"],"photo_ids_order":["1396901780","1396901785","1396901794","1396901804","1396901807","1396901810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4566d1a85598a42174b18c83cfea0da9.jpg","text":"TemporaryFile(/tmp/multipartBody7826032467538350346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425343293,"filename":"image_29112025_15_00_44_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1ea4b9477428df617baecbcc4abaed0.jpg","text":"TemporaryFile(/tmp/multipartBody6697676745195844478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425343293,"filename":"image_29112025_15_02_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a697a04c8de0390a07c4aa440f6b679d.jpg","text":"TemporaryFile(/tmp/multipartBody5603149631903792008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425343293,"filename":"image_29112025_15_01_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9efe1e2d77b16e76d00a210804f7068.jpg","text":"TemporaryFile(/tmp/multipartBody7650690873342022183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425343293,"filename":"image_29112025_15_01_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/11/29/c9766b916d006fd97194c45a6fd49445.jpg","text":"TemporaryFile(/tmp/multipartBody8245873766296641045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425343293,"filename":"image_29112025_15_01_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/11/29/c55d5d05bd2b713d55db7460aa15358c.jpg","text":"TemporaryFile(/tmp/multipartBody3325603483887034263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425343293,"filename":"image_29112025_15_00_54_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901794","file1":"1396901785","file0":"1396901780","file4":"1396901807","file5":"1396901810","file3":"1396901804"},"map_files_photo_id_array":[{"photo_id":"1396901810","filename":"file5"},{"photo_id":"1396901794","filename":"file2"},{"photo_id":"1396901807","filename":"file4"},{"photo_id":"1396901785","filename":"file1"},{"photo_id":"1396901780","filename":"file0"},{"photo_id":"1396901804","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396901780":["hashtag1","hashtag2"]},{"1396901810":["hashtag1","hashtag2"]},{"1396901804":["hashtag1","hashtag2"]},{"1396901794":["hashtag1","hashtag2"]},{"1396901807":["hashtag1","hashtag2"]},{"1396901785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396901780, 1396901810, 1396901804, 1396901794, 1396901807, 1396901785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72251343727112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:08:42.149460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_02_2670.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_06_3786.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_09_2830.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_15_3612.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_21_2717.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_24_2907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_02_2670.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_06_3786.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_09_2830.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_15_3612.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_21_2717.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_24_2907.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396901961","1396902044","1396901924","1396902046","1396902019","1396901883"],"photo_ids_order":["1396901883","1396901924","1396901961","1396902019","1396902044","1396902046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c618de08f5ece8dde333456c9b119d3.jpg","text":"TemporaryFile(/tmp/multipartBody6969749411574266485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425383190,"filename":"image_31102025_09_54_09_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7e6f564b6ed32d44aa916daad2b5b47.jpg","text":"TemporaryFile(/tmp/multipartBody7525648585434943363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425383190,"filename":"image_31102025_09_54_21_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58214c1e00ce511ec01d235b6dc5bc00.jpg","text":"TemporaryFile(/tmp/multipartBody6306469780196187254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425383190,"filename":"image_31102025_09_54_06_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8cdcaabc286a872a04719889a17d315.jpg","text":"TemporaryFile(/tmp/multipartBody1966814268586820413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425383190,"filename":"image_31102025_09_54_24_2907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6710626534d79a2186b7de331498c1b.jpg","text":"TemporaryFile(/tmp/multipartBody7970448645320525732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425383190,"filename":"image_31102025_09_54_15_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1757dc417ad8f30f1ed4e99e74614da4.jpg","text":"TemporaryFile(/tmp/multipartBody2040910144788029581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425383190,"filename":"image_31102025_09_54_02_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396901961","file1":"1396901924","file0":"1396901883","file4":"1396902044","file5":"1396902046","file3":"1396902019"},"map_files_photo_id_array":[{"photo_id":"1396902046","filename":"file5"},{"photo_id":"1396901961","filename":"file2"},{"photo_id":"1396902044","filename":"file4"},{"photo_id":"1396901924","filename":"file1"},{"photo_id":"1396901883","filename":"file0"},{"photo_id":"1396902019","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396901961":["hashtag1","hashtag2"]},{"1396902044":["hashtag1","hashtag2"]},{"1396901924":["hashtag1","hashtag2"]},{"1396902046":["hashtag1","hashtag2"]},{"1396902019":["hashtag1","hashtag2"]},{"1396901883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396901961, 1396902044, 1396901924, 1396902046, 1396902019, 1396901883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82357883453369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:09:22.310541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/02/image_29112025_15_02_34_9707.jpg', '/home/pi/Desktop/images/29112025/15/02/image_29112025_15_02_45_10605.jpg', '/home/pi/Desktop/images/29112025/15/02/image_29112025_15_02_55_9626.jpg', '/home/pi/Desktop/images/29112025/15/02/image_29112025_15_03_05_9915.jpg', '/home/pi/Desktop/images/29112025/15/03/image_29112025_15_03_24_9719.jpg', '/home/pi/Desktop/images/29112025/15/03/image_29112025_15_03_35_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/02/image_29112025_15_02_34_9707.jpg
/home/pi/Desktop/images/29112025/15/02/image_29112025_15_02_45_10605.jpg
/home/pi/Desktop/images/29112025/15/02/image_29112025_15_02_55_9626.jpg
/home/pi/Desktop/images/29112025/15/02/image_29112025_15_03_05_9915.jpg
/home/pi/Desktop/images/29112025/15/03/image_29112025_15_03_24_9719.jpg
/home/pi/Desktop/images/29112025/15/03/image_29112025_15_03_35_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902135","1396902108","1396902111","1396902137","1396902104","1396902127"],"photo_ids_order":["1396902104","1396902108","1396902111","1396902127","1396902135","1396902137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b72ec686dad170c0424346d80d2a674.jpg","text":"TemporaryFile(/tmp/multipartBody5527654121990154566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425422988,"filename":"image_29112025_15_03_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0842ca841b9ab1d5d5c6b9aa5035a2b7.jpg","text":"TemporaryFile(/tmp/multipartBody1917483976392621138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425422988,"filename":"image_29112025_15_02_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/11/29/dbe0e4cdc0af9bf1743c635b18aac6ab.jpg","text":"TemporaryFile(/tmp/multipartBody1065298616358994609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425422988,"filename":"image_29112025_15_02_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/11/29/1ab3b79816cfa8715411e9981f526cdf.jpg","text":"TemporaryFile(/tmp/multipartBody9037375340650222105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425422988,"filename":"image_29112025_15_03_35_10368.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9e67f165aa8777f17b7bcb147222b83.jpg","text":"TemporaryFile(/tmp/multipartBody4775171603141884600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425422988,"filename":"image_29112025_15_02_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/11/29/e9ab791b72b98a3ff4e77a5e0e9704d6.jpg","text":"TemporaryFile(/tmp/multipartBody1312460604540319611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425422988,"filename":"image_29112025_15_03_05_9915.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902111","file1":"1396902108","file0":"1396902104","file4":"1396902135","file5":"1396902137","file3":"1396902127"},"map_files_photo_id_array":[{"photo_id":"1396902137","filename":"file5"},{"photo_id":"1396902111","filename":"file2"},{"photo_id":"1396902135","filename":"file4"},{"photo_id":"1396902108","filename":"file1"},{"photo_id":"1396902104","filename":"file0"},{"photo_id":"1396902127","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396902135":["hashtag1","hashtag2"]},{"1396902108":["hashtag1","hashtag2"]},{"1396902111":["hashtag1","hashtag2"]},{"1396902137":["hashtag1","hashtag2"]},{"1396902104":["hashtag1","hashtag2"]},{"1396902127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396902135, 1396902108, 1396902111, 1396902137, 1396902104, 1396902127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33186316490173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:10:03.008205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/05/image_29112025_15_06_04_9101.jpg', '/home/pi/Desktop/images/29112025/15/06/image_29112025_15_06_15_10558.jpg', '/home/pi/Desktop/images/29112025/15/06/image_29112025_15_06_25_10044.jpg', '/home/pi/Desktop/images/29112025/15/06/image_29112025_15_06_39_13966.jpg', '/home/pi/Desktop/images/29112025/15/06/image_29112025_15_06_44_5624.jpg', '/home/pi/Desktop/images/29112025/15/07/image_29112025_15_07_35_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/05/image_29112025_15_06_04_9101.jpg
/home/pi/Desktop/images/29112025/15/06/image_29112025_15_06_15_10558.jpg
/home/pi/Desktop/images/29112025/15/06/image_29112025_15_06_25_10044.jpg
/home/pi/Desktop/images/29112025/15/06/image_29112025_15_06_39_13966.jpg
/home/pi/Desktop/images/29112025/15/06/image_29112025_15_06_44_5624.jpg
/home/pi/Desktop/images/29112025/15/07/image_29112025_15_07_35_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902141","1396902140","1396902181","1396902157","1396902142","1396902139"],"photo_ids_order":["1396902139","1396902140","1396902141","1396902142","1396902157","1396902181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84b5612cc3f21cd86a6788a6ca4bc6a6.jpg","text":"TemporaryFile(/tmp/multipartBody1505324818410934400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425463730,"filename":"image_29112025_15_06_25_10044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/773273702561cb238c0f9511675ba5db.jpg","text":"TemporaryFile(/tmp/multipartBody7269454083844801649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425463730,"filename":"image_29112025_15_06_15_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5b6ef47dfd16d83e0b1c0478f1c2f1b.jpg","text":"TemporaryFile(/tmp/multipartBody3971080260571657992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425463730,"filename":"image_29112025_15_07_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/11/29/96f8936ee61e7399ac6c6827f4be8ac3.jpg","text":"TemporaryFile(/tmp/multipartBody6790324499876363386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425463730,"filename":"image_29112025_15_06_44_5624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c919042c67052e6e6e17131ff0d7787.jpg","text":"TemporaryFile(/tmp/multipartBody2476217224826883496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425463730,"filename":"image_29112025_15_06_39_13966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4dae0724e607ecc149be2d4967bebf91.jpg","text":"TemporaryFile(/tmp/multipartBody4748071355517763989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425463730,"filename":"image_29112025_15_06_04_9101.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902141","file1":"1396902140","file0":"1396902139","file4":"1396902157","file5":"1396902181","file3":"1396902142"},"map_files_photo_id_array":[{"photo_id":"1396902181","filename":"file5"},{"photo_id":"1396902141","filename":"file2"},{"photo_id":"1396902157","filename":"file4"},{"photo_id":"1396902140","filename":"file1"},{"photo_id":"1396902139","filename":"file0"},{"photo_id":"1396902142","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396902141":["hashtag1","hashtag2"]},{"1396902140":["hashtag1","hashtag2"]},{"1396902181":["hashtag1","hashtag2"]},{"1396902157":["hashtag1","hashtag2"]},{"1396902142":["hashtag1","hashtag2"]},{"1396902139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396902141, 1396902140, 1396902181, 1396902157, 1396902142, 1396902139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42981505393982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:10:42.550990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_27_3574.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_30_2725.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_33_2585.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_35_2751.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_39_3608.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_42_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/09/54/image_31102025_09_54_27_3574.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_30_2725.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_33_2585.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_35_2751.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_39_3608.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_42_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":["1396902213","1396902216","1396902212","1396902215","1396902209","1396902214"],"photo_ids_order":["1396902209","1396902212","1396902213","1396902214","1396902215","1396902216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/547fc8065206df1ebe56796b009a5cc8.jpg","text":"TemporaryFile(/tmp/multipartBody3385224119133509666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425503666,"filename":"image_31102025_09_54_33_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03b88d2e0dbc8ad7fe0a27c6d39db7a7.jpg","text":"TemporaryFile(/tmp/multipartBody8487846966798348385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425503666,"filename":"image_31102025_09_54_42_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b85141c4e24833a99f0383e77804fd13.jpg","text":"TemporaryFile(/tmp/multipartBody252798837107187119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425503666,"filename":"image_31102025_09_54_30_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/383eaac7e529a19610edd4743df70dca.jpg","text":"TemporaryFile(/tmp/multipartBody340880357875721128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425503666,"filename":"image_31102025_09_54_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/11/29/e91b6e310c36e0bfbf2799e799aba8d7.jpg","text":"TemporaryFile(/tmp/multipartBody4195995087156248021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425503666,"filename":"image_31102025_09_54_27_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89c4c8c2529bedaa0b5f4edc04274448.jpg","text":"TemporaryFile(/tmp/multipartBody7934490977702323582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425503666,"filename":"image_31102025_09_54_35_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902213","file1":"1396902212","file0":"1396902209","file4":"1396902215","file5":"1396902216","file3":"1396902214"},"map_files_photo_id_array":[{"photo_id":"1396902216","filename":"file5"},{"photo_id":"1396902213","filename":"file2"},{"photo_id":"1396902215","filename":"file4"},{"photo_id":"1396902212","filename":"file1"},{"photo_id":"1396902209","filename":"file0"},{"photo_id":"1396902214","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396902213":["hashtag1","hashtag2"]},{"1396902216":["hashtag1","hashtag2"]},{"1396902212":["hashtag1","hashtag2"]},{"1396902215":["hashtag1","hashtag2"]},{"1396902209":["hashtag1","hashtag2"]},{"1396902214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396902213, 1396902216, 1396902212, 1396902215, 1396902209, 1396902214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.601765155792236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:11:22.713991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/07/image_29112025_15_07_54_9762.jpg', '/home/pi/Desktop/images/29112025/15/07/image_29112025_15_08_05_10694.jpg', '/home/pi/Desktop/images/29112025/15/08/image_29112025_15_08_15_9653.jpg', '/home/pi/Desktop/images/29112025/15/08/image_29112025_15_08_24_9536.jpg', '/home/pi/Desktop/images/29112025/15/08/image_29112025_15_08_35_10573.jpg', '/home/pi/Desktop/images/29112025/15/09/image_29112025_15_09_14_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/07/image_29112025_15_07_54_9762.jpg
/home/pi/Desktop/images/29112025/15/07/image_29112025_15_08_05_10694.jpg
/home/pi/Desktop/images/29112025/15/08/image_29112025_15_08_15_9653.jpg
/home/pi/Desktop/images/29112025/15/08/image_29112025_15_08_24_9536.jpg
/home/pi/Desktop/images/29112025/15/08/image_29112025_15_08_35_10573.jpg
/home/pi/Desktop/images/29112025/15/09/image_29112025_15_09_14_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":["1396902273","1396902232","1396902235","1396902229","1396902238","1396902226"],"photo_ids_order":["1396902226","1396902229","1396902232","1396902235","1396902238","1396902273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3339c6da2598da017efbc59ff6064771.jpg","text":"TemporaryFile(/tmp/multipartBody5984841685265718349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425543396,"filename":"image_29112025_15_09_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90858e9a4aea5aff36c312da8497886b.jpg","text":"TemporaryFile(/tmp/multipartBody1005772568922646746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425543396,"filename":"image_29112025_15_08_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb1fb89f8fadbb9ccb4a9185ca1ea598.jpg","text":"TemporaryFile(/tmp/multipartBody76246880275983774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425543396,"filename":"image_29112025_15_08_24_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16dc3b844db9bf83f709c863936fa6d2.jpg","text":"TemporaryFile(/tmp/multipartBody4979971366029211854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425543396,"filename":"image_29112025_15_08_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/11/29/3a2821d3b330c7ee4252b7fa9dbded31.jpg","text":"TemporaryFile(/tmp/multipartBody2640653175568202782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425543396,"filename":"image_29112025_15_08_35_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7b24ae0b0afc210a6b599609b32b1a1.jpg","text":"TemporaryFile(/tmp/multipartBody4093551051246841713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425543396,"filename":"image_29112025_15_07_54_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902232","file1":"1396902229","file0":"1396902226","file4":"1396902238","file5":"1396902273","file3":"1396902235"},"map_files_photo_id_array":[{"photo_id":"1396902273","filename":"file5"},{"photo_id":"1396902232","filename":"file2"},{"photo_id":"1396902238","filename":"file4"},{"photo_id":"1396902229","filename":"file1"},{"photo_id":"1396902226","filename":"file0"},{"photo_id":"1396902235","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396902273":["hashtag1","hashtag2"]},{"1396902232":["hashtag1","hashtag2"]},{"1396902235":["hashtag1","hashtag2"]},{"1396902229":["hashtag1","hashtag2"]},{"1396902238":["hashtag1","hashtag2"]},{"1396902226":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396902273, 1396902232, 1396902235, 1396902229, 1396902238, 1396902226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.527846574783325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:12:02.336372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/09/image_29112025_15_09_25_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/09/image_29112025_15_09_25_10660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4280259609222412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:12:11.883861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_59_2602.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_02_2631.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_05_3697.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_08_2627.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_11_2574.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_14_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/28/image_25112025_18_28_59_2602.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_02_2631.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_05_3697.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_08_2627.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_11_2574.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_14_3714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902351","1396902348","1396902383","1396902386","1396902380","1396902363"],"photo_ids_order":["1396902348","1396902351","1396902363","1396902380","1396902383","1396902386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b7537e38929d778dbfc0aab5e1f5d3d.jpg","text":"TemporaryFile(/tmp/multipartBody8128091546773510690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425594000,"filename":"image_25112025_18_29_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/11/29/b45e3bec199a7ab5aa771e94d5450465.jpg","text":"TemporaryFile(/tmp/multipartBody7144399248899102020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425594000,"filename":"image_25112025_18_28_59_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37e6a30fe4d171771775f603509f9032.jpg","text":"TemporaryFile(/tmp/multipartBody5779989930009578238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425594000,"filename":"image_25112025_18_29_11_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/011bbbce15e59e419bd95d15d023c9a9.jpg","text":"TemporaryFile(/tmp/multipartBody7784252724766565339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425594000,"filename":"image_25112025_18_29_14_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e50bfbe0524f9db6cefb1c2d158f8fbd.jpg","text":"TemporaryFile(/tmp/multipartBody8563864429477233213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425594000,"filename":"image_25112025_18_29_08_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01909f96d383ede6ef1893e1f1d64f2e.jpg","text":"TemporaryFile(/tmp/multipartBody4429367619061600547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425594000,"filename":"image_25112025_18_29_05_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902363","file1":"1396902351","file0":"1396902348","file4":"1396902383","file5":"1396902386","file3":"1396902380"},"map_files_photo_id_array":[{"photo_id":"1396902386","filename":"file5"},{"photo_id":"1396902363","filename":"file2"},{"photo_id":"1396902383","filename":"file4"},{"photo_id":"1396902351","filename":"file1"},{"photo_id":"1396902348","filename":"file0"},{"photo_id":"1396902380","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396902351":["hashtag1","hashtag2"]},{"1396902348":["hashtag1","hashtag2"]},{"1396902383":["hashtag1","hashtag2"]},{"1396902386":["hashtag1","hashtag2"]},{"1396902380":["hashtag1","hashtag2"]},{"1396902363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396902351, 1396902348, 1396902383, 1396902386, 1396902380, 1396902363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.107569456100464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:13:02.726613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/09/image_29112025_15_09_25_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/09/image_29112025_15_09_25_10660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902393"],"photo_id":"1396902393","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8896d706accb10939a262a85fafe6d7e.jpg","text":"TemporaryFile(/tmp/multipartBody2711337711025049469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425643279,"filename":"image_29112025_15_09_25_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396902393"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396902393"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.311003923416138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:13:21.983727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_17_2574.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_20_2782.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_23_3550.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_26_2741.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_29_2700.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_35_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_17_2574.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_20_2782.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_23_3550.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_26_2741.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_29_2700.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_35_2660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902423","1396902417","1396902426","1396902429","1396902420","1396902431"],"photo_ids_order":["1396902417","1396902420","1396902423","1396902426","1396902429","1396902431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01e52bd191d4e0e8bcd69fe8b8dfb6bf.jpg","text":"TemporaryFile(/tmp/multipartBody5031772862296751487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425664191,"filename":"image_25112025_18_29_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/11/29/77d5c7dd4779f5ac3aa49c4f16c0d980.jpg","text":"TemporaryFile(/tmp/multipartBody6097244924964535837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425664191,"filename":"image_25112025_18_29_17_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e13359d5e08c67372710824ac82c323.jpg","text":"TemporaryFile(/tmp/multipartBody5339427147200794932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425664191,"filename":"image_25112025_18_29_26_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/00ebd4f7e00c41f83338c8827d4e4d55.jpg","text":"TemporaryFile(/tmp/multipartBody1372745608934296243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425664191,"filename":"image_25112025_18_29_29_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72e4df32840ca98540126a93a008595d.jpg","text":"TemporaryFile(/tmp/multipartBody4920182480704561954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425664191,"filename":"image_25112025_18_29_20_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6697d04e5ddeb7431aeb35d445259ee7.jpg","text":"TemporaryFile(/tmp/multipartBody5128068675734399318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425664191,"filename":"image_25112025_18_29_35_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902423","file1":"1396902420","file0":"1396902417","file4":"1396902429","file5":"1396902431","file3":"1396902426"},"map_files_photo_id_array":[{"photo_id":"1396902431","filename":"file5"},{"photo_id":"1396902423","filename":"file2"},{"photo_id":"1396902429","filename":"file4"},{"photo_id":"1396902420","filename":"file1"},{"photo_id":"1396902417","filename":"file0"},{"photo_id":"1396902426","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396902423":["hashtag1","hashtag2"]},{"1396902417":["hashtag1","hashtag2"]},{"1396902426":["hashtag1","hashtag2"]},{"1396902429":["hashtag1","hashtag2"]},{"1396902420":["hashtag1","hashtag2"]},{"1396902431":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396902423, 1396902417, 1396902426, 1396902429, 1396902420, 1396902431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.873329162597656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:14:02.724535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_38_2730.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_41_3756.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_47_2547.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_50_3625.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_53_2682.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_56_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_38_2730.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_41_3756.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_47_2547.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_50_3625.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_53_2682.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_56_2644.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5350956916809082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:14:12.250594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_38_2730.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_41_3756.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_47_2547.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_50_3625.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_53_2682.jpg', '/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_56_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_38_2730.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_41_3756.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_47_2547.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_50_3625.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_53_2682.jpg
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_56_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902583","1396902622","1396902619","1396902460","1396902541","1396902502"],"photo_ids_order":["1396902460","1396902502","1396902541","1396902583","1396902619","1396902622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/793ff7dab8c1002a8623e7a35b9df55d.jpg","text":"TemporaryFile(/tmp/multipartBody4435191718648247352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425714218,"filename":"image_25112025_18_29_50_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92ca29162b515936ee01cff6458ae44b.jpg","text":"TemporaryFile(/tmp/multipartBody5266728444231579213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425714218,"filename":"image_25112025_18_29_56_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13b2b25a2ddf2d3152ca70fbd59de6bc.jpg","text":"TemporaryFile(/tmp/multipartBody1959201450426325627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425714218,"filename":"image_25112025_18_29_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/11/29/25ade4e2023e2f4938d83b6fa78abd1a.jpg","text":"TemporaryFile(/tmp/multipartBody4482481156649193095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425714218,"filename":"image_25112025_18_29_38_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec019d6631636b1cf24f81bc8490fe9d.jpg","text":"TemporaryFile(/tmp/multipartBody3321149321000029584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425714218,"filename":"image_25112025_18_29_47_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fccd1d79257e53338aa03e569b537c27.jpg","text":"TemporaryFile(/tmp/multipartBody4416580419740438561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425714218,"filename":"image_25112025_18_29_41_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902541","file1":"1396902502","file0":"1396902460","file4":"1396902619","file5":"1396902622","file3":"1396902583"},"map_files_photo_id_array":[{"photo_id":"1396902622","filename":"file5"},{"photo_id":"1396902541","filename":"file2"},{"photo_id":"1396902619","filename":"file4"},{"photo_id":"1396902502","filename":"file1"},{"photo_id":"1396902460","filename":"file0"},{"photo_id":"1396902583","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396902583":["hashtag1","hashtag2"]},{"1396902622":["hashtag1","hashtag2"]},{"1396902619":["hashtag1","hashtag2"]},{"1396902460":["hashtag1","hashtag2"]},{"1396902541":["hashtag1","hashtag2"]},{"1396902502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396902583, 1396902622, 1396902619, 1396902460, 1396902541, 1396902502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66652774810791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:15:02.983592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/09/image_29112025_15_09_35_9828.jpg', '/home/pi/Desktop/images/29112025/15/14/image_29112025_15_14_15_9610.jpg', '/home/pi/Desktop/images/29112025/15/14/image_29112025_15_14_45_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/09/image_29112025_15_09_35_9828.jpg
/home/pi/Desktop/images/29112025/15/14/image_29112025_15_14_15_9610.jpg
/home/pi/Desktop/images/29112025/15/14/image_29112025_15_14_45_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902630","1396902629","1396902631"],"photo_ids_order":["1396902629","1396902630","1396902631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49293cb181f651ef9a872070b25b61a6.jpg","text":"TemporaryFile(/tmp/multipartBody7534244606703994260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425763593,"filename":"image_29112025_15_14_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/11/29/aee2401d21f80cfdf59a66f015d54084.jpg","text":"TemporaryFile(/tmp/multipartBody8821372261711983965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425763593,"filename":"image_29112025_15_09_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/11/29/dd1aea3c957c8fb8a66ee6bc3fd0e0fb.jpg","text":"TemporaryFile(/tmp/multipartBody4275727882334642067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425763593,"filename":"image_29112025_15_14_45_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902631","file1":"1396902630","file0":"1396902629"},"map_files_photo_id_array":[{"photo_id":"1396902631","filename":"file2"},{"photo_id":"1396902630","filename":"file1"},{"photo_id":"1396902629","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396902630":["hashtag1","hashtag2"]},{"1396902629":["hashtag1","hashtag2"]},{"1396902631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396902630, 1396902629, 1396902631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.002225399017334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:15:32.336843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_59_3670.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_07_3010.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_11_3629.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_14_2711.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_16_2802.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_20_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/29/image_25112025_18_29_59_3670.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_07_3010.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_11_3629.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_14_2711.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_16_2802.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_20_3621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902645","1396902647","1396902649","1396902640","1396902643","1396902648"],"photo_ids_order":["1396902640","1396902643","1396902645","1396902647","1396902648","1396902649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3c85d7285e33c528fa646b5d5f9a8f8.jpg","text":"TemporaryFile(/tmp/multipartBody1971319190235895863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425794503,"filename":"image_25112025_18_30_11_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb17ef4593f1e443352e2cb21961c753.jpg","text":"TemporaryFile(/tmp/multipartBody435553516082632969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425794503,"filename":"image_25112025_18_30_14_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/954b67c2cfa8c834ab6f331bcf88c5e9.jpg","text":"TemporaryFile(/tmp/multipartBody5523836992825504037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425794503,"filename":"image_25112025_18_30_20_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/850d94fb8860df33719f89c6064509dd.jpg","text":"TemporaryFile(/tmp/multipartBody3344107307016492624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425794503,"filename":"image_25112025_18_29_59_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7747ad15fcad3a67113ddbcac49a692f.jpg","text":"TemporaryFile(/tmp/multipartBody307935476310284017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425794503,"filename":"image_25112025_18_30_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a7e51088741ef14fd602e8bb01bd243.jpg","text":"TemporaryFile(/tmp/multipartBody2641004737905502787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425794503,"filename":"image_25112025_18_30_16_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902645","file1":"1396902643","file0":"1396902640","file4":"1396902648","file5":"1396902649","file3":"1396902647"},"map_files_photo_id_array":[{"photo_id":"1396902649","filename":"file5"},{"photo_id":"1396902645","filename":"file2"},{"photo_id":"1396902648","filename":"file4"},{"photo_id":"1396902643","filename":"file1"},{"photo_id":"1396902640","filename":"file0"},{"photo_id":"1396902647","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396902645":["hashtag1","hashtag2"]},{"1396902647":["hashtag1","hashtag2"]},{"1396902649":["hashtag1","hashtag2"]},{"1396902640":["hashtag1","hashtag2"]},{"1396902643":["hashtag1","hashtag2"]},{"1396902648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396902645, 1396902647, 1396902649, 1396902640, 1396902643, 1396902648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3705689907074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:16:12.505435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_23_2557.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_25_2782.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_29_3579.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_32_2627.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_38_2580.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_40_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_23_2557.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_25_2782.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_29_3579.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_32_2627.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_38_2580.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_40_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902663","1396902657","1396902650","1396902652","1396902660","1396902654"],"photo_ids_order":["1396902650","1396902652","1396902654","1396902657","1396902660","1396902663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5ec1616bdf38ec1c6b299b4a4b4a9e7.jpg","text":"TemporaryFile(/tmp/multipartBody6014204314991795823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425834555,"filename":"image_25112025_18_30_40_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbbc232f9ee01b485b7de0c2d3a257c6.jpg","text":"TemporaryFile(/tmp/multipartBody5875940248299343625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425834555,"filename":"image_25112025_18_30_32_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/938b1f7a0a772b458a4819a4550735cd.jpg","text":"TemporaryFile(/tmp/multipartBody4631815498196569250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425834555,"filename":"image_25112025_18_30_23_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bef14fd38dd005e8009288e653ee727e.jpg","text":"TemporaryFile(/tmp/multipartBody7717110894602359299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425834555,"filename":"image_25112025_18_30_25_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a879cda167363cf3d9ecdb979d35517.jpg","text":"TemporaryFile(/tmp/multipartBody8675674879711527262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425834555,"filename":"image_25112025_18_30_38_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b37bdf265f5bf3f14da36b3ddd1523f3.jpg","text":"TemporaryFile(/tmp/multipartBody4533058592265373646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425834555,"filename":"image_25112025_18_30_29_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902654","file1":"1396902652","file0":"1396902650","file4":"1396902660","file5":"1396902663","file3":"1396902657"},"map_files_photo_id_array":[{"photo_id":"1396902663","filename":"file5"},{"photo_id":"1396902654","filename":"file2"},{"photo_id":"1396902660","filename":"file4"},{"photo_id":"1396902652","filename":"file1"},{"photo_id":"1396902650","filename":"file0"},{"photo_id":"1396902657","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396902663":["hashtag1","hashtag2"]},{"1396902657":["hashtag1","hashtag2"]},{"1396902650":["hashtag1","hashtag2"]},{"1396902652":["hashtag1","hashtag2"]},{"1396902660":["hashtag1","hashtag2"]},{"1396902654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396902663, 1396902657, 1396902650, 1396902652, 1396902660, 1396902654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82235932350159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:17:03.426887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/14/image_29112025_15_14_54_9683.jpg', '/home/pi/Desktop/images/29112025/15/15/image_29112025_15_15_35_10762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/14/image_29112025_15_14_54_9683.jpg
/home/pi/Desktop/images/29112025/15/15/image_29112025_15_15_35_10762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902671","1396902670"],"photo_ids_order":["1396902670","1396902671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91480539a6f50c9a2954c26fcf0d51af.jpg","text":"TemporaryFile(/tmp/multipartBody8872447357256111249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425884008,"filename":"image_29112025_15_15_35_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27e39153b1a8b5565cfe065713d8d37e.jpg","text":"TemporaryFile(/tmp/multipartBody6935100480662788606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425884008,"filename":"image_29112025_15_14_54_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396902671","file0":"1396902670"},"map_files_photo_id_array":[{"photo_id":"1396902671","filename":"file1"},{"photo_id":"1396902670","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396902671":["hashtag1","hashtag2"]},{"1396902670":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396902671, 1396902670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.873297929763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:17:32.816780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_44_3535.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_46_2605.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_50_3734.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_53_2517.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_55_2768.jpg', '/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_59_3684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_44_3535.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_46_2605.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_50_3734.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_53_2517.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_55_2768.jpg
/home/pi/Desktop/images/25112025/18/30/image_25112025_18_30_59_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":["1396902719","1396902718","1396902709","1396902690","1396902684","1396902687"],"photo_ids_order":["1396902684","1396902687","1396902690","1396902709","1396902718","1396902719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b029e4ca51b113bba2a285bc70aa6d4.jpg","text":"TemporaryFile(/tmp/multipartBody8867027770250842803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425915002,"filename":"image_25112025_18_30_59_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86525c41be677870555a4044a36e0cd0.jpg","text":"TemporaryFile(/tmp/multipartBody185545055271805284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425915002,"filename":"image_25112025_18_30_55_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e629961363488998183a8af7acd6ac27.jpg","text":"TemporaryFile(/tmp/multipartBody3244522150157956889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425915002,"filename":"image_25112025_18_30_53_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e25d48fd050226ba6eabe675b8568fe.jpg","text":"TemporaryFile(/tmp/multipartBody5760080097213245905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425915002,"filename":"image_25112025_18_30_50_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7a1437a1679c777b1bdcbb5c2c800cc.jpg","text":"TemporaryFile(/tmp/multipartBody6974498418666669339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425915002,"filename":"image_25112025_18_30_44_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d62f97c2f453d2e3748fa4332143ecba.jpg","text":"TemporaryFile(/tmp/multipartBody3646080915012719489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425915002,"filename":"image_25112025_18_30_46_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902690","file1":"1396902687","file0":"1396902684","file4":"1396902718","file5":"1396902719","file3":"1396902709"},"map_files_photo_id_array":[{"photo_id":"1396902719","filename":"file5"},{"photo_id":"1396902690","filename":"file2"},{"photo_id":"1396902718","filename":"file4"},{"photo_id":"1396902687","filename":"file1"},{"photo_id":"1396902684","filename":"file0"},{"photo_id":"1396902709","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396902719":["hashtag1","hashtag2"]},{"1396902718":["hashtag1","hashtag2"]},{"1396902709":["hashtag1","hashtag2"]},{"1396902690":["hashtag1","hashtag2"]},{"1396902684":["hashtag1","hashtag2"]},{"1396902687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396902719, 1396902718, 1396902709, 1396902690, 1396902684, 1396902687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26024317741394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:18:11.891916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_02_2659.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_04_2513.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_08_3508.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_11_2707.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_13_2632.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_20_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_02_2659.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_04_2513.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_08_3508.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_11_2707.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_13_2632.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_20_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396902912","1396902959","1396902803","1396902838","1396902996","1396902876"],"photo_ids_order":["1396902803","1396902838","1396902876","1396902912","1396902959","1396902996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95135847bdf57ad40fa9c9bc8f09f210.jpg","text":"TemporaryFile(/tmp/multipartBody8845444329418723649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425953931,"filename":"image_25112025_18_31_11_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f04d55ee542fe3b1e983bb5c5fde1a6.jpg","text":"TemporaryFile(/tmp/multipartBody5946323345056543524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425953931,"filename":"image_25112025_18_31_13_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bdf0e73b3ef694fecb8275ce9940cfcb.jpg","text":"TemporaryFile(/tmp/multipartBody6864122745856082275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425953931,"filename":"image_25112025_18_31_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/11/29/b891ed2aaa5aff50f411693448d88308.jpg","text":"TemporaryFile(/tmp/multipartBody7883414779236903150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425953931,"filename":"image_25112025_18_31_04_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/00c7d3ad6743439f7ac77b85bd790b51.jpg","text":"TemporaryFile(/tmp/multipartBody6764651072306534791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425953931,"filename":"image_25112025_18_31_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/11/29/2a06bad098ce216f4e18a788c580a8ca.jpg","text":"TemporaryFile(/tmp/multipartBody3578657748730787617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764425953931,"filename":"image_25112025_18_31_08_3508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396902876","file1":"1396902838","file0":"1396902803","file4":"1396902959","file5":"1396902996","file3":"1396902912"},"map_files_photo_id_array":[{"photo_id":"1396902996","filename":"file5"},{"photo_id":"1396902876","filename":"file2"},{"photo_id":"1396902959","filename":"file4"},{"photo_id":"1396902838","filename":"file1"},{"photo_id":"1396902803","filename":"file0"},{"photo_id":"1396902912","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396902912":["hashtag1","hashtag2"]},{"1396902959":["hashtag1","hashtag2"]},{"1396902803":["hashtag1","hashtag2"]},{"1396902838":["hashtag1","hashtag2"]},{"1396902996":["hashtag1","hashtag2"]},{"1396902876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396902912, 1396902959, 1396902803, 1396902838, 1396902996, 1396902876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47589182853699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:19:02.981809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/16/image_29112025_15_16_25_9685.jpg', '/home/pi/Desktop/images/29112025/15/16/image_29112025_15_17_04_9788.jpg', '/home/pi/Desktop/images/29112025/15/17/image_29112025_15_17_45_10723.jpg', '/home/pi/Desktop/images/29112025/15/17/image_29112025_15_17_55_9627.jpg', '/home/pi/Desktop/images/29112025/15/17/image_29112025_15_18_05_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/16/image_29112025_15_16_25_9685.jpg
/home/pi/Desktop/images/29112025/15/16/image_29112025_15_17_04_9788.jpg
/home/pi/Desktop/images/29112025/15/17/image_29112025_15_17_45_10723.jpg
/home/pi/Desktop/images/29112025/15/17/image_29112025_15_17_55_9627.jpg
/home/pi/Desktop/images/29112025/15/17/image_29112025_15_18_05_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":["1396903046","1396903045","1396903048","1396903050","1396903047"],"photo_ids_order":["1396903045","1396903046","1396903047","1396903048","1396903050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3998a8d9aea445d270cdd87ee539098d.jpg","text":"TemporaryFile(/tmp/multipartBody7941133998460721602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426003859,"filename":"image_29112025_15_17_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c49e333fac9f03e5a2e4c4d52bef6095.jpg","text":"TemporaryFile(/tmp/multipartBody1370421684499247825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426003859,"filename":"image_29112025_15_16_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a90b3192815085f725799e1ebbfef309.jpg","text":"TemporaryFile(/tmp/multipartBody2726088140512456121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426003859,"filename":"image_29112025_15_17_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9d7ad549599f756fd62f722f809a4d9.jpg","text":"TemporaryFile(/tmp/multipartBody8258846810240630067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426003859,"filename":"image_29112025_15_18_05_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77dc3d28a0a54ae625ec76c6bba22c4f.jpg","text":"TemporaryFile(/tmp/multipartBody6188388180943921214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426003859,"filename":"image_29112025_15_17_45_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396903047","file1":"1396903046","file0":"1396903045","file4":"1396903050","file3":"1396903048"},"map_files_photo_id_array":[{"photo_id":"1396903047","filename":"file2"},{"photo_id":"1396903050","filename":"file4"},{"photo_id":"1396903046","filename":"file1"},{"photo_id":"1396903045","filename":"file0"},{"photo_id":"1396903048","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396903046":["hashtag1","hashtag2"]},{"1396903045":["hashtag1","hashtag2"]},{"1396903048":["hashtag1","hashtag2"]},{"1396903050":["hashtag1","hashtag2"]},{"1396903047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396903046, 1396903045, 1396903048, 1396903050, 1396903047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.9559965133667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:19:42.214937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_44_2624.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_48_3901.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_51_2986.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_57_2659.jpg', '/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_59_2662.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_06_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_44_2624.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_48_3901.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_51_2986.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_57_2659.jpg
/home/pi/Desktop/images/31102025/09/54/image_31102025_09_54_59_2662.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_06_3018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396903067","1396903064","1396903066","1396903062","1396903065","1396903097"],"photo_ids_order":["1396903062","1396903064","1396903065","1396903066","1396903067","1396903097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98d1b533af45b9b48f01e6ba88040288.jpg","text":"TemporaryFile(/tmp/multipartBody1215293975460500482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426043328,"filename":"image_31102025_09_54_59_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46ff06dd37487d9b2e2d75cdbc8b6053.jpg","text":"TemporaryFile(/tmp/multipartBody1095184125368354015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426043328,"filename":"image_31102025_09_54_48_3901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65d0465a73f52b610c3b369ff0da6e37.jpg","text":"TemporaryFile(/tmp/multipartBody1644807507815937082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426043328,"filename":"image_31102025_09_54_57_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4823cb46722e20483ff34c91312364e3.jpg","text":"TemporaryFile(/tmp/multipartBody5356254814374090927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426043328,"filename":"image_31102025_09_54_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/11/29/03c48ded100f7f0ad0dfed818f5bede2.jpg","text":"TemporaryFile(/tmp/multipartBody4081073037700404834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426043328,"filename":"image_31102025_09_54_51_2986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e395fad136f8a8576d24d150e4fdd3b2.jpg","text":"TemporaryFile(/tmp/multipartBody4842268300677394299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426043328,"filename":"image_31102025_09_55_06_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396903065","file1":"1396903064","file0":"1396903062","file4":"1396903067","file5":"1396903097","file3":"1396903066"},"map_files_photo_id_array":[{"photo_id":"1396903097","filename":"file5"},{"photo_id":"1396903065","filename":"file2"},{"photo_id":"1396903067","filename":"file4"},{"photo_id":"1396903064","filename":"file1"},{"photo_id":"1396903062","filename":"file0"},{"photo_id":"1396903066","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396903067":["hashtag1","hashtag2"]},{"1396903064":["hashtag1","hashtag2"]},{"1396903066":["hashtag1","hashtag2"]},{"1396903062":["hashtag1","hashtag2"]},{"1396903065":["hashtag1","hashtag2"]},{"1396903097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396903067, 1396903064, 1396903066, 1396903062, 1396903065, 1396903097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32311177253723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:20:22.341013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_22_2675.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_26_3749.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_29_2543.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_31_2553.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_35_3688.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_37_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_22_2675.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_26_3749.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_29_2543.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_31_2553.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_35_3688.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_37_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":["1396903367","1396903406","1396903241","1396903285","1396903444","1396903326"],"photo_ids_order":["1396903241","1396903285","1396903326","1396903367","1396903406","1396903444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0c3ca1d678397bf9d64c029df4eae62.jpg","text":"TemporaryFile(/tmp/multipartBody2506031750702507427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426084486,"filename":"image_25112025_18_31_31_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6c57a6f210bd28646a07bc57584640c.jpg","text":"TemporaryFile(/tmp/multipartBody6770519258129237444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426084486,"filename":"image_25112025_18_31_35_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b16fcc70c988c0379d90fe6212e260e9.jpg","text":"TemporaryFile(/tmp/multipartBody7750784649645829151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426084486,"filename":"image_25112025_18_31_22_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd08e9f730048a3f066db36d042a76c3.jpg","text":"TemporaryFile(/tmp/multipartBody5343316661929171530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426084486,"filename":"image_25112025_18_31_26_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9dfb0df1fb52a6d5ba6fa42c7d83aa7b.jpg","text":"TemporaryFile(/tmp/multipartBody5190797047251430992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426084486,"filename":"image_25112025_18_31_37_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/960dbee998c0a306ef51db21506f22d0.jpg","text":"TemporaryFile(/tmp/multipartBody2203907170999514770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426084486,"filename":"image_25112025_18_31_29_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396903326","file1":"1396903285","file0":"1396903241","file4":"1396903406","file5":"1396903444","file3":"1396903367"},"map_files_photo_id_array":[{"photo_id":"1396903444","filename":"file5"},{"photo_id":"1396903326","filename":"file2"},{"photo_id":"1396903406","filename":"file4"},{"photo_id":"1396903285","filename":"file1"},{"photo_id":"1396903241","filename":"file0"},{"photo_id":"1396903367","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396903367":["hashtag1","hashtag2"]},{"1396903406":["hashtag1","hashtag2"]},{"1396903241":["hashtag1","hashtag2"]},{"1396903285":["hashtag1","hashtag2"]},{"1396903444":["hashtag1","hashtag2"]},{"1396903326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396903367, 1396903406, 1396903241, 1396903285, 1396903444, 1396903326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87520432472229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:21:03.329157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_40_2807.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_44_3519.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_47_2749.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_50_3923.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_52_1814.jpg', '/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_56_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_40_2807.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_44_3519.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_47_2749.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_50_3923.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_52_1814.jpg
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_56_3543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396903605","1396903712","1396903753","1396903788","1396903677","1396903641"],"photo_ids_order":["1396903605","1396903641","1396903677","1396903712","1396903753","1396903788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b7fd960614b40fa005c44375657375d.jpg","text":"TemporaryFile(/tmp/multipartBody6735640204941424447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426125010,"filename":"image_25112025_18_31_40_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da01c7a2537412491f1ec89b88c6b7d9.jpg","text":"TemporaryFile(/tmp/multipartBody7778065414344015109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426125010,"filename":"image_25112025_18_31_50_3923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adf88ac45d0aa734b42464b0061194e0.jpg","text":"TemporaryFile(/tmp/multipartBody5288546574551817976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426125010,"filename":"image_25112025_18_31_52_1814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d99381618a8bf4588e00947feb68965.jpg","text":"TemporaryFile(/tmp/multipartBody4656389247424603389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426125010,"filename":"image_25112025_18_31_56_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/310e3db4a602475b0b9f5c01d0021718.jpg","text":"TemporaryFile(/tmp/multipartBody5527257412137380778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426125010,"filename":"image_25112025_18_31_47_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37fbfd2ddcb9a0dab90a8960aa1001f3.jpg","text":"TemporaryFile(/tmp/multipartBody2743344031391483176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426125010,"filename":"image_25112025_18_31_44_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396903677","file1":"1396903641","file0":"1396903605","file4":"1396903753","file5":"1396903788","file3":"1396903712"},"map_files_photo_id_array":[{"photo_id":"1396903788","filename":"file5"},{"photo_id":"1396903677","filename":"file2"},{"photo_id":"1396903753","filename":"file4"},{"photo_id":"1396903641","filename":"file1"},{"photo_id":"1396903605","filename":"file0"},{"photo_id":"1396903712","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396903605":["hashtag1","hashtag2"]},{"1396903712":["hashtag1","hashtag2"]},{"1396903753":["hashtag1","hashtag2"]},{"1396903788":["hashtag1","hashtag2"]},{"1396903677":["hashtag1","hashtag2"]},{"1396903641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396903605, 1396903712, 1396903753, 1396903788, 1396903677, 1396903641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35772204399109 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:21:42.607212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_09_2705.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_11_2824.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_14_2807.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_18_3620.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_20_2567.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_24_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/09/55/image_31102025_09_55_09_2705.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_11_2824.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_14_2807.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_18_3620.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_20_2567.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_24_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":["1396904060","1396903988","1396904024","1396904098","1396903953","1396903917"],"photo_ids_order":["1396903917","1396903953","1396903988","1396904024","1396904060","1396904098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f6c139793987807faf80b9d8df43be4.jpg","text":"TemporaryFile(/tmp/multipartBody155220518462531823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426163711,"filename":"image_31102025_09_55_20_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44798d91d075dee3d7a9bdac27ba34fc.jpg","text":"TemporaryFile(/tmp/multipartBody5872044981415787774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426163711,"filename":"image_31102025_09_55_14_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edbd11a742e7e0ee5ddacc1d91338811.jpg","text":"TemporaryFile(/tmp/multipartBody6732852281554098502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426163711,"filename":"image_31102025_09_55_18_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0deed0a5f6c04613360282a0b0d2825.jpg","text":"TemporaryFile(/tmp/multipartBody8375286956277443665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426163711,"filename":"image_31102025_09_55_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/11/29/6e6c060ae1a921eb5d977eca2b574631.jpg","text":"TemporaryFile(/tmp/multipartBody6838094439906673565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426163711,"filename":"image_31102025_09_55_11_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5fe473c41e27fa5ea47a0695dfd4fbf.jpg","text":"TemporaryFile(/tmp/multipartBody907922205123188868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426163711,"filename":"image_31102025_09_55_09_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396903988","file1":"1396903953","file0":"1396903917","file4":"1396904060","file5":"1396904098","file3":"1396904024"},"map_files_photo_id_array":[{"photo_id":"1396904098","filename":"file5"},{"photo_id":"1396903988","filename":"file2"},{"photo_id":"1396904060","filename":"file4"},{"photo_id":"1396903953","filename":"file1"},{"photo_id":"1396903917","filename":"file0"},{"photo_id":"1396904024","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396904060":["hashtag1","hashtag2"]},{"1396903988":["hashtag1","hashtag2"]},{"1396904024":["hashtag1","hashtag2"]},{"1396904098":["hashtag1","hashtag2"]},{"1396903953":["hashtag1","hashtag2"]},{"1396903917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396904060, 1396903988, 1396904024, 1396904098, 1396903953, 1396903917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82680296897888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:22:22.839702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/18/image_29112025_15_18_14_9688.jpg', '/home/pi/Desktop/images/29112025/15/22/image_29112025_15_22_25_10773.jpg', '/home/pi/Desktop/images/29112025/15/22/image_29112025_15_22_35_10003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/18/image_29112025_15_18_14_9688.jpg
/home/pi/Desktop/images/29112025/15/22/image_29112025_15_22_25_10773.jpg
/home/pi/Desktop/images/29112025/15/22/image_29112025_15_22_35_10003.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47557973861694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:22:32.748338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_59_2720.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_01_2695.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_05_3699.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_07_2539.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_10_2584.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_14_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/31/image_25112025_18_31_59_2720.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_01_2695.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_05_3699.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_07_2539.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_10_2584.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_14_3601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396904324","1396904323","1396904313","1396904322","1396904316","1396904319"],"photo_ids_order":["1396904313","1396904316","1396904319","1396904322","1396904323","1396904324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc2034a2f45df9dcc9d97989c120ce00.jpg","text":"TemporaryFile(/tmp/multipartBody6972238163340738127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426214947,"filename":"image_25112025_18_32_14_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b0fc2a2976482a2274fa945ffe543ea.jpg","text":"TemporaryFile(/tmp/multipartBody2488505384283237502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426214947,"filename":"image_25112025_18_32_10_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11e8566d0c5dce0242da8b388dfcf45d.jpg","text":"TemporaryFile(/tmp/multipartBody5569856530163304846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426214947,"filename":"image_25112025_18_31_59_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c63ed8072093b1bbfc82fd06b63624a.jpg","text":"TemporaryFile(/tmp/multipartBody7541689928743185590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426214947,"filename":"image_25112025_18_32_07_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d774b0ff16f2a6f42e769daebc020401.jpg","text":"TemporaryFile(/tmp/multipartBody1447563584454511325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426214947,"filename":"image_25112025_18_32_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/11/29/8eb7b401c4433c0f77ce34f6627f6f07.jpg","text":"TemporaryFile(/tmp/multipartBody2818470192663640215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426214947,"filename":"image_25112025_18_32_05_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396904319","file1":"1396904316","file0":"1396904313","file4":"1396904323","file5":"1396904324","file3":"1396904322"},"map_files_photo_id_array":[{"photo_id":"1396904324","filename":"file5"},{"photo_id":"1396904319","filename":"file2"},{"photo_id":"1396904323","filename":"file4"},{"photo_id":"1396904316","filename":"file1"},{"photo_id":"1396904313","filename":"file0"},{"photo_id":"1396904322","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396904324":["hashtag1","hashtag2"]},{"1396904323":["hashtag1","hashtag2"]},{"1396904313":["hashtag1","hashtag2"]},{"1396904322":["hashtag1","hashtag2"]},{"1396904316":["hashtag1","hashtag2"]},{"1396904319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396904324, 1396904323, 1396904313, 1396904322, 1396904316, 1396904319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02830624580383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:23:12.103775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_17_3056.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_19_2659.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_26_3666.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_29_2674.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_31_2577.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_35_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_17_3056.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_19_2659.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_26_3666.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_29_2674.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_31_2577.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_35_3613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396904339","1396904335","1396904329","1396904326","1396904331","1396904325"],"photo_ids_order":["1396904325","1396904326","1396904329","1396904331","1396904335","1396904339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a5ac3b8def1322e6b240e7823ef4aa0.jpg","text":"TemporaryFile(/tmp/multipartBody5252837178950226195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426254186,"filename":"image_25112025_18_32_35_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11d3f659578bc2459738fb2f1c7f8ba2.jpg","text":"TemporaryFile(/tmp/multipartBody4889183576983848306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426254186,"filename":"image_25112025_18_32_31_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91289e932f040e0d37a15032cb713aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4805200648895555779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426254186,"filename":"image_25112025_18_32_26_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9971cfda23f9777926dd3fc51078cb77.jpg","text":"TemporaryFile(/tmp/multipartBody5824605067329102539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426254186,"filename":"image_25112025_18_32_19_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/413bdc587325f08255fd642bf3b4bac9.jpg","text":"TemporaryFile(/tmp/multipartBody5580578732409208914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426254186,"filename":"image_25112025_18_32_29_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f8223e69df0a56ac8ce450bf46fae5e.jpg","text":"TemporaryFile(/tmp/multipartBody5312262651176384247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426254186,"filename":"image_25112025_18_32_17_3056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396904329","file1":"1396904326","file0":"1396904325","file4":"1396904335","file5":"1396904339","file3":"1396904331"},"map_files_photo_id_array":[{"photo_id":"1396904339","filename":"file5"},{"photo_id":"1396904329","filename":"file2"},{"photo_id":"1396904335","filename":"file4"},{"photo_id":"1396904326","filename":"file1"},{"photo_id":"1396904325","filename":"file0"},{"photo_id":"1396904331","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396904339":["hashtag1","hashtag2"]},{"1396904335":["hashtag1","hashtag2"]},{"1396904329":["hashtag1","hashtag2"]},{"1396904326":["hashtag1","hashtag2"]},{"1396904331":["hashtag1","hashtag2"]},{"1396904325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396904339, 1396904335, 1396904329, 1396904326, 1396904331, 1396904325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55191206932068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:24:02.997537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/18/image_29112025_15_18_14_9688.jpg', '/home/pi/Desktop/images/29112025/15/22/image_29112025_15_22_25_10773.jpg', '/home/pi/Desktop/images/29112025/15/22/image_29112025_15_22_35_10003.jpg', '/home/pi/Desktop/images/29112025/15/22/image_29112025_15_22_54_9761.jpg', '/home/pi/Desktop/images/29112025/15/22/image_29112025_15_23_04_9881.jpg', '/home/pi/Desktop/images/29112025/15/23/image_29112025_15_23_15_10514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/18/image_29112025_15_18_14_9688.jpg
/home/pi/Desktop/images/29112025/15/22/image_29112025_15_22_25_10773.jpg
/home/pi/Desktop/images/29112025/15/22/image_29112025_15_22_35_10003.jpg
/home/pi/Desktop/images/29112025/15/22/image_29112025_15_22_54_9761.jpg
/home/pi/Desktop/images/29112025/15/22/image_29112025_15_23_04_9881.jpg
/home/pi/Desktop/images/29112025/15/23/image_29112025_15_23_15_10514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396904653","1396904554","1396904518","1396904688","1396904619","1396904585"],"photo_ids_order":["1396904518","1396904554","1396904585","1396904619","1396904653","1396904688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5ec82f7666f13526d5e6e638a58bb61.jpg","text":"TemporaryFile(/tmp/multipartBody4286106354601595428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426303726,"filename":"image_29112025_15_23_04_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/950919a36f12eb769aedb3a59778588d.jpg","text":"TemporaryFile(/tmp/multipartBody5452725623322388980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426303726,"filename":"image_29112025_15_22_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/11/29/75de00b49eed58c727ae07dc7dc51ee6.jpg","text":"TemporaryFile(/tmp/multipartBody7197467447844823374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426303726,"filename":"image_29112025_15_18_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/11/29/ac3f521a95235cafc9495c1d0ec49c04.jpg","text":"TemporaryFile(/tmp/multipartBody6992984693458570600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426303726,"filename":"image_29112025_15_23_15_10514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b8c6fcdb562f11169c35abfb565f3e6.jpg","text":"TemporaryFile(/tmp/multipartBody7131027337330657755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426303726,"filename":"image_29112025_15_22_54_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95ce14ff89bc563c427174d5ed3078f5.jpg","text":"TemporaryFile(/tmp/multipartBody1708800270502236349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426303726,"filename":"image_29112025_15_22_35_10003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396904585","file1":"1396904554","file0":"1396904518","file4":"1396904653","file5":"1396904688","file3":"1396904619"},"map_files_photo_id_array":[{"photo_id":"1396904688","filename":"file5"},{"photo_id":"1396904585","filename":"file2"},{"photo_id":"1396904653","filename":"file4"},{"photo_id":"1396904554","filename":"file1"},{"photo_id":"1396904518","filename":"file0"},{"photo_id":"1396904619","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396904653":["hashtag1","hashtag2"]},{"1396904554":["hashtag1","hashtag2"]},{"1396904518":["hashtag1","hashtag2"]},{"1396904688":["hashtag1","hashtag2"]},{"1396904619":["hashtag1","hashtag2"]},{"1396904585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396904653, 1396904554, 1396904518, 1396904688, 1396904619, 1396904585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05814003944397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:24:42.298440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_29_2641.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_39_2641.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_41_2707.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_45_3807.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_48_2729.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_50_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/09/55/image_31102025_09_55_29_2641.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_39_2641.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_41_2707.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_45_3807.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_48_2729.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_50_2665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0428333282470703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:25:03.012666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/23/image_29112025_15_23_54_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/23/image_29112025_15_23_54_9570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396904849"],"photo_id":"1396904849","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0d9beefa5cdd1b339a7b252f6c4fbff.jpg","text":"TemporaryFile(/tmp/multipartBody3278951829475967494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426363565,"filename":"image_29112025_15_23_54_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396904849"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396904849"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.328251600265503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:25:22.485983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/24/image_29112025_15_24_25_9600.jpg', '/home/pi/Desktop/images/29112025/15/24/image_29112025_15_25_04_9691.jpg', '/home/pi/Desktop/images/29112025/15/25/image_29112025_15_25_25_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/24/image_29112025_15_24_25_9600.jpg
/home/pi/Desktop/images/29112025/15/24/image_29112025_15_25_04_9691.jpg
/home/pi/Desktop/images/29112025/15/25/image_29112025_15_25_25_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":["1396904921","1396904970","1396904955"],"photo_ids_order":["1396904921","1396904955","1396904970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da32a6e547f401fc4627a93f0e3b5718.jpg","text":"TemporaryFile(/tmp/multipartBody1298576957062930835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426383065,"filename":"image_29112025_15_24_25_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0352a5c798e3f4440eab24a7578481c.jpg","text":"TemporaryFile(/tmp/multipartBody6951961799536914867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426383065,"filename":"image_29112025_15_25_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/11/29/5a5e0bb211c9efe2f0b42dce176b97a2.jpg","text":"TemporaryFile(/tmp/multipartBody7267814343507812649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426383065,"filename":"image_29112025_15_25_04_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396904970","file1":"1396904955","file0":"1396904921"},"map_files_photo_id_array":[{"photo_id":"1396904970","filename":"file2"},{"photo_id":"1396904955","filename":"file1"},{"photo_id":"1396904921","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396904921":["hashtag1","hashtag2"]},{"1396904970":["hashtag1","hashtag2"]},{"1396904955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396904921, 1396904970, 1396904955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.3491313457489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:26:03.076862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_37_2723.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_41_3504.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_44_2569.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_46_2616.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_52_2643.jpg', '/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_55_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_37_2723.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_41_3504.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_44_2569.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_46_2616.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_52_2643.jpg
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_55_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396904983","1396904992","1396904986","1396904989","1396904985","1396904984"],"photo_ids_order":["1396904983","1396904984","1396904985","1396904986","1396904989","1396904992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7369ae8edcac067a4fa212b0d9880ac1.jpg","text":"TemporaryFile(/tmp/multipartBody7874381552184696147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426424645,"filename":"image_25112025_18_32_37_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff7e81f6f050fd02f61463b6b2e86518.jpg","text":"TemporaryFile(/tmp/multipartBody1524567714740800756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426424645,"filename":"image_25112025_18_32_55_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84801453fd585693532e4871a0fdd8dc.jpg","text":"TemporaryFile(/tmp/multipartBody6711425202299414216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426424645,"filename":"image_25112025_18_32_46_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98ef065053e8d6f8cf650acfde68f513.jpg","text":"TemporaryFile(/tmp/multipartBody2014131484675892983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426424645,"filename":"image_25112025_18_32_52_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca8693997f3770237a905144908dd4b7.jpg","text":"TemporaryFile(/tmp/multipartBody1414462809752959469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426424645,"filename":"image_25112025_18_32_44_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5bff587e9cda98a47198c3e6f3eb1d3.jpg","text":"TemporaryFile(/tmp/multipartBody8357738073900450175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426424645,"filename":"image_25112025_18_32_41_3504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396904985","file1":"1396904984","file0":"1396904983","file4":"1396904989","file5":"1396904992","file3":"1396904986"},"map_files_photo_id_array":[{"photo_id":"1396904992","filename":"file5"},{"photo_id":"1396904985","filename":"file2"},{"photo_id":"1396904989","filename":"file4"},{"photo_id":"1396904984","filename":"file1"},{"photo_id":"1396904983","filename":"file0"},{"photo_id":"1396904986","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396904983":["hashtag1","hashtag2"]},{"1396904992":["hashtag1","hashtag2"]},{"1396904986":["hashtag1","hashtag2"]},{"1396904989":["hashtag1","hashtag2"]},{"1396904985":["hashtag1","hashtag2"]},{"1396904984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396904983, 1396904992, 1396904986, 1396904989, 1396904985, 1396904984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15759825706482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:26:42.789973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_29_2641.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_39_2641.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_41_2707.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_45_3807.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_48_2729.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_50_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/09/55/image_31102025_09_55_29_2641.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_39_2641.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_41_2707.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_45_3807.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_48_2729.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_50_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":["1396905037","1396905031","1396905004","1396905001","1396905039","1396905038"],"photo_ids_order":["1396905001","1396905004","1396905031","1396905037","1396905038","1396905039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36285aa0b8b6f3788fe0eddf3d7acd5e.jpg","text":"TemporaryFile(/tmp/multipartBody8261547702502783840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426463796,"filename":"image_31102025_09_55_45_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dab3d95535f895ef2062651ee59c64a2.jpg","text":"TemporaryFile(/tmp/multipartBody5274988441457461704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426463796,"filename":"image_31102025_09_55_41_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/399d01779c6a2fdd8f43fe52b7c7fe6e.jpg","text":"TemporaryFile(/tmp/multipartBody2927509170786033536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426463796,"filename":"image_31102025_09_55_39_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae0bade6bff687b0220d6fd3983d409e.jpg","text":"TemporaryFile(/tmp/multipartBody496652388663388714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426463796,"filename":"image_31102025_09_55_29_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d6a5fe0ecfc4fda206b6392d523024a.jpg","text":"TemporaryFile(/tmp/multipartBody4526376744896806228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426463796,"filename":"image_31102025_09_55_50_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d39131ea4b5323c45dd1e56d89e2880.jpg","text":"TemporaryFile(/tmp/multipartBody1548686178435557094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426463796,"filename":"image_31102025_09_55_48_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905031","file1":"1396905004","file0":"1396905001","file4":"1396905038","file5":"1396905039","file3":"1396905037"},"map_files_photo_id_array":[{"photo_id":"1396905039","filename":"file5"},{"photo_id":"1396905031","filename":"file2"},{"photo_id":"1396905038","filename":"file4"},{"photo_id":"1396905004","filename":"file1"},{"photo_id":"1396905001","filename":"file0"},{"photo_id":"1396905037","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905037":["hashtag1","hashtag2"]},{"1396905031":["hashtag1","hashtag2"]},{"1396905004":["hashtag1","hashtag2"]},{"1396905001":["hashtag1","hashtag2"]},{"1396905039":["hashtag1","hashtag2"]},{"1396905038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905037, 1396905031, 1396905004, 1396905001, 1396905039, 1396905038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7607216835022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:27:21.946665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/25/image_29112025_15_25_44_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/25/image_29112025_15_25_44_9809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905041"],"photo_id":"1396905041","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8a864ad6822be0c5df566266c42c310.jpg","text":"TemporaryFile(/tmp/multipartBody411419445930396646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426502459,"filename":"image_29112025_15_25_44_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396905041"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396905041"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.526320219039917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:27:41.977223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_54_3592.jpg', '/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_57_2800.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_02_2669.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_09_2725.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_11_2820.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_15_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/09/55/image_31102025_09_55_54_3592.jpg
/home/pi/Desktop/images/31102025/09/55/image_31102025_09_55_57_2800.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_02_2669.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_09_2725.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_11_2820.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_15_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":["1396905055","1396905058","1396905057","1396905060","1396905056","1396905053"],"photo_ids_order":["1396905053","1396905055","1396905056","1396905057","1396905058","1396905060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b699b91772def56cb4fce4538108d68.jpg","text":"TemporaryFile(/tmp/multipartBody4148908742876262025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426523102,"filename":"image_31102025_09_55_57_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e74e6135ffe1698da8fc8bf615b57aa.jpg","text":"TemporaryFile(/tmp/multipartBody5360954914700783413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426523102,"filename":"image_31102025_09_56_11_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e46fde6e235111786ed6765b74946af.jpg","text":"TemporaryFile(/tmp/multipartBody2385096176039982002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426523102,"filename":"image_31102025_09_56_09_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2aacb62abd65c5e2dc6b31466e9f1a79.jpg","text":"TemporaryFile(/tmp/multipartBody3482226030131666168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426523102,"filename":"image_31102025_09_56_15_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19215a430df0fbf3af1f75b53bbabc9d.jpg","text":"TemporaryFile(/tmp/multipartBody7405779291315431217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426523102,"filename":"image_31102025_09_56_02_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b6d08e9e684a85fb20d7de8787f0462.jpg","text":"TemporaryFile(/tmp/multipartBody7673679518075886812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426523102,"filename":"image_31102025_09_55_54_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905056","file1":"1396905055","file0":"1396905053","file4":"1396905058","file5":"1396905060","file3":"1396905057"},"map_files_photo_id_array":[{"photo_id":"1396905060","filename":"file5"},{"photo_id":"1396905056","filename":"file2"},{"photo_id":"1396905058","filename":"file4"},{"photo_id":"1396905055","filename":"file1"},{"photo_id":"1396905053","filename":"file0"},{"photo_id":"1396905057","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905055":["hashtag1","hashtag2"]},{"1396905058":["hashtag1","hashtag2"]},{"1396905057":["hashtag1","hashtag2"]},{"1396905060":["hashtag1","hashtag2"]},{"1396905056":["hashtag1","hashtag2"]},{"1396905053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905055, 1396905058, 1396905057, 1396905060, 1396905056, 1396905053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60276937484741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:28:22.165411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/25/image_29112025_15_26_05_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/25/image_29112025_15_26_05_9744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905062"],"photo_id":"1396905062","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e5c013a4cce89bf334325a409ca98d8.jpg","text":"TemporaryFile(/tmp/multipartBody5411611616748976600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426562679,"filename":"image_29112025_15_26_05_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396905062"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396905062"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.483356237411499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:28:42.135601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_18_2609.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_27_2601.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_29_2628.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_39_2774.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_41_2645.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_45_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_18_2609.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_27_2601.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_29_2628.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_39_2774.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_41_2645.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_45_3733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905079","1396905073","1396905076","1396905078","1396905080","1396905077"],"photo_ids_order":["1396905073","1396905076","1396905077","1396905078","1396905079","1396905080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edae600595a17caf8583b3e0477b16ef.jpg","text":"TemporaryFile(/tmp/multipartBody5861546639081672571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426583251,"filename":"image_31102025_09_56_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/11/29/3056dbdb316d211a98e69f75c0d7587a.jpg","text":"TemporaryFile(/tmp/multipartBody231416713743085057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426583251,"filename":"image_31102025_09_56_18_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/162a00d13e7b0fd2450d5f5bcacc14a2.jpg","text":"TemporaryFile(/tmp/multipartBody3073018581503765852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426583251,"filename":"image_31102025_09_56_27_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02214ada58c25a0b574f1b001cdaa135.jpg","text":"TemporaryFile(/tmp/multipartBody2856223350127120003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426583251,"filename":"image_31102025_09_56_39_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b62e300e49296249fc2ff789f805a1e.jpg","text":"TemporaryFile(/tmp/multipartBody1618586183475639737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426583251,"filename":"image_31102025_09_56_45_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba71e4898ea7f3306708b4c2bbff11a9.jpg","text":"TemporaryFile(/tmp/multipartBody3970814587842099975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426583251,"filename":"image_31102025_09_56_29_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905077","file1":"1396905076","file0":"1396905073","file4":"1396905079","file5":"1396905080","file3":"1396905078"},"map_files_photo_id_array":[{"photo_id":"1396905080","filename":"file5"},{"photo_id":"1396905077","filename":"file2"},{"photo_id":"1396905079","filename":"file4"},{"photo_id":"1396905076","filename":"file1"},{"photo_id":"1396905073","filename":"file0"},{"photo_id":"1396905078","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905079":["hashtag1","hashtag2"]},{"1396905073":["hashtag1","hashtag2"]},{"1396905076":["hashtag1","hashtag2"]},{"1396905078":["hashtag1","hashtag2"]},{"1396905080":["hashtag1","hashtag2"]},{"1396905077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905079, 1396905073, 1396905076, 1396905078, 1396905080, 1396905077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.532750606536865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:29:22.304180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/28/image_29112025_15_28_44_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/28/image_29112025_15_28_44_9716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905084"],"photo_id":"1396905084","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdfa03335576d88ac46ac9b0f67b03cc.jpg","text":"TemporaryFile(/tmp/multipartBody1985843767319569419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426622817,"filename":"image_29112025_15_28_44_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396905084"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396905084"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.826231479644775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:29:42.316903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_48_2757.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_50_2671.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_54_3594.jpg', '/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_59_2736.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_06_2619.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_08_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_48_2757.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_50_2671.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_54_3594.jpg
/home/pi/Desktop/images/31102025/09/56/image_31102025_09_56_59_2736.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_06_2619.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_08_2814.jpg
 val : 1 : upload photos 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":["1396905124","1396905096","1396905100","1396905131","1396905125","1396905134"],"photo_ids_order":["1396905096","1396905100","1396905124","1396905125","1396905131","1396905134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65ba60e0b85cd4a349f9a6c2157ffe72.jpg","text":"TemporaryFile(/tmp/multipartBody1834446742506303380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426643441,"filename":"image_31102025_09_56_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/11/29/665b175375350947499d9731b882607b.jpg","text":"TemporaryFile(/tmp/multipartBody788891011113700360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426643441,"filename":"image_31102025_09_56_48_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e3ee19995806bf0cda9f3afd5f5dfaf.jpg","text":"TemporaryFile(/tmp/multipartBody3392185597555272719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426643441,"filename":"image_31102025_09_56_50_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32eb7e7374e310cf99125c428d872177.jpg","text":"TemporaryFile(/tmp/multipartBody5437897443684723883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426643441,"filename":"image_31102025_09_57_06_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c892b6e2aa390ac71132c66c8704c099.jpg","text":"TemporaryFile(/tmp/multipartBody2312893681585121169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426643441,"filename":"image_31102025_09_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/11/29/81b1bfce88c4f42b6a73a5ac0cf6cb46.jpg","text":"TemporaryFile(/tmp/multipartBody5897142321868219764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426643441,"filename":"image_31102025_09_57_08_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905124","file1":"1396905100","file0":"1396905096","file4":"1396905131","file5":"1396905134","file3":"1396905125"},"map_files_photo_id_array":[{"photo_id":"1396905134","filename":"file5"},{"photo_id":"1396905124","filename":"file2"},{"photo_id":"1396905131","filename":"file4"},{"photo_id":"1396905100","filename":"file1"},{"photo_id":"1396905096","filename":"file0"},{"photo_id":"1396905125","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905124":["hashtag1","hashtag2"]},{"1396905096":["hashtag1","hashtag2"]},{"1396905100":["hashtag1","hashtag2"]},{"1396905131":["hashtag1","hashtag2"]},{"1396905125":["hashtag1","hashtag2"]},{"1396905134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905124, 1396905096, 1396905100, 1396905131, 1396905125, 1396905134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.62740349769592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:31:03.160557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_59_3609.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_02_2837.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_04_2502.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_08_3548.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_10_2625.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_14_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/32/image_25112025_18_32_59_3609.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_02_2837.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_04_2502.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_08_3548.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_10_2625.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_14_3666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905154","1396905148","1396905150","1396905147","1396905152","1396905146"],"photo_ids_order":["1396905146","1396905147","1396905148","1396905150","1396905152","1396905154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fd05cb24a02412afb49d4756e595ea2.jpg","text":"TemporaryFile(/tmp/multipartBody3350123012479130002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426724844,"filename":"image_25112025_18_33_14_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d21ec425ce8acbd8b8a9e9563383b48.jpg","text":"TemporaryFile(/tmp/multipartBody5182204487187675570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426724844,"filename":"image_25112025_18_33_04_2502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9014889aa5e2fd2d16f1cf1e18a0a3dd.jpg","text":"TemporaryFile(/tmp/multipartBody9106554713457040767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426724844,"filename":"image_25112025_18_33_08_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a0bab233f8bfa75a150e236e595d4da.jpg","text":"TemporaryFile(/tmp/multipartBody8114450745683701441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426724844,"filename":"image_25112025_18_33_02_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a71471d1aab9b9e03323efc1d1225ef.jpg","text":"TemporaryFile(/tmp/multipartBody626112082094574448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426724844,"filename":"image_25112025_18_33_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/11/29/6fd9753062977db6286c6ccbf309519d.jpg","text":"TemporaryFile(/tmp/multipartBody2916887912824373141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426724844,"filename":"image_25112025_18_32_59_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905148","file1":"1396905147","file0":"1396905146","file4":"1396905152","file5":"1396905154","file3":"1396905150"},"map_files_photo_id_array":[{"photo_id":"1396905154","filename":"file5"},{"photo_id":"1396905148","filename":"file2"},{"photo_id":"1396905152","filename":"file4"},{"photo_id":"1396905147","filename":"file1"},{"photo_id":"1396905146","filename":"file0"},{"photo_id":"1396905150","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396905154":["hashtag1","hashtag2"]},{"1396905148":["hashtag1","hashtag2"]},{"1396905150":["hashtag1","hashtag2"]},{"1396905147":["hashtag1","hashtag2"]},{"1396905152":["hashtag1","hashtag2"]},{"1396905146":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396905154, 1396905148, 1396905150, 1396905147, 1396905152, 1396905146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40548777580261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:31:42.648746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_11_2794.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_15_3634.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_20_2677.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_27_2712.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_29_2641.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_33_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_11_2794.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_15_3634.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_20_2677.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_27_2712.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_29_2641.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_33_3566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905172","1396905166","1396905168","1396905173","1396905170","1396905164"],"photo_ids_order":["1396905164","1396905166","1396905168","1396905170","1396905172","1396905173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3537b59d948de20ec57c8c10dda69c91.jpg","text":"TemporaryFile(/tmp/multipartBody1903294380475012442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426763776,"filename":"image_31102025_09_57_29_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a53c0dd743057c8e3d82d2897e4d2128.jpg","text":"TemporaryFile(/tmp/multipartBody1514895814012532621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426763776,"filename":"image_31102025_09_57_15_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56a185b8241bfe40877a77dbd2d888ba.jpg","text":"TemporaryFile(/tmp/multipartBody2308794161701642602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426763776,"filename":"image_31102025_09_57_20_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16d3af90cec9a1797debc6d814e4c474.jpg","text":"TemporaryFile(/tmp/multipartBody7217817552156107841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426763776,"filename":"image_31102025_09_57_33_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2fad07c5242d4a7f61ecb9baacfc872.jpg","text":"TemporaryFile(/tmp/multipartBody859869400273307725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426763776,"filename":"image_31102025_09_57_27_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3911e112da0b3deb6eae885837c94887.jpg","text":"TemporaryFile(/tmp/multipartBody5489985380485649643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426763776,"filename":"image_31102025_09_57_11_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905168","file1":"1396905166","file0":"1396905164","file4":"1396905172","file5":"1396905173","file3":"1396905170"},"map_files_photo_id_array":[{"photo_id":"1396905173","filename":"file5"},{"photo_id":"1396905168","filename":"file2"},{"photo_id":"1396905172","filename":"file4"},{"photo_id":"1396905166","filename":"file1"},{"photo_id":"1396905164","filename":"file0"},{"photo_id":"1396905170","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905172":["hashtag1","hashtag2"]},{"1396905166":["hashtag1","hashtag2"]},{"1396905168":["hashtag1","hashtag2"]},{"1396905173":["hashtag1","hashtag2"]},{"1396905170":["hashtag1","hashtag2"]},{"1396905164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905172, 1396905166, 1396905168, 1396905173, 1396905170, 1396905164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93456816673279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:32:22.815486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/29/image_29112025_15_29_15_9582.jpg', '/home/pi/Desktop/images/29112025/15/31/image_29112025_15_31_54_9568.jpg', '/home/pi/Desktop/images/29112025/15/32/image_29112025_15_32_24_9708.jpg', '/home/pi/Desktop/images/29112025/15/32/image_29112025_15_32_35_10546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/29/image_29112025_15_29_15_9582.jpg
/home/pi/Desktop/images/29112025/15/31/image_29112025_15_31_54_9568.jpg
/home/pi/Desktop/images/29112025/15/32/image_29112025_15_32_24_9708.jpg
/home/pi/Desktop/images/29112025/15/32/image_29112025_15_32_35_10546.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5418448448181152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:32:32.831888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_17_2716.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_19_2631.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_26_2708.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_28_2609.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_32_3714.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_34_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_17_2716.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_19_2631.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_26_2708.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_28_2609.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_32_3714.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_34_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":["1396905184","1396905207","1396905222","1396905191","1396905188","1396905221"],"photo_ids_order":["1396905184","1396905188","1396905191","1396905207","1396905221","1396905222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcfbfdcdb18937f1e7858cdf74b2080b.jpg","text":"TemporaryFile(/tmp/multipartBody4166153657885102989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426815019,"filename":"image_25112025_18_33_17_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c357b1928d6e0008e211cfff04ef94ba.jpg","text":"TemporaryFile(/tmp/multipartBody3137738329000370414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426815019,"filename":"image_25112025_18_33_28_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ed9ed22212ce687e50e0d291edc4941.jpg","text":"TemporaryFile(/tmp/multipartBody9040763890631076790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426815019,"filename":"image_25112025_18_33_34_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8fd54dbb2a9e0baefaef96edf64a6c8e.jpg","text":"TemporaryFile(/tmp/multipartBody2299169031893904566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426815019,"filename":"image_25112025_18_33_26_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c309d8d21fa3c41dc8a7b8c7fa29d975.jpg","text":"TemporaryFile(/tmp/multipartBody978399341654273245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426815019,"filename":"image_25112025_18_33_19_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/572e815f27922d0ed0082006a1d2b7cb.jpg","text":"TemporaryFile(/tmp/multipartBody588776127895085441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426815019,"filename":"image_25112025_18_33_32_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905191","file1":"1396905188","file0":"1396905184","file4":"1396905221","file5":"1396905222","file3":"1396905207"},"map_files_photo_id_array":[{"photo_id":"1396905222","filename":"file5"},{"photo_id":"1396905191","filename":"file2"},{"photo_id":"1396905221","filename":"file4"},{"photo_id":"1396905188","filename":"file1"},{"photo_id":"1396905184","filename":"file0"},{"photo_id":"1396905207","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396905184":["hashtag1","hashtag2"]},{"1396905207":["hashtag1","hashtag2"]},{"1396905222":["hashtag1","hashtag2"]},{"1396905191":["hashtag1","hashtag2"]},{"1396905188":["hashtag1","hashtag2"]},{"1396905221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396905184, 1396905207, 1396905222, 1396905191, 1396905188, 1396905221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6054151058197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:33:12.025112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_37_2651.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_40_2794.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_43_3575.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_46_2597.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_50_3663.jpg', '/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_55_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_37_2651.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_40_2794.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_43_3575.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_46_2597.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_50_3663.jpg
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_55_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905223","1396905231","1396905225","1396905236","1396905233","1396905227"],"photo_ids_order":["1396905223","1396905225","1396905227","1396905231","1396905233","1396905236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db40c34d584ab407fdbd4925c7dec8b5.jpg","text":"TemporaryFile(/tmp/multipartBody2978772202909107417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426854315,"filename":"image_25112025_18_33_37_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/697e67b09681b5ae2c3ccb181a2f7be7.jpg","text":"TemporaryFile(/tmp/multipartBody2253147656187759257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426854315,"filename":"image_25112025_18_33_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/11/29/655822ce14b7562628859f1a7b8f5417.jpg","text":"TemporaryFile(/tmp/multipartBody8498002661662337680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426854315,"filename":"image_25112025_18_33_40_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae2f6480b7aa6cc5a46938445badde9d.jpg","text":"TemporaryFile(/tmp/multipartBody1169098246069800960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426854315,"filename":"image_25112025_18_33_55_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d91d6667fd3d53431665f7b803237913.jpg","text":"TemporaryFile(/tmp/multipartBody3528047192469199004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426854315,"filename":"image_25112025_18_33_50_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1300780b32e9b0d9340089998926945.jpg","text":"TemporaryFile(/tmp/multipartBody3118873290684728313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426854315,"filename":"image_25112025_18_33_43_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905227","file1":"1396905225","file0":"1396905223","file4":"1396905233","file5":"1396905236","file3":"1396905231"},"map_files_photo_id_array":[{"photo_id":"1396905236","filename":"file5"},{"photo_id":"1396905227","filename":"file2"},{"photo_id":"1396905233","filename":"file4"},{"photo_id":"1396905225","filename":"file1"},{"photo_id":"1396905223","filename":"file0"},{"photo_id":"1396905231","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396905223":["hashtag1","hashtag2"]},{"1396905231":["hashtag1","hashtag2"]},{"1396905225":["hashtag1","hashtag2"]},{"1396905236":["hashtag1","hashtag2"]},{"1396905233":["hashtag1","hashtag2"]},{"1396905227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396905223, 1396905231, 1396905225, 1396905236, 1396905233, 1396905227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15803599357605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:34:02.898256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/29/image_29112025_15_29_15_9582.jpg', '/home/pi/Desktop/images/29112025/15/31/image_29112025_15_31_54_9568.jpg', '/home/pi/Desktop/images/29112025/15/32/image_29112025_15_32_24_9708.jpg', '/home/pi/Desktop/images/29112025/15/32/image_29112025_15_32_35_10546.jpg', '/home/pi/Desktop/images/29112025/15/32/image_29112025_15_32_54_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/29/image_29112025_15_29_15_9582.jpg
/home/pi/Desktop/images/29112025/15/31/image_29112025_15_31_54_9568.jpg
/home/pi/Desktop/images/29112025/15/32/image_29112025_15_32_24_9708.jpg
/home/pi/Desktop/images/29112025/15/32/image_29112025_15_32_35_10546.jpg
/home/pi/Desktop/images/29112025/15/32/image_29112025_15_32_54_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":["1396905244","1396905247","1396905243","1396905242","1396905245"],"photo_ids_order":["1396905242","1396905243","1396905244","1396905245","1396905247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97109dd510cf64bd71fc43307e312e01.jpg","text":"TemporaryFile(/tmp/multipartBody6452684437457104315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426903604,"filename":"image_29112025_15_32_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/11/29/81f1b034c7fc3209473a90157447d30a.jpg","text":"TemporaryFile(/tmp/multipartBody583301101834542203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426903604,"filename":"image_29112025_15_32_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/11/29/0796058138640a5c1ec9bad2d468fefa.jpg","text":"TemporaryFile(/tmp/multipartBody5374944489913621225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426903604,"filename":"image_29112025_15_31_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/11/29/ac03bee9040e44f66409cf0814c20aa7.jpg","text":"TemporaryFile(/tmp/multipartBody1675256536839737506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426903604,"filename":"image_29112025_15_29_15_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fbeb179378c9ca5e642a2857e8617b0.jpg","text":"TemporaryFile(/tmp/multipartBody5619595100160655180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426903604,"filename":"image_29112025_15_32_35_10546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905244","file1":"1396905243","file0":"1396905242","file4":"1396905247","file3":"1396905245"},"map_files_photo_id_array":[{"photo_id":"1396905244","filename":"file2"},{"photo_id":"1396905247","filename":"file4"},{"photo_id":"1396905243","filename":"file1"},{"photo_id":"1396905242","filename":"file0"},{"photo_id":"1396905245","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396905244":["hashtag1","hashtag2"]},{"1396905247":["hashtag1","hashtag2"]},{"1396905243":["hashtag1","hashtag2"]},{"1396905242":["hashtag1","hashtag2"]},{"1396905245":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396905244, 1396905247, 1396905243, 1396905242, 1396905245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.221927881240845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:34:42.135460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_35_2629.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_39_3571.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_44_2571.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_47_2864.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_51_3669.jpg', '/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_53_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/09/57/image_31102025_09_57_35_2629.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_39_3571.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_44_2571.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_47_2864.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_51_3669.jpg
/home/pi/Desktop/images/31102025/09/57/image_31102025_09_57_53_2643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905262","1396905274","1396905276","1396905258","1396905267","1396905260"],"photo_ids_order":["1396905258","1396905260","1396905262","1396905267","1396905274","1396905276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03f13edcf0941c3b5cb475a8e765f3bd.jpg","text":"TemporaryFile(/tmp/multipartBody1654090587635858137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426943239,"filename":"image_31102025_09_57_44_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8ec04c232c9e969b9b1259ab4973937.jpg","text":"TemporaryFile(/tmp/multipartBody4530468678094481938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426943239,"filename":"image_31102025_09_57_51_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/516aa5d2cf811b7776dc50d7b0399b39.jpg","text":"TemporaryFile(/tmp/multipartBody2724924296947447607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426943239,"filename":"image_31102025_09_57_53_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2adaf8ad0f5267f6d6446411834e43a.jpg","text":"TemporaryFile(/tmp/multipartBody5566316420092272727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426943239,"filename":"image_31102025_09_57_35_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42524b16fe1a42ee297b7d4275355cf6.jpg","text":"TemporaryFile(/tmp/multipartBody173361040344184057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426943239,"filename":"image_31102025_09_57_47_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b2bfd149dd5d2361cc9915a14ce35b3.jpg","text":"TemporaryFile(/tmp/multipartBody5322738342907081723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426943239,"filename":"image_31102025_09_57_39_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905262","file1":"1396905260","file0":"1396905258","file4":"1396905274","file5":"1396905276","file3":"1396905267"},"map_files_photo_id_array":[{"photo_id":"1396905276","filename":"file5"},{"photo_id":"1396905262","filename":"file2"},{"photo_id":"1396905274","filename":"file4"},{"photo_id":"1396905260","filename":"file1"},{"photo_id":"1396905258","filename":"file0"},{"photo_id":"1396905267","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905262":["hashtag1","hashtag2"]},{"1396905274":["hashtag1","hashtag2"]},{"1396905276":["hashtag1","hashtag2"]},{"1396905258":["hashtag1","hashtag2"]},{"1396905267":["hashtag1","hashtag2"]},{"1396905260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905262, 1396905274, 1396905276, 1396905258, 1396905267, 1396905260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50979709625244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:35:22.325309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/32/image_29112025_15_33_05_10601.jpg', '/home/pi/Desktop/images/29112025/15/34/image_29112025_15_34_15_9636.jpg', '/home/pi/Desktop/images/29112025/15/34/image_29112025_15_34_35_10728.jpg', '/home/pi/Desktop/images/29112025/15/35/image_29112025_15_35_15_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/32/image_29112025_15_33_05_10601.jpg
/home/pi/Desktop/images/29112025/15/34/image_29112025_15_34_15_9636.jpg
/home/pi/Desktop/images/29112025/15/34/image_29112025_15_34_35_10728.jpg
/home/pi/Desktop/images/29112025/15/35/image_29112025_15_35_15_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905307","1396905285","1396905296","1396905280"],"photo_ids_order":["1396905280","1396905285","1396905296","1396905307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49a0b7e78b0e1ba050c589f0f1e48938.jpg","text":"TemporaryFile(/tmp/multipartBody8457506702866197611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426982942,"filename":"image_29112025_15_35_15_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b93f1beabf9de184cc234183abfa06f.jpg","text":"TemporaryFile(/tmp/multipartBody4692893555480525882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426982942,"filename":"image_29112025_15_34_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/11/29/fb563d3d6b6a6ea560365d9057f9ac09.jpg","text":"TemporaryFile(/tmp/multipartBody4429804260038298803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426982942,"filename":"image_29112025_15_34_35_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7a04720e76096c1efcd301c32ca7376.jpg","text":"TemporaryFile(/tmp/multipartBody4317140742391618228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764426982942,"filename":"image_29112025_15_33_05_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905296","file1":"1396905285","file0":"1396905280","file3":"1396905307"},"map_files_photo_id_array":[{"photo_id":"1396905296","filename":"file2"},{"photo_id":"1396905285","filename":"file1"},{"photo_id":"1396905280","filename":"file0"},{"photo_id":"1396905307","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396905307":["hashtag1","hashtag2"]},{"1396905285":["hashtag1","hashtag2"]},{"1396905296":["hashtag1","hashtag2"]},{"1396905280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396905307, 1396905285, 1396905296, 1396905280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.683899402618408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:36:02.917512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_59_3647.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_01_2582.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_06_4343.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_07_1726.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_11_3533.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_13_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/33/image_25112025_18_33_59_3647.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_01_2582.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_06_4343.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_07_1726.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_11_3533.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_13_2591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905334","1396905337","1396905333","1396905332","1396905341","1396905335"],"photo_ids_order":["1396905332","1396905333","1396905334","1396905335","1396905337","1396905341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dcca798f6654510700d987f8e753f014.jpg","text":"TemporaryFile(/tmp/multipartBody2863115982763243965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427024473,"filename":"image_25112025_18_34_06_4343.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf36a36fa6cbfb02a16fb72a26a16f4b.jpg","text":"TemporaryFile(/tmp/multipartBody4503556651663772557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427024473,"filename":"image_25112025_18_34_11_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f30d564c05f1ff5d166e40dd6a75113c.jpg","text":"TemporaryFile(/tmp/multipartBody6428535252358862657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427024473,"filename":"image_25112025_18_34_01_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4f077eeec5f79aba4f408597b2c573a.jpg","text":"TemporaryFile(/tmp/multipartBody7195884343430117548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427024473,"filename":"image_25112025_18_33_59_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba7942fe012e05ff962cbeb0d1da1228.jpg","text":"TemporaryFile(/tmp/multipartBody3248991113820296563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427024473,"filename":"image_25112025_18_34_13_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25ea5593effdaadf8390474bddfa4f06.jpg","text":"TemporaryFile(/tmp/multipartBody7321726079926383042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427024473,"filename":"image_25112025_18_34_07_1726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905334","file1":"1396905333","file0":"1396905332","file4":"1396905337","file5":"1396905341","file3":"1396905335"},"map_files_photo_id_array":[{"photo_id":"1396905341","filename":"file5"},{"photo_id":"1396905334","filename":"file2"},{"photo_id":"1396905337","filename":"file4"},{"photo_id":"1396905333","filename":"file1"},{"photo_id":"1396905332","filename":"file0"},{"photo_id":"1396905335","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396905334":["hashtag1","hashtag2"]},{"1396905337":["hashtag1","hashtag2"]},{"1396905333":["hashtag1","hashtag2"]},{"1396905332":["hashtag1","hashtag2"]},{"1396905341":["hashtag1","hashtag2"]},{"1396905335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396905334, 1396905337, 1396905333, 1396905332, 1396905341, 1396905335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.488630056381226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:36:42.472777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_02_2820.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_05_2605.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_09_3620.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_14_2746.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_18_3693.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_20_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_02_2820.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_05_2605.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_09_3620.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_14_2746.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_18_3693.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_20_2647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905358","1396905355","1396905354","1396905350","1396905353","1396905356"],"photo_ids_order":["1396905350","1396905353","1396905354","1396905355","1396905356","1396905358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf140c3e5dbf7bef2bf8cb1861a1746b.jpg","text":"TemporaryFile(/tmp/multipartBody7444514869869314477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427063587,"filename":"image_31102025_09_58_20_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77361aad4c377eef75fdd1f8c0ed0d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2923272166366712220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427063587,"filename":"image_31102025_09_58_14_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c6aa4aee3f217d5ac517f112179e91f.jpg","text":"TemporaryFile(/tmp/multipartBody6095951210120908061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427063587,"filename":"image_31102025_09_58_09_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53d7460b6d4d9d19a411ae66b28a3c08.jpg","text":"TemporaryFile(/tmp/multipartBody2288597458827550044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427063587,"filename":"image_31102025_09_58_02_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9f6e9acd407884345873ba211a4df13.jpg","text":"TemporaryFile(/tmp/multipartBody5136277565171209860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427063587,"filename":"image_31102025_09_58_05_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8df367083a1243110c89f9f48ce4935.jpg","text":"TemporaryFile(/tmp/multipartBody8218021227236188043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427063587,"filename":"image_31102025_09_58_18_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905354","file1":"1396905353","file0":"1396905350","file4":"1396905356","file5":"1396905358","file3":"1396905355"},"map_files_photo_id_array":[{"photo_id":"1396905358","filename":"file5"},{"photo_id":"1396905354","filename":"file2"},{"photo_id":"1396905356","filename":"file4"},{"photo_id":"1396905353","filename":"file1"},{"photo_id":"1396905350","filename":"file0"},{"photo_id":"1396905355","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905358":["hashtag1","hashtag2"]},{"1396905355":["hashtag1","hashtag2"]},{"1396905354":["hashtag1","hashtag2"]},{"1396905350":["hashtag1","hashtag2"]},{"1396905353":["hashtag1","hashtag2"]},{"1396905356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905358, 1396905355, 1396905354, 1396905350, 1396905353, 1396905356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60658502578735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:37:22.691968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/35/image_29112025_15_35_24_9825.jpg', '/home/pi/Desktop/images/29112025/15/36/image_29112025_15_37_04_9583.jpg', '/home/pi/Desktop/images/29112025/15/37/image_29112025_15_37_25_9696.jpg', '/home/pi/Desktop/images/29112025/15/37/image_29112025_15_37_45_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/35/image_29112025_15_35_24_9825.jpg
/home/pi/Desktop/images/29112025/15/36/image_29112025_15_37_04_9583.jpg
/home/pi/Desktop/images/29112025/15/37/image_29112025_15_37_25_9696.jpg
/home/pi/Desktop/images/29112025/15/37/image_29112025_15_37_45_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905371","1396905365","1396905368","1396905362"],"photo_ids_order":["1396905362","1396905365","1396905368","1396905371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd77056782830e6a5c1e3c1b8dfca3dd.jpg","text":"TemporaryFile(/tmp/multipartBody3799187374608327117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427103360,"filename":"image_29112025_15_37_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ee2eff9f6b30e1b03238c5d0bcc275e.jpg","text":"TemporaryFile(/tmp/multipartBody2857168260057240172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427103360,"filename":"image_29112025_15_37_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/11/29/32c1195e81be8fc3b11b9cde4402bb5b.jpg","text":"TemporaryFile(/tmp/multipartBody4447295319158784359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427103360,"filename":"image_29112025_15_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/11/29/376534cc5691e2488d85b61ae32229dc.jpg","text":"TemporaryFile(/tmp/multipartBody6214312458638474925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427103360,"filename":"image_29112025_15_35_24_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905368","file1":"1396905365","file0":"1396905362","file3":"1396905371"},"map_files_photo_id_array":[{"photo_id":"1396905368","filename":"file2"},{"photo_id":"1396905365","filename":"file1"},{"photo_id":"1396905362","filename":"file0"},{"photo_id":"1396905371","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396905371":["hashtag1","hashtag2"]},{"1396905365":["hashtag1","hashtag2"]},{"1396905368":["hashtag1","hashtag2"]},{"1396905362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396905371, 1396905365, 1396905368, 1396905362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.03960371017456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:38:02.303719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_16_2592.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_20_3818.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_23_2809.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_25_2563.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_28_2659.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_31_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_16_2592.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_20_3818.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_23_2809.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_25_2563.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_28_2659.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_31_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905393","1396905396","1396905395","1396905398","1396905401","1396905394"],"photo_ids_order":["1396905393","1396905394","1396905395","1396905396","1396905398","1396905401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edd0e66b7cbb67bf0c6152c8293c64d0.jpg","text":"TemporaryFile(/tmp/multipartBody2624117626388277186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427143931,"filename":"image_25112025_18_34_16_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9b6e6d9de10d377d65767c3996da275.jpg","text":"TemporaryFile(/tmp/multipartBody8973811306011470325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427143931,"filename":"image_25112025_18_34_25_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/609e32af07c88ba3c05b7cf703ca79ca.jpg","text":"TemporaryFile(/tmp/multipartBody1509110912388384437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427143931,"filename":"image_25112025_18_34_23_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4215f89c4b8146e9c2202ddce91ffb89.jpg","text":"TemporaryFile(/tmp/multipartBody646729158723676517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427143931,"filename":"image_25112025_18_34_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/11/29/7e662af5e3586cdb3c39b280490687bf.jpg","text":"TemporaryFile(/tmp/multipartBody150190185405864544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427143931,"filename":"image_25112025_18_34_31_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53548070e1d6f044fdfadaa9407b0a00.jpg","text":"TemporaryFile(/tmp/multipartBody1635825831400868205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427143931,"filename":"image_25112025_18_34_20_3818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905395","file1":"1396905394","file0":"1396905393","file4":"1396905398","file5":"1396905401","file3":"1396905396"},"map_files_photo_id_array":[{"photo_id":"1396905401","filename":"file5"},{"photo_id":"1396905395","filename":"file2"},{"photo_id":"1396905398","filename":"file4"},{"photo_id":"1396905394","filename":"file1"},{"photo_id":"1396905393","filename":"file0"},{"photo_id":"1396905396","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396905393":["hashtag1","hashtag2"]},{"1396905396":["hashtag1","hashtag2"]},{"1396905395":["hashtag1","hashtag2"]},{"1396905398":["hashtag1","hashtag2"]},{"1396905401":["hashtag1","hashtag2"]},{"1396905394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396905393, 1396905396, 1396905395, 1396905398, 1396905401, 1396905394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.228111743927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:38:41.984277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_23_2727.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_30_2764.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_32_2761.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_39_2775.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_41_2550.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_53_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/09/58/image_31102025_09_58_23_2727.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_30_2764.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_32_2761.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_39_2775.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_41_2550.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_53_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":["1396905412","1396905415","1396905414","1396905413","1396905416","1396905410"],"photo_ids_order":["1396905410","1396905412","1396905413","1396905414","1396905415","1396905416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67aec7900a3e28a864cc3b6a5717858b.jpg","text":"TemporaryFile(/tmp/multipartBody1686913861448545478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427183146,"filename":"image_31102025_09_58_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/11/29/d419fa16d3862bfeb3340a2f1e2f58a3.jpg","text":"TemporaryFile(/tmp/multipartBody5665768493115687386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427183146,"filename":"image_31102025_09_58_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/11/29/cf6a765c723311272def9c01d16d1a00.jpg","text":"TemporaryFile(/tmp/multipartBody8530263360153454594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427183146,"filename":"image_31102025_09_58_39_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0d872d91d89efd11c3808bc8fd77e9b.jpg","text":"TemporaryFile(/tmp/multipartBody1785615575879487597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427183146,"filename":"image_31102025_09_58_32_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83636ee0495bfa3909941db9829de101.jpg","text":"TemporaryFile(/tmp/multipartBody5141844895226492160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427183146,"filename":"image_31102025_09_58_53_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25a32df25bc5ccdac43104351d01fe24.jpg","text":"TemporaryFile(/tmp/multipartBody6802564508705234334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427183146,"filename":"image_31102025_09_58_23_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905413","file1":"1396905412","file0":"1396905410","file4":"1396905415","file5":"1396905416","file3":"1396905414"},"map_files_photo_id_array":[{"photo_id":"1396905416","filename":"file5"},{"photo_id":"1396905413","filename":"file2"},{"photo_id":"1396905415","filename":"file4"},{"photo_id":"1396905412","filename":"file1"},{"photo_id":"1396905410","filename":"file0"},{"photo_id":"1396905414","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905412":["hashtag1","hashtag2"]},{"1396905415":["hashtag1","hashtag2"]},{"1396905414":["hashtag1","hashtag2"]},{"1396905413":["hashtag1","hashtag2"]},{"1396905416":["hashtag1","hashtag2"]},{"1396905410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905412, 1396905415, 1396905414, 1396905413, 1396905416, 1396905410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.614990234375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:39:22.163375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/37/image_29112025_15_37_55_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/37/image_29112025_15_37_55_9652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905418"],"photo_id":"1396905418","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ae0c471a1e1c024beff2840fd0e89c7.jpg","text":"TemporaryFile(/tmp/multipartBody3898930525467892360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427222689,"filename":"image_29112025_15_37_55_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396905418"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396905418"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.963954210281372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:39:42.121534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_57_3651.jpg', '/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_59_2808.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_02_2865.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_05_2715.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_09_3666.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_11_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/09/58/image_31102025_09_58_57_3651.jpg
/home/pi/Desktop/images/31102025/09/58/image_31102025_09_58_59_2808.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_02_2865.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_05_2715.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_09_3666.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_11_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":["1396905481","1396905460","1396905429","1396905467","1396905431","1396905434"],"photo_ids_order":["1396905429","1396905431","1396905434","1396905460","1396905467","1396905481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d0b6143406d49f983461e3dae5c0d78.jpg","text":"TemporaryFile(/tmp/multipartBody3802632791448361695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427243221,"filename":"image_31102025_09_59_11_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/872436dc9f4acfb713037ffd48e2db06.jpg","text":"TemporaryFile(/tmp/multipartBody2748044037695104818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427243221,"filename":"image_31102025_09_59_05_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/418725a04cd892830925052510b350f7.jpg","text":"TemporaryFile(/tmp/multipartBody6091960867445989518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427243221,"filename":"image_31102025_09_58_57_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3dfe9b9ff999a3f5dca2c28c135f6c24.jpg","text":"TemporaryFile(/tmp/multipartBody1475182237336958750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427243221,"filename":"image_31102025_09_59_09_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/375d2948b97f47319f475ff527d4d1a3.jpg","text":"TemporaryFile(/tmp/multipartBody4877323098083916510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427243221,"filename":"image_31102025_09_58_59_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6bf571a7b2081ecbe4d3a37b41ed4c8.jpg","text":"TemporaryFile(/tmp/multipartBody1467238122377336329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427243221,"filename":"image_31102025_09_59_02_2865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905434","file1":"1396905431","file0":"1396905429","file4":"1396905467","file5":"1396905481","file3":"1396905460"},"map_files_photo_id_array":[{"photo_id":"1396905481","filename":"file5"},{"photo_id":"1396905434","filename":"file2"},{"photo_id":"1396905467","filename":"file4"},{"photo_id":"1396905431","filename":"file1"},{"photo_id":"1396905429","filename":"file0"},{"photo_id":"1396905460","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905481":["hashtag1","hashtag2"]},{"1396905460":["hashtag1","hashtag2"]},{"1396905429":["hashtag1","hashtag2"]},{"1396905467":["hashtag1","hashtag2"]},{"1396905431":["hashtag1","hashtag2"]},{"1396905434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905481, 1396905460, 1396905429, 1396905467, 1396905431, 1396905434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.308103799819946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:40:22.284170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/38/image_29112025_15_38_34_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/38/image_29112025_15_38_34_9573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905519"],"photo_id":"1396905519","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cee185caa9a7f7ca34bc6db338b8b12.jpg","text":"TemporaryFile(/tmp/multipartBody5082689870661105807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427282815,"filename":"image_29112025_15_38_34_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396905519"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396905519"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.047109603881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:40:42.293705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_14_2735.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_18_3605.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_20_2627.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_23_2715.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_26_3563.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_29_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/09/59/image_31102025_09_59_14_2735.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_18_3605.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_20_2627.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_23_2715.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_26_3563.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_29_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":["1396905535","1396905534","1396905543","1396905537","1396905530","1396905536"],"photo_ids_order":["1396905530","1396905534","1396905535","1396905536","1396905537","1396905543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd53cb4183e0a418703ce8f2da2db923.jpg","text":"TemporaryFile(/tmp/multipartBody6070695739067563428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427303450,"filename":"image_31102025_09_59_20_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/862962f8e5bca85e7d5a28db41d6de89.jpg","text":"TemporaryFile(/tmp/multipartBody7593676626568464002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427303450,"filename":"image_31102025_09_59_18_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b8a7b5b943d6c1e311664fa5ddd55ca.jpg","text":"TemporaryFile(/tmp/multipartBody8128667359177925685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427303450,"filename":"image_31102025_09_59_29_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cac217c42d433baa04ad3bb1039f8f26.jpg","text":"TemporaryFile(/tmp/multipartBody7797077634373179558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427303450,"filename":"image_31102025_09_59_26_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eaa27a83f011aa9c45fe2eebee96be38.jpg","text":"TemporaryFile(/tmp/multipartBody923233252572421976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427303450,"filename":"image_31102025_09_59_14_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f15f25fe7be1555a44972a61516615e5.jpg","text":"TemporaryFile(/tmp/multipartBody3452102945780896917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427303450,"filename":"image_31102025_09_59_23_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905535","file1":"1396905534","file0":"1396905530","file4":"1396905537","file5":"1396905543","file3":"1396905536"},"map_files_photo_id_array":[{"photo_id":"1396905543","filename":"file5"},{"photo_id":"1396905535","filename":"file2"},{"photo_id":"1396905537","filename":"file4"},{"photo_id":"1396905534","filename":"file1"},{"photo_id":"1396905530","filename":"file0"},{"photo_id":"1396905536","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905535":["hashtag1","hashtag2"]},{"1396905534":["hashtag1","hashtag2"]},{"1396905543":["hashtag1","hashtag2"]},{"1396905537":["hashtag1","hashtag2"]},{"1396905530":["hashtag1","hashtag2"]},{"1396905536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905535, 1396905534, 1396905543, 1396905537, 1396905530, 1396905536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69664645195007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:41:22.500424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_34_2699.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_38_3499.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_40_2756.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_43_2566.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_46_3499.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_49_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_34_2699.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_38_3499.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_40_2756.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_43_2566.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_46_3499.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_49_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905564","1396905567","1396905561","1396905555","1396905558","1396905578"],"photo_ids_order":["1396905555","1396905558","1396905561","1396905564","1396905567","1396905578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b6a286619a74bd82890c59d5bf360c8.jpg","text":"TemporaryFile(/tmp/multipartBody5196583018699253352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427344826,"filename":"image_25112025_18_34_43_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f5ab6fbffcd855025bd467e8780e2b7.jpg","text":"TemporaryFile(/tmp/multipartBody8258629126365508518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427344826,"filename":"image_25112025_18_34_46_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/180a7952213a38284941df3916d73ae2.jpg","text":"TemporaryFile(/tmp/multipartBody8375298070578270951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427344826,"filename":"image_25112025_18_34_40_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b8c86e3390a76f956f3b8457cf9b4fc.jpg","text":"TemporaryFile(/tmp/multipartBody5878583943655318553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427344826,"filename":"image_25112025_18_34_34_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8625f1ae0181b5d7880850201e560720.jpg","text":"TemporaryFile(/tmp/multipartBody2472986273084838866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427344826,"filename":"image_25112025_18_34_38_3499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0507bb2ba04249f184570fc4d97e6c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1965196198774435004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427344826,"filename":"image_25112025_18_34_49_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905561","file1":"1396905558","file0":"1396905555","file4":"1396905567","file5":"1396905578","file3":"1396905564"},"map_files_photo_id_array":[{"photo_id":"1396905578","filename":"file5"},{"photo_id":"1396905561","filename":"file2"},{"photo_id":"1396905567","filename":"file4"},{"photo_id":"1396905558","filename":"file1"},{"photo_id":"1396905555","filename":"file0"},{"photo_id":"1396905564","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396905564":["hashtag1","hashtag2"]},{"1396905567":["hashtag1","hashtag2"]},{"1396905561":["hashtag1","hashtag2"]},{"1396905555":["hashtag1","hashtag2"]},{"1396905558":["hashtag1","hashtag2"]},{"1396905578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396905564, 1396905567, 1396905561, 1396905555, 1396905558, 1396905578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07835364341736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:42:03.107905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_52_2688.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_56_3751.jpg', '/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_58_2678.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_02_3504.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_04_2683.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_07_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_52_2688.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_56_3751.jpg
/home/pi/Desktop/images/25112025/18/34/image_25112025_18_34_58_2678.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_02_3504.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_04_2683.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_07_2543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905667","1396905736","1396905634","1396905700","1396905771","1396905598"],"photo_ids_order":["1396905598","1396905634","1396905667","1396905700","1396905736","1396905771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09978f7b878e8e302a95842c0b31e13a.jpg","text":"TemporaryFile(/tmp/multipartBody4158122103439712154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427384673,"filename":"image_25112025_18_34_58_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b306d4036a6007418c80b9402fc2202e.jpg","text":"TemporaryFile(/tmp/multipartBody3763083884408647637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427384673,"filename":"image_25112025_18_35_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/11/29/e0e446fea86ac7a1131337cab204c7d6.jpg","text":"TemporaryFile(/tmp/multipartBody8718568576059511321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427384673,"filename":"image_25112025_18_34_56_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e99313bd0d25db1e3192c10029244895.jpg","text":"TemporaryFile(/tmp/multipartBody593247727557327001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427384673,"filename":"image_25112025_18_35_02_3504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f002b52378e171459456560a18ddc70.jpg","text":"TemporaryFile(/tmp/multipartBody2749521806986276273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427384673,"filename":"image_25112025_18_35_07_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d257901819dec9b21d25f5c81d40fca8.jpg","text":"TemporaryFile(/tmp/multipartBody4734136077068191544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427384673,"filename":"image_25112025_18_34_52_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905667","file1":"1396905634","file0":"1396905598","file4":"1396905736","file5":"1396905771","file3":"1396905700"},"map_files_photo_id_array":[{"photo_id":"1396905771","filename":"file5"},{"photo_id":"1396905667","filename":"file2"},{"photo_id":"1396905736","filename":"file4"},{"photo_id":"1396905634","filename":"file1"},{"photo_id":"1396905598","filename":"file0"},{"photo_id":"1396905700","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396905667":["hashtag1","hashtag2"]},{"1396905736":["hashtag1","hashtag2"]},{"1396905634":["hashtag1","hashtag2"]},{"1396905700":["hashtag1","hashtag2"]},{"1396905771":["hashtag1","hashtag2"]},{"1396905598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396905667, 1396905736, 1396905634, 1396905700, 1396905771, 1396905598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.568379402160645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:42:42.716381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_32_2850.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_36_3603.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_38_2717.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_41_2608.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_45_3678.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_47_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_32_2850.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_36_3603.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_38_2717.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_41_2608.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_45_3678.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_47_2576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905871","1396905865","1396905874","1396905873","1396905875","1396905869"],"photo_ids_order":["1396905865","1396905869","1396905871","1396905873","1396905874","1396905875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f38d8961494b66fce71dcfbaf3000a0.jpg","text":"TemporaryFile(/tmp/multipartBody6439006944315955775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427423822,"filename":"image_31102025_09_59_38_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc07426f4d2597f172dbdd2b1fcfc671.jpg","text":"TemporaryFile(/tmp/multipartBody8246086132115641350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427423822,"filename":"image_31102025_09_59_32_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2b63765b7123c6cf35821006123e8e8.jpg","text":"TemporaryFile(/tmp/multipartBody6117588833233492084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427423822,"filename":"image_31102025_09_59_45_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d89bf0c8b81d53a1fce3668e121b768.jpg","text":"TemporaryFile(/tmp/multipartBody7257939877358359461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427423822,"filename":"image_31102025_09_59_41_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb7ce631e0d052264da06676c281e382.jpg","text":"TemporaryFile(/tmp/multipartBody3895271946491120803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427423822,"filename":"image_31102025_09_59_47_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a9f8cbbc867e55ca0ae7c36461f2de7.jpg","text":"TemporaryFile(/tmp/multipartBody3654872271216229942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427423822,"filename":"image_31102025_09_59_36_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905871","file1":"1396905869","file0":"1396905865","file4":"1396905874","file5":"1396905875","file3":"1396905873"},"map_files_photo_id_array":[{"photo_id":"1396905875","filename":"file5"},{"photo_id":"1396905871","filename":"file2"},{"photo_id":"1396905874","filename":"file4"},{"photo_id":"1396905869","filename":"file1"},{"photo_id":"1396905865","filename":"file0"},{"photo_id":"1396905873","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905871":["hashtag1","hashtag2"]},{"1396905865":["hashtag1","hashtag2"]},{"1396905874":["hashtag1","hashtag2"]},{"1396905873":["hashtag1","hashtag2"]},{"1396905875":["hashtag1","hashtag2"]},{"1396905869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905871, 1396905865, 1396905874, 1396905873, 1396905875, 1396905869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.688316822052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:43:21.888566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/40/image_29112025_15_40_14_9833.jpg', '/home/pi/Desktop/images/29112025/15/43/image_29112025_15_43_25_10841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/40/image_29112025_15_40_14_9833.jpg
/home/pi/Desktop/images/29112025/15/43/image_29112025_15_43_25_10841.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396905912","1396905918"],"photo_ids_order":["1396905912","1396905918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/587ac2ea4356132143c58a64b095c846.jpg","text":"TemporaryFile(/tmp/multipartBody3064626765343350440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427462460,"filename":"image_29112025_15_40_14_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9f5d8c7a0a13e55cf5623ec53cc1026.jpg","text":"TemporaryFile(/tmp/multipartBody7816016754792117014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427462460,"filename":"image_29112025_15_43_25_10841.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396905918","file0":"1396905912"},"map_files_photo_id_array":[{"photo_id":"1396905918","filename":"file1"},{"photo_id":"1396905912","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396905912":["hashtag1","hashtag2"]},{"1396905918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396905912, 1396905918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.745398998260498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:43:41.868600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_51_3548.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_54_2867.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_56_2700.jpg', '/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_59_2722.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_07_3013.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_11_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/09/59/image_31102025_09_59_51_3548.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_54_2867.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_56_2700.jpg
/home/pi/Desktop/images/31102025/09/59/image_31102025_09_59_59_2722.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_07_3013.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_11_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":["1396905963","1396905945","1396905986","1396905980","1396905929","1396906007"],"photo_ids_order":["1396905929","1396905945","1396905963","1396905980","1396905986","1396906007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b7f4963a72f70a58d7ee17971d540f1.jpg","text":"TemporaryFile(/tmp/multipartBody1095066169991474267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427482973,"filename":"image_31102025_09_59_56_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa537d2216897fb87f62506fe9d40510.jpg","text":"TemporaryFile(/tmp/multipartBody1538335802723070834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427482973,"filename":"image_31102025_09_59_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/11/29/21df3de1167e90c6a077577f9164911b.jpg","text":"TemporaryFile(/tmp/multipartBody7931963214470015220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427482973,"filename":"image_31102025_10_00_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5485887fa022ff547028968dd45c495.jpg","text":"TemporaryFile(/tmp/multipartBody6860037484173633844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427482973,"filename":"image_31102025_09_59_59_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1492d488ed46a67b8250b36aee506dac.jpg","text":"TemporaryFile(/tmp/multipartBody7626005573059998198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427482973,"filename":"image_31102025_09_59_51_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6886926d65f753a829ffb489759e973c.jpg","text":"TemporaryFile(/tmp/multipartBody4296998242015437649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427482973,"filename":"image_31102025_10_00_11_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396905963","file1":"1396905945","file0":"1396905929","file4":"1396905986","file5":"1396906007","file3":"1396905980"},"map_files_photo_id_array":[{"photo_id":"1396906007","filename":"file5"},{"photo_id":"1396905963","filename":"file2"},{"photo_id":"1396905986","filename":"file4"},{"photo_id":"1396905945","filename":"file1"},{"photo_id":"1396905929","filename":"file0"},{"photo_id":"1396905980","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396905963":["hashtag1","hashtag2"]},{"1396905945":["hashtag1","hashtag2"]},{"1396905986":["hashtag1","hashtag2"]},{"1396905980":["hashtag1","hashtag2"]},{"1396905929":["hashtag1","hashtag2"]},{"1396906007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396905963, 1396905945, 1396905986, 1396905980, 1396905929, 1396906007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23065185546875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:44:22.030927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/43/image_29112025_15_43_34_9580.jpg', '/home/pi/Desktop/images/29112025/15/44/image_29112025_15_44_25_10811.jpg', '/home/pi/Desktop/images/29112025/15/44/image_29112025_15_44_35_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/43/image_29112025_15_43_34_9580.jpg
/home/pi/Desktop/images/29112025/15/44/image_29112025_15_44_25_10811.jpg
/home/pi/Desktop/images/29112025/15/44/image_29112025_15_44_35_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906020","1396906017","1396906013"],"photo_ids_order":["1396906013","1396906017","1396906020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03d7dbd54d9bf0281243a4f8d4971601.jpg","text":"TemporaryFile(/tmp/multipartBody4254467258548523280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427522627,"filename":"image_29112025_15_44_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/11/29/61a32086ea2eeb662699d562e6055b0e.jpg","text":"TemporaryFile(/tmp/multipartBody585720519630071446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427522627,"filename":"image_29112025_15_44_25_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efab4ac26e9cfd818e3a4c5c6536ed73.jpg","text":"TemporaryFile(/tmp/multipartBody2597856956092776488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427522627,"filename":"image_29112025_15_43_34_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906020","file1":"1396906017","file0":"1396906013"},"map_files_photo_id_array":[{"photo_id":"1396906020","filename":"file2"},{"photo_id":"1396906017","filename":"file1"},{"photo_id":"1396906013","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396906020":["hashtag1","hashtag2"]},{"1396906017":["hashtag1","hashtag2"]},{"1396906013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396906020, 1396906017, 1396906013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.76089096069336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:45:02.793537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_11_3792.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_13_2727.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_16_2639.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_19_2862.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_23_3600.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_25_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_11_3792.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_13_2727.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_16_2639.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_19_2862.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_23_3600.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_25_2556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906296","1396906356","1396906344","1396906295","1396906292","1396906313"],"photo_ids_order":["1396906292","1396906295","1396906296","1396906313","1396906344","1396906356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1abba8ab7984b9f46750e505b9b9bef.jpg","text":"TemporaryFile(/tmp/multipartBody7541916151971439487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427564478,"filename":"image_25112025_18_35_16_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6afd90231298bbf0f7a96b347b6d3ec.jpg","text":"TemporaryFile(/tmp/multipartBody5377981719873991368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427564478,"filename":"image_25112025_18_35_25_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46ecae18d19c8e33fdcc38867f149522.jpg","text":"TemporaryFile(/tmp/multipartBody226165575919350204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427564478,"filename":"image_25112025_18_35_23_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a962410f85642e4cfa288c4a87a196e.jpg","text":"TemporaryFile(/tmp/multipartBody8553128109646591244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427564478,"filename":"image_25112025_18_35_13_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2536d70ad44318849ac5211ce6fe8084.jpg","text":"TemporaryFile(/tmp/multipartBody2370645890931548834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427564478,"filename":"image_25112025_18_35_11_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73d4ac9cfb2d67e12b0eab01074d700e.jpg","text":"TemporaryFile(/tmp/multipartBody2845706933523178891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427564478,"filename":"image_25112025_18_35_19_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906296","file1":"1396906295","file0":"1396906292","file4":"1396906344","file5":"1396906356","file3":"1396906313"},"map_files_photo_id_array":[{"photo_id":"1396906356","filename":"file5"},{"photo_id":"1396906296","filename":"file2"},{"photo_id":"1396906344","filename":"file4"},{"photo_id":"1396906295","filename":"file1"},{"photo_id":"1396906292","filename":"file0"},{"photo_id":"1396906313","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396906296":["hashtag1","hashtag2"]},{"1396906356":["hashtag1","hashtag2"]},{"1396906344":["hashtag1","hashtag2"]},{"1396906295":["hashtag1","hashtag2"]},{"1396906292":["hashtag1","hashtag2"]},{"1396906313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396906296, 1396906356, 1396906344, 1396906295, 1396906292, 1396906313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40828323364258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:45:42.313615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_20_3582.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_23_2811.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_25_2543.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_29_3681.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_35_2859.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_38_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/10/00/image_31102025_10_00_20_3582.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_23_2811.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_25_2543.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_29_3681.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_35_2859.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_38_3562.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.030942678451538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:46:03.045203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/44/image_29112025_15_44_55_10578.jpg', '/home/pi/Desktop/images/29112025/15/44/image_29112025_15_45_05_9685.jpg', '/home/pi/Desktop/images/29112025/15/45/image_29112025_15_45_14_9745.jpg', '/home/pi/Desktop/images/29112025/15/45/image_29112025_15_45_24_9681.jpg', '/home/pi/Desktop/images/29112025/15/45/image_29112025_15_45_35_10652.jpg', '/home/pi/Desktop/images/29112025/15/45/image_29112025_15_45_45_9991.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/44/image_29112025_15_44_55_10578.jpg
/home/pi/Desktop/images/29112025/15/44/image_29112025_15_45_05_9685.jpg
/home/pi/Desktop/images/29112025/15/45/image_29112025_15_45_14_9745.jpg
/home/pi/Desktop/images/29112025/15/45/image_29112025_15_45_24_9681.jpg
/home/pi/Desktop/images/29112025/15/45/image_29112025_15_45_35_10652.jpg
/home/pi/Desktop/images/29112025/15/45/image_29112025_15_45_45_9991.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906501","1396906470","1396906503","1396906505","1396906508","1396906502"],"photo_ids_order":["1396906470","1396906501","1396906502","1396906503","1396906505","1396906508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/125f5cd56cbeb3867b4b762bc608214d.jpg","text":"TemporaryFile(/tmp/multipartBody6681841780347422664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427623771,"filename":"image_29112025_15_45_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fc18ab15c8c3e4e209b352ae3087ee6.jpg","text":"TemporaryFile(/tmp/multipartBody9006554462970020457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427623771,"filename":"image_29112025_15_44_55_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56e5d58a99fcfc065451b433e3094648.jpg","text":"TemporaryFile(/tmp/multipartBody2677948380519329255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427623771,"filename":"image_29112025_15_45_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d216331d41be6590cffd3bfba667213.jpg","text":"TemporaryFile(/tmp/multipartBody8125500897021828031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427623771,"filename":"image_29112025_15_45_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93f0ab275b1bf2862ab4c10e266cebc1.jpg","text":"TemporaryFile(/tmp/multipartBody4601427308592971398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427623771,"filename":"image_29112025_15_45_45_9991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3e1eec86cabca076dfe4dd31fec172a.jpg","text":"TemporaryFile(/tmp/multipartBody1505765463409784241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427623771,"filename":"image_29112025_15_45_14_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906502","file1":"1396906501","file0":"1396906470","file4":"1396906505","file5":"1396906508","file3":"1396906503"},"map_files_photo_id_array":[{"photo_id":"1396906508","filename":"file5"},{"photo_id":"1396906502","filename":"file2"},{"photo_id":"1396906505","filename":"file4"},{"photo_id":"1396906501","filename":"file1"},{"photo_id":"1396906470","filename":"file0"},{"photo_id":"1396906503","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396906501":["hashtag1","hashtag2"]},{"1396906470":["hashtag1","hashtag2"]},{"1396906503":["hashtag1","hashtag2"]},{"1396906505":["hashtag1","hashtag2"]},{"1396906508":["hashtag1","hashtag2"]},{"1396906502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396906501, 1396906470, 1396906503, 1396906505, 1396906508, 1396906502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12870717048645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:46:42.543704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_20_3582.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_23_2811.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_25_2543.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_29_3681.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_35_2859.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_38_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/10/00/image_31102025_10_00_20_3582.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_23_2811.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_25_2543.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_29_3681.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_35_2859.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_38_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":["1396906522","1396906525","1396906521","1396906524","1396906518","1396906523"],"photo_ids_order":["1396906518","1396906521","1396906522","1396906523","1396906524","1396906525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f471a7aae5e71d01b724939ffd956f8.jpg","text":"TemporaryFile(/tmp/multipartBody9037125940612733037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427663570,"filename":"image_31102025_10_00_25_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/621bd60401cba7174728e6ed88373709.jpg","text":"TemporaryFile(/tmp/multipartBody6341592862190857326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427663570,"filename":"image_31102025_10_00_38_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1c43cf8762ffc6840773840b618b5da.jpg","text":"TemporaryFile(/tmp/multipartBody1307540952125405898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427663570,"filename":"image_31102025_10_00_23_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fcd8e2798f2b50117d6232064f395d3.jpg","text":"TemporaryFile(/tmp/multipartBody7294147009204832025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427663570,"filename":"image_31102025_10_00_35_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8ddcc09526caaa1f528a6b126850e0b.jpg","text":"TemporaryFile(/tmp/multipartBody7840302694750740903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427663570,"filename":"image_31102025_10_00_20_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8f8b7cbaa2df83aa220e5104e676a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7736336286601258789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427663570,"filename":"image_31102025_10_00_29_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906522","file1":"1396906521","file0":"1396906518","file4":"1396906524","file5":"1396906525","file3":"1396906523"},"map_files_photo_id_array":[{"photo_id":"1396906525","filename":"file5"},{"photo_id":"1396906522","filename":"file2"},{"photo_id":"1396906524","filename":"file4"},{"photo_id":"1396906521","filename":"file1"},{"photo_id":"1396906518","filename":"file0"},{"photo_id":"1396906523","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396906522":["hashtag1","hashtag2"]},{"1396906525":["hashtag1","hashtag2"]},{"1396906521":["hashtag1","hashtag2"]},{"1396906524":["hashtag1","hashtag2"]},{"1396906518":["hashtag1","hashtag2"]},{"1396906523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396906522, 1396906525, 1396906521, 1396906524, 1396906518, 1396906523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.798320055007935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:47:22.689680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/45/image_29112025_15_45_54_9652.jpg', '/home/pi/Desktop/images/29112025/15/46/image_29112025_15_46_15_10567.jpg', '/home/pi/Desktop/images/29112025/15/46/image_29112025_15_46_24_9588.jpg', '/home/pi/Desktop/images/29112025/15/46/image_29112025_15_46_35_10618.jpg', '/home/pi/Desktop/images/29112025/15/46/image_29112025_15_46_45_9771.jpg', '/home/pi/Desktop/images/29112025/15/46/image_29112025_15_46_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/45/image_29112025_15_45_54_9652.jpg
/home/pi/Desktop/images/29112025/15/46/image_29112025_15_46_15_10567.jpg
/home/pi/Desktop/images/29112025/15/46/image_29112025_15_46_24_9588.jpg
/home/pi/Desktop/images/29112025/15/46/image_29112025_15_46_35_10618.jpg
/home/pi/Desktop/images/29112025/15/46/image_29112025_15_46_45_9771.jpg
/home/pi/Desktop/images/29112025/15/46/image_29112025_15_46_54_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":["1396906537","1396906566","1396906554","1396906574","1396906532","1396906529"],"photo_ids_order":["1396906529","1396906532","1396906537","1396906554","1396906566","1396906574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd7f476222b5991682c32ee89e531a18.jpg","text":"TemporaryFile(/tmp/multipartBody432410058493610059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427703373,"filename":"image_29112025_15_46_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/11/29/a3e73e5b105e6119c8ccef3f89033974.jpg","text":"TemporaryFile(/tmp/multipartBody1934574082940685212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427703373,"filename":"image_29112025_15_46_45_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b30ede40f3a6c98b4f85fa4b57d974ec.jpg","text":"TemporaryFile(/tmp/multipartBody5358190381802116020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427703373,"filename":"image_29112025_15_46_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/11/29/51c3ce785aa91841864c4fe2ceffa158.jpg","text":"TemporaryFile(/tmp/multipartBody5252725407330856822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427703373,"filename":"image_29112025_15_46_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/11/29/fe06d6de96ddd6849c7d1a51a15a6025.jpg","text":"TemporaryFile(/tmp/multipartBody8742310979425281886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427703373,"filename":"image_29112025_15_46_15_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/629f13268f052e69f526f385066fc489.jpg","text":"TemporaryFile(/tmp/multipartBody8691306693671628826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427703373,"filename":"image_29112025_15_45_54_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906537","file1":"1396906532","file0":"1396906529","file4":"1396906566","file5":"1396906574","file3":"1396906554"},"map_files_photo_id_array":[{"photo_id":"1396906574","filename":"file5"},{"photo_id":"1396906537","filename":"file2"},{"photo_id":"1396906566","filename":"file4"},{"photo_id":"1396906532","filename":"file1"},{"photo_id":"1396906529","filename":"file0"},{"photo_id":"1396906554","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396906537":["hashtag1","hashtag2"]},{"1396906566":["hashtag1","hashtag2"]},{"1396906554":["hashtag1","hashtag2"]},{"1396906574":["hashtag1","hashtag2"]},{"1396906532":["hashtag1","hashtag2"]},{"1396906529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396906537, 1396906566, 1396906554, 1396906574, 1396906532, 1396906529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11569595336914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:48:02.310532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/46/image_29112025_15_47_05_10634.jpg', '/home/pi/Desktop/images/29112025/15/47/image_29112025_15_47_14_9603.jpg', '/home/pi/Desktop/images/29112025/15/47/image_29112025_15_47_35_10690.jpg', '/home/pi/Desktop/images/29112025/15/47/image_29112025_15_47_45_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/46/image_29112025_15_47_05_10634.jpg
/home/pi/Desktop/images/29112025/15/47/image_29112025_15_47_14_9603.jpg
/home/pi/Desktop/images/29112025/15/47/image_29112025_15_47_35_10690.jpg
/home/pi/Desktop/images/29112025/15/47/image_29112025_15_47_45_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906584","1396906586","1396906583","1396906585"],"photo_ids_order":["1396906583","1396906584","1396906585","1396906586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5c4e9a3c0c87be574edb8915cf73020.jpg","text":"TemporaryFile(/tmp/multipartBody5239872469527051211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427742949,"filename":"image_29112025_15_47_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/11/29/bb2986f3bc47eddaf1811acb181e3979.jpg","text":"TemporaryFile(/tmp/multipartBody807393743127941339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427742949,"filename":"image_29112025_15_47_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3aec2741fc7e05e9175994d11b742b8.jpg","text":"TemporaryFile(/tmp/multipartBody7837904813327311587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427742949,"filename":"image_29112025_15_47_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f47a505c66df7a9a6b3c8f19d467105d.jpg","text":"TemporaryFile(/tmp/multipartBody2399264106565526523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427742949,"filename":"image_29112025_15_47_35_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906585","file1":"1396906584","file0":"1396906583","file3":"1396906586"},"map_files_photo_id_array":[{"photo_id":"1396906585","filename":"file2"},{"photo_id":"1396906584","filename":"file1"},{"photo_id":"1396906583","filename":"file0"},{"photo_id":"1396906586","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396906584":["hashtag1","hashtag2"]},{"1396906586":["hashtag1","hashtag2"]},{"1396906583":["hashtag1","hashtag2"]},{"1396906585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396906584, 1396906586, 1396906583, 1396906585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.744832038879395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:48:31.879590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_28_2665.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_31_2965.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_35_3815.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_37_2798.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_40_2620.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_44_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_28_2665.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_31_2965.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_35_3815.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_37_2798.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_40_2620.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_44_3601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906600","1396906665","1396906632","1396906598","1396906604","1396906594"],"photo_ids_order":["1396906594","1396906598","1396906600","1396906604","1396906632","1396906665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0cff06fa5ea40a08ead1ed00a41922f.jpg","text":"TemporaryFile(/tmp/multipartBody4520666217005085633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427774112,"filename":"image_25112025_18_35_35_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/daf2571351330682351fe34303ff002f.jpg","text":"TemporaryFile(/tmp/multipartBody6394943770513597869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427774112,"filename":"image_25112025_18_35_44_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/677453144bd5f0c00273d83c73a667b4.jpg","text":"TemporaryFile(/tmp/multipartBody5585580457679479762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427774112,"filename":"image_25112025_18_35_40_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49ccc9520286a0da022a835cca9e86f2.jpg","text":"TemporaryFile(/tmp/multipartBody14329950974099700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427774112,"filename":"image_25112025_18_35_31_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58f58724d029f3ac3ff545c450f9f69d.jpg","text":"TemporaryFile(/tmp/multipartBody391578745475647207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427774112,"filename":"image_25112025_18_35_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/11/29/7a1be8d40ede8f884788a45acea32a78.jpg","text":"TemporaryFile(/tmp/multipartBody9177453717015486397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427774112,"filename":"image_25112025_18_35_28_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906600","file1":"1396906598","file0":"1396906594","file4":"1396906632","file5":"1396906665","file3":"1396906604"},"map_files_photo_id_array":[{"photo_id":"1396906665","filename":"file5"},{"photo_id":"1396906600","filename":"file2"},{"photo_id":"1396906632","filename":"file4"},{"photo_id":"1396906598","filename":"file1"},{"photo_id":"1396906594","filename":"file0"},{"photo_id":"1396906604","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396906600":["hashtag1","hashtag2"]},{"1396906665":["hashtag1","hashtag2"]},{"1396906632":["hashtag1","hashtag2"]},{"1396906598":["hashtag1","hashtag2"]},{"1396906604":["hashtag1","hashtag2"]},{"1396906594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396906600, 1396906665, 1396906632, 1396906598, 1396906604, 1396906594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.078001976013184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:49:12.043857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_46_2647.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_49_2650.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_53_3660.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_55_2641.jpg', '/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_58_2796.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_02_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_46_2647.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_49_2650.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_53_3660.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_55_2641.jpg
/home/pi/Desktop/images/25112025/18/35/image_25112025_18_35_58_2796.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_02_3672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906863","1396906883","1396906877","1396906853","1396906805","1396906837"],"photo_ids_order":["1396906805","1396906837","1396906853","1396906863","1396906877","1396906883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9300e44a8ac79ba40e50a7a5aa715624.jpg","text":"TemporaryFile(/tmp/multipartBody6130250389254708189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427814109,"filename":"image_25112025_18_35_55_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/620de4e3e89db1a164dacb4005e690e6.jpg","text":"TemporaryFile(/tmp/multipartBody3124010353690235446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427814109,"filename":"image_25112025_18_36_02_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f333fbe3e277c355f3f186015a18082.jpg","text":"TemporaryFile(/tmp/multipartBody3308421807761364893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427814109,"filename":"image_25112025_18_35_58_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0e33c4060f521c527e024e59c5d8cb8.jpg","text":"TemporaryFile(/tmp/multipartBody6107888929893945981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427814109,"filename":"image_25112025_18_35_53_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f5bcf4b403694618c0864c520d5e1f0.jpg","text":"TemporaryFile(/tmp/multipartBody3266067400421774219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427814109,"filename":"image_25112025_18_35_46_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42b818924d4d365eef28867c8ea3705e.jpg","text":"TemporaryFile(/tmp/multipartBody4012475550849922160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427814109,"filename":"image_25112025_18_35_49_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906853","file1":"1396906837","file0":"1396906805","file4":"1396906877","file5":"1396906883","file3":"1396906863"},"map_files_photo_id_array":[{"photo_id":"1396906883","filename":"file5"},{"photo_id":"1396906853","filename":"file2"},{"photo_id":"1396906877","filename":"file4"},{"photo_id":"1396906837","filename":"file1"},{"photo_id":"1396906805","filename":"file0"},{"photo_id":"1396906863","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396906863":["hashtag1","hashtag2"]},{"1396906883":["hashtag1","hashtag2"]},{"1396906877":["hashtag1","hashtag2"]},{"1396906853":["hashtag1","hashtag2"]},{"1396906805":["hashtag1","hashtag2"]},{"1396906837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396906863, 1396906883, 1396906877, 1396906853, 1396906805, 1396906837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.521745920181274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:50:02.755978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/47/image_29112025_15_47_54_9673.jpg', '/home/pi/Desktop/images/29112025/15/48/image_29112025_15_48_15_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/47/image_29112025_15_47_54_9673.jpg
/home/pi/Desktop/images/29112025/15/48/image_29112025_15_48_15_9723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906909","1396906911"],"photo_ids_order":["1396906909","1396906911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f3cfc09a467fa6283279fa915f4ba38.jpg","text":"TemporaryFile(/tmp/multipartBody1278375279595513440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427863305,"filename":"image_29112025_15_47_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/11/29/ff60d516616cf1626cac0c4d65598063.jpg","text":"TemporaryFile(/tmp/multipartBody7970165542192611486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427863305,"filename":"image_29112025_15_48_15_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396906911","file0":"1396906909"},"map_files_photo_id_array":[{"photo_id":"1396906911","filename":"file1"},{"photo_id":"1396906909","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396906909":["hashtag1","hashtag2"]},{"1396906911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396906909, 1396906911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.392370462417603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:50:22.316442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_04_2633.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_07_2614.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_10_3573.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_13_2518.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_16_3498.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_19_2544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_04_2633.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_07_2614.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_10_3573.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_13_2518.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_16_3498.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_19_2544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906927","1396906921","1396906915","1396906929","1396906924","1396906918"],"photo_ids_order":["1396906915","1396906918","1396906921","1396906924","1396906927","1396906929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0886ae304b7458da2c5ca6481fcb0b52.jpg","text":"TemporaryFile(/tmp/multipartBody5590508325038909852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427884486,"filename":"image_25112025_18_36_16_3498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2de5fa779392f5256f9a4c5179dcbb97.jpg","text":"TemporaryFile(/tmp/multipartBody473848420572820267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427884486,"filename":"image_25112025_18_36_10_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39b60685cd7663ace294bddc0f17cb78.jpg","text":"TemporaryFile(/tmp/multipartBody2215108928746937289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427884486,"filename":"image_25112025_18_36_04_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57160ff26fe432819a0e36ab8e2a1879.jpg","text":"TemporaryFile(/tmp/multipartBody2929708006817751575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427884486,"filename":"image_25112025_18_36_19_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1151e966b60f141bd22e4690787eaab3.jpg","text":"TemporaryFile(/tmp/multipartBody174879580820435896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427884486,"filename":"image_25112025_18_36_13_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22f584fd5213a8806aa55d20ac8e7983.jpg","text":"TemporaryFile(/tmp/multipartBody6878022282486416793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427884486,"filename":"image_25112025_18_36_07_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906921","file1":"1396906918","file0":"1396906915","file4":"1396906927","file5":"1396906929","file3":"1396906924"},"map_files_photo_id_array":[{"photo_id":"1396906929","filename":"file5"},{"photo_id":"1396906921","filename":"file2"},{"photo_id":"1396906927","filename":"file4"},{"photo_id":"1396906918","filename":"file1"},{"photo_id":"1396906915","filename":"file0"},{"photo_id":"1396906924","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396906927":["hashtag1","hashtag2"]},{"1396906921":["hashtag1","hashtag2"]},{"1396906915":["hashtag1","hashtag2"]},{"1396906929":["hashtag1","hashtag2"]},{"1396906924":["hashtag1","hashtag2"]},{"1396906918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396906927, 1396906921, 1396906915, 1396906929, 1396906924, 1396906918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06466817855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:51:03.250422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_25_2530.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_28_2601.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_31_3578.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_34_2689.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_37_3558.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_40_2751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_25_2530.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_28_2601.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_31_3578.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_34_2689.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_37_3558.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_40_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906941","1396906944","1396906938","1396906931","1396906937","1396906930"],"photo_ids_order":["1396906930","1396906931","1396906937","1396906938","1396906941","1396906944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8659f0b7d7ef8c97cfa0453a0413d19b.jpg","text":"TemporaryFile(/tmp/multipartBody7051701418532170141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427924912,"filename":"image_25112025_18_36_37_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6aa092f185503ea1f49f66506252687.jpg","text":"TemporaryFile(/tmp/multipartBody1795389003707289438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427924912,"filename":"image_25112025_18_36_40_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d49fb16c2aea15d4f824688fb39191dd.jpg","text":"TemporaryFile(/tmp/multipartBody6660577444027008333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427924912,"filename":"image_25112025_18_36_34_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c1ff6daf7eda8f4227062a97a1ff6a5.jpg","text":"TemporaryFile(/tmp/multipartBody8374606717346718698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427924912,"filename":"image_25112025_18_36_28_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c8cb54531cb01bac235d8cf72176dbf.jpg","text":"TemporaryFile(/tmp/multipartBody6339371971978552408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427924912,"filename":"image_25112025_18_36_31_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5cdc1514a3c60983bc9caf8458bd03b3.jpg","text":"TemporaryFile(/tmp/multipartBody4921854854298073536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427924912,"filename":"image_25112025_18_36_25_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906937","file1":"1396906931","file0":"1396906930","file4":"1396906941","file5":"1396906944","file3":"1396906938"},"map_files_photo_id_array":[{"photo_id":"1396906944","filename":"file5"},{"photo_id":"1396906937","filename":"file2"},{"photo_id":"1396906941","filename":"file4"},{"photo_id":"1396906931","filename":"file1"},{"photo_id":"1396906930","filename":"file0"},{"photo_id":"1396906938","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396906941":["hashtag1","hashtag2"]},{"1396906944":["hashtag1","hashtag2"]},{"1396906938":["hashtag1","hashtag2"]},{"1396906931":["hashtag1","hashtag2"]},{"1396906937":["hashtag1","hashtag2"]},{"1396906930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396906941, 1396906944, 1396906938, 1396906931, 1396906937, 1396906930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06575536727905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:51:42.607424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_41_2663.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_44_2822.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_46_2704.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_50_3766.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_53_2621.jpg', '/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_56_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/10/00/image_31102025_10_00_41_2663.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_44_2822.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_46_2704.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_50_3766.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_53_2621.jpg
/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_56_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":["1396906953","1396906956","1396906959","1396906958","1396906955","1396906957"],"photo_ids_order":["1396906953","1396906955","1396906956","1396906957","1396906958","1396906959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11eae42ada401d764aecf70c8217d80a.jpg","text":"TemporaryFile(/tmp/multipartBody2251700261773935154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427963774,"filename":"image_31102025_10_00_41_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f846be871ec6b0e56bb76365f31664e2.jpg","text":"TemporaryFile(/tmp/multipartBody8175648480213972323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427963774,"filename":"image_31102025_10_00_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/11/29/ffd8b73226d4149853efc4c7831ee9e4.jpg","text":"TemporaryFile(/tmp/multipartBody8238049338738001590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427963774,"filename":"image_31102025_10_00_56_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48a06d3f0f539b958125a5314563cdcc.jpg","text":"TemporaryFile(/tmp/multipartBody392029548203868469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427963774,"filename":"image_31102025_10_00_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/11/29/0a5a3c9295d440f7fca1652e001a3625.jpg","text":"TemporaryFile(/tmp/multipartBody7427354589112110623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427963774,"filename":"image_31102025_10_00_44_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee3a25c4e84a82e04d994d4c5d43c6ac.jpg","text":"TemporaryFile(/tmp/multipartBody5528029826064915640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764427963774,"filename":"image_31102025_10_00_50_3766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906956","file1":"1396906955","file0":"1396906953","file4":"1396906958","file5":"1396906959","file3":"1396906957"},"map_files_photo_id_array":[{"photo_id":"1396906959","filename":"file5"},{"photo_id":"1396906956","filename":"file2"},{"photo_id":"1396906958","filename":"file4"},{"photo_id":"1396906955","filename":"file1"},{"photo_id":"1396906953","filename":"file0"},{"photo_id":"1396906957","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396906953":["hashtag1","hashtag2"]},{"1396906956":["hashtag1","hashtag2"]},{"1396906959":["hashtag1","hashtag2"]},{"1396906958":["hashtag1","hashtag2"]},{"1396906955":["hashtag1","hashtag2"]},{"1396906957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396906953, 1396906956, 1396906959, 1396906958, 1396906955, 1396906957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.248594999313354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:52:22.725585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/48/image_29112025_15_49_04_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/48/image_29112025_15_49_04_9789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906963"],"photo_id":"1396906963","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1b8a7c93eebef59c3e58e6092697cc3.jpg","text":"TemporaryFile(/tmp/multipartBody3808195001499112592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428003241,"filename":"image_29112025_15_49_04_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396906963"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396906963"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.577634811401367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:52:42.878698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/00/image_31102025_10_00_58_2692.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_02_3563.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_05_2764.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_11_2587.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_16_2712.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_20_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/10/00/image_31102025_10_00_58_2692.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_02_3563.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_05_2764.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_11_2587.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_16_2712.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_20_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":["1396906977","1396906976","1396906979","1396906973","1396906981","1396906978"],"photo_ids_order":["1396906973","1396906976","1396906977","1396906978","1396906979","1396906981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b450047e862cd296a8fc745f29a75a48.jpg","text":"TemporaryFile(/tmp/multipartBody5530743835332699231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428024046,"filename":"image_31102025_10_01_05_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae8ea9c0f22893ee998599e67cd3ae9a.jpg","text":"TemporaryFile(/tmp/multipartBody969771322776536688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428024046,"filename":"image_31102025_10_01_02_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1760fce16fa6fc4af4bcb0fe02d317ad.jpg","text":"TemporaryFile(/tmp/multipartBody6640132420084890013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428024046,"filename":"image_31102025_10_01_16_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f8ba2453b7257fc08ff352307f1c654.jpg","text":"TemporaryFile(/tmp/multipartBody6283864593827455218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428024046,"filename":"image_31102025_10_00_58_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d024e585ec70a38bd7bfdf6ff4f602b3.jpg","text":"TemporaryFile(/tmp/multipartBody5172068266806201778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428024046,"filename":"image_31102025_10_01_20_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/809bbb3f946947a8f3feabcc35aaac67.jpg","text":"TemporaryFile(/tmp/multipartBody6479479511580485560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428024046,"filename":"image_31102025_10_01_11_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396906977","file1":"1396906976","file0":"1396906973","file4":"1396906979","file5":"1396906981","file3":"1396906978"},"map_files_photo_id_array":[{"photo_id":"1396906981","filename":"file5"},{"photo_id":"1396906977","filename":"file2"},{"photo_id":"1396906979","filename":"file4"},{"photo_id":"1396906976","filename":"file1"},{"photo_id":"1396906973","filename":"file0"},{"photo_id":"1396906978","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396906977":["hashtag1","hashtag2"]},{"1396906976":["hashtag1","hashtag2"]},{"1396906979":["hashtag1","hashtag2"]},{"1396906973":["hashtag1","hashtag2"]},{"1396906981":["hashtag1","hashtag2"]},{"1396906978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396906977, 1396906976, 1396906979, 1396906973, 1396906981, 1396906978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.602384090423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:53:22.056202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/50/image_29112025_15_51_04_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/50/image_29112025_15_51_04_9670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396906984"],"photo_id":"1396906984","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f02439586d7cb21ca83267db6293bc47.jpg","text":"TemporaryFile(/tmp/multipartBody6516277083699742824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428062580,"filename":"image_29112025_15_51_04_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396906984"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396906984"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.776836156845093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:53:42.111381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_23_2832.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_25_2708.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_29_3617.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_32_2560.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_38_3774.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_41_2826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_23_2832.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_25_2708.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_29_3617.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_32_2560.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_38_3774.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_41_2826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907016","1396907019","1396907018","1396907017","1396907020","1396907014"],"photo_ids_order":["1396907014","1396907016","1396907017","1396907018","1396907019","1396907020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5ad20e9919e96cb279725375c9e79b4.jpg","text":"TemporaryFile(/tmp/multipartBody1682516117144492780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428083223,"filename":"image_31102025_10_01_25_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f68df82d443ad2d48a436d0bd091302.jpg","text":"TemporaryFile(/tmp/multipartBody3184607215686383436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428083223,"filename":"image_31102025_10_01_38_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7cf352b86544c35d7f07628ffe2a578c.jpg","text":"TemporaryFile(/tmp/multipartBody8574054989826495205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428083223,"filename":"image_31102025_10_01_32_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/293a235e9ed8d09e0e94e0c20010ff46.jpg","text":"TemporaryFile(/tmp/multipartBody6594295302728136117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428083223,"filename":"image_31102025_10_01_29_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37af1f8593aa32702ff0a0cc39e3baf5.jpg","text":"TemporaryFile(/tmp/multipartBody3893212696127622826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428083223,"filename":"image_31102025_10_01_41_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76e0d467baeabf1c4ff8d7e68e9baf6a.jpg","text":"TemporaryFile(/tmp/multipartBody3298309854898093678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428083223,"filename":"image_31102025_10_01_23_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907017","file1":"1396907016","file0":"1396907014","file4":"1396907019","file5":"1396907020","file3":"1396907018"},"map_files_photo_id_array":[{"photo_id":"1396907020","filename":"file5"},{"photo_id":"1396907017","filename":"file2"},{"photo_id":"1396907019","filename":"file4"},{"photo_id":"1396907016","filename":"file1"},{"photo_id":"1396907014","filename":"file0"},{"photo_id":"1396907018","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907016":["hashtag1","hashtag2"]},{"1396907019":["hashtag1","hashtag2"]},{"1396907018":["hashtag1","hashtag2"]},{"1396907017":["hashtag1","hashtag2"]},{"1396907020":["hashtag1","hashtag2"]},{"1396907014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907016, 1396907019, 1396907018, 1396907017, 1396907020, 1396907014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8988139629364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:54:22.285961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/53/image_29112025_15_53_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/53/image_29112025_15_53_34_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907023"],"photo_id":"1396907023","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/428fe9d0b13058c5f2a130548c433c8c.jpg","text":"TemporaryFile(/tmp/multipartBody2016904506455606573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428122806,"filename":"image_29112025_15_53_34_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396907023"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396907023"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.929841041564941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:54:42.355352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_44_2771.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_46_2724.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_50_3666.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_53_2684.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_55_2736.jpg', '/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_59_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_44_2771.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_46_2724.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_50_3666.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_53_2684.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_55_2736.jpg
/home/pi/Desktop/images/31102025/10/01/image_31102025_10_01_59_3621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907034","1396907037","1396907039","1396907036","1396907041","1396907038"],"photo_ids_order":["1396907034","1396907036","1396907037","1396907038","1396907039","1396907041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da2a716184b8b030619e25a93f3d14d9.jpg","text":"TemporaryFile(/tmp/multipartBody8661240316492606705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428143478,"filename":"image_31102025_10_01_44_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31382ebd3e69882281660a5630845cea.jpg","text":"TemporaryFile(/tmp/multipartBody6704400303649053189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428143478,"filename":"image_31102025_10_01_50_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/abe883a25ffbc40b530eacd607e44302.jpg","text":"TemporaryFile(/tmp/multipartBody4415135546480775451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428143478,"filename":"image_31102025_10_01_55_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6eba278eed8e97335b26be7e8ba76ab8.jpg","text":"TemporaryFile(/tmp/multipartBody9038764898831247795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428143478,"filename":"image_31102025_10_01_46_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12aeab45b32c485499d03c0806875f69.jpg","text":"TemporaryFile(/tmp/multipartBody2201798773138957996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428143478,"filename":"image_31102025_10_01_59_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/095c13d121dc3129c9ad82cdc05bf965.jpg","text":"TemporaryFile(/tmp/multipartBody1153698632292950397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428143478,"filename":"image_31102025_10_01_53_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907037","file1":"1396907036","file0":"1396907034","file4":"1396907039","file5":"1396907041","file3":"1396907038"},"map_files_photo_id_array":[{"photo_id":"1396907041","filename":"file5"},{"photo_id":"1396907037","filename":"file2"},{"photo_id":"1396907039","filename":"file4"},{"photo_id":"1396907036","filename":"file1"},{"photo_id":"1396907034","filename":"file0"},{"photo_id":"1396907038","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907034":["hashtag1","hashtag2"]},{"1396907037":["hashtag1","hashtag2"]},{"1396907039":["hashtag1","hashtag2"]},{"1396907036":["hashtag1","hashtag2"]},{"1396907041":["hashtag1","hashtag2"]},{"1396907038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907034, 1396907037, 1396907039, 1396907036, 1396907041, 1396907038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55194687843323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:55:22.557105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_43_2839.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_46_2578.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_49_3680.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_52_2630.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_56_3567.jpg', '/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_58_2797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_43_2839.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_46_2578.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_49_3680.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_52_2630.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_56_3567.jpg
/home/pi/Desktop/images/25112025/18/36/image_25112025_18_36_58_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907073","1396907076","1396907071","1396907068","1396907062","1396907065"],"photo_ids_order":["1396907062","1396907065","1396907068","1396907071","1396907073","1396907076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4dfead9448ce7bc20ebf9a4b5f3ac98c.jpg","text":"TemporaryFile(/tmp/multipartBody7452551377258929399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428184729,"filename":"image_25112025_18_36_56_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/410c820cd77e7f1284d38b5654e1ddec.jpg","text":"TemporaryFile(/tmp/multipartBody2887273926329521481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428184729,"filename":"image_25112025_18_36_58_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bcc428d66bdfd5e2ba2d283e2b7945b.jpg","text":"TemporaryFile(/tmp/multipartBody541568860898196603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428184729,"filename":"image_25112025_18_36_52_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e337fd761e4924cc79a34f7b9f5cef3f.jpg","text":"TemporaryFile(/tmp/multipartBody4993361025219469815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428184729,"filename":"image_25112025_18_36_49_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c776c69545e94bd6eb5496c8782ad799.jpg","text":"TemporaryFile(/tmp/multipartBody5840685214276856832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428184729,"filename":"image_25112025_18_36_43_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/500c4cb37e928afc8f587ef2cd6e6019.jpg","text":"TemporaryFile(/tmp/multipartBody2836352859984257348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428184729,"filename":"image_25112025_18_36_46_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907068","file1":"1396907065","file0":"1396907062","file4":"1396907073","file5":"1396907076","file3":"1396907071"},"map_files_photo_id_array":[{"photo_id":"1396907076","filename":"file5"},{"photo_id":"1396907068","filename":"file2"},{"photo_id":"1396907073","filename":"file4"},{"photo_id":"1396907065","filename":"file1"},{"photo_id":"1396907062","filename":"file0"},{"photo_id":"1396907071","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907073":["hashtag1","hashtag2"]},{"1396907076":["hashtag1","hashtag2"]},{"1396907071":["hashtag1","hashtag2"]},{"1396907068":["hashtag1","hashtag2"]},{"1396907062":["hashtag1","hashtag2"]},{"1396907065":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907073, 1396907076, 1396907071, 1396907068, 1396907062, 1396907065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.329426288604736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:56:03.138977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_01_2550.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_04_2754.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_07_3678.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_10_2584.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_13_2667.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_16_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_01_2550.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_04_2754.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_07_3678.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_10_2584.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_13_2667.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_16_3573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907085","1396907079","1396907078","1396907080","1396907077","1396907082"],"photo_ids_order":["1396907077","1396907078","1396907079","1396907080","1396907082","1396907085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fc38b9f98eca6761104d61056db4b89.jpg","text":"TemporaryFile(/tmp/multipartBody8812224413400174152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428224712,"filename":"image_25112025_18_37_16_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/717f9c013247120734a23ad02f205738.jpg","text":"TemporaryFile(/tmp/multipartBody7445885240519676960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428224712,"filename":"image_25112025_18_37_07_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9f18689efdcb18cc7cb97f005996715.jpg","text":"TemporaryFile(/tmp/multipartBody5824210849243731427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428224712,"filename":"image_25112025_18_37_04_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cac45a70ba0a0ee10c1d02ff658cec2c.jpg","text":"TemporaryFile(/tmp/multipartBody2577308721705473792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428224712,"filename":"image_25112025_18_37_10_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97e8b03481c68cad37187845ce4e3088.jpg","text":"TemporaryFile(/tmp/multipartBody1667572244903296625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428224712,"filename":"image_25112025_18_37_01_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04b167c8abae9e5c7f45162119331ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7592538178765141877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428224712,"filename":"image_25112025_18_37_13_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907079","file1":"1396907078","file0":"1396907077","file4":"1396907082","file5":"1396907085","file3":"1396907080"},"map_files_photo_id_array":[{"photo_id":"1396907085","filename":"file5"},{"photo_id":"1396907079","filename":"file2"},{"photo_id":"1396907082","filename":"file4"},{"photo_id":"1396907078","filename":"file1"},{"photo_id":"1396907077","filename":"file0"},{"photo_id":"1396907080","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907085":["hashtag1","hashtag2"]},{"1396907079":["hashtag1","hashtag2"]},{"1396907078":["hashtag1","hashtag2"]},{"1396907080":["hashtag1","hashtag2"]},{"1396907077":["hashtag1","hashtag2"]},{"1396907082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907085, 1396907079, 1396907078, 1396907080, 1396907077, 1396907082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85276174545288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 15:56:42.708067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_02_2895.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_07_2751.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_10_2662.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_14_3679.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_16_2680.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_19_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/10/02/image_31102025_10_02_02_2895.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_07_2751.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_10_2662.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_14_3679.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_16_2680.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_19_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":["1396907101","1396907103","1396907099","1396907105","1396907095","1396907107"],"photo_ids_order":["1396907095","1396907099","1396907101","1396907103","1396907105","1396907107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46b5462232c5c1c1614441eb5b096278.jpg","text":"TemporaryFile(/tmp/multipartBody6051786994596206865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428263834,"filename":"image_31102025_10_02_10_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b2f501fa9b5f82156c97392e84fd861.jpg","text":"TemporaryFile(/tmp/multipartBody502913439963096783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428263834,"filename":"image_31102025_10_02_14_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a618858653e8a7d1533a3abc879f11ce.jpg","text":"TemporaryFile(/tmp/multipartBody2099730082807314150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428263834,"filename":"image_31102025_10_02_07_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adde369371e9244c5d0fdf26f7c7e6c5.jpg","text":"TemporaryFile(/tmp/multipartBody7518385244365944405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428263834,"filename":"image_31102025_10_02_16_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccc5320deb2a8a4ea400a4048eba86f1.jpg","text":"TemporaryFile(/tmp/multipartBody8861229656569745141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428263834,"filename":"image_31102025_10_02_02_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20f06ae456b3e76a8b04a0447d83f8c8.jpg","text":"TemporaryFile(/tmp/multipartBody8041787940404916697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428263834,"filename":"image_31102025_10_02_19_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907101","file1":"1396907099","file0":"1396907095","file4":"1396907105","file5":"1396907107","file3":"1396907103"},"map_files_photo_id_array":[{"photo_id":"1396907107","filename":"file5"},{"photo_id":"1396907101","filename":"file2"},{"photo_id":"1396907105","filename":"file4"},{"photo_id":"1396907099","filename":"file1"},{"photo_id":"1396907095","filename":"file0"},{"photo_id":"1396907103","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907101":["hashtag1","hashtag2"]},{"1396907103":["hashtag1","hashtag2"]},{"1396907099":["hashtag1","hashtag2"]},{"1396907105":["hashtag1","hashtag2"]},{"1396907095":["hashtag1","hashtag2"]},{"1396907107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907101, 1396907103, 1396907099, 1396907105, 1396907095, 1396907107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48550319671631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 15:57:22.013107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_19_2582.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_22_3719.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_25_2493.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_28_3541.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_32_3529.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_34_1500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_19_2582.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_22_3719.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_25_2493.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_28_3541.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_32_3529.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_34_1500.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.06325364112854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 15:57:31.877986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_19_2582.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_22_3719.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_25_2493.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_28_3541.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_32_3529.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_34_1500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_19_2582.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_22_3719.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_25_2493.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_28_3541.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_32_3529.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_34_1500.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907172","1396907169","1396907174","1396907147","1396907173","1396907164"],"photo_ids_order":["1396907147","1396907164","1396907169","1396907172","1396907173","1396907174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9e09168f1106a56759e1f7f66f7d39f.jpg","text":"TemporaryFile(/tmp/multipartBody5717680263298934856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428313955,"filename":"image_25112025_18_37_28_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef639cf316919035acc3b0562791a120.jpg","text":"TemporaryFile(/tmp/multipartBody3514150123442173950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428313955,"filename":"image_25112025_18_37_25_2493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72b02820ec1f7f08a369fede6290635c.jpg","text":"TemporaryFile(/tmp/multipartBody110249970207098183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428313955,"filename":"image_25112025_18_37_34_1500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b90f0e40806a9765105f56586aa92dcd.jpg","text":"TemporaryFile(/tmp/multipartBody361291426756083167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428313955,"filename":"image_25112025_18_37_19_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/467947c28a612a29faaeda6a753646bc.jpg","text":"TemporaryFile(/tmp/multipartBody2800625501335087283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428313955,"filename":"image_25112025_18_37_32_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02206fa9c6025f74fe69562ce9910f78.jpg","text":"TemporaryFile(/tmp/multipartBody7798376344777754528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428313955,"filename":"image_25112025_18_37_22_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907169","file1":"1396907164","file0":"1396907147","file4":"1396907173","file5":"1396907174","file3":"1396907172"},"map_files_photo_id_array":[{"photo_id":"1396907174","filename":"file5"},{"photo_id":"1396907169","filename":"file2"},{"photo_id":"1396907173","filename":"file4"},{"photo_id":"1396907164","filename":"file1"},{"photo_id":"1396907147","filename":"file0"},{"photo_id":"1396907172","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907172":["hashtag1","hashtag2"]},{"1396907169":["hashtag1","hashtag2"]},{"1396907174":["hashtag1","hashtag2"]},{"1396907147":["hashtag1","hashtag2"]},{"1396907173":["hashtag1","hashtag2"]},{"1396907164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907172, 1396907169, 1396907174, 1396907147, 1396907173, 1396907164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08153414726257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 15:59:03.072699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_37_3595.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_43_3548.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_46_2582.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_49_3540.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_52_2606.jpg', '/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_55_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_37_3595.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_43_3548.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_46_2582.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_49_3540.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_52_2606.jpg
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_37_55_2800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907178","1396907187","1396907192","1396907189","1396907183","1396907196"],"photo_ids_order":["1396907178","1396907183","1396907187","1396907189","1396907192","1396907196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/944da7927c946e3608a565d79bdb7307.jpg","text":"TemporaryFile(/tmp/multipartBody3944197571169950474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428404882,"filename":"image_25112025_18_37_37_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1fa1df322416f2cbd1ed4d358bceac6.jpg","text":"TemporaryFile(/tmp/multipartBody7796744346904890102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428404882,"filename":"image_25112025_18_37_46_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6da210f90e4a219fda2e318619086501.jpg","text":"TemporaryFile(/tmp/multipartBody1744699629210858325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428404882,"filename":"image_25112025_18_37_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/11/29/64823e20db3916dddbb75c67b3515bd5.jpg","text":"TemporaryFile(/tmp/multipartBody6187615216388727369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428404882,"filename":"image_25112025_18_37_49_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa408878dcef0dee23cd24426b7708d8.jpg","text":"TemporaryFile(/tmp/multipartBody5546806621323370122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428404882,"filename":"image_25112025_18_37_43_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e984693cafd02915017ebb885ff35611.jpg","text":"TemporaryFile(/tmp/multipartBody849059417162740553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428404882,"filename":"image_25112025_18_37_55_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907187","file1":"1396907183","file0":"1396907178","file4":"1396907192","file5":"1396907196","file3":"1396907189"},"map_files_photo_id_array":[{"photo_id":"1396907196","filename":"file5"},{"photo_id":"1396907187","filename":"file2"},{"photo_id":"1396907192","filename":"file4"},{"photo_id":"1396907183","filename":"file1"},{"photo_id":"1396907178","filename":"file0"},{"photo_id":"1396907189","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907178":["hashtag1","hashtag2"]},{"1396907187":["hashtag1","hashtag2"]},{"1396907192":["hashtag1","hashtag2"]},{"1396907189":["hashtag1","hashtag2"]},{"1396907183":["hashtag1","hashtag2"]},{"1396907196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907178, 1396907187, 1396907192, 1396907189, 1396907183, 1396907196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59380578994751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:00:02.867438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/54/image_29112025_15_54_44_9528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/54/image_29112025_15_54_44_9528.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4273808002471924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 16:00:12.462749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/37/image_25112025_18_38_01_3671.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_04_2623.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_07_3513.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_10_2791.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_13_2661.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_16_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/37/image_25112025_18_38_01_3671.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_04_2623.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_07_3513.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_10_2791.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_13_2661.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_16_2723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907209","1396907220","1396907214","1396907223","1396907217","1396907211"],"photo_ids_order":["1396907209","1396907211","1396907214","1396907217","1396907220","1396907223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e3b247853851122114cc6e96c53c9a9.jpg","text":"TemporaryFile(/tmp/multipartBody5325154719107464780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428474576,"filename":"image_25112025_18_38_01_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/566d623ad95d22f2ac663b75c157feb8.jpg","text":"TemporaryFile(/tmp/multipartBody7094934195951214188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428474576,"filename":"image_25112025_18_38_13_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25eb4f1ebdee28f29cfc9576eb922974.jpg","text":"TemporaryFile(/tmp/multipartBody2840788888894567278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428474576,"filename":"image_25112025_18_38_07_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce364a4b712979bb2592837f3f75942f.jpg","text":"TemporaryFile(/tmp/multipartBody679779136740271303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428474576,"filename":"image_25112025_18_38_16_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aeab3ead9d05345433876b17fb6563ff.jpg","text":"TemporaryFile(/tmp/multipartBody6413683355021611753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428474576,"filename":"image_25112025_18_38_10_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a78d7049620308095edd4ef791e28ad4.jpg","text":"TemporaryFile(/tmp/multipartBody3858753420471205196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428474576,"filename":"image_25112025_18_38_04_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907214","file1":"1396907211","file0":"1396907209","file4":"1396907220","file5":"1396907223","file3":"1396907217"},"map_files_photo_id_array":[{"photo_id":"1396907223","filename":"file5"},{"photo_id":"1396907214","filename":"file2"},{"photo_id":"1396907220","filename":"file4"},{"photo_id":"1396907211","filename":"file1"},{"photo_id":"1396907209","filename":"file0"},{"photo_id":"1396907217","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907209":["hashtag1","hashtag2"]},{"1396907220":["hashtag1","hashtag2"]},{"1396907214":["hashtag1","hashtag2"]},{"1396907223":["hashtag1","hashtag2"]},{"1396907217":["hashtag1","hashtag2"]},{"1396907211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907209, 1396907220, 1396907214, 1396907223, 1396907217, 1396907211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64842867851257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:01:03.336801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/54/image_29112025_15_54_44_9528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/54/image_29112025_15_54_44_9528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907228"],"photo_id":"1396907228","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/788ad4de2f410bdace6c1be43177e165.jpg","text":"TemporaryFile(/tmp/multipartBody8605304036165890454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428523890,"filename":"image_29112025_15_54_44_9528.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396907228"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396907228"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.069269180297852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:01:22.728643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_25_3577.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_28_2590.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_31_2591.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_34_3617.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_37_2582.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_40_3506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_25_3577.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_28_2590.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_31_2591.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_34_3617.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_37_2582.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_40_3506.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907235","1396907238","1396907243","1396907246","1396907240","1396907248"],"photo_ids_order":["1396907235","1396907238","1396907240","1396907243","1396907246","1396907248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d97fb0bede69f98ddb0c4b06483e5d4.jpg","text":"TemporaryFile(/tmp/multipartBody5936514341787738169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428544898,"filename":"image_25112025_18_38_25_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b4743c16a065d4ab3c2944b4384e51c.jpg","text":"TemporaryFile(/tmp/multipartBody3965504351268163766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428544898,"filename":"image_25112025_18_38_28_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83cf9908f1bca644e30e239dbae62926.jpg","text":"TemporaryFile(/tmp/multipartBody3265013968369396713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428544898,"filename":"image_25112025_18_38_34_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f167eef06f62620da724f63926de98f8.jpg","text":"TemporaryFile(/tmp/multipartBody3090066011090535136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428544898,"filename":"image_25112025_18_38_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/11/29/363e1c06485136d847ef26b72a79b51c.jpg","text":"TemporaryFile(/tmp/multipartBody1873973700049012605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428544898,"filename":"image_25112025_18_38_31_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9fd8bf20aa68df11df568bd0516858c.jpg","text":"TemporaryFile(/tmp/multipartBody687740419451454792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428544898,"filename":"image_25112025_18_38_40_3506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907240","file1":"1396907238","file0":"1396907235","file4":"1396907246","file5":"1396907248","file3":"1396907243"},"map_files_photo_id_array":[{"photo_id":"1396907248","filename":"file5"},{"photo_id":"1396907240","filename":"file2"},{"photo_id":"1396907246","filename":"file4"},{"photo_id":"1396907238","filename":"file1"},{"photo_id":"1396907235","filename":"file0"},{"photo_id":"1396907243","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907235":["hashtag1","hashtag2"]},{"1396907238":["hashtag1","hashtag2"]},{"1396907243":["hashtag1","hashtag2"]},{"1396907246":["hashtag1","hashtag2"]},{"1396907240":["hashtag1","hashtag2"]},{"1396907248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907235, 1396907238, 1396907243, 1396907246, 1396907240, 1396907248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50313401222229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:02:02.346320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_43_2589.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_46_3577.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_49_2665.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_52_2612.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_55_3636.jpg', '/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_58_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_43_2589.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_46_3577.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_49_2665.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_52_2612.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_55_3636.jpg
/home/pi/Desktop/images/25112025/18/38/image_25112025_18_38_58_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":["1396907256","1396907261","1396907255","1396907258","1396907252","1396907254"],"photo_ids_order":["1396907252","1396907254","1396907255","1396907256","1396907258","1396907261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72bfe94bfcfd289bf9a899c02896cb52.jpg","text":"TemporaryFile(/tmp/multipartBody4803788807842900949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428583934,"filename":"image_25112025_18_38_52_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3011ac37b1399edeb8a426a23153ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8571688474321393740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428583934,"filename":"image_25112025_18_38_58_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/131fff6682426afc0d7e34292cfb1de8.jpg","text":"TemporaryFile(/tmp/multipartBody981191717934996154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428583934,"filename":"image_25112025_18_38_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/11/29/6ad554843a3a776d6cbf269ead8e94d9.jpg","text":"TemporaryFile(/tmp/multipartBody4651362146809681661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428583934,"filename":"image_25112025_18_38_55_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea390dbcbd1681c53844e9ce9109216e.jpg","text":"TemporaryFile(/tmp/multipartBody939778680004601347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428583934,"filename":"image_25112025_18_38_43_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bdaff8120c96079e6d87962674a8ebf.jpg","text":"TemporaryFile(/tmp/multipartBody6792608841886098306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428583934,"filename":"image_25112025_18_38_46_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907255","file1":"1396907254","file0":"1396907252","file4":"1396907258","file5":"1396907261","file3":"1396907256"},"map_files_photo_id_array":[{"photo_id":"1396907261","filename":"file5"},{"photo_id":"1396907255","filename":"file2"},{"photo_id":"1396907258","filename":"file4"},{"photo_id":"1396907254","filename":"file1"},{"photo_id":"1396907252","filename":"file0"},{"photo_id":"1396907256","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907256":["hashtag1","hashtag2"]},{"1396907261":["hashtag1","hashtag2"]},{"1396907255":["hashtag1","hashtag2"]},{"1396907258":["hashtag1","hashtag2"]},{"1396907252":["hashtag1","hashtag2"]},{"1396907254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907256, 1396907261, 1396907255, 1396907258, 1396907252, 1396907254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22959494590759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:02:41.874003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_26_2685.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_31_2841.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_35_3885.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_38_2685.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_40_2805.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_43_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/10/02/image_31102025_10_02_26_2685.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_31_2841.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_35_3885.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_38_2685.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_40_2805.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_43_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":["1396907277","1396907274","1396907273","1396907276","1396907270","1396907275"],"photo_ids_order":["1396907270","1396907273","1396907274","1396907275","1396907276","1396907277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef9b3a037dbdec4a338088de89fe6904.jpg","text":"TemporaryFile(/tmp/multipartBody7971623179258364207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428623023,"filename":"image_31102025_10_02_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/11/29/45578bda5de06dfc5e101f73af7b6853.jpg","text":"TemporaryFile(/tmp/multipartBody3929581023648525421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428623023,"filename":"image_31102025_10_02_35_3885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09648b762715a28f47289ccfde23d47b.jpg","text":"TemporaryFile(/tmp/multipartBody8528394287911503064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428623023,"filename":"image_31102025_10_02_31_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/abc87ea08f800358bd23a8d89ac3882b.jpg","text":"TemporaryFile(/tmp/multipartBody8111686651462713101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428623023,"filename":"image_31102025_10_02_40_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/490bddf8df0279bcf96bf27bff83c738.jpg","text":"TemporaryFile(/tmp/multipartBody8364300030298667884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428623023,"filename":"image_31102025_10_02_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/11/29/f00976b4326a9243be1e2e3df5c52d62.jpg","text":"TemporaryFile(/tmp/multipartBody7114221879178023578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428623023,"filename":"image_31102025_10_02_38_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907274","file1":"1396907273","file0":"1396907270","file4":"1396907276","file5":"1396907277","file3":"1396907275"},"map_files_photo_id_array":[{"photo_id":"1396907277","filename":"file5"},{"photo_id":"1396907274","filename":"file2"},{"photo_id":"1396907276","filename":"file4"},{"photo_id":"1396907273","filename":"file1"},{"photo_id":"1396907270","filename":"file0"},{"photo_id":"1396907275","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907277":["hashtag1","hashtag2"]},{"1396907274":["hashtag1","hashtag2"]},{"1396907273":["hashtag1","hashtag2"]},{"1396907276":["hashtag1","hashtag2"]},{"1396907270":["hashtag1","hashtag2"]},{"1396907275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907277, 1396907274, 1396907273, 1396907276, 1396907270, 1396907275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98135566711426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:03:22.046292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/15/59/image_29112025_15_59_54_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/15/59/image_29112025_15_59_54_9723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907279"],"photo_id":"1396907279","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eda8b40a0551c791bc84c3e8104cdf33.jpg","text":"TemporaryFile(/tmp/multipartBody3707254885391142617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428662562,"filename":"image_29112025_15_59_54_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396907279"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396907279"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.644728183746338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:03:42.056053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_47_3676.jpg', '/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_52_2543.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_05_3551.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_08_2738.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_14_3553.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_16_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/10/02/image_31102025_10_02_47_3676.jpg
/home/pi/Desktop/images/31102025/10/02/image_31102025_10_02_52_2543.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_05_3551.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_08_2738.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_14_3553.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_16_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":["1396907298","1396907291","1396907294","1396907297","1396907296","1396907295"],"photo_ids_order":["1396907291","1396907294","1396907295","1396907296","1396907297","1396907298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1a9be798e0548904389fe397a65576b.jpg","text":"TemporaryFile(/tmp/multipartBody1621949700882623727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428683207,"filename":"image_31102025_10_03_16_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5af79e272179d2a5e61bfb7a6d977663.jpg","text":"TemporaryFile(/tmp/multipartBody1352999809392471370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428683207,"filename":"image_31102025_10_02_47_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8aa0f4892c4908d1978e4ccc66228f7c.jpg","text":"TemporaryFile(/tmp/multipartBody146202463995805324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428683207,"filename":"image_31102025_10_02_52_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c05ec92bcbed11028c5332719a1a1de.jpg","text":"TemporaryFile(/tmp/multipartBody8621590841211908835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428683207,"filename":"image_31102025_10_03_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/11/29/c9ab87bf1452e9ad28bdaf06da2aef5e.jpg","text":"TemporaryFile(/tmp/multipartBody7741450861470093897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428683207,"filename":"image_31102025_10_03_08_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c331e3978ca4362320d9b45426cc1c3a.jpg","text":"TemporaryFile(/tmp/multipartBody7870430477457047648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428683207,"filename":"image_31102025_10_03_05_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907295","file1":"1396907294","file0":"1396907291","file4":"1396907297","file5":"1396907298","file3":"1396907296"},"map_files_photo_id_array":[{"photo_id":"1396907298","filename":"file5"},{"photo_id":"1396907295","filename":"file2"},{"photo_id":"1396907297","filename":"file4"},{"photo_id":"1396907294","filename":"file1"},{"photo_id":"1396907291","filename":"file0"},{"photo_id":"1396907296","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907298":["hashtag1","hashtag2"]},{"1396907291":["hashtag1","hashtag2"]},{"1396907294":["hashtag1","hashtag2"]},{"1396907297":["hashtag1","hashtag2"]},{"1396907296":["hashtag1","hashtag2"]},{"1396907295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907298, 1396907291, 1396907294, 1396907297, 1396907296, 1396907295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.189046144485474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:04:22.308459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_01_2687.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_04_3638.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_07_2630.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_10_2712.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_12_2771.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_16_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_01_2687.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_04_3638.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_07_2630.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_10_2712.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_12_2771.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_16_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":["1396907308","1396907314","1396907317","1396907302","1396907311","1396907305"],"photo_ids_order":["1396907302","1396907305","1396907308","1396907311","1396907314","1396907317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80ae1565876e59efd0ac3facf5898f2c.jpg","text":"TemporaryFile(/tmp/multipartBody6160465571516616040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428724492,"filename":"image_25112025_18_39_07_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63370a241f2bb9f34d49ebccad6b6afa.jpg","text":"TemporaryFile(/tmp/multipartBody8477394885723984933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428724492,"filename":"image_25112025_18_39_12_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/477775d6aa3cc0ebd143492e4b0853cb.jpg","text":"TemporaryFile(/tmp/multipartBody8612265006693878493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428724492,"filename":"image_25112025_18_39_16_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01869e9c39d4a202e082f0119564feea.jpg","text":"TemporaryFile(/tmp/multipartBody176228791516116776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428724492,"filename":"image_25112025_18_39_01_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15546a56447d5876a8095ad5980b5140.jpg","text":"TemporaryFile(/tmp/multipartBody7616016399059470740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428724492,"filename":"image_25112025_18_39_10_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d572b9a0595ee5ffc80bd7b967f5ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4468083157794550526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428724492,"filename":"image_25112025_18_39_04_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907308","file1":"1396907305","file0":"1396907302","file4":"1396907314","file5":"1396907317","file3":"1396907311"},"map_files_photo_id_array":[{"photo_id":"1396907317","filename":"file5"},{"photo_id":"1396907308","filename":"file2"},{"photo_id":"1396907314","filename":"file4"},{"photo_id":"1396907305","filename":"file1"},{"photo_id":"1396907302","filename":"file0"},{"photo_id":"1396907311","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907308":["hashtag1","hashtag2"]},{"1396907314":["hashtag1","hashtag2"]},{"1396907317":["hashtag1","hashtag2"]},{"1396907302":["hashtag1","hashtag2"]},{"1396907311":["hashtag1","hashtag2"]},{"1396907305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907308, 1396907314, 1396907317, 1396907302, 1396907311, 1396907305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.66976594924927 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-11-29 16:05:13.585713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_19_2657.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_21_2668.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_25_3867.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_28_2687.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_31_2845.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_33_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_19_2657.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_21_2668.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_25_3867.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_28_2687.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_31_2845.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_33_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907367","1396907346","1396907321","1396907339","1396907318","1396907371"],"photo_ids_order":["1396907318","1396907321","1396907339","1396907346","1396907367","1396907371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6741f74f7f1add196d2d348795e17d6.jpg","text":"TemporaryFile(/tmp/multipartBody5496859550019181957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428775640,"filename":"image_25112025_18_39_31_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9c6b1e694edda99cb0d983fd198acd0.jpg","text":"TemporaryFile(/tmp/multipartBody2712380005971994426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428775640,"filename":"image_25112025_18_39_28_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62c66ecb2c0fab9c66a890e583e96643.jpg","text":"TemporaryFile(/tmp/multipartBody831158553471801482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428775640,"filename":"image_25112025_18_39_21_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f779b15f428a157f259f71d4f119f707.jpg","text":"TemporaryFile(/tmp/multipartBody6445054498514088402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428775640,"filename":"image_25112025_18_39_25_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c8e3deabb05579fe4273edef8c265bd.jpg","text":"TemporaryFile(/tmp/multipartBody5679613753145395201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428775640,"filename":"image_25112025_18_39_19_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18bc06ab7ffb1fe28a50a76475048f4a.jpg","text":"TemporaryFile(/tmp/multipartBody4967011550311626691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428775640,"filename":"image_25112025_18_39_33_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907339","file1":"1396907321","file0":"1396907318","file4":"1396907367","file5":"1396907371","file3":"1396907346"},"map_files_photo_id_array":[{"photo_id":"1396907371","filename":"file5"},{"photo_id":"1396907339","filename":"file2"},{"photo_id":"1396907367","filename":"file4"},{"photo_id":"1396907321","filename":"file1"},{"photo_id":"1396907318","filename":"file0"},{"photo_id":"1396907346","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907367":["hashtag1","hashtag2"]},{"1396907346":["hashtag1","hashtag2"]},{"1396907321":["hashtag1","hashtag2"]},{"1396907339":["hashtag1","hashtag2"]},{"1396907318":["hashtag1","hashtag2"]},{"1396907371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907367, 1396907346, 1396907321, 1396907339, 1396907318, 1396907371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18442893028259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:06:02.409273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_37_3704.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_40_2708.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_42_2659.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_46_3696.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_49_2573.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_51_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_37_3704.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_40_2708.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_42_2659.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_46_3696.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_49_2573.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_51_2578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907382","1396907385","1396907379","1396907378","1396907377","1396907380"],"photo_ids_order":["1396907377","1396907378","1396907379","1396907380","1396907382","1396907385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c70daea8d8fb5bb347639d8d59caedb9.jpg","text":"TemporaryFile(/tmp/multipartBody610565968702220718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428824001,"filename":"image_25112025_18_39_49_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/714f3ff723ab8a7a943dd53d11e2a163.jpg","text":"TemporaryFile(/tmp/multipartBody9463245677554570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428824001,"filename":"image_25112025_18_39_51_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b44d02caf27b838792272c05a732711d.jpg","text":"TemporaryFile(/tmp/multipartBody3588850920053051186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428824001,"filename":"image_25112025_18_39_42_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/655fd048e2a61b8220373acd4c270a3b.jpg","text":"TemporaryFile(/tmp/multipartBody9189430440365395725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428824001,"filename":"image_25112025_18_39_40_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58015ebe45c6807d7a49a8af1ee0d28e.jpg","text":"TemporaryFile(/tmp/multipartBody431270852522756645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428824001,"filename":"image_25112025_18_39_37_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9397b490774d02d7de43b1835a927eb8.jpg","text":"TemporaryFile(/tmp/multipartBody1797146691836383182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428824001,"filename":"image_25112025_18_39_46_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907379","file1":"1396907378","file0":"1396907377","file4":"1396907382","file5":"1396907385","file3":"1396907380"},"map_files_photo_id_array":[{"photo_id":"1396907385","filename":"file5"},{"photo_id":"1396907379","filename":"file2"},{"photo_id":"1396907382","filename":"file4"},{"photo_id":"1396907378","filename":"file1"},{"photo_id":"1396907377","filename":"file0"},{"photo_id":"1396907380","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907382":["hashtag1","hashtag2"]},{"1396907385":["hashtag1","hashtag2"]},{"1396907379":["hashtag1","hashtag2"]},{"1396907378":["hashtag1","hashtag2"]},{"1396907377":["hashtag1","hashtag2"]},{"1396907380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907382, 1396907385, 1396907379, 1396907378, 1396907377, 1396907380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61696910858154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:06:41.980509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_19_2836.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_26_3700.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_31_2618.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_38_2809.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_49_2692.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_52_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_19_2836.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_26_3700.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_31_2618.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_38_2809.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_49_2692.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_52_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907399","1396907403","1396907396","1396907405","1396907401","1396907404"],"photo_ids_order":["1396907396","1396907399","1396907401","1396907403","1396907404","1396907405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ede496409b2b4c46aefc2b1032cb353.jpg","text":"TemporaryFile(/tmp/multipartBody8222836782749300829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428863125,"filename":"image_31102025_10_03_26_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e5041fc07a2907dd9393ec6289e2e8e.jpg","text":"TemporaryFile(/tmp/multipartBody3826825129828400985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428863125,"filename":"image_31102025_10_03_38_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3845cfc0d9c6c6cd12211d84c67dcabe.jpg","text":"TemporaryFile(/tmp/multipartBody4866736197208651014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428863125,"filename":"image_31102025_10_03_19_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05a151884353e5053e0abaaa8abaebb2.jpg","text":"TemporaryFile(/tmp/multipartBody3383983415302666298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428863125,"filename":"image_31102025_10_03_52_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1152ecf92575c916842b4e0da8ace310.jpg","text":"TemporaryFile(/tmp/multipartBody1570399445287702019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428863125,"filename":"image_31102025_10_03_31_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65be39be9785c5ac4fba3baa91d51766.jpg","text":"TemporaryFile(/tmp/multipartBody3168177481517831871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428863125,"filename":"image_31102025_10_03_49_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907401","file1":"1396907399","file0":"1396907396","file4":"1396907404","file5":"1396907405","file3":"1396907403"},"map_files_photo_id_array":[{"photo_id":"1396907405","filename":"file5"},{"photo_id":"1396907401","filename":"file2"},{"photo_id":"1396907404","filename":"file4"},{"photo_id":"1396907399","filename":"file1"},{"photo_id":"1396907396","filename":"file0"},{"photo_id":"1396907403","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907399":["hashtag1","hashtag2"]},{"1396907403":["hashtag1","hashtag2"]},{"1396907396":["hashtag1","hashtag2"]},{"1396907405":["hashtag1","hashtag2"]},{"1396907401":["hashtag1","hashtag2"]},{"1396907404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907399, 1396907403, 1396907396, 1396907405, 1396907401, 1396907404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.840630292892456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:07:22.235791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_55_3563.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_58_2646.jpg', '/home/pi/Desktop/images/25112025/18/39/image_25112025_18_40_01_3650.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_04_2635.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_07_2817.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_09_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_55_3563.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_39_58_2646.jpg
/home/pi/Desktop/images/25112025/18/39/image_25112025_18_40_01_3650.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_04_2635.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_07_2817.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_09_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":["1396907424","1396907418","1396907412","1396907421","1396907415","1396907409"],"photo_ids_order":["1396907409","1396907412","1396907415","1396907418","1396907421","1396907424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc086e169f49384a2c2f7fb3e34c5c5e.jpg","text":"TemporaryFile(/tmp/multipartBody5397847215704721571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428904424,"filename":"image_25112025_18_40_09_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d63e3ba1cd0ccc844b0bd9b1b6f07a38.jpg","text":"TemporaryFile(/tmp/multipartBody4655526449739722065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428904424,"filename":"image_25112025_18_40_04_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/015b2007eb601d9f5ea1c58b7125841b.jpg","text":"TemporaryFile(/tmp/multipartBody8108551618217576695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428904424,"filename":"image_25112025_18_39_58_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f215f0e84851b5a9e20ebd83ed1edc2.jpg","text":"TemporaryFile(/tmp/multipartBody2953459414760374139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428904424,"filename":"image_25112025_18_40_07_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e4e9ac4080fb3585dfc0763052f22da3.jpg","text":"TemporaryFile(/tmp/multipartBody5189523508700272893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428904424,"filename":"image_25112025_18_40_01_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d12cb92ef189a8027b088bc8ffaf88a.jpg","text":"TemporaryFile(/tmp/multipartBody248404162976668442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428904424,"filename":"image_25112025_18_39_55_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907415","file1":"1396907412","file0":"1396907409","file4":"1396907421","file5":"1396907424","file3":"1396907418"},"map_files_photo_id_array":[{"photo_id":"1396907424","filename":"file5"},{"photo_id":"1396907415","filename":"file2"},{"photo_id":"1396907421","filename":"file4"},{"photo_id":"1396907412","filename":"file1"},{"photo_id":"1396907409","filename":"file0"},{"photo_id":"1396907418","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907424":["hashtag1","hashtag2"]},{"1396907418":["hashtag1","hashtag2"]},{"1396907412":["hashtag1","hashtag2"]},{"1396907421":["hashtag1","hashtag2"]},{"1396907415":["hashtag1","hashtag2"]},{"1396907409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907424, 1396907418, 1396907412, 1396907421, 1396907415, 1396907409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06403470039368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:08:02.757586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_13_3516.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_16_2770.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_18_2700.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_22_3558.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_25_2622.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_29_4819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_13_3516.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_16_2770.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_18_2700.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_22_3558.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_25_2622.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_29_4819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907430","1396907433","1396907427","1396907426","1396907428","1396907425"],"photo_ids_order":["1396907425","1396907426","1396907427","1396907428","1396907430","1396907433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/468c5e1fb79c5b0b607d5e00aeceee65.jpg","text":"TemporaryFile(/tmp/multipartBody7237672061033319157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428944332,"filename":"image_25112025_18_40_25_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/138222f39482620c308bd39a5dd3e7bd.jpg","text":"TemporaryFile(/tmp/multipartBody7150043397661384028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428944332,"filename":"image_25112025_18_40_29_4819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1003835123b2e8231b61eefae72936b2.jpg","text":"TemporaryFile(/tmp/multipartBody2051472699185293376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428944332,"filename":"image_25112025_18_40_18_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/738eadd6a48ebe539947bb627d2414ce.jpg","text":"TemporaryFile(/tmp/multipartBody2555090548628931296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428944332,"filename":"image_25112025_18_40_16_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/559e9ed14028382f371ca47bf1c9a921.jpg","text":"TemporaryFile(/tmp/multipartBody4681197908514003930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428944332,"filename":"image_25112025_18_40_22_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/903dedb00982b12394c3df77ea1aa2f0.jpg","text":"TemporaryFile(/tmp/multipartBody3914929597081091977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764428944332,"filename":"image_25112025_18_40_13_3516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907427","file1":"1396907426","file0":"1396907425","file4":"1396907430","file5":"1396907433","file3":"1396907428"},"map_files_photo_id_array":[{"photo_id":"1396907433","filename":"file5"},{"photo_id":"1396907427","filename":"file2"},{"photo_id":"1396907430","filename":"file4"},{"photo_id":"1396907426","filename":"file1"},{"photo_id":"1396907425","filename":"file0"},{"photo_id":"1396907428","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907430":["hashtag1","hashtag2"]},{"1396907433":["hashtag1","hashtag2"]},{"1396907427":["hashtag1","hashtag2"]},{"1396907426":["hashtag1","hashtag2"]},{"1396907428":["hashtag1","hashtag2"]},{"1396907425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907430, 1396907433, 1396907427, 1396907426, 1396907428, 1396907425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48710370063782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:08:42.361681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_56_3791.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_59_2780.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_01_2638.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_04_2828.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_08_3680.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_10_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/10/03/image_31102025_10_03_56_3791.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_59_2780.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_01_2638.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_04_2828.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_08_3680.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_10_2701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0636043548583984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:09:03.361659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_31_1654.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_34_2547.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_37_3555.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_40_2682.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_42_2607.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_46_3530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_31_1654.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_34_2547.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_37_3555.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_40_2682.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_42_2607.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_46_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":["1396907457","1396907451","1396907453","1396907450","1396907470","1396907452"],"photo_ids_order":["1396907450","1396907451","1396907452","1396907453","1396907457","1396907470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d3688b2118035a6f4b195caa3d4cf38.jpg","text":"TemporaryFile(/tmp/multipartBody5020234045573860732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429005217,"filename":"image_25112025_18_40_42_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb08eb997212ec7c1dddd3d7a8184aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4963298361279604359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429005217,"filename":"image_25112025_18_40_34_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/760e93a98081c702c54173af3c3337a6.jpg","text":"TemporaryFile(/tmp/multipartBody1450880118172297136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429005217,"filename":"image_25112025_18_40_40_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b57cbb954f95e0569662e98e2c4161a.jpg","text":"TemporaryFile(/tmp/multipartBody6628974870018676439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429005217,"filename":"image_25112025_18_40_31_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f15d276e0db4b92c89dcb9622bbc3eb.jpg","text":"TemporaryFile(/tmp/multipartBody2647077706805765080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429005217,"filename":"image_25112025_18_40_46_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdd0f70692b4ae86bff997e8a146d8dc.jpg","text":"TemporaryFile(/tmp/multipartBody1268801183390954592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429005217,"filename":"image_25112025_18_40_37_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907452","file1":"1396907451","file0":"1396907450","file4":"1396907457","file5":"1396907470","file3":"1396907453"},"map_files_photo_id_array":[{"photo_id":"1396907470","filename":"file5"},{"photo_id":"1396907452","filename":"file2"},{"photo_id":"1396907457","filename":"file4"},{"photo_id":"1396907451","filename":"file1"},{"photo_id":"1396907450","filename":"file0"},{"photo_id":"1396907453","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907457":["hashtag1","hashtag2"]},{"1396907451":["hashtag1","hashtag2"]},{"1396907453":["hashtag1","hashtag2"]},{"1396907450":["hashtag1","hashtag2"]},{"1396907470":["hashtag1","hashtag2"]},{"1396907452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907457, 1396907451, 1396907453, 1396907450, 1396907470, 1396907452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38513374328613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:09:42.543633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_56_3791.jpg', '/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_59_2780.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_01_2638.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_04_2828.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_08_3680.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_10_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/10/03/image_31102025_10_03_56_3791.jpg
/home/pi/Desktop/images/31102025/10/03/image_31102025_10_03_59_2780.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_01_2638.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_04_2828.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_08_3680.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_10_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":["1396907484","1396907483","1396907482","1396907479","1396907500","1396907499"],"photo_ids_order":["1396907479","1396907482","1396907483","1396907484","1396907499","1396907500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3a7084ea57f082e62dcd22e4deb2f32.jpg","text":"TemporaryFile(/tmp/multipartBody8766022623148488365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429043494,"filename":"image_31102025_10_04_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/11/29/14e4bb73a34524a40a9af213dc32c4f3.jpg","text":"TemporaryFile(/tmp/multipartBody1958619624299850095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429043494,"filename":"image_31102025_10_04_01_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/465049e156545f8d4f76341a803dcb37.jpg","text":"TemporaryFile(/tmp/multipartBody1360462846742270688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429043494,"filename":"image_31102025_10_03_59_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd5751f8e72d2d8a05ffcc389c1c2862.jpg","text":"TemporaryFile(/tmp/multipartBody2937895220000517211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429043494,"filename":"image_31102025_10_03_56_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f1a435e30a80415c0404d2b2603d90f.jpg","text":"TemporaryFile(/tmp/multipartBody4310047926730508725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429043494,"filename":"image_31102025_10_04_10_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a06a03d657f621ca7132328f0596315d.jpg","text":"TemporaryFile(/tmp/multipartBody2007051406666673325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429043494,"filename":"image_31102025_10_04_08_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907483","file1":"1396907482","file0":"1396907479","file4":"1396907499","file5":"1396907500","file3":"1396907484"},"map_files_photo_id_array":[{"photo_id":"1396907500","filename":"file5"},{"photo_id":"1396907483","filename":"file2"},{"photo_id":"1396907499","filename":"file4"},{"photo_id":"1396907482","filename":"file1"},{"photo_id":"1396907479","filename":"file0"},{"photo_id":"1396907484","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907484":["hashtag1","hashtag2"]},{"1396907483":["hashtag1","hashtag2"]},{"1396907482":["hashtag1","hashtag2"]},{"1396907479":["hashtag1","hashtag2"]},{"1396907500":["hashtag1","hashtag2"]},{"1396907499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907484, 1396907483, 1396907482, 1396907479, 1396907500, 1396907499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.307024002075195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:10:22.733283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/02/image_29112025_16_02_35_9661.jpg', '/home/pi/Desktop/images/29112025/16/09/image_29112025_16_09_14_9775.jpg', '/home/pi/Desktop/images/29112025/16/10/image_29112025_16_10_25_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/02/image_29112025_16_02_35_9661.jpg
/home/pi/Desktop/images/29112025/16/09/image_29112025_16_09_14_9775.jpg
/home/pi/Desktop/images/29112025/16/10/image_29112025_16_10_25_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":["1396907523","1396907526","1396907520"],"photo_ids_order":["1396907520","1396907523","1396907526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6444a504129568be0b4665be6c72926c.jpg","text":"TemporaryFile(/tmp/multipartBody8759594728773597399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429083312,"filename":"image_29112025_16_09_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e25ae7cccaa2ee9f19dc86336eea818.jpg","text":"TemporaryFile(/tmp/multipartBody4751958822880616413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429083312,"filename":"image_29112025_16_10_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/11/29/794751aa2a30436068f6e8cdc9c9a70d.jpg","text":"TemporaryFile(/tmp/multipartBody4757715683020358981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429083312,"filename":"image_29112025_16_02_35_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907526","file1":"1396907523","file0":"1396907520"},"map_files_photo_id_array":[{"photo_id":"1396907526","filename":"file2"},{"photo_id":"1396907523","filename":"file1"},{"photo_id":"1396907520","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396907523":["hashtag1","hashtag2"]},{"1396907526":["hashtag1","hashtag2"]},{"1396907520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396907523, 1396907526, 1396907520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.9987633228302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:11:02.421395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_49_2839.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_51_2627.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_55_3662.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_58_2553.jpg', '/home/pi/Desktop/images/25112025/18/40/image_25112025_18_41_00_2606.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_04_3537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_49_2839.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_51_2627.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_55_3662.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_40_58_2553.jpg
/home/pi/Desktop/images/25112025/18/40/image_25112025_18_41_00_2606.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_04_3537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907535","1396907549","1396907540","1396907534","1396907533","1396907571"],"photo_ids_order":["1396907533","1396907534","1396907535","1396907540","1396907549","1396907571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86005d921557b3c93fef562d669d3ff4.jpg","text":"TemporaryFile(/tmp/multipartBody6568994226186814143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429124073,"filename":"image_25112025_18_40_55_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c1af78c16194e15f976249e95e0094b.jpg","text":"TemporaryFile(/tmp/multipartBody6069042637260247065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429124073,"filename":"image_25112025_18_41_00_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad8ec76ac6765ef4586b9048c4ebc564.jpg","text":"TemporaryFile(/tmp/multipartBody2022966436492938966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429124073,"filename":"image_25112025_18_40_58_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c192a4c49ec72a500601e77bd8ea3d96.jpg","text":"TemporaryFile(/tmp/multipartBody5976953882005858097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429124073,"filename":"image_25112025_18_40_51_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/879ba7240a96d9d0c4370279585f1731.jpg","text":"TemporaryFile(/tmp/multipartBody8837942538647852288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429124073,"filename":"image_25112025_18_40_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/11/29/a11ccea82f768c3843f47444a80a8a36.jpg","text":"TemporaryFile(/tmp/multipartBody6531845571232667102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429124073,"filename":"image_25112025_18_41_04_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907535","file1":"1396907534","file0":"1396907533","file4":"1396907549","file5":"1396907571","file3":"1396907540"},"map_files_photo_id_array":[{"photo_id":"1396907571","filename":"file5"},{"photo_id":"1396907535","filename":"file2"},{"photo_id":"1396907549","filename":"file4"},{"photo_id":"1396907534","filename":"file1"},{"photo_id":"1396907533","filename":"file0"},{"photo_id":"1396907540","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907535":["hashtag1","hashtag2"]},{"1396907549":["hashtag1","hashtag2"]},{"1396907540":["hashtag1","hashtag2"]},{"1396907534":["hashtag1","hashtag2"]},{"1396907533":["hashtag1","hashtag2"]},{"1396907571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907535, 1396907549, 1396907540, 1396907534, 1396907533, 1396907571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71446180343628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:11:41.865734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_13_2810.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_16_2754.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_20_3632.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_23_3466.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_26_2720.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_29_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/10/04/image_31102025_10_04_13_2810.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_16_2754.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_20_3632.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_23_3466.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_26_2720.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_29_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907616","1396907601","1396907606","1396907656","1396907650","1396907605"],"photo_ids_order":["1396907601","1396907605","1396907606","1396907616","1396907650","1396907656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7ee30cdbfc0b487f62e6b0cc8702bde.jpg","text":"TemporaryFile(/tmp/multipartBody1486547459616992276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429162966,"filename":"image_31102025_10_04_23_3466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c09cfa48ac64e9eba2bde8a24f00545.jpg","text":"TemporaryFile(/tmp/multipartBody4193464911552189477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429162966,"filename":"image_31102025_10_04_13_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/419aa55105f185705f5a72a7b617cf5e.jpg","text":"TemporaryFile(/tmp/multipartBody352388418999179157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429162966,"filename":"image_31102025_10_04_20_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f991f4630b595ce8dfa7cd3764c9502.jpg","text":"TemporaryFile(/tmp/multipartBody3913919481476704440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429162966,"filename":"image_31102025_10_04_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/11/29/4fe533e341ba3d39fd6a74aab42aad4a.jpg","text":"TemporaryFile(/tmp/multipartBody3941408252895730002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429162966,"filename":"image_31102025_10_04_26_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d5482f58020e04d9e2f7237eabd4f76.jpg","text":"TemporaryFile(/tmp/multipartBody8177980814637233955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429162966,"filename":"image_31102025_10_04_16_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907606","file1":"1396907605","file0":"1396907601","file4":"1396907650","file5":"1396907656","file3":"1396907616"},"map_files_photo_id_array":[{"photo_id":"1396907656","filename":"file5"},{"photo_id":"1396907606","filename":"file2"},{"photo_id":"1396907650","filename":"file4"},{"photo_id":"1396907605","filename":"file1"},{"photo_id":"1396907601","filename":"file0"},{"photo_id":"1396907616","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907616":["hashtag1","hashtag2"]},{"1396907601":["hashtag1","hashtag2"]},{"1396907606":["hashtag1","hashtag2"]},{"1396907656":["hashtag1","hashtag2"]},{"1396907650":["hashtag1","hashtag2"]},{"1396907605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907616, 1396907601, 1396907606, 1396907656, 1396907650, 1396907605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47621130943298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:12:22.166949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_07_3243.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_10_3026.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_13_2642.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_15_2504.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_19_3626.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_21_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_07_3243.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_10_3026.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_13_2642.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_15_2504.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_19_3626.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_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":["1396907721","1396907715","1396907724","1396907718","1396907712","1396907704"],"photo_ids_order":["1396907704","1396907712","1396907715","1396907718","1396907721","1396907724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/286a4b2cb984bf6a6eef2ba166ac0ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6453590102764380112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429204324,"filename":"image_25112025_18_41_19_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2532601608a68aaa1028bffbc55a172d.jpg","text":"TemporaryFile(/tmp/multipartBody2973177528572641301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429204324,"filename":"image_25112025_18_41_13_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14743b9b2d55a6a32514c6825ee5fe70.jpg","text":"TemporaryFile(/tmp/multipartBody4727414772040892585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429204324,"filename":"image_25112025_18_41_21_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4cfed06bda6e351bfd1d0b1b4c10527.jpg","text":"TemporaryFile(/tmp/multipartBody3979997842841981451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429204324,"filename":"image_25112025_18_41_15_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5c3b6179b1d9f7bc1d455c2421c4557.jpg","text":"TemporaryFile(/tmp/multipartBody7044935130246142664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429204324,"filename":"image_25112025_18_41_10_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b9e460d83ad5c2e395ceb303bf0d034.jpg","text":"TemporaryFile(/tmp/multipartBody5200494979834165043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429204324,"filename":"image_25112025_18_41_07_3243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907715","file1":"1396907712","file0":"1396907704","file4":"1396907721","file5":"1396907724","file3":"1396907718"},"map_files_photo_id_array":[{"photo_id":"1396907724","filename":"file5"},{"photo_id":"1396907715","filename":"file2"},{"photo_id":"1396907721","filename":"file4"},{"photo_id":"1396907712","filename":"file1"},{"photo_id":"1396907704","filename":"file0"},{"photo_id":"1396907718","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907721":["hashtag1","hashtag2"]},{"1396907715":["hashtag1","hashtag2"]},{"1396907724":["hashtag1","hashtag2"]},{"1396907718":["hashtag1","hashtag2"]},{"1396907712":["hashtag1","hashtag2"]},{"1396907704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907721, 1396907715, 1396907724, 1396907718, 1396907712, 1396907704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.777230739593506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:13:02.730578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_24_2724.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_28_3622.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_30_2601.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_34_3701.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_37_2631.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_41_4516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_24_2724.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_28_3622.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_30_2601.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_34_3701.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_37_2631.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_41_4516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907733","1396907730","1396907727","1396907726","1396907725","1396907728"],"photo_ids_order":["1396907725","1396907726","1396907727","1396907728","1396907730","1396907733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56fe82a165f381b212443973ef798fff.jpg","text":"TemporaryFile(/tmp/multipartBody8924245823322364885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429244411,"filename":"image_25112025_18_41_41_4516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c7cb893482d8ba9dee7e0230fb72d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1441389019599207772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429244411,"filename":"image_25112025_18_41_37_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/780c96cc4174143844eaa236bb457aad.jpg","text":"TemporaryFile(/tmp/multipartBody2963120343885314677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429244411,"filename":"image_25112025_18_41_30_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bfd8866515eff426bd4140e41b1ee368.jpg","text":"TemporaryFile(/tmp/multipartBody8981174708854062500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429244411,"filename":"image_25112025_18_41_28_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc01d8aa5f2ce8aac24ad8aa9a77f291.jpg","text":"TemporaryFile(/tmp/multipartBody4312812662214687641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429244411,"filename":"image_25112025_18_41_24_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42f730fb061f4a3add3fd2c5a9d3176d.jpg","text":"TemporaryFile(/tmp/multipartBody310467930382237923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429244411,"filename":"image_25112025_18_41_34_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907727","file1":"1396907726","file0":"1396907725","file4":"1396907730","file5":"1396907733","file3":"1396907728"},"map_files_photo_id_array":[{"photo_id":"1396907733","filename":"file5"},{"photo_id":"1396907727","filename":"file2"},{"photo_id":"1396907730","filename":"file4"},{"photo_id":"1396907726","filename":"file1"},{"photo_id":"1396907725","filename":"file0"},{"photo_id":"1396907728","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907733":["hashtag1","hashtag2"]},{"1396907730":["hashtag1","hashtag2"]},{"1396907727":["hashtag1","hashtag2"]},{"1396907726":["hashtag1","hashtag2"]},{"1396907725":["hashtag1","hashtag2"]},{"1396907728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907733, 1396907730, 1396907727, 1396907726, 1396907725, 1396907728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.651796102523804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:13:42.186742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_31_2707.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_34_2689.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_38_3609.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_40_2771.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_43_2658.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_47_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/10/04/image_31102025_10_04_31_2707.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_34_2689.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_38_3609.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_40_2771.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_43_2658.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_47_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":["1396907793","1396907754","1396907742","1396907783","1396907753","1396907752"],"photo_ids_order":["1396907742","1396907752","1396907753","1396907754","1396907783","1396907793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb6f89f0eb664cc127c3c311233bafd4.jpg","text":"TemporaryFile(/tmp/multipartBody2254940687481764230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429283336,"filename":"image_31102025_10_04_47_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5ec18533d3df184fdc324245cf56a1f.jpg","text":"TemporaryFile(/tmp/multipartBody5750886200495289084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429283336,"filename":"image_31102025_10_04_40_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f7cfc9b81cbc05e3f5f74ead3cbbd87.jpg","text":"TemporaryFile(/tmp/multipartBody4042843923877755932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429283336,"filename":"image_31102025_10_04_31_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ced08d181930fa160d507e47621e382a.jpg","text":"TemporaryFile(/tmp/multipartBody1207338703826058221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429283336,"filename":"image_31102025_10_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/11/29/7282ac07a35c8a9a57b093abbc847b55.jpg","text":"TemporaryFile(/tmp/multipartBody7409397163605055479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429283336,"filename":"image_31102025_10_04_38_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1493389532e8092af0f7718f2bfd807d.jpg","text":"TemporaryFile(/tmp/multipartBody670947541119986925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429283336,"filename":"image_31102025_10_04_34_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907753","file1":"1396907752","file0":"1396907742","file4":"1396907783","file5":"1396907793","file3":"1396907754"},"map_files_photo_id_array":[{"photo_id":"1396907793","filename":"file5"},{"photo_id":"1396907753","filename":"file2"},{"photo_id":"1396907783","filename":"file4"},{"photo_id":"1396907752","filename":"file1"},{"photo_id":"1396907742","filename":"file0"},{"photo_id":"1396907754","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907793":["hashtag1","hashtag2"]},{"1396907754":["hashtag1","hashtag2"]},{"1396907742":["hashtag1","hashtag2"]},{"1396907783":["hashtag1","hashtag2"]},{"1396907753":["hashtag1","hashtag2"]},{"1396907752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907793, 1396907754, 1396907742, 1396907783, 1396907753, 1396907752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75412034988403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:14:22.434741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/10/image_29112025_16_10_45_9877.jpg', '/home/pi/Desktop/images/29112025/16/13/image_29112025_16_13_45_9706.jpg', '/home/pi/Desktop/images/29112025/16/13/image_29112025_16_13_55_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/10/image_29112025_16_10_45_9877.jpg
/home/pi/Desktop/images/29112025/16/13/image_29112025_16_13_45_9706.jpg
/home/pi/Desktop/images/29112025/16/13/image_29112025_16_13_55_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907814","1396907817","1396907809"],"photo_ids_order":["1396907809","1396907814","1396907817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/362a1464068cbbf905b35c60f861ccd0.jpg","text":"TemporaryFile(/tmp/multipartBody6744970008129373737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429323014,"filename":"image_29112025_16_13_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/11/29/bda5ef87b6bcefb41fc98c441d5a8a79.jpg","text":"TemporaryFile(/tmp/multipartBody4553841219421436090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429323014,"filename":"image_29112025_16_13_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/11/29/56e96570f90c198d93273e7894beab74.jpg","text":"TemporaryFile(/tmp/multipartBody3409265188235524445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429323014,"filename":"image_29112025_16_10_45_9877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907817","file1":"1396907814","file0":"1396907809"},"map_files_photo_id_array":[{"photo_id":"1396907817","filename":"file2"},{"photo_id":"1396907814","filename":"file1"},{"photo_id":"1396907809","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396907814":["hashtag1","hashtag2"]},{"1396907817":["hashtag1","hashtag2"]},{"1396907809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396907814, 1396907817, 1396907809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.431918382644653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:15:03.064944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_43_1529.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_45_2627.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_49_3652.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_52_2552.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_54_2633.jpg', '/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_58_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_43_1529.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_45_2627.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_49_3652.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_52_2552.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_54_2633.jpg
/home/pi/Desktop/images/25112025/18/41/image_25112025_18_41_58_3610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907826","1396907825","1396907834","1396907828","1396907830","1396907827"],"photo_ids_order":["1396907825","1396907826","1396907827","1396907828","1396907830","1396907834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc11c590d28b86159abe445411727f73.jpg","text":"TemporaryFile(/tmp/multipartBody8378763582890122747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429364733,"filename":"image_25112025_18_41_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/11/29/19eb1dd4132f083f6b3a1de297511ef6.jpg","text":"TemporaryFile(/tmp/multipartBody1519423037847366208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429364733,"filename":"image_25112025_18_41_43_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e7c5edcb428bd9a7ea7f4ff9f12c733.jpg","text":"TemporaryFile(/tmp/multipartBody5814861345708275968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429364733,"filename":"image_25112025_18_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/11/29/53ee759a2c2f90a5df02a1bc74a8e1f5.jpg","text":"TemporaryFile(/tmp/multipartBody2604307789716759885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429364733,"filename":"image_25112025_18_41_52_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7593dcc7f94378660bdd5c63ef460f5f.jpg","text":"TemporaryFile(/tmp/multipartBody6162819498647524954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429364733,"filename":"image_25112025_18_41_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/11/29/775340483ebccb6feb380c8aab8c9933.jpg","text":"TemporaryFile(/tmp/multipartBody6875726065486096459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429364733,"filename":"image_25112025_18_41_49_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907827","file1":"1396907826","file0":"1396907825","file4":"1396907830","file5":"1396907834","file3":"1396907828"},"map_files_photo_id_array":[{"photo_id":"1396907834","filename":"file5"},{"photo_id":"1396907827","filename":"file2"},{"photo_id":"1396907830","filename":"file4"},{"photo_id":"1396907826","filename":"file1"},{"photo_id":"1396907825","filename":"file0"},{"photo_id":"1396907828","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907826":["hashtag1","hashtag2"]},{"1396907825":["hashtag1","hashtag2"]},{"1396907834":["hashtag1","hashtag2"]},{"1396907828":["hashtag1","hashtag2"]},{"1396907830":["hashtag1","hashtag2"]},{"1396907827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907826, 1396907825, 1396907834, 1396907828, 1396907830, 1396907827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10571360588074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:15:42.630998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_49_2606.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_52_2674.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_56_3611.jpg', '/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_58_2801.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_07_3012.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_11_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_49_2606.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_52_2674.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_56_3611.jpg
/home/pi/Desktop/images/31102025/10/04/image_31102025_10_04_58_2801.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_07_3012.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_11_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907850","1396907843","1396907849","1396907884","1396907893","1396907851"],"photo_ids_order":["1396907843","1396907849","1396907850","1396907851","1396907884","1396907893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/166ba954806ab33507150020d8a3e080.jpg","text":"TemporaryFile(/tmp/multipartBody7993935892122244993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429403734,"filename":"image_31102025_10_04_56_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56abbfa855dc3aaa5a2bfd3f2322c587.jpg","text":"TemporaryFile(/tmp/multipartBody2756744894154449910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429403734,"filename":"image_31102025_10_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/11/29/2d438a37704f246d77203c2d7e3ceb01.jpg","text":"TemporaryFile(/tmp/multipartBody1433339607618627631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429403734,"filename":"image_31102025_10_04_52_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60ba7f8eaddbafe4bed8aa150a240059.jpg","text":"TemporaryFile(/tmp/multipartBody1584868763008776011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429403734,"filename":"image_31102025_10_05_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/630e1ce9ec00a2e19b09b4f4a9155dda.jpg","text":"TemporaryFile(/tmp/multipartBody3811582872413429713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429403734,"filename":"image_31102025_10_05_11_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e105650956cef6ea9dd18d465b75422a.jpg","text":"TemporaryFile(/tmp/multipartBody1614824489565988976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429403734,"filename":"image_31102025_10_04_58_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907850","file1":"1396907849","file0":"1396907843","file4":"1396907884","file5":"1396907893","file3":"1396907851"},"map_files_photo_id_array":[{"photo_id":"1396907893","filename":"file5"},{"photo_id":"1396907850","filename":"file2"},{"photo_id":"1396907884","filename":"file4"},{"photo_id":"1396907849","filename":"file1"},{"photo_id":"1396907843","filename":"file0"},{"photo_id":"1396907851","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907850":["hashtag1","hashtag2"]},{"1396907843":["hashtag1","hashtag2"]},{"1396907849":["hashtag1","hashtag2"]},{"1396907884":["hashtag1","hashtag2"]},{"1396907893":["hashtag1","hashtag2"]},{"1396907851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907850, 1396907843, 1396907849, 1396907884, 1396907893, 1396907851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83776545524597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:16:22.793820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/13/image_29112025_16_14_05_9750.jpg', '/home/pi/Desktop/images/29112025/16/16/image_29112025_16_16_25_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/13/image_29112025_16_14_05_9750.jpg
/home/pi/Desktop/images/29112025/16/16/image_29112025_16_16_25_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907907","1396907909"],"photo_ids_order":["1396907907","1396907909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a11cdbc1382b8494239dec4cbfa51c9.jpg","text":"TemporaryFile(/tmp/multipartBody4029399446465254930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429443343,"filename":"image_29112025_16_14_05_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a69d06dd0a77c78dc4921dcf2c62e868.jpg","text":"TemporaryFile(/tmp/multipartBody3723011096318887627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429443343,"filename":"image_29112025_16_16_25_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396907909","file0":"1396907907"},"map_files_photo_id_array":[{"photo_id":"1396907909","filename":"file1"},{"photo_id":"1396907907","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396907907":["hashtag1","hashtag2"]},{"1396907909":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396907907, 1396907909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.123138189315796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:16:42.857626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_14_2543.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_17_3678.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_20_2828.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_23_2721.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_25_2729.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_29_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/10/05/image_31102025_10_05_14_2543.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_17_3678.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_20_2828.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_23_2721.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_25_2729.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_29_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":["1396907922","1396907925","1396907924","1396907918","1396907920","1396907926"],"photo_ids_order":["1396907918","1396907920","1396907922","1396907924","1396907925","1396907926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8bfb99010f5947ce1c30cba9ab0b1709.jpg","text":"TemporaryFile(/tmp/multipartBody847056655080222180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429464006,"filename":"image_31102025_10_05_20_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e14e9713b70dde8f7ae809cd5258f11.jpg","text":"TemporaryFile(/tmp/multipartBody4614834806088783893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429464006,"filename":"image_31102025_10_05_25_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff530b24fbb43ec74d31b9b501d7b316.jpg","text":"TemporaryFile(/tmp/multipartBody4984123321353102481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429464006,"filename":"image_31102025_10_05_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/11/29/7d9c1e42a597ca125e19c48f74348dfa.jpg","text":"TemporaryFile(/tmp/multipartBody3494921262600073599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429464006,"filename":"image_31102025_10_05_14_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a71cdccd323180926ddab3b69c6915d7.jpg","text":"TemporaryFile(/tmp/multipartBody3163902596245284282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429464006,"filename":"image_31102025_10_05_17_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9277cd91133218a796e44d82005bb9a.jpg","text":"TemporaryFile(/tmp/multipartBody525133347599927506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429464006,"filename":"image_31102025_10_05_29_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907922","file1":"1396907920","file0":"1396907918","file4":"1396907925","file5":"1396907926","file3":"1396907924"},"map_files_photo_id_array":[{"photo_id":"1396907926","filename":"file5"},{"photo_id":"1396907922","filename":"file2"},{"photo_id":"1396907925","filename":"file4"},{"photo_id":"1396907920","filename":"file1"},{"photo_id":"1396907918","filename":"file0"},{"photo_id":"1396907924","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907922":["hashtag1","hashtag2"]},{"1396907925":["hashtag1","hashtag2"]},{"1396907924":["hashtag1","hashtag2"]},{"1396907918":["hashtag1","hashtag2"]},{"1396907920":["hashtag1","hashtag2"]},{"1396907926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907922, 1396907925, 1396907924, 1396907918, 1396907920, 1396907926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74480724334717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:17:22.010662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/16/image_29112025_16_16_55_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/16/image_29112025_16_16_55_10631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907940"],"photo_id":"1396907940","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20239c12e41498659c20f0778baa4f62.jpg","text":"TemporaryFile(/tmp/multipartBody7920063642837290800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429502518,"filename":"image_29112025_16_16_55_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396907940"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396907940"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.698330640792847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:17:42.032352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_32_2570.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_35_3603.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_41_2727.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_47_2668.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_52_5020.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_54_1803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_32_2570.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_35_3603.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_41_2727.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_47_2668.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_52_5020.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_54_1803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907952","1396907949","1396907954","1396907953","1396907956","1396907950"],"photo_ids_order":["1396907949","1396907950","1396907952","1396907953","1396907954","1396907956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01c2e86c290962205d48a6e3bf8e428e.jpg","text":"TemporaryFile(/tmp/multipartBody8517893634805393840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429523122,"filename":"image_31102025_10_05_41_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f36c1a94f49988c0f34a35068575daf.jpg","text":"TemporaryFile(/tmp/multipartBody7688578634456712639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429523122,"filename":"image_31102025_10_05_32_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03cf030624534a1c20ecf77a51ceda10.jpg","text":"TemporaryFile(/tmp/multipartBody4424841266050179234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429523122,"filename":"image_31102025_10_05_52_5020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a567170840aa04f91a660b4c54fa6e3d.jpg","text":"TemporaryFile(/tmp/multipartBody4719191219446807192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429523122,"filename":"image_31102025_10_05_47_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5fbb7c03e5e443a0f9471f35dd2c5fde.jpg","text":"TemporaryFile(/tmp/multipartBody1468147683976600756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429523122,"filename":"image_31102025_10_05_54_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/713893ef3db0a652377828922aa48c97.jpg","text":"TemporaryFile(/tmp/multipartBody310729443054343838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429523122,"filename":"image_31102025_10_05_35_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907952","file1":"1396907950","file0":"1396907949","file4":"1396907954","file5":"1396907956","file3":"1396907953"},"map_files_photo_id_array":[{"photo_id":"1396907956","filename":"file5"},{"photo_id":"1396907952","filename":"file2"},{"photo_id":"1396907954","filename":"file4"},{"photo_id":"1396907950","filename":"file1"},{"photo_id":"1396907949","filename":"file0"},{"photo_id":"1396907953","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396907952":["hashtag1","hashtag2"]},{"1396907949":["hashtag1","hashtag2"]},{"1396907954":["hashtag1","hashtag2"]},{"1396907953":["hashtag1","hashtag2"]},{"1396907956":["hashtag1","hashtag2"]},{"1396907950":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396907952, 1396907949, 1396907954, 1396907953, 1396907956, 1396907950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79854369163513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:18:22.193443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_01_2936.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_04_2835.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_06_2700.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_10_3698.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_13_2757.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_15_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_01_2936.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_04_2835.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_06_2700.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_10_3698.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_13_2757.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_15_2664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907964","1396907973","1396907967","1396907971","1396907974","1396907961"],"photo_ids_order":["1396907961","1396907964","1396907967","1396907971","1396907973","1396907974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e22a9f347425c5e9158a8a5b86ae454b.jpg","text":"TemporaryFile(/tmp/multipartBody5491507518006550098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429564536,"filename":"image_25112025_18_42_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/11/29/6cbc83316131406d3f8fa5f2d95b29c8.jpg","text":"TemporaryFile(/tmp/multipartBody1734272798511407585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429564536,"filename":"image_25112025_18_42_13_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/209f10154d28453aff4e4d37fc971d8c.jpg","text":"TemporaryFile(/tmp/multipartBody8895558419854273502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429564536,"filename":"image_25112025_18_42_06_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65ecd6fb7c0852b9b37c74b256259db1.jpg","text":"TemporaryFile(/tmp/multipartBody7605256301546672730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429564536,"filename":"image_25112025_18_42_10_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98d2589a830f5aae19cf121e3a6a8cad.jpg","text":"TemporaryFile(/tmp/multipartBody886329443572843461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429564536,"filename":"image_25112025_18_42_15_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20df6cbdf2a4dcf5dd8a6c36ad07ec58.jpg","text":"TemporaryFile(/tmp/multipartBody6530908210140819089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429564536,"filename":"image_25112025_18_42_01_2936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907967","file1":"1396907964","file0":"1396907961","file4":"1396907973","file5":"1396907974","file3":"1396907971"},"map_files_photo_id_array":[{"photo_id":"1396907974","filename":"file5"},{"photo_id":"1396907967","filename":"file2"},{"photo_id":"1396907973","filename":"file4"},{"photo_id":"1396907964","filename":"file1"},{"photo_id":"1396907961","filename":"file0"},{"photo_id":"1396907971","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907964":["hashtag1","hashtag2"]},{"1396907973":["hashtag1","hashtag2"]},{"1396907967":["hashtag1","hashtag2"]},{"1396907971":["hashtag1","hashtag2"]},{"1396907974":["hashtag1","hashtag2"]},{"1396907961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907964, 1396907973, 1396907967, 1396907971, 1396907974, 1396907961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33361601829529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:19:03.222050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_18_2656.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_22_3684.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_25_2859.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_27_2747.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_31_3606.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_34_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_18_2656.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_22_3684.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_25_2859.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_27_2747.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_31_3606.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_34_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396907999","1396907993","1396907978","1396908002","1396907995","1396907994"],"photo_ids_order":["1396907978","1396907993","1396907994","1396907995","1396907999","1396908002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7cd41db38ebbacc48e22ea53314701e2.jpg","text":"TemporaryFile(/tmp/multipartBody4671398673923666958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429604969,"filename":"image_25112025_18_42_31_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6dbd2c72c02e0ce0e86854ac39eb1fc.jpg","text":"TemporaryFile(/tmp/multipartBody425988703417686363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429604969,"filename":"image_25112025_18_42_22_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d927171e1435e2eb4e394e6ea2dc6759.jpg","text":"TemporaryFile(/tmp/multipartBody1261558182795164729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429604969,"filename":"image_25112025_18_42_18_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9076079493dfab4af8d0d17f2bcaa32.jpg","text":"TemporaryFile(/tmp/multipartBody6484148463249275848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429604969,"filename":"image_25112025_18_42_34_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccefa4575d14548fb20f0cafcfbf7182.jpg","text":"TemporaryFile(/tmp/multipartBody8237585255161138819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429604969,"filename":"image_25112025_18_42_27_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1709a9ba5eef386c9667c3d4720e7856.jpg","text":"TemporaryFile(/tmp/multipartBody1204486430081116796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429604969,"filename":"image_25112025_18_42_25_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396907994","file1":"1396907993","file0":"1396907978","file4":"1396907999","file5":"1396908002","file3":"1396907995"},"map_files_photo_id_array":[{"photo_id":"1396908002","filename":"file5"},{"photo_id":"1396907994","filename":"file2"},{"photo_id":"1396907999","filename":"file4"},{"photo_id":"1396907993","filename":"file1"},{"photo_id":"1396907978","filename":"file0"},{"photo_id":"1396907995","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396907999":["hashtag1","hashtag2"]},{"1396907993":["hashtag1","hashtag2"]},{"1396907978":["hashtag1","hashtag2"]},{"1396908002":["hashtag1","hashtag2"]},{"1396907995":["hashtag1","hashtag2"]},{"1396907994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396907999, 1396907993, 1396907978, 1396908002, 1396907995, 1396907994)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.63418173789978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:20:03.050889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_36_2542.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_40_3782.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_42_2507.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_45_2879.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_48_2727.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_52_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_36_2542.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_40_3782.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_42_2507.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_45_2879.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_48_2727.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_52_3680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908036","1396908035","1396908038","1396908034","1396908043","1396908031"],"photo_ids_order":["1396908031","1396908034","1396908035","1396908036","1396908038","1396908043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8fc7b6c60393238c5d9b46ad6a8ab76.jpg","text":"TemporaryFile(/tmp/multipartBody4983028907281612871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429664628,"filename":"image_25112025_18_42_45_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31ba16af69c3a1c3f2ef7750e3113b6f.jpg","text":"TemporaryFile(/tmp/multipartBody5221373319872369077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429664628,"filename":"image_25112025_18_42_42_2507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0ea58d30c0d1dbcca094e39421a7ee5.jpg","text":"TemporaryFile(/tmp/multipartBody2639688785696846846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429664628,"filename":"image_25112025_18_42_48_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ebca2762af08b7486e7bd6fe21a3dc2e.jpg","text":"TemporaryFile(/tmp/multipartBody5219168878422486770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429664628,"filename":"image_25112025_18_42_40_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/822a66b641a5286dd0cf9fe1ce2e72f8.jpg","text":"TemporaryFile(/tmp/multipartBody6021358601341173987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429664628,"filename":"image_25112025_18_42_52_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72c90e772f4901c728062774486c7211.jpg","text":"TemporaryFile(/tmp/multipartBody69212044829561837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429664628,"filename":"image_25112025_18_42_36_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908035","file1":"1396908034","file0":"1396908031","file4":"1396908038","file5":"1396908043","file3":"1396908036"},"map_files_photo_id_array":[{"photo_id":"1396908043","filename":"file5"},{"photo_id":"1396908035","filename":"file2"},{"photo_id":"1396908038","filename":"file4"},{"photo_id":"1396908034","filename":"file1"},{"photo_id":"1396908031","filename":"file0"},{"photo_id":"1396908036","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908036":["hashtag1","hashtag2"]},{"1396908035":["hashtag1","hashtag2"]},{"1396908038":["hashtag1","hashtag2"]},{"1396908034":["hashtag1","hashtag2"]},{"1396908043":["hashtag1","hashtag2"]},{"1396908031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908036, 1396908035, 1396908038, 1396908034, 1396908043, 1396908031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.879066944122314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:20:42.758401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_55_1658.jpg', '/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_59_3656.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_04_2587.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_08_3631.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_11_2748.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_13_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/10/05/image_31102025_10_05_55_1658.jpg
/home/pi/Desktop/images/31102025/10/05/image_31102025_10_05_59_3656.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_04_2587.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_08_3631.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_11_2748.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_13_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908054","1396908053","1396908056","1396908050","1396908052","1396908055"],"photo_ids_order":["1396908050","1396908052","1396908053","1396908054","1396908055","1396908056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75ca4c7f4abd8015aaa3b1b9138b7782.jpg","text":"TemporaryFile(/tmp/multipartBody3407062617746192559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429703841,"filename":"image_31102025_10_06_08_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3a17953381c5e72a52c0d17caaf6e5f.jpg","text":"TemporaryFile(/tmp/multipartBody7705409913600438644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429703841,"filename":"image_31102025_10_06_04_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2aa6edc7686b3bed96652253fdb04a5e.jpg","text":"TemporaryFile(/tmp/multipartBody9148663439012886574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429703841,"filename":"image_31102025_10_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/11/29/9d3bfe0330b0ef1fd3ef501040ec8c09.jpg","text":"TemporaryFile(/tmp/multipartBody552034652046469119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429703841,"filename":"image_31102025_10_05_55_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4b2dd74aa483f80a9be802f3668ca5f.jpg","text":"TemporaryFile(/tmp/multipartBody4959867811640628453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429703841,"filename":"image_31102025_10_05_59_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/118e279b202a19c5ee66102a5a39d0cf.jpg","text":"TemporaryFile(/tmp/multipartBody8448490284841004962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429703841,"filename":"image_31102025_10_06_11_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908053","file1":"1396908052","file0":"1396908050","file4":"1396908055","file5":"1396908056","file3":"1396908054"},"map_files_photo_id_array":[{"photo_id":"1396908056","filename":"file5"},{"photo_id":"1396908053","filename":"file2"},{"photo_id":"1396908055","filename":"file4"},{"photo_id":"1396908052","filename":"file1"},{"photo_id":"1396908050","filename":"file0"},{"photo_id":"1396908054","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908054":["hashtag1","hashtag2"]},{"1396908053":["hashtag1","hashtag2"]},{"1396908056":["hashtag1","hashtag2"]},{"1396908050":["hashtag1","hashtag2"]},{"1396908052":["hashtag1","hashtag2"]},{"1396908055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908054, 1396908053, 1396908056, 1396908050, 1396908052, 1396908055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.130051136016846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:21:22.019611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/17/image_29112025_16_17_24_9667.jpg', '/home/pi/Desktop/images/29112025/16/20/image_29112025_16_20_35_9591.jpg', '/home/pi/Desktop/images/29112025/16/20/image_29112025_16_20_55_9619.jpg', '/home/pi/Desktop/images/29112025/16/20/image_29112025_16_21_05_9816.jpg', '/home/pi/Desktop/images/29112025/16/21/image_29112025_16_21_15_9893.jpg', '/home/pi/Desktop/images/29112025/16/21/image_29112025_16_21_25_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/17/image_29112025_16_17_24_9667.jpg
/home/pi/Desktop/images/29112025/16/20/image_29112025_16_20_35_9591.jpg
/home/pi/Desktop/images/29112025/16/20/image_29112025_16_20_55_9619.jpg
/home/pi/Desktop/images/29112025/16/20/image_29112025_16_21_05_9816.jpg
/home/pi/Desktop/images/29112025/16/21/image_29112025_16_21_15_9893.jpg
/home/pi/Desktop/images/29112025/16/21/image_29112025_16_21_25_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908083","1396908062","1396908059","1396908103","1396908078","1396908066"],"photo_ids_order":["1396908059","1396908062","1396908066","1396908078","1396908083","1396908103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c44c9fba45b33a2a486d3cbf7e407c6.jpg","text":"TemporaryFile(/tmp/multipartBody2648290693184990021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429742696,"filename":"image_29112025_16_21_15_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bed5596d9252e4a776d80fdcc50f7e29.jpg","text":"TemporaryFile(/tmp/multipartBody897316326529681086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429742696,"filename":"image_29112025_16_20_35_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12f75b7627624654820bb0bad0af8e84.jpg","text":"TemporaryFile(/tmp/multipartBody1898031394612570719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429742696,"filename":"image_29112025_16_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/11/29/3f1ef22c180fdabcf5f771d4ed587e28.jpg","text":"TemporaryFile(/tmp/multipartBody7953516033281170525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429742696,"filename":"image_29112025_16_21_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dccf6e303ea68b86ca2e323abc28938c.jpg","text":"TemporaryFile(/tmp/multipartBody5484807055123244288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429742696,"filename":"image_29112025_16_21_05_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26461016fb6bec8f88cd6e411cc5db6e.jpg","text":"TemporaryFile(/tmp/multipartBody8118968024561399609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429742696,"filename":"image_29112025_16_20_55_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908066","file1":"1396908062","file0":"1396908059","file4":"1396908083","file5":"1396908103","file3":"1396908078"},"map_files_photo_id_array":[{"photo_id":"1396908103","filename":"file5"},{"photo_id":"1396908066","filename":"file2"},{"photo_id":"1396908083","filename":"file4"},{"photo_id":"1396908062","filename":"file1"},{"photo_id":"1396908059","filename":"file0"},{"photo_id":"1396908078","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908083":["hashtag1","hashtag2"]},{"1396908062":["hashtag1","hashtag2"]},{"1396908059":["hashtag1","hashtag2"]},{"1396908103":["hashtag1","hashtag2"]},{"1396908078":["hashtag1","hashtag2"]},{"1396908066":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908083, 1396908062, 1396908059, 1396908103, 1396908078, 1396908066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48874545097351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:22:02.467075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_54_2598.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_57_2626.jpg', '/home/pi/Desktop/images/25112025/18/42/image_25112025_18_43_01_3695.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_06_2719.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_10_3675.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_12_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_54_2598.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_42_57_2626.jpg
/home/pi/Desktop/images/25112025/18/42/image_25112025_18_43_01_3695.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_06_2719.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_10_3675.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_12_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908111","1396908114","1396908108","1396908107","1396908109","1396908106"],"photo_ids_order":["1396908106","1396908107","1396908108","1396908109","1396908111","1396908114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/399075276c8bede44a4b7fc7ee0840b7.jpg","text":"TemporaryFile(/tmp/multipartBody5763472699436966613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429784039,"filename":"image_25112025_18_43_10_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/264c50bac572c5e27a97c3359a22f6c7.jpg","text":"TemporaryFile(/tmp/multipartBody6667372160507680735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429784039,"filename":"image_25112025_18_43_12_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4b66a9c582fbab90a16b61d81ee9162.jpg","text":"TemporaryFile(/tmp/multipartBody5605441442837285888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429784039,"filename":"image_25112025_18_43_01_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa5db13a1893cb95b99cd499fa8071e1.jpg","text":"TemporaryFile(/tmp/multipartBody9208725093738473728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429784039,"filename":"image_25112025_18_42_57_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd1fa9cb280b5debd3bb61afdf407746.jpg","text":"TemporaryFile(/tmp/multipartBody3858977161840219589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429784039,"filename":"image_25112025_18_43_06_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/867a7aa00f20c7997aa8e0ae3ca6b24a.jpg","text":"TemporaryFile(/tmp/multipartBody7897244979434973068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429784039,"filename":"image_25112025_18_42_54_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908108","file1":"1396908107","file0":"1396908106","file4":"1396908111","file5":"1396908114","file3":"1396908109"},"map_files_photo_id_array":[{"photo_id":"1396908114","filename":"file5"},{"photo_id":"1396908108","filename":"file2"},{"photo_id":"1396908111","filename":"file4"},{"photo_id":"1396908107","filename":"file1"},{"photo_id":"1396908106","filename":"file0"},{"photo_id":"1396908109","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908111":["hashtag1","hashtag2"]},{"1396908114":["hashtag1","hashtag2"]},{"1396908108":["hashtag1","hashtag2"]},{"1396908107":["hashtag1","hashtag2"]},{"1396908109":["hashtag1","hashtag2"]},{"1396908106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908111, 1396908114, 1396908108, 1396908107, 1396908109, 1396908106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44631862640381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:22:42.112986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_17_3627.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_20_2608.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_22_2744.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_25_2844.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_29_3609.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_31_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_17_3627.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_20_2608.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_22_2744.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_25_2844.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_29_3609.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_31_2576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908126","1396908129","1396908128","1396908127","1396908130","1396908123"],"photo_ids_order":["1396908123","1396908126","1396908127","1396908128","1396908129","1396908130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/049f4666273708320b12270c67d67ea1.jpg","text":"TemporaryFile(/tmp/multipartBody6154280862627277771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429823202,"filename":"image_31102025_10_06_20_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83f3b65d545345c73f58ce665adfb763.jpg","text":"TemporaryFile(/tmp/multipartBody6935602693910146715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429823202,"filename":"image_31102025_10_06_29_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4f0552af82360416f365e3dace73f85.jpg","text":"TemporaryFile(/tmp/multipartBody7524709997213899675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429823202,"filename":"image_31102025_10_06_25_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fba20c42d078fc401da65f4462941645.jpg","text":"TemporaryFile(/tmp/multipartBody8555448173237617656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429823202,"filename":"image_31102025_10_06_22_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eda51f1595298c6fe13d5d71e23a8d6e.jpg","text":"TemporaryFile(/tmp/multipartBody2389849930579056763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429823202,"filename":"image_31102025_10_06_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/11/29/275d2b26b8f8c6e323adea157574bf0e.jpg","text":"TemporaryFile(/tmp/multipartBody4509167865150982378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429823202,"filename":"image_31102025_10_06_17_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908127","file1":"1396908126","file0":"1396908123","file4":"1396908129","file5":"1396908130","file3":"1396908128"},"map_files_photo_id_array":[{"photo_id":"1396908130","filename":"file5"},{"photo_id":"1396908127","filename":"file2"},{"photo_id":"1396908129","filename":"file4"},{"photo_id":"1396908126","filename":"file1"},{"photo_id":"1396908123","filename":"file0"},{"photo_id":"1396908128","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908126":["hashtag1","hashtag2"]},{"1396908129":["hashtag1","hashtag2"]},{"1396908128":["hashtag1","hashtag2"]},{"1396908127":["hashtag1","hashtag2"]},{"1396908130":["hashtag1","hashtag2"]},{"1396908123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908126, 1396908129, 1396908128, 1396908127, 1396908130, 1396908123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.871105670928955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:23:22.340051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/21/image_29112025_16_21_55_10660.jpg', '/home/pi/Desktop/images/29112025/16/22/image_29112025_16_22_56_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/21/image_29112025_16_21_55_10660.jpg
/home/pi/Desktop/images/29112025/16/22/image_29112025_16_22_56_10650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908137","1396908133"],"photo_ids_order":["1396908133","1396908137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/904705378b2ca8dc4456565b158768bc.jpg","text":"TemporaryFile(/tmp/multipartBody2215944852794086558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429862885,"filename":"image_29112025_16_22_56_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11590ffcbf6ce82ec8e1d4e231f189cb.jpg","text":"TemporaryFile(/tmp/multipartBody3004139649138328155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429862885,"filename":"image_29112025_16_21_55_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396908137","file0":"1396908133"},"map_files_photo_id_array":[{"photo_id":"1396908137","filename":"file1"},{"photo_id":"1396908133","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908137":["hashtag1","hashtag2"]},{"1396908133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908137, 1396908133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.577579498291016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:23:42.333634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_35_3666.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_38_2590.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_40_2743.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_44_3727.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_47_2710.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_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/10/06/image_31102025_10_06_35_3666.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_38_2590.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_40_2743.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_44_3727.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_47_2710.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_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":["1396908173","1396908176","1396908172","1396908175","1396908169","1396908174"],"photo_ids_order":["1396908169","1396908172","1396908173","1396908174","1396908175","1396908176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42cd35cfbe09cda593041476e8344dbe.jpg","text":"TemporaryFile(/tmp/multipartBody423450176449109286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429883420,"filename":"image_31102025_10_06_40_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d035ea95cbb9d5faf2c1576e6b7991cd.jpg","text":"TemporaryFile(/tmp/multipartBody8154756972622784073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429883420,"filename":"image_31102025_10_06_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/11/29/bbeb63c1aba900bc6a9aeb71cdfd0a66.jpg","text":"TemporaryFile(/tmp/multipartBody7945310964206062371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429883420,"filename":"image_31102025_10_06_38_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e04b786d77b79fc45a955be83086ed5c.jpg","text":"TemporaryFile(/tmp/multipartBody2015300854769467311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429883420,"filename":"image_31102025_10_06_47_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2e5d0a86b91db4b6637a8a9e112ad9c.jpg","text":"TemporaryFile(/tmp/multipartBody1885496500815856019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429883420,"filename":"image_31102025_10_06_35_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7af121a7edcc8cb3070ddcc204ffa7f4.jpg","text":"TemporaryFile(/tmp/multipartBody3956497530589937867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429883420,"filename":"image_31102025_10_06_44_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908173","file1":"1396908172","file0":"1396908169","file4":"1396908175","file5":"1396908176","file3":"1396908174"},"map_files_photo_id_array":[{"photo_id":"1396908176","filename":"file5"},{"photo_id":"1396908173","filename":"file2"},{"photo_id":"1396908175","filename":"file4"},{"photo_id":"1396908172","filename":"file1"},{"photo_id":"1396908169","filename":"file0"},{"photo_id":"1396908174","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908173":["hashtag1","hashtag2"]},{"1396908176":["hashtag1","hashtag2"]},{"1396908172":["hashtag1","hashtag2"]},{"1396908175":["hashtag1","hashtag2"]},{"1396908169":["hashtag1","hashtag2"]},{"1396908174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908173, 1396908176, 1396908172, 1396908175, 1396908169, 1396908174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49536919593811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:24:22.620209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/22/image_29112025_16_23_05_9726.jpg', '/home/pi/Desktop/images/29112025/16/23/image_29112025_16_24_05_10617.jpg', '/home/pi/Desktop/images/29112025/16/24/image_29112025_16_24_15_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/22/image_29112025_16_23_05_9726.jpg
/home/pi/Desktop/images/29112025/16/23/image_29112025_16_24_05_10617.jpg
/home/pi/Desktop/images/29112025/16/24/image_29112025_16_24_15_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908185","1396908179","1396908182"],"photo_ids_order":["1396908179","1396908182","1396908185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8000d86ba442a3ca144e15d6a9cb7596.jpg","text":"TemporaryFile(/tmp/multipartBody9170125252302884183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429923219,"filename":"image_29112025_16_24_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/11/29/9c04d9bff8f9e021eca08331c8d24395.jpg","text":"TemporaryFile(/tmp/multipartBody4083893646523246878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429923219,"filename":"image_29112025_16_23_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ac67b999d0dfe80385db1caf72fc124.jpg","text":"TemporaryFile(/tmp/multipartBody5491205872337359551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429923219,"filename":"image_29112025_16_24_05_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908185","file1":"1396908182","file0":"1396908179"},"map_files_photo_id_array":[{"photo_id":"1396908185","filename":"file2"},{"photo_id":"1396908182","filename":"file1"},{"photo_id":"1396908179","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908185":["hashtag1","hashtag2"]},{"1396908179":["hashtag1","hashtag2"]},{"1396908182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908185, 1396908179, 1396908182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.680845737457275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:25:03.267170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_21_2603.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_24_2605.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_28_3701.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_30_2686.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_33_2516.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_37_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_21_2603.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_24_2605.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_28_3701.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_30_2686.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_33_2516.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_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":["1396908204","1396908197","1396908194","1396908200","1396908193","1396908195"],"photo_ids_order":["1396908193","1396908194","1396908195","1396908197","1396908200","1396908204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dcf758c9d97732c15bbcc76c803d8db7.jpg","text":"TemporaryFile(/tmp/multipartBody6048082145066353351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429964924,"filename":"image_25112025_18_43_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/11/29/e8cb2f612d215bb0344dee8530900892.jpg","text":"TemporaryFile(/tmp/multipartBody3412115539886283803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429964924,"filename":"image_25112025_18_43_30_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/faaac0f59d53f14e8283736349000188.jpg","text":"TemporaryFile(/tmp/multipartBody2046812705028452064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429964924,"filename":"image_25112025_18_43_24_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02e19ce4ca55b60e33ed9792e530d846.jpg","text":"TemporaryFile(/tmp/multipartBody2708969786843574299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429964924,"filename":"image_25112025_18_43_33_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be5a3d423a38b6fa3c07d7bb08221c53.jpg","text":"TemporaryFile(/tmp/multipartBody4177988677796051453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429964924,"filename":"image_25112025_18_43_21_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7211a6eefb1caf053484d81626daaa4b.jpg","text":"TemporaryFile(/tmp/multipartBody4372325581323198731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764429964924,"filename":"image_25112025_18_43_28_3701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908195","file1":"1396908194","file0":"1396908193","file4":"1396908200","file5":"1396908204","file3":"1396908197"},"map_files_photo_id_array":[{"photo_id":"1396908204","filename":"file5"},{"photo_id":"1396908195","filename":"file2"},{"photo_id":"1396908200","filename":"file4"},{"photo_id":"1396908194","filename":"file1"},{"photo_id":"1396908193","filename":"file0"},{"photo_id":"1396908197","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908204":["hashtag1","hashtag2"]},{"1396908197":["hashtag1","hashtag2"]},{"1396908194":["hashtag1","hashtag2"]},{"1396908200":["hashtag1","hashtag2"]},{"1396908193":["hashtag1","hashtag2"]},{"1396908195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908204, 1396908197, 1396908194, 1396908200, 1396908193, 1396908195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71267914772034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:25:42.718460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_52_2792.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_55_2817.jpg', '/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_59_3700.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_02_2615.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_04_2785.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_08_3778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_52_2792.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_55_2817.jpg
/home/pi/Desktop/images/31102025/10/06/image_31102025_10_06_59_3700.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_02_2615.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_04_2785.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_08_3778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908239","1396908238","1396908241","1396908235","1396908240","1396908243"],"photo_ids_order":["1396908235","1396908238","1396908239","1396908240","1396908241","1396908243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20e9cacc2ddeda3ae8e3926f91e604fb.jpg","text":"TemporaryFile(/tmp/multipartBody2037983125290070489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430003798,"filename":"image_31102025_10_06_59_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3381566b2aa00802fb1b49d4ac795a5.jpg","text":"TemporaryFile(/tmp/multipartBody6493995854051305269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430003798,"filename":"image_31102025_10_06_55_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8ac13aa1926694aa35047a5d45730b6.jpg","text":"TemporaryFile(/tmp/multipartBody4699302943809384415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430003798,"filename":"image_31102025_10_07_04_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee6226a073ad618a271d8d5a909c5b1b.jpg","text":"TemporaryFile(/tmp/multipartBody406368086680064543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430003798,"filename":"image_31102025_10_06_52_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e34fb3e13a1b72ed851af74b89f98b5.jpg","text":"TemporaryFile(/tmp/multipartBody3081000657535564372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430003798,"filename":"image_31102025_10_07_02_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e88fd8d99eafdbd924405abe543844f7.jpg","text":"TemporaryFile(/tmp/multipartBody976948848894131561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430003798,"filename":"image_31102025_10_07_08_3778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908239","file1":"1396908238","file0":"1396908235","file4":"1396908241","file5":"1396908243","file3":"1396908240"},"map_files_photo_id_array":[{"photo_id":"1396908243","filename":"file5"},{"photo_id":"1396908239","filename":"file2"},{"photo_id":"1396908241","filename":"file4"},{"photo_id":"1396908238","filename":"file1"},{"photo_id":"1396908235","filename":"file0"},{"photo_id":"1396908240","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908239":["hashtag1","hashtag2"]},{"1396908238":["hashtag1","hashtag2"]},{"1396908241":["hashtag1","hashtag2"]},{"1396908235":["hashtag1","hashtag2"]},{"1396908240":["hashtag1","hashtag2"]},{"1396908243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908239, 1396908238, 1396908241, 1396908235, 1396908240, 1396908243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08422231674194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:26:21.912346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/24/image_29112025_16_24_55_9670.jpg', '/home/pi/Desktop/images/29112025/16/25/image_29112025_16_25_14_10054.jpg', '/home/pi/Desktop/images/29112025/16/25/image_29112025_16_25_25_10674.jpg', '/home/pi/Desktop/images/29112025/16/25/image_29112025_16_25_35_9851.jpg', '/home/pi/Desktop/images/29112025/16/26/image_29112025_16_26_25_10665.jpg', '/home/pi/Desktop/images/29112025/16/26/image_29112025_16_26_34_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/24/image_29112025_16_24_55_9670.jpg
/home/pi/Desktop/images/29112025/16/25/image_29112025_16_25_14_10054.jpg
/home/pi/Desktop/images/29112025/16/25/image_29112025_16_25_25_10674.jpg
/home/pi/Desktop/images/29112025/16/25/image_29112025_16_25_35_9851.jpg
/home/pi/Desktop/images/29112025/16/26/image_29112025_16_26_25_10665.jpg
/home/pi/Desktop/images/29112025/16/26/image_29112025_16_26_34_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908277","1396908268","1396908307","1396908301","1396908304","1396908273"],"photo_ids_order":["1396908268","1396908273","1396908277","1396908301","1396908304","1396908307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab6ea1b0b56723de654b419e918f7299.jpg","text":"TemporaryFile(/tmp/multipartBody3110757314193667814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430042594,"filename":"image_29112025_16_25_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/719bb47550e7bdf5f3cff39df9882418.jpg","text":"TemporaryFile(/tmp/multipartBody4091518223987763808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430042594,"filename":"image_29112025_16_24_55_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f386f32377fbb313503a05d739508765.jpg","text":"TemporaryFile(/tmp/multipartBody2981923250773842152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430042594,"filename":"image_29112025_16_26_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9581b75a41c2a423e16b24aa9a3ebbf4.jpg","text":"TemporaryFile(/tmp/multipartBody2751943732565359872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430042594,"filename":"image_29112025_16_25_35_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b240bdf87e92c049804c4016088c5f61.jpg","text":"TemporaryFile(/tmp/multipartBody928410337098929625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430042594,"filename":"image_29112025_16_26_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c79e07ab3b39e80f2bc4c5dfdcdb9ac0.jpg","text":"TemporaryFile(/tmp/multipartBody8817216173975360112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430042594,"filename":"image_29112025_16_25_14_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908277","file1":"1396908273","file0":"1396908268","file4":"1396908304","file5":"1396908307","file3":"1396908301"},"map_files_photo_id_array":[{"photo_id":"1396908307","filename":"file5"},{"photo_id":"1396908277","filename":"file2"},{"photo_id":"1396908304","filename":"file4"},{"photo_id":"1396908273","filename":"file1"},{"photo_id":"1396908268","filename":"file0"},{"photo_id":"1396908301","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908277":["hashtag1","hashtag2"]},{"1396908268":["hashtag1","hashtag2"]},{"1396908307":["hashtag1","hashtag2"]},{"1396908301":["hashtag1","hashtag2"]},{"1396908304":["hashtag1","hashtag2"]},{"1396908273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908277, 1396908268, 1396908307, 1396908301, 1396908304, 1396908273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.696226596832275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:27:02.696951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/26/image_29112025_16_26_44_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/26/image_29112025_16_26_44_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908313"],"photo_id":"1396908313","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b2e33cf991dbc4daf1314677195301e.jpg","text":"TemporaryFile(/tmp/multipartBody1045905257558176094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430083246,"filename":"image_29112025_16_26_44_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396908313"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396908313"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.246808290481567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:27:22.129644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/26/image_29112025_16_26_55_10594.jpg', '/home/pi/Desktop/images/29112025/16/26/image_29112025_16_27_04_9625.jpg', '/home/pi/Desktop/images/29112025/16/27/image_29112025_16_27_14_9622.jpg', '/home/pi/Desktop/images/29112025/16/27/image_29112025_16_27_25_10668.jpg', '/home/pi/Desktop/images/29112025/16/27/image_29112025_16_27_34_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/26/image_29112025_16_26_55_10594.jpg
/home/pi/Desktop/images/29112025/16/26/image_29112025_16_27_04_9625.jpg
/home/pi/Desktop/images/29112025/16/27/image_29112025_16_27_14_9622.jpg
/home/pi/Desktop/images/29112025/16/27/image_29112025_16_27_25_10668.jpg
/home/pi/Desktop/images/29112025/16/27/image_29112025_16_27_34_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908329","1396908338","1396908317","1396908355","1396908322"],"photo_ids_order":["1396908317","1396908322","1396908329","1396908338","1396908355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d992a611e4d2e4c5dd7b332fcb5a9ca9.jpg","text":"TemporaryFile(/tmp/multipartBody1496099841042311514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430102785,"filename":"image_29112025_16_27_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/11/29/db29a95f16f721f7dcd4dd4b97900e91.jpg","text":"TemporaryFile(/tmp/multipartBody1747996656822682334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430102785,"filename":"image_29112025_16_27_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e98586249e8abd15ac735e3d2f5a65a1.jpg","text":"TemporaryFile(/tmp/multipartBody3058043846008099649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430102785,"filename":"image_29112025_16_26_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/11/29/ba448e43a8b9faaff7c4f10abf5b7fb6.jpg","text":"TemporaryFile(/tmp/multipartBody2334687721763024579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430102785,"filename":"image_29112025_16_27_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/11/29/2c1e9e84735548cee5e01d7d0370e611.jpg","text":"TemporaryFile(/tmp/multipartBody5710499833841593461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430102785,"filename":"image_29112025_16_27_04_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908329","file1":"1396908322","file0":"1396908317","file4":"1396908355","file3":"1396908338"},"map_files_photo_id_array":[{"photo_id":"1396908329","filename":"file2"},{"photo_id":"1396908355","filename":"file4"},{"photo_id":"1396908322","filename":"file1"},{"photo_id":"1396908317","filename":"file0"},{"photo_id":"1396908338","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908329":["hashtag1","hashtag2"]},{"1396908338":["hashtag1","hashtag2"]},{"1396908317":["hashtag1","hashtag2"]},{"1396908355":["hashtag1","hashtag2"]},{"1396908322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908329, 1396908338, 1396908317, 1396908355, 1396908322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.656033992767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:28:02.684115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_39_2517.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_42_2800.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_46_3650.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_48_2590.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_51_2779.jpg', '/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_57_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_39_2517.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_42_2800.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_46_3650.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_48_2590.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_51_2779.jpg
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_43_57_2677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908362","1396908364","1396908366","1396908369","1396908360","1396908363"],"photo_ids_order":["1396908360","1396908362","1396908363","1396908364","1396908366","1396908369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42f2a79f15b34069d7fcb2864d898a81.jpg","text":"TemporaryFile(/tmp/multipartBody2414235098362898467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430144287,"filename":"image_25112025_18_43_42_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8813791c60fd7c9d165b994d2fd96966.jpg","text":"TemporaryFile(/tmp/multipartBody3072856121657923585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430144287,"filename":"image_25112025_18_43_48_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e35efb2ee8cb60546403404f89e567e6.jpg","text":"TemporaryFile(/tmp/multipartBody2126619916131302500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430144287,"filename":"image_25112025_18_43_51_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02b5b534522980dc945e1b5e76856201.jpg","text":"TemporaryFile(/tmp/multipartBody3426961899358982947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430144287,"filename":"image_25112025_18_43_57_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ff85ad83766cb12bf5749916a1f9f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7752494268632675877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430144287,"filename":"image_25112025_18_43_39_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a257936f3e3101626c27eed384906ad5.jpg","text":"TemporaryFile(/tmp/multipartBody7703353792389111513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430144287,"filename":"image_25112025_18_43_46_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908363","file1":"1396908362","file0":"1396908360","file4":"1396908366","file5":"1396908369","file3":"1396908364"},"map_files_photo_id_array":[{"photo_id":"1396908369","filename":"file5"},{"photo_id":"1396908363","filename":"file2"},{"photo_id":"1396908366","filename":"file4"},{"photo_id":"1396908362","filename":"file1"},{"photo_id":"1396908360","filename":"file0"},{"photo_id":"1396908364","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908362":["hashtag1","hashtag2"]},{"1396908364":["hashtag1","hashtag2"]},{"1396908366":["hashtag1","hashtag2"]},{"1396908369":["hashtag1","hashtag2"]},{"1396908360":["hashtag1","hashtag2"]},{"1396908363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908362, 1396908364, 1396908366, 1396908369, 1396908360, 1396908363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8066565990448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:28:42.312770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_11_2713.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_13_2594.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_16_2799.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_20_3762.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_23_2816.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_26_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_11_2713.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_13_2594.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_16_2799.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_20_3762.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_23_2816.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_26_2766.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0592641830444336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:29:03.161234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/27/image_29112025_16_27_44_9831.jpg', '/home/pi/Desktop/images/29112025/16/27/image_29112025_16_28_05_9662.jpg', '/home/pi/Desktop/images/29112025/16/28/image_29112025_16_28_35_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/27/image_29112025_16_27_44_9831.jpg
/home/pi/Desktop/images/29112025/16/27/image_29112025_16_28_05_9662.jpg
/home/pi/Desktop/images/29112025/16/28/image_29112025_16_28_35_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908386","1396908388","1396908385"],"photo_ids_order":["1396908385","1396908386","1396908388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4864903cecea19f68795a96b1f3b100d.jpg","text":"TemporaryFile(/tmp/multipartBody9142373179985478208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430203953,"filename":"image_29112025_16_28_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/11/29/1933679867fafcbad5ca0cdc6f3c98eb.jpg","text":"TemporaryFile(/tmp/multipartBody1851103695151285127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430203953,"filename":"image_29112025_16_28_35_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1ca69f8b406bcbfaa33993021a00d96.jpg","text":"TemporaryFile(/tmp/multipartBody5725137789642792573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430203953,"filename":"image_29112025_16_27_44_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908388","file1":"1396908386","file0":"1396908385"},"map_files_photo_id_array":[{"photo_id":"1396908388","filename":"file2"},{"photo_id":"1396908386","filename":"file1"},{"photo_id":"1396908385","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908386":["hashtag1","hashtag2"]},{"1396908388":["hashtag1","hashtag2"]},{"1396908385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908386, 1396908388, 1396908385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.94477653503418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 16:29:32.517891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/43/image_25112025_18_44_00_2554.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_04_3843.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_06_2604.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_09_2740.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_15_2496.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_18_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/43/image_25112025_18_44_00_2554.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_04_3843.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_06_2604.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_09_2740.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_15_2496.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_18_2804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908405","1396908408","1396908398","1396908401","1396908410","1396908409"],"photo_ids_order":["1396908398","1396908401","1396908405","1396908408","1396908409","1396908410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3316324dfe6dc0d6cb7785b9c2419a7c.jpg","text":"TemporaryFile(/tmp/multipartBody3382446783698770129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430234681,"filename":"image_25112025_18_44_06_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f690053e8032d65f3264a899c2c0277.jpg","text":"TemporaryFile(/tmp/multipartBody2708221192665321926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430234681,"filename":"image_25112025_18_44_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/11/29/89ed0b639c9d16715d9045029cece594.jpg","text":"TemporaryFile(/tmp/multipartBody8617550042256502948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430234681,"filename":"image_25112025_18_44_00_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1baba14f69ade9e45e2593d9c7f24336.jpg","text":"TemporaryFile(/tmp/multipartBody5114164136489228692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430234681,"filename":"image_25112025_18_44_04_3843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5254e3f20cd001785320c745e435e00b.jpg","text":"TemporaryFile(/tmp/multipartBody8036976481499328128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430234681,"filename":"image_25112025_18_44_18_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d3baebfaf9ac98fcf6cf61b2f6032b6.jpg","text":"TemporaryFile(/tmp/multipartBody7985075636071075193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430234681,"filename":"image_25112025_18_44_15_2496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908405","file1":"1396908401","file0":"1396908398","file4":"1396908409","file5":"1396908410","file3":"1396908408"},"map_files_photo_id_array":[{"photo_id":"1396908410","filename":"file5"},{"photo_id":"1396908405","filename":"file2"},{"photo_id":"1396908409","filename":"file4"},{"photo_id":"1396908401","filename":"file1"},{"photo_id":"1396908398","filename":"file0"},{"photo_id":"1396908408","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908405":["hashtag1","hashtag2"]},{"1396908408":["hashtag1","hashtag2"]},{"1396908398":["hashtag1","hashtag2"]},{"1396908401":["hashtag1","hashtag2"]},{"1396908410":["hashtag1","hashtag2"]},{"1396908409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908405, 1396908408, 1396908398, 1396908401, 1396908410, 1396908409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.544273138046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 16:30:12.614047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_22_3720.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_24_2618.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_27_2563.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_31_3667.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_34_3183.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_37_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_22_3720.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_24_2618.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_27_2563.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_31_3667.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_34_3183.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_37_2752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908411","1396908413","1396908422","1396908416","1396908425","1396908419"],"photo_ids_order":["1396908411","1396908413","1396908416","1396908419","1396908422","1396908425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b99fec5a2d555b3730ccd16ceb67a54d.jpg","text":"TemporaryFile(/tmp/multipartBody975604751049389244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430274664,"filename":"image_25112025_18_44_22_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b27ee65256a277c277545d1758d2226.jpg","text":"TemporaryFile(/tmp/multipartBody376581033727743019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430274664,"filename":"image_25112025_18_44_24_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22071d7098b17461e5d15389123baf6e.jpg","text":"TemporaryFile(/tmp/multipartBody3053894069030627342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430274664,"filename":"image_25112025_18_44_34_3183.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f391076adc41c05689d7cbbb988d2c95.jpg","text":"TemporaryFile(/tmp/multipartBody1634886251951444965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430274664,"filename":"image_25112025_18_44_27_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f377393c0b6b265042d3deba66ff12a2.jpg","text":"TemporaryFile(/tmp/multipartBody8349967183108422806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430274664,"filename":"image_25112025_18_44_37_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59d2dd9b63f6027c2033e2ccd5745edf.jpg","text":"TemporaryFile(/tmp/multipartBody2778440008771056344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430274664,"filename":"image_25112025_18_44_31_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908416","file1":"1396908413","file0":"1396908411","file4":"1396908422","file5":"1396908425","file3":"1396908419"},"map_files_photo_id_array":[{"photo_id":"1396908425","filename":"file5"},{"photo_id":"1396908416","filename":"file2"},{"photo_id":"1396908422","filename":"file4"},{"photo_id":"1396908413","filename":"file1"},{"photo_id":"1396908411","filename":"file0"},{"photo_id":"1396908419","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908411":["hashtag1","hashtag2"]},{"1396908413":["hashtag1","hashtag2"]},{"1396908422":["hashtag1","hashtag2"]},{"1396908416":["hashtag1","hashtag2"]},{"1396908425":["hashtag1","hashtag2"]},{"1396908419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908411, 1396908413, 1396908422, 1396908416, 1396908425, 1396908419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.985684394836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:31:02.527034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/28/image_29112025_16_28_44_9628.jpg', '/home/pi/Desktop/images/29112025/16/28/image_29112025_16_29_04_9568.jpg', '/home/pi/Desktop/images/29112025/16/29/image_29112025_16_29_15_10689.jpg', '/home/pi/Desktop/images/29112025/16/29/image_29112025_16_29_45_10619.jpg', '/home/pi/Desktop/images/29112025/16/30/image_29112025_16_30_15_10053.jpg', '/home/pi/Desktop/images/29112025/16/30/image_29112025_16_30_25_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/28/image_29112025_16_28_44_9628.jpg
/home/pi/Desktop/images/29112025/16/28/image_29112025_16_29_04_9568.jpg
/home/pi/Desktop/images/29112025/16/29/image_29112025_16_29_15_10689.jpg
/home/pi/Desktop/images/29112025/16/29/image_29112025_16_29_45_10619.jpg
/home/pi/Desktop/images/29112025/16/30/image_29112025_16_30_15_10053.jpg
/home/pi/Desktop/images/29112025/16/30/image_29112025_16_30_25_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":["1396908438","1396908432","1396908431","1396908430","1396908433","1396908435"],"photo_ids_order":["1396908430","1396908431","1396908432","1396908433","1396908435","1396908438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06d0df2303c1b426b5ed904cbeec3c72.jpg","text":"TemporaryFile(/tmp/multipartBody2068997864829136255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430323317,"filename":"image_29112025_16_30_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92343a65d54fb9f78911033554a7fe3d.jpg","text":"TemporaryFile(/tmp/multipartBody4193145961031582360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430323317,"filename":"image_29112025_16_29_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b11f4a04d38242669c776a4202ff65e5.jpg","text":"TemporaryFile(/tmp/multipartBody8280755078340087464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430323317,"filename":"image_29112025_16_29_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/11/29/b2635ad37c0556e063edb10987e3b463.jpg","text":"TemporaryFile(/tmp/multipartBody2303790313972844838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430323317,"filename":"image_29112025_16_28_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/11/29/96d8e4491712f8ccf82ed0a18efb2ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1784335236585885998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430323317,"filename":"image_29112025_16_29_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/363c17f6c912ef832cfa4e12fe638735.jpg","text":"TemporaryFile(/tmp/multipartBody4181881062616404154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430323317,"filename":"image_29112025_16_30_15_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908432","file1":"1396908431","file0":"1396908430","file4":"1396908435","file5":"1396908438","file3":"1396908433"},"map_files_photo_id_array":[{"photo_id":"1396908438","filename":"file5"},{"photo_id":"1396908432","filename":"file2"},{"photo_id":"1396908435","filename":"file4"},{"photo_id":"1396908431","filename":"file1"},{"photo_id":"1396908430","filename":"file0"},{"photo_id":"1396908433","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908438":["hashtag1","hashtag2"]},{"1396908432":["hashtag1","hashtag2"]},{"1396908431":["hashtag1","hashtag2"]},{"1396908430":["hashtag1","hashtag2"]},{"1396908433":["hashtag1","hashtag2"]},{"1396908435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908438, 1396908432, 1396908431, 1396908430, 1396908433, 1396908435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.857757568359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:31:41.978511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_11_2713.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_13_2594.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_16_2799.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_20_3762.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_23_2816.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_26_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_11_2713.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_13_2594.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_16_2799.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_20_3762.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_23_2816.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_26_2766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908450","1396908452","1396908454","1396908451","1396908448","1396908453"],"photo_ids_order":["1396908448","1396908450","1396908451","1396908452","1396908453","1396908454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfc1aeab1d66fa9e5a2d3dc410b7eea2.jpg","text":"TemporaryFile(/tmp/multipartBody8433446590344980514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430362924,"filename":"image_31102025_10_07_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/11/29/f7fc5cd72a96f7e747efe594ab8f12a0.jpg","text":"TemporaryFile(/tmp/multipartBody5531089352745799520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430362924,"filename":"image_31102025_10_07_20_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec4e556c29a7d96b201e2e9ce316ef95.jpg","text":"TemporaryFile(/tmp/multipartBody4562487362697257926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430362924,"filename":"image_31102025_10_07_26_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42dad1f0b1ddb65c0fd82e75702af646.jpg","text":"TemporaryFile(/tmp/multipartBody7120303464774244908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430362924,"filename":"image_31102025_10_07_16_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f6fafdf57286ea6e3542040c1726ea9.jpg","text":"TemporaryFile(/tmp/multipartBody8057111131521486446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430362924,"filename":"image_31102025_10_07_11_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/084e7a8585ea8ec43fec075067f8df14.jpg","text":"TemporaryFile(/tmp/multipartBody5709758892737315986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430362924,"filename":"image_31102025_10_07_23_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908451","file1":"1396908450","file0":"1396908448","file4":"1396908453","file5":"1396908454","file3":"1396908452"},"map_files_photo_id_array":[{"photo_id":"1396908454","filename":"file5"},{"photo_id":"1396908451","filename":"file2"},{"photo_id":"1396908453","filename":"file4"},{"photo_id":"1396908450","filename":"file1"},{"photo_id":"1396908448","filename":"file0"},{"photo_id":"1396908452","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908450":["hashtag1","hashtag2"]},{"1396908452":["hashtag1","hashtag2"]},{"1396908454":["hashtag1","hashtag2"]},{"1396908451":["hashtag1","hashtag2"]},{"1396908448":["hashtag1","hashtag2"]},{"1396908453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908450, 1396908452, 1396908454, 1396908451, 1396908448, 1396908453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38096261024475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:32:22.180963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/30/image_29112025_16_30_35_9808.jpg', '/home/pi/Desktop/images/29112025/16/31/image_29112025_16_31_15_9732.jpg', '/home/pi/Desktop/images/29112025/16/31/image_29112025_16_31_35_10779.jpg', '/home/pi/Desktop/images/29112025/16/31/image_29112025_16_31_55_9712.jpg', '/home/pi/Desktop/images/29112025/16/31/image_29112025_16_32_06_10690.jpg', '/home/pi/Desktop/images/29112025/16/32/image_29112025_16_32_15_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/30/image_29112025_16_30_35_9808.jpg
/home/pi/Desktop/images/29112025/16/31/image_29112025_16_31_15_9732.jpg
/home/pi/Desktop/images/29112025/16/31/image_29112025_16_31_35_10779.jpg
/home/pi/Desktop/images/29112025/16/31/image_29112025_16_31_55_9712.jpg
/home/pi/Desktop/images/29112025/16/31/image_29112025_16_32_06_10690.jpg
/home/pi/Desktop/images/29112025/16/32/image_29112025_16_32_15_9679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908470","1396908464","1396908472","1396908460","1396908457","1396908466"],"photo_ids_order":["1396908457","1396908460","1396908464","1396908466","1396908470","1396908472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a1b7b1bb6b639e30278640d24ec49f8.jpg","text":"TemporaryFile(/tmp/multipartBody6406974765292837719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430402859,"filename":"image_29112025_16_32_06_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62bcd5c275e0fc37f15a4fd7fd115bbf.jpg","text":"TemporaryFile(/tmp/multipartBody5703822376762102641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430402859,"filename":"image_29112025_16_31_35_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63ac145f9e2527804b1e2729f59b8b97.jpg","text":"TemporaryFile(/tmp/multipartBody8910894144398226963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430402859,"filename":"image_29112025_16_32_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6309c5571e77e8a673983d18796b7f2f.jpg","text":"TemporaryFile(/tmp/multipartBody4874588917443051801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430402859,"filename":"image_29112025_16_31_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/11/29/8fe54383d72e36c2b6ec3a4bf8bc3fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6014002642909035997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430402859,"filename":"image_29112025_16_30_35_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/548e4ea7491c0f2113634d175ee7e96c.jpg","text":"TemporaryFile(/tmp/multipartBody1005058974588120338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430402859,"filename":"image_29112025_16_31_55_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908464","file1":"1396908460","file0":"1396908457","file4":"1396908470","file5":"1396908472","file3":"1396908466"},"map_files_photo_id_array":[{"photo_id":"1396908472","filename":"file5"},{"photo_id":"1396908464","filename":"file2"},{"photo_id":"1396908470","filename":"file4"},{"photo_id":"1396908460","filename":"file1"},{"photo_id":"1396908457","filename":"file0"},{"photo_id":"1396908466","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908470":["hashtag1","hashtag2"]},{"1396908464":["hashtag1","hashtag2"]},{"1396908472":["hashtag1","hashtag2"]},{"1396908460":["hashtag1","hashtag2"]},{"1396908457":["hashtag1","hashtag2"]},{"1396908466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908470, 1396908464, 1396908472, 1396908460, 1396908457, 1396908466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18231272697449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:33:02.849493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/32/image_29112025_16_32_35_9760.jpg', '/home/pi/Desktop/images/29112025/16/32/image_29112025_16_32_45_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/32/image_29112025_16_32_35_9760.jpg
/home/pi/Desktop/images/29112025/16/32/image_29112025_16_32_45_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908475","1396908474"],"photo_ids_order":["1396908474","1396908475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29cf7996bdc21f52c5b826b7310729ae.jpg","text":"TemporaryFile(/tmp/multipartBody3405065045689032555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430443446,"filename":"image_29112025_16_32_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/11/29/dcb663f2e2ab39bdbc91109f89d18ba6.jpg","text":"TemporaryFile(/tmp/multipartBody7077276883509171862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430443446,"filename":"image_29112025_16_32_35_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396908475","file0":"1396908474"},"map_files_photo_id_array":[{"photo_id":"1396908475","filename":"file1"},{"photo_id":"1396908474","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908475":["hashtag1","hashtag2"]},{"1396908474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908475, 1396908474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.509278774261475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:33:22.318751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/32/image_29112025_16_32_55_9685.jpg', '/home/pi/Desktop/images/29112025/16/33/image_29112025_16_33_15_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/32/image_29112025_16_32_55_9685.jpg
/home/pi/Desktop/images/29112025/16/33/image_29112025_16_33_15_10580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908481","1396908478"],"photo_ids_order":["1396908478","1396908481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7822bce4b6458e3dcecdd3babd02f70f.jpg","text":"TemporaryFile(/tmp/multipartBody1102548761032650828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430462863,"filename":"image_29112025_16_33_15_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f68e596cfc6c0ab3739d51aa9c6d9dbf.jpg","text":"TemporaryFile(/tmp/multipartBody5571441288455866079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430462863,"filename":"image_29112025_16_32_55_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396908481","file0":"1396908478"},"map_files_photo_id_array":[{"photo_id":"1396908481","filename":"file1"},{"photo_id":"1396908478","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908481":["hashtag1","hashtag2"]},{"1396908478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908481, 1396908478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.18659019470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:33:42.317586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_28_2605.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_32_3667.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_34_2654.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_37_2711.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_41_3847.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_44_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/10/07/image_31102025_10_07_28_2605.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_32_3667.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_34_2654.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_37_2711.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_41_3847.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_44_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":["1396908494","1396908497","1396908490","1396908493","1396908496","1396908495"],"photo_ids_order":["1396908490","1396908493","1396908494","1396908495","1396908496","1396908497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fee3e8ae7b296f2cbad7d2b8a761115b.jpg","text":"TemporaryFile(/tmp/multipartBody8668116262090619788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430483410,"filename":"image_31102025_10_07_34_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6aab359ad80be5f0316b24369e505c2.jpg","text":"TemporaryFile(/tmp/multipartBody4963023698267902936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430483410,"filename":"image_31102025_10_07_44_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b34f280521d064a3e5aef7d917e9d0eb.jpg","text":"TemporaryFile(/tmp/multipartBody8248932713563271319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430483410,"filename":"image_31102025_10_07_28_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6cf6511c4011aa53a6c5d85860eefcd8.jpg","text":"TemporaryFile(/tmp/multipartBody7844973687883971183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430483410,"filename":"image_31102025_10_07_32_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/daedb70de466be5d63a86a3c2a587414.jpg","text":"TemporaryFile(/tmp/multipartBody7113211485968824514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430483410,"filename":"image_31102025_10_07_41_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74ce1f1807ff1c26dc57004ae75c7435.jpg","text":"TemporaryFile(/tmp/multipartBody2515974574819980252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430483410,"filename":"image_31102025_10_07_37_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908494","file1":"1396908493","file0":"1396908490","file4":"1396908496","file5":"1396908497","file3":"1396908495"},"map_files_photo_id_array":[{"photo_id":"1396908497","filename":"file5"},{"photo_id":"1396908494","filename":"file2"},{"photo_id":"1396908496","filename":"file4"},{"photo_id":"1396908493","filename":"file1"},{"photo_id":"1396908490","filename":"file0"},{"photo_id":"1396908495","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908494":["hashtag1","hashtag2"]},{"1396908497":["hashtag1","hashtag2"]},{"1396908490":["hashtag1","hashtag2"]},{"1396908493":["hashtag1","hashtag2"]},{"1396908496":["hashtag1","hashtag2"]},{"1396908495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908494, 1396908497, 1396908490, 1396908493, 1396908496, 1396908495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11362838745117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:34:22.527257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/33/image_29112025_16_33_25_9618.jpg', '/home/pi/Desktop/images/29112025/16/33/image_29112025_16_34_06_10606.jpg', '/home/pi/Desktop/images/29112025/16/34/image_29112025_16_34_15_9642.jpg', '/home/pi/Desktop/images/29112025/16/34/image_29112025_16_34_25_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/33/image_29112025_16_33_25_9618.jpg
/home/pi/Desktop/images/29112025/16/33/image_29112025_16_34_06_10606.jpg
/home/pi/Desktop/images/29112025/16/34/image_29112025_16_34_15_9642.jpg
/home/pi/Desktop/images/29112025/16/34/image_29112025_16_34_25_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":["1396908504","1396908507","1396908509","1396908500"],"photo_ids_order":["1396908500","1396908504","1396908507","1396908509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38f9029a35efb5e15ccb1120068f86d3.jpg","text":"TemporaryFile(/tmp/multipartBody7937591421717700117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430523140,"filename":"image_29112025_16_34_06_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c90df7da38b37e635c6eed9b3d54a1ca.jpg","text":"TemporaryFile(/tmp/multipartBody1040130403955723018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430523140,"filename":"image_29112025_16_34_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/11/29/f0d185c7aab704f76a4c0fa63c499364.jpg","text":"TemporaryFile(/tmp/multipartBody6726768298836503661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430523140,"filename":"image_29112025_16_34_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/11/29/60fcb8c2ddbbab1bc5685e716288b9aa.jpg","text":"TemporaryFile(/tmp/multipartBody8204055411589919137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430523140,"filename":"image_29112025_16_33_25_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908507","file1":"1396908504","file0":"1396908500","file3":"1396908509"},"map_files_photo_id_array":[{"photo_id":"1396908507","filename":"file2"},{"photo_id":"1396908504","filename":"file1"},{"photo_id":"1396908500","filename":"file0"},{"photo_id":"1396908509","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908504":["hashtag1","hashtag2"]},{"1396908507":["hashtag1","hashtag2"]},{"1396908509":["hashtag1","hashtag2"]},{"1396908500":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908504, 1396908507, 1396908509, 1396908500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.553609609603882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:35:03.452854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_39_2450.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_43_3603.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_45_2683.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_48_2657.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_52_3612.jpg', '/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_54_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_39_2450.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_43_3603.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_45_2683.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_48_2657.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_52_3612.jpg
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_44_54_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908516","1396908525","1396908515","1396908518","1396908517","1396908520"],"photo_ids_order":["1396908515","1396908516","1396908517","1396908518","1396908520","1396908525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53aad9c3a19da8f5e7812fae2527f2d6.jpg","text":"TemporaryFile(/tmp/multipartBody4922031793156042234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430565094,"filename":"image_25112025_18_44_43_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57cc394c52775059abb00049bc50e778.jpg","text":"TemporaryFile(/tmp/multipartBody160014044905208686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430565094,"filename":"image_25112025_18_44_54_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a97565a43962e647a45aa450f2b8aca.jpg","text":"TemporaryFile(/tmp/multipartBody7124185857522062137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430565094,"filename":"image_25112025_18_44_39_2450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f62b12a4838a8690ddd67336872393aa.jpg","text":"TemporaryFile(/tmp/multipartBody1693662571025824788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430565094,"filename":"image_25112025_18_44_48_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4326130c04e93bc0a878aa5f819cd463.jpg","text":"TemporaryFile(/tmp/multipartBody4768317613970549144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430565094,"filename":"image_25112025_18_44_45_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd38e113b70da5ba2a4c83d83b726a9b.jpg","text":"TemporaryFile(/tmp/multipartBody5177275100666826918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430565094,"filename":"image_25112025_18_44_52_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908517","file1":"1396908516","file0":"1396908515","file4":"1396908520","file5":"1396908525","file3":"1396908518"},"map_files_photo_id_array":[{"photo_id":"1396908525","filename":"file5"},{"photo_id":"1396908517","filename":"file2"},{"photo_id":"1396908520","filename":"file4"},{"photo_id":"1396908516","filename":"file1"},{"photo_id":"1396908515","filename":"file0"},{"photo_id":"1396908518","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908516":["hashtag1","hashtag2"]},{"1396908525":["hashtag1","hashtag2"]},{"1396908515":["hashtag1","hashtag2"]},{"1396908518":["hashtag1","hashtag2"]},{"1396908517":["hashtag1","hashtag2"]},{"1396908520":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908516, 1396908525, 1396908515, 1396908518, 1396908517, 1396908520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69480276107788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:35:42.619431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_47_2866.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_49_2666.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_52_2817.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_56_3834.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_59_2634.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_01_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/10/07/image_31102025_10_07_47_2866.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_49_2666.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_52_2817.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_56_3834.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_59_2634.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_01_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":["1396908537","1396908539","1396908533","1396908536","1396908538","1396908540"],"photo_ids_order":["1396908533","1396908536","1396908537","1396908538","1396908539","1396908540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/235cc7fd0004a8a9c0cf7db81984b0ad.jpg","text":"TemporaryFile(/tmp/multipartBody3889200668567914163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430603657,"filename":"image_31102025_10_07_52_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/754e5b5d63e56cac54aabe6bf9b6dc27.jpg","text":"TemporaryFile(/tmp/multipartBody3561212343310317786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430603657,"filename":"image_31102025_10_07_59_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edb34bbd592754c1ca1b5468dce8167a.jpg","text":"TemporaryFile(/tmp/multipartBody5402006897487536954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430603657,"filename":"image_31102025_10_07_47_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f34ff6a5d9f0fd70b619a2389496de8d.jpg","text":"TemporaryFile(/tmp/multipartBody2004438481923065543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430603657,"filename":"image_31102025_10_07_49_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/23d930cf6a24e498d7752f478dc77b96.jpg","text":"TemporaryFile(/tmp/multipartBody8627119467748914248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430603657,"filename":"image_31102025_10_07_56_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/902083d9c40deb30b7a896c0c004feb2.jpg","text":"TemporaryFile(/tmp/multipartBody1605589651582450588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430603657,"filename":"image_31102025_10_08_01_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908537","file1":"1396908536","file0":"1396908533","file4":"1396908539","file5":"1396908540","file3":"1396908538"},"map_files_photo_id_array":[{"photo_id":"1396908540","filename":"file5"},{"photo_id":"1396908537","filename":"file2"},{"photo_id":"1396908539","filename":"file4"},{"photo_id":"1396908536","filename":"file1"},{"photo_id":"1396908533","filename":"file0"},{"photo_id":"1396908538","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908537":["hashtag1","hashtag2"]},{"1396908539":["hashtag1","hashtag2"]},{"1396908533":["hashtag1","hashtag2"]},{"1396908536":["hashtag1","hashtag2"]},{"1396908538":["hashtag1","hashtag2"]},{"1396908540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908537, 1396908539, 1396908533, 1396908536, 1396908538, 1396908540)","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 = 1396908537 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_52_2817.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1396908537 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_52_2817.jpg";
uploaded 6 photos
time to upload: 68.07527709007263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:37:13.380116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/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-11-29 16:37:51.372994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 16:38:24.285981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 16:38:34.149084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
 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 30 --only_old 1
2025-11-29 16:39:01.125785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 16:39:19.124458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/44/image_25112025_18_45_00_3527.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_03_2560.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_07_3678.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_09_2552.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_12_2697.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_15_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/44/image_25112025_18_45_00_3527.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_03_2560.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_07_3678.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_09_2552.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_12_2697.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_15_3562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908587","1396908589","1396908580","1396908583","1396908594","1396908591"],"photo_ids_order":["1396908580","1396908583","1396908587","1396908589","1396908591","1396908594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/785a29f715b301f25d2df1d2b0b5939d.jpg","text":"TemporaryFile(/tmp/multipartBody2112348524151714307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430821045,"filename":"image_25112025_18_45_07_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ae7dcd14d71500acbf346075d124932.jpg","text":"TemporaryFile(/tmp/multipartBody55411295192921037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430821045,"filename":"image_25112025_18_45_09_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/924cf7c109ac247327140ecacd36c5a4.jpg","text":"TemporaryFile(/tmp/multipartBody7818434818889040024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430821045,"filename":"image_25112025_18_45_00_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63ea1affe763fbfe948e698ded9d01ff.jpg","text":"TemporaryFile(/tmp/multipartBody9057472492991514920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430821045,"filename":"image_25112025_18_45_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/11/29/dac6425eca85af6d08b678f1dfdf67c3.jpg","text":"TemporaryFile(/tmp/multipartBody3997391826751142916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430821045,"filename":"image_25112025_18_45_15_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22d8cb9f2796c1fb35d0c90b0602884c.jpg","text":"TemporaryFile(/tmp/multipartBody2921727322745441368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430821045,"filename":"image_25112025_18_45_12_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908587","file1":"1396908583","file0":"1396908580","file4":"1396908591","file5":"1396908594","file3":"1396908589"},"map_files_photo_id_array":[{"photo_id":"1396908594","filename":"file5"},{"photo_id":"1396908587","filename":"file2"},{"photo_id":"1396908591","filename":"file4"},{"photo_id":"1396908583","filename":"file1"},{"photo_id":"1396908580","filename":"file0"},{"photo_id":"1396908589","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908587":["hashtag1","hashtag2"]},{"1396908589":["hashtag1","hashtag2"]},{"1396908580":["hashtag1","hashtag2"]},{"1396908583":["hashtag1","hashtag2"]},{"1396908594":["hashtag1","hashtag2"]},{"1396908591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908587, 1396908589, 1396908580, 1396908583, 1396908594, 1396908591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99746489524841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:40:02.974975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_18_2604.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_22_3662.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_24_2616.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_27_2610.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_31_3661.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_33_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_18_2604.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_22_3662.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_24_2616.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_27_2610.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_31_3661.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_33_2674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908600","1396908603","1396908599","1396908605","1396908598","1396908597"],"photo_ids_order":["1396908597","1396908598","1396908599","1396908600","1396908603","1396908605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/931d7b336e0dfed50fcdedbfe22178e6.jpg","text":"TemporaryFile(/tmp/multipartBody1721292586317333765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430864525,"filename":"image_25112025_18_45_27_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f80ef7fed98b2c5c6a774ec1c7c7201.jpg","text":"TemporaryFile(/tmp/multipartBody7623539792177759574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430864525,"filename":"image_25112025_18_45_31_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18134768d90b2347f7171612e9338bee.jpg","text":"TemporaryFile(/tmp/multipartBody4191567908206128681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430864525,"filename":"image_25112025_18_45_24_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a3d7178b708275e6327ea5d73537522.jpg","text":"TemporaryFile(/tmp/multipartBody3639879504076400617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430864525,"filename":"image_25112025_18_45_33_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03c6c2a7ab652a7c87f5d20ff6d34730.jpg","text":"TemporaryFile(/tmp/multipartBody6653631826892391683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430864525,"filename":"image_25112025_18_45_22_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a2cd3d342dc2b3c966372c4af9585c5.jpg","text":"TemporaryFile(/tmp/multipartBody8294320835750429314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430864525,"filename":"image_25112025_18_45_18_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908599","file1":"1396908598","file0":"1396908597","file4":"1396908603","file5":"1396908605","file3":"1396908600"},"map_files_photo_id_array":[{"photo_id":"1396908605","filename":"file5"},{"photo_id":"1396908599","filename":"file2"},{"photo_id":"1396908603","filename":"file4"},{"photo_id":"1396908598","filename":"file1"},{"photo_id":"1396908597","filename":"file0"},{"photo_id":"1396908600","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908600":["hashtag1","hashtag2"]},{"1396908603":["hashtag1","hashtag2"]},{"1396908599":["hashtag1","hashtag2"]},{"1396908605":["hashtag1","hashtag2"]},{"1396908598":["hashtag1","hashtag2"]},{"1396908597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908600, 1396908603, 1396908599, 1396908605, 1396908598, 1396908597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98122429847717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:40:42.559293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_47_2866.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_49_2666.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_52_2817.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_56_3834.jpg', '/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_59_2634.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_01_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/10/07/image_31102025_10_07_47_2866.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_49_2666.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_52_2817.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_56_3834.jpg
/home/pi/Desktop/images/31102025/10/07/image_31102025_10_07_59_2634.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_01_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":["1396908624","1396908620","1396908614","1396908617","1396908622","1396908619"],"photo_ids_order":["1396908614","1396908617","1396908619","1396908620","1396908622","1396908624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11dd287f06ee2497e399a3256fa71446.jpg","text":"TemporaryFile(/tmp/multipartBody759689643081263551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430903509,"filename":"image_31102025_10_08_01_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f1a7f2c8dc61a4d92222fe5042b7b02.jpg","text":"TemporaryFile(/tmp/multipartBody8918866193888834367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430903509,"filename":"image_31102025_10_07_56_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5656a83973851c0adc5e86e470301111.jpg","text":"TemporaryFile(/tmp/multipartBody5786307685579694309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430903509,"filename":"image_31102025_10_07_47_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a6fe931cf2e80902ad5ad34c731f7ac.jpg","text":"TemporaryFile(/tmp/multipartBody6462847250234968198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430903509,"filename":"image_31102025_10_07_49_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/23cfc6c3feb324de00aed8bd4a1f6d12.jpg","text":"TemporaryFile(/tmp/multipartBody8116245612670179902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430903509,"filename":"image_31102025_10_07_59_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cab29dfc845b545ead309fe43e79071.jpg","text":"TemporaryFile(/tmp/multipartBody1025799958637938243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430903509,"filename":"image_31102025_10_07_52_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908619","file1":"1396908617","file0":"1396908614","file4":"1396908622","file5":"1396908624","file3":"1396908620"},"map_files_photo_id_array":[{"photo_id":"1396908624","filename":"file5"},{"photo_id":"1396908619","filename":"file2"},{"photo_id":"1396908622","filename":"file4"},{"photo_id":"1396908617","filename":"file1"},{"photo_id":"1396908614","filename":"file0"},{"photo_id":"1396908620","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908624":["hashtag1","hashtag2"]},{"1396908620":["hashtag1","hashtag2"]},{"1396908614":["hashtag1","hashtag2"]},{"1396908617":["hashtag1","hashtag2"]},{"1396908622":["hashtag1","hashtag2"]},{"1396908619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908624, 1396908620, 1396908614, 1396908617, 1396908622, 1396908619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.456987380981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:41:22.744206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/34/image_29112025_16_34_55_9786.jpg', '/home/pi/Desktop/images/29112025/16/36/image_29112025_16_36_25_10715.jpg', '/home/pi/Desktop/images/29112025/16/36/image_29112025_16_37_05_9696.jpg', '/home/pi/Desktop/images/29112025/16/37/image_29112025_16_37_14_9679.jpg', '/home/pi/Desktop/images/29112025/16/37/image_29112025_16_37_35_8660.jpg', '/home/pi/Desktop/images/29112025/16/38/image_29112025_16_38_25_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/34/image_29112025_16_34_55_9786.jpg
/home/pi/Desktop/images/29112025/16/36/image_29112025_16_36_25_10715.jpg
/home/pi/Desktop/images/29112025/16/36/image_29112025_16_37_05_9696.jpg
/home/pi/Desktop/images/29112025/16/37/image_29112025_16_37_14_9679.jpg
/home/pi/Desktop/images/29112025/16/37/image_29112025_16_37_35_8660.jpg
/home/pi/Desktop/images/29112025/16/38/image_29112025_16_38_25_9708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.719038724899292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 16:41:32.851547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_36_2528.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_40_3791.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_42_2588.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_45_2752.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_49_3569.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_51_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_36_2528.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_40_3791.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_42_2588.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_45_2752.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_49_3569.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_51_2537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908680","1396908683","1396908677","1396908682","1396908684","1396908672"],"photo_ids_order":["1396908672","1396908677","1396908680","1396908682","1396908683","1396908684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fba8d66d9a3e7abf1a3e6deae0fb336e.jpg","text":"TemporaryFile(/tmp/multipartBody1967788163206518770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430955000,"filename":"image_25112025_18_45_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/11/29/ea842a201f6fa7bcdf3f036be2eaa927.jpg","text":"TemporaryFile(/tmp/multipartBody6319236387883087304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430955000,"filename":"image_25112025_18_45_49_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d49ef8acaeb8066400d633f5071020d.jpg","text":"TemporaryFile(/tmp/multipartBody1391495172676722400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430955000,"filename":"image_25112025_18_45_40_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8690d2827370a2ecc1c8d22e8f1947a9.jpg","text":"TemporaryFile(/tmp/multipartBody605095194010694535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430955000,"filename":"image_25112025_18_45_45_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e858ce7fe26cd8c0530f8ddb51f8f4cb.jpg","text":"TemporaryFile(/tmp/multipartBody3971783694452181399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430955000,"filename":"image_25112025_18_45_51_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcfabb5f74ad274d65817a35d796d013.jpg","text":"TemporaryFile(/tmp/multipartBody1502471606073688853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430955000,"filename":"image_25112025_18_45_36_2528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908680","file1":"1396908677","file0":"1396908672","file4":"1396908683","file5":"1396908684","file3":"1396908682"},"map_files_photo_id_array":[{"photo_id":"1396908684","filename":"file5"},{"photo_id":"1396908680","filename":"file2"},{"photo_id":"1396908683","filename":"file4"},{"photo_id":"1396908677","filename":"file1"},{"photo_id":"1396908672","filename":"file0"},{"photo_id":"1396908682","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908680":["hashtag1","hashtag2"]},{"1396908683":["hashtag1","hashtag2"]},{"1396908677":["hashtag1","hashtag2"]},{"1396908682":["hashtag1","hashtag2"]},{"1396908684":["hashtag1","hashtag2"]},{"1396908672":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908680, 1396908683, 1396908677, 1396908682, 1396908684, 1396908672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81057786941528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 16:42:11.775694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_55_3598.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_57_2706.jpg', '/home/pi/Desktop/images/25112025/18/45/image_25112025_18_46_00_2550.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_04_3629.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_06_2545.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_09_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_55_3598.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_45_57_2706.jpg
/home/pi/Desktop/images/25112025/18/45/image_25112025_18_46_00_2550.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_04_3629.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_06_2545.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_09_2722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908692","1396908686","1396908695","1396908689","1396908698","1396908685"],"photo_ids_order":["1396908685","1396908686","1396908689","1396908692","1396908695","1396908698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff12c9314809897a86d6008779df8f26.jpg","text":"TemporaryFile(/tmp/multipartBody2890940111109341703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430993821,"filename":"image_25112025_18_46_04_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e59560e7975f68ae67658fe484289084.jpg","text":"TemporaryFile(/tmp/multipartBody6664395652536862986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430993821,"filename":"image_25112025_18_45_57_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61cf931be3bb13c5abe96957b82c212c.jpg","text":"TemporaryFile(/tmp/multipartBody6654988718934598015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430993821,"filename":"image_25112025_18_46_06_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89adb0ff8408f3897890c7733c838291.jpg","text":"TemporaryFile(/tmp/multipartBody6283739398662609667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430993821,"filename":"image_25112025_18_46_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/11/29/3212c4376b25dba6948e278fedfc596e.jpg","text":"TemporaryFile(/tmp/multipartBody4873443657946735862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430993821,"filename":"image_25112025_18_46_09_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c70203dd544408c857dc8162647a1c53.jpg","text":"TemporaryFile(/tmp/multipartBody1851919430130889465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764430993821,"filename":"image_25112025_18_45_55_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908689","file1":"1396908686","file0":"1396908685","file4":"1396908695","file5":"1396908698","file3":"1396908692"},"map_files_photo_id_array":[{"photo_id":"1396908698","filename":"file5"},{"photo_id":"1396908689","filename":"file2"},{"photo_id":"1396908695","filename":"file4"},{"photo_id":"1396908686","filename":"file1"},{"photo_id":"1396908685","filename":"file0"},{"photo_id":"1396908692","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396908692":["hashtag1","hashtag2"]},{"1396908686":["hashtag1","hashtag2"]},{"1396908695":["hashtag1","hashtag2"]},{"1396908689":["hashtag1","hashtag2"]},{"1396908698":["hashtag1","hashtag2"]},{"1396908685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396908692, 1396908686, 1396908695, 1396908689, 1396908698, 1396908685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01257801055908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:43:02.727497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/34/image_29112025_16_34_55_9786.jpg', '/home/pi/Desktop/images/29112025/16/36/image_29112025_16_36_25_10715.jpg', '/home/pi/Desktop/images/29112025/16/36/image_29112025_16_37_05_9696.jpg', '/home/pi/Desktop/images/29112025/16/37/image_29112025_16_37_14_9679.jpg', '/home/pi/Desktop/images/29112025/16/37/image_29112025_16_37_35_8660.jpg', '/home/pi/Desktop/images/29112025/16/38/image_29112025_16_38_25_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/34/image_29112025_16_34_55_9786.jpg
/home/pi/Desktop/images/29112025/16/36/image_29112025_16_36_25_10715.jpg
/home/pi/Desktop/images/29112025/16/36/image_29112025_16_37_05_9696.jpg
/home/pi/Desktop/images/29112025/16/37/image_29112025_16_37_14_9679.jpg
/home/pi/Desktop/images/29112025/16/37/image_29112025_16_37_35_8660.jpg
/home/pi/Desktop/images/29112025/16/38/image_29112025_16_38_25_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908708","1396908710","1396908704","1396908713","1396908707","1396908706"],"photo_ids_order":["1396908704","1396908706","1396908707","1396908708","1396908710","1396908713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3aeef4f43c839b02e305297ae14541b.jpg","text":"TemporaryFile(/tmp/multipartBody4014035276860539743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431043481,"filename":"image_29112025_16_37_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/11/29/fca87b1c810cfbcbec7875013e1eece3.jpg","text":"TemporaryFile(/tmp/multipartBody4022655828881379759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431043481,"filename":"image_29112025_16_37_35_8660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af7afd72e1f6e2d516aa0cbe9e9c6a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7014290968232532216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431043481,"filename":"image_29112025_16_34_55_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65a3c20fa873ac668ca11e9e0f515448.jpg","text":"TemporaryFile(/tmp/multipartBody6747828379756211882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431043481,"filename":"image_29112025_16_38_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/11/29/2ffcb3f73c25937318c2538c3e00b6ef.jpg","text":"TemporaryFile(/tmp/multipartBody6364476822790558108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431043481,"filename":"image_29112025_16_37_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/11/29/93810e683911501cd8946f49a910104a.jpg","text":"TemporaryFile(/tmp/multipartBody3664676538611136779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431043481,"filename":"image_29112025_16_36_25_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908707","file1":"1396908706","file0":"1396908704","file4":"1396908710","file5":"1396908713","file3":"1396908708"},"map_files_photo_id_array":[{"photo_id":"1396908713","filename":"file5"},{"photo_id":"1396908707","filename":"file2"},{"photo_id":"1396908710","filename":"file4"},{"photo_id":"1396908706","filename":"file1"},{"photo_id":"1396908704","filename":"file0"},{"photo_id":"1396908708","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908708":["hashtag1","hashtag2"]},{"1396908710":["hashtag1","hashtag2"]},{"1396908704":["hashtag1","hashtag2"]},{"1396908713":["hashtag1","hashtag2"]},{"1396908707":["hashtag1","hashtag2"]},{"1396908706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908708, 1396908710, 1396908704, 1396908713, 1396908707, 1396908706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.442057609558105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:43:42.185967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_05_3751.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_08_2673.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_10_2568.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_14_3663.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_17_2831.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_19_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_05_3751.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_08_2673.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_10_2568.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_14_3663.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_17_2831.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_19_2729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908729","1396908723","1396908725","1396908728","1396908727","1396908726"],"photo_ids_order":["1396908723","1396908725","1396908726","1396908727","1396908728","1396908729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cd46c2c5b84b8e3d903a8495feb75ec.jpg","text":"TemporaryFile(/tmp/multipartBody4712658489720392520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431083319,"filename":"image_31102025_10_08_19_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b59d72d5a49878b10c5392a8cee40872.jpg","text":"TemporaryFile(/tmp/multipartBody5529057175245260271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431083319,"filename":"image_31102025_10_08_05_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e55e75c6c803808e07c430d6b05daa4.jpg","text":"TemporaryFile(/tmp/multipartBody8490128737518799764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431083319,"filename":"image_31102025_10_08_08_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81f035446c502f7c8191794bea07c304.jpg","text":"TemporaryFile(/tmp/multipartBody2952976901055288808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431083319,"filename":"image_31102025_10_08_17_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3da4a358b7325b1de50056a682e8a9b0.jpg","text":"TemporaryFile(/tmp/multipartBody2727077932145274216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431083319,"filename":"image_31102025_10_08_14_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7963486bb12081e62b5348629c99b8dc.jpg","text":"TemporaryFile(/tmp/multipartBody8741330892167369079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431083319,"filename":"image_31102025_10_08_10_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908726","file1":"1396908725","file0":"1396908723","file4":"1396908728","file5":"1396908729","file3":"1396908727"},"map_files_photo_id_array":[{"photo_id":"1396908729","filename":"file5"},{"photo_id":"1396908726","filename":"file2"},{"photo_id":"1396908728","filename":"file4"},{"photo_id":"1396908725","filename":"file1"},{"photo_id":"1396908723","filename":"file0"},{"photo_id":"1396908727","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908729":["hashtag1","hashtag2"]},{"1396908723":["hashtag1","hashtag2"]},{"1396908725":["hashtag1","hashtag2"]},{"1396908728":["hashtag1","hashtag2"]},{"1396908727":["hashtag1","hashtag2"]},{"1396908726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908729, 1396908723, 1396908725, 1396908728, 1396908727, 1396908726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36543107032776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:44:22.472406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/38/image_29112025_16_38_36_11644.jpg', '/home/pi/Desktop/images/29112025/16/38/image_29112025_16_38_51_14909.jpg', '/home/pi/Desktop/images/29112025/16/38/image_29112025_16_38_55_3752.jpg', '/home/pi/Desktop/images/29112025/16/41/image_29112025_16_41_14_10050.jpg', '/home/pi/Desktop/images/29112025/16/41/image_29112025_16_41_25_10740.jpg', '/home/pi/Desktop/images/29112025/16/41/image_29112025_16_41_35_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/38/image_29112025_16_38_36_11644.jpg
/home/pi/Desktop/images/29112025/16/38/image_29112025_16_38_51_14909.jpg
/home/pi/Desktop/images/29112025/16/38/image_29112025_16_38_55_3752.jpg
/home/pi/Desktop/images/29112025/16/41/image_29112025_16_41_14_10050.jpg
/home/pi/Desktop/images/29112025/16/41/image_29112025_16_41_25_10740.jpg
/home/pi/Desktop/images/29112025/16/41/image_29112025_16_41_35_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":["1396908741","1396908749","1396908743","1396908746","1396908734","1396908738"],"photo_ids_order":["1396908734","1396908738","1396908741","1396908743","1396908746","1396908749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29b197035db47e419c1df4d4ff1af45f.jpg","text":"TemporaryFile(/tmp/multipartBody6575249588002699065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431123180,"filename":"image_29112025_16_38_55_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8ecfe37e1bab3afe4637bc7ff449a1c.jpg","text":"TemporaryFile(/tmp/multipartBody1820466997288023935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431123180,"filename":"image_29112025_16_41_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/11/29/0f4ec7ff232ad028d2ab06dca9999cd8.jpg","text":"TemporaryFile(/tmp/multipartBody4391274284098374713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431123180,"filename":"image_29112025_16_41_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/11/29/3275a57806fcc3e4f0f6b8c7a25553ad.jpg","text":"TemporaryFile(/tmp/multipartBody6548780719929328081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431123180,"filename":"image_29112025_16_41_25_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58b2eea9639fc26df4e6347e5047cc69.jpg","text":"TemporaryFile(/tmp/multipartBody3059825044164208649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431123180,"filename":"image_29112025_16_38_36_11644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf2390a5a91d211df5804b0474be0fa1.jpg","text":"TemporaryFile(/tmp/multipartBody2270243290046237138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431123180,"filename":"image_29112025_16_38_51_14909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908741","file1":"1396908738","file0":"1396908734","file4":"1396908746","file5":"1396908749","file3":"1396908743"},"map_files_photo_id_array":[{"photo_id":"1396908749","filename":"file5"},{"photo_id":"1396908741","filename":"file2"},{"photo_id":"1396908746","filename":"file4"},{"photo_id":"1396908738","filename":"file1"},{"photo_id":"1396908734","filename":"file0"},{"photo_id":"1396908743","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908741":["hashtag1","hashtag2"]},{"1396908749":["hashtag1","hashtag2"]},{"1396908743":["hashtag1","hashtag2"]},{"1396908746":["hashtag1","hashtag2"]},{"1396908734":["hashtag1","hashtag2"]},{"1396908738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908741, 1396908749, 1396908743, 1396908746, 1396908734, 1396908738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22449588775635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:45:03.263326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/41/image_29112025_16_41_44_9641.jpg', '/home/pi/Desktop/images/29112025/16/41/image_29112025_16_41_55_10707.jpg', '/home/pi/Desktop/images/29112025/16/41/image_29112025_16_42_05_9670.jpg', '/home/pi/Desktop/images/29112025/16/42/image_29112025_16_42_14_9679.jpg', '/home/pi/Desktop/images/29112025/16/42/image_29112025_16_42_25_10668.jpg', '/home/pi/Desktop/images/29112025/16/42/image_29112025_16_42_35_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/41/image_29112025_16_41_44_9641.jpg
/home/pi/Desktop/images/29112025/16/41/image_29112025_16_41_55_10707.jpg
/home/pi/Desktop/images/29112025/16/41/image_29112025_16_42_05_9670.jpg
/home/pi/Desktop/images/29112025/16/42/image_29112025_16_42_14_9679.jpg
/home/pi/Desktop/images/29112025/16/42/image_29112025_16_42_25_10668.jpg
/home/pi/Desktop/images/29112025/16/42/image_29112025_16_42_35_9803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908761","1396908752","1396908778","1396908766","1396908751","1396908750"],"photo_ids_order":["1396908750","1396908751","1396908752","1396908761","1396908766","1396908778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81815ab1cbb6156289026f4853b04454.jpg","text":"TemporaryFile(/tmp/multipartBody5017076366129507990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431163993,"filename":"image_29112025_16_42_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/11/29/618b9a7effe8d4eb3062f81ac9470e54.jpg","text":"TemporaryFile(/tmp/multipartBody278914337735423615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431163993,"filename":"image_29112025_16_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/11/29/030e5a05a317be4d9a9c467db1ef6666.jpg","text":"TemporaryFile(/tmp/multipartBody7898624980227212972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431163993,"filename":"image_29112025_16_42_35_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cdc0ddc069f7137f3f822f3f62fffe0.jpg","text":"TemporaryFile(/tmp/multipartBody3146790874292653649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431163993,"filename":"image_29112025_16_42_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a689638d4bdbe016dee382757497e0d2.jpg","text":"TemporaryFile(/tmp/multipartBody3105610135468226073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431163993,"filename":"image_29112025_16_41_55_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9de18fce317d04bb742c87ae7944669.jpg","text":"TemporaryFile(/tmp/multipartBody75860074486274408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431163993,"filename":"image_29112025_16_41_44_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908752","file1":"1396908751","file0":"1396908750","file4":"1396908766","file5":"1396908778","file3":"1396908761"},"map_files_photo_id_array":[{"photo_id":"1396908778","filename":"file5"},{"photo_id":"1396908752","filename":"file2"},{"photo_id":"1396908766","filename":"file4"},{"photo_id":"1396908751","filename":"file1"},{"photo_id":"1396908750","filename":"file0"},{"photo_id":"1396908761","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908761":["hashtag1","hashtag2"]},{"1396908752":["hashtag1","hashtag2"]},{"1396908778":["hashtag1","hashtag2"]},{"1396908766":["hashtag1","hashtag2"]},{"1396908751":["hashtag1","hashtag2"]},{"1396908750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908761, 1396908752, 1396908778, 1396908766, 1396908751, 1396908750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76225161552429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:45:42.633699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_22_2617.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_26_3865.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_29_2673.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_31_2731.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_35_3540.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_37_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_22_2617.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_26_3865.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_29_2673.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_31_2731.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_35_3540.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_37_2530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908791","1396908794","1396908788","1396908793","1396908792","1396908795"],"photo_ids_order":["1396908788","1396908791","1396908792","1396908793","1396908794","1396908795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b3f8079805dbdb2d500fc2bd084d99d.jpg","text":"TemporaryFile(/tmp/multipartBody9028978832008382572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431203668,"filename":"image_31102025_10_08_26_3865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1cf8e3fd2413a424c7815dcff67cb88.jpg","text":"TemporaryFile(/tmp/multipartBody457271192493741894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431203668,"filename":"image_31102025_10_08_35_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/434a23088f825273d3150ee6be48a42c.jpg","text":"TemporaryFile(/tmp/multipartBody4294058782122967579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431203668,"filename":"image_31102025_10_08_22_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4407338a48e73c4f3481308f3de1781e.jpg","text":"TemporaryFile(/tmp/multipartBody9175149754844200463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431203668,"filename":"image_31102025_10_08_31_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/216aabdd9d0d7dee6919866420b81d06.jpg","text":"TemporaryFile(/tmp/multipartBody336198698318779028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431203668,"filename":"image_31102025_10_08_29_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fba7e6e787307bad9a22f03efe10307d.jpg","text":"TemporaryFile(/tmp/multipartBody8727303462609435813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431203668,"filename":"image_31102025_10_08_37_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908792","file1":"1396908791","file0":"1396908788","file4":"1396908794","file5":"1396908795","file3":"1396908793"},"map_files_photo_id_array":[{"photo_id":"1396908795","filename":"file5"},{"photo_id":"1396908792","filename":"file2"},{"photo_id":"1396908794","filename":"file4"},{"photo_id":"1396908791","filename":"file1"},{"photo_id":"1396908788","filename":"file0"},{"photo_id":"1396908793","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908791":["hashtag1","hashtag2"]},{"1396908794":["hashtag1","hashtag2"]},{"1396908788":["hashtag1","hashtag2"]},{"1396908793":["hashtag1","hashtag2"]},{"1396908792":["hashtag1","hashtag2"]},{"1396908795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908791, 1396908794, 1396908788, 1396908793, 1396908792, 1396908795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71875071525574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:46:21.879746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/42/image_29112025_16_42_54_9747.jpg', '/home/pi/Desktop/images/29112025/16/42/image_29112025_16_43_05_10676.jpg', '/home/pi/Desktop/images/29112025/16/43/image_29112025_16_43_25_10612.jpg', '/home/pi/Desktop/images/29112025/16/43/image_29112025_16_43_44_9689.jpg', '/home/pi/Desktop/images/29112025/16/43/image_29112025_16_43_54_9918.jpg', '/home/pi/Desktop/images/29112025/16/43/image_29112025_16_44_04_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/42/image_29112025_16_42_54_9747.jpg
/home/pi/Desktop/images/29112025/16/42/image_29112025_16_43_05_10676.jpg
/home/pi/Desktop/images/29112025/16/43/image_29112025_16_43_25_10612.jpg
/home/pi/Desktop/images/29112025/16/43/image_29112025_16_43_44_9689.jpg
/home/pi/Desktop/images/29112025/16/43/image_29112025_16_43_54_9918.jpg
/home/pi/Desktop/images/29112025/16/43/image_29112025_16_44_04_9843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908807","1396908801","1396908804","1396908812","1396908809","1396908798"],"photo_ids_order":["1396908798","1396908801","1396908804","1396908807","1396908809","1396908812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e11362fae00820ff2ca774ab4b19d10.jpg","text":"TemporaryFile(/tmp/multipartBody8092939452519442133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431242595,"filename":"image_29112025_16_43_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0007924733be0d28646896f9f1a6e621.jpg","text":"TemporaryFile(/tmp/multipartBody204959845972209230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431242595,"filename":"image_29112025_16_43_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b65dbce53fdc548b0977dbc744bcd067.jpg","text":"TemporaryFile(/tmp/multipartBody6727750334768923001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431242595,"filename":"image_29112025_16_43_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/11/29/75c775c64b46bf158cedac4e71ae58ac.jpg","text":"TemporaryFile(/tmp/multipartBody3347575990186239288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431242595,"filename":"image_29112025_16_44_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/11/29/8468c3fc5a9fce74f93abe4fe2f54a10.jpg","text":"TemporaryFile(/tmp/multipartBody410670298798536994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431242595,"filename":"image_29112025_16_43_54_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e55a41993b9589a5a1e9bbe97fe0bf46.jpg","text":"TemporaryFile(/tmp/multipartBody8653483645944668084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431242595,"filename":"image_29112025_16_42_54_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908804","file1":"1396908801","file0":"1396908798","file4":"1396908809","file5":"1396908812","file3":"1396908807"},"map_files_photo_id_array":[{"photo_id":"1396908812","filename":"file5"},{"photo_id":"1396908804","filename":"file2"},{"photo_id":"1396908809","filename":"file4"},{"photo_id":"1396908801","filename":"file1"},{"photo_id":"1396908798","filename":"file0"},{"photo_id":"1396908807","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908807":["hashtag1","hashtag2"]},{"1396908801":["hashtag1","hashtag2"]},{"1396908804":["hashtag1","hashtag2"]},{"1396908812":["hashtag1","hashtag2"]},{"1396908809":["hashtag1","hashtag2"]},{"1396908798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908807, 1396908801, 1396908804, 1396908812, 1396908809, 1396908798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.321094274520874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:47:02.866245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/44/image_29112025_16_44_15_10654.jpg', '/home/pi/Desktop/images/29112025/16/44/image_29112025_16_44_54_9516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/44/image_29112025_16_44_15_10654.jpg
/home/pi/Desktop/images/29112025/16/44/image_29112025_16_44_54_9516.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908815","1396908814"],"photo_ids_order":["1396908814","1396908815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/610ec5068461f26b85eecc77f6e7da45.jpg","text":"TemporaryFile(/tmp/multipartBody386698706029607414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431283439,"filename":"image_29112025_16_44_54_9516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5e6de8899118471589feef9544fc97c.jpg","text":"TemporaryFile(/tmp/multipartBody1285456153855346182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431283439,"filename":"image_29112025_16_44_15_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396908815","file0":"1396908814"},"map_files_photo_id_array":[{"photo_id":"1396908815","filename":"file1"},{"photo_id":"1396908814","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396908815":["hashtag1","hashtag2"]},{"1396908814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396908815, 1396908814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.881365537643433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:47:22.362487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/46/image_29112025_16_46_54_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/46/image_29112025_16_46_54_9682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908818"],"photo_id":"1396908818","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fac5167f6840d77d0494befced3598d6.jpg","text":"TemporaryFile(/tmp/multipartBody6742077736571075087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431302870,"filename":"image_29112025_16_46_54_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396908818"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396908818"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.928457021713257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:47:42.203864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_40_2766.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_44_3649.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_47_2745.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_49_2673.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_52_2863.jpg', '/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_56_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_40_2766.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_44_3649.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_47_2745.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_49_2673.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_52_2863.jpg
/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_56_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908834","1396908836","1396908833","1396908832","1396908835","1396908829"],"photo_ids_order":["1396908829","1396908832","1396908833","1396908834","1396908835","1396908836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b79dcac3c061494f438e92df59c7523.jpg","text":"TemporaryFile(/tmp/multipartBody551066576818533482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431323299,"filename":"image_31102025_10_08_49_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ce9dc1d59c5588c83b6a31fee3deb77.jpg","text":"TemporaryFile(/tmp/multipartBody1971278315643323511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431323299,"filename":"image_31102025_10_08_56_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4650c20975af4c20a7d13cb316ed3730.jpg","text":"TemporaryFile(/tmp/multipartBody3829792135834273681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431323299,"filename":"image_31102025_10_08_47_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/024729ccac67115863c650a1014a7dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7277104354621290057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431323299,"filename":"image_31102025_10_08_44_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/674703893278314311b0ce2beb780c80.jpg","text":"TemporaryFile(/tmp/multipartBody8586244111099255012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431323299,"filename":"image_31102025_10_08_52_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3e8b8ed3dc34dd55e1f522261a9b85d.jpg","text":"TemporaryFile(/tmp/multipartBody4230446829596545892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431323299,"filename":"image_31102025_10_08_40_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908833","file1":"1396908832","file0":"1396908829","file4":"1396908835","file5":"1396908836","file3":"1396908834"},"map_files_photo_id_array":[{"photo_id":"1396908836","filename":"file5"},{"photo_id":"1396908833","filename":"file2"},{"photo_id":"1396908835","filename":"file4"},{"photo_id":"1396908832","filename":"file1"},{"photo_id":"1396908829","filename":"file0"},{"photo_id":"1396908834","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908834":["hashtag1","hashtag2"]},{"1396908836":["hashtag1","hashtag2"]},{"1396908833":["hashtag1","hashtag2"]},{"1396908832":["hashtag1","hashtag2"]},{"1396908835":["hashtag1","hashtag2"]},{"1396908829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908834, 1396908836, 1396908833, 1396908832, 1396908835, 1396908829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.742788553237915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:48:22.443520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/46/image_29112025_16_47_05_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/46/image_29112025_16_47_05_10730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908839"],"photo_id":"1396908839","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5e6781d6fd9b2f25cf7f7bdf99a0a65.jpg","text":"TemporaryFile(/tmp/multipartBody1119989731295114174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431362957,"filename":"image_29112025_16_47_05_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396908839"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396908839"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.348025560379028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:48:42.410723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/08/image_31102025_10_08_59_2856.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_01_2956.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_04_2685.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_08_3665.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_10_2623.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_13_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/10/08/image_31102025_10_08_59_2856.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_01_2956.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_04_2685.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_08_3665.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_10_2623.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_13_2598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908849","1396908851","1396908850","1396908853","1396908847","1396908852"],"photo_ids_order":["1396908847","1396908849","1396908850","1396908851","1396908852","1396908853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e21fee899f819e8b2ab03b243eca3188.jpg","text":"TemporaryFile(/tmp/multipartBody8007520047867704403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431383563,"filename":"image_31102025_10_09_01_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68a8153490b30e59841c1f857196445d.jpg","text":"TemporaryFile(/tmp/multipartBody6018871610489648277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431383563,"filename":"image_31102025_10_09_08_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b833534547b71e665f1a165a4ab818a.jpg","text":"TemporaryFile(/tmp/multipartBody2451285472390404606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431383563,"filename":"image_31102025_10_09_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/11/29/acb98c6f3d7c1c6250e755a66538496f.jpg","text":"TemporaryFile(/tmp/multipartBody2430740163929581700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431383563,"filename":"image_31102025_10_09_13_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a920ac90f6ea0efda4f5bab5205f8bb.jpg","text":"TemporaryFile(/tmp/multipartBody2553479823933662540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431383563,"filename":"image_31102025_10_08_59_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/862060eda8893dc961dc89ef507849eb.jpg","text":"TemporaryFile(/tmp/multipartBody7630248482444223038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431383563,"filename":"image_31102025_10_09_10_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908850","file1":"1396908849","file0":"1396908847","file4":"1396908852","file5":"1396908853","file3":"1396908851"},"map_files_photo_id_array":[{"photo_id":"1396908853","filename":"file5"},{"photo_id":"1396908850","filename":"file2"},{"photo_id":"1396908852","filename":"file4"},{"photo_id":"1396908849","filename":"file1"},{"photo_id":"1396908847","filename":"file0"},{"photo_id":"1396908851","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908849":["hashtag1","hashtag2"]},{"1396908851":["hashtag1","hashtag2"]},{"1396908850":["hashtag1","hashtag2"]},{"1396908853":["hashtag1","hashtag2"]},{"1396908847":["hashtag1","hashtag2"]},{"1396908852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908849, 1396908851, 1396908850, 1396908853, 1396908847, 1396908852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37467074394226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:49:22.598788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/48/image_29112025_16_48_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/48/image_29112025_16_48_54_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908855"],"photo_id":"1396908855","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7aa71ee90817ea62d267f4f602602cd7.jpg","text":"TemporaryFile(/tmp/multipartBody5463661564504279462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431423114,"filename":"image_29112025_16_48_54_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396908855"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396908855"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.051352977752686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:49:42.571262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_17_3700.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_19_2701.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_22_2693.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_26_3731.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_28_2608.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_31_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/10/09/image_31102025_10_09_17_3700.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_19_2701.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_22_2693.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_26_3731.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_28_2608.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_31_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":["1396908915","1396908917","1396908911","1396908914","1396908913","1396908916"],"photo_ids_order":["1396908911","1396908913","1396908914","1396908915","1396908916","1396908917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a97b244e55e1a857fef93f961154c7cc.jpg","text":"TemporaryFile(/tmp/multipartBody1744222202794113250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431443673,"filename":"image_31102025_10_09_26_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5fff665f0a56bd760d83706be94152b.jpg","text":"TemporaryFile(/tmp/multipartBody1555760320826122232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431443673,"filename":"image_31102025_10_09_31_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dbed80468a6b6c9e11f13f08a65b18a1.jpg","text":"TemporaryFile(/tmp/multipartBody7652599473212132660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431443673,"filename":"image_31102025_10_09_17_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5afa7ea6fe3d43e0eac89c8baa5d213.jpg","text":"TemporaryFile(/tmp/multipartBody8307448678907725813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431443673,"filename":"image_31102025_10_09_22_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54978020f6b509614915cdeaf52dad43.jpg","text":"TemporaryFile(/tmp/multipartBody7305721447475197772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431443673,"filename":"image_31102025_10_09_19_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2c4281b485637f460c19bd8140682c4.jpg","text":"TemporaryFile(/tmp/multipartBody4805031677088799315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431443673,"filename":"image_31102025_10_09_28_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908914","file1":"1396908913","file0":"1396908911","file4":"1396908916","file5":"1396908917","file3":"1396908915"},"map_files_photo_id_array":[{"photo_id":"1396908917","filename":"file5"},{"photo_id":"1396908914","filename":"file2"},{"photo_id":"1396908916","filename":"file4"},{"photo_id":"1396908913","filename":"file1"},{"photo_id":"1396908911","filename":"file0"},{"photo_id":"1396908915","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908915":["hashtag1","hashtag2"]},{"1396908917":["hashtag1","hashtag2"]},{"1396908911":["hashtag1","hashtag2"]},{"1396908914":["hashtag1","hashtag2"]},{"1396908913":["hashtag1","hashtag2"]},{"1396908916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908915, 1396908917, 1396908911, 1396908914, 1396908913, 1396908916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19060826301575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:50:22.838451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/49/image_29112025_16_49_15_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/49/image_29112025_16_49_15_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908920"],"photo_id":"1396908920","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c47449115dbcc916634f7eff1fdac0c5.jpg","text":"TemporaryFile(/tmp/multipartBody8109869287964121205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431483364,"filename":"image_29112025_16_49_15_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396908920"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396908920"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.173439741134644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:50:42.781628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_34_2837.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_38_3701.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_41_2842.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_43_2581.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_47_3604.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_49_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_34_2837.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_38_3701.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_41_2842.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_43_2581.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_47_3604.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_49_2737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396908933","1396908935","1396908931","1396908940","1396908937","1396908939"],"photo_ids_order":["1396908931","1396908933","1396908935","1396908937","1396908939","1396908940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1891633506304addb775db6263645be9.jpg","text":"TemporaryFile(/tmp/multipartBody2963309444873414523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431503913,"filename":"image_31102025_10_09_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/11/29/0427e62a9ad781a112bb296113fafb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1287543761824950835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431503913,"filename":"image_31102025_10_09_41_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34d1535a52f6c0a69a7d1f60b3ffdff5.jpg","text":"TemporaryFile(/tmp/multipartBody8279842031422092493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431503913,"filename":"image_31102025_10_09_34_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c92c4596526e71d10177113776df8510.jpg","text":"TemporaryFile(/tmp/multipartBody6645529406549464513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431503913,"filename":"image_31102025_10_09_49_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c0a07ac8d94b14f47ed6da40dd6272a.jpg","text":"TemporaryFile(/tmp/multipartBody1724223215422720057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431503913,"filename":"image_31102025_10_09_43_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/873e97991938508dc8a6492f333f8e10.jpg","text":"TemporaryFile(/tmp/multipartBody7763113054250022284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431503913,"filename":"image_31102025_10_09_47_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396908935","file1":"1396908933","file0":"1396908931","file4":"1396908939","file5":"1396908940","file3":"1396908937"},"map_files_photo_id_array":[{"photo_id":"1396908940","filename":"file5"},{"photo_id":"1396908935","filename":"file2"},{"photo_id":"1396908939","filename":"file4"},{"photo_id":"1396908933","filename":"file1"},{"photo_id":"1396908931","filename":"file0"},{"photo_id":"1396908937","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396908933":["hashtag1","hashtag2"]},{"1396908935":["hashtag1","hashtag2"]},{"1396908931":["hashtag1","hashtag2"]},{"1396908940":["hashtag1","hashtag2"]},{"1396908937":["hashtag1","hashtag2"]},{"1396908939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396908933, 1396908935, 1396908931, 1396908940, 1396908937, 1396908939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0529580116272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:51:22.013186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/50/image_29112025_16_50_54_9903.jpg', '/home/pi/Desktop/images/29112025/16/50/image_29112025_16_51_05_10637.jpg', '/home/pi/Desktop/images/29112025/16/51/image_29112025_16_51_15_9681.jpg', '/home/pi/Desktop/images/29112025/16/51/image_29112025_16_51_45_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/50/image_29112025_16_50_54_9903.jpg
/home/pi/Desktop/images/29112025/16/50/image_29112025_16_51_05_10637.jpg
/home/pi/Desktop/images/29112025/16/51/image_29112025_16_51_15_9681.jpg
/home/pi/Desktop/images/29112025/16/51/image_29112025_16_51_45_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909040","1396908988","1396909027","1396908972"],"photo_ids_order":["1396908972","1396908988","1396909027","1396909040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b5e9837681d5d4e156712d15a8237ad.jpg","text":"TemporaryFile(/tmp/multipartBody8421122896247018452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431542639,"filename":"image_29112025_16_51_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/11/29/d9c360b2c4e48b0231fe0917e4269cb6.jpg","text":"TemporaryFile(/tmp/multipartBody3872743164255080923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431542639,"filename":"image_29112025_16_51_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d9f4c02ec1c9c546ccc8caabd37976a.jpg","text":"TemporaryFile(/tmp/multipartBody2492977938772130544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431542639,"filename":"image_29112025_16_51_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/11/29/8149ae9dd32f0f45c7cfdcab0c7b101d.jpg","text":"TemporaryFile(/tmp/multipartBody3233882505957503653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431542639,"filename":"image_29112025_16_50_54_9903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909027","file1":"1396908988","file0":"1396908972","file3":"1396909040"},"map_files_photo_id_array":[{"photo_id":"1396909027","filename":"file2"},{"photo_id":"1396908988","filename":"file1"},{"photo_id":"1396908972","filename":"file0"},{"photo_id":"1396909040","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396909040":["hashtag1","hashtag2"]},{"1396908988":["hashtag1","hashtag2"]},{"1396909027":["hashtag1","hashtag2"]},{"1396908972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396909040, 1396908988, 1396909027, 1396908972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.475555896759033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:52:02.685442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_13_3764.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_15_2619.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_18_2744.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_22_3629.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_24_2657.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_27_2845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_13_3764.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_15_2619.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_18_2744.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_22_3629.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_24_2657.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_27_2845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909052","1396909061","1396909055","1396909057","1396909054","1396909053"],"photo_ids_order":["1396909052","1396909053","1396909054","1396909055","1396909057","1396909061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9bd3e79dc234787ce827af0890f4d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2077415517782867665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431584246,"filename":"image_25112025_18_46_13_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a46779c09ee5aaec4536bb3b6aab4e7.jpg","text":"TemporaryFile(/tmp/multipartBody6229110226875305154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431584246,"filename":"image_25112025_18_46_27_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a7444c73b25fa5e6c5e33376976a892.jpg","text":"TemporaryFile(/tmp/multipartBody5658338401020453437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431584246,"filename":"image_25112025_18_46_22_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d73cc645dd4cd916cd43575777611110.jpg","text":"TemporaryFile(/tmp/multipartBody2933928998169301369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431584246,"filename":"image_25112025_18_46_24_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c9ed2c93d3c59c1fad0882ed584972c.jpg","text":"TemporaryFile(/tmp/multipartBody168561672134850993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431584246,"filename":"image_25112025_18_46_18_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6d01a8d979d549d0e46a2d508374e87.jpg","text":"TemporaryFile(/tmp/multipartBody8973408298685253436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431584246,"filename":"image_25112025_18_46_15_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909054","file1":"1396909053","file0":"1396909052","file4":"1396909057","file5":"1396909061","file3":"1396909055"},"map_files_photo_id_array":[{"photo_id":"1396909061","filename":"file5"},{"photo_id":"1396909054","filename":"file2"},{"photo_id":"1396909057","filename":"file4"},{"photo_id":"1396909053","filename":"file1"},{"photo_id":"1396909052","filename":"file0"},{"photo_id":"1396909055","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396909052":["hashtag1","hashtag2"]},{"1396909061":["hashtag1","hashtag2"]},{"1396909055":["hashtag1","hashtag2"]},{"1396909057":["hashtag1","hashtag2"]},{"1396909054":["hashtag1","hashtag2"]},{"1396909053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396909052, 1396909061, 1396909055, 1396909057, 1396909054, 1396909053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6643431186676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:52:42.191691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_52_2649.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_56_3722.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_59_2686.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_08_3013.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_12_3821.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_15_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/10/09/image_31102025_10_09_52_2649.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_56_3722.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_59_2686.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_08_3013.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_12_3821.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_15_2838.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0165951251983643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:53:03.030334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/51/image_29112025_16_51_55_9646.jpg', '/home/pi/Desktop/images/29112025/16/51/image_29112025_16_52_05_10510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/51/image_29112025_16_51_55_9646.jpg
/home/pi/Desktop/images/29112025/16/51/image_29112025_16_52_05_10510.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909075","1396909074"],"photo_ids_order":["1396909074","1396909075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be4a4ef70e9f516d2efb16014ad7743f.jpg","text":"TemporaryFile(/tmp/multipartBody5070428942451247692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431643666,"filename":"image_29112025_16_52_05_10510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d2650d815d552bb3efa3070fa2bcf4a.jpg","text":"TemporaryFile(/tmp/multipartBody7072593709603284767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431643666,"filename":"image_29112025_16_51_55_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396909075","file0":"1396909074"},"map_files_photo_id_array":[{"photo_id":"1396909075","filename":"file1"},{"photo_id":"1396909074","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396909075":["hashtag1","hashtag2"]},{"1396909074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396909075, 1396909074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.52009415626526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:53:22.370851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/52/image_29112025_16_52_15_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/52/image_29112025_16_52_15_9674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909078"],"photo_id":"1396909078","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39d336a92d0bf243f099c783660e9852.jpg","text":"TemporaryFile(/tmp/multipartBody9033968974711370312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431662885,"filename":"image_29112025_16_52_15_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396909078"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396909078"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 15.450690746307373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:53:42.412301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_52_2649.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_56_3722.jpg', '/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_59_2686.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_08_3013.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_12_3821.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_15_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/10/09/image_31102025_10_09_52_2649.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_56_3722.jpg
/home/pi/Desktop/images/31102025/10/09/image_31102025_10_09_59_2686.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_08_3013.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_12_3821.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_15_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":["1396909091","1396909088","1396909093","1396909090","1396909092","1396909094"],"photo_ids_order":["1396909088","1396909090","1396909091","1396909092","1396909093","1396909094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd5e71d51903b8ca46cf314246b4e3a4.jpg","text":"TemporaryFile(/tmp/multipartBody1305733463071763016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431683432,"filename":"image_31102025_10_09_59_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/629cf42123331269619097512318b6c1.jpg","text":"TemporaryFile(/tmp/multipartBody5639883313537205275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431683432,"filename":"image_31102025_10_09_52_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc8264450fc658cabd86fbbb8e60fa3a.jpg","text":"TemporaryFile(/tmp/multipartBody8092366940031136301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431683432,"filename":"image_31102025_10_10_12_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8829ed5c734bb136582030a93ca7f9c2.jpg","text":"TemporaryFile(/tmp/multipartBody6643919024218858816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431683432,"filename":"image_31102025_10_09_56_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27d70dce6da63c844efb681ccc38346a.jpg","text":"TemporaryFile(/tmp/multipartBody8402961453552113351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431683432,"filename":"image_31102025_10_10_08_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31825d49a32fa169863e07f5d1792ea5.jpg","text":"TemporaryFile(/tmp/multipartBody3430371776410576270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431683432,"filename":"image_31102025_10_10_15_2838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909091","file1":"1396909090","file0":"1396909088","file4":"1396909093","file5":"1396909094","file3":"1396909092"},"map_files_photo_id_array":[{"photo_id":"1396909094","filename":"file5"},{"photo_id":"1396909091","filename":"file2"},{"photo_id":"1396909093","filename":"file4"},{"photo_id":"1396909090","filename":"file1"},{"photo_id":"1396909088","filename":"file0"},{"photo_id":"1396909092","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396909091":["hashtag1","hashtag2"]},{"1396909088":["hashtag1","hashtag2"]},{"1396909093":["hashtag1","hashtag2"]},{"1396909090":["hashtag1","hashtag2"]},{"1396909092":["hashtag1","hashtag2"]},{"1396909094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396909091, 1396909088, 1396909093, 1396909090, 1396909092, 1396909094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.651519775390625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:54:22.610778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/53/image_29112025_16_53_44_9613.jpg', '/home/pi/Desktop/images/29112025/16/53/image_29112025_16_54_05_10066.jpg', '/home/pi/Desktop/images/29112025/16/54/image_29112025_16_54_24_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/53/image_29112025_16_53_44_9613.jpg
/home/pi/Desktop/images/29112025/16/53/image_29112025_16_54_05_10066.jpg
/home/pi/Desktop/images/29112025/16/54/image_29112025_16_54_24_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":["1396909101","1396909098","1396909104"],"photo_ids_order":["1396909098","1396909101","1396909104"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b235a50de8ba2b9afbcd78a4ab29e9c1.jpg","text":"TemporaryFile(/tmp/multipartBody6450421598660216612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431723179,"filename":"image_29112025_16_54_05_10066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09865a87599416cefe7c5fd750c035a4.jpg","text":"TemporaryFile(/tmp/multipartBody553617998961685465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431723179,"filename":"image_29112025_16_53_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/11/29/95af7c7589bd809e353f6ed86a5d844c.jpg","text":"TemporaryFile(/tmp/multipartBody5089327406871719108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431723179,"filename":"image_29112025_16_54_24_9547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909104","file1":"1396909101","file0":"1396909098"},"map_files_photo_id_array":[{"photo_id":"1396909104","filename":"file2"},{"photo_id":"1396909101","filename":"file1"},{"photo_id":"1396909098","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396909101":["hashtag1","hashtag2"]},{"1396909098":["hashtag1","hashtag2"]},{"1396909104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396909101, 1396909098, 1396909104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.20520520210266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:55:03.333542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_30_2553.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_33_3726.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_36_2612.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_40_3596.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_42_2673.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_45_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_30_2553.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_33_3726.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_36_2612.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_40_3596.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_42_2673.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_45_2606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909121","1396909118","1396909112","1396909111","1396909114","1396909113"],"photo_ids_order":["1396909111","1396909112","1396909113","1396909114","1396909118","1396909121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5036b8adfffeaa8636990e447c41cdf.jpg","text":"TemporaryFile(/tmp/multipartBody8430955443545862828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431764977,"filename":"image_25112025_18_46_45_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3dc1f5280f8e0caa1be06595c9e744f9.jpg","text":"TemporaryFile(/tmp/multipartBody1176015820317075890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431764977,"filename":"image_25112025_18_46_42_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f2ab0a09b050344935eed9ed97977db.jpg","text":"TemporaryFile(/tmp/multipartBody9104014930902303006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431764977,"filename":"image_25112025_18_46_33_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4721b3a8806e8e228b8109eeea512f90.jpg","text":"TemporaryFile(/tmp/multipartBody2550518747166864251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431764977,"filename":"image_25112025_18_46_30_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39f04d034b781fc9acdf5db33d198662.jpg","text":"TemporaryFile(/tmp/multipartBody160344787457737856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431764977,"filename":"image_25112025_18_46_40_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/584e5101bb4bac0e0306efd9ad1dc3ed.jpg","text":"TemporaryFile(/tmp/multipartBody477300782993482624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431764977,"filename":"image_25112025_18_46_36_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909113","file1":"1396909112","file0":"1396909111","file4":"1396909118","file5":"1396909121","file3":"1396909114"},"map_files_photo_id_array":[{"photo_id":"1396909121","filename":"file5"},{"photo_id":"1396909113","filename":"file2"},{"photo_id":"1396909118","filename":"file4"},{"photo_id":"1396909112","filename":"file1"},{"photo_id":"1396909111","filename":"file0"},{"photo_id":"1396909114","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396909121":["hashtag1","hashtag2"]},{"1396909118":["hashtag1","hashtag2"]},{"1396909112":["hashtag1","hashtag2"]},{"1396909111":["hashtag1","hashtag2"]},{"1396909114":["hashtag1","hashtag2"]},{"1396909113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396909121, 1396909118, 1396909112, 1396909111, 1396909114, 1396909113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9669713973999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:55:42.745031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_17_2541.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_20_2782.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_24_3740.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_26_2605.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_29_2701.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_33_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_17_2541.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_20_2782.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_24_3740.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_26_2605.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_29_2701.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_33_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909133","1396909136","1396909132","1396909135","1396909129","1396909134"],"photo_ids_order":["1396909129","1396909132","1396909133","1396909134","1396909135","1396909136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82db57d05c9033778c4e7076385a7fb0.jpg","text":"TemporaryFile(/tmp/multipartBody752138043066719105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431803919,"filename":"image_31102025_10_10_24_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7df1ffb592052fa0116457197cb3023f.jpg","text":"TemporaryFile(/tmp/multipartBody5748403109526405128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431803919,"filename":"image_31102025_10_10_33_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a643333706a5486c1797b6d97e6f636.jpg","text":"TemporaryFile(/tmp/multipartBody7464571549994508008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431803919,"filename":"image_31102025_10_10_20_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78c71fc3647b61ff2119469a4cdc1b0f.jpg","text":"TemporaryFile(/tmp/multipartBody4739282401668721907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431803919,"filename":"image_31102025_10_10_29_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fb93b8d6b337fd3cbb65560e611f58a.jpg","text":"TemporaryFile(/tmp/multipartBody3451596114519393720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431803919,"filename":"image_31102025_10_10_17_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3211617a95856288320d7d5b472de156.jpg","text":"TemporaryFile(/tmp/multipartBody9217082155959610626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431803919,"filename":"image_31102025_10_10_26_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909133","file1":"1396909132","file0":"1396909129","file4":"1396909135","file5":"1396909136","file3":"1396909134"},"map_files_photo_id_array":[{"photo_id":"1396909136","filename":"file5"},{"photo_id":"1396909133","filename":"file2"},{"photo_id":"1396909135","filename":"file4"},{"photo_id":"1396909132","filename":"file1"},{"photo_id":"1396909129","filename":"file0"},{"photo_id":"1396909134","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396909133":["hashtag1","hashtag2"]},{"1396909136":["hashtag1","hashtag2"]},{"1396909132":["hashtag1","hashtag2"]},{"1396909135":["hashtag1","hashtag2"]},{"1396909129":["hashtag1","hashtag2"]},{"1396909134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396909133, 1396909136, 1396909132, 1396909135, 1396909129, 1396909134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67387247085571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:56:21.933670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/54/image_29112025_16_54_45_9692.jpg', '/home/pi/Desktop/images/29112025/16/56/image_29112025_16_56_25_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/54/image_29112025_16_54_45_9692.jpg
/home/pi/Desktop/images/29112025/16/56/image_29112025_16_56_25_10614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909142","1396909138"],"photo_ids_order":["1396909138","1396909142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e287e209ba5aa9f86ce817c1dbd3076c.jpg","text":"TemporaryFile(/tmp/multipartBody19735956097821842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431842477,"filename":"image_29112025_16_56_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/11/29/1611a1d0f66c89d7c3d3fd9ec95544a0.jpg","text":"TemporaryFile(/tmp/multipartBody7427826017789919200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431842477,"filename":"image_29112025_16_54_45_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396909142","file0":"1396909138"},"map_files_photo_id_array":[{"photo_id":"1396909142","filename":"file1"},{"photo_id":"1396909138","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396909142":["hashtag1","hashtag2"]},{"1396909138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396909142, 1396909138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.687236785888672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:56:41.898741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_35_2558.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_38_2780.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_42_3871.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_45_2750.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_47_2646.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_51_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_35_2558.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_38_2780.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_42_3871.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_45_2750.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_47_2646.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_51_3577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909157","1396909151","1396909154","1396909156","1396909153","1396909155"],"photo_ids_order":["1396909151","1396909153","1396909154","1396909155","1396909156","1396909157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ae0b2d2eacf783964f3a87b2adb3ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1403883263947362682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431863013,"filename":"image_31102025_10_10_51_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d6eebe11c89b4aee07d35ce2bc289f9a.jpg","text":"TemporaryFile(/tmp/multipartBody4909785485795457141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431863013,"filename":"image_31102025_10_10_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/11/29/42409d9557b792225a9a6a5bbf70c42b.jpg","text":"TemporaryFile(/tmp/multipartBody3954857011963634517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431863013,"filename":"image_31102025_10_10_42_3871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac62b6f5270d80b4eca910452f2c9972.jpg","text":"TemporaryFile(/tmp/multipartBody237794530744772028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431863013,"filename":"image_31102025_10_10_47_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7172ceb89350a93c04d694715c49175.jpg","text":"TemporaryFile(/tmp/multipartBody5089275991776134087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431863013,"filename":"image_31102025_10_10_38_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2c108b6eca50afe1d162746f497e031.jpg","text":"TemporaryFile(/tmp/multipartBody2010172395374425675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431863013,"filename":"image_31102025_10_10_45_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909154","file1":"1396909153","file0":"1396909151","file4":"1396909156","file5":"1396909157","file3":"1396909155"},"map_files_photo_id_array":[{"photo_id":"1396909157","filename":"file5"},{"photo_id":"1396909154","filename":"file2"},{"photo_id":"1396909156","filename":"file4"},{"photo_id":"1396909153","filename":"file1"},{"photo_id":"1396909151","filename":"file0"},{"photo_id":"1396909155","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396909157":["hashtag1","hashtag2"]},{"1396909151":["hashtag1","hashtag2"]},{"1396909154":["hashtag1","hashtag2"]},{"1396909156":["hashtag1","hashtag2"]},{"1396909153":["hashtag1","hashtag2"]},{"1396909155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396909157, 1396909151, 1396909154, 1396909156, 1396909153, 1396909155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07893776893616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 16:57:22.105170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/56/image_29112025_16_56_54_9727.jpg', '/home/pi/Desktop/images/29112025/16/56/image_29112025_16_57_05_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/56/image_29112025_16_56_54_9727.jpg
/home/pi/Desktop/images/29112025/16/56/image_29112025_16_57_05_10747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909162","1396909159"],"photo_ids_order":["1396909159","1396909162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f026dda93e4e368adc124e95c6380c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2004003912776354783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431902646,"filename":"image_29112025_16_57_05_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c164ac39521e69aef62c783f476aaaa5.jpg","text":"TemporaryFile(/tmp/multipartBody7074379716953499545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431902646,"filename":"image_29112025_16_56_54_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396909162","file0":"1396909159"},"map_files_photo_id_array":[{"photo_id":"1396909162","filename":"file1"},{"photo_id":"1396909159","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396909162":["hashtag1","hashtag2"]},{"1396909159":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396909162, 1396909159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.837621212005615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 16:57:42.116156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_53_2729.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_56_2734.jpg', '/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_59_2777.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_03_3622.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_05_2672.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_08_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_53_2729.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_56_2734.jpg
/home/pi/Desktop/images/31102025/10/10/image_31102025_10_10_59_2777.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_03_3622.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_05_2672.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_08_2576.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909178","1396909172","1396909174","1396909177","1396909176","1396909175"],"photo_ids_order":["1396909172","1396909174","1396909175","1396909176","1396909177","1396909178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4727e6f1625422cd47ef99c3efa0c2ec.jpg","text":"TemporaryFile(/tmp/multipartBody4503256952266956064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431923281,"filename":"image_31102025_10_11_08_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8adc85faa13464d3fa39b4fcf903cc1.jpg","text":"TemporaryFile(/tmp/multipartBody8793838284172891134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431923281,"filename":"image_31102025_10_10_53_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d66282839543e11c705c21a9e1c6741.jpg","text":"TemporaryFile(/tmp/multipartBody6435321207105315098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431923281,"filename":"image_31102025_10_10_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/11/29/cfbcf284f9b615b70bebf1a4a30a6dc9.jpg","text":"TemporaryFile(/tmp/multipartBody1576002482049400207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431923281,"filename":"image_31102025_10_11_05_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5096f4ac1cef8e8a7594dd503372915e.jpg","text":"TemporaryFile(/tmp/multipartBody1960292825461295512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431923281,"filename":"image_31102025_10_11_03_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/baafdea9070304d633d62fe27bba9c37.jpg","text":"TemporaryFile(/tmp/multipartBody8136860645884577703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764431923281,"filename":"image_31102025_10_10_59_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909175","file1":"1396909174","file0":"1396909172","file4":"1396909177","file5":"1396909178","file3":"1396909176"},"map_files_photo_id_array":[{"photo_id":"1396909178","filename":"file5"},{"photo_id":"1396909175","filename":"file2"},{"photo_id":"1396909177","filename":"file4"},{"photo_id":"1396909174","filename":"file1"},{"photo_id":"1396909172","filename":"file0"},{"photo_id":"1396909176","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396909178":["hashtag1","hashtag2"]},{"1396909172":["hashtag1","hashtag2"]},{"1396909174":["hashtag1","hashtag2"]},{"1396909177":["hashtag1","hashtag2"]},{"1396909176":["hashtag1","hashtag2"]},{"1396909175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396909178, 1396909172, 1396909174, 1396909177, 1396909176, 1396909175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.251285552978516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 16:59:03.591710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/57/image_29112025_16_57_15_9653.jpg', '/home/pi/Desktop/images/29112025/16/57/image_29112025_16_58_04_9676.jpg', '/home/pi/Desktop/images/29112025/16/58/image_29112025_16_58_15_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/57/image_29112025_16_57_15_9653.jpg
/home/pi/Desktop/images/29112025/16/57/image_29112025_16_58_04_9676.jpg
/home/pi/Desktop/images/29112025/16/58/image_29112025_16_58_15_10786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909189","1396909180","1396909185"],"photo_ids_order":["1396909180","1396909185","1396909189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7367e85e17b9ea2fe3e30a8ccc76c6bf.jpg","text":"TemporaryFile(/tmp/multipartBody7646031859864425574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432004261,"filename":"image_29112025_16_58_15_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8765183f6b21cf619e227ee40d47bdae.jpg","text":"TemporaryFile(/tmp/multipartBody579828687168341149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432004261,"filename":"image_29112025_16_57_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/11/29/95cc246b9ad884144288248aae53d68c.jpg","text":"TemporaryFile(/tmp/multipartBody2419380793614967184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432004261,"filename":"image_29112025_16_58_04_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909189","file1":"1396909185","file0":"1396909180"},"map_files_photo_id_array":[{"photo_id":"1396909189","filename":"file2"},{"photo_id":"1396909185","filename":"file1"},{"photo_id":"1396909180","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396909189":["hashtag1","hashtag2"]},{"1396909180":["hashtag1","hashtag2"]},{"1396909185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396909189, 1396909180, 1396909185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.644031763076782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 16:59:32.401996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_48_3553.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_51_2773.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_54_2499.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_57_3091.jpg', '/home/pi/Desktop/images/25112025/18/46/image_25112025_18_47_00_3526.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_03_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_48_3553.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_51_2773.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_54_2499.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_46_57_3091.jpg
/home/pi/Desktop/images/25112025/18/46/image_25112025_18_47_00_3526.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_03_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":["1396909209","1396909199","1396909197","1396909203","1396909212","1396909206"],"photo_ids_order":["1396909197","1396909199","1396909203","1396909206","1396909209","1396909212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96e16329251e5c20b662bbc246ab551e.jpg","text":"TemporaryFile(/tmp/multipartBody8445148903036594395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432034560,"filename":"image_25112025_18_47_00_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d7137b2222bb1a4680d73d67a084106.jpg","text":"TemporaryFile(/tmp/multipartBody4477714642418977663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432034560,"filename":"image_25112025_18_46_51_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e8e271c849df5b62021e6115f5bf7ad.jpg","text":"TemporaryFile(/tmp/multipartBody2928079544750509886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432034560,"filename":"image_25112025_18_46_48_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/934f92ba35e0e457564fe3167d4461bf.jpg","text":"TemporaryFile(/tmp/multipartBody7948907838418375887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432034560,"filename":"image_25112025_18_46_54_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b19c8674e7904f73a820ae0ba1c76af.jpg","text":"TemporaryFile(/tmp/multipartBody7307344844800920191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432034560,"filename":"image_25112025_18_47_03_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cd66509d76a52b891afa0886f1281ee.jpg","text":"TemporaryFile(/tmp/multipartBody5654811001179048537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432034560,"filename":"image_25112025_18_46_57_3091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909203","file1":"1396909199","file0":"1396909197","file4":"1396909209","file5":"1396909212","file3":"1396909206"},"map_files_photo_id_array":[{"photo_id":"1396909212","filename":"file5"},{"photo_id":"1396909203","filename":"file2"},{"photo_id":"1396909209","filename":"file4"},{"photo_id":"1396909199","filename":"file1"},{"photo_id":"1396909197","filename":"file0"},{"photo_id":"1396909206","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396909209":["hashtag1","hashtag2"]},{"1396909199":["hashtag1","hashtag2"]},{"1396909197":["hashtag1","hashtag2"]},{"1396909203":["hashtag1","hashtag2"]},{"1396909212":["hashtag1","hashtag2"]},{"1396909206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396909209, 1396909199, 1396909197, 1396909203, 1396909212, 1396909206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3294792175293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:00:12.735278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_06_3647.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_12_2522.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_15_3661.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_18_2579.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_21_3597.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_24_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_06_3647.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_12_2522.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_15_3661.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_18_2579.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_21_3597.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_24_2840.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.9307398796081543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:00:22.739532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/58/image_29112025_16_58_34_9606.jpg', '/home/pi/Desktop/images/29112025/16/58/image_29112025_16_59_04_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/58/image_29112025_16_58_34_9606.jpg
/home/pi/Desktop/images/29112025/16/58/image_29112025_16_59_04_9661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909298","1396909261"],"photo_ids_order":["1396909261","1396909298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1369b4cb81f9d3495e431c4faa500d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3964003300094931267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432083275,"filename":"image_29112025_16_59_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/11/29/f72639046b474b09723cac9eab207345.jpg","text":"TemporaryFile(/tmp/multipartBody7808194599125017314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432083275,"filename":"image_29112025_16_58_34_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396909298","file0":"1396909261"},"map_files_photo_id_array":[{"photo_id":"1396909298","filename":"file1"},{"photo_id":"1396909261","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396909298":["hashtag1","hashtag2"]},{"1396909261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396909298, 1396909261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.658569812774658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:00:42.717075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_12_3769.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_14_2651.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_17_2715.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_21_3630.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_30_3707.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_32_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/10/11/image_31102025_10_11_12_3769.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_14_2651.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_17_2715.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_21_3630.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_30_3707.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_32_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":["1396909468","1396909504","1396909431","1396909554","1396909620","1396909685"],"photo_ids_order":["1396909431","1396909468","1396909504","1396909554","1396909620","1396909685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fabb5abc0375d44eec5cc096810e12c8.jpg","text":"TemporaryFile(/tmp/multipartBody7054797297280700155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432103834,"filename":"image_31102025_10_11_14_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2cfbd4898208e4a1a8574f132e60e67d.jpg","text":"TemporaryFile(/tmp/multipartBody2913755732289421505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432103834,"filename":"image_31102025_10_11_17_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95616a3d917ecc4c166672c907d06de0.jpg","text":"TemporaryFile(/tmp/multipartBody2275384746691292963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432103834,"filename":"image_31102025_10_11_12_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9dbc9894280280715b4be3e47d4a4719.jpg","text":"TemporaryFile(/tmp/multipartBody2981884115799246294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432103834,"filename":"image_31102025_10_11_21_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af25168c8ad586d2f6d86ab00d6465bd.jpg","text":"TemporaryFile(/tmp/multipartBody6788401347930555246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432103834,"filename":"image_31102025_10_11_30_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0cae9e07359d88498292b65448b30cff.jpg","text":"TemporaryFile(/tmp/multipartBody3164752617336351579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432103834,"filename":"image_31102025_10_11_32_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396909504","file1":"1396909468","file0":"1396909431","file4":"1396909620","file5":"1396909685","file3":"1396909554"},"map_files_photo_id_array":[{"photo_id":"1396909685","filename":"file5"},{"photo_id":"1396909504","filename":"file2"},{"photo_id":"1396909620","filename":"file4"},{"photo_id":"1396909468","filename":"file1"},{"photo_id":"1396909431","filename":"file0"},{"photo_id":"1396909554","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396909468":["hashtag1","hashtag2"]},{"1396909504":["hashtag1","hashtag2"]},{"1396909431":["hashtag1","hashtag2"]},{"1396909554":["hashtag1","hashtag2"]},{"1396909620":["hashtag1","hashtag2"]},{"1396909685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396909468, 1396909504, 1396909431, 1396909554, 1396909620, 1396909685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43144178390503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:01:21.941962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/16/59/image_29112025_16_59_25_10077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/16/59/image_29112025_16_59_25_10077.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396909943"],"photo_id":"1396909943","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/deca5af9d521daab79bfbd56a0d4b441.jpg","text":"TemporaryFile(/tmp/multipartBody2012798051465418078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432142459,"filename":"image_29112025_16_59_25_10077.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396909943"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396909943"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.438831806182861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:01:41.850542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_35_2535.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_39_3643.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_41_2732.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_44_2888.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_47_2659.jpg', '/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_56_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/10/11/image_31102025_10_11_35_2535.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_39_3643.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_41_2732.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_44_2888.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_47_2659.jpg
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_56_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":["1396910399","1396910264","1396910596","1396910464","1396910530","1396910332"],"photo_ids_order":["1396910264","1396910332","1396910399","1396910464","1396910530","1396910596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87c65379d97dacbf9e5a1ea97b2e4bef.jpg","text":"TemporaryFile(/tmp/multipartBody3326896134095913320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432162985,"filename":"image_31102025_10_11_41_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4885740803ab5a39ca3e4ee7d32beb2.jpg","text":"TemporaryFile(/tmp/multipartBody3182102957120320787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432162985,"filename":"image_31102025_10_11_35_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/036341438882b0a47680d55c8efc0fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5983532919553969670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432162985,"filename":"image_31102025_10_11_56_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36e062d80c2c2cbd3f560e7f0f6d1b27.jpg","text":"TemporaryFile(/tmp/multipartBody874137120102936509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432162985,"filename":"image_31102025_10_11_44_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38b82da340f0c81c2a97e420017ac03b.jpg","text":"TemporaryFile(/tmp/multipartBody5810278528385248188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432162985,"filename":"image_31102025_10_11_47_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4d30548c3298776e45fc15fec4cf9c7.jpg","text":"TemporaryFile(/tmp/multipartBody5106011729684072411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432162985,"filename":"image_31102025_10_11_39_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396910399","file1":"1396910332","file0":"1396910264","file4":"1396910530","file5":"1396910596","file3":"1396910464"},"map_files_photo_id_array":[{"photo_id":"1396910596","filename":"file5"},{"photo_id":"1396910399","filename":"file2"},{"photo_id":"1396910530","filename":"file4"},{"photo_id":"1396910332","filename":"file1"},{"photo_id":"1396910264","filename":"file0"},{"photo_id":"1396910464","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396910399":["hashtag1","hashtag2"]},{"1396910264":["hashtag1","hashtag2"]},{"1396910596":["hashtag1","hashtag2"]},{"1396910464":["hashtag1","hashtag2"]},{"1396910530":["hashtag1","hashtag2"]},{"1396910332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396910399, 1396910264, 1396910596, 1396910464, 1396910530, 1396910332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32096529006958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:02:22.001332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/01/image_29112025_17_01_45_10641.jpg', '/home/pi/Desktop/images/29112025/17/01/image_29112025_17_02_05_9616.jpg', '/home/pi/Desktop/images/29112025/17/02/image_29112025_17_02_15_10775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/01/image_29112025_17_01_45_10641.jpg
/home/pi/Desktop/images/29112025/17/01/image_29112025_17_02_05_9616.jpg
/home/pi/Desktop/images/29112025/17/02/image_29112025_17_02_15_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":["1396910826","1396910863","1396910787"],"photo_ids_order":["1396910787","1396910826","1396910863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7486718fd50c4fb3d3c678eb083271c0.jpg","text":"TemporaryFile(/tmp/multipartBody4473662657177334473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432202578,"filename":"image_29112025_17_02_05_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd6433446c51af5475813e9b5a4a2f7c.jpg","text":"TemporaryFile(/tmp/multipartBody6200718641862918575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432202578,"filename":"image_29112025_17_02_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/11/29/5a94b200488a97eb3c7b6a8aeb9d8b66.jpg","text":"TemporaryFile(/tmp/multipartBody961417929832216054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432202578,"filename":"image_29112025_17_01_45_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396910863","file1":"1396910826","file0":"1396910787"},"map_files_photo_id_array":[{"photo_id":"1396910863","filename":"file2"},{"photo_id":"1396910826","filename":"file1"},{"photo_id":"1396910787","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396910826":["hashtag1","hashtag2"]},{"1396910863":["hashtag1","hashtag2"]},{"1396910787":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396910826, 1396910863, 1396910787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.072818756103516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:03:02.945613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_06_3647.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_12_2522.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_15_3661.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_18_2579.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_21_3597.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_24_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_06_3647.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_12_2522.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_15_3661.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_18_2579.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_21_3597.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_24_2840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396910975","1396911001","1396910974","1396911036","1396911117","1396911071"],"photo_ids_order":["1396910974","1396910975","1396911001","1396911036","1396911071","1396911117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed58350b30ac11cb33416b3ebc85fb55.jpg","text":"TemporaryFile(/tmp/multipartBody7751193541234895649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432244487,"filename":"image_25112025_18_47_12_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0558cc88e5527ec9eec2a72650307669.jpg","text":"TemporaryFile(/tmp/multipartBody1840682203489100603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432244487,"filename":"image_25112025_18_47_15_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4bd42eef5879c8475614ec4f1268b92b.jpg","text":"TemporaryFile(/tmp/multipartBody2017339353261232162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432244487,"filename":"image_25112025_18_47_06_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/408fc11a34ecb13218b9d8fe3a97482f.jpg","text":"TemporaryFile(/tmp/multipartBody6368913549843605246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432244487,"filename":"image_25112025_18_47_18_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfc5449943d1d988d9704ad85ac0b8b9.jpg","text":"TemporaryFile(/tmp/multipartBody1601577248873532576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432244487,"filename":"image_25112025_18_47_24_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47c5dc2aad31fc8cd33f0b711f717857.jpg","text":"TemporaryFile(/tmp/multipartBody8599441612479265809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432244487,"filename":"image_25112025_18_47_21_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396911001","file1":"1396910975","file0":"1396910974","file4":"1396911071","file5":"1396911117","file3":"1396911036"},"map_files_photo_id_array":[{"photo_id":"1396911117","filename":"file5"},{"photo_id":"1396911001","filename":"file2"},{"photo_id":"1396911071","filename":"file4"},{"photo_id":"1396910975","filename":"file1"},{"photo_id":"1396910974","filename":"file0"},{"photo_id":"1396911036","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396910975":["hashtag1","hashtag2"]},{"1396911001":["hashtag1","hashtag2"]},{"1396910974":["hashtag1","hashtag2"]},{"1396911036":["hashtag1","hashtag2"]},{"1396911117":["hashtag1","hashtag2"]},{"1396911071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396910975, 1396911001, 1396910974, 1396911036, 1396911117, 1396911071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41174650192261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:03:42.328414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_59_2569.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_02_3572.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_08_3550.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_14_2581.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_17_3642.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_20_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/11/image_31102025_10_11_59_2569.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_02_3572.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_08_3550.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_14_2581.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_17_3642.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_20_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396911319","1396911532","1396911390","1396911567","1396911453","1396911497"],"photo_ids_order":["1396911319","1396911390","1396911453","1396911497","1396911532","1396911567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47a8d0e4b5055452caeed28ae318a76b.jpg","text":"TemporaryFile(/tmp/multipartBody4880657076456524385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432283454,"filename":"image_31102025_10_11_59_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0076ba3a7dc5f4d34f5461c1b6ff0a48.jpg","text":"TemporaryFile(/tmp/multipartBody549368890117188333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432283454,"filename":"image_31102025_10_12_17_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/588720fd98e53713e617c43bf27786bb.jpg","text":"TemporaryFile(/tmp/multipartBody5349302523277221137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432283454,"filename":"image_31102025_10_12_02_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d7f66621a7febd115f5ea9dd7d01b24.jpg","text":"TemporaryFile(/tmp/multipartBody2112748833502701157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432283454,"filename":"image_31102025_10_12_20_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21a9aad4a3bfcc8bb653f874de11e135.jpg","text":"TemporaryFile(/tmp/multipartBody8487949813930732587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432283454,"filename":"image_31102025_10_12_08_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aee416208bc0a4fe7f8ceb32f0ef379e.jpg","text":"TemporaryFile(/tmp/multipartBody7526187963270310147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432283454,"filename":"image_31102025_10_12_14_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396911453","file1":"1396911390","file0":"1396911319","file4":"1396911532","file5":"1396911567","file3":"1396911497"},"map_files_photo_id_array":[{"photo_id":"1396911567","filename":"file5"},{"photo_id":"1396911453","filename":"file2"},{"photo_id":"1396911532","filename":"file4"},{"photo_id":"1396911390","filename":"file1"},{"photo_id":"1396911319","filename":"file0"},{"photo_id":"1396911497","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396911319":["hashtag1","hashtag2"]},{"1396911532":["hashtag1","hashtag2"]},{"1396911390":["hashtag1","hashtag2"]},{"1396911567":["hashtag1","hashtag2"]},{"1396911453":["hashtag1","hashtag2"]},{"1396911497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396911319, 1396911532, 1396911390, 1396911567, 1396911453, 1396911497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.820960521698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:04:22.490707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/02/image_29112025_17_02_55_10581.jpg', '/home/pi/Desktop/images/29112025/17/02/image_29112025_17_03_05_9690.jpg', '/home/pi/Desktop/images/29112025/17/03/image_29112025_17_04_05_9672.jpg', '/home/pi/Desktop/images/29112025/17/04/image_29112025_17_04_45_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/02/image_29112025_17_02_55_10581.jpg
/home/pi/Desktop/images/29112025/17/02/image_29112025_17_03_05_9690.jpg
/home/pi/Desktop/images/29112025/17/03/image_29112025_17_04_05_9672.jpg
/home/pi/Desktop/images/29112025/17/04/image_29112025_17_04_45_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396911782","1396911699","1396911645","1396911768"],"photo_ids_order":["1396911645","1396911699","1396911768","1396911782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54ea779051e2ae72d32a6798ff3036a4.jpg","text":"TemporaryFile(/tmp/multipartBody635161496170705965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432323102,"filename":"image_29112025_17_04_45_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57422245e0ef1ed3ae4ee61deef0e23d.jpg","text":"TemporaryFile(/tmp/multipartBody7489643261663173511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432323102,"filename":"image_29112025_17_03_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c7408d87e34bd5087076c620acc8e99.jpg","text":"TemporaryFile(/tmp/multipartBody8256849697417812742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432323102,"filename":"image_29112025_17_02_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/11/29/47695d1636f6cf5f72871c9c8f682297.jpg","text":"TemporaryFile(/tmp/multipartBody813337504635801726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432323102,"filename":"image_29112025_17_04_05_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396911768","file1":"1396911699","file0":"1396911645","file3":"1396911782"},"map_files_photo_id_array":[{"photo_id":"1396911768","filename":"file2"},{"photo_id":"1396911699","filename":"file1"},{"photo_id":"1396911645","filename":"file0"},{"photo_id":"1396911782","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396911782":["hashtag1","hashtag2"]},{"1396911699":["hashtag1","hashtag2"]},{"1396911645":["hashtag1","hashtag2"]},{"1396911768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396911782, 1396911699, 1396911645, 1396911768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.60195016860962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:05:03.457787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_27_2720.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_30_3210.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_33_2685.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_36_2706.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_42_2571.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_45_2770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_27_2720.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_30_3210.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_33_2685.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_36_2706.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_42_2571.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_45_2770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396911839","1396911838","1396911843","1396911837","1396911846","1396911840"],"photo_ids_order":["1396911837","1396911838","1396911839","1396911840","1396911843","1396911846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/23c6203e4c2cf2a5bb26e7c422261ad4.jpg","text":"TemporaryFile(/tmp/multipartBody641390632525002466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432365074,"filename":"image_25112025_18_47_33_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d02feade8f51f98e3b01a80a54bbbd75.jpg","text":"TemporaryFile(/tmp/multipartBody7523452091600775121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432365074,"filename":"image_25112025_18_47_30_3210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e784bb815f473314c762b4f0774639c.jpg","text":"TemporaryFile(/tmp/multipartBody8574884528266970843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432365074,"filename":"image_25112025_18_47_42_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0611cd4bc3b4ad923cda4de01cd4bfcd.jpg","text":"TemporaryFile(/tmp/multipartBody4684152384669640869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432365074,"filename":"image_25112025_18_47_27_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a2f26f8e8cd91ec5b161f0049ceaef2.jpg","text":"TemporaryFile(/tmp/multipartBody6225136001104429762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432365074,"filename":"image_25112025_18_47_45_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f7938ab19d51a4de961f23eca5b2ebc.jpg","text":"TemporaryFile(/tmp/multipartBody8156616482220183107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432365074,"filename":"image_25112025_18_47_36_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396911839","file1":"1396911838","file0":"1396911837","file4":"1396911843","file5":"1396911846","file3":"1396911840"},"map_files_photo_id_array":[{"photo_id":"1396911846","filename":"file5"},{"photo_id":"1396911839","filename":"file2"},{"photo_id":"1396911843","filename":"file4"},{"photo_id":"1396911838","filename":"file1"},{"photo_id":"1396911837","filename":"file0"},{"photo_id":"1396911840","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396911839":["hashtag1","hashtag2"]},{"1396911838":["hashtag1","hashtag2"]},{"1396911843":["hashtag1","hashtag2"]},{"1396911837":["hashtag1","hashtag2"]},{"1396911846":["hashtag1","hashtag2"]},{"1396911840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396911839, 1396911838, 1396911843, 1396911837, 1396911846, 1396911840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17855453491211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:05:42.766729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_23_2675.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_27_3750.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_29_2754.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_32_2619.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_36_3730.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_44_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/10/12/image_31102025_10_12_23_2675.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_27_3750.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_29_2754.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_32_2619.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_36_3730.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_44_2618.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0335924625396729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:06:02.409825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/04/image_29112025_17_04_55_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/04/image_29112025_17_04_55_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396912059"],"photo_id":"1396912059","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9eade6aee80937b489e221839f344927.jpg","text":"TemporaryFile(/tmp/multipartBody1945047787137862254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432422930,"filename":"image_29112025_17_04_55_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396912059"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396912059"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.439311265945435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:06:21.916206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_48_3561.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_51_2552.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_54_3670.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_57_2648.jpg', '/home/pi/Desktop/images/25112025/18/47/image_25112025_18_48_00_2611.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_02_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_48_3561.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_51_2552.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_54_3670.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_47_57_2648.jpg
/home/pi/Desktop/images/25112025/18/47/image_25112025_18_48_00_2611.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_02_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":["1396912588","1396912378","1396912743","1396912665","1396912449","1396912521"],"photo_ids_order":["1396912378","1396912449","1396912521","1396912588","1396912665","1396912743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e22c92f66376101aec708e86e6e6f67.jpg","text":"TemporaryFile(/tmp/multipartBody9124893808148874036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432444029,"filename":"image_25112025_18_47_57_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34fb1b069d5d9d870cb67e3c9c665e25.jpg","text":"TemporaryFile(/tmp/multipartBody3744564075550991604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432444029,"filename":"image_25112025_18_47_48_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79b9c8f42acadb1c6bf8cdbc7f9bfb0e.jpg","text":"TemporaryFile(/tmp/multipartBody393549547042197708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432444029,"filename":"image_25112025_18_48_02_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c2f3a702e9422ecdc861c08848c0ee5.jpg","text":"TemporaryFile(/tmp/multipartBody6145911260407526888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432444029,"filename":"image_25112025_18_48_00_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c46d727357b9d32e834406c896f166aa.jpg","text":"TemporaryFile(/tmp/multipartBody559891903327115247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432444029,"filename":"image_25112025_18_47_51_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf3bc6d7807607d43f5b326063a2ba55.jpg","text":"TemporaryFile(/tmp/multipartBody3226672897607423251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432444029,"filename":"image_25112025_18_47_54_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396912521","file1":"1396912449","file0":"1396912378","file4":"1396912665","file5":"1396912743","file3":"1396912588"},"map_files_photo_id_array":[{"photo_id":"1396912743","filename":"file5"},{"photo_id":"1396912521","filename":"file2"},{"photo_id":"1396912665","filename":"file4"},{"photo_id":"1396912449","filename":"file1"},{"photo_id":"1396912378","filename":"file0"},{"photo_id":"1396912588","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396912588":["hashtag1","hashtag2"]},{"1396912378":["hashtag1","hashtag2"]},{"1396912743":["hashtag1","hashtag2"]},{"1396912665":["hashtag1","hashtag2"]},{"1396912449":["hashtag1","hashtag2"]},{"1396912521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396912588, 1396912378, 1396912743, 1396912665, 1396912449, 1396912521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36392664909363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:07:02.935780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_06_3659.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_09_2597.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_11_2745.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_15_3859.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_18_2591.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_21_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_06_3659.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_09_2597.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_11_2745.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_15_3859.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_18_2591.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_21_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396913107","1396913331","1396913034","1396913406","1396913180","1396913249"],"photo_ids_order":["1396913034","1396913107","1396913180","1396913249","1396913331","1396913406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41e251b261137b2d5c7601836e333b48.jpg","text":"TemporaryFile(/tmp/multipartBody8135118736414703618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432484559,"filename":"image_25112025_18_48_09_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c7e9339291e881997a2ebf527739c38.jpg","text":"TemporaryFile(/tmp/multipartBody3185332221270261521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432484559,"filename":"image_25112025_18_48_18_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf0308f0ec15eef4b517ccf86add05b7.jpg","text":"TemporaryFile(/tmp/multipartBody534069554676088701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432484559,"filename":"image_25112025_18_48_06_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efea304960d362bc099a17cab08403fe.jpg","text":"TemporaryFile(/tmp/multipartBody9086692321411107349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432484559,"filename":"image_25112025_18_48_21_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ef446cd71406cc28141d16089fff8f6.jpg","text":"TemporaryFile(/tmp/multipartBody2864643476986598817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432484559,"filename":"image_25112025_18_48_11_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d033088277ebc519b9a53a3d0fc4c20d.jpg","text":"TemporaryFile(/tmp/multipartBody6979178771851445778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432484559,"filename":"image_25112025_18_48_15_3859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396913180","file1":"1396913107","file0":"1396913034","file4":"1396913331","file5":"1396913406","file3":"1396913249"},"map_files_photo_id_array":[{"photo_id":"1396913406","filename":"file5"},{"photo_id":"1396913180","filename":"file2"},{"photo_id":"1396913331","filename":"file4"},{"photo_id":"1396913107","filename":"file1"},{"photo_id":"1396913034","filename":"file0"},{"photo_id":"1396913249","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396913107":["hashtag1","hashtag2"]},{"1396913331":["hashtag1","hashtag2"]},{"1396913034":["hashtag1","hashtag2"]},{"1396913406":["hashtag1","hashtag2"]},{"1396913180":["hashtag1","hashtag2"]},{"1396913249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396913107, 1396913331, 1396913034, 1396913406, 1396913180, 1396913249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98278045654297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:07:42.203615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_23_2675.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_27_3750.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_29_2754.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_32_2619.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_36_3730.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_44_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/10/12/image_31102025_10_12_23_2675.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_27_3750.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_29_2754.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_32_2619.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_36_3730.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_44_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":["1396913671","1396913746","1396913841","1396913919","1396913805","1396913878"],"photo_ids_order":["1396913671","1396913746","1396913805","1396913841","1396913878","1396913919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5090a643f372ee59efb527ce69fb5de9.jpg","text":"TemporaryFile(/tmp/multipartBody5262602090018246489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432523176,"filename":"image_31102025_10_12_23_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b0f7db3e7192bb87ff1e88674de332b.jpg","text":"TemporaryFile(/tmp/multipartBody4911476522958465433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432523176,"filename":"image_31102025_10_12_27_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25eaa9da3907e19541d583a2bb700b41.jpg","text":"TemporaryFile(/tmp/multipartBody5375587478129317857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432523176,"filename":"image_31102025_10_12_32_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93765f78258835d4e4802b843a2f7b3c.jpg","text":"TemporaryFile(/tmp/multipartBody6596304750172316418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432523176,"filename":"image_31102025_10_12_44_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/934c045845bdb40c46594b6dac1de550.jpg","text":"TemporaryFile(/tmp/multipartBody281793988634173341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432523176,"filename":"image_31102025_10_12_29_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9aebe98478da34315eb47f3cebf0551e.jpg","text":"TemporaryFile(/tmp/multipartBody7259104571335498327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432523176,"filename":"image_31102025_10_12_36_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396913805","file1":"1396913746","file0":"1396913671","file4":"1396913878","file5":"1396913919","file3":"1396913841"},"map_files_photo_id_array":[{"photo_id":"1396913919","filename":"file5"},{"photo_id":"1396913805","filename":"file2"},{"photo_id":"1396913878","filename":"file4"},{"photo_id":"1396913746","filename":"file1"},{"photo_id":"1396913671","filename":"file0"},{"photo_id":"1396913841","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396913671":["hashtag1","hashtag2"]},{"1396913746":["hashtag1","hashtag2"]},{"1396913841":["hashtag1","hashtag2"]},{"1396913919":["hashtag1","hashtag2"]},{"1396913805":["hashtag1","hashtag2"]},{"1396913878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396913671, 1396913746, 1396913841, 1396913919, 1396913805, 1396913878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37358617782593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:08:22.399664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_24_3712.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_27_2684.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_29_2531.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_36_2586.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_44_8098.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_50_5940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_24_3712.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_27_2684.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_29_2531.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_36_2586.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_44_8098.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_50_5940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396914060","1396913943","1396913946","1396914137","1396913978","1396914020"],"photo_ids_order":["1396913943","1396913946","1396913978","1396914020","1396914060","1396914137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd284287515c0309949c3ae1e7697a60.jpg","text":"TemporaryFile(/tmp/multipartBody6088107874344515867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432564574,"filename":"image_25112025_18_48_44_8098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91022412881504db24dd8ba35a4cced1.jpg","text":"TemporaryFile(/tmp/multipartBody8896725158732786973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432564574,"filename":"image_25112025_18_48_24_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1edbd4856cf78ae59f3f0c7d68fea5be.jpg","text":"TemporaryFile(/tmp/multipartBody3644111175526248246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432564574,"filename":"image_25112025_18_48_27_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d15e2457d04d87d0d4b054c4e2407254.jpg","text":"TemporaryFile(/tmp/multipartBody3359490668919056142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432564574,"filename":"image_25112025_18_48_50_5940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/334bc0712d85cb8112ca11cf81c2abaf.jpg","text":"TemporaryFile(/tmp/multipartBody8104041290368572662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432564574,"filename":"image_25112025_18_48_29_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5a1481b5c9b5a1dd3efb9c694b0cc06.jpg","text":"TemporaryFile(/tmp/multipartBody5262953985191585985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432564574,"filename":"image_25112025_18_48_36_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396913978","file1":"1396913946","file0":"1396913943","file4":"1396914060","file5":"1396914137","file3":"1396914020"},"map_files_photo_id_array":[{"photo_id":"1396914137","filename":"file5"},{"photo_id":"1396913978","filename":"file2"},{"photo_id":"1396914060","filename":"file4"},{"photo_id":"1396913946","filename":"file1"},{"photo_id":"1396913943","filename":"file0"},{"photo_id":"1396914020","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396914060":["hashtag1","hashtag2"]},{"1396913943":["hashtag1","hashtag2"]},{"1396913946":["hashtag1","hashtag2"]},{"1396914137":["hashtag1","hashtag2"]},{"1396913978":["hashtag1","hashtag2"]},{"1396914020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396914060, 1396913943, 1396913946, 1396914137, 1396913978, 1396914020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58730459213257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:09:03.386442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_51_1549.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_53_1719.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_56_1673.jpg', '/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_58_1618.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_01_2728.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_03_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_51_1549.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_53_1719.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_56_1673.jpg
/home/pi/Desktop/images/25112025/18/48/image_25112025_18_48_58_1618.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_01_2728.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_03_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":["1396914896","1396914494","1396914572","1396914781","1396914416","1396914691"],"photo_ids_order":["1396914416","1396914494","1396914572","1396914691","1396914781","1396914896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7814c1c8fb0268af54a09ee09cd9e02.jpg","text":"TemporaryFile(/tmp/multipartBody5329226024781090805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432604992,"filename":"image_25112025_18_49_03_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9e48a5803099b1609e0197e30b27f04.jpg","text":"TemporaryFile(/tmp/multipartBody8248013464537864675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432604992,"filename":"image_25112025_18_48_53_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/913025c795e8282d6227b238e8ecc6ea.jpg","text":"TemporaryFile(/tmp/multipartBody3665152372813322944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432604992,"filename":"image_25112025_18_48_56_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f240a1131a42d911e898080a2752738c.jpg","text":"TemporaryFile(/tmp/multipartBody4654904186748888014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432604992,"filename":"image_25112025_18_49_01_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/165bd1942fe43e85f339991ce85501b4.jpg","text":"TemporaryFile(/tmp/multipartBody1491524167559164793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432604992,"filename":"image_25112025_18_48_51_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22f9aa0712435ae11a6cfaf1da1e5319.jpg","text":"TemporaryFile(/tmp/multipartBody4059749220251313138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432604992,"filename":"image_25112025_18_48_58_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396914572","file1":"1396914494","file0":"1396914416","file4":"1396914781","file5":"1396914896","file3":"1396914691"},"map_files_photo_id_array":[{"photo_id":"1396914896","filename":"file5"},{"photo_id":"1396914572","filename":"file2"},{"photo_id":"1396914781","filename":"file4"},{"photo_id":"1396914494","filename":"file1"},{"photo_id":"1396914416","filename":"file0"},{"photo_id":"1396914691","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396914896":["hashtag1","hashtag2"]},{"1396914494":["hashtag1","hashtag2"]},{"1396914572":["hashtag1","hashtag2"]},{"1396914781":["hashtag1","hashtag2"]},{"1396914416":["hashtag1","hashtag2"]},{"1396914691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396914896, 1396914494, 1396914572, 1396914781, 1396914416, 1396914691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8760244846344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:09:42.574308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_48_3729.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_50_2701.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_53_2656.jpg', '/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_56_2691.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_02_2707.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_05_2735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_48_3729.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_50_2701.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_53_2656.jpg
/home/pi/Desktop/images/31102025/10/12/image_31102025_10_12_56_2691.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_02_2707.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_05_2735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396915331","1396915453","1396915924","1396915555","1396915801","1396915668"],"photo_ids_order":["1396915331","1396915453","1396915555","1396915668","1396915801","1396915924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/664660f13bbf9090b65727200653b6e0.jpg","text":"TemporaryFile(/tmp/multipartBody2880065052027509902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432643756,"filename":"image_31102025_10_12_48_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dffa489eaf10777a3f9a8248c7970543.jpg","text":"TemporaryFile(/tmp/multipartBody3835066341620594002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432643756,"filename":"image_31102025_10_12_50_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df774c878cb05621a6475863cf594c1b.jpg","text":"TemporaryFile(/tmp/multipartBody321106617618313843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432643756,"filename":"image_31102025_10_13_05_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91c1a9701d90ab205c71880891f672e7.jpg","text":"TemporaryFile(/tmp/multipartBody2016370758385992370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432643756,"filename":"image_31102025_10_12_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/11/29/9866819a60f2e62fc15a9ad63c363aa3.jpg","text":"TemporaryFile(/tmp/multipartBody7871009103772211878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432643756,"filename":"image_31102025_10_13_02_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5faf7eb6707d71fc3eed459d79ca522b.jpg","text":"TemporaryFile(/tmp/multipartBody85033717682838498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432643756,"filename":"image_31102025_10_12_56_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396915555","file1":"1396915453","file0":"1396915331","file4":"1396915801","file5":"1396915924","file3":"1396915668"},"map_files_photo_id_array":[{"photo_id":"1396915924","filename":"file5"},{"photo_id":"1396915555","filename":"file2"},{"photo_id":"1396915801","filename":"file4"},{"photo_id":"1396915453","filename":"file1"},{"photo_id":"1396915331","filename":"file0"},{"photo_id":"1396915668","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396915331":["hashtag1","hashtag2"]},{"1396915453":["hashtag1","hashtag2"]},{"1396915924":["hashtag1","hashtag2"]},{"1396915555":["hashtag1","hashtag2"]},{"1396915801":["hashtag1","hashtag2"]},{"1396915668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396915331, 1396915453, 1396915924, 1396915555, 1396915801, 1396915668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9111692905426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:10:22.781047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_06_2897.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_09_2547.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_11_2636.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_15_3690.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_18_2602.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_21_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_06_2897.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_09_2547.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_11_2636.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_15_3690.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_18_2602.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_21_3631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396916468","1396916392","1396916572","1396916689","1396916644","1396916305"],"photo_ids_order":["1396916305","1396916392","1396916468","1396916572","1396916644","1396916689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e84bcf8b8740a8ada8bef312ebcc1a3.jpg","text":"TemporaryFile(/tmp/multipartBody1138528257380053902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432684912,"filename":"image_25112025_18_49_11_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6b7174f994c260306ab32400d1ec4dc.jpg","text":"TemporaryFile(/tmp/multipartBody8958358058854047356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432684912,"filename":"image_25112025_18_49_09_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1f6fcf95b4de1593f263db0156853bf.jpg","text":"TemporaryFile(/tmp/multipartBody1295937316463631711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432684912,"filename":"image_25112025_18_49_15_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8a05a2d188b98967b38a82225bb8dfe.jpg","text":"TemporaryFile(/tmp/multipartBody4221125825000130898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432684912,"filename":"image_25112025_18_49_21_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1667e70950fec31ffd3595310cf3597.jpg","text":"TemporaryFile(/tmp/multipartBody8682229499218470153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432684912,"filename":"image_25112025_18_49_18_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35bd299de478072fc572e573bb2ddc72.jpg","text":"TemporaryFile(/tmp/multipartBody6455112427817476603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432684912,"filename":"image_25112025_18_49_06_2897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396916468","file1":"1396916392","file0":"1396916305","file4":"1396916644","file5":"1396916689","file3":"1396916572"},"map_files_photo_id_array":[{"photo_id":"1396916689","filename":"file5"},{"photo_id":"1396916468","filename":"file2"},{"photo_id":"1396916644","filename":"file4"},{"photo_id":"1396916392","filename":"file1"},{"photo_id":"1396916305","filename":"file0"},{"photo_id":"1396916572","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396916468":["hashtag1","hashtag2"]},{"1396916392":["hashtag1","hashtag2"]},{"1396916572":["hashtag1","hashtag2"]},{"1396916689":["hashtag1","hashtag2"]},{"1396916644":["hashtag1","hashtag2"]},{"1396916305":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396916468, 1396916392, 1396916572, 1396916689, 1396916644, 1396916305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83363676071167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:11:02.649338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_24_2738.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_27_2626.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_29_2785.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_33_3754.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_39_2669.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_42_3536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_24_2738.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_27_2626.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_29_2785.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_33_3754.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_39_2669.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_42_3536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396916823","1396916882","1396916831","1396916851","1396916850","1396916853"],"photo_ids_order":["1396916823","1396916831","1396916850","1396916851","1396916853","1396916882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6de6bfc3c74311d788a5e104a1a0b0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3830011897240802108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432724297,"filename":"image_25112025_18_49_24_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e4da5d1de5d89842ecb237841b4da46b.jpg","text":"TemporaryFile(/tmp/multipartBody6927380579453788452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432724297,"filename":"image_25112025_18_49_42_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/474359c635ae3d205eab64d05f526192.jpg","text":"TemporaryFile(/tmp/multipartBody3484650611635774293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432724297,"filename":"image_25112025_18_49_27_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f3265c2a993c7845acbacc91eaa27a9.jpg","text":"TemporaryFile(/tmp/multipartBody8908334235825668971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432724297,"filename":"image_25112025_18_49_33_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e315c83e3487afd1d4bda6461e86c09.jpg","text":"TemporaryFile(/tmp/multipartBody3691611092999621763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432724297,"filename":"image_25112025_18_49_29_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eea2fda706e945e6a2e3c4293da730fe.jpg","text":"TemporaryFile(/tmp/multipartBody4110489424777243275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432724297,"filename":"image_25112025_18_49_39_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396916850","file1":"1396916831","file0":"1396916823","file4":"1396916853","file5":"1396916882","file3":"1396916851"},"map_files_photo_id_array":[{"photo_id":"1396916882","filename":"file5"},{"photo_id":"1396916850","filename":"file2"},{"photo_id":"1396916853","filename":"file4"},{"photo_id":"1396916831","filename":"file1"},{"photo_id":"1396916823","filename":"file0"},{"photo_id":"1396916851","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396916823":["hashtag1","hashtag2"]},{"1396916882":["hashtag1","hashtag2"]},{"1396916831":["hashtag1","hashtag2"]},{"1396916851":["hashtag1","hashtag2"]},{"1396916850":["hashtag1","hashtag2"]},{"1396916853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396916823, 1396916882, 1396916831, 1396916851, 1396916850, 1396916853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52369451522827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:11:42.023902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_08_3672.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_11_2550.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_14_2735.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_17_3768.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_20_2818.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_23_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/10/13/image_31102025_10_13_08_3672.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_11_2550.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_14_2735.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_17_3768.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_20_2818.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_23_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":["1396917125","1396917119","1396917014","1396917124","1396917051","1396917083"],"photo_ids_order":["1396917014","1396917051","1396917083","1396917119","1396917124","1396917125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be629c5d99e78e23fa0c9c84bb7c5b25.jpg","text":"TemporaryFile(/tmp/multipartBody8495280807786586480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432763198,"filename":"image_31102025_10_13_23_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d26b3873a16a7cf16d229b410b5c4945.jpg","text":"TemporaryFile(/tmp/multipartBody3700995145890181395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432763198,"filename":"image_31102025_10_13_17_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5376f7616e80fdd2a62f4aacdb602508.jpg","text":"TemporaryFile(/tmp/multipartBody6944148204929218624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432763198,"filename":"image_31102025_10_13_08_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1750aa121872ff5e0e8a872adcc9fbc0.jpg","text":"TemporaryFile(/tmp/multipartBody2221913410623844906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432763198,"filename":"image_31102025_10_13_20_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4be72beb45b7364694d919c6dc6cf2ba.jpg","text":"TemporaryFile(/tmp/multipartBody7779757970882974708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432763198,"filename":"image_31102025_10_13_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/11/29/dba792770269a88063c561e4b9b5e190.jpg","text":"TemporaryFile(/tmp/multipartBody8478315878734940844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432763198,"filename":"image_31102025_10_13_14_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396917083","file1":"1396917051","file0":"1396917014","file4":"1396917124","file5":"1396917125","file3":"1396917119"},"map_files_photo_id_array":[{"photo_id":"1396917125","filename":"file5"},{"photo_id":"1396917083","filename":"file2"},{"photo_id":"1396917124","filename":"file4"},{"photo_id":"1396917051","filename":"file1"},{"photo_id":"1396917014","filename":"file0"},{"photo_id":"1396917119","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396917125":["hashtag1","hashtag2"]},{"1396917119":["hashtag1","hashtag2"]},{"1396917014":["hashtag1","hashtag2"]},{"1396917124":["hashtag1","hashtag2"]},{"1396917051":["hashtag1","hashtag2"]},{"1396917083":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396917125, 1396917119, 1396917014, 1396917124, 1396917051, 1396917083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61046075820923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:12:22.183376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/05/image_29112025_17_05_25_10795.jpg', '/home/pi/Desktop/images/29112025/17/11/image_29112025_17_11_14_10037.jpg', '/home/pi/Desktop/images/29112025/17/11/image_29112025_17_11_25_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/05/image_29112025_17_05_25_10795.jpg
/home/pi/Desktop/images/29112025/17/11/image_29112025_17_11_14_10037.jpg
/home/pi/Desktop/images/29112025/17/11/image_29112025_17_11_25_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396917329","1396917393","1396917278"],"photo_ids_order":["1396917278","1396917329","1396917393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7295242527e25efafaf882b396032625.jpg","text":"TemporaryFile(/tmp/multipartBody7185829165836514319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432802771,"filename":"image_29112025_17_11_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25ee3b352089db5e70232326744e7b91.jpg","text":"TemporaryFile(/tmp/multipartBody4350282172302533155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432802771,"filename":"image_29112025_17_11_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/11/29/da6190c563a85ac59f8371877cee9b3d.jpg","text":"TemporaryFile(/tmp/multipartBody6814205716683600838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432802771,"filename":"image_29112025_17_05_25_10795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396917393","file1":"1396917329","file0":"1396917278"},"map_files_photo_id_array":[{"photo_id":"1396917393","filename":"file2"},{"photo_id":"1396917329","filename":"file1"},{"photo_id":"1396917278","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396917329":["hashtag1","hashtag2"]},{"1396917393":["hashtag1","hashtag2"]},{"1396917278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396917329, 1396917393, 1396917278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.200819492340088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:13:02.915214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_45_2513.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_47_2827.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_51_3495.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_54_2617.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_57_3654.jpg', '/home/pi/Desktop/images/25112025/18/49/image_25112025_18_50_00_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_45_2513.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_47_2827.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_51_3495.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_54_2617.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_49_57_3654.jpg
/home/pi/Desktop/images/25112025/18/49/image_25112025_18_50_00_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396917659","1396917710","1396917806","1396917747","1396917671","1396917866"],"photo_ids_order":["1396917659","1396917671","1396917710","1396917747","1396917806","1396917866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47ed84162ff2fa0f689308754928cebc.jpg","text":"TemporaryFile(/tmp/multipartBody877419227860819477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432844609,"filename":"image_25112025_18_49_45_2513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78437c11e8adfe8778bf18e8d73005f8.jpg","text":"TemporaryFile(/tmp/multipartBody4941899110723216676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432844609,"filename":"image_25112025_18_49_51_3495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b8a99c6a10923afd496b3c42563f494.jpg","text":"TemporaryFile(/tmp/multipartBody8325641865721641452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432844609,"filename":"image_25112025_18_49_57_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b98b63077f0b4cfe7a48fdd6eee4642.jpg","text":"TemporaryFile(/tmp/multipartBody2854444512904451007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432844609,"filename":"image_25112025_18_49_54_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e665bcdcc21057fe4c3928901f72a28.jpg","text":"TemporaryFile(/tmp/multipartBody4639036918990607299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432844609,"filename":"image_25112025_18_49_47_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d73b1fa3f61ee82625ed82cab8fdb34a.jpg","text":"TemporaryFile(/tmp/multipartBody6573046864947159181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432844609,"filename":"image_25112025_18_50_00_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396917710","file1":"1396917671","file0":"1396917659","file4":"1396917806","file5":"1396917866","file3":"1396917747"},"map_files_photo_id_array":[{"photo_id":"1396917866","filename":"file5"},{"photo_id":"1396917710","filename":"file2"},{"photo_id":"1396917806","filename":"file4"},{"photo_id":"1396917671","filename":"file1"},{"photo_id":"1396917659","filename":"file0"},{"photo_id":"1396917747","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396917659":["hashtag1","hashtag2"]},{"1396917710":["hashtag1","hashtag2"]},{"1396917806":["hashtag1","hashtag2"]},{"1396917747":["hashtag1","hashtag2"]},{"1396917671":["hashtag1","hashtag2"]},{"1396917866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396917659, 1396917710, 1396917806, 1396917747, 1396917671, 1396917866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.344252824783325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:13:42.489329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_26_2624.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_29_3689.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_32_2778.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_35_2839.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_38_2738.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_41_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/10/13/image_31102025_10_13_26_2624.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_29_3689.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_32_2778.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_35_2839.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_38_2738.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_41_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":["1396918291","1396918060","1396918373","1396918097","1396918178","1396918238"],"photo_ids_order":["1396918060","1396918097","1396918178","1396918238","1396918291","1396918373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f85111f2fff75674597586dd3b8e0750.jpg","text":"TemporaryFile(/tmp/multipartBody4277565776906702057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432883670,"filename":"image_31102025_10_13_38_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcc164702bf54514e1ec75e02b33136c.jpg","text":"TemporaryFile(/tmp/multipartBody3930381972524992477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432883670,"filename":"image_31102025_10_13_26_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86f1cbbfb4407d20f5c81cf12a1d5923.jpg","text":"TemporaryFile(/tmp/multipartBody4289615152106087363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432883670,"filename":"image_31102025_10_13_41_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/489a18a612e5f196ed0f39f6e6cc691c.jpg","text":"TemporaryFile(/tmp/multipartBody5361172620946269537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432883670,"filename":"image_31102025_10_13_29_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87b67537938206e605905d65032836ae.jpg","text":"TemporaryFile(/tmp/multipartBody694227672433675781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432883670,"filename":"image_31102025_10_13_32_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f776b8b95f6484d1d7f84e99807e460f.jpg","text":"TemporaryFile(/tmp/multipartBody7318523167068282017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432883670,"filename":"image_31102025_10_13_35_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396918178","file1":"1396918097","file0":"1396918060","file4":"1396918291","file5":"1396918373","file3":"1396918238"},"map_files_photo_id_array":[{"photo_id":"1396918373","filename":"file5"},{"photo_id":"1396918178","filename":"file2"},{"photo_id":"1396918291","filename":"file4"},{"photo_id":"1396918097","filename":"file1"},{"photo_id":"1396918060","filename":"file0"},{"photo_id":"1396918238","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396918291":["hashtag1","hashtag2"]},{"1396918060":["hashtag1","hashtag2"]},{"1396918373":["hashtag1","hashtag2"]},{"1396918097":["hashtag1","hashtag2"]},{"1396918178":["hashtag1","hashtag2"]},{"1396918238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396918291, 1396918060, 1396918373, 1396918097, 1396918178, 1396918238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.317676305770874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:14:22.718868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/12/image_29112025_17_12_14_9758.jpg', '/home/pi/Desktop/images/29112025/17/13/image_29112025_17_13_15_9855.jpg', '/home/pi/Desktop/images/29112025/17/14/image_29112025_17_14_15_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/12/image_29112025_17_12_14_9758.jpg
/home/pi/Desktop/images/29112025/17/13/image_29112025_17_13_15_9855.jpg
/home/pi/Desktop/images/29112025/17/14/image_29112025_17_14_15_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":["1396918918","1396918695","1396918826"],"photo_ids_order":["1396918695","1396918826","1396918918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7173136b77df8a8c93e912e5b64a3db4.jpg","text":"TemporaryFile(/tmp/multipartBody8962964492165565981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432923288,"filename":"image_29112025_17_14_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/11/29/78a637fe7ca263c837513a34ca50cbd5.jpg","text":"TemporaryFile(/tmp/multipartBody8106954106004876421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432923288,"filename":"image_29112025_17_12_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/11/29/9150a1a2f5f27e20ef647e26a6eda789.jpg","text":"TemporaryFile(/tmp/multipartBody1752834287628493352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432923288,"filename":"image_29112025_17_13_15_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396918918","file1":"1396918826","file0":"1396918695"},"map_files_photo_id_array":[{"photo_id":"1396918918","filename":"file2"},{"photo_id":"1396918826","filename":"file1"},{"photo_id":"1396918695","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396918918":["hashtag1","hashtag2"]},{"1396918695":["hashtag1","hashtag2"]},{"1396918826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396918918, 1396918695, 1396918826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.22771191596985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:15:02.660931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_02_2655.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_06_3661.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_09_2684.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_11_2655.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_15_3668.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_18_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_02_2655.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_06_3661.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_09_2684.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_11_2655.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_15_3668.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_18_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396919862","1396919628","1396919459","1396919549","1396919779","1396919695"],"photo_ids_order":["1396919459","1396919549","1396919628","1396919695","1396919779","1396919862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0171cd524cac2c5da0cb882f3821fd17.jpg","text":"TemporaryFile(/tmp/multipartBody5155533419540616243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432964265,"filename":"image_25112025_18_50_18_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec207c0b88daad6a47c28c18db5eaaf5.jpg","text":"TemporaryFile(/tmp/multipartBody6058819025448399113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432964265,"filename":"image_25112025_18_50_09_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2b63ad6678168459513dbe287385b02.jpg","text":"TemporaryFile(/tmp/multipartBody8555027322802222643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432964265,"filename":"image_25112025_18_50_02_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0f42d1b44f41dcd30a3ca53817a3f61.jpg","text":"TemporaryFile(/tmp/multipartBody4546087949082179913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432964265,"filename":"image_25112025_18_50_06_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d913f51257975365f7a3102f0c1f7e17.jpg","text":"TemporaryFile(/tmp/multipartBody1186707011847151961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432964265,"filename":"image_25112025_18_50_15_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec45cb5127eb80e1e28327b9c682c9b0.jpg","text":"TemporaryFile(/tmp/multipartBody5033748612712310887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764432964265,"filename":"image_25112025_18_50_11_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396919628","file1":"1396919549","file0":"1396919459","file4":"1396919779","file5":"1396919862","file3":"1396919695"},"map_files_photo_id_array":[{"photo_id":"1396919862","filename":"file5"},{"photo_id":"1396919628","filename":"file2"},{"photo_id":"1396919779","filename":"file4"},{"photo_id":"1396919549","filename":"file1"},{"photo_id":"1396919459","filename":"file0"},{"photo_id":"1396919695","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396919862":["hashtag1","hashtag2"]},{"1396919628":["hashtag1","hashtag2"]},{"1396919459":["hashtag1","hashtag2"]},{"1396919549":["hashtag1","hashtag2"]},{"1396919779":["hashtag1","hashtag2"]},{"1396919695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396919862, 1396919628, 1396919459, 1396919549, 1396919779, 1396919695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.659722328186035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:15:41.841537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_44_2786.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_47_2605.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_50_3691.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_53_2834.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_56_2788.jpg', '/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_59_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_44_2786.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_47_2605.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_50_3691.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_53_2834.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_56_2788.jpg
/home/pi/Desktop/images/31102025/10/13/image_31102025_10_13_59_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396920602","1396920502","1396920100","1396920183","1396920392","1396920284"],"photo_ids_order":["1396920100","1396920183","1396920284","1396920392","1396920502","1396920602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4bd77861f5070813c0d2638ab952678d.jpg","text":"TemporaryFile(/tmp/multipartBody4221396500484113604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433003011,"filename":"image_31102025_10_13_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/11/29/4ad4d4a0dae46f441fa65763fc82de5d.jpg","text":"TemporaryFile(/tmp/multipartBody2210118812227105175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433003011,"filename":"image_31102025_10_13_56_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c2cb7e20a85f399bf8678774d092cfc.jpg","text":"TemporaryFile(/tmp/multipartBody3129469729499509144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433003011,"filename":"image_31102025_10_13_44_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58a75d464fb6f34136652286c66cf4c8.jpg","text":"TemporaryFile(/tmp/multipartBody2771860531294011163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433003011,"filename":"image_31102025_10_13_47_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ae17816391791528d13da4dc026e08a.jpg","text":"TemporaryFile(/tmp/multipartBody1520033595044755223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433003011,"filename":"image_31102025_10_13_53_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d959bd5e2efd0d7a1a7525eb4e6cc9d.jpg","text":"TemporaryFile(/tmp/multipartBody5818495682482532033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433003011,"filename":"image_31102025_10_13_50_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396920284","file1":"1396920183","file0":"1396920100","file4":"1396920502","file5":"1396920602","file3":"1396920392"},"map_files_photo_id_array":[{"photo_id":"1396920602","filename":"file5"},{"photo_id":"1396920284","filename":"file2"},{"photo_id":"1396920502","filename":"file4"},{"photo_id":"1396920183","filename":"file1"},{"photo_id":"1396920100","filename":"file0"},{"photo_id":"1396920392","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396920602":["hashtag1","hashtag2"]},{"1396920502":["hashtag1","hashtag2"]},{"1396920100":["hashtag1","hashtag2"]},{"1396920183":["hashtag1","hashtag2"]},{"1396920392":["hashtag1","hashtag2"]},{"1396920284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396920602, 1396920502, 1396920100, 1396920183, 1396920392, 1396920284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95989656448364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:16:22.119397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_24_3577.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_29_2610.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_33_3835.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_36_2616.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_38_2737.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_41_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_24_3577.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_29_2610.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_33_3835.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_36_2616.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_38_2737.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_41_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":["1396921240","1396921165","1396921039","1396920961","1396921306","1396921093"],"photo_ids_order":["1396920961","1396921039","1396921093","1396921165","1396921240","1396921306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57d0b2a2c69f21ec673f385179e4312f.jpg","text":"TemporaryFile(/tmp/multipartBody2411325100271721228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433044274,"filename":"image_25112025_18_50_38_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8f1aef596f81bf9a5c070cad60d5afe.jpg","text":"TemporaryFile(/tmp/multipartBody3679291204147715352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433044274,"filename":"image_25112025_18_50_36_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2dcbed015a15705cc71b2fa0cb47ff86.jpg","text":"TemporaryFile(/tmp/multipartBody7654928833342538948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433044274,"filename":"image_25112025_18_50_29_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7332510aeb92cf32803cc735bbe05883.jpg","text":"TemporaryFile(/tmp/multipartBody8167316899256410079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433044274,"filename":"image_25112025_18_50_24_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c480492ec7928e36550a9293301d837.jpg","text":"TemporaryFile(/tmp/multipartBody1010648895752044799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433044274,"filename":"image_25112025_18_50_41_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2070c7608ea48bbc1ebe6b1974d1ad1d.jpg","text":"TemporaryFile(/tmp/multipartBody6770951344803550422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433044274,"filename":"image_25112025_18_50_33_3835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396921093","file1":"1396921039","file0":"1396920961","file4":"1396921240","file5":"1396921306","file3":"1396921165"},"map_files_photo_id_array":[{"photo_id":"1396921306","filename":"file5"},{"photo_id":"1396921093","filename":"file2"},{"photo_id":"1396921240","filename":"file4"},{"photo_id":"1396921039","filename":"file1"},{"photo_id":"1396920961","filename":"file0"},{"photo_id":"1396921165","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396921240":["hashtag1","hashtag2"]},{"1396921165":["hashtag1","hashtag2"]},{"1396921039":["hashtag1","hashtag2"]},{"1396920961":["hashtag1","hashtag2"]},{"1396921306":["hashtag1","hashtag2"]},{"1396921093":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396921240, 1396921165, 1396921039, 1396920961, 1396921306, 1396921093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29095816612244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:17:02.935294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_45_3624.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_47_2616.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_54_2600.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_56_2603.jpg', '/home/pi/Desktop/images/25112025/18/50/image_25112025_18_51_00_3562.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_02_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_45_3624.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_47_2616.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_54_2600.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_50_56_2603.jpg
/home/pi/Desktop/images/25112025/18/50/image_25112025_18_51_00_3562.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_02_2541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396921963","1396921813","1396921626","1396921757","1396921891","1396921703"],"photo_ids_order":["1396921626","1396921703","1396921757","1396921813","1396921891","1396921963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/325680a143da853b1d0b24dbc319f7b4.jpg","text":"TemporaryFile(/tmp/multipartBody5164965797408594322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433084544,"filename":"image_25112025_18_51_02_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cb94350c91351e16a9735eb00faddde.jpg","text":"TemporaryFile(/tmp/multipartBody2895034134852231346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433084544,"filename":"image_25112025_18_50_56_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/427f80ea1c5a9387673fbe793952ac86.jpg","text":"TemporaryFile(/tmp/multipartBody4535410360816128470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433084544,"filename":"image_25112025_18_50_45_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6a3d7193f25e2f2d66f700ca688da62.jpg","text":"TemporaryFile(/tmp/multipartBody3961448206219534190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433084544,"filename":"image_25112025_18_50_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/11/29/f829401f1c808246bf989cfce880f162.jpg","text":"TemporaryFile(/tmp/multipartBody7854948490154335667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433084544,"filename":"image_25112025_18_51_00_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80848e81997bd85cc740d0d363acbf61.jpg","text":"TemporaryFile(/tmp/multipartBody8367776689148062031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433084544,"filename":"image_25112025_18_50_47_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396921757","file1":"1396921703","file0":"1396921626","file4":"1396921891","file5":"1396921963","file3":"1396921813"},"map_files_photo_id_array":[{"photo_id":"1396921963","filename":"file5"},{"photo_id":"1396921757","filename":"file2"},{"photo_id":"1396921891","filename":"file4"},{"photo_id":"1396921703","filename":"file1"},{"photo_id":"1396921626","filename":"file0"},{"photo_id":"1396921813","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396921963":["hashtag1","hashtag2"]},{"1396921813":["hashtag1","hashtag2"]},{"1396921626":["hashtag1","hashtag2"]},{"1396921757":["hashtag1","hashtag2"]},{"1396921891":["hashtag1","hashtag2"]},{"1396921703":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396921963, 1396921813, 1396921626, 1396921757, 1396921891, 1396921703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57215070724487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:17:42.184331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_02_3696.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_05_2730.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_08_2638.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_11_3655.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_14_2738.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_20_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/10/14/image_31102025_10_14_02_3696.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_05_2730.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_08_2638.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_11_3655.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_14_2738.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_20_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":["1396922499","1396922637","1396922570","1396922222","1396922423","1396922330"],"photo_ids_order":["1396922222","1396922330","1396922423","1396922499","1396922570","1396922637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ce4f0101a8d5a296905372e67056f50.jpg","text":"TemporaryFile(/tmp/multipartBody7593587403398467614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433123389,"filename":"image_31102025_10_14_11_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/308c2d7aa891165b3f3fbfe12facefa6.jpg","text":"TemporaryFile(/tmp/multipartBody8484073998781518801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433123389,"filename":"image_31102025_10_14_20_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1b65873f8cbb80cdbd233fa6b04c412.jpg","text":"TemporaryFile(/tmp/multipartBody1957543137815614890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433123389,"filename":"image_31102025_10_14_14_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75941c6677a95c851cf1dd87318a2f01.jpg","text":"TemporaryFile(/tmp/multipartBody2714370711877523809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433123389,"filename":"image_31102025_10_14_02_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb53b2890bddd717ae261e15be10c267.jpg","text":"TemporaryFile(/tmp/multipartBody5754774715326730198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433123389,"filename":"image_31102025_10_14_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/11/29/0e6e6c91143a7b4b2728a5b0c9a35c12.jpg","text":"TemporaryFile(/tmp/multipartBody1781206423638787949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433123389,"filename":"image_31102025_10_14_05_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396922423","file1":"1396922330","file0":"1396922222","file4":"1396922570","file5":"1396922637","file3":"1396922499"},"map_files_photo_id_array":[{"photo_id":"1396922637","filename":"file5"},{"photo_id":"1396922423","filename":"file2"},{"photo_id":"1396922570","filename":"file4"},{"photo_id":"1396922330","filename":"file1"},{"photo_id":"1396922222","filename":"file0"},{"photo_id":"1396922499","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396922499":["hashtag1","hashtag2"]},{"1396922637":["hashtag1","hashtag2"]},{"1396922570":["hashtag1","hashtag2"]},{"1396922222":["hashtag1","hashtag2"]},{"1396922423":["hashtag1","hashtag2"]},{"1396922330":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396922499, 1396922637, 1396922570, 1396922222, 1396922423, 1396922330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.077431201934814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:18:22.389291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/14/image_29112025_17_14_25_9699.jpg', '/home/pi/Desktop/images/29112025/17/17/image_29112025_17_17_24_9612.jpg', '/home/pi/Desktop/images/29112025/17/18/image_29112025_17_18_15_9765.jpg', '/home/pi/Desktop/images/29112025/17/18/image_29112025_17_18_24_9721.jpg', '/home/pi/Desktop/images/29112025/17/18/image_29112025_17_18_34_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/14/image_29112025_17_14_25_9699.jpg
/home/pi/Desktop/images/29112025/17/17/image_29112025_17_17_24_9612.jpg
/home/pi/Desktop/images/29112025/17/18/image_29112025_17_18_15_9765.jpg
/home/pi/Desktop/images/29112025/17/18/image_29112025_17_18_24_9721.jpg
/home/pi/Desktop/images/29112025/17/18/image_29112025_17_18_34_9815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396922898","1396922886","1396922960","1396922930","1396922884"],"photo_ids_order":["1396922884","1396922886","1396922898","1396922930","1396922960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecde5a75b6e6e9c46b722ca129d2d7cf.jpg","text":"TemporaryFile(/tmp/multipartBody221076555608168414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433163019,"filename":"image_29112025_17_18_15_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b14743c7a910e0e578703f4e9d50acc9.jpg","text":"TemporaryFile(/tmp/multipartBody9034118026422279894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433163019,"filename":"image_29112025_17_17_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/091ca8a7b4d816f21e621cb767eb3513.jpg","text":"TemporaryFile(/tmp/multipartBody3145951101229842301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433163019,"filename":"image_29112025_17_18_34_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d7ea1ea6c509a15f73b79f05aea9a17.jpg","text":"TemporaryFile(/tmp/multipartBody8499221940886919197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433163019,"filename":"image_29112025_17_18_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ea8cc6349b196a5c96baf065dfcb551.jpg","text":"TemporaryFile(/tmp/multipartBody4348466541106964514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433163019,"filename":"image_29112025_17_14_25_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396922898","file1":"1396922886","file0":"1396922884","file4":"1396922960","file3":"1396922930"},"map_files_photo_id_array":[{"photo_id":"1396922898","filename":"file2"},{"photo_id":"1396922960","filename":"file4"},{"photo_id":"1396922886","filename":"file1"},{"photo_id":"1396922884","filename":"file0"},{"photo_id":"1396922930","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396922898":["hashtag1","hashtag2"]},{"1396922886":["hashtag1","hashtag2"]},{"1396922960":["hashtag1","hashtag2"]},{"1396922930":["hashtag1","hashtag2"]},{"1396922884":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396922898, 1396922886, 1396922960, 1396922930, 1396922884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.651252269744873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:19:03.558347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_06_3661.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_09_2597.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_12_3527.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_15_2785.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_18_2883.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_21_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_06_3661.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_09_2597.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_12_3527.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_15_2785.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_18_2883.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_21_2810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923030","1396923032","1396923035","1396923029","1396923038","1396923028"],"photo_ids_order":["1396923028","1396923029","1396923030","1396923032","1396923035","1396923038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad155e0b05c727e5496e4a2b16aab14e.jpg","text":"TemporaryFile(/tmp/multipartBody730584519343903756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433205293,"filename":"image_25112025_18_51_12_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbd4720a4b842011e4a24fac2c74b4a0.jpg","text":"TemporaryFile(/tmp/multipartBody4275531772798555697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433205293,"filename":"image_25112025_18_51_15_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/601a2a3b04e585ad03569f46d09d3299.jpg","text":"TemporaryFile(/tmp/multipartBody8129308963266900269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433205293,"filename":"image_25112025_18_51_18_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e265eb7b654d94a92929320254feaf5.jpg","text":"TemporaryFile(/tmp/multipartBody1128617971002353041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433205293,"filename":"image_25112025_18_51_09_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b038cbfecc10a91f59bbeb5bd0e9339.jpg","text":"TemporaryFile(/tmp/multipartBody8283381603209526437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433205293,"filename":"image_25112025_18_51_21_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1df2b96763f36b7764514f5262868ba6.jpg","text":"TemporaryFile(/tmp/multipartBody1499579145474282894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433205293,"filename":"image_25112025_18_51_06_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923030","file1":"1396923029","file0":"1396923028","file4":"1396923035","file5":"1396923038","file3":"1396923032"},"map_files_photo_id_array":[{"photo_id":"1396923038","filename":"file5"},{"photo_id":"1396923030","filename":"file2"},{"photo_id":"1396923035","filename":"file4"},{"photo_id":"1396923029","filename":"file1"},{"photo_id":"1396923028","filename":"file0"},{"photo_id":"1396923032","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396923030":["hashtag1","hashtag2"]},{"1396923032":["hashtag1","hashtag2"]},{"1396923035":["hashtag1","hashtag2"]},{"1396923029":["hashtag1","hashtag2"]},{"1396923038":["hashtag1","hashtag2"]},{"1396923028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396923030, 1396923032, 1396923035, 1396923029, 1396923038, 1396923028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25665593147278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:19:42.713513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_23_3738.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_26_2660.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_29_2670.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_32_3706.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_35_2597.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_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/10/14/image_31102025_10_14_23_3738.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_26_2660.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_29_2670.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_32_3706.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_35_2597.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_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
<Response [200]>
b'{"photo_ids":["1396923158","1396923347","1396923269","1396923193","1396923307","1396923229"],"photo_ids_order":["1396923158","1396923193","1396923229","1396923269","1396923307","1396923347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09f2105fba5d70cd1c42eb9d79db1f77.jpg","text":"TemporaryFile(/tmp/multipartBody1825705321252222792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433243911,"filename":"image_31102025_10_14_23_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c04eba5f67733a3724549ba340057227.jpg","text":"TemporaryFile(/tmp/multipartBody3530281878928991967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433243911,"filename":"image_31102025_10_14_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/11/29/f9996d049f41911ac885e5360d7098dc.jpg","text":"TemporaryFile(/tmp/multipartBody5571322624005657882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433243911,"filename":"image_31102025_10_14_32_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9556e86b7b7f61d11dcb0b3cf856480f.jpg","text":"TemporaryFile(/tmp/multipartBody818132757153727355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433243911,"filename":"image_31102025_10_14_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/11/29/f076d3662e10d67c7c195656de5b7c7f.jpg","text":"TemporaryFile(/tmp/multipartBody7070545631848956838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433243911,"filename":"image_31102025_10_14_35_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/770bcc55b6a2913039a3d1be93ca13e4.jpg","text":"TemporaryFile(/tmp/multipartBody4921099221514155765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433243911,"filename":"image_31102025_10_14_29_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923229","file1":"1396923193","file0":"1396923158","file4":"1396923307","file5":"1396923347","file3":"1396923269"},"map_files_photo_id_array":[{"photo_id":"1396923347","filename":"file5"},{"photo_id":"1396923229","filename":"file2"},{"photo_id":"1396923307","filename":"file4"},{"photo_id":"1396923193","filename":"file1"},{"photo_id":"1396923158","filename":"file0"},{"photo_id":"1396923269","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396923158":["hashtag1","hashtag2"]},{"1396923347":["hashtag1","hashtag2"]},{"1396923269":["hashtag1","hashtag2"]},{"1396923193":["hashtag1","hashtag2"]},{"1396923307":["hashtag1","hashtag2"]},{"1396923229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396923158, 1396923347, 1396923269, 1396923193, 1396923307, 1396923229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26271200180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:20:21.992594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/18/image_29112025_17_18_45_10701.jpg', '/home/pi/Desktop/images/29112025/17/18/image_29112025_17_19_04_9642.jpg', '/home/pi/Desktop/images/29112025/17/19/image_29112025_17_19_15_10724.jpg', '/home/pi/Desktop/images/29112025/17/19/image_29112025_17_19_34_9631.jpg', '/home/pi/Desktop/images/29112025/17/20/image_29112025_17_20_15_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/18/image_29112025_17_18_45_10701.jpg
/home/pi/Desktop/images/29112025/17/18/image_29112025_17_19_04_9642.jpg
/home/pi/Desktop/images/29112025/17/19/image_29112025_17_19_15_10724.jpg
/home/pi/Desktop/images/29112025/17/19/image_29112025_17_19_34_9631.jpg
/home/pi/Desktop/images/29112025/17/20/image_29112025_17_20_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":["1396923426","1396923429","1396923443","1396923496","1396923484"],"photo_ids_order":["1396923426","1396923429","1396923443","1396923484","1396923496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e607b199a004e43bed33a97723c30e7d.jpg","text":"TemporaryFile(/tmp/multipartBody3393766432629715692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433282655,"filename":"image_29112025_17_18_45_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d37a7f5519d0409496a63e3ba632f49.jpg","text":"TemporaryFile(/tmp/multipartBody529389812271671169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433282655,"filename":"image_29112025_17_19_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/11/29/258fb029aaf6e653e90e923a42cdc78a.jpg","text":"TemporaryFile(/tmp/multipartBody8609879680470508675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433282655,"filename":"image_29112025_17_19_15_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d144d7b704800bf3a69da3653026ba6.jpg","text":"TemporaryFile(/tmp/multipartBody893976413643532692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433282655,"filename":"image_29112025_17_20_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/11/29/d7227147e01240beab0947f1c3b0eb66.jpg","text":"TemporaryFile(/tmp/multipartBody3251012820357642032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433282655,"filename":"image_29112025_17_19_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923443","file1":"1396923429","file0":"1396923426","file4":"1396923496","file3":"1396923484"},"map_files_photo_id_array":[{"photo_id":"1396923443","filename":"file2"},{"photo_id":"1396923496","filename":"file4"},{"photo_id":"1396923429","filename":"file1"},{"photo_id":"1396923426","filename":"file0"},{"photo_id":"1396923484","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396923426":["hashtag1","hashtag2"]},{"1396923429":["hashtag1","hashtag2"]},{"1396923443":["hashtag1","hashtag2"]},{"1396923496":["hashtag1","hashtag2"]},{"1396923484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396923426, 1396923429, 1396923443, 1396923496, 1396923484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.38182497024536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:21:02.729600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_23_2636.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_27_3808.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_30_2611.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_32_2641.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_39_2824.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_42_2957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_23_2636.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_27_3808.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_30_2611.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_32_2641.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_39_2824.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_42_2957.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923593","1396923595","1396923592","1396923640","1396923687","1396923591"],"photo_ids_order":["1396923591","1396923592","1396923593","1396923595","1396923640","1396923687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88577551173ab1a2d335c1588f21179a.jpg","text":"TemporaryFile(/tmp/multipartBody6470631344888709293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433327212,"filename":"image_25112025_18_51_30_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54b7688160c548c5285b124de13a1ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2187582033495206604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433327212,"filename":"image_25112025_18_51_32_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ae94aead07a37def4746002abc586c5.jpg","text":"TemporaryFile(/tmp/multipartBody3530309667478266667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433327212,"filename":"image_25112025_18_51_27_3808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73b6637998240b1a28b7b2d11089c8af.jpg","text":"TemporaryFile(/tmp/multipartBody1121664233027908137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433327212,"filename":"image_25112025_18_51_39_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aef56b52700faa8805b479970ddeb16d.jpg","text":"TemporaryFile(/tmp/multipartBody2824051467554355774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433327212,"filename":"image_25112025_18_51_42_2957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a41acc59e0571c90869ec083cc0c8e64.jpg","text":"TemporaryFile(/tmp/multipartBody3572881317384969272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433327212,"filename":"image_25112025_18_51_23_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923593","file1":"1396923592","file0":"1396923591","file4":"1396923640","file5":"1396923687","file3":"1396923595"},"map_files_photo_id_array":[{"photo_id":"1396923687","filename":"file5"},{"photo_id":"1396923593","filename":"file2"},{"photo_id":"1396923640","filename":"file4"},{"photo_id":"1396923592","filename":"file1"},{"photo_id":"1396923591","filename":"file0"},{"photo_id":"1396923595","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396923593":["hashtag1","hashtag2"]},{"1396923595":["hashtag1","hashtag2"]},{"1396923592":["hashtag1","hashtag2"]},{"1396923640":["hashtag1","hashtag2"]},{"1396923687":["hashtag1","hashtag2"]},{"1396923591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396923593, 1396923595, 1396923592, 1396923640, 1396923687, 1396923591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6598060131073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:22:02.690441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/20/image_29112025_17_20_35_9679.jpg', '/home/pi/Desktop/images/29112025/17/21/image_29112025_17_21_15_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/20/image_29112025_17_20_35_9679.jpg
/home/pi/Desktop/images/29112025/17/21/image_29112025_17_21_15_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923740","1396923742"],"photo_ids_order":["1396923740","1396923742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35bca2eaa0816cf1f8c4a7b9828ac0b0.jpg","text":"TemporaryFile(/tmp/multipartBody1780684844262889158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433383228,"filename":"image_29112025_17_20_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7a6963a1d7a6e7e30b641711ef26828.jpg","text":"TemporaryFile(/tmp/multipartBody3403902921934277325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433383228,"filename":"image_29112025_17_21_15_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396923742","file0":"1396923740"},"map_files_photo_id_array":[{"photo_id":"1396923742","filename":"file1"},{"photo_id":"1396923740","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396923740":["hashtag1","hashtag2"]},{"1396923742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396923740, 1396923742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.475286722183228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:22:22.191050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_45_2792.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_47_2644.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_51_3568.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_53_2610.jpg', '/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_56_2705.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_02_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_45_2792.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_47_2644.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_51_3568.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_53_2610.jpg
/home/pi/Desktop/images/25112025/18/51/image_25112025_18_51_56_2705.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_02_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":["1396923759","1396923764","1396923767","1396923761","1396923753","1396923756"],"photo_ids_order":["1396923753","1396923756","1396923759","1396923761","1396923764","1396923767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36814cd1de6dbcb077a65ccf6a67454b.jpg","text":"TemporaryFile(/tmp/multipartBody3873313776376009690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433404337,"filename":"image_25112025_18_51_51_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edbe41ddeb9e45834b00fac0f9331f53.jpg","text":"TemporaryFile(/tmp/multipartBody4889275544766944528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433404337,"filename":"image_25112025_18_51_56_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/daefe495eb77b459e6b4a222ebdac6a0.jpg","text":"TemporaryFile(/tmp/multipartBody5735348305472164005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433404337,"filename":"image_25112025_18_52_02_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8f9d77c83f30a79d8c4ff70be3c212f.jpg","text":"TemporaryFile(/tmp/multipartBody7625156757939839695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433404337,"filename":"image_25112025_18_51_53_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c311e32c237d4240882bb1cd6c330bd2.jpg","text":"TemporaryFile(/tmp/multipartBody6162268020121520339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433404337,"filename":"image_25112025_18_51_45_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/907caa2ecbe96708cf472a583961f51e.jpg","text":"TemporaryFile(/tmp/multipartBody7855647047695769649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433404337,"filename":"image_25112025_18_51_47_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923759","file1":"1396923756","file0":"1396923753","file4":"1396923764","file5":"1396923767","file3":"1396923761"},"map_files_photo_id_array":[{"photo_id":"1396923767","filename":"file5"},{"photo_id":"1396923759","filename":"file2"},{"photo_id":"1396923764","filename":"file4"},{"photo_id":"1396923756","filename":"file1"},{"photo_id":"1396923753","filename":"file0"},{"photo_id":"1396923761","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396923759":["hashtag1","hashtag2"]},{"1396923764":["hashtag1","hashtag2"]},{"1396923767":["hashtag1","hashtag2"]},{"1396923761":["hashtag1","hashtag2"]},{"1396923753":["hashtag1","hashtag2"]},{"1396923756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396923759, 1396923764, 1396923767, 1396923761, 1396923753, 1396923756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.623002767562866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:23:03.083747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_05_2800.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_09_3516.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_11_2517.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_15_3610.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_18_3125.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_21_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_05_2800.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_09_3516.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_11_2517.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_15_3610.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_18_3125.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_21_2691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923810","1396923807","1396923814","1396923808","1396923802","1396923805"],"photo_ids_order":["1396923802","1396923805","1396923807","1396923808","1396923810","1396923814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d2033c7c8649906c70f8cb012988807.jpg","text":"TemporaryFile(/tmp/multipartBody7291122116331749874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433444731,"filename":"image_25112025_18_52_18_3125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb42f33fb4a1512b84661bb87fb7e90b.jpg","text":"TemporaryFile(/tmp/multipartBody765525705786344965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433444731,"filename":"image_25112025_18_52_11_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32121848aabdf47a7e13bff8886841d7.jpg","text":"TemporaryFile(/tmp/multipartBody2350997020800730372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433444731,"filename":"image_25112025_18_52_21_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6938b49b69167bd650d946128d0fa389.jpg","text":"TemporaryFile(/tmp/multipartBody4759907996774982184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433444731,"filename":"image_25112025_18_52_15_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61a0d34d97c7ef485ecc7874369db94e.jpg","text":"TemporaryFile(/tmp/multipartBody2370095877346437817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433444731,"filename":"image_25112025_18_52_05_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca39c675d6ad8340fb5350958603547f.jpg","text":"TemporaryFile(/tmp/multipartBody793851029097893676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433444731,"filename":"image_25112025_18_52_09_3516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923807","file1":"1396923805","file0":"1396923802","file4":"1396923810","file5":"1396923814","file3":"1396923808"},"map_files_photo_id_array":[{"photo_id":"1396923814","filename":"file5"},{"photo_id":"1396923807","filename":"file2"},{"photo_id":"1396923810","filename":"file4"},{"photo_id":"1396923805","filename":"file1"},{"photo_id":"1396923802","filename":"file0"},{"photo_id":"1396923808","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396923810":["hashtag1","hashtag2"]},{"1396923807":["hashtag1","hashtag2"]},{"1396923814":["hashtag1","hashtag2"]},{"1396923808":["hashtag1","hashtag2"]},{"1396923802":["hashtag1","hashtag2"]},{"1396923805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396923810, 1396923807, 1396923814, 1396923808, 1396923802, 1396923805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16066217422485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:23:42.338663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_41_3719.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_44_2732.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_47_2662.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_53_2832.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_56_3670.jpg', '/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_59_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/10/14/image_31102025_10_14_41_3719.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_44_2732.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_47_2662.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_53_2832.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_56_3670.jpg
/home/pi/Desktop/images/31102025/10/14/image_31102025_10_14_59_2816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923822","1396923825","1396923828","1396923824","1396923826","1396923823"],"photo_ids_order":["1396923822","1396923823","1396923824","1396923825","1396923826","1396923828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6030f9e802ebb56c8cd008098f61662c.jpg","text":"TemporaryFile(/tmp/multipartBody3204963182203089940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433483512,"filename":"image_31102025_10_14_41_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e7d927caa9feea6f70216a0f1d16cdb.jpg","text":"TemporaryFile(/tmp/multipartBody1838768688955972100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433483512,"filename":"image_31102025_10_14_53_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6552194b6f4091d2ef4f6d46931c7b3.jpg","text":"TemporaryFile(/tmp/multipartBody8640197304998234933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433483512,"filename":"image_31102025_10_14_59_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dbe3352bda2ad6a09d095fb5ca12bc62.jpg","text":"TemporaryFile(/tmp/multipartBody2047657846057919458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433483512,"filename":"image_31102025_10_14_47_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/560bf9253b5d91147d37dc0da9543d03.jpg","text":"TemporaryFile(/tmp/multipartBody2291126489610803310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433483512,"filename":"image_31102025_10_14_56_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/832f2aa2fd1c0603a6168c1500644912.jpg","text":"TemporaryFile(/tmp/multipartBody4863479801536506331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433483512,"filename":"image_31102025_10_14_44_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923824","file1":"1396923823","file0":"1396923822","file4":"1396923826","file5":"1396923828","file3":"1396923825"},"map_files_photo_id_array":[{"photo_id":"1396923828","filename":"file5"},{"photo_id":"1396923824","filename":"file2"},{"photo_id":"1396923826","filename":"file4"},{"photo_id":"1396923823","filename":"file1"},{"photo_id":"1396923822","filename":"file0"},{"photo_id":"1396923825","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396923822":["hashtag1","hashtag2"]},{"1396923825":["hashtag1","hashtag2"]},{"1396923828":["hashtag1","hashtag2"]},{"1396923824":["hashtag1","hashtag2"]},{"1396923826":["hashtag1","hashtag2"]},{"1396923823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396923822, 1396923825, 1396923828, 1396923824, 1396923826, 1396923823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13733792304993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:24:22.486517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/21/image_29112025_17_21_36_10701.jpg', '/home/pi/Desktop/images/29112025/17/22/image_29112025_17_23_06_10617.jpg', '/home/pi/Desktop/images/29112025/17/23/image_29112025_17_23_45_10628.jpg', '/home/pi/Desktop/images/29112025/17/24/image_29112025_17_24_15_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/21/image_29112025_17_21_36_10701.jpg
/home/pi/Desktop/images/29112025/17/22/image_29112025_17_23_06_10617.jpg
/home/pi/Desktop/images/29112025/17/23/image_29112025_17_23_45_10628.jpg
/home/pi/Desktop/images/29112025/17/24/image_29112025_17_24_15_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":["1396923838","1396923832","1396923841","1396923835"],"photo_ids_order":["1396923832","1396923835","1396923838","1396923841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17811bce809636cba8b96e4551e2ba73.jpg","text":"TemporaryFile(/tmp/multipartBody5306168109104228337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433523086,"filename":"image_29112025_17_23_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/11/29/cdec6ba9980aac64612ff2f9325ce4e5.jpg","text":"TemporaryFile(/tmp/multipartBody1004032526869641312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433523086,"filename":"image_29112025_17_21_36_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a590ac4a05a1930cd276d24539cec8e9.jpg","text":"TemporaryFile(/tmp/multipartBody7884478809412962940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433523086,"filename":"image_29112025_17_24_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1528db6af544056997a9103b57d7a50.jpg","text":"TemporaryFile(/tmp/multipartBody961973320478857463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433523086,"filename":"image_29112025_17_23_06_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923838","file1":"1396923835","file0":"1396923832","file3":"1396923841"},"map_files_photo_id_array":[{"photo_id":"1396923838","filename":"file2"},{"photo_id":"1396923835","filename":"file1"},{"photo_id":"1396923832","filename":"file0"},{"photo_id":"1396923841","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396923838":["hashtag1","hashtag2"]},{"1396923832":["hashtag1","hashtag2"]},{"1396923841":["hashtag1","hashtag2"]},{"1396923835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396923838, 1396923832, 1396923841, 1396923835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.328365087509155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:25:03.357994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_27_3650.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_29_2596.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_32_2783.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_36_3728.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_40_3694.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_41_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_27_3650.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_29_2596.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_32_2783.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_36_3728.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_40_3694.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_41_1592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923846","1396923845","1396923854","1396923848","1396923850","1396923847"],"photo_ids_order":["1396923845","1396923846","1396923847","1396923848","1396923850","1396923854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/958c664d1bb610354edee08aacbbd6e5.jpg","text":"TemporaryFile(/tmp/multipartBody8928456222739291641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433564985,"filename":"image_25112025_18_52_29_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c9e40dc1bf83d01dad2845bd0525021.jpg","text":"TemporaryFile(/tmp/multipartBody1043639466796926903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433564985,"filename":"image_25112025_18_52_27_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75431c84c96bf3b3d9e2fa7072e2aef7.jpg","text":"TemporaryFile(/tmp/multipartBody5374468697245115630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433564985,"filename":"image_25112025_18_52_41_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/940dfdb908d383de7774ee46c72b9f14.jpg","text":"TemporaryFile(/tmp/multipartBody1143783502324842562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433564985,"filename":"image_25112025_18_52_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/11/29/ff0f7076cbe8afc50c8c70dd40fc7567.jpg","text":"TemporaryFile(/tmp/multipartBody400312180233599607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433564985,"filename":"image_25112025_18_52_40_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f00cf3720a3af2c8568146708662c2e6.jpg","text":"TemporaryFile(/tmp/multipartBody6928171761785074479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433564985,"filename":"image_25112025_18_52_32_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923847","file1":"1396923846","file0":"1396923845","file4":"1396923850","file5":"1396923854","file3":"1396923848"},"map_files_photo_id_array":[{"photo_id":"1396923854","filename":"file5"},{"photo_id":"1396923847","filename":"file2"},{"photo_id":"1396923850","filename":"file4"},{"photo_id":"1396923846","filename":"file1"},{"photo_id":"1396923845","filename":"file0"},{"photo_id":"1396923848","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396923846":["hashtag1","hashtag2"]},{"1396923845":["hashtag1","hashtag2"]},{"1396923854":["hashtag1","hashtag2"]},{"1396923848":["hashtag1","hashtag2"]},{"1396923850":["hashtag1","hashtag2"]},{"1396923847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396923846, 1396923845, 1396923854, 1396923848, 1396923850, 1396923847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56000781059265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:25:42.782828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_07_3012.jpg', '/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_11_3810.jpg', '/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_13_2653.jpg', '/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_19_2780.jpg', '/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_23_3657.jpg', '/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_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/10/15/image_31102025_10_15_07_3012.jpg
/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_11_3810.jpg
/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_13_2653.jpg
/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_19_2780.jpg
/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_23_3657.jpg
/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_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":["1396923864","1396923863","1396923866","1396923868","1396923865","1396923867"],"photo_ids_order":["1396923863","1396923864","1396923865","1396923866","1396923867","1396923868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/615892e6b107e084251b35403d919eb3.jpg","text":"TemporaryFile(/tmp/multipartBody7451353008437323260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433603985,"filename":"image_31102025_10_15_11_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a635eba93ccc55bac9dd058b0159a9b.jpg","text":"TemporaryFile(/tmp/multipartBody480298720445715916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433603985,"filename":"image_31102025_10_15_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08871668da00974bae8f5aaf9afb6d62.jpg","text":"TemporaryFile(/tmp/multipartBody7845367286909909694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433603985,"filename":"image_31102025_10_15_19_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16b4359bc993a2337c4a64a6fb115f65.jpg","text":"TemporaryFile(/tmp/multipartBody8794967268656950691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433603985,"filename":"image_31102025_10_15_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/11/29/3dc029509a5ee22a00addcfeb90f2e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6611222363065081090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433603985,"filename":"image_31102025_10_15_13_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74262619c623924cfc24cd207d5c893a.jpg","text":"TemporaryFile(/tmp/multipartBody6110919944512403732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433603985,"filename":"image_31102025_10_15_23_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923865","file1":"1396923864","file0":"1396923863","file4":"1396923867","file5":"1396923868","file3":"1396923866"},"map_files_photo_id_array":[{"photo_id":"1396923868","filename":"file5"},{"photo_id":"1396923865","filename":"file2"},{"photo_id":"1396923867","filename":"file4"},{"photo_id":"1396923864","filename":"file1"},{"photo_id":"1396923863","filename":"file0"},{"photo_id":"1396923866","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396923864":["hashtag1","hashtag2"]},{"1396923863":["hashtag1","hashtag2"]},{"1396923866":["hashtag1","hashtag2"]},{"1396923868":["hashtag1","hashtag2"]},{"1396923865":["hashtag1","hashtag2"]},{"1396923867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396923864, 1396923863, 1396923866, 1396923868, 1396923865, 1396923867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41153931617737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:26:21.922433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/24/image_29112025_17_24_35_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/24/image_29112025_17_24_35_9613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923870"],"photo_id":"1396923870","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f69a8e76ad955487a0722408027dc93f.jpg","text":"TemporaryFile(/tmp/multipartBody1968924379184734370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433642439,"filename":"image_29112025_17_24_35_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396923870"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396923870"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.438735485076904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:26:41.950411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/15/image_31102025_10_15_28_2701.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_07_2622.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_11_3631.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_13_2660.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_16_2616.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_20_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/10/15/image_31102025_10_15_28_2701.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_07_2622.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_11_3631.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_13_2660.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_16_2616.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_20_3700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923890","1396923887","1396923886","1396923883","1396923891","1396923888"],"photo_ids_order":["1396923883","1396923886","1396923887","1396923888","1396923890","1396923891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91a750b80fb4f9ae4894f05ed25f25d9.jpg","text":"TemporaryFile(/tmp/multipartBody9028299834298303201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433663078,"filename":"image_31102025_10_16_16_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/012c0b993d8a0ab2a1abab86bcd732ca.jpg","text":"TemporaryFile(/tmp/multipartBody2628505291857298350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433663078,"filename":"image_31102025_10_16_11_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91ea5fabf376def7742dac89108dbae2.jpg","text":"TemporaryFile(/tmp/multipartBody4956057652149620158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433663078,"filename":"image_31102025_10_16_07_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8da1ec4f6feb4304cbf7dec428d1c05b.jpg","text":"TemporaryFile(/tmp/multipartBody2168820222205351232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433663078,"filename":"image_31102025_10_15_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/11/29/182e938e931abea8644c6e922fc28aa9.jpg","text":"TemporaryFile(/tmp/multipartBody5859905520345626530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433663078,"filename":"image_31102025_10_16_20_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b176accebdeab79cc79f8b7be5bb751.jpg","text":"TemporaryFile(/tmp/multipartBody251039642763392101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433663078,"filename":"image_31102025_10_16_13_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923887","file1":"1396923886","file0":"1396923883","file4":"1396923890","file5":"1396923891","file3":"1396923888"},"map_files_photo_id_array":[{"photo_id":"1396923891","filename":"file5"},{"photo_id":"1396923887","filename":"file2"},{"photo_id":"1396923890","filename":"file4"},{"photo_id":"1396923886","filename":"file1"},{"photo_id":"1396923883","filename":"file0"},{"photo_id":"1396923888","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396923890":["hashtag1","hashtag2"]},{"1396923887":["hashtag1","hashtag2"]},{"1396923886":["hashtag1","hashtag2"]},{"1396923883":["hashtag1","hashtag2"]},{"1396923891":["hashtag1","hashtag2"]},{"1396923888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396923890, 1396923887, 1396923886, 1396923883, 1396923891, 1396923888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16699719429016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:27:22.235024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/26/image_29112025_17_26_55_10637.jpg', '/home/pi/Desktop/images/29112025/17/27/image_29112025_17_27_14_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/26/image_29112025_17_26_55_10637.jpg
/home/pi/Desktop/images/29112025/17/27/image_29112025_17_27_14_9953.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923896","1396923899"],"photo_ids_order":["1396923896","1396923899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5bc5342cd6cf2e7308b493f5abae19e8.jpg","text":"TemporaryFile(/tmp/multipartBody3531257736281999275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433702764,"filename":"image_29112025_17_26_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/11/29/2f8f48b63a78e6bf8cb31cc5790e81c4.jpg","text":"TemporaryFile(/tmp/multipartBody2408574701877995191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433702764,"filename":"image_29112025_17_27_14_9953.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396923899","file0":"1396923896"},"map_files_photo_id_array":[{"photo_id":"1396923899","filename":"file1"},{"photo_id":"1396923896","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396923896":["hashtag1","hashtag2"]},{"1396923899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396923896, 1396923899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.164933681488037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:27:42.178014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_22_2729.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_25_2722.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_31_2669.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_34_2880.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_37_2715.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_41_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/10/16/image_31102025_10_16_22_2729.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_25_2722.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_31_2669.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_34_2880.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_37_2715.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_41_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":["1396923912","1396923914","1396923908","1396923911","1396923910","1396923913"],"photo_ids_order":["1396923908","1396923910","1396923911","1396923912","1396923913","1396923914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ff405e2f2d484146ce62d01d9ea5191.jpg","text":"TemporaryFile(/tmp/multipartBody6720791450673256495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433723318,"filename":"image_31102025_10_16_34_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e7b8a0b069ebb35de0ac410b185e2ae.jpg","text":"TemporaryFile(/tmp/multipartBody6957712268953286424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433723318,"filename":"image_31102025_10_16_41_3743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ef996cf4c028b6ce0a99c6e02177d46.jpg","text":"TemporaryFile(/tmp/multipartBody4218753553287844322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433723318,"filename":"image_31102025_10_16_22_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2999bcc062508bfde54500e3e8657b3f.jpg","text":"TemporaryFile(/tmp/multipartBody8828354411501258983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433723318,"filename":"image_31102025_10_16_31_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3a8cd358a3d95ed143bce8ca66080a3.jpg","text":"TemporaryFile(/tmp/multipartBody681796612510012909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433723318,"filename":"image_31102025_10_16_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/11/29/e8c3df467a6b4723067eb33635be5a98.jpg","text":"TemporaryFile(/tmp/multipartBody3403609136493264694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433723318,"filename":"image_31102025_10_16_37_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923911","file1":"1396923910","file0":"1396923908","file4":"1396923913","file5":"1396923914","file3":"1396923912"},"map_files_photo_id_array":[{"photo_id":"1396923914","filename":"file5"},{"photo_id":"1396923911","filename":"file2"},{"photo_id":"1396923913","filename":"file4"},{"photo_id":"1396923910","filename":"file1"},{"photo_id":"1396923908","filename":"file0"},{"photo_id":"1396923912","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396923912":["hashtag1","hashtag2"]},{"1396923914":["hashtag1","hashtag2"]},{"1396923908":["hashtag1","hashtag2"]},{"1396923911":["hashtag1","hashtag2"]},{"1396923910":["hashtag1","hashtag2"]},{"1396923913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396923912, 1396923914, 1396923908, 1396923911, 1396923910, 1396923913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.516106843948364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:28:22.328155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/27/image_29112025_17_27_45_10508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/27/image_29112025_17_27_45_10508.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923917"],"photo_id":"1396923917","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2330850011bb1068fec5ff95c848a4c.jpg","text":"TemporaryFile(/tmp/multipartBody5120554619822105175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433762822,"filename":"image_29112025_17_27_45_10508.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396923917"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396923917"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.813555002212524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:28:42.422461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_43_2757.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_46_2713.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_49_2622.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_53_3799.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_55_2874.jpg', '/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_58_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_43_2757.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_46_2713.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_49_2622.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_53_3799.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_55_2874.jpg
/home/pi/Desktop/images/31102025/10/16/image_31102025_10_16_58_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923932","1396923935","1396923931","1396923934","1396923928","1396923933"],"photo_ids_order":["1396923928","1396923931","1396923932","1396923933","1396923934","1396923935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e19809baaf86383ea5072371e1406df0.jpg","text":"TemporaryFile(/tmp/multipartBody7520317851325070664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433783556,"filename":"image_31102025_10_16_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/11/29/5015b164534ad80d3d19f0c87d2dad92.jpg","text":"TemporaryFile(/tmp/multipartBody3690043389759796893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433783556,"filename":"image_31102025_10_16_58_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae6698f4e8f53c5eaad6ddcec16642c7.jpg","text":"TemporaryFile(/tmp/multipartBody8621629113517264822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433783556,"filename":"image_31102025_10_16_46_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e4c868b40c044ad7fad14e8d275e77a.jpg","text":"TemporaryFile(/tmp/multipartBody7327609491282766865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433783556,"filename":"image_31102025_10_16_55_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2add02026266bc9c379abfa178e3c0d.jpg","text":"TemporaryFile(/tmp/multipartBody4361268396158559716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433783556,"filename":"image_31102025_10_16_43_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76c67e263b0a14e7eabdcbe14eb1097e.jpg","text":"TemporaryFile(/tmp/multipartBody1853688965108196314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433783556,"filename":"image_31102025_10_16_53_3799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923932","file1":"1396923931","file0":"1396923928","file4":"1396923934","file5":"1396923935","file3":"1396923933"},"map_files_photo_id_array":[{"photo_id":"1396923935","filename":"file5"},{"photo_id":"1396923932","filename":"file2"},{"photo_id":"1396923934","filename":"file4"},{"photo_id":"1396923931","filename":"file1"},{"photo_id":"1396923928","filename":"file0"},{"photo_id":"1396923933","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396923932":["hashtag1","hashtag2"]},{"1396923935":["hashtag1","hashtag2"]},{"1396923931":["hashtag1","hashtag2"]},{"1396923934":["hashtag1","hashtag2"]},{"1396923928":["hashtag1","hashtag2"]},{"1396923933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396923932, 1396923935, 1396923931, 1396923934, 1396923928, 1396923933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40737295150757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:29:22.626092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_48_6561.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_50_1804.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_51_1571.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_56_2594.jpg', '/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_59_2878.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_03_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_48_6561.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_50_1804.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_51_1571.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_56_2594.jpg
/home/pi/Desktop/images/25112025/18/52/image_25112025_18_52_59_2878.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_03_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396923950","1396923944","1396923947","1396923940","1396923960","1396923954"],"photo_ids_order":["1396923940","1396923944","1396923947","1396923950","1396923954","1396923960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b43da0e6b69917661526b5ffdaed308.jpg","text":"TemporaryFile(/tmp/multipartBody4438858549686422549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433824763,"filename":"image_25112025_18_52_56_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1dad18a740fdd8793b1abe89c2e55160.jpg","text":"TemporaryFile(/tmp/multipartBody5504143155346891575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433824763,"filename":"image_25112025_18_52_50_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96898403342d5576b9a946c88b4ebf96.jpg","text":"TemporaryFile(/tmp/multipartBody164463584211052200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433824763,"filename":"image_25112025_18_52_51_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7f4ecfcb542293b185d347ec7a75bab.jpg","text":"TemporaryFile(/tmp/multipartBody3262372466524225550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433824763,"filename":"image_25112025_18_52_48_6561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cee766875077749053009dea78868404.jpg","text":"TemporaryFile(/tmp/multipartBody3764730058776864494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433824763,"filename":"image_25112025_18_53_03_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c78019f1c14bec59e80b1a29654aae26.jpg","text":"TemporaryFile(/tmp/multipartBody3917872812977199828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433824763,"filename":"image_25112025_18_52_59_2878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396923947","file1":"1396923944","file0":"1396923940","file4":"1396923954","file5":"1396923960","file3":"1396923950"},"map_files_photo_id_array":[{"photo_id":"1396923960","filename":"file5"},{"photo_id":"1396923947","filename":"file2"},{"photo_id":"1396923954","filename":"file4"},{"photo_id":"1396923944","filename":"file1"},{"photo_id":"1396923940","filename":"file0"},{"photo_id":"1396923950","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396923950":["hashtag1","hashtag2"]},{"1396923944":["hashtag1","hashtag2"]},{"1396923947":["hashtag1","hashtag2"]},{"1396923940":["hashtag1","hashtag2"]},{"1396923960":["hashtag1","hashtag2"]},{"1396923954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396923950, 1396923944, 1396923947, 1396923940, 1396923960, 1396923954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.804431200027466 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-11-29 17:30:11.983059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_06_3199.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_09_2695.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_11_2712.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_14_2698.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_18_3549.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_20_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_06_3199.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_09_2695.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_11_2712.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_14_2698.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_18_3549.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_20_2602.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.9419655799865723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:30:21.929547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_06_3199.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_09_2695.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_11_2712.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_14_2698.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_18_3549.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_20_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_06_3199.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_09_2695.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_11_2712.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_14_2698.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_18_3549.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_20_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":["1396923995","1396924010","1396924012","1396924006","1396923999","1396924002"],"photo_ids_order":["1396923995","1396923999","1396924002","1396924006","1396924010","1396924012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62962399bedb91feb4320c1c5787399e.jpg","text":"TemporaryFile(/tmp/multipartBody4475446104131899741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433883966,"filename":"image_25112025_18_53_06_3199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9612480fe849709e9d0675417d3b96e4.jpg","text":"TemporaryFile(/tmp/multipartBody5399746260340400310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433883966,"filename":"image_25112025_18_53_18_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01cf73670f5b0eee22aeb6a2e7a2696e.jpg","text":"TemporaryFile(/tmp/multipartBody2141319685378551858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433883966,"filename":"image_25112025_18_53_20_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19945d70130089efdbb760df069ee059.jpg","text":"TemporaryFile(/tmp/multipartBody2044797824320128917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433883966,"filename":"image_25112025_18_53_14_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cef37a970a5cd3f41f68f394b3158e0a.jpg","text":"TemporaryFile(/tmp/multipartBody3746706783670987857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433883966,"filename":"image_25112025_18_53_09_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff8db4fb63c19d46b07ccaa226e10871.jpg","text":"TemporaryFile(/tmp/multipartBody8425017088260377367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433883966,"filename":"image_25112025_18_53_11_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924002","file1":"1396923999","file0":"1396923995","file4":"1396924010","file5":"1396924012","file3":"1396924006"},"map_files_photo_id_array":[{"photo_id":"1396924012","filename":"file5"},{"photo_id":"1396924002","filename":"file2"},{"photo_id":"1396924010","filename":"file4"},{"photo_id":"1396923999","filename":"file1"},{"photo_id":"1396923995","filename":"file0"},{"photo_id":"1396924006","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396923995":["hashtag1","hashtag2"]},{"1396924010":["hashtag1","hashtag2"]},{"1396924012":["hashtag1","hashtag2"]},{"1396924006":["hashtag1","hashtag2"]},{"1396923999":["hashtag1","hashtag2"]},{"1396924002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396923995, 1396924010, 1396924012, 1396924006, 1396923999, 1396924002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93409085273743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:31:02.657896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_24_3644.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_27_2644.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_29_2562.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_33_3627.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_35_2531.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_39_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_24_3644.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_27_2644.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_29_2562.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_33_3627.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_35_2531.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_39_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":["1396924106","1396924093","1396924141","1396924144","1396924170","1396924113"],"photo_ids_order":["1396924093","1396924106","1396924113","1396924141","1396924144","1396924170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ac76eaaa0b2f76d6dae90625cfb5ea7.jpg","text":"TemporaryFile(/tmp/multipartBody6897840534189069526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433924341,"filename":"image_25112025_18_53_27_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eec1e80521d8b148cc70e19a666e5e89.jpg","text":"TemporaryFile(/tmp/multipartBody4101356528772075328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433924341,"filename":"image_25112025_18_53_24_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fccb49a42b65cff37c4e67291b168a36.jpg","text":"TemporaryFile(/tmp/multipartBody6260059131050123575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433924341,"filename":"image_25112025_18_53_33_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34e0d793185acb07d0dcff8a85396786.jpg","text":"TemporaryFile(/tmp/multipartBody3047513312592386651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433924341,"filename":"image_25112025_18_53_35_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed7fdf8739632b59933f89ca9b1265b9.jpg","text":"TemporaryFile(/tmp/multipartBody2763248879679548297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433924341,"filename":"image_25112025_18_53_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/11/29/dbea12bdfd1c2a0af8a64ccda54d0ef5.jpg","text":"TemporaryFile(/tmp/multipartBody983280065014664616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433924341,"filename":"image_25112025_18_53_29_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924113","file1":"1396924106","file0":"1396924093","file4":"1396924144","file5":"1396924170","file3":"1396924141"},"map_files_photo_id_array":[{"photo_id":"1396924170","filename":"file5"},{"photo_id":"1396924113","filename":"file2"},{"photo_id":"1396924144","filename":"file4"},{"photo_id":"1396924106","filename":"file1"},{"photo_id":"1396924093","filename":"file0"},{"photo_id":"1396924141","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924106":["hashtag1","hashtag2"]},{"1396924093":["hashtag1","hashtag2"]},{"1396924141":["hashtag1","hashtag2"]},{"1396924144":["hashtag1","hashtag2"]},{"1396924170":["hashtag1","hashtag2"]},{"1396924113":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924106, 1396924093, 1396924141, 1396924144, 1396924170, 1396924113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53092074394226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:31:42.050101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_01_2567.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_04_3691.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_07_2662.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_10_2666.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_13_3775.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_16_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/10/17/image_31102025_10_17_01_2567.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_04_3691.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_07_2662.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_10_2666.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_13_3775.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_16_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":["1396924211","1396924205","1396924208","1396924210","1396924207","1396924209"],"photo_ids_order":["1396924205","1396924207","1396924208","1396924209","1396924210","1396924211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bdc9c86cb9481a8320526bb2c98ccd95.jpg","text":"TemporaryFile(/tmp/multipartBody9220327962930860071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433963185,"filename":"image_31102025_10_17_16_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8768bcd63496b4a5cc1e866547ea8d1.jpg","text":"TemporaryFile(/tmp/multipartBody8920032599979260712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433963185,"filename":"image_31102025_10_17_01_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed9d1a52f16e21026c246606b06495d6.jpg","text":"TemporaryFile(/tmp/multipartBody6487772923173301570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433963185,"filename":"image_31102025_10_17_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/11/29/bf5133e8caba64fef16296f041a16f61.jpg","text":"TemporaryFile(/tmp/multipartBody2639867513190605854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433963185,"filename":"image_31102025_10_17_13_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/542e408b3d8c11e4889c50264f686628.jpg","text":"TemporaryFile(/tmp/multipartBody2421346708565547238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433963185,"filename":"image_31102025_10_17_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/11/29/dd19fbd03708a6116307cd8e3a5ca670.jpg","text":"TemporaryFile(/tmp/multipartBody6060748170910597543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764433963185,"filename":"image_31102025_10_17_10_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924208","file1":"1396924207","file0":"1396924205","file4":"1396924210","file5":"1396924211","file3":"1396924209"},"map_files_photo_id_array":[{"photo_id":"1396924211","filename":"file5"},{"photo_id":"1396924208","filename":"file2"},{"photo_id":"1396924210","filename":"file4"},{"photo_id":"1396924207","filename":"file1"},{"photo_id":"1396924205","filename":"file0"},{"photo_id":"1396924209","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924211":["hashtag1","hashtag2"]},{"1396924205":["hashtag1","hashtag2"]},{"1396924208":["hashtag1","hashtag2"]},{"1396924210":["hashtag1","hashtag2"]},{"1396924207":["hashtag1","hashtag2"]},{"1396924209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924211, 1396924205, 1396924208, 1396924210, 1396924207, 1396924209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65532660484314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:32:22.235568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/27/image_29112025_17_28_04_9645.jpg', '/home/pi/Desktop/images/29112025/17/31/image_29112025_17_32_05_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/27/image_29112025_17_28_04_9645.jpg
/home/pi/Desktop/images/29112025/17/31/image_29112025_17_32_05_10730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924217","1396924221"],"photo_ids_order":["1396924217","1396924221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55163e704626feb287faea6518449558.jpg","text":"TemporaryFile(/tmp/multipartBody8480125108059884455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434002773,"filename":"image_29112025_17_28_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/11/29/610e22437e5f4f3dbd916f94c7313ad4.jpg","text":"TemporaryFile(/tmp/multipartBody1731218196508026022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434002773,"filename":"image_29112025_17_32_05_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1396924221","file0":"1396924217"},"map_files_photo_id_array":[{"photo_id":"1396924221","filename":"file1"},{"photo_id":"1396924217","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924217":["hashtag1","hashtag2"]},{"1396924221":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924217, 1396924221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.89726233482361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:32:42.198146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_19_2675.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_23_3701.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_25_2629.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_28_2643.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_32_3719.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_34_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/10/17/image_31102025_10_17_19_2675.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_23_3701.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_25_2629.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_28_2643.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_32_3719.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_34_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":["1396924253","1396924232","1396924229","1396924252","1396924255","1396924254"],"photo_ids_order":["1396924229","1396924232","1396924252","1396924253","1396924254","1396924255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f90e12c71e665e3eae155b24ab0f64b0.jpg","text":"TemporaryFile(/tmp/multipartBody4336429674266904972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434023363,"filename":"image_31102025_10_17_28_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8fe6954669f8da7e91dde2ffc8335a08.jpg","text":"TemporaryFile(/tmp/multipartBody7276420301030819465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434023363,"filename":"image_31102025_10_17_23_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58abcfbc37d59393ac9ef04ab036f89e.jpg","text":"TemporaryFile(/tmp/multipartBody3723441177740621605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434023363,"filename":"image_31102025_10_17_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/11/29/f238de91f568b0c6020a0b77b532f05e.jpg","text":"TemporaryFile(/tmp/multipartBody6541842381650531075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434023363,"filename":"image_31102025_10_17_25_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b38baefbe2b375e1eb82fe4602fb10bc.jpg","text":"TemporaryFile(/tmp/multipartBody4716645192897400678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434023363,"filename":"image_31102025_10_17_34_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/461f4de5126bc7d7a7d273cf50e0f72b.jpg","text":"TemporaryFile(/tmp/multipartBody1883312137817662413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434023363,"filename":"image_31102025_10_17_32_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924252","file1":"1396924232","file0":"1396924229","file4":"1396924254","file5":"1396924255","file3":"1396924253"},"map_files_photo_id_array":[{"photo_id":"1396924255","filename":"file5"},{"photo_id":"1396924252","filename":"file2"},{"photo_id":"1396924254","filename":"file4"},{"photo_id":"1396924232","filename":"file1"},{"photo_id":"1396924229","filename":"file0"},{"photo_id":"1396924253","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924253":["hashtag1","hashtag2"]},{"1396924232":["hashtag1","hashtag2"]},{"1396924229":["hashtag1","hashtag2"]},{"1396924252":["hashtag1","hashtag2"]},{"1396924255":["hashtag1","hashtag2"]},{"1396924254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924253, 1396924232, 1396924229, 1396924252, 1396924255, 1396924254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19880127906799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:33:22.370032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_41_2540.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_44_2886.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_48_3608.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_50_2596.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_53_2576.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_57_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_41_2540.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_44_2886.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_48_3608.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_50_2596.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_53_2576.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_57_3619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0867321491241455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:33:32.357979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_41_2540.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_44_2886.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_48_3608.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_50_2596.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_53_2576.jpg', '/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_57_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_41_2540.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_44_2886.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_48_3608.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_50_2596.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_53_2576.jpg
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_57_3619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924271","1396924277","1396924279","1396924275","1396924278","1396924266"],"photo_ids_order":["1396924266","1396924271","1396924275","1396924277","1396924278","1396924279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3aa562b29be8d0ac984a5e2d73a7aebf.jpg","text":"TemporaryFile(/tmp/multipartBody358813773889593476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434074422,"filename":"image_25112025_18_53_44_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46ac7caf2e07aca6cab25693907c832e.jpg","text":"TemporaryFile(/tmp/multipartBody7720327867789823733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434074422,"filename":"image_25112025_18_53_50_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9bbace9f6e09eab178dfcc8972eb511.jpg","text":"TemporaryFile(/tmp/multipartBody1796867086197100287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434074422,"filename":"image_25112025_18_53_57_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8177f8704fc9bf7828f5a61805a967d.jpg","text":"TemporaryFile(/tmp/multipartBody2880067620495853455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434074422,"filename":"image_25112025_18_53_48_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fddd3e62540940ca741cc147974d2c9.jpg","text":"TemporaryFile(/tmp/multipartBody2433895477391345470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434074422,"filename":"image_25112025_18_53_53_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b8bd8264bfd5160fd0f5f81409072e7.jpg","text":"TemporaryFile(/tmp/multipartBody8432028895697833233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434074422,"filename":"image_25112025_18_53_41_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924275","file1":"1396924271","file0":"1396924266","file4":"1396924278","file5":"1396924279","file3":"1396924277"},"map_files_photo_id_array":[{"photo_id":"1396924279","filename":"file5"},{"photo_id":"1396924275","filename":"file2"},{"photo_id":"1396924278","filename":"file4"},{"photo_id":"1396924271","filename":"file1"},{"photo_id":"1396924266","filename":"file0"},{"photo_id":"1396924277","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924271":["hashtag1","hashtag2"]},{"1396924277":["hashtag1","hashtag2"]},{"1396924279":["hashtag1","hashtag2"]},{"1396924275":["hashtag1","hashtag2"]},{"1396924278":["hashtag1","hashtag2"]},{"1396924266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924271, 1396924277, 1396924279, 1396924275, 1396924278, 1396924266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.239036560058594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:34:12.625436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_59_2644.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_02_2601.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_05_2961.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_08_3627.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_11_2586.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_15_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/53/image_25112025_18_53_59_2644.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_02_2601.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_05_2961.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_08_3627.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_11_2586.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_15_3647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924280","1396924282","1396924291","1396924285","1396924288","1396924293"],"photo_ids_order":["1396924280","1396924282","1396924285","1396924288","1396924291","1396924293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1987ef4a54161d97f26ba77bb9a07573.jpg","text":"TemporaryFile(/tmp/multipartBody4308908860238433789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434114688,"filename":"image_25112025_18_53_59_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e82b58f39ac488c48e0a14ad7d9c8ebb.jpg","text":"TemporaryFile(/tmp/multipartBody7431188108682983899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434114688,"filename":"image_25112025_18_54_02_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03e667a92f095ee01e8b128a1033f19d.jpg","text":"TemporaryFile(/tmp/multipartBody6169737217189254351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434114688,"filename":"image_25112025_18_54_11_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac993760fec60881e13d741a39c2f919.jpg","text":"TemporaryFile(/tmp/multipartBody5050466638406154233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434114688,"filename":"image_25112025_18_54_05_2961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78227b373d936185bd7d41aca3878c78.jpg","text":"TemporaryFile(/tmp/multipartBody3397650134845655402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434114688,"filename":"image_25112025_18_54_08_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccb19092895495a9688b6c432579b5ac.jpg","text":"TemporaryFile(/tmp/multipartBody17578288967061817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434114688,"filename":"image_25112025_18_54_15_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924285","file1":"1396924282","file0":"1396924280","file4":"1396924291","file5":"1396924293","file3":"1396924288"},"map_files_photo_id_array":[{"photo_id":"1396924293","filename":"file5"},{"photo_id":"1396924285","filename":"file2"},{"photo_id":"1396924291","filename":"file4"},{"photo_id":"1396924282","filename":"file1"},{"photo_id":"1396924280","filename":"file0"},{"photo_id":"1396924288","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924280":["hashtag1","hashtag2"]},{"1396924282":["hashtag1","hashtag2"]},{"1396924291":["hashtag1","hashtag2"]},{"1396924285":["hashtag1","hashtag2"]},{"1396924288":["hashtag1","hashtag2"]},{"1396924293":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924280, 1396924282, 1396924291, 1396924285, 1396924288, 1396924293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23936939239502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:35:03.492920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_17_2707.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_20_2600.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_26_2649.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_29_2593.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_33_3731.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_36_3120.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_17_2707.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_20_2600.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_26_2649.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_29_2593.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_33_3731.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_36_3120.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924302","1396924310","1396924301","1396924300","1396924303","1396924306"],"photo_ids_order":["1396924300","1396924301","1396924302","1396924303","1396924306","1396924310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7afb7749813bd4ba9b832c49f0132d6f.jpg","text":"TemporaryFile(/tmp/multipartBody2274871729133804749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434165113,"filename":"image_25112025_18_54_26_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9cd3da486ec1d120799c19ed00b9d3b.jpg","text":"TemporaryFile(/tmp/multipartBody8821626793193817603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434165113,"filename":"image_25112025_18_54_36_3120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9dbf9ba7e3328bdfd74c021ed100314c.jpg","text":"TemporaryFile(/tmp/multipartBody1038070656849734548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434165113,"filename":"image_25112025_18_54_20_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2c600c869f05a38cb737101b3bb49fd.jpg","text":"TemporaryFile(/tmp/multipartBody4342088274560229494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434165113,"filename":"image_25112025_18_54_17_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcd766c0ae3900d7ed52fea44e4aed8a.jpg","text":"TemporaryFile(/tmp/multipartBody5401391968332257487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434165113,"filename":"image_25112025_18_54_29_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/956e1349a3250ae8249b2cddb6812c04.jpg","text":"TemporaryFile(/tmp/multipartBody911134817552612952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434165113,"filename":"image_25112025_18_54_33_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924302","file1":"1396924301","file0":"1396924300","file4":"1396924306","file5":"1396924310","file3":"1396924303"},"map_files_photo_id_array":[{"photo_id":"1396924310","filename":"file5"},{"photo_id":"1396924302","filename":"file2"},{"photo_id":"1396924306","filename":"file4"},{"photo_id":"1396924301","filename":"file1"},{"photo_id":"1396924300","filename":"file0"},{"photo_id":"1396924303","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924302":["hashtag1","hashtag2"]},{"1396924310":["hashtag1","hashtag2"]},{"1396924301":["hashtag1","hashtag2"]},{"1396924300":["hashtag1","hashtag2"]},{"1396924303":["hashtag1","hashtag2"]},{"1396924306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924302, 1396924310, 1396924301, 1396924300, 1396924303, 1396924306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.413520097732544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:35:42.776015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_37_2643.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_40_3672.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_43_2976.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_46_2747.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_49_2642.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_52_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/10/17/image_31102025_10_17_37_2643.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_40_3672.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_43_2976.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_46_2747.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_49_2642.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_52_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":["1396924317","1396924352","1396924346","1396924319","1396924351","1396924350"],"photo_ids_order":["1396924317","1396924319","1396924346","1396924350","1396924351","1396924352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb2364e0026626a4e9f0d7bd8bce3d09.jpg","text":"TemporaryFile(/tmp/multipartBody5269405734819025483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434203853,"filename":"image_31102025_10_17_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/11/29/895bac06c1b0737f97936905ebfff894.jpg","text":"TemporaryFile(/tmp/multipartBody1279685887387435862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434203853,"filename":"image_31102025_10_17_52_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/441401aae7c4d4261d31506ea93eaef3.jpg","text":"TemporaryFile(/tmp/multipartBody7131137713712625588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434203853,"filename":"image_31102025_10_17_43_2976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/751e469bb20d9ec2e3bb18bf1dd3f577.jpg","text":"TemporaryFile(/tmp/multipartBody7150717335564203082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434203853,"filename":"image_31102025_10_17_40_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9eea5297dd7a27f7b26c688c1fc6dd1d.jpg","text":"TemporaryFile(/tmp/multipartBody6899462100434157402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434203853,"filename":"image_31102025_10_17_49_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a952588a75eb61856c35bd0edc3b7364.jpg","text":"TemporaryFile(/tmp/multipartBody9012745889095941999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434203853,"filename":"image_31102025_10_17_46_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924346","file1":"1396924319","file0":"1396924317","file4":"1396924351","file5":"1396924352","file3":"1396924350"},"map_files_photo_id_array":[{"photo_id":"1396924352","filename":"file5"},{"photo_id":"1396924346","filename":"file2"},{"photo_id":"1396924351","filename":"file4"},{"photo_id":"1396924319","filename":"file1"},{"photo_id":"1396924317","filename":"file0"},{"photo_id":"1396924350","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924317":["hashtag1","hashtag2"]},{"1396924352":["hashtag1","hashtag2"]},{"1396924346":["hashtag1","hashtag2"]},{"1396924319":["hashtag1","hashtag2"]},{"1396924351":["hashtag1","hashtag2"]},{"1396924350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924317, 1396924352, 1396924346, 1396924319, 1396924351, 1396924350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39583730697632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:36:22.202117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/32/image_29112025_17_32_35_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/32/image_29112025_17_32_35_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924354"],"photo_id":"1396924354","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9791dea6284974489eced22c9b652953.jpg","text":"TemporaryFile(/tmp/multipartBody1868414622834982837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434242714,"filename":"image_29112025_17_32_35_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396924354"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396924354"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.576129674911499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:36:42.132951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_55_2748.jpg', '/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_58_2650.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_02_3783.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_04_2705.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_07_2741.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_13_5988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_55_2748.jpg
/home/pi/Desktop/images/31102025/10/17/image_31102025_10_17_58_2650.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_02_3783.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_04_2705.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_07_2741.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_13_5988.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924370","1396924373","1396924372","1396924366","1396924369","1396924371"],"photo_ids_order":["1396924366","1396924369","1396924370","1396924371","1396924372","1396924373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1d45adfe5cccc9425a4581c47b12ed5.jpg","text":"TemporaryFile(/tmp/multipartBody2634494200969319350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434263556,"filename":"image_31102025_10_18_02_3783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca51294eb98c204426f77ea8af983ebe.jpg","text":"TemporaryFile(/tmp/multipartBody1377464434782611902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434263556,"filename":"image_31102025_10_18_13_5988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30807a2e0990c5b21b2e5dfcaac605af.jpg","text":"TemporaryFile(/tmp/multipartBody7617394479433508819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434263556,"filename":"image_31102025_10_18_07_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e3b4496d43510da7297ed64fb89b16b.jpg","text":"TemporaryFile(/tmp/multipartBody3544082152310158628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434263556,"filename":"image_31102025_10_17_55_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69ffe4e86f83d1e3dcf612e2fd0f65d9.jpg","text":"TemporaryFile(/tmp/multipartBody2393036030990554915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434263556,"filename":"image_31102025_10_17_58_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c472f2360b87c3423c2299863e2a8bd.jpg","text":"TemporaryFile(/tmp/multipartBody7986094537308053680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434263556,"filename":"image_31102025_10_18_04_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924370","file1":"1396924369","file0":"1396924366","file4":"1396924372","file5":"1396924373","file3":"1396924371"},"map_files_photo_id_array":[{"photo_id":"1396924373","filename":"file5"},{"photo_id":"1396924370","filename":"file2"},{"photo_id":"1396924372","filename":"file4"},{"photo_id":"1396924369","filename":"file1"},{"photo_id":"1396924366","filename":"file0"},{"photo_id":"1396924371","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924370":["hashtag1","hashtag2"]},{"1396924373":["hashtag1","hashtag2"]},{"1396924372":["hashtag1","hashtag2"]},{"1396924366":["hashtag1","hashtag2"]},{"1396924369":["hashtag1","hashtag2"]},{"1396924371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924370, 1396924373, 1396924372, 1396924366, 1396924369, 1396924371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7432918548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:37:22.375181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_38_2749.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_41_2686.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_44_2673.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_48_3680.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_50_2783.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_53_2547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_38_2749.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_41_2686.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_44_2673.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_48_3680.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_50_2783.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_53_2547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924390","1396924384","1396924387","1396924392","1396924380","1396924377"],"photo_ids_order":["1396924377","1396924380","1396924384","1396924387","1396924390","1396924392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af086097c73daa9ee9f5a9f4c4207f10.jpg","text":"TemporaryFile(/tmp/multipartBody8285858014598071950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434304852,"filename":"image_25112025_18_54_50_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0d8db96547f0a479e8284084bea5ebd.jpg","text":"TemporaryFile(/tmp/multipartBody7237346793260116875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434304852,"filename":"image_25112025_18_54_44_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cfd50a67cb3ff10049db2a5b2fab30dc.jpg","text":"TemporaryFile(/tmp/multipartBody1162000964965470860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434304852,"filename":"image_25112025_18_54_48_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc6cb150e0632dbd0fe168aa1ab52493.jpg","text":"TemporaryFile(/tmp/multipartBody8535702466154896752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434304852,"filename":"image_25112025_18_54_53_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3790e76aed984cb0e8b62178fd6e1bb0.jpg","text":"TemporaryFile(/tmp/multipartBody1566072799500787645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434304852,"filename":"image_25112025_18_54_41_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a304737f160bcd9a1c8f3b14162cb74.jpg","text":"TemporaryFile(/tmp/multipartBody6429038991999087656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434304852,"filename":"image_25112025_18_54_38_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924384","file1":"1396924380","file0":"1396924377","file4":"1396924390","file5":"1396924392","file3":"1396924387"},"map_files_photo_id_array":[{"photo_id":"1396924392","filename":"file5"},{"photo_id":"1396924384","filename":"file2"},{"photo_id":"1396924390","filename":"file4"},{"photo_id":"1396924380","filename":"file1"},{"photo_id":"1396924377","filename":"file0"},{"photo_id":"1396924387","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924390":["hashtag1","hashtag2"]},{"1396924384":["hashtag1","hashtag2"]},{"1396924387":["hashtag1","hashtag2"]},{"1396924392":["hashtag1","hashtag2"]},{"1396924380":["hashtag1","hashtag2"]},{"1396924377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924390, 1396924384, 1396924387, 1396924392, 1396924380, 1396924377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92468976974487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:38:02.953543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_57_3648.jpg', '/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_59_2711.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_02_2684.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_06_3725.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_08_2785.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_11_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_57_3648.jpg
/home/pi/Desktop/images/25112025/18/54/image_25112025_18_54_59_2711.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_02_2684.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_06_3725.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_08_2785.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_11_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924394","1396924396","1396924393","1396924402","1396924395","1396924398"],"photo_ids_order":["1396924393","1396924394","1396924395","1396924396","1396924398","1396924402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aec2122998a091abbde6b46dda065c88.jpg","text":"TemporaryFile(/tmp/multipartBody1946753555560590965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434344527,"filename":"image_25112025_18_54_59_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3282179d3d89e711c6958a42ec66f859.jpg","text":"TemporaryFile(/tmp/multipartBody5741049684447872842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434344527,"filename":"image_25112025_18_55_06_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41ad47fc94581b97201ce23dee4b2494.jpg","text":"TemporaryFile(/tmp/multipartBody8870102920629491459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434344527,"filename":"image_25112025_18_54_57_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e72fc52f61da782121dd128e6bf49383.jpg","text":"TemporaryFile(/tmp/multipartBody1504790654565634009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434344527,"filename":"image_25112025_18_55_11_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b61056e74c65d78869ce2a2e1f7a431.jpg","text":"TemporaryFile(/tmp/multipartBody5328349749899023263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434344527,"filename":"image_25112025_18_55_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/11/29/0973a8f72641151cf12840106f83d980.jpg","text":"TemporaryFile(/tmp/multipartBody3590989468595078898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434344527,"filename":"image_25112025_18_55_08_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924395","file1":"1396924394","file0":"1396924393","file4":"1396924398","file5":"1396924402","file3":"1396924396"},"map_files_photo_id_array":[{"photo_id":"1396924402","filename":"file5"},{"photo_id":"1396924395","filename":"file2"},{"photo_id":"1396924398","filename":"file4"},{"photo_id":"1396924394","filename":"file1"},{"photo_id":"1396924393","filename":"file0"},{"photo_id":"1396924396","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924394":["hashtag1","hashtag2"]},{"1396924396":["hashtag1","hashtag2"]},{"1396924393":["hashtag1","hashtag2"]},{"1396924402":["hashtag1","hashtag2"]},{"1396924395":["hashtag1","hashtag2"]},{"1396924398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924394, 1396924396, 1396924393, 1396924402, 1396924395, 1396924398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38464856147766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:38:42.575984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_15_1580.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_16_1793.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_19_2680.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_25_2724.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_28_3694.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_31_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_15_1580.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_16_1793.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_19_2680.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_25_2724.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_28_3694.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_31_2776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924451","1396924450","1396924444","1396924414","1396924411","1396924449"],"photo_ids_order":["1396924411","1396924414","1396924444","1396924449","1396924450","1396924451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1e768dcb6747c3e3a44fff67cb60941.jpg","text":"TemporaryFile(/tmp/multipartBody7196330237891141903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434383723,"filename":"image_31102025_10_18_31_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b7a6f225460bdd7bb84e92cd1131b36.jpg","text":"TemporaryFile(/tmp/multipartBody4483374485427677895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434383723,"filename":"image_31102025_10_18_28_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4c740211ce7e15feb8323151c0bb4af.jpg","text":"TemporaryFile(/tmp/multipartBody2972921456968867312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434383723,"filename":"image_31102025_10_18_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/11/29/463b87a6c3be704d3bbca07c9f05b70c.jpg","text":"TemporaryFile(/tmp/multipartBody7237992232100947010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434383723,"filename":"image_31102025_10_18_16_1793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0eff64f8cacef0217c806973c7d0a6d1.jpg","text":"TemporaryFile(/tmp/multipartBody7226904432215180228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434383723,"filename":"image_31102025_10_18_15_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0bd901a1109d106a1875a6367d51729.jpg","text":"TemporaryFile(/tmp/multipartBody7758609348485563971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434383723,"filename":"image_31102025_10_18_25_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924444","file1":"1396924414","file0":"1396924411","file4":"1396924450","file5":"1396924451","file3":"1396924449"},"map_files_photo_id_array":[{"photo_id":"1396924451","filename":"file5"},{"photo_id":"1396924444","filename":"file2"},{"photo_id":"1396924450","filename":"file4"},{"photo_id":"1396924414","filename":"file1"},{"photo_id":"1396924411","filename":"file0"},{"photo_id":"1396924449","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924451":["hashtag1","hashtag2"]},{"1396924450":["hashtag1","hashtag2"]},{"1396924444":["hashtag1","hashtag2"]},{"1396924414":["hashtag1","hashtag2"]},{"1396924411":["hashtag1","hashtag2"]},{"1396924449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924451, 1396924450, 1396924444, 1396924414, 1396924411, 1396924449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.482884645462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:39:22.785391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/36/image_29112025_17_36_14_10037.jpg', '/home/pi/Desktop/images/29112025/17/37/image_29112025_17_38_05_9741.jpg', '/home/pi/Desktop/images/29112025/17/38/image_29112025_17_38_25_10686.jpg', '/home/pi/Desktop/images/29112025/17/38/image_29112025_17_38_35_9658.jpg', '/home/pi/Desktop/images/29112025/17/38/image_29112025_17_39_05_9595.jpg', '/home/pi/Desktop/images/29112025/17/39/image_29112025_17_39_25_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/36/image_29112025_17_36_14_10037.jpg
/home/pi/Desktop/images/29112025/17/37/image_29112025_17_38_05_9741.jpg
/home/pi/Desktop/images/29112025/17/38/image_29112025_17_38_25_10686.jpg
/home/pi/Desktop/images/29112025/17/38/image_29112025_17_38_35_9658.jpg
/home/pi/Desktop/images/29112025/17/38/image_29112025_17_39_05_9595.jpg
/home/pi/Desktop/images/29112025/17/39/image_29112025_17_39_25_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924469","1396924460","1396924463","1396924457","1396924467","1396924455"],"photo_ids_order":["1396924455","1396924457","1396924460","1396924463","1396924467","1396924469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0aac7f4dc4c38054d8797b487cab4637.jpg","text":"TemporaryFile(/tmp/multipartBody4644164407105302424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434423430,"filename":"image_29112025_17_39_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ca876f51443273c37a39e25572cadce.jpg","text":"TemporaryFile(/tmp/multipartBody3259936377610678710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434423430,"filename":"image_29112025_17_38_25_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85bef4283693346c24c6072dce9d82ff.jpg","text":"TemporaryFile(/tmp/multipartBody346438135831236345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434423430,"filename":"image_29112025_17_38_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/11/29/4031b142a057ffbc2c8bfedf5efc4761.jpg","text":"TemporaryFile(/tmp/multipartBody395621363354069317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434423430,"filename":"image_29112025_17_38_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e8986937a5cf0eec3927e521a31368d.jpg","text":"TemporaryFile(/tmp/multipartBody6908805259660992307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434423430,"filename":"image_29112025_17_39_05_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1dd6c329dfcee42b03ff9805c78cf7ba.jpg","text":"TemporaryFile(/tmp/multipartBody485094603181081292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434423430,"filename":"image_29112025_17_36_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924460","file1":"1396924457","file0":"1396924455","file4":"1396924467","file5":"1396924469","file3":"1396924463"},"map_files_photo_id_array":[{"photo_id":"1396924469","filename":"file5"},{"photo_id":"1396924460","filename":"file2"},{"photo_id":"1396924467","filename":"file4"},{"photo_id":"1396924457","filename":"file1"},{"photo_id":"1396924455","filename":"file0"},{"photo_id":"1396924463","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924469":["hashtag1","hashtag2"]},{"1396924460":["hashtag1","hashtag2"]},{"1396924463":["hashtag1","hashtag2"]},{"1396924457":["hashtag1","hashtag2"]},{"1396924467":["hashtag1","hashtag2"]},{"1396924455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924469, 1396924460, 1396924463, 1396924457, 1396924467, 1396924455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98639702796936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:40:02.418167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_14_2732.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_18_3692.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_20_2595.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_23_2612.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_26_3727.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_29_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_14_2732.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_18_3692.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_20_2595.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_23_2612.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_26_3727.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_29_2589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924478","1396924472","1396924475","1396924471","1396924473","1396924470"],"photo_ids_order":["1396924470","1396924471","1396924472","1396924473","1396924475","1396924478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1574372c2362e1ba29b2aab36f7b4a05.jpg","text":"TemporaryFile(/tmp/multipartBody63305235682747203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434464036,"filename":"image_25112025_18_55_29_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa398e0c6b6d79e3c6ba3d02300b1863.jpg","text":"TemporaryFile(/tmp/multipartBody4598851510883596232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434464036,"filename":"image_25112025_18_55_20_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edc046f2689d1b87443b74706fc2a385.jpg","text":"TemporaryFile(/tmp/multipartBody4261304805238541254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434464036,"filename":"image_25112025_18_55_26_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9612e100d85c2653b9f995bb8474b628.jpg","text":"TemporaryFile(/tmp/multipartBody1271415495913087081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434464036,"filename":"image_25112025_18_55_18_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2d7bda9a6d2a55ef1735947d67f1424.jpg","text":"TemporaryFile(/tmp/multipartBody2553942492180984464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434464036,"filename":"image_25112025_18_55_23_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae9efa535c9b3ea6546c7d3558daf413.jpg","text":"TemporaryFile(/tmp/multipartBody93027303635439873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434464036,"filename":"image_25112025_18_55_14_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924472","file1":"1396924471","file0":"1396924470","file4":"1396924475","file5":"1396924478","file3":"1396924473"},"map_files_photo_id_array":[{"photo_id":"1396924478","filename":"file5"},{"photo_id":"1396924472","filename":"file2"},{"photo_id":"1396924475","filename":"file4"},{"photo_id":"1396924471","filename":"file1"},{"photo_id":"1396924470","filename":"file0"},{"photo_id":"1396924473","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924478":["hashtag1","hashtag2"]},{"1396924472":["hashtag1","hashtag2"]},{"1396924475":["hashtag1","hashtag2"]},{"1396924471":["hashtag1","hashtag2"]},{"1396924473":["hashtag1","hashtag2"]},{"1396924470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924478, 1396924472, 1396924475, 1396924471, 1396924473, 1396924470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30153226852417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:40:42.029272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_34_2665.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_37_3758.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_43_2936.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_46_2545.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_49_3720.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_52_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/10/18/image_31102025_10_18_34_2665.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_37_3758.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_43_2936.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_46_2545.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_49_3720.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_52_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":["1396924490","1396924493","1396924487","1396924489","1396924492","1396924491"],"photo_ids_order":["1396924487","1396924489","1396924490","1396924491","1396924492","1396924493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d233a6e2ee612288a8af22579263f0e.jpg","text":"TemporaryFile(/tmp/multipartBody1666100701066647914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434503166,"filename":"image_31102025_10_18_43_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c71cac27d58cbe592459ed3fec8f8511.jpg","text":"TemporaryFile(/tmp/multipartBody4136566485807550817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434503166,"filename":"image_31102025_10_18_52_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9dafda5515bf02ca4d34f7ef91bf1d5e.jpg","text":"TemporaryFile(/tmp/multipartBody411053108450787917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434503166,"filename":"image_31102025_10_18_34_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffb1fec58cf832321fad4d4d81e00813.jpg","text":"TemporaryFile(/tmp/multipartBody3480215356847486306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434503166,"filename":"image_31102025_10_18_37_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91a141aa8791c4680b830357517c69fb.jpg","text":"TemporaryFile(/tmp/multipartBody5884975213311313077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434503166,"filename":"image_31102025_10_18_49_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fcfe7af62fe36f43837f938a8d01254f.jpg","text":"TemporaryFile(/tmp/multipartBody6915368964038240929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434503166,"filename":"image_31102025_10_18_46_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924490","file1":"1396924489","file0":"1396924487","file4":"1396924492","file5":"1396924493","file3":"1396924491"},"map_files_photo_id_array":[{"photo_id":"1396924493","filename":"file5"},{"photo_id":"1396924490","filename":"file2"},{"photo_id":"1396924492","filename":"file4"},{"photo_id":"1396924489","filename":"file1"},{"photo_id":"1396924487","filename":"file0"},{"photo_id":"1396924491","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924490":["hashtag1","hashtag2"]},{"1396924493":["hashtag1","hashtag2"]},{"1396924487":["hashtag1","hashtag2"]},{"1396924489":["hashtag1","hashtag2"]},{"1396924492":["hashtag1","hashtag2"]},{"1396924491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924490, 1396924493, 1396924487, 1396924489, 1396924492, 1396924491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.152780294418335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:41:22.242169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/39/image_29112025_17_39_44_9745.jpg', '/home/pi/Desktop/images/29112025/17/40/image_29112025_17_40_15_10057.jpg', '/home/pi/Desktop/images/29112025/17/40/image_29112025_17_40_56_10873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/39/image_29112025_17_39_44_9745.jpg
/home/pi/Desktop/images/29112025/17/40/image_29112025_17_40_15_10057.jpg
/home/pi/Desktop/images/29112025/17/40/image_29112025_17_40_56_10873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924499","1396924502","1396924497"],"photo_ids_order":["1396924497","1396924499","1396924502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e5479a85f17ff8439b2544cf43aee90.jpg","text":"TemporaryFile(/tmp/multipartBody6813743848533610068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434542809,"filename":"image_29112025_17_40_15_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92e05cc2885be60361aa0ff7c53f069d.jpg","text":"TemporaryFile(/tmp/multipartBody9147840110588210694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434542809,"filename":"image_29112025_17_40_56_10873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8eee6d1e7c63dc328b283549a3cd30dc.jpg","text":"TemporaryFile(/tmp/multipartBody581537155950746628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434542809,"filename":"image_29112025_17_39_44_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924502","file1":"1396924499","file0":"1396924497"},"map_files_photo_id_array":[{"photo_id":"1396924502","filename":"file2"},{"photo_id":"1396924499","filename":"file1"},{"photo_id":"1396924497","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924499":["hashtag1","hashtag2"]},{"1396924502":["hashtag1","hashtag2"]},{"1396924497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924499, 1396924502, 1396924497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.190053939819336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:42:02.715571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_35_3607.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_38_2665.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_42_3644.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_44_2662.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_47_2598.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_51_3627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_35_3607.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_38_2665.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_42_3644.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_44_2662.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_47_2598.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_51_3627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924520","1396924523","1396924525","1396924522","1396924521","1396924527"],"photo_ids_order":["1396924520","1396924521","1396924522","1396924523","1396924525","1396924527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e85f4d789462837f7557dde6832e901.jpg","text":"TemporaryFile(/tmp/multipartBody2297917313556594049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434584293,"filename":"image_25112025_18_55_35_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64d3157b3552da0802eca64ae483600f.jpg","text":"TemporaryFile(/tmp/multipartBody1206830146388688112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434584293,"filename":"image_25112025_18_55_44_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ee08c0f9ba4852f7d7bcc1e3bd3dfd1.jpg","text":"TemporaryFile(/tmp/multipartBody3977997207138082900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434584293,"filename":"image_25112025_18_55_47_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ade0e138244f9d58c9bf7254392d7180.jpg","text":"TemporaryFile(/tmp/multipartBody5016560873108003893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434584293,"filename":"image_25112025_18_55_42_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8e49f874e8ffa54d34b2ef0b919ff8a.jpg","text":"TemporaryFile(/tmp/multipartBody6071475878657189657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434584293,"filename":"image_25112025_18_55_38_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/851d7bb5d6b3b84414a28f253ad1a6aa.jpg","text":"TemporaryFile(/tmp/multipartBody638648909337538826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434584293,"filename":"image_25112025_18_55_51_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924522","file1":"1396924521","file0":"1396924520","file4":"1396924525","file5":"1396924527","file3":"1396924523"},"map_files_photo_id_array":[{"photo_id":"1396924527","filename":"file5"},{"photo_id":"1396924522","filename":"file2"},{"photo_id":"1396924525","filename":"file4"},{"photo_id":"1396924521","filename":"file1"},{"photo_id":"1396924520","filename":"file0"},{"photo_id":"1396924523","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924520":["hashtag1","hashtag2"]},{"1396924523":["hashtag1","hashtag2"]},{"1396924525":["hashtag1","hashtag2"]},{"1396924522":["hashtag1","hashtag2"]},{"1396924521":["hashtag1","hashtag2"]},{"1396924527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924520, 1396924523, 1396924525, 1396924522, 1396924521, 1396924527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73527669906616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:42:42.420591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_55_2585.jpg', '/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_58_3658.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_01_2746.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_07_2677.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_10_3732.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_13_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/10/18/image_31102025_10_18_55_2585.jpg
/home/pi/Desktop/images/31102025/10/18/image_31102025_10_18_58_3658.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_01_2746.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_07_2677.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_10_3732.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_13_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":["1396924547","1396924544","1396924538","1396924546","1396924540","1396924542"],"photo_ids_order":["1396924538","1396924540","1396924542","1396924544","1396924546","1396924547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/091c411917d96451720ca6af748976b5.jpg","text":"TemporaryFile(/tmp/multipartBody335609492653983089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434623565,"filename":"image_31102025_10_19_13_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d608274b9e3f225d5889186c3520e13.jpg","text":"TemporaryFile(/tmp/multipartBody7864316763959839185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434623565,"filename":"image_31102025_10_19_07_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/750c1230d4ea7ae9a3d78dcd7d611ee0.jpg","text":"TemporaryFile(/tmp/multipartBody7448147021222439217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434623565,"filename":"image_31102025_10_18_55_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fbdd980afe3a991eecdf1b4f3e25da5.jpg","text":"TemporaryFile(/tmp/multipartBody1379553466211428757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434623565,"filename":"image_31102025_10_19_10_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d7254ca03118aa04c1793022cf458f4.jpg","text":"TemporaryFile(/tmp/multipartBody3175696789483198524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434623565,"filename":"image_31102025_10_18_58_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/427e3c7986ab45d27f18839b16998c9e.jpg","text":"TemporaryFile(/tmp/multipartBody3200857499503745458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434623565,"filename":"image_31102025_10_19_01_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924542","file1":"1396924540","file0":"1396924538","file4":"1396924546","file5":"1396924547","file3":"1396924544"},"map_files_photo_id_array":[{"photo_id":"1396924547","filename":"file5"},{"photo_id":"1396924542","filename":"file2"},{"photo_id":"1396924546","filename":"file4"},{"photo_id":"1396924540","filename":"file1"},{"photo_id":"1396924538","filename":"file0"},{"photo_id":"1396924544","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924547":["hashtag1","hashtag2"]},{"1396924544":["hashtag1","hashtag2"]},{"1396924538":["hashtag1","hashtag2"]},{"1396924546":["hashtag1","hashtag2"]},{"1396924540":["hashtag1","hashtag2"]},{"1396924542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924547, 1396924544, 1396924538, 1396924546, 1396924540, 1396924542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94984221458435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:43:22.556645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/40/image_29112025_17_41_06_9896.jpg', '/home/pi/Desktop/images/29112025/17/42/image_29112025_17_42_45_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/40/image_29112025_17_41_06_9896.jpg
/home/pi/Desktop/images/29112025/17/42/image_29112025_17_42_45_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.43335795402526855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:43:32.714084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_53_2538.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_56_2657.jpg', '/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_59_3755.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_08_3775.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_11_2623.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_14_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_53_2538.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_56_2657.jpg
/home/pi/Desktop/images/25112025/18/55/image_25112025_18_55_59_3755.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_08_3775.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_11_2623.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_14_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":["1396924562","1396924561","1396924564","1396924560","1396924563","1396924557"],"photo_ids_order":["1396924557","1396924560","1396924561","1396924562","1396924563","1396924564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41e00e0eba72ac28ef0bfeac5d126fc6.jpg","text":"TemporaryFile(/tmp/multipartBody735875584108541445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434674882,"filename":"image_25112025_18_56_08_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac4ff59a49107f449425b6070e1868d2.jpg","text":"TemporaryFile(/tmp/multipartBody4708088876571237841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434674882,"filename":"image_25112025_18_55_59_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2c1adad21d45281b5459b3a22edc20d.jpg","text":"TemporaryFile(/tmp/multipartBody7562960557787649912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434674882,"filename":"image_25112025_18_56_14_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8c5bb95dd83dff906480f3dd12c9ac5.jpg","text":"TemporaryFile(/tmp/multipartBody3333286974573623010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434674882,"filename":"image_25112025_18_55_56_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03668a0b8e33c683e0e60d8db9b16404.jpg","text":"TemporaryFile(/tmp/multipartBody5240732292992440406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434674882,"filename":"image_25112025_18_56_11_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49593317c04ee3e00f9f16bbd23d687a.jpg","text":"TemporaryFile(/tmp/multipartBody7658050467511679101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434674882,"filename":"image_25112025_18_55_53_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924561","file1":"1396924560","file0":"1396924557","file4":"1396924563","file5":"1396924564","file3":"1396924562"},"map_files_photo_id_array":[{"photo_id":"1396924564","filename":"file5"},{"photo_id":"1396924561","filename":"file2"},{"photo_id":"1396924563","filename":"file4"},{"photo_id":"1396924560","filename":"file1"},{"photo_id":"1396924557","filename":"file0"},{"photo_id":"1396924562","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924562":["hashtag1","hashtag2"]},{"1396924561":["hashtag1","hashtag2"]},{"1396924564":["hashtag1","hashtag2"]},{"1396924560":["hashtag1","hashtag2"]},{"1396924563":["hashtag1","hashtag2"]},{"1396924557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924562, 1396924561, 1396924564, 1396924560, 1396924563, 1396924557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80587887763977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:44:11.873905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_18_3659.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_20_2561.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_23_2808.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_26_2813.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_29_3588.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_41_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_18_3659.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_20_2561.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_23_2808.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_26_2813.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_29_3588.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_41_2681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924577","1396924579","1396924570","1396924567","1396924566","1396924575"],"photo_ids_order":["1396924566","1396924567","1396924570","1396924575","1396924577","1396924579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5bb978ef27dc7860647677ac534de030.jpg","text":"TemporaryFile(/tmp/multipartBody4800810323785779850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434713932,"filename":"image_25112025_18_56_29_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b1db17a025043c11ce9fabd96d5eb2e.jpg","text":"TemporaryFile(/tmp/multipartBody7216859595656108502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434713932,"filename":"image_25112025_18_56_41_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4cf07e7fd1dd670a2f87ed9b3135c3a.jpg","text":"TemporaryFile(/tmp/multipartBody8597696770344061765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434713932,"filename":"image_25112025_18_56_23_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ab5eb4435db0c051c9a1b37f5edfe7a.jpg","text":"TemporaryFile(/tmp/multipartBody3940570909487690116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434713932,"filename":"image_25112025_18_56_20_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f147da2fd7e754bd404d1d51ffa596a5.jpg","text":"TemporaryFile(/tmp/multipartBody6235816870985042205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434713932,"filename":"image_25112025_18_56_18_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e68f92b09b61e9cb5c872af0359165a5.jpg","text":"TemporaryFile(/tmp/multipartBody1860214746679163133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434713932,"filename":"image_25112025_18_56_26_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924570","file1":"1396924567","file0":"1396924566","file4":"1396924577","file5":"1396924579","file3":"1396924575"},"map_files_photo_id_array":[{"photo_id":"1396924579","filename":"file5"},{"photo_id":"1396924570","filename":"file2"},{"photo_id":"1396924577","filename":"file4"},{"photo_id":"1396924567","filename":"file1"},{"photo_id":"1396924566","filename":"file0"},{"photo_id":"1396924575","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924577":["hashtag1","hashtag2"]},{"1396924579":["hashtag1","hashtag2"]},{"1396924570":["hashtag1","hashtag2"]},{"1396924567":["hashtag1","hashtag2"]},{"1396924566":["hashtag1","hashtag2"]},{"1396924575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924577, 1396924579, 1396924570, 1396924567, 1396924566, 1396924575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51996159553528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:45:02.851980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/40/image_29112025_17_41_06_9896.jpg', '/home/pi/Desktop/images/29112025/17/42/image_29112025_17_42_45_9638.jpg', '/home/pi/Desktop/images/29112025/17/42/image_29112025_17_42_55_10624.jpg', '/home/pi/Desktop/images/29112025/17/44/image_29112025_17_44_25_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/40/image_29112025_17_41_06_9896.jpg
/home/pi/Desktop/images/29112025/17/42/image_29112025_17_42_45_9638.jpg
/home/pi/Desktop/images/29112025/17/42/image_29112025_17_42_55_10624.jpg
/home/pi/Desktop/images/29112025/17/44/image_29112025_17_44_25_9822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924592","1396924594","1396924593","1396924595"],"photo_ids_order":["1396924592","1396924593","1396924594","1396924595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ad842d6f2601027e3425fd80c3fa61c.jpg","text":"TemporaryFile(/tmp/multipartBody1164595607836922936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434763490,"filename":"image_29112025_17_41_06_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fcfd76a019189701466de2053414cf9c.jpg","text":"TemporaryFile(/tmp/multipartBody5510525926515338943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434763490,"filename":"image_29112025_17_42_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/11/29/19b31380a9a59e2f3bae7ab0f33de1c4.jpg","text":"TemporaryFile(/tmp/multipartBody7108962657958121160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434763490,"filename":"image_29112025_17_42_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/11/29/dffe238514b75b14790c4c5b85b6394f.jpg","text":"TemporaryFile(/tmp/multipartBody6223672613407146922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434763490,"filename":"image_29112025_17_44_25_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924594","file1":"1396924593","file0":"1396924592","file3":"1396924595"},"map_files_photo_id_array":[{"photo_id":"1396924594","filename":"file2"},{"photo_id":"1396924593","filename":"file1"},{"photo_id":"1396924592","filename":"file0"},{"photo_id":"1396924595","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924592":["hashtag1","hashtag2"]},{"1396924594":["hashtag1","hashtag2"]},{"1396924593":["hashtag1","hashtag2"]},{"1396924595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924592, 1396924594, 1396924593, 1396924595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.4931161403656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:45:32.232866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_47_2816.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_50_3637.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_53_2820.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_56_2558.jpg', '/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_59_3809.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_02_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_47_2816.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_50_3637.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_53_2820.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_56_2558.jpg
/home/pi/Desktop/images/25112025/18/56/image_25112025_18_56_59_3809.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_02_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":["1396924613","1396924604","1396924607","1396924612","1396924609","1396924611"],"photo_ids_order":["1396924604","1396924607","1396924609","1396924611","1396924612","1396924613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/648656ebf1d031cec3c977e3718331aa.jpg","text":"TemporaryFile(/tmp/multipartBody5118638172498507302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434794409,"filename":"image_25112025_18_57_02_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a453d5d42eb58c2c9b2443075a6e1fd.jpg","text":"TemporaryFile(/tmp/multipartBody4228561362547808397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434794409,"filename":"image_25112025_18_56_47_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/245854fb1d4fbc9300c86ea9cf8bbb3d.jpg","text":"TemporaryFile(/tmp/multipartBody669812223893914122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434794409,"filename":"image_25112025_18_56_50_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21032812cca0295296eaf2080905b207.jpg","text":"TemporaryFile(/tmp/multipartBody7090079788938817520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434794409,"filename":"image_25112025_18_56_59_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/334401e68cabf230ec75a8857e23c258.jpg","text":"TemporaryFile(/tmp/multipartBody7232297675735754905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434794409,"filename":"image_25112025_18_56_53_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac86d0fc5c5bec0ab847d406db60e8f1.jpg","text":"TemporaryFile(/tmp/multipartBody2861303517600353700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434794409,"filename":"image_25112025_18_56_56_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924609","file1":"1396924607","file0":"1396924604","file4":"1396924612","file5":"1396924613","file3":"1396924611"},"map_files_photo_id_array":[{"photo_id":"1396924613","filename":"file5"},{"photo_id":"1396924609","filename":"file2"},{"photo_id":"1396924612","filename":"file4"},{"photo_id":"1396924607","filename":"file1"},{"photo_id":"1396924604","filename":"file0"},{"photo_id":"1396924611","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924613":["hashtag1","hashtag2"]},{"1396924604":["hashtag1","hashtag2"]},{"1396924607":["hashtag1","hashtag2"]},{"1396924612":["hashtag1","hashtag2"]},{"1396924609":["hashtag1","hashtag2"]},{"1396924611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924613, 1396924604, 1396924607, 1396924612, 1396924609, 1396924611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83048605918884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:46:12.364839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_05_2760.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_08_3676.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_11_2865.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_14_2730.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_17_2674.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_20_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_05_2760.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_08_3676.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_11_2865.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_14_2730.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_17_2674.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_20_3678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924616","1396924630","1396924624","1396924618","1396924627","1396924621"],"photo_ids_order":["1396924616","1396924618","1396924621","1396924624","1396924627","1396924630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dff8775f531caa7b838915413f6afaf2.jpg","text":"TemporaryFile(/tmp/multipartBody7357219983817904296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434834394,"filename":"image_25112025_18_57_05_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9eea092b1d64fbf2aff55a60240a282.jpg","text":"TemporaryFile(/tmp/multipartBody3519598733965928651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434834394,"filename":"image_25112025_18_57_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/11/29/afe3721deb3fff005e28df2c45372c91.jpg","text":"TemporaryFile(/tmp/multipartBody3099996304036268589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434834394,"filename":"image_25112025_18_57_14_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48c231c6c83e41d6cc78d87ca066ccb6.jpg","text":"TemporaryFile(/tmp/multipartBody4707713651327157910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434834394,"filename":"image_25112025_18_57_08_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae1998bc589ff33e9ba32c47bbb8dd37.jpg","text":"TemporaryFile(/tmp/multipartBody8256142681985239835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434834394,"filename":"image_25112025_18_57_17_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ec3a7018b4e9d3a7970d167efa412a5.jpg","text":"TemporaryFile(/tmp/multipartBody9031757051298713824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434834394,"filename":"image_25112025_18_57_11_2865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924621","file1":"1396924618","file0":"1396924616","file4":"1396924627","file5":"1396924630","file3":"1396924624"},"map_files_photo_id_array":[{"photo_id":"1396924630","filename":"file5"},{"photo_id":"1396924621","filename":"file2"},{"photo_id":"1396924627","filename":"file4"},{"photo_id":"1396924618","filename":"file1"},{"photo_id":"1396924616","filename":"file0"},{"photo_id":"1396924624","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924616":["hashtag1","hashtag2"]},{"1396924630":["hashtag1","hashtag2"]},{"1396924624":["hashtag1","hashtag2"]},{"1396924618":["hashtag1","hashtag2"]},{"1396924627":["hashtag1","hashtag2"]},{"1396924621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924616, 1396924630, 1396924624, 1396924618, 1396924627, 1396924621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47871685028076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:47:03.209258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/44/image_29112025_17_44_45_10756.jpg', '/home/pi/Desktop/images/29112025/17/45/image_29112025_17_45_24_10651.jpg', '/home/pi/Desktop/images/29112025/17/45/image_29112025_17_45_34_9784.jpg', '/home/pi/Desktop/images/29112025/17/45/image_29112025_17_45_44_9845.jpg', '/home/pi/Desktop/images/29112025/17/45/image_29112025_17_45_54_10576.jpg', '/home/pi/Desktop/images/29112025/17/45/image_29112025_17_46_04_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/44/image_29112025_17_44_45_10756.jpg
/home/pi/Desktop/images/29112025/17/45/image_29112025_17_45_24_10651.jpg
/home/pi/Desktop/images/29112025/17/45/image_29112025_17_45_34_9784.jpg
/home/pi/Desktop/images/29112025/17/45/image_29112025_17_45_44_9845.jpg
/home/pi/Desktop/images/29112025/17/45/image_29112025_17_45_54_10576.jpg
/home/pi/Desktop/images/29112025/17/45/image_29112025_17_46_04_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":["1396924634","1396924636","1396924633","1396924641","1396924635","1396924638"],"photo_ids_order":["1396924633","1396924634","1396924635","1396924636","1396924638","1396924641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0530441612ee14c77cbe9e5a2106e5b8.jpg","text":"TemporaryFile(/tmp/multipartBody9107497446567218231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434883988,"filename":"image_29112025_17_45_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8358f6142be8b7bfe3819a6651d57e90.jpg","text":"TemporaryFile(/tmp/multipartBody6312551842144903801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434883988,"filename":"image_29112025_17_45_44_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05b17aec610519fbe58db1e1a37c56ed.jpg","text":"TemporaryFile(/tmp/multipartBody2001050031584747154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434883988,"filename":"image_29112025_17_44_45_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba11060badcb43fc8249d49c2fd7119b.jpg","text":"TemporaryFile(/tmp/multipartBody5079241448488950986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434883988,"filename":"image_29112025_17_46_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/11/29/e2faa6101360d5d99d9f0d820426207f.jpg","text":"TemporaryFile(/tmp/multipartBody8774823463499237277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434883988,"filename":"image_29112025_17_45_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/11/29/24ad139558710aa7fd5d814e7943db9f.jpg","text":"TemporaryFile(/tmp/multipartBody9017884870377958197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434883988,"filename":"image_29112025_17_45_54_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924635","file1":"1396924634","file0":"1396924633","file4":"1396924638","file5":"1396924641","file3":"1396924636"},"map_files_photo_id_array":[{"photo_id":"1396924641","filename":"file5"},{"photo_id":"1396924635","filename":"file2"},{"photo_id":"1396924638","filename":"file4"},{"photo_id":"1396924634","filename":"file1"},{"photo_id":"1396924633","filename":"file0"},{"photo_id":"1396924636","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924634":["hashtag1","hashtag2"]},{"1396924636":["hashtag1","hashtag2"]},{"1396924633":["hashtag1","hashtag2"]},{"1396924641":["hashtag1","hashtag2"]},{"1396924635":["hashtag1","hashtag2"]},{"1396924638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924634, 1396924636, 1396924633, 1396924641, 1396924635, 1396924638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02451539039612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:47:42.630018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_19_3575.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_22_2670.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_25_2716.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_31_3809.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_34_2592.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_37_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_19_3575.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_22_2670.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_25_2716.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_31_3809.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_34_2592.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_37_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924664","1396924661","1396924663","1396924665","1396924662","1396924650"],"photo_ids_order":["1396924650","1396924661","1396924662","1396924663","1396924664","1396924665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f68f633dd2b2de4e5520f32f78c8d8cd.jpg","text":"TemporaryFile(/tmp/multipartBody6444690475774508958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434923768,"filename":"image_31102025_10_19_34_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a2136609093c2b608239306d8cd2af2.jpg","text":"TemporaryFile(/tmp/multipartBody5091557798325685044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434923768,"filename":"image_31102025_10_19_22_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13bc24d79998190ae99813a54ab6498d.jpg","text":"TemporaryFile(/tmp/multipartBody5038158121520830764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434923768,"filename":"image_31102025_10_19_31_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5c98b12a8dab69b1160b9d37608a919.jpg","text":"TemporaryFile(/tmp/multipartBody2360759737484198515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434923768,"filename":"image_31102025_10_19_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/11/29/b28c202e7a6504ecb0f77d5cad8969ba.jpg","text":"TemporaryFile(/tmp/multipartBody2698197792941361007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434923768,"filename":"image_31102025_10_19_25_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3db304fa8ecaf380af27b92993a9db78.jpg","text":"TemporaryFile(/tmp/multipartBody4252038654443610250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434923768,"filename":"image_31102025_10_19_19_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924662","file1":"1396924661","file0":"1396924650","file4":"1396924664","file5":"1396924665","file3":"1396924663"},"map_files_photo_id_array":[{"photo_id":"1396924665","filename":"file5"},{"photo_id":"1396924662","filename":"file2"},{"photo_id":"1396924664","filename":"file4"},{"photo_id":"1396924661","filename":"file1"},{"photo_id":"1396924650","filename":"file0"},{"photo_id":"1396924663","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924664":["hashtag1","hashtag2"]},{"1396924661":["hashtag1","hashtag2"]},{"1396924663":["hashtag1","hashtag2"]},{"1396924665":["hashtag1","hashtag2"]},{"1396924662":["hashtag1","hashtag2"]},{"1396924650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924664, 1396924661, 1396924663, 1396924665, 1396924662, 1396924650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17082715034485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:48:22.824953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/46/image_29112025_17_46_14_9618.jpg', '/home/pi/Desktop/images/29112025/17/46/image_29112025_17_46_24_10623.jpg', '/home/pi/Desktop/images/29112025/17/46/image_29112025_17_46_34_9556.jpg', '/home/pi/Desktop/images/29112025/17/46/image_29112025_17_46_43_9618.jpg', '/home/pi/Desktop/images/29112025/17/46/image_29112025_17_46_54_10720.jpg', '/home/pi/Desktop/images/29112025/17/46/image_29112025_17_47_04_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/46/image_29112025_17_46_14_9618.jpg
/home/pi/Desktop/images/29112025/17/46/image_29112025_17_46_24_10623.jpg
/home/pi/Desktop/images/29112025/17/46/image_29112025_17_46_34_9556.jpg
/home/pi/Desktop/images/29112025/17/46/image_29112025_17_46_43_9618.jpg
/home/pi/Desktop/images/29112025/17/46/image_29112025_17_46_54_10720.jpg
/home/pi/Desktop/images/29112025/17/46/image_29112025_17_47_04_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":["1396924679","1396924672","1396924681","1396924675","1396924669","1396924677"],"photo_ids_order":["1396924669","1396924672","1396924675","1396924677","1396924679","1396924681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2268c4be3b45aee3b839d96dd038e7a.jpg","text":"TemporaryFile(/tmp/multipartBody854910397762899371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434963528,"filename":"image_29112025_17_46_54_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e38abd5366bc9366c9862ea0adb41e70.jpg","text":"TemporaryFile(/tmp/multipartBody1787623188100715113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434963528,"filename":"image_29112025_17_46_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/11/29/cac1fc96c905ed648d7bce7f6bb42a30.jpg","text":"TemporaryFile(/tmp/multipartBody3653578607034109039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434963528,"filename":"image_29112025_17_47_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/11/29/475e2b5215638fcb16fd97fab07c12f5.jpg","text":"TemporaryFile(/tmp/multipartBody3987373202836397050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434963528,"filename":"image_29112025_17_46_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f8d7833e683f211c4971c59fd9e219b.jpg","text":"TemporaryFile(/tmp/multipartBody8973504134459942358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434963528,"filename":"image_29112025_17_46_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/11/29/f46ccdfbc79e6b17f2cc5b702c4c7c18.jpg","text":"TemporaryFile(/tmp/multipartBody6076117903899666711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764434963528,"filename":"image_29112025_17_46_43_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924675","file1":"1396924672","file0":"1396924669","file4":"1396924679","file5":"1396924681","file3":"1396924677"},"map_files_photo_id_array":[{"photo_id":"1396924681","filename":"file5"},{"photo_id":"1396924675","filename":"file2"},{"photo_id":"1396924679","filename":"file4"},{"photo_id":"1396924672","filename":"file1"},{"photo_id":"1396924669","filename":"file0"},{"photo_id":"1396924677","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924679":["hashtag1","hashtag2"]},{"1396924672":["hashtag1","hashtag2"]},{"1396924681":["hashtag1","hashtag2"]},{"1396924675":["hashtag1","hashtag2"]},{"1396924669":["hashtag1","hashtag2"]},{"1396924677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924679, 1396924672, 1396924681, 1396924675, 1396924669, 1396924677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0998911857605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:49:02.917106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/47/image_29112025_17_47_44_10629.jpg', '/home/pi/Desktop/images/29112025/17/48/image_29112025_17_48_14_10652.jpg', '/home/pi/Desktop/images/29112025/17/48/image_29112025_17_48_33_9742.jpg', '/home/pi/Desktop/images/29112025/17/48/image_29112025_17_48_44_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/47/image_29112025_17_47_44_10629.jpg
/home/pi/Desktop/images/29112025/17/48/image_29112025_17_48_14_10652.jpg
/home/pi/Desktop/images/29112025/17/48/image_29112025_17_48_33_9742.jpg
/home/pi/Desktop/images/29112025/17/48/image_29112025_17_48_44_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924685","1396924684","1396924683","1396924686"],"photo_ids_order":["1396924683","1396924684","1396924685","1396924686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2422d5cf07b679765eb12b297f0b863.jpg","text":"TemporaryFile(/tmp/multipartBody5617481279817112848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435003685,"filename":"image_29112025_17_48_33_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef5b76e5d69529b430866a6b38d059f3.jpg","text":"TemporaryFile(/tmp/multipartBody4241968290473409407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435003685,"filename":"image_29112025_17_48_14_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e987af88298003ae39efdec3f7e7b335.jpg","text":"TemporaryFile(/tmp/multipartBody7094563312090641720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435003685,"filename":"image_29112025_17_47_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/11/29/777fc7efdf8068674b0f84fab9966551.jpg","text":"TemporaryFile(/tmp/multipartBody4798176710840923435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435003685,"filename":"image_29112025_17_48_44_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924685","file1":"1396924684","file0":"1396924683","file3":"1396924686"},"map_files_photo_id_array":[{"photo_id":"1396924685","filename":"file2"},{"photo_id":"1396924684","filename":"file1"},{"photo_id":"1396924683","filename":"file0"},{"photo_id":"1396924686","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924685":["hashtag1","hashtag2"]},{"1396924684":["hashtag1","hashtag2"]},{"1396924683":["hashtag1","hashtag2"]},{"1396924686":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924685, 1396924684, 1396924683, 1396924686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.02349877357483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:49:32.000445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_23_2846.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_26_2615.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_29_3578.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_32_2651.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_35_2564.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_41_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_23_2846.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_26_2615.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_29_3578.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_32_2651.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_35_2564.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_41_2672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924697","1396924699","1396924703","1396924702","1396924701","1396924694"],"photo_ids_order":["1396924694","1396924697","1396924699","1396924701","1396924702","1396924703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1c3cb190d69d5808bf983ba072be6f3.jpg","text":"TemporaryFile(/tmp/multipartBody229895431609956038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435034155,"filename":"image_25112025_18_57_26_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1440e0cc0ec5762e38c324d082c00ae9.jpg","text":"TemporaryFile(/tmp/multipartBody4325842224918621842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435034155,"filename":"image_25112025_18_57_29_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9cb6048973e68442f88e7d6ace9b7a9.jpg","text":"TemporaryFile(/tmp/multipartBody1681668416130088692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435034155,"filename":"image_25112025_18_57_41_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79af386e76148e1a19f090678571d682.jpg","text":"TemporaryFile(/tmp/multipartBody8555509024153552245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435034155,"filename":"image_25112025_18_57_35_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5f896edbce088ef6d77eef9b34f99f6.jpg","text":"TemporaryFile(/tmp/multipartBody4526763488396253889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435034155,"filename":"image_25112025_18_57_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/11/29/4da4a1e12992e47e5769073f49b5a708.jpg","text":"TemporaryFile(/tmp/multipartBody5037517388646233347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435034155,"filename":"image_25112025_18_57_23_2846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924699","file1":"1396924697","file0":"1396924694","file4":"1396924702","file5":"1396924703","file3":"1396924701"},"map_files_photo_id_array":[{"photo_id":"1396924703","filename":"file5"},{"photo_id":"1396924699","filename":"file2"},{"photo_id":"1396924702","filename":"file4"},{"photo_id":"1396924697","filename":"file1"},{"photo_id":"1396924694","filename":"file0"},{"photo_id":"1396924701","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924697":["hashtag1","hashtag2"]},{"1396924699":["hashtag1","hashtag2"]},{"1396924703":["hashtag1","hashtag2"]},{"1396924702":["hashtag1","hashtag2"]},{"1396924701":["hashtag1","hashtag2"]},{"1396924694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924697, 1396924699, 1396924703, 1396924702, 1396924701, 1396924694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92389798164368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:50:12.242270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_44_2702.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_47_3744.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_50_2671.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_53_2725.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_56_2727.jpg', '/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_59_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_44_2702.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_47_3744.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_50_2671.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_53_2725.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_56_2727.jpg
/home/pi/Desktop/images/25112025/18/57/image_25112025_18_57_59_3772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924715","1396924718","1396924711","1396924705","1396924708","1396924704"],"photo_ids_order":["1396924704","1396924705","1396924708","1396924711","1396924715","1396924718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bda0e7fd4ca7f7d1755c5a703625d3c0.jpg","text":"TemporaryFile(/tmp/multipartBody3430789926903334704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435074286,"filename":"image_25112025_18_57_56_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e0921f7e043768ef5649ecd0acd3648.jpg","text":"TemporaryFile(/tmp/multipartBody4233189805768694449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435074286,"filename":"image_25112025_18_57_59_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b05dd80c40bc20f79ab902e69635f47.jpg","text":"TemporaryFile(/tmp/multipartBody8745062018554842699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435074286,"filename":"image_25112025_18_57_53_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2b8743ede21c5cb1c720462d50f97fd.jpg","text":"TemporaryFile(/tmp/multipartBody1122354071568579557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435074286,"filename":"image_25112025_18_57_47_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce078f6743c6527f93c43d803f61ba69.jpg","text":"TemporaryFile(/tmp/multipartBody1181381175918122873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435074286,"filename":"image_25112025_18_57_50_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd1e8363fc77338f1a66be3d2239eeb6.jpg","text":"TemporaryFile(/tmp/multipartBody3876633718858815326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435074286,"filename":"image_25112025_18_57_44_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924708","file1":"1396924705","file0":"1396924704","file4":"1396924715","file5":"1396924718","file3":"1396924711"},"map_files_photo_id_array":[{"photo_id":"1396924718","filename":"file5"},{"photo_id":"1396924708","filename":"file2"},{"photo_id":"1396924715","filename":"file4"},{"photo_id":"1396924705","filename":"file1"},{"photo_id":"1396924704","filename":"file0"},{"photo_id":"1396924711","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924715":["hashtag1","hashtag2"]},{"1396924718":["hashtag1","hashtag2"]},{"1396924711":["hashtag1","hashtag2"]},{"1396924705":["hashtag1","hashtag2"]},{"1396924708":["hashtag1","hashtag2"]},{"1396924704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924715, 1396924718, 1396924711, 1396924705, 1396924708, 1396924704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42326211929321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:51:03.213314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/48/image_29112025_17_48_54_9608.jpg', '/home/pi/Desktop/images/29112025/17/49/image_29112025_17_49_53_10105.jpg', '/home/pi/Desktop/images/29112025/17/50/image_29112025_17_50_14_10056.jpg', '/home/pi/Desktop/images/29112025/17/50/image_29112025_17_50_25_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/48/image_29112025_17_48_54_9608.jpg
/home/pi/Desktop/images/29112025/17/49/image_29112025_17_49_53_10105.jpg
/home/pi/Desktop/images/29112025/17/50/image_29112025_17_50_14_10056.jpg
/home/pi/Desktop/images/29112025/17/50/image_29112025_17_50_25_10735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924736","1396924735","1396924734","1396924737"],"photo_ids_order":["1396924734","1396924735","1396924736","1396924737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b11e06d6e397f925210876010e0d7a4.jpg","text":"TemporaryFile(/tmp/multipartBody4385152003700321847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435123865,"filename":"image_29112025_17_50_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/526a54458cae5d42107e7f908dcec7c2.jpg","text":"TemporaryFile(/tmp/multipartBody32332929846553700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435123865,"filename":"image_29112025_17_49_53_10105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f33c29ff447be003ecce4d18a52523e2.jpg","text":"TemporaryFile(/tmp/multipartBody2924988823970103913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435123865,"filename":"image_29112025_17_48_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f18161edd27301765b205660bd6b8eae.jpg","text":"TemporaryFile(/tmp/multipartBody2350991063675689025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435123865,"filename":"image_29112025_17_50_25_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924736","file1":"1396924735","file0":"1396924734","file3":"1396924737"},"map_files_photo_id_array":[{"photo_id":"1396924736","filename":"file2"},{"photo_id":"1396924735","filename":"file1"},{"photo_id":"1396924734","filename":"file0"},{"photo_id":"1396924737","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924736":["hashtag1","hashtag2"]},{"1396924735":["hashtag1","hashtag2"]},{"1396924734":["hashtag1","hashtag2"]},{"1396924737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924736, 1396924735, 1396924734, 1396924737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.454487800598145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:51:32.474325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_02_2640.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_05_2768.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_08_2904.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_11_3534.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_14_2683.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_17_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_02_2640.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_05_2768.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_08_2904.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_11_3534.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_14_2683.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_17_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":["1396924754","1396924748","1396924756","1396924750","1396924744","1396924752"],"photo_ids_order":["1396924744","1396924748","1396924750","1396924752","1396924754","1396924756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccea46d97b462d06199c6d9c11ea55dd.jpg","text":"TemporaryFile(/tmp/multipartBody7342205183409498169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435154654,"filename":"image_25112025_18_58_14_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6373b830b2c84828bef63aedb65261e.jpg","text":"TemporaryFile(/tmp/multipartBody563068154248776502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435154654,"filename":"image_25112025_18_58_05_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c603be0613785d402eb21a0155b9afaf.jpg","text":"TemporaryFile(/tmp/multipartBody7788701687684736593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435154654,"filename":"image_25112025_18_58_17_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bab9b92b23f602cfbcabd783b6ec5eb1.jpg","text":"TemporaryFile(/tmp/multipartBody6287653131631370112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435154654,"filename":"image_25112025_18_58_08_2904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6b571744ea9fb089425b504ed60bf16.jpg","text":"TemporaryFile(/tmp/multipartBody7586675136009400990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435154654,"filename":"image_25112025_18_58_02_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1783db2ebb21cfd5a8c8acc79ea97f0.jpg","text":"TemporaryFile(/tmp/multipartBody3953827941345733714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435154654,"filename":"image_25112025_18_58_11_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924750","file1":"1396924748","file0":"1396924744","file4":"1396924754","file5":"1396924756","file3":"1396924752"},"map_files_photo_id_array":[{"photo_id":"1396924756","filename":"file5"},{"photo_id":"1396924750","filename":"file2"},{"photo_id":"1396924754","filename":"file4"},{"photo_id":"1396924748","filename":"file1"},{"photo_id":"1396924744","filename":"file0"},{"photo_id":"1396924752","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924754":["hashtag1","hashtag2"]},{"1396924748":["hashtag1","hashtag2"]},{"1396924756":["hashtag1","hashtag2"]},{"1396924750":["hashtag1","hashtag2"]},{"1396924744":["hashtag1","hashtag2"]},{"1396924752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924754, 1396924748, 1396924756, 1396924750, 1396924744, 1396924752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.616464376449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 17:52:12.620649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_23_2663.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_26_2738.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_29_3557.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_32_2556.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_34_2704.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_38_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_23_2663.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_26_2738.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_29_3557.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_32_2556.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_34_2704.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_38_3720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924757","1396924771","1396924768","1396924762","1396924765","1396924759"],"photo_ids_order":["1396924757","1396924759","1396924762","1396924765","1396924768","1396924771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aae42606feaacbcd9b085be8408e7ce2.jpg","text":"TemporaryFile(/tmp/multipartBody6449628923660582079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435194699,"filename":"image_25112025_18_58_23_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b877a173a8e6f5711efe112fbe1f983.jpg","text":"TemporaryFile(/tmp/multipartBody6681294425380389795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435194699,"filename":"image_25112025_18_58_38_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/063696c9f6fdfd380fe131d2c8ce5a82.jpg","text":"TemporaryFile(/tmp/multipartBody6921483313989917872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435194699,"filename":"image_25112025_18_58_34_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16c3324895a4811f0b649e2d086e5bfa.jpg","text":"TemporaryFile(/tmp/multipartBody8120285240730460355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435194699,"filename":"image_25112025_18_58_29_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97937d1e62c4c3a9d432128b0d69fc40.jpg","text":"TemporaryFile(/tmp/multipartBody3534159475028973100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435194699,"filename":"image_25112025_18_58_32_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95f12195174a9d1dd0d50a3387fdf867.jpg","text":"TemporaryFile(/tmp/multipartBody2235914615266053454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435194699,"filename":"image_25112025_18_58_26_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924762","file1":"1396924759","file0":"1396924757","file4":"1396924768","file5":"1396924771","file3":"1396924765"},"map_files_photo_id_array":[{"photo_id":"1396924771","filename":"file5"},{"photo_id":"1396924762","filename":"file2"},{"photo_id":"1396924768","filename":"file4"},{"photo_id":"1396924759","filename":"file1"},{"photo_id":"1396924757","filename":"file0"},{"photo_id":"1396924765","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396924757":["hashtag1","hashtag2"]},{"1396924771":["hashtag1","hashtag2"]},{"1396924768":["hashtag1","hashtag2"]},{"1396924762":["hashtag1","hashtag2"]},{"1396924765":["hashtag1","hashtag2"]},{"1396924759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396924757, 1396924771, 1396924768, 1396924762, 1396924765, 1396924759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35155129432678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:53:03.281338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/50/image_29112025_17_50_54_10099.jpg', '/home/pi/Desktop/images/29112025/17/50/image_29112025_17_51_04_10086.jpg', '/home/pi/Desktop/images/29112025/17/51/image_29112025_17_51_14_9840.jpg', '/home/pi/Desktop/images/29112025/17/51/image_29112025_17_51_24_9891.jpg', '/home/pi/Desktop/images/29112025/17/51/image_29112025_17_51_44_9759.jpg', '/home/pi/Desktop/images/29112025/17/51/image_29112025_17_51_54_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/50/image_29112025_17_50_54_10099.jpg
/home/pi/Desktop/images/29112025/17/50/image_29112025_17_51_04_10086.jpg
/home/pi/Desktop/images/29112025/17/51/image_29112025_17_51_14_9840.jpg
/home/pi/Desktop/images/29112025/17/51/image_29112025_17_51_24_9891.jpg
/home/pi/Desktop/images/29112025/17/51/image_29112025_17_51_44_9759.jpg
/home/pi/Desktop/images/29112025/17/51/image_29112025_17_51_54_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":["1396924781","1396924784","1396924778","1396924780","1396924779","1396924788"],"photo_ids_order":["1396924778","1396924779","1396924780","1396924781","1396924784","1396924788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b6a59ab5c3364f7a87bd85851922997.jpg","text":"TemporaryFile(/tmp/multipartBody7402569023567699409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435244016,"filename":"image_29112025_17_51_24_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd406a0272d1114ac151731ca9bbc0db.jpg","text":"TemporaryFile(/tmp/multipartBody4481492507417599444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435244016,"filename":"image_29112025_17_51_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/11/29/eeeea18f86934f91237d6de3879fc794.jpg","text":"TemporaryFile(/tmp/multipartBody3312958207348241887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435244016,"filename":"image_29112025_17_50_54_10099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40b9ebcba671760f2ab664a694db64e9.jpg","text":"TemporaryFile(/tmp/multipartBody7527833016621612915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435244016,"filename":"image_29112025_17_51_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/11/29/cc7867d9be982dcbd349993b1191aee3.jpg","text":"TemporaryFile(/tmp/multipartBody5294892807599892764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435244016,"filename":"image_29112025_17_51_04_10086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d746c1e5dfa8fff61cd780ff98fd9ad8.jpg","text":"TemporaryFile(/tmp/multipartBody450266029726813623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435244016,"filename":"image_29112025_17_51_54_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924780","file1":"1396924779","file0":"1396924778","file4":"1396924784","file5":"1396924788","file3":"1396924781"},"map_files_photo_id_array":[{"photo_id":"1396924788","filename":"file5"},{"photo_id":"1396924780","filename":"file2"},{"photo_id":"1396924784","filename":"file4"},{"photo_id":"1396924779","filename":"file1"},{"photo_id":"1396924778","filename":"file0"},{"photo_id":"1396924781","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924781":["hashtag1","hashtag2"]},{"1396924784":["hashtag1","hashtag2"]},{"1396924778":["hashtag1","hashtag2"]},{"1396924780":["hashtag1","hashtag2"]},{"1396924779":["hashtag1","hashtag2"]},{"1396924788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924781, 1396924784, 1396924778, 1396924780, 1396924779, 1396924788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99131655693054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:53:42.886399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_40_3620.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_43_2722.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_45_2558.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_52_2717.jpg', '/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_55_2736.jpg', '/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_07_3013.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_40_3620.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_43_2722.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_45_2558.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_52_2717.jpg
/home/pi/Desktop/images/31102025/10/19/image_31102025_10_19_55_2736.jpg
/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_07_3013.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924796","1396924811","1396924808","1396924810","1396924807","1396924809"],"photo_ids_order":["1396924796","1396924807","1396924808","1396924809","1396924810","1396924811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e2c3917a9f4e905e998ccd60372af17.jpg","text":"TemporaryFile(/tmp/multipartBody5995808086922128058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435284035,"filename":"image_31102025_10_19_40_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9b92c718cb61c3ea9f3dfd44dd709d6.jpg","text":"TemporaryFile(/tmp/multipartBody8002532948170959048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435284035,"filename":"image_31102025_10_20_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82dd84ffabebc5fe1bcae13028a71494.jpg","text":"TemporaryFile(/tmp/multipartBody7203606872726185504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435284035,"filename":"image_31102025_10_19_45_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24f5786c40943d6d3652466cbeecacd8.jpg","text":"TemporaryFile(/tmp/multipartBody7379789349675373854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435284035,"filename":"image_31102025_10_19_55_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07bc1022196b68cd706eafc09f3e0d5c.jpg","text":"TemporaryFile(/tmp/multipartBody8168183022738528756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435284035,"filename":"image_31102025_10_19_43_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3baada5ea82bba2b6a17e7ee5db1c0d3.jpg","text":"TemporaryFile(/tmp/multipartBody4760129723054951873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435284035,"filename":"image_31102025_10_19_52_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924808","file1":"1396924807","file0":"1396924796","file4":"1396924810","file5":"1396924811","file3":"1396924809"},"map_files_photo_id_array":[{"photo_id":"1396924811","filename":"file5"},{"photo_id":"1396924808","filename":"file2"},{"photo_id":"1396924810","filename":"file4"},{"photo_id":"1396924807","filename":"file1"},{"photo_id":"1396924796","filename":"file0"},{"photo_id":"1396924809","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924796":["hashtag1","hashtag2"]},{"1396924811":["hashtag1","hashtag2"]},{"1396924808":["hashtag1","hashtag2"]},{"1396924810":["hashtag1","hashtag2"]},{"1396924807":["hashtag1","hashtag2"]},{"1396924809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924796, 1396924811, 1396924808, 1396924810, 1396924807, 1396924809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10430645942688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:54:22.094432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/51/image_29112025_17_52_05_10733.jpg', '/home/pi/Desktop/images/29112025/17/52/image_29112025_17_52_14_9550.jpg', '/home/pi/Desktop/images/29112025/17/52/image_29112025_17_52_25_10654.jpg', '/home/pi/Desktop/images/29112025/17/52/image_29112025_17_52_35_9618.jpg', '/home/pi/Desktop/images/29112025/17/52/image_29112025_17_52_44_9826.jpg', '/home/pi/Desktop/images/29112025/17/52/image_29112025_17_52_54_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/51/image_29112025_17_52_05_10733.jpg
/home/pi/Desktop/images/29112025/17/52/image_29112025_17_52_14_9550.jpg
/home/pi/Desktop/images/29112025/17/52/image_29112025_17_52_25_10654.jpg
/home/pi/Desktop/images/29112025/17/52/image_29112025_17_52_35_9618.jpg
/home/pi/Desktop/images/29112025/17/52/image_29112025_17_52_44_9826.jpg
/home/pi/Desktop/images/29112025/17/52/image_29112025_17_52_54_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924829","1396924814","1396924825","1396924827","1396924821","1396924818"],"photo_ids_order":["1396924814","1396924818","1396924821","1396924825","1396924827","1396924829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b6ba0f1ef4fcea7f865f0e38c232a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4530707511471930351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435322815,"filename":"image_29112025_17_52_54_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/caedf5b258f4b16f550ef108c6c4d482.jpg","text":"TemporaryFile(/tmp/multipartBody3969909807449265548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435322815,"filename":"image_29112025_17_52_05_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d08875b235651945caf78b493c4c776d.jpg","text":"TemporaryFile(/tmp/multipartBody7780983852130651034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435322815,"filename":"image_29112025_17_52_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/11/29/4216e08f65e407bd1a50ceec80b1a613.jpg","text":"TemporaryFile(/tmp/multipartBody3360400178987914141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435322815,"filename":"image_29112025_17_52_44_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0a9fc3a5217cfb4cbce869c9c4aa79a.jpg","text":"TemporaryFile(/tmp/multipartBody449508454551058461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435322815,"filename":"image_29112025_17_52_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/11/29/b2d49ea872e8c9b4c166ca103a9b9745.jpg","text":"TemporaryFile(/tmp/multipartBody4447817839855283210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435322815,"filename":"image_29112025_17_52_14_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924821","file1":"1396924818","file0":"1396924814","file4":"1396924827","file5":"1396924829","file3":"1396924825"},"map_files_photo_id_array":[{"photo_id":"1396924829","filename":"file5"},{"photo_id":"1396924821","filename":"file2"},{"photo_id":"1396924827","filename":"file4"},{"photo_id":"1396924818","filename":"file1"},{"photo_id":"1396924814","filename":"file0"},{"photo_id":"1396924825","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924829":["hashtag1","hashtag2"]},{"1396924814":["hashtag1","hashtag2"]},{"1396924825":["hashtag1","hashtag2"]},{"1396924827":["hashtag1","hashtag2"]},{"1396924821":["hashtag1","hashtag2"]},{"1396924818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924829, 1396924814, 1396924825, 1396924827, 1396924821, 1396924818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82135248184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:55:03.013799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/52/image_29112025_17_53_04_9732.jpg', '/home/pi/Desktop/images/29112025/17/53/image_29112025_17_53_15_10712.jpg', '/home/pi/Desktop/images/29112025/17/53/image_29112025_17_53_24_9665.jpg', '/home/pi/Desktop/images/29112025/17/53/image_29112025_17_53_45_10666.jpg', '/home/pi/Desktop/images/29112025/17/53/image_29112025_17_53_54_9598.jpg', '/home/pi/Desktop/images/29112025/17/53/image_29112025_17_54_05_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/52/image_29112025_17_53_04_9732.jpg
/home/pi/Desktop/images/29112025/17/53/image_29112025_17_53_15_10712.jpg
/home/pi/Desktop/images/29112025/17/53/image_29112025_17_53_24_9665.jpg
/home/pi/Desktop/images/29112025/17/53/image_29112025_17_53_45_10666.jpg
/home/pi/Desktop/images/29112025/17/53/image_29112025_17_53_54_9598.jpg
/home/pi/Desktop/images/29112025/17/53/image_29112025_17_54_05_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":["1396924838","1396924832","1396924835","1396924831","1396924833","1396924830"],"photo_ids_order":["1396924830","1396924831","1396924832","1396924833","1396924835","1396924838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0fcc20a4beebe0abe39585c6ee4df80f.jpg","text":"TemporaryFile(/tmp/multipartBody4926328710637023771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435363756,"filename":"image_29112025_17_54_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecb314fa08179e86f2c74dd9d47c80ed.jpg","text":"TemporaryFile(/tmp/multipartBody2528123795032893643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435363756,"filename":"image_29112025_17_53_24_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/043674b2e4d8926a467def05ba4fea9a.jpg","text":"TemporaryFile(/tmp/multipartBody3180872925620562342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435363756,"filename":"image_29112025_17_53_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/11/29/7cb1fd6f11f1f1a7ab9d8a86ac5a4445.jpg","text":"TemporaryFile(/tmp/multipartBody1548077727133369535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435363756,"filename":"image_29112025_17_53_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/11/29/cd38937cd16ddd8bc9523682a5527016.jpg","text":"TemporaryFile(/tmp/multipartBody6861202713609821475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435363756,"filename":"image_29112025_17_53_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/11/29/8051735bdac783c8b6adc52d2ac4aa8b.jpg","text":"TemporaryFile(/tmp/multipartBody4289436551811101565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435363756,"filename":"image_29112025_17_53_04_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924832","file1":"1396924831","file0":"1396924830","file4":"1396924835","file5":"1396924838","file3":"1396924833"},"map_files_photo_id_array":[{"photo_id":"1396924838","filename":"file5"},{"photo_id":"1396924832","filename":"file2"},{"photo_id":"1396924835","filename":"file4"},{"photo_id":"1396924831","filename":"file1"},{"photo_id":"1396924830","filename":"file0"},{"photo_id":"1396924833","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924838":["hashtag1","hashtag2"]},{"1396924832":["hashtag1","hashtag2"]},{"1396924835":["hashtag1","hashtag2"]},{"1396924831":["hashtag1","hashtag2"]},{"1396924833":["hashtag1","hashtag2"]},{"1396924830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924838, 1396924832, 1396924835, 1396924831, 1396924833, 1396924830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.439326763153076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:55:42.286946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_11_3830.jpg', '/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_14_2717.jpg', '/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_17_2721.jpg', '/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_20_3659.jpg', '/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_23_2779.jpg', '/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_29_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/10/20/image_31102025_10_20_11_3830.jpg
/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_14_2717.jpg
/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_17_2721.jpg
/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_20_3659.jpg
/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_23_2779.jpg
/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_29_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":["1396924850","1396924853","1396924847","1396924852","1396924851","1396924854"],"photo_ids_order":["1396924847","1396924850","1396924851","1396924852","1396924853","1396924854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3f3879c2ac837f711afbf247e50d247.jpg","text":"TemporaryFile(/tmp/multipartBody3742999470456363010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435403426,"filename":"image_31102025_10_20_14_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24a1a918ec6f1282d34f1a10472fe46c.jpg","text":"TemporaryFile(/tmp/multipartBody6842522865736668988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435403426,"filename":"image_31102025_10_20_23_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe9537fbca199241619f324219ae7796.jpg","text":"TemporaryFile(/tmp/multipartBody7209375198919514471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435403426,"filename":"image_31102025_10_20_11_3830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/577242b616f7b586b7c0c82c848b0841.jpg","text":"TemporaryFile(/tmp/multipartBody928087507980407303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435403426,"filename":"image_31102025_10_20_20_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d8ecac5b4cd315e043432425ccbc32d.jpg","text":"TemporaryFile(/tmp/multipartBody3259595920191985697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435403426,"filename":"image_31102025_10_20_17_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fcf9e2bdbf06fc06ce32b417d0bf2b09.jpg","text":"TemporaryFile(/tmp/multipartBody4062286053934844691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435403426,"filename":"image_31102025_10_20_29_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924851","file1":"1396924850","file0":"1396924847","file4":"1396924853","file5":"1396924854","file3":"1396924852"},"map_files_photo_id_array":[{"photo_id":"1396924854","filename":"file5"},{"photo_id":"1396924851","filename":"file2"},{"photo_id":"1396924853","filename":"file4"},{"photo_id":"1396924850","filename":"file1"},{"photo_id":"1396924847","filename":"file0"},{"photo_id":"1396924852","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924850":["hashtag1","hashtag2"]},{"1396924853":["hashtag1","hashtag2"]},{"1396924847":["hashtag1","hashtag2"]},{"1396924852":["hashtag1","hashtag2"]},{"1396924851":["hashtag1","hashtag2"]},{"1396924854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924850, 1396924853, 1396924847, 1396924852, 1396924851, 1396924854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12359356880188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 17:56:22.448576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/54/image_29112025_17_54_15_9746.jpg', '/home/pi/Desktop/images/29112025/17/54/image_29112025_17_54_25_9973.jpg', '/home/pi/Desktop/images/29112025/17/54/image_29112025_17_54_34_9720.jpg', '/home/pi/Desktop/images/29112025/17/54/image_29112025_17_54_44_9698.jpg', '/home/pi/Desktop/images/29112025/17/54/image_29112025_17_54_55_10689.jpg', '/home/pi/Desktop/images/29112025/17/55/image_29112025_17_55_14_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/54/image_29112025_17_54_15_9746.jpg
/home/pi/Desktop/images/29112025/17/54/image_29112025_17_54_25_9973.jpg
/home/pi/Desktop/images/29112025/17/54/image_29112025_17_54_34_9720.jpg
/home/pi/Desktop/images/29112025/17/54/image_29112025_17_54_44_9698.jpg
/home/pi/Desktop/images/29112025/17/54/image_29112025_17_54_55_10689.jpg
/home/pi/Desktop/images/29112025/17/55/image_29112025_17_55_14_10059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924870","1396924873","1396924867","1396924864","1396924857","1396924860"],"photo_ids_order":["1396924857","1396924860","1396924864","1396924867","1396924870","1396924873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ee7760cda7a4368d8bbbe477aabb5a7.jpg","text":"TemporaryFile(/tmp/multipartBody9208072260546925124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435443119,"filename":"image_29112025_17_54_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/11/29/fa83dcbf070a55b8a5a43f8b5e65f196.jpg","text":"TemporaryFile(/tmp/multipartBody884742453468873176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435443119,"filename":"image_29112025_17_55_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95b5c0a409ac1851c77d98133717ab82.jpg","text":"TemporaryFile(/tmp/multipartBody6600458143337012311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435443119,"filename":"image_29112025_17_54_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/11/29/e285908b4b95ea0b01a2270dab015b15.jpg","text":"TemporaryFile(/tmp/multipartBody845962205149470816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435443119,"filename":"image_29112025_17_54_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/11/29/a21fff48adfd7e363f877eb07e6c6fe9.jpg","text":"TemporaryFile(/tmp/multipartBody8410262173261064060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435443119,"filename":"image_29112025_17_54_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/11/29/00cadc7a9b1d38ef757741a75470ed9c.jpg","text":"TemporaryFile(/tmp/multipartBody6066862798450193718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435443119,"filename":"image_29112025_17_54_25_9973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924864","file1":"1396924860","file0":"1396924857","file4":"1396924870","file5":"1396924873","file3":"1396924867"},"map_files_photo_id_array":[{"photo_id":"1396924873","filename":"file5"},{"photo_id":"1396924864","filename":"file2"},{"photo_id":"1396924870","filename":"file4"},{"photo_id":"1396924860","filename":"file1"},{"photo_id":"1396924857","filename":"file0"},{"photo_id":"1396924867","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924870":["hashtag1","hashtag2"]},{"1396924873":["hashtag1","hashtag2"]},{"1396924867":["hashtag1","hashtag2"]},{"1396924864":["hashtag1","hashtag2"]},{"1396924857":["hashtag1","hashtag2"]},{"1396924860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924870, 1396924873, 1396924867, 1396924864, 1396924857, 1396924860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76058101654053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:57:03.294893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/55/image_29112025_17_55_24_10783.jpg', '/home/pi/Desktop/images/29112025/17/55/image_29112025_17_55_34_9643.jpg', '/home/pi/Desktop/images/29112025/17/55/image_29112025_17_55_44_9767.jpg', '/home/pi/Desktop/images/29112025/17/55/image_29112025_17_55_54_10563.jpg', '/home/pi/Desktop/images/29112025/17/55/image_29112025_17_56_04_9818.jpg', '/home/pi/Desktop/images/29112025/17/56/image_29112025_17_56_14_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/55/image_29112025_17_55_24_10783.jpg
/home/pi/Desktop/images/29112025/17/55/image_29112025_17_55_34_9643.jpg
/home/pi/Desktop/images/29112025/17/55/image_29112025_17_55_44_9767.jpg
/home/pi/Desktop/images/29112025/17/55/image_29112025_17_55_54_10563.jpg
/home/pi/Desktop/images/29112025/17/55/image_29112025_17_56_04_9818.jpg
/home/pi/Desktop/images/29112025/17/56/image_29112025_17_56_14_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":["1396924880","1396924883","1396924877","1396924876","1396924875","1396924878"],"photo_ids_order":["1396924875","1396924876","1396924877","1396924878","1396924880","1396924883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75b17f3cecd16d9e4bd622490485142b.jpg","text":"TemporaryFile(/tmp/multipartBody2272659809994120468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435484084,"filename":"image_29112025_17_56_04_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad43ad71271c6f9346a804f9144f8b65.jpg","text":"TemporaryFile(/tmp/multipartBody7384973486028183432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435484084,"filename":"image_29112025_17_56_14_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0df0f789e88a5cf300ade0a6af25835d.jpg","text":"TemporaryFile(/tmp/multipartBody6479209303426879602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435484084,"filename":"image_29112025_17_55_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/644611457be14075980b7729c427c228.jpg","text":"TemporaryFile(/tmp/multipartBody234866475315193904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435484084,"filename":"image_29112025_17_55_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/11/29/11208cd2a6b072e652d9bfd432c07523.jpg","text":"TemporaryFile(/tmp/multipartBody4184749047701382259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435484084,"filename":"image_29112025_17_55_24_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57d28438af3887d73f5cf8db3dd5b988.jpg","text":"TemporaryFile(/tmp/multipartBody544361392340821117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435484084,"filename":"image_29112025_17_55_54_10563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924877","file1":"1396924876","file0":"1396924875","file4":"1396924880","file5":"1396924883","file3":"1396924878"},"map_files_photo_id_array":[{"photo_id":"1396924883","filename":"file5"},{"photo_id":"1396924877","filename":"file2"},{"photo_id":"1396924880","filename":"file4"},{"photo_id":"1396924876","filename":"file1"},{"photo_id":"1396924875","filename":"file0"},{"photo_id":"1396924878","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396924880":["hashtag1","hashtag2"]},{"1396924883":["hashtag1","hashtag2"]},{"1396924877":["hashtag1","hashtag2"]},{"1396924876":["hashtag1","hashtag2"]},{"1396924875":["hashtag1","hashtag2"]},{"1396924878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396924880, 1396924883, 1396924877, 1396924876, 1396924875, 1396924878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12980890274048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:57:42.632978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_32_3661.jpg', '/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_35_2598.jpg', '/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_53_2838.jpg', '/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_56_2747.jpg', '/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_08_2745.jpg', '/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_11_2831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_32_3661.jpg
/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_35_2598.jpg
/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_53_2838.jpg
/home/pi/Desktop/images/31102025/10/20/image_31102025_10_20_56_2747.jpg
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_08_2745.jpg
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_11_2831.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396924895","1396924898","1396924897","1396924894","1396924893","1396924896"],"photo_ids_order":["1396924893","1396924894","1396924895","1396924896","1396924897","1396924898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa1cef95799424e367b3c8668a2fa950.jpg","text":"TemporaryFile(/tmp/multipartBody6811413545196893964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435523788,"filename":"image_31102025_10_20_53_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26c014d87f30ce69b51d4d0eff5b20d5.jpg","text":"TemporaryFile(/tmp/multipartBody5999989158649489288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435523788,"filename":"image_31102025_10_21_11_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/140525a2033d315bd2aa11dddd7ec4c3.jpg","text":"TemporaryFile(/tmp/multipartBody6146857448603063993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435523788,"filename":"image_31102025_10_21_08_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44b1f2a4f7655cc77154f2c8800a5f44.jpg","text":"TemporaryFile(/tmp/multipartBody1117794414723389797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435523788,"filename":"image_31102025_10_20_35_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a9c935decb4d13612737b1745ece181.jpg","text":"TemporaryFile(/tmp/multipartBody4842048140932990764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435523788,"filename":"image_31102025_10_20_32_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf10becf6d79d57efda87594c80fa9cc.jpg","text":"TemporaryFile(/tmp/multipartBody6241755015203828658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435523788,"filename":"image_31102025_10_20_56_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924895","file1":"1396924894","file0":"1396924893","file4":"1396924897","file5":"1396924898","file3":"1396924896"},"map_files_photo_id_array":[{"photo_id":"1396924898","filename":"file5"},{"photo_id":"1396924895","filename":"file2"},{"photo_id":"1396924897","filename":"file4"},{"photo_id":"1396924894","filename":"file1"},{"photo_id":"1396924893","filename":"file0"},{"photo_id":"1396924896","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396924895":["hashtag1","hashtag2"]},{"1396924898":["hashtag1","hashtag2"]},{"1396924897":["hashtag1","hashtag2"]},{"1396924894":["hashtag1","hashtag2"]},{"1396924893":["hashtag1","hashtag2"]},{"1396924896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396924895, 1396924898, 1396924897, 1396924894, 1396924893, 1396924896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43074679374695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 17:59:02.686279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/56/image_29112025_17_56_24_10215.jpg', '/home/pi/Desktop/images/29112025/17/56/image_29112025_17_56_34_9734.jpg', '/home/pi/Desktop/images/29112025/17/56/image_29112025_17_56_44_9625.jpg', '/home/pi/Desktop/images/29112025/17/56/image_29112025_17_56_54_10532.jpg', '/home/pi/Desktop/images/29112025/17/56/image_29112025_17_57_04_9675.jpg', '/home/pi/Desktop/images/29112025/17/57/image_29112025_17_57_14_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/56/image_29112025_17_56_24_10215.jpg
/home/pi/Desktop/images/29112025/17/56/image_29112025_17_56_34_9734.jpg
/home/pi/Desktop/images/29112025/17/56/image_29112025_17_56_44_9625.jpg
/home/pi/Desktop/images/29112025/17/56/image_29112025_17_56_54_10532.jpg
/home/pi/Desktop/images/29112025/17/56/image_29112025_17_57_04_9675.jpg
/home/pi/Desktop/images/29112025/17/57/image_29112025_17_57_14_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396925006","1396924964","1396924925","1396924903","1396924906","1396924899"],"photo_ids_order":["1396924899","1396924903","1396924906","1396924925","1396924964","1396925006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed58c96cf85e0651964462ea4e9db2b4.jpg","text":"TemporaryFile(/tmp/multipartBody2245688907738364526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435603476,"filename":"image_29112025_17_57_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/11/29/6021eeab2f103520990ef7480581d60c.jpg","text":"TemporaryFile(/tmp/multipartBody288988592552510285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435603476,"filename":"image_29112025_17_57_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/11/29/f48e7b6c5de7cd2eff2f234d6b66cb13.jpg","text":"TemporaryFile(/tmp/multipartBody1940725213263131933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435603476,"filename":"image_29112025_17_56_54_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff5bebd749099778638c891dbea08e63.jpg","text":"TemporaryFile(/tmp/multipartBody5256527246965322350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435603476,"filename":"image_29112025_17_56_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/11/29/85ba7d6b1dd5e17a67ebe3e7a6124856.jpg","text":"TemporaryFile(/tmp/multipartBody5544844624183413096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435603476,"filename":"image_29112025_17_56_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/11/29/00538c1d62f33dd8c3ae9d393ed38d15.jpg","text":"TemporaryFile(/tmp/multipartBody3956443196426831918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435603476,"filename":"image_29112025_17_56_24_10215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396924906","file1":"1396924903","file0":"1396924899","file4":"1396924964","file5":"1396925006","file3":"1396924925"},"map_files_photo_id_array":[{"photo_id":"1396925006","filename":"file5"},{"photo_id":"1396924906","filename":"file2"},{"photo_id":"1396924964","filename":"file4"},{"photo_id":"1396924903","filename":"file1"},{"photo_id":"1396924899","filename":"file0"},{"photo_id":"1396924925","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396925006":["hashtag1","hashtag2"]},{"1396924964":["hashtag1","hashtag2"]},{"1396924925":["hashtag1","hashtag2"]},{"1396924903":["hashtag1","hashtag2"]},{"1396924906":["hashtag1","hashtag2"]},{"1396924899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396925006, 1396924964, 1396924925, 1396924903, 1396924906, 1396924899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.025792598724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 17:59:41.939833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_26_3794.jpg', '/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_29_2827.jpg', '/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_32_2581.jpg', '/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_35_3643.jpg', '/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_38_2624.jpg', '/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_47_3566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_26_3794.jpg
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_29_2827.jpg
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_32_2581.jpg
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_35_3643.jpg
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_38_2624.jpg
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_47_3566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396925408","1396925336","1396925188","1396925149","1396925492","1396925264"],"photo_ids_order":["1396925149","1396925188","1396925264","1396925336","1396925408","1396925492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3df2bfb5d9b41be1f30ca522ec3543b.jpg","text":"TemporaryFile(/tmp/multipartBody2632815099525500507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435643127,"filename":"image_31102025_10_21_38_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fce18eef8fb13798b363da2c6ec9db19.jpg","text":"TemporaryFile(/tmp/multipartBody7218613525978682408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435643127,"filename":"image_31102025_10_21_35_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0aaead99e1078872a88df2b0d11f283a.jpg","text":"TemporaryFile(/tmp/multipartBody5491198257792750905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435643127,"filename":"image_31102025_10_21_29_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f64a1ba77e3576f50e945e931f3eff8.jpg","text":"TemporaryFile(/tmp/multipartBody8625659283136612019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435643127,"filename":"image_31102025_10_21_26_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/298ddee2d2f0bdd49c09a754b2bf39d7.jpg","text":"TemporaryFile(/tmp/multipartBody6560430319846814016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435643127,"filename":"image_31102025_10_21_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/11/29/7d723c82960d680680a20b549d1eb554.jpg","text":"TemporaryFile(/tmp/multipartBody643244434722830787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435643127,"filename":"image_31102025_10_21_32_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396925264","file1":"1396925188","file0":"1396925149","file4":"1396925408","file5":"1396925492","file3":"1396925336"},"map_files_photo_id_array":[{"photo_id":"1396925492","filename":"file5"},{"photo_id":"1396925264","filename":"file2"},{"photo_id":"1396925408","filename":"file4"},{"photo_id":"1396925188","filename":"file1"},{"photo_id":"1396925149","filename":"file0"},{"photo_id":"1396925336","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396925408":["hashtag1","hashtag2"]},{"1396925336":["hashtag1","hashtag2"]},{"1396925188":["hashtag1","hashtag2"]},{"1396925149":["hashtag1","hashtag2"]},{"1396925492":["hashtag1","hashtag2"]},{"1396925264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396925408, 1396925336, 1396925188, 1396925149, 1396925492, 1396925264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73129749298096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:00:22.229604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/57/image_29112025_17_57_24_10623.jpg', '/home/pi/Desktop/images/29112025/17/57/image_29112025_17_57_34_9604.jpg', '/home/pi/Desktop/images/29112025/17/57/image_29112025_17_57_44_9754.jpg', '/home/pi/Desktop/images/29112025/17/57/image_29112025_17_57_54_10625.jpg', '/home/pi/Desktop/images/29112025/17/57/image_29112025_17_58_04_9718.jpg', '/home/pi/Desktop/images/29112025/17/58/image_29112025_17_58_14_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/57/image_29112025_17_57_24_10623.jpg
/home/pi/Desktop/images/29112025/17/57/image_29112025_17_57_34_9604.jpg
/home/pi/Desktop/images/29112025/17/57/image_29112025_17_57_44_9754.jpg
/home/pi/Desktop/images/29112025/17/57/image_29112025_17_57_54_10625.jpg
/home/pi/Desktop/images/29112025/17/57/image_29112025_17_58_04_9718.jpg
/home/pi/Desktop/images/29112025/17/58/image_29112025_17_58_14_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":["1396926055","1396925746","1396925985","1396926129","1396925905","1396925834"],"photo_ids_order":["1396925746","1396925834","1396925905","1396925985","1396926055","1396926129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4644b5e0d161a5b5b41168dac853f61.jpg","text":"TemporaryFile(/tmp/multipartBody149287837120671233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435682910,"filename":"image_29112025_17_58_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/11/29/ae4ee2c7d8090931c3b00c5b7fd787df.jpg","text":"TemporaryFile(/tmp/multipartBody4639515027200069107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435682910,"filename":"image_29112025_17_57_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/11/29/31ff3fa6f27b879b46ee0f68e0be3924.jpg","text":"TemporaryFile(/tmp/multipartBody1500778034878003032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435682910,"filename":"image_29112025_17_57_54_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7760380310be1e9d2ac562469146b207.jpg","text":"TemporaryFile(/tmp/multipartBody8990769685387338989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435682910,"filename":"image_29112025_17_58_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d5acfe4cb0561c90e54eefd2c984cdf7.jpg","text":"TemporaryFile(/tmp/multipartBody913679683145245097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435682910,"filename":"image_29112025_17_57_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4665334ea62b15faea18cc93fe0f0a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7132454982838162015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435682910,"filename":"image_29112025_17_57_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396925905","file1":"1396925834","file0":"1396925746","file4":"1396926055","file5":"1396926129","file3":"1396925985"},"map_files_photo_id_array":[{"photo_id":"1396926129","filename":"file5"},{"photo_id":"1396925905","filename":"file2"},{"photo_id":"1396926055","filename":"file4"},{"photo_id":"1396925834","filename":"file1"},{"photo_id":"1396925746","filename":"file0"},{"photo_id":"1396925985","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396926055":["hashtag1","hashtag2"]},{"1396925746":["hashtag1","hashtag2"]},{"1396925985":["hashtag1","hashtag2"]},{"1396926129":["hashtag1","hashtag2"]},{"1396925905":["hashtag1","hashtag2"]},{"1396925834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396926055, 1396925746, 1396925985, 1396926129, 1396925905, 1396925834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.008198499679565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:01:02.991784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/58/image_29112025_17_58_24_10681.jpg', '/home/pi/Desktop/images/29112025/17/58/image_29112025_17_58_34_9645.jpg', '/home/pi/Desktop/images/29112025/17/58/image_29112025_17_58_45_10600.jpg', '/home/pi/Desktop/images/29112025/17/58/image_29112025_17_58_54_9846.jpg', '/home/pi/Desktop/images/29112025/17/58/image_29112025_17_59_04_9655.jpg', '/home/pi/Desktop/images/29112025/17/59/image_29112025_17_59_14_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/58/image_29112025_17_58_24_10681.jpg
/home/pi/Desktop/images/29112025/17/58/image_29112025_17_58_34_9645.jpg
/home/pi/Desktop/images/29112025/17/58/image_29112025_17_58_45_10600.jpg
/home/pi/Desktop/images/29112025/17/58/image_29112025_17_58_54_9846.jpg
/home/pi/Desktop/images/29112025/17/58/image_29112025_17_59_04_9655.jpg
/home/pi/Desktop/images/29112025/17/59/image_29112025_17_59_14_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396926394","1396926564","1396926600","1396926494","1396926458","1396926527"],"photo_ids_order":["1396926394","1396926458","1396926494","1396926527","1396926564","1396926600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d59588e29d9bccf81a469062077d87a.jpg","text":"TemporaryFile(/tmp/multipartBody7372049531053559237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435723744,"filename":"image_29112025_17_58_24_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/964da9cedc847301c8431ab4336b00d7.jpg","text":"TemporaryFile(/tmp/multipartBody6738590227272242301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435723744,"filename":"image_29112025_17_59_04_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff50849d17826dbf4d1aaa87b5ce40c1.jpg","text":"TemporaryFile(/tmp/multipartBody5693982549860335616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435723744,"filename":"image_29112025_17_59_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/11/29/596a2c8a7d21e607d8fd48b19382d51e.jpg","text":"TemporaryFile(/tmp/multipartBody2694124774812791635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435723744,"filename":"image_29112025_17_58_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/11/29/66288fb05963dd0e7b79f07c42c6669e.jpg","text":"TemporaryFile(/tmp/multipartBody4946114280843691998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435723744,"filename":"image_29112025_17_58_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae26f3e7dcda5a3ecd98d1b0b2c05891.jpg","text":"TemporaryFile(/tmp/multipartBody8280646142266167904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435723744,"filename":"image_29112025_17_58_54_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396926494","file1":"1396926458","file0":"1396926394","file4":"1396926564","file5":"1396926600","file3":"1396926527"},"map_files_photo_id_array":[{"photo_id":"1396926600","filename":"file5"},{"photo_id":"1396926494","filename":"file2"},{"photo_id":"1396926564","filename":"file4"},{"photo_id":"1396926458","filename":"file1"},{"photo_id":"1396926394","filename":"file0"},{"photo_id":"1396926527","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396926394":["hashtag1","hashtag2"]},{"1396926564":["hashtag1","hashtag2"]},{"1396926600":["hashtag1","hashtag2"]},{"1396926494":["hashtag1","hashtag2"]},{"1396926458":["hashtag1","hashtag2"]},{"1396926527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396926394, 1396926564, 1396926600, 1396926494, 1396926458, 1396926527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18514585494995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:01:42.425479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_53_3598.jpg', '/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_56_2698.jpg', '/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_59_2772.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_02_3544.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_05_2700.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_08_3369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_53_3598.jpg
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_56_2698.jpg
/home/pi/Desktop/images/31102025/10/21/image_31102025_10_21_59_2772.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_02_3544.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_05_2700.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_08_3369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396926614","1396926721","1396926651","1396926770","1396926686","1396926836"],"photo_ids_order":["1396926614","1396926651","1396926686","1396926721","1396926770","1396926836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef9e98cf6126e7a33420515681729c2b.jpg","text":"TemporaryFile(/tmp/multipartBody8637263296300837438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435763568,"filename":"image_31102025_10_21_53_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c379843a89cc13549ba008e9c3edd03d.jpg","text":"TemporaryFile(/tmp/multipartBody7252198675359160473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435763568,"filename":"image_31102025_10_22_02_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63e9d1a9ab97d761d7a0f60af4acad14.jpg","text":"TemporaryFile(/tmp/multipartBody1438830622086650081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435763568,"filename":"image_31102025_10_21_56_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/479ba6378c41f65bcc2eee3354aa42e6.jpg","text":"TemporaryFile(/tmp/multipartBody3412802663148884972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435763568,"filename":"image_31102025_10_22_05_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd1bcf339acf76a5865dd6d119e10fee.jpg","text":"TemporaryFile(/tmp/multipartBody165197599851190500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435763568,"filename":"image_31102025_10_21_59_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eaa4d6a93daabcb9104386be7873a5e8.jpg","text":"TemporaryFile(/tmp/multipartBody1857714767591895243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435763568,"filename":"image_31102025_10_22_08_3369.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396926686","file1":"1396926651","file0":"1396926614","file4":"1396926770","file5":"1396926836","file3":"1396926721"},"map_files_photo_id_array":[{"photo_id":"1396926836","filename":"file5"},{"photo_id":"1396926686","filename":"file2"},{"photo_id":"1396926770","filename":"file4"},{"photo_id":"1396926651","filename":"file1"},{"photo_id":"1396926614","filename":"file0"},{"photo_id":"1396926721","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396926614":["hashtag1","hashtag2"]},{"1396926721":["hashtag1","hashtag2"]},{"1396926651":["hashtag1","hashtag2"]},{"1396926770":["hashtag1","hashtag2"]},{"1396926686":["hashtag1","hashtag2"]},{"1396926836":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396926614, 1396926721, 1396926651, 1396926770, 1396926686, 1396926836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25686168670654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:02:22.630808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/17/59/image_29112025_17_59_24_10699.jpg', '/home/pi/Desktop/images/29112025/17/59/image_29112025_17_59_34_9734.jpg', '/home/pi/Desktop/images/29112025/17/59/image_29112025_17_59_44_9715.jpg', '/home/pi/Desktop/images/29112025/17/59/image_29112025_17_59_54_10710.jpg', '/home/pi/Desktop/images/29112025/18/01/image_29112025_18_01_13_10036.jpg', '/home/pi/Desktop/images/29112025/18/01/image_29112025_18_01_24_10599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/17/59/image_29112025_17_59_24_10699.jpg
/home/pi/Desktop/images/29112025/17/59/image_29112025_17_59_34_9734.jpg
/home/pi/Desktop/images/29112025/17/59/image_29112025_17_59_44_9715.jpg
/home/pi/Desktop/images/29112025/17/59/image_29112025_17_59_54_10710.jpg
/home/pi/Desktop/images/29112025/18/01/image_29112025_18_01_13_10036.jpg
/home/pi/Desktop/images/29112025/18/01/image_29112025_18_01_24_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":["1396927150","1396927491","1396927271","1396927568","1396927378","1396927636"],"photo_ids_order":["1396927150","1396927271","1396927378","1396927491","1396927568","1396927636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7530c89f6ee4bbe311f98855bcf321bc.jpg","text":"TemporaryFile(/tmp/multipartBody5236079303853497841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435803318,"filename":"image_29112025_17_59_24_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddd3711a57152a2ad56c70eda634281e.jpg","text":"TemporaryFile(/tmp/multipartBody6100342820609085075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435803318,"filename":"image_29112025_17_59_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/11/29/adf785361e482994d91827e4aaf0c58b.jpg","text":"TemporaryFile(/tmp/multipartBody6172712446709302587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435803318,"filename":"image_29112025_17_59_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/11/29/4c3d745bc3396d96011a4021ed715bc3.jpg","text":"TemporaryFile(/tmp/multipartBody5305223998827892816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435803318,"filename":"image_29112025_18_01_13_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d24a0632e09515b4383266d01e3b8710.jpg","text":"TemporaryFile(/tmp/multipartBody4702989322158575023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435803318,"filename":"image_29112025_17_59_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/11/29/d32e674c7ea85d78ba18605ea69f5313.jpg","text":"TemporaryFile(/tmp/multipartBody7534876275873911177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435803318,"filename":"image_29112025_18_01_24_10599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396927378","file1":"1396927271","file0":"1396927150","file4":"1396927568","file5":"1396927636","file3":"1396927491"},"map_files_photo_id_array":[{"photo_id":"1396927636","filename":"file5"},{"photo_id":"1396927378","filename":"file2"},{"photo_id":"1396927568","filename":"file4"},{"photo_id":"1396927271","filename":"file1"},{"photo_id":"1396927150","filename":"file0"},{"photo_id":"1396927491","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396927150":["hashtag1","hashtag2"]},{"1396927491":["hashtag1","hashtag2"]},{"1396927271":["hashtag1","hashtag2"]},{"1396927568":["hashtag1","hashtag2"]},{"1396927378":["hashtag1","hashtag2"]},{"1396927636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396927150, 1396927491, 1396927271, 1396927568, 1396927378, 1396927636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44076633453369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:03:03.488915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/01/image_29112025_18_01_34_9836.jpg', '/home/pi/Desktop/images/29112025/18/01/image_29112025_18_01_43_9615.jpg', '/home/pi/Desktop/images/29112025/18/01/image_29112025_18_01_54_10724.jpg', '/home/pi/Desktop/images/29112025/18/01/image_29112025_18_02_04_9768.jpg', '/home/pi/Desktop/images/29112025/18/02/image_29112025_18_02_14_9655.jpg', '/home/pi/Desktop/images/29112025/18/02/image_29112025_18_02_24_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/01/image_29112025_18_01_34_9836.jpg
/home/pi/Desktop/images/29112025/18/01/image_29112025_18_01_43_9615.jpg
/home/pi/Desktop/images/29112025/18/01/image_29112025_18_01_54_10724.jpg
/home/pi/Desktop/images/29112025/18/01/image_29112025_18_02_04_9768.jpg
/home/pi/Desktop/images/29112025/18/02/image_29112025_18_02_14_9655.jpg
/home/pi/Desktop/images/29112025/18/02/image_29112025_18_02_24_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396928148","1396928046","1396928205","1396927923","1396928254","1396927969"],"photo_ids_order":["1396927923","1396927969","1396928046","1396928148","1396928205","1396928254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ca63d3912ec1102d24cbece42565f68.jpg","text":"TemporaryFile(/tmp/multipartBody330250132647679536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435844248,"filename":"image_29112025_18_02_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99193a23cdf5e42ce7e3ab766b5744d5.jpg","text":"TemporaryFile(/tmp/multipartBody7810038744885701215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435844248,"filename":"image_29112025_18_01_54_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3c2bc66d3a8da257c518fd5a23cc9f6.jpg","text":"TemporaryFile(/tmp/multipartBody5162429599933858443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435844248,"filename":"image_29112025_18_02_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ed0ddced7fe38e7496e5b61253d7719.jpg","text":"TemporaryFile(/tmp/multipartBody8957946357052272550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435844248,"filename":"image_29112025_18_01_34_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d62e3e9899d2a10751609418e212b0cb.jpg","text":"TemporaryFile(/tmp/multipartBody894583172997026019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435844248,"filename":"image_29112025_18_02_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9816a88536d073b347ca412908716bd.jpg","text":"TemporaryFile(/tmp/multipartBody7860671622684561377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435844248,"filename":"image_29112025_18_01_43_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396928046","file1":"1396927969","file0":"1396927923","file4":"1396928205","file5":"1396928254","file3":"1396928148"},"map_files_photo_id_array":[{"photo_id":"1396928254","filename":"file5"},{"photo_id":"1396928046","filename":"file2"},{"photo_id":"1396928205","filename":"file4"},{"photo_id":"1396927969","filename":"file1"},{"photo_id":"1396927923","filename":"file0"},{"photo_id":"1396928148","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396928148":["hashtag1","hashtag2"]},{"1396928046":["hashtag1","hashtag2"]},{"1396928205":["hashtag1","hashtag2"]},{"1396927923":["hashtag1","hashtag2"]},{"1396928254":["hashtag1","hashtag2"]},{"1396927969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396928148, 1396928046, 1396928205, 1396927923, 1396928254, 1396927969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.237210273742676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:03:42.830914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_13_2683.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_17_3586.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_23_2778.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_25_2740.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_28_3127.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_32_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/10/22/image_31102025_10_22_13_2683.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_17_3586.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_23_2778.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_25_2740.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_28_3127.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_32_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":["1396928576","1396928498","1396928570","1396928534","1396928461","1396928419"],"photo_ids_order":["1396928419","1396928461","1396928498","1396928534","1396928570","1396928576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38a35c1fbdef4576c9ae4b0abd0ca8da.jpg","text":"TemporaryFile(/tmp/multipartBody3488471141614084010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435884036,"filename":"image_31102025_10_22_32_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39ea0075df2a9019ba9cc7805f6eefd3.jpg","text":"TemporaryFile(/tmp/multipartBody7664181259899203122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435884036,"filename":"image_31102025_10_22_23_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32d25368a9104753d696a379cc6c0f8e.jpg","text":"TemporaryFile(/tmp/multipartBody6057678063293501022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435884036,"filename":"image_31102025_10_22_28_3127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0d565c3fa797eadb8e4d294c12ffcf3.jpg","text":"TemporaryFile(/tmp/multipartBody6882720273023304399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435884036,"filename":"image_31102025_10_22_25_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87d972c26d2930be3e4b30efa4f284ef.jpg","text":"TemporaryFile(/tmp/multipartBody9045057104135147967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435884036,"filename":"image_31102025_10_22_17_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a1617215987881da683c9986ea70492.jpg","text":"TemporaryFile(/tmp/multipartBody4060171808296510289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435884036,"filename":"image_31102025_10_22_13_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396928498","file1":"1396928461","file0":"1396928419","file4":"1396928570","file5":"1396928576","file3":"1396928534"},"map_files_photo_id_array":[{"photo_id":"1396928576","filename":"file5"},{"photo_id":"1396928498","filename":"file2"},{"photo_id":"1396928570","filename":"file4"},{"photo_id":"1396928461","filename":"file1"},{"photo_id":"1396928419","filename":"file0"},{"photo_id":"1396928534","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396928576":["hashtag1","hashtag2"]},{"1396928498":["hashtag1","hashtag2"]},{"1396928570":["hashtag1","hashtag2"]},{"1396928534":["hashtag1","hashtag2"]},{"1396928461":["hashtag1","hashtag2"]},{"1396928419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396928576, 1396928498, 1396928570, 1396928534, 1396928461, 1396928419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21496057510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:04:21.984732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/02/image_29112025_18_02_44_9750.jpg', '/home/pi/Desktop/images/29112025/18/02/image_29112025_18_02_54_10619.jpg', '/home/pi/Desktop/images/29112025/18/02/image_29112025_18_03_04_9709.jpg', '/home/pi/Desktop/images/29112025/18/03/image_29112025_18_03_14_9619.jpg', '/home/pi/Desktop/images/29112025/18/03/image_29112025_18_03_24_10746.jpg', '/home/pi/Desktop/images/29112025/18/03/image_29112025_18_03_34_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/02/image_29112025_18_02_44_9750.jpg
/home/pi/Desktop/images/29112025/18/02/image_29112025_18_02_54_10619.jpg
/home/pi/Desktop/images/29112025/18/02/image_29112025_18_03_04_9709.jpg
/home/pi/Desktop/images/29112025/18/03/image_29112025_18_03_14_9619.jpg
/home/pi/Desktop/images/29112025/18/03/image_29112025_18_03_24_10746.jpg
/home/pi/Desktop/images/29112025/18/03/image_29112025_18_03_34_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396928592","1396928586","1396928594","1396928582","1396928579","1396928589"],"photo_ids_order":["1396928579","1396928582","1396928586","1396928589","1396928592","1396928594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d56175cb6b068d39201d31626e65631c.jpg","text":"TemporaryFile(/tmp/multipartBody8925551874306395959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435922666,"filename":"image_29112025_18_03_24_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d362ce4b1b7eadfcb9d178d776423af7.jpg","text":"TemporaryFile(/tmp/multipartBody5479777844728710757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435922666,"filename":"image_29112025_18_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/11/29/75cfe838f3bb840272aa67c6d974c01a.jpg","text":"TemporaryFile(/tmp/multipartBody3069375480851597472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435922666,"filename":"image_29112025_18_03_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97e25d9594046e96555f2da1f9355be1.jpg","text":"TemporaryFile(/tmp/multipartBody5497781648701396258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435922666,"filename":"image_29112025_18_02_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/11/29/e43b8d0a1aa15835c5853a694d3b8225.jpg","text":"TemporaryFile(/tmp/multipartBody2696331303403043740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435922666,"filename":"image_29112025_18_02_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/11/29/739086c0675a4238c35f4e2bc981ef2e.jpg","text":"TemporaryFile(/tmp/multipartBody1328897565846648807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435922666,"filename":"image_29112025_18_03_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396928586","file1":"1396928582","file0":"1396928579","file4":"1396928592","file5":"1396928594","file3":"1396928589"},"map_files_photo_id_array":[{"photo_id":"1396928594","filename":"file5"},{"photo_id":"1396928586","filename":"file2"},{"photo_id":"1396928592","filename":"file4"},{"photo_id":"1396928582","filename":"file1"},{"photo_id":"1396928579","filename":"file0"},{"photo_id":"1396928589","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396928592":["hashtag1","hashtag2"]},{"1396928586":["hashtag1","hashtag2"]},{"1396928594":["hashtag1","hashtag2"]},{"1396928582":["hashtag1","hashtag2"]},{"1396928579":["hashtag1","hashtag2"]},{"1396928589":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396928592, 1396928586, 1396928594, 1396928582, 1396928579, 1396928589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.077723264694214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:05:02.871761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/03/image_29112025_18_03_44_9700.jpg', '/home/pi/Desktop/images/29112025/18/03/image_29112025_18_03_53_9737.jpg', '/home/pi/Desktop/images/29112025/18/04/image_29112025_18_04_14_9740.jpg', '/home/pi/Desktop/images/29112025/18/04/image_29112025_18_04_24_9581.jpg', '/home/pi/Desktop/images/29112025/18/04/image_29112025_18_04_34_10734.jpg', '/home/pi/Desktop/images/29112025/18/04/image_29112025_18_04_44_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/03/image_29112025_18_03_44_9700.jpg
/home/pi/Desktop/images/29112025/18/03/image_29112025_18_03_53_9737.jpg
/home/pi/Desktop/images/29112025/18/04/image_29112025_18_04_14_9740.jpg
/home/pi/Desktop/images/29112025/18/04/image_29112025_18_04_24_9581.jpg
/home/pi/Desktop/images/29112025/18/04/image_29112025_18_04_34_10734.jpg
/home/pi/Desktop/images/29112025/18/04/image_29112025_18_04_44_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396928844","1396928724","1396928765","1396928804","1396928851","1396928854"],"photo_ids_order":["1396928724","1396928765","1396928804","1396928844","1396928851","1396928854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55175b0d56e8a70ecc91c67b66ad3b1f.jpg","text":"TemporaryFile(/tmp/multipartBody3678468085434253162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435963692,"filename":"image_29112025_18_04_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9fb11c3da07d26aa5a5b0720e65fa6b9.jpg","text":"TemporaryFile(/tmp/multipartBody1810780708982528048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435963692,"filename":"image_29112025_18_03_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/11/29/586b0675dbcd69c0b7618c6b696d1298.jpg","text":"TemporaryFile(/tmp/multipartBody5476039541704286873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435963692,"filename":"image_29112025_18_03_53_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4afc12e25af0d9eef5183bc2b2a502f2.jpg","text":"TemporaryFile(/tmp/multipartBody540359133282281981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435963692,"filename":"image_29112025_18_04_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/11/29/a475b01dea0f8718102ab8733a9045a1.jpg","text":"TemporaryFile(/tmp/multipartBody2656913501662289353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435963692,"filename":"image_29112025_18_04_34_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1574afa0f29e5f3dd40638cd86bcc427.jpg","text":"TemporaryFile(/tmp/multipartBody7604976625246862508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764435963692,"filename":"image_29112025_18_04_44_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396928804","file1":"1396928765","file0":"1396928724","file4":"1396928851","file5":"1396928854","file3":"1396928844"},"map_files_photo_id_array":[{"photo_id":"1396928854","filename":"file5"},{"photo_id":"1396928804","filename":"file2"},{"photo_id":"1396928851","filename":"file4"},{"photo_id":"1396928765","filename":"file1"},{"photo_id":"1396928724","filename":"file0"},{"photo_id":"1396928844","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396928844":["hashtag1","hashtag2"]},{"1396928724":["hashtag1","hashtag2"]},{"1396928765":["hashtag1","hashtag2"]},{"1396928804":["hashtag1","hashtag2"]},{"1396928851":["hashtag1","hashtag2"]},{"1396928854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396928844, 1396928724, 1396928765, 1396928804, 1396928851, 1396928854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01615834236145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:05:42.407591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_37_2655.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_41_3635.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_44_2636.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_46_2605.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_50_3738.jpg', '/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_53_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/10/22/image_31102025_10_22_37_2655.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_41_3635.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_44_2636.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_46_2605.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_50_3738.jpg
/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_53_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":["1396928973","1396928905","1396928972","1396928951","1396928974","1396928912"],"photo_ids_order":["1396928905","1396928912","1396928951","1396928972","1396928973","1396928974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8797ac81d3fe9d33e8689ec9ffd27da3.jpg","text":"TemporaryFile(/tmp/multipartBody1101027993638332201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436003565,"filename":"image_31102025_10_22_50_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65ab4fef1b0c266120cf430a465836f5.jpg","text":"TemporaryFile(/tmp/multipartBody5220183589937269467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436003565,"filename":"image_31102025_10_22_37_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bde0fa0a8c360c6abb239b36a2c5008.jpg","text":"TemporaryFile(/tmp/multipartBody575452471550647128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436003565,"filename":"image_31102025_10_22_46_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3234abf9859d73ba0c3edfb1f045fd2.jpg","text":"TemporaryFile(/tmp/multipartBody4314809790180661896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436003565,"filename":"image_31102025_10_22_44_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc4ab0db692f8447a5d68506ea5a974d.jpg","text":"TemporaryFile(/tmp/multipartBody2081437316145357019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436003565,"filename":"image_31102025_10_22_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/11/29/0b59eaad82701e4c9148dbee53a925fa.jpg","text":"TemporaryFile(/tmp/multipartBody3831761916148872526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436003565,"filename":"image_31102025_10_22_41_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396928951","file1":"1396928912","file0":"1396928905","file4":"1396928973","file5":"1396928974","file3":"1396928972"},"map_files_photo_id_array":[{"photo_id":"1396928974","filename":"file5"},{"photo_id":"1396928951","filename":"file2"},{"photo_id":"1396928973","filename":"file4"},{"photo_id":"1396928912","filename":"file1"},{"photo_id":"1396928905","filename":"file0"},{"photo_id":"1396928972","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396928973":["hashtag1","hashtag2"]},{"1396928905":["hashtag1","hashtag2"]},{"1396928972":["hashtag1","hashtag2"]},{"1396928951":["hashtag1","hashtag2"]},{"1396928974":["hashtag1","hashtag2"]},{"1396928912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396928973, 1396928905, 1396928972, 1396928951, 1396928974, 1396928912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21096682548523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:06:22.553805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/04/image_29112025_18_04_54_9573.jpg', '/home/pi/Desktop/images/29112025/18/04/image_29112025_18_05_04_10653.jpg', '/home/pi/Desktop/images/29112025/18/05/image_29112025_18_05_24_9687.jpg', '/home/pi/Desktop/images/29112025/18/05/image_29112025_18_05_34_10664.jpg', '/home/pi/Desktop/images/29112025/18/05/image_29112025_18_05_44_9696.jpg', '/home/pi/Desktop/images/29112025/18/05/image_29112025_18_05_54_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/04/image_29112025_18_04_54_9573.jpg
/home/pi/Desktop/images/29112025/18/04/image_29112025_18_05_04_10653.jpg
/home/pi/Desktop/images/29112025/18/05/image_29112025_18_05_24_9687.jpg
/home/pi/Desktop/images/29112025/18/05/image_29112025_18_05_34_10664.jpg
/home/pi/Desktop/images/29112025/18/05/image_29112025_18_05_44_9696.jpg
/home/pi/Desktop/images/29112025/18/05/image_29112025_18_05_54_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396928990","1396928978","1396928993","1396928987","1396928980","1396928983"],"photo_ids_order":["1396928978","1396928980","1396928983","1396928987","1396928990","1396928993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f48edcaa52c17d300de6941a8b8a261a.jpg","text":"TemporaryFile(/tmp/multipartBody4146461790457997195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436043238,"filename":"image_29112025_18_05_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/418d766808eb17bb057cfa6d2a2985f9.jpg","text":"TemporaryFile(/tmp/multipartBody7226952717206512778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436043238,"filename":"image_29112025_18_04_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/11/29/fa63556cba61712d9e015459719ed1cd.jpg","text":"TemporaryFile(/tmp/multipartBody4699540661430892155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436043238,"filename":"image_29112025_18_05_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/11/29/a8f0c5044e0fe720fda461ea6de19319.jpg","text":"TemporaryFile(/tmp/multipartBody4120634948507394675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436043238,"filename":"image_29112025_18_05_34_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49631f9518fb362e8cbbbc617972977e.jpg","text":"TemporaryFile(/tmp/multipartBody5087156636829383732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436043238,"filename":"image_29112025_18_05_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/11/29/80ce6413427546ab05fe78ac6f67a13e.jpg","text":"TemporaryFile(/tmp/multipartBody9084062588921292158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436043238,"filename":"image_29112025_18_05_24_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396928983","file1":"1396928980","file0":"1396928978","file4":"1396928990","file5":"1396928993","file3":"1396928987"},"map_files_photo_id_array":[{"photo_id":"1396928993","filename":"file5"},{"photo_id":"1396928983","filename":"file2"},{"photo_id":"1396928990","filename":"file4"},{"photo_id":"1396928980","filename":"file1"},{"photo_id":"1396928978","filename":"file0"},{"photo_id":"1396928987","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396928990":["hashtag1","hashtag2"]},{"1396928978":["hashtag1","hashtag2"]},{"1396928993":["hashtag1","hashtag2"]},{"1396928987":["hashtag1","hashtag2"]},{"1396928980":["hashtag1","hashtag2"]},{"1396928983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396928990, 1396928978, 1396928993, 1396928987, 1396928980, 1396928983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.593884229660034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:07:03.467215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/05/image_29112025_18_06_04_9787.jpg', '/home/pi/Desktop/images/29112025/18/06/image_29112025_18_06_14_10745.jpg', '/home/pi/Desktop/images/29112025/18/06/image_29112025_18_06_24_9639.jpg', '/home/pi/Desktop/images/29112025/18/06/image_29112025_18_06_34_9826.jpg', '/home/pi/Desktop/images/29112025/18/06/image_29112025_18_06_43_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/05/image_29112025_18_06_04_9787.jpg
/home/pi/Desktop/images/29112025/18/06/image_29112025_18_06_14_10745.jpg
/home/pi/Desktop/images/29112025/18/06/image_29112025_18_06_24_9639.jpg
/home/pi/Desktop/images/29112025/18/06/image_29112025_18_06_34_9826.jpg
/home/pi/Desktop/images/29112025/18/06/image_29112025_18_06_43_9597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396929000","1396928996","1396928995","1396928998","1396928997"],"photo_ids_order":["1396928995","1396928996","1396928997","1396928998","1396929000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72eea5845ab5a17f72e7b52367ec0c64.jpg","text":"TemporaryFile(/tmp/multipartBody4806706911619078012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436084236,"filename":"image_29112025_18_06_43_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cfd35ce6c4cac7c00235797dff5b4b20.jpg","text":"TemporaryFile(/tmp/multipartBody1751960667915390878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436084236,"filename":"image_29112025_18_06_14_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/456dac53d763c6e63c9ef457d10a5f93.jpg","text":"TemporaryFile(/tmp/multipartBody1451355086576288319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436084236,"filename":"image_29112025_18_06_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/11/29/01fcd5665827ac486d0fa8ec483d9099.jpg","text":"TemporaryFile(/tmp/multipartBody5277363583366121562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436084236,"filename":"image_29112025_18_06_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/11/29/98c52bfd2a8543daefc4e090d2b15782.jpg","text":"TemporaryFile(/tmp/multipartBody539290358132728909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436084236,"filename":"image_29112025_18_06_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396928997","file1":"1396928996","file0":"1396928995","file4":"1396929000","file3":"1396928998"},"map_files_photo_id_array":[{"photo_id":"1396928997","filename":"file2"},{"photo_id":"1396929000","filename":"file4"},{"photo_id":"1396928996","filename":"file1"},{"photo_id":"1396928995","filename":"file0"},{"photo_id":"1396928998","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929000":["hashtag1","hashtag2"]},{"1396928996":["hashtag1","hashtag2"]},{"1396928995":["hashtag1","hashtag2"]},{"1396928998":["hashtag1","hashtag2"]},{"1396928997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929000, 1396928996, 1396928995, 1396928998, 1396928997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.644160270690918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:07:42.771031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/22/image_31102025_10_22_55_2590.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_02_2771.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_07_2704.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_10_2649.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_14_3561.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_16_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/10/22/image_31102025_10_22_55_2590.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_02_2771.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_07_2704.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_10_2649.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_14_3561.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_16_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":["1396929015","1396929018","1396929012","1396929014","1396929017","1396929016"],"photo_ids_order":["1396929012","1396929014","1396929015","1396929016","1396929017","1396929018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cff2a5b35cdcced0a4b682e9d58304c8.jpg","text":"TemporaryFile(/tmp/multipartBody902284435740187192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436123905,"filename":"image_31102025_10_23_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/11/29/dc99d1e925a13e5f824479e1d35f8fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1066576701644814056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436123905,"filename":"image_31102025_10_23_16_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/720303f2b07a64df7418a1085dc7ac27.jpg","text":"TemporaryFile(/tmp/multipartBody1353227677656233167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436123905,"filename":"image_31102025_10_22_55_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88cf097eed6fd852d16bb21fe4e0b300.jpg","text":"TemporaryFile(/tmp/multipartBody1171859495304269253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436123905,"filename":"image_31102025_10_23_02_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83b0f9b8eeb38ffe5ce21d379e549e6b.jpg","text":"TemporaryFile(/tmp/multipartBody4467163224021880671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436123905,"filename":"image_31102025_10_23_14_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a10717f23f2a81a21a41f96f35a8405e.jpg","text":"TemporaryFile(/tmp/multipartBody6643086123755707777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436123905,"filename":"image_31102025_10_23_10_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929015","file1":"1396929014","file0":"1396929012","file4":"1396929017","file5":"1396929018","file3":"1396929016"},"map_files_photo_id_array":[{"photo_id":"1396929018","filename":"file5"},{"photo_id":"1396929015","filename":"file2"},{"photo_id":"1396929017","filename":"file4"},{"photo_id":"1396929014","filename":"file1"},{"photo_id":"1396929012","filename":"file0"},{"photo_id":"1396929016","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396929015":["hashtag1","hashtag2"]},{"1396929018":["hashtag1","hashtag2"]},{"1396929012":["hashtag1","hashtag2"]},{"1396929014":["hashtag1","hashtag2"]},{"1396929017":["hashtag1","hashtag2"]},{"1396929016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396929015, 1396929018, 1396929012, 1396929014, 1396929017, 1396929016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54783010482788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:08:22.145313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/06/image_29112025_18_06_54_10737.jpg', '/home/pi/Desktop/images/29112025/18/06/image_29112025_18_07_04_9737.jpg', '/home/pi/Desktop/images/29112025/18/07/image_29112025_18_07_14_9667.jpg', '/home/pi/Desktop/images/29112025/18/07/image_29112025_18_07_24_10723.jpg', '/home/pi/Desktop/images/29112025/18/07/image_29112025_18_07_34_9632.jpg', '/home/pi/Desktop/images/29112025/18/07/image_29112025_18_07_54_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/06/image_29112025_18_06_54_10737.jpg
/home/pi/Desktop/images/29112025/18/06/image_29112025_18_07_04_9737.jpg
/home/pi/Desktop/images/29112025/18/07/image_29112025_18_07_14_9667.jpg
/home/pi/Desktop/images/29112025/18/07/image_29112025_18_07_24_10723.jpg
/home/pi/Desktop/images/29112025/18/07/image_29112025_18_07_34_9632.jpg
/home/pi/Desktop/images/29112025/18/07/image_29112025_18_07_54_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396929021","1396929024","1396929031","1396929028","1396929048","1396929033"],"photo_ids_order":["1396929021","1396929024","1396929028","1396929031","1396929033","1396929048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/215735cf71156e34b5bbbd760ae51a4c.jpg","text":"TemporaryFile(/tmp/multipartBody6847804530581718045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436162825,"filename":"image_29112025_18_06_54_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e6acbe6090ff70d42640844aba5be36.jpg","text":"TemporaryFile(/tmp/multipartBody1666018329371276994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436162825,"filename":"image_29112025_18_07_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/11/29/31301e75d7cc28932f5451f937113b68.jpg","text":"TemporaryFile(/tmp/multipartBody2259474938492146802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436162825,"filename":"image_29112025_18_07_24_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edad14be6b9babd16d37ce7f820d23cb.jpg","text":"TemporaryFile(/tmp/multipartBody9141703715625620781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436162825,"filename":"image_29112025_18_07_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/11/29/2352730d43a92969d510b13a14bb77ef.jpg","text":"TemporaryFile(/tmp/multipartBody2542152302598659931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436162825,"filename":"image_29112025_18_07_54_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc9657341b1af29e488aeab76d36693d.jpg","text":"TemporaryFile(/tmp/multipartBody77584986199750703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436162825,"filename":"image_29112025_18_07_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929028","file1":"1396929024","file0":"1396929021","file4":"1396929033","file5":"1396929048","file3":"1396929031"},"map_files_photo_id_array":[{"photo_id":"1396929048","filename":"file5"},{"photo_id":"1396929028","filename":"file2"},{"photo_id":"1396929033","filename":"file4"},{"photo_id":"1396929024","filename":"file1"},{"photo_id":"1396929021","filename":"file0"},{"photo_id":"1396929031","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929021":["hashtag1","hashtag2"]},{"1396929024":["hashtag1","hashtag2"]},{"1396929031":["hashtag1","hashtag2"]},{"1396929028":["hashtag1","hashtag2"]},{"1396929048":["hashtag1","hashtag2"]},{"1396929033":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929021, 1396929024, 1396929031, 1396929028, 1396929048, 1396929033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.267661571502686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:09:03.207835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/07/image_29112025_18_08_04_9792.jpg', '/home/pi/Desktop/images/29112025/18/08/image_29112025_18_08_24_10741.jpg', '/home/pi/Desktop/images/29112025/18/08/image_29112025_18_08_34_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/07/image_29112025_18_08_04_9792.jpg
/home/pi/Desktop/images/29112025/18/08/image_29112025_18_08_24_10741.jpg
/home/pi/Desktop/images/29112025/18/08/image_29112025_18_08_34_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":["1396929062","1396929101","1396929078"],"photo_ids_order":["1396929062","1396929078","1396929101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b9516422a033b88b1f7116d12852c4e.jpg","text":"TemporaryFile(/tmp/multipartBody523622490866074500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436203930,"filename":"image_29112025_18_08_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/11/29/46b2704e7aa3f7e32834593bcee8707e.jpg","text":"TemporaryFile(/tmp/multipartBody8465034841502657131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436203930,"filename":"image_29112025_18_08_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2f1870d73b55a26e2eab5829e3c347a.jpg","text":"TemporaryFile(/tmp/multipartBody8653634128840710907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436203930,"filename":"image_29112025_18_08_24_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929101","file1":"1396929078","file0":"1396929062"},"map_files_photo_id_array":[{"photo_id":"1396929101","filename":"file2"},{"photo_id":"1396929078","filename":"file1"},{"photo_id":"1396929062","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929062":["hashtag1","hashtag2"]},{"1396929101":["hashtag1","hashtag2"]},{"1396929078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929062, 1396929101, 1396929078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.449304580688477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 18:09:33.796282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_41_2716.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_43_2556.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_48_4545.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_50_1647.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_53_3639.jpg', '/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_56_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_41_2716.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_43_2556.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_48_4545.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_50_1647.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_53_3639.jpg
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_56_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":["1396929117","1396929111","1396929113","1396929116","1396929115","1396929109"],"photo_ids_order":["1396929109","1396929111","1396929113","1396929115","1396929116","1396929117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3401d10ec904dfea851edca653eef417.jpg","text":"TemporaryFile(/tmp/multipartBody3700480794720525299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436236065,"filename":"image_25112025_18_58_56_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb6c5c811b3e6e6ddc97529d2df811c6.jpg","text":"TemporaryFile(/tmp/multipartBody6031171123187776557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436236065,"filename":"image_25112025_18_58_43_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ad2c8d4f64644381fe971d6536cb7cd.jpg","text":"TemporaryFile(/tmp/multipartBody1433030756357125129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436236065,"filename":"image_25112025_18_58_48_4545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/622f54907e7ecf398eb44851bfe8173c.jpg","text":"TemporaryFile(/tmp/multipartBody2537049625545201886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436236065,"filename":"image_25112025_18_58_53_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/862e5b9a1a74d35e11e519474691d02d.jpg","text":"TemporaryFile(/tmp/multipartBody6612021771487915113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436236065,"filename":"image_25112025_18_58_50_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d815367416ee8f8137bd76f7becbfa82.jpg","text":"TemporaryFile(/tmp/multipartBody8838637498130120558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436236065,"filename":"image_25112025_18_58_41_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929113","file1":"1396929111","file0":"1396929109","file4":"1396929116","file5":"1396929117","file3":"1396929115"},"map_files_photo_id_array":[{"photo_id":"1396929117","filename":"file5"},{"photo_id":"1396929113","filename":"file2"},{"photo_id":"1396929116","filename":"file4"},{"photo_id":"1396929111","filename":"file1"},{"photo_id":"1396929109","filename":"file0"},{"photo_id":"1396929115","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396929117":["hashtag1","hashtag2"]},{"1396929111":["hashtag1","hashtag2"]},{"1396929113":["hashtag1","hashtag2"]},{"1396929116":["hashtag1","hashtag2"]},{"1396929115":["hashtag1","hashtag2"]},{"1396929109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396929117, 1396929111, 1396929113, 1396929116, 1396929115, 1396929109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38485789299011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 18:10:12.132660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_58_2593.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_02_3678.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_05_2597.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_08_2888.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_17_2822.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_20_2613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/58/image_25112025_18_58_58_2593.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_02_3678.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_05_2597.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_08_2888.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_17_2822.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_20_2613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396929125","1396929128","1396929122","1396929119","1396929118","1396929133"],"photo_ids_order":["1396929118","1396929119","1396929122","1396929125","1396929128","1396929133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1013578c8a6b34305d989d86cfb853df.jpg","text":"TemporaryFile(/tmp/multipartBody3809651508694199628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436274188,"filename":"image_25112025_18_59_08_2888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5061a5c579884f259aa27fb95ab0d7db.jpg","text":"TemporaryFile(/tmp/multipartBody4375084358302398100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436274188,"filename":"image_25112025_18_59_17_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4071947d61c08616a43b850696c5e54.jpg","text":"TemporaryFile(/tmp/multipartBody1425746181497560786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436274188,"filename":"image_25112025_18_59_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/11/29/16324e7ba165d5b3dd7dbfa8ced884b9.jpg","text":"TemporaryFile(/tmp/multipartBody3389898524210817607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436274188,"filename":"image_25112025_18_59_02_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90f96e7262ec6923072b10ca8fd2cc01.jpg","text":"TemporaryFile(/tmp/multipartBody4151730770166271078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436274188,"filename":"image_25112025_18_58_58_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc59b01f151af8fbb1acd60198499821.jpg","text":"TemporaryFile(/tmp/multipartBody804928226882882923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436274188,"filename":"image_25112025_18_59_20_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929122","file1":"1396929119","file0":"1396929118","file4":"1396929128","file5":"1396929133","file3":"1396929125"},"map_files_photo_id_array":[{"photo_id":"1396929133","filename":"file5"},{"photo_id":"1396929122","filename":"file2"},{"photo_id":"1396929128","filename":"file4"},{"photo_id":"1396929119","filename":"file1"},{"photo_id":"1396929118","filename":"file0"},{"photo_id":"1396929125","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396929125":["hashtag1","hashtag2"]},{"1396929128":["hashtag1","hashtag2"]},{"1396929122":["hashtag1","hashtag2"]},{"1396929119":["hashtag1","hashtag2"]},{"1396929118":["hashtag1","hashtag2"]},{"1396929133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396929125, 1396929128, 1396929122, 1396929119, 1396929118, 1396929133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.934531927108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:11:03.090788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/08/image_29112025_18_08_44_9654.jpg', '/home/pi/Desktop/images/29112025/18/08/image_29112025_18_09_04_9649.jpg', '/home/pi/Desktop/images/29112025/18/09/image_29112025_18_09_14_9599.jpg', '/home/pi/Desktop/images/29112025/18/09/image_29112025_18_09_24_10667.jpg', '/home/pi/Desktop/images/29112025/18/09/image_29112025_18_09_34_9864.jpg', '/home/pi/Desktop/images/29112025/18/09/image_29112025_18_09_44_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/08/image_29112025_18_08_44_9654.jpg
/home/pi/Desktop/images/29112025/18/08/image_29112025_18_09_04_9649.jpg
/home/pi/Desktop/images/29112025/18/09/image_29112025_18_09_14_9599.jpg
/home/pi/Desktop/images/29112025/18/09/image_29112025_18_09_24_10667.jpg
/home/pi/Desktop/images/29112025/18/09/image_29112025_18_09_34_9864.jpg
/home/pi/Desktop/images/29112025/18/09/image_29112025_18_09_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":["1396929141","1396929143","1396929146","1396929149","1396929140","1396929142"],"photo_ids_order":["1396929140","1396929141","1396929142","1396929143","1396929146","1396929149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9eba1420142b18640421803e68a0e4f1.jpg","text":"TemporaryFile(/tmp/multipartBody6798644167099205476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436323854,"filename":"image_29112025_18_09_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/11/29/63abf810cb24ab35053961cc5c494027.jpg","text":"TemporaryFile(/tmp/multipartBody6733768293116295133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436323854,"filename":"image_29112025_18_09_24_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd98b48baa2d02887738f301c55956a9.jpg","text":"TemporaryFile(/tmp/multipartBody5448257093271400205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436323854,"filename":"image_29112025_18_09_34_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eac97a1f70a71ac74ca0a8c5eeeb1c0f.jpg","text":"TemporaryFile(/tmp/multipartBody7718639507448439539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436323854,"filename":"image_29112025_18_09_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/11/29/ab3d0cd7a40505929fcbc7d71c85c3e9.jpg","text":"TemporaryFile(/tmp/multipartBody1226213012432663422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436323854,"filename":"image_29112025_18_08_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/11/29/686d5870d0817b6acfa39a794d9cb8d3.jpg","text":"TemporaryFile(/tmp/multipartBody5014883547051425146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436323854,"filename":"image_29112025_18_09_14_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929142","file1":"1396929141","file0":"1396929140","file4":"1396929146","file5":"1396929149","file3":"1396929143"},"map_files_photo_id_array":[{"photo_id":"1396929149","filename":"file5"},{"photo_id":"1396929142","filename":"file2"},{"photo_id":"1396929146","filename":"file4"},{"photo_id":"1396929141","filename":"file1"},{"photo_id":"1396929140","filename":"file0"},{"photo_id":"1396929143","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929141":["hashtag1","hashtag2"]},{"1396929143":["hashtag1","hashtag2"]},{"1396929146":["hashtag1","hashtag2"]},{"1396929149":["hashtag1","hashtag2"]},{"1396929140":["hashtag1","hashtag2"]},{"1396929142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929141, 1396929143, 1396929146, 1396929149, 1396929140, 1396929142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.954137563705444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:11:42.371700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_20_3729.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_23_2592.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_25_2828.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_28_2631.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_32_3633.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_35_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/10/23/image_31102025_10_23_20_3729.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_23_2592.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_25_2828.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_28_2631.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_32_3633.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_35_2816.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0967304706573486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:12:03.071236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/09/image_29112025_18_09_54_10582.jpg', '/home/pi/Desktop/images/29112025/18/09/image_29112025_18_10_04_9632.jpg', '/home/pi/Desktop/images/29112025/18/10/image_29112025_18_10_14_9630.jpg', '/home/pi/Desktop/images/29112025/18/10/image_29112025_18_10_24_10766.jpg', '/home/pi/Desktop/images/29112025/18/10/image_29112025_18_10_34_9579.jpg', '/home/pi/Desktop/images/29112025/18/10/image_29112025_18_10_43_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/09/image_29112025_18_09_54_10582.jpg
/home/pi/Desktop/images/29112025/18/09/image_29112025_18_10_04_9632.jpg
/home/pi/Desktop/images/29112025/18/10/image_29112025_18_10_14_9630.jpg
/home/pi/Desktop/images/29112025/18/10/image_29112025_18_10_24_10766.jpg
/home/pi/Desktop/images/29112025/18/10/image_29112025_18_10_34_9579.jpg
/home/pi/Desktop/images/29112025/18/10/image_29112025_18_10_43_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":["1396929164","1396929166","1396929163","1396929171","1396929165","1396929168"],"photo_ids_order":["1396929163","1396929164","1396929165","1396929166","1396929168","1396929171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6c0c3411a732cf5fdf06697fefc71b9.jpg","text":"TemporaryFile(/tmp/multipartBody4821225831434091525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436383788,"filename":"image_29112025_18_10_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/11/29/e835decb0bf9f51b5afd7e40d7674bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4420905188126480611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436383788,"filename":"image_29112025_18_10_24_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7bc91366136d8acccf4f877789d8aac.jpg","text":"TemporaryFile(/tmp/multipartBody3887498459721933286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436383788,"filename":"image_29112025_18_09_54_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83c2bffe09563f0b7265a61176b9912d.jpg","text":"TemporaryFile(/tmp/multipartBody1072528683605211138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436383788,"filename":"image_29112025_18_10_43_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c28e1dd21f1c5dbe6aa842497de691bd.jpg","text":"TemporaryFile(/tmp/multipartBody4599481096706338664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436383788,"filename":"image_29112025_18_10_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/11/29/69d6b697f2a52075b7a9980f6605aa85.jpg","text":"TemporaryFile(/tmp/multipartBody4516776248018699019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436383788,"filename":"image_29112025_18_10_34_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929165","file1":"1396929164","file0":"1396929163","file4":"1396929168","file5":"1396929171","file3":"1396929166"},"map_files_photo_id_array":[{"photo_id":"1396929171","filename":"file5"},{"photo_id":"1396929165","filename":"file2"},{"photo_id":"1396929168","filename":"file4"},{"photo_id":"1396929164","filename":"file1"},{"photo_id":"1396929163","filename":"file0"},{"photo_id":"1396929166","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929164":["hashtag1","hashtag2"]},{"1396929166":["hashtag1","hashtag2"]},{"1396929163":["hashtag1","hashtag2"]},{"1396929171":["hashtag1","hashtag2"]},{"1396929165":["hashtag1","hashtag2"]},{"1396929168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929164, 1396929166, 1396929163, 1396929171, 1396929165, 1396929168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87047839164734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:12:42.534484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_20_3729.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_23_2592.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_25_2828.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_28_2631.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_32_3633.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_35_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/10/23/image_31102025_10_23_20_3729.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_23_2592.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_25_2828.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_28_2631.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_32_3633.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_35_2816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396929188","1396929185","1396929184","1396929187","1396929181","1396929186"],"photo_ids_order":["1396929181","1396929184","1396929185","1396929186","1396929187","1396929188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a212cd6d5b9e32364404fa83bd2376f.jpg","text":"TemporaryFile(/tmp/multipartBody8995692969193575289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436423565,"filename":"image_31102025_10_23_35_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6561a59e5d9967c78c601100d1d2529.jpg","text":"TemporaryFile(/tmp/multipartBody930441954644379060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436423565,"filename":"image_31102025_10_23_25_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5d99793fcb41338ba829bd38d74d20c.jpg","text":"TemporaryFile(/tmp/multipartBody7684415370021024725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436423565,"filename":"image_31102025_10_23_23_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/062e65bd49af110a81dbc8e8fdcde279.jpg","text":"TemporaryFile(/tmp/multipartBody2896545939627956385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436423565,"filename":"image_31102025_10_23_32_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94a7b0032ef6302b0b9d17049e9f9214.jpg","text":"TemporaryFile(/tmp/multipartBody6392347317134840683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436423565,"filename":"image_31102025_10_23_20_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2601aef037c398949edfb2f1cf535548.jpg","text":"TemporaryFile(/tmp/multipartBody2465529547619209632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436423565,"filename":"image_31102025_10_23_28_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929185","file1":"1396929184","file0":"1396929181","file4":"1396929187","file5":"1396929188","file3":"1396929186"},"map_files_photo_id_array":[{"photo_id":"1396929188","filename":"file5"},{"photo_id":"1396929185","filename":"file2"},{"photo_id":"1396929187","filename":"file4"},{"photo_id":"1396929184","filename":"file1"},{"photo_id":"1396929181","filename":"file0"},{"photo_id":"1396929186","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396929188":["hashtag1","hashtag2"]},{"1396929185":["hashtag1","hashtag2"]},{"1396929184":["hashtag1","hashtag2"]},{"1396929187":["hashtag1","hashtag2"]},{"1396929181":["hashtag1","hashtag2"]},{"1396929186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396929188, 1396929185, 1396929184, 1396929187, 1396929181, 1396929186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77671670913696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:13:22.725254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/10/image_29112025_18_10_54_10569.jpg', '/home/pi/Desktop/images/29112025/18/10/image_29112025_18_11_04_9714.jpg', '/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_13_9669.jpg', '/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_24_10684.jpg', '/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_34_9702.jpg', '/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_44_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/10/image_29112025_18_10_54_10569.jpg
/home/pi/Desktop/images/29112025/18/10/image_29112025_18_11_04_9714.jpg
/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_13_9669.jpg
/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_24_10684.jpg
/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_34_9702.jpg
/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_44_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396929201","1396929204","1396929207","1396929195","1396929198","1396929192"],"photo_ids_order":["1396929192","1396929195","1396929198","1396929201","1396929204","1396929207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a52b77a6c615db831a64509c78617a02.jpg","text":"TemporaryFile(/tmp/multipartBody1458730642594108413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436463446,"filename":"image_29112025_18_11_24_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e42f3d13bcd244353ae850d8b7d961c7.jpg","text":"TemporaryFile(/tmp/multipartBody652443707282662665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436463446,"filename":"image_29112025_18_11_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c2f5d1068ff692707d4bba90c817771.jpg","text":"TemporaryFile(/tmp/multipartBody4327831046011249488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436463446,"filename":"image_29112025_18_11_44_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bc0687ac2eb9562e252e35cce3a1dce.jpg","text":"TemporaryFile(/tmp/multipartBody1578174305815615921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436463446,"filename":"image_29112025_18_11_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/11/29/57013024f07d30cd0346c5de467f5d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2588767970151083167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436463446,"filename":"image_29112025_18_11_13_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51eb9edfa2cf002dab6c95d5deecf93f.jpg","text":"TemporaryFile(/tmp/multipartBody1841684925286821643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436463446,"filename":"image_29112025_18_10_54_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929198","file1":"1396929195","file0":"1396929192","file4":"1396929204","file5":"1396929207","file3":"1396929201"},"map_files_photo_id_array":[{"photo_id":"1396929207","filename":"file5"},{"photo_id":"1396929198","filename":"file2"},{"photo_id":"1396929204","filename":"file4"},{"photo_id":"1396929195","filename":"file1"},{"photo_id":"1396929192","filename":"file0"},{"photo_id":"1396929201","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929201":["hashtag1","hashtag2"]},{"1396929204":["hashtag1","hashtag2"]},{"1396929207":["hashtag1","hashtag2"]},{"1396929195":["hashtag1","hashtag2"]},{"1396929198":["hashtag1","hashtag2"]},{"1396929192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929201, 1396929204, 1396929207, 1396929195, 1396929198, 1396929192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13976001739502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:14:02.654473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_54_10676.jpg', '/home/pi/Desktop/images/29112025/18/11/image_29112025_18_12_04_9609.jpg', '/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_14_9739.jpg', '/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_24_10677.jpg', '/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_34_9704.jpg', '/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_44_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_54_10676.jpg
/home/pi/Desktop/images/29112025/18/11/image_29112025_18_12_04_9609.jpg
/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_14_9739.jpg
/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_24_10677.jpg
/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_34_9704.jpg
/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_44_9648.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6942234039306641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 18:14:11.922280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_22_2812.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_26_3589.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_32_3623.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_37_4611.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_39_1764.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_41_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_22_2812.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_26_3589.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_32_3623.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_37_4611.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_39_1764.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_41_2541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396929213","1396929216","1396929227","1396929220","1396929223","1396929211"],"photo_ids_order":["1396929211","1396929213","1396929216","1396929220","1396929223","1396929227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3e1fdebe7b7fe18e04531fcd82ea176.jpg","text":"TemporaryFile(/tmp/multipartBody6180112860699692133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436513985,"filename":"image_25112025_18_59_26_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36ea6894761119f46592dff5116fd6aa.jpg","text":"TemporaryFile(/tmp/multipartBody1309000106045466241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436513985,"filename":"image_25112025_18_59_32_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0923151ca0b58a853ddfb6c5835e268.jpg","text":"TemporaryFile(/tmp/multipartBody1820030067715434365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436513985,"filename":"image_25112025_18_59_41_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5937339a19d8b40e310fe5d2aa4198f0.jpg","text":"TemporaryFile(/tmp/multipartBody5472689744585225006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436513985,"filename":"image_25112025_18_59_37_4611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ef89c8bdbaf7cb36442fef6f974cb72.jpg","text":"TemporaryFile(/tmp/multipartBody4053834755800215827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436513985,"filename":"image_25112025_18_59_39_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9bf696037f29ae5a55efd8da7da2162.jpg","text":"TemporaryFile(/tmp/multipartBody3629178862704361408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436513985,"filename":"image_25112025_18_59_22_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929216","file1":"1396929213","file0":"1396929211","file4":"1396929223","file5":"1396929227","file3":"1396929220"},"map_files_photo_id_array":[{"photo_id":"1396929227","filename":"file5"},{"photo_id":"1396929216","filename":"file2"},{"photo_id":"1396929223","filename":"file4"},{"photo_id":"1396929213","filename":"file1"},{"photo_id":"1396929211","filename":"file0"},{"photo_id":"1396929220","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396929213":["hashtag1","hashtag2"]},{"1396929216":["hashtag1","hashtag2"]},{"1396929227":["hashtag1","hashtag2"]},{"1396929220":["hashtag1","hashtag2"]},{"1396929223":["hashtag1","hashtag2"]},{"1396929211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396929213, 1396929216, 1396929227, 1396929220, 1396929223, 1396929211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81700015068054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:15:02.856637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_54_10676.jpg', '/home/pi/Desktop/images/29112025/18/11/image_29112025_18_12_04_9609.jpg', '/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_14_9739.jpg', '/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_24_10677.jpg', '/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_34_9704.jpg', '/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_44_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/11/image_29112025_18_11_54_10676.jpg
/home/pi/Desktop/images/29112025/18/11/image_29112025_18_12_04_9609.jpg
/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_14_9739.jpg
/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_24_10677.jpg
/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_34_9704.jpg
/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_44_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":["1396929255","1396929249","1396929248","1396929247","1396929250","1396929252"],"photo_ids_order":["1396929247","1396929248","1396929249","1396929250","1396929252","1396929255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa0878fe210888f9096f91deedd8ebe0.jpg","text":"TemporaryFile(/tmp/multipartBody8440031158255965253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436563597,"filename":"image_29112025_18_12_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/373d8a19328c39a39e059d05b2e25448.jpg","text":"TemporaryFile(/tmp/multipartBody7991759472891691601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436563597,"filename":"image_29112025_18_12_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/11/29/d6142023f940e2503fd6f8afaf403716.jpg","text":"TemporaryFile(/tmp/multipartBody3593426536423510090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436563597,"filename":"image_29112025_18_12_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/11/29/09b64c822da52ad8d303530eb8d79a7d.jpg","text":"TemporaryFile(/tmp/multipartBody2873881049689169460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436563597,"filename":"image_29112025_18_11_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/11/29/4c7366e62da074d771387790039d1bc1.jpg","text":"TemporaryFile(/tmp/multipartBody8728651124532020123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436563597,"filename":"image_29112025_18_12_24_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26a3463b7512e78483c3ef6d5270062f.jpg","text":"TemporaryFile(/tmp/multipartBody2668658489474276335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436563597,"filename":"image_29112025_18_12_34_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929249","file1":"1396929248","file0":"1396929247","file4":"1396929252","file5":"1396929255","file3":"1396929250"},"map_files_photo_id_array":[{"photo_id":"1396929255","filename":"file5"},{"photo_id":"1396929249","filename":"file2"},{"photo_id":"1396929252","filename":"file4"},{"photo_id":"1396929248","filename":"file1"},{"photo_id":"1396929247","filename":"file0"},{"photo_id":"1396929250","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929255":["hashtag1","hashtag2"]},{"1396929249":["hashtag1","hashtag2"]},{"1396929248":["hashtag1","hashtag2"]},{"1396929247":["hashtag1","hashtag2"]},{"1396929250":["hashtag1","hashtag2"]},{"1396929252":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929255, 1396929249, 1396929248, 1396929247, 1396929250, 1396929252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34917950630188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:15:42.168422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_38_3333.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_41_2674.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_43_2716.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_47_3689.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_50_2687.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_52_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/10/23/image_31102025_10_23_38_3333.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_41_2674.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_43_2716.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_47_3689.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_50_2687.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_52_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":["1396929432","1396929429","1396929398","1396929431","1396929430","1396929363"],"photo_ids_order":["1396929363","1396929398","1396929429","1396929430","1396929431","1396929432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9a54ec8dd9d535f5766c797dd60e083.jpg","text":"TemporaryFile(/tmp/multipartBody8683451055482131417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436603294,"filename":"image_31102025_10_23_52_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8879ec53b278e78855a86a94a96b765.jpg","text":"TemporaryFile(/tmp/multipartBody6199767212134108928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436603294,"filename":"image_31102025_10_23_43_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d72c2ad440b9c6432400f27842efc476.jpg","text":"TemporaryFile(/tmp/multipartBody4323490088565579562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436603294,"filename":"image_31102025_10_23_41_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/379db3460f7f8ce3fc7a2efc1ff4da70.jpg","text":"TemporaryFile(/tmp/multipartBody4824876385688375946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436603294,"filename":"image_31102025_10_23_50_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4f02d211ef3c795d4e50c2a293a2669.jpg","text":"TemporaryFile(/tmp/multipartBody7537287477924139313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436603294,"filename":"image_31102025_10_23_47_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd99fa383d24cfba40e7e273e2c8c4c0.jpg","text":"TemporaryFile(/tmp/multipartBody5362325674309313763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436603294,"filename":"image_31102025_10_23_38_3333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929429","file1":"1396929398","file0":"1396929363","file4":"1396929431","file5":"1396929432","file3":"1396929430"},"map_files_photo_id_array":[{"photo_id":"1396929432","filename":"file5"},{"photo_id":"1396929429","filename":"file2"},{"photo_id":"1396929431","filename":"file4"},{"photo_id":"1396929398","filename":"file1"},{"photo_id":"1396929363","filename":"file0"},{"photo_id":"1396929430","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396929432":["hashtag1","hashtag2"]},{"1396929429":["hashtag1","hashtag2"]},{"1396929398":["hashtag1","hashtag2"]},{"1396929431":["hashtag1","hashtag2"]},{"1396929430":["hashtag1","hashtag2"]},{"1396929363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396929432, 1396929429, 1396929398, 1396929431, 1396929430, 1396929363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04919981956482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:16:22.390429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_54_10642.jpg', '/home/pi/Desktop/images/29112025/18/12/image_29112025_18_13_04_9530.jpg', '/home/pi/Desktop/images/29112025/18/13/image_29112025_18_13_14_9798.jpg', '/home/pi/Desktop/images/29112025/18/13/image_29112025_18_13_24_10585.jpg', '/home/pi/Desktop/images/29112025/18/13/image_29112025_18_13_34_9868.jpg', '/home/pi/Desktop/images/29112025/18/13/image_29112025_18_13_44_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/12/image_29112025_18_12_54_10642.jpg
/home/pi/Desktop/images/29112025/18/12/image_29112025_18_13_04_9530.jpg
/home/pi/Desktop/images/29112025/18/13/image_29112025_18_13_14_9798.jpg
/home/pi/Desktop/images/29112025/18/13/image_29112025_18_13_24_10585.jpg
/home/pi/Desktop/images/29112025/18/13/image_29112025_18_13_34_9868.jpg
/home/pi/Desktop/images/29112025/18/13/image_29112025_18_13_44_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":["1396929536","1396929458","1396929544","1396929541","1396929436","1396929498"],"photo_ids_order":["1396929436","1396929458","1396929498","1396929536","1396929541","1396929544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42783a019c8f1ef03a1dd4d41b2a04e1.jpg","text":"TemporaryFile(/tmp/multipartBody6866679595831131010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436643080,"filename":"image_29112025_18_13_24_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7390820b26ab53a234d120b5dd63ac64.jpg","text":"TemporaryFile(/tmp/multipartBody2288519726288270038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436643080,"filename":"image_29112025_18_13_04_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b6c601076cb2fec54569d55aa2512b1.jpg","text":"TemporaryFile(/tmp/multipartBody1744632875146492147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436643080,"filename":"image_29112025_18_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/11/29/5d04e5cc58d4622c715e6ff3bb1c351e.jpg","text":"TemporaryFile(/tmp/multipartBody1031096617374911620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436643080,"filename":"image_29112025_18_13_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/11/29/ad49178786d93e833e713dca172fd3e3.jpg","text":"TemporaryFile(/tmp/multipartBody619325063484066083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436643080,"filename":"image_29112025_18_12_54_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42f12d5435b9e936284356d0ff164396.jpg","text":"TemporaryFile(/tmp/multipartBody4279875712220285643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436643080,"filename":"image_29112025_18_13_14_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929498","file1":"1396929458","file0":"1396929436","file4":"1396929541","file5":"1396929544","file3":"1396929536"},"map_files_photo_id_array":[{"photo_id":"1396929544","filename":"file5"},{"photo_id":"1396929498","filename":"file2"},{"photo_id":"1396929541","filename":"file4"},{"photo_id":"1396929458","filename":"file1"},{"photo_id":"1396929436","filename":"file0"},{"photo_id":"1396929536","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929536":["hashtag1","hashtag2"]},{"1396929458":["hashtag1","hashtag2"]},{"1396929544":["hashtag1","hashtag2"]},{"1396929541":["hashtag1","hashtag2"]},{"1396929436":["hashtag1","hashtag2"]},{"1396929498":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929536, 1396929458, 1396929544, 1396929541, 1396929436, 1396929498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1400249004364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:17:03.194447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/13/image_29112025_18_13_54_9744.jpg', '/home/pi/Desktop/images/29112025/18/13/image_29112025_18_14_04_10561.jpg', '/home/pi/Desktop/images/29112025/18/14/image_29112025_18_14_14_9863.jpg', '/home/pi/Desktop/images/29112025/18/14/image_29112025_18_14_24_9756.jpg', '/home/pi/Desktop/images/29112025/18/14/image_29112025_18_14_33_9694.jpg', '/home/pi/Desktop/images/29112025/18/14/image_29112025_18_14_44_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/13/image_29112025_18_13_54_9744.jpg
/home/pi/Desktop/images/29112025/18/13/image_29112025_18_14_04_10561.jpg
/home/pi/Desktop/images/29112025/18/14/image_29112025_18_14_14_9863.jpg
/home/pi/Desktop/images/29112025/18/14/image_29112025_18_14_24_9756.jpg
/home/pi/Desktop/images/29112025/18/14/image_29112025_18_14_33_9694.jpg
/home/pi/Desktop/images/29112025/18/14/image_29112025_18_14_44_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":["1396929599","1396929602","1396929598","1396929604","1396929588","1396929597"],"photo_ids_order":["1396929588","1396929597","1396929598","1396929599","1396929602","1396929604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6428b5354f592c38c65c915efed95daf.jpg","text":"TemporaryFile(/tmp/multipartBody4856863906085993855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436684001,"filename":"image_29112025_18_14_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1897a484f4d4e82e34bc9db2bc62c21a.jpg","text":"TemporaryFile(/tmp/multipartBody535537188401761621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436684001,"filename":"image_29112025_18_14_33_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0dec3218e40e66bd10a9d8a03282bb77.jpg","text":"TemporaryFile(/tmp/multipartBody2501545641887024717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436684001,"filename":"image_29112025_18_14_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/11/29/6e13929206d98721042372c8d94ca5cc.jpg","text":"TemporaryFile(/tmp/multipartBody2326284047550735297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436684001,"filename":"image_29112025_18_14_44_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b84c98fdd9ee264611d7332c2aac52a7.jpg","text":"TemporaryFile(/tmp/multipartBody1568950487262706037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436684001,"filename":"image_29112025_18_13_54_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/390a49603a1664473d7e86598cad288d.jpg","text":"TemporaryFile(/tmp/multipartBody4601242652434498985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436684001,"filename":"image_29112025_18_14_04_10561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929598","file1":"1396929597","file0":"1396929588","file4":"1396929602","file5":"1396929604","file3":"1396929599"},"map_files_photo_id_array":[{"photo_id":"1396929604","filename":"file5"},{"photo_id":"1396929598","filename":"file2"},{"photo_id":"1396929602","filename":"file4"},{"photo_id":"1396929597","filename":"file1"},{"photo_id":"1396929588","filename":"file0"},{"photo_id":"1396929599","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929599":["hashtag1","hashtag2"]},{"1396929602":["hashtag1","hashtag2"]},{"1396929598":["hashtag1","hashtag2"]},{"1396929604":["hashtag1","hashtag2"]},{"1396929588":["hashtag1","hashtag2"]},{"1396929597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929599, 1396929602, 1396929598, 1396929604, 1396929588, 1396929597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9430947303772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:17:42.703033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_55_2713.jpg', '/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_59_3703.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_01_2580.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_04_2766.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_08_3605.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_10_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/10/23/image_31102025_10_23_55_2713.jpg
/home/pi/Desktop/images/31102025/10/23/image_31102025_10_23_59_3703.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_01_2580.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_04_2766.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_08_3605.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_10_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":["1396929618","1396929620","1396929614","1396929617","1396929619","1396929616"],"photo_ids_order":["1396929614","1396929616","1396929617","1396929618","1396929619","1396929620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7049544dcc1715b2a5c103faa93a2d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6402568059294798361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436723835,"filename":"image_31102025_10_24_04_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6fde81756ab62bcf8922e841593b40f.jpg","text":"TemporaryFile(/tmp/multipartBody8000424461015450467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436723835,"filename":"image_31102025_10_24_10_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/839a780af4369b93ab49cc9ff85f9cce.jpg","text":"TemporaryFile(/tmp/multipartBody3856975937870194311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436723835,"filename":"image_31102025_10_23_55_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/083c72dea263e2c2d4f3b83ed6903974.jpg","text":"TemporaryFile(/tmp/multipartBody2378146394935446543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436723835,"filename":"image_31102025_10_24_01_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6158b73d2012296dd69190bd7cb9aa14.jpg","text":"TemporaryFile(/tmp/multipartBody8928804686014312288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436723835,"filename":"image_31102025_10_24_08_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9252c29dccfc2b2f89c9ff051acfa16e.jpg","text":"TemporaryFile(/tmp/multipartBody3187761920054099797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436723835,"filename":"image_31102025_10_23_59_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929617","file1":"1396929616","file0":"1396929614","file4":"1396929619","file5":"1396929620","file3":"1396929618"},"map_files_photo_id_array":[{"photo_id":"1396929620","filename":"file5"},{"photo_id":"1396929617","filename":"file2"},{"photo_id":"1396929619","filename":"file4"},{"photo_id":"1396929616","filename":"file1"},{"photo_id":"1396929614","filename":"file0"},{"photo_id":"1396929618","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396929618":["hashtag1","hashtag2"]},{"1396929620":["hashtag1","hashtag2"]},{"1396929614":["hashtag1","hashtag2"]},{"1396929617":["hashtag1","hashtag2"]},{"1396929619":["hashtag1","hashtag2"]},{"1396929616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396929618, 1396929620, 1396929614, 1396929617, 1396929619, 1396929616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71737575531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:18:21.870825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/14/image_29112025_18_14_54_9941.jpg', '/home/pi/Desktop/images/29112025/18/14/image_29112025_18_15_04_9598.jpg', '/home/pi/Desktop/images/29112025/18/15/image_29112025_18_15_14_10633.jpg', '/home/pi/Desktop/images/29112025/18/15/image_29112025_18_15_24_9651.jpg', '/home/pi/Desktop/images/29112025/18/15/image_29112025_18_15_34_9614.jpg', '/home/pi/Desktop/images/29112025/18/15/image_29112025_18_15_44_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/14/image_29112025_18_14_54_9941.jpg
/home/pi/Desktop/images/29112025/18/14/image_29112025_18_15_04_9598.jpg
/home/pi/Desktop/images/29112025/18/15/image_29112025_18_15_14_10633.jpg
/home/pi/Desktop/images/29112025/18/15/image_29112025_18_15_24_9651.jpg
/home/pi/Desktop/images/29112025/18/15/image_29112025_18_15_34_9614.jpg
/home/pi/Desktop/images/29112025/18/15/image_29112025_18_15_44_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":["1396929633","1396929625","1396929640","1396929628","1396929622","1396929636"],"photo_ids_order":["1396929622","1396929625","1396929628","1396929633","1396929636","1396929640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16884d6fe3f418b5d92912d5d91260da.jpg","text":"TemporaryFile(/tmp/multipartBody7498238817642388065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436762554,"filename":"image_29112025_18_15_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/11/29/39e5f6322d209cda72ee2b84f25d7e29.jpg","text":"TemporaryFile(/tmp/multipartBody8495041073977959308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436762554,"filename":"image_29112025_18_15_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55438d045936dba07aaf1f4f891fa0f0.jpg","text":"TemporaryFile(/tmp/multipartBody4956476935917308328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436762554,"filename":"image_29112025_18_15_44_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d389130e97927b59ff86a1ade961804c.jpg","text":"TemporaryFile(/tmp/multipartBody5881338418292455278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436762554,"filename":"image_29112025_18_15_14_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c31a075be0cada25c65709d1987df50.jpg","text":"TemporaryFile(/tmp/multipartBody2865987084961024557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436762554,"filename":"image_29112025_18_14_54_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ae02293181aa0ceb06f05bea2091687.jpg","text":"TemporaryFile(/tmp/multipartBody5928395596014921402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436762554,"filename":"image_29112025_18_15_34_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929628","file1":"1396929625","file0":"1396929622","file4":"1396929636","file5":"1396929640","file3":"1396929633"},"map_files_photo_id_array":[{"photo_id":"1396929640","filename":"file5"},{"photo_id":"1396929628","filename":"file2"},{"photo_id":"1396929636","filename":"file4"},{"photo_id":"1396929625","filename":"file1"},{"photo_id":"1396929622","filename":"file0"},{"photo_id":"1396929633","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929633":["hashtag1","hashtag2"]},{"1396929625":["hashtag1","hashtag2"]},{"1396929640":["hashtag1","hashtag2"]},{"1396929628":["hashtag1","hashtag2"]},{"1396929622":["hashtag1","hashtag2"]},{"1396929636":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929633, 1396929625, 1396929640, 1396929628, 1396929622, 1396929636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15609931945801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:19:03.042128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/15/image_29112025_18_15_54_9629.jpg', '/home/pi/Desktop/images/29112025/18/15/image_29112025_18_16_04_9664.jpg', '/home/pi/Desktop/images/29112025/18/16/image_29112025_18_16_14_10733.jpg', '/home/pi/Desktop/images/29112025/18/16/image_29112025_18_16_24_9699.jpg', '/home/pi/Desktop/images/29112025/18/16/image_29112025_18_16_34_9727.jpg', '/home/pi/Desktop/images/29112025/18/16/image_29112025_18_16_43_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/15/image_29112025_18_15_54_9629.jpg
/home/pi/Desktop/images/29112025/18/15/image_29112025_18_16_04_9664.jpg
/home/pi/Desktop/images/29112025/18/16/image_29112025_18_16_14_10733.jpg
/home/pi/Desktop/images/29112025/18/16/image_29112025_18_16_24_9699.jpg
/home/pi/Desktop/images/29112025/18/16/image_29112025_18_16_34_9727.jpg
/home/pi/Desktop/images/29112025/18/16/image_29112025_18_16_43_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396929645","1396929647","1396929644","1396929643","1396929652","1396929649"],"photo_ids_order":["1396929643","1396929644","1396929645","1396929647","1396929649","1396929652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51c53ad5e0fbff860065152880b487b8.jpg","text":"TemporaryFile(/tmp/multipartBody7630213354146151328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436805793,"filename":"image_29112025_18_16_14_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0dfc12cebdd9951d0a750421d759244d.jpg","text":"TemporaryFile(/tmp/multipartBody2793902287867830071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436805793,"filename":"image_29112025_18_16_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/11/29/3655dac7edbdb23ad70a57ebb10a8d78.jpg","text":"TemporaryFile(/tmp/multipartBody4794277568168396530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436805793,"filename":"image_29112025_18_16_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76e7edab825cb851fb2e9d2058c7f0b6.jpg","text":"TemporaryFile(/tmp/multipartBody4617090281049320217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436805793,"filename":"image_29112025_18_15_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/11/29/3b622f9534718de21fe46a94db314276.jpg","text":"TemporaryFile(/tmp/multipartBody3716489041109315866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436805793,"filename":"image_29112025_18_16_43_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61c47bdbd7c16ca440658cf023a2f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4355895088409026292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436805793,"filename":"image_29112025_18_16_34_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929645","file1":"1396929644","file0":"1396929643","file4":"1396929649","file5":"1396929652","file3":"1396929647"},"map_files_photo_id_array":[{"photo_id":"1396929652","filename":"file5"},{"photo_id":"1396929645","filename":"file2"},{"photo_id":"1396929649","filename":"file4"},{"photo_id":"1396929644","filename":"file1"},{"photo_id":"1396929643","filename":"file0"},{"photo_id":"1396929647","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929645":["hashtag1","hashtag2"]},{"1396929647":["hashtag1","hashtag2"]},{"1396929644":["hashtag1","hashtag2"]},{"1396929643":["hashtag1","hashtag2"]},{"1396929652":["hashtag1","hashtag2"]},{"1396929649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929645, 1396929647, 1396929644, 1396929643, 1396929652, 1396929649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.064292430877686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:19:42.085679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_13_2829.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_17_3552.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_19_2711.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_22_2641.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_26_3679.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_28_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_13_2829.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_17_3552.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_19_2711.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_22_2641.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_26_3679.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_28_2718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396929797","1396929674","1396929719","1396929874","1396929757","1396929834"],"photo_ids_order":["1396929674","1396929719","1396929757","1396929797","1396929834","1396929874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35aecd3fa0acd9e3993ee79b9a99c7a9.jpg","text":"TemporaryFile(/tmp/multipartBody4945437460269658103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436843379,"filename":"image_31102025_10_24_22_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fcc3f7bb32c994fb8698fa68c9f5c1b9.jpg","text":"TemporaryFile(/tmp/multipartBody3879293348672806572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436843379,"filename":"image_31102025_10_24_13_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75e79ea4f46a9e2549f5cba3ecd5dd96.jpg","text":"TemporaryFile(/tmp/multipartBody6260925696572100344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436843379,"filename":"image_31102025_10_24_17_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2cc6fd4ff3bec2bc62486c94b21d9a23.jpg","text":"TemporaryFile(/tmp/multipartBody7083124967862988959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436843379,"filename":"image_31102025_10_24_28_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b373f032d2e304238cda738d57792926.jpg","text":"TemporaryFile(/tmp/multipartBody4287778890591806378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436843379,"filename":"image_31102025_10_24_19_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e87eaca610fa28d6235bd672e569f6e.jpg","text":"TemporaryFile(/tmp/multipartBody5453135908545865241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436843379,"filename":"image_31102025_10_24_26_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396929757","file1":"1396929719","file0":"1396929674","file4":"1396929834","file5":"1396929874","file3":"1396929797"},"map_files_photo_id_array":[{"photo_id":"1396929874","filename":"file5"},{"photo_id":"1396929757","filename":"file2"},{"photo_id":"1396929834","filename":"file4"},{"photo_id":"1396929719","filename":"file1"},{"photo_id":"1396929674","filename":"file0"},{"photo_id":"1396929797","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396929797":["hashtag1","hashtag2"]},{"1396929674":["hashtag1","hashtag2"]},{"1396929719":["hashtag1","hashtag2"]},{"1396929874":["hashtag1","hashtag2"]},{"1396929757":["hashtag1","hashtag2"]},{"1396929834":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396929797, 1396929674, 1396929719, 1396929874, 1396929757, 1396929834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69028925895691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:20:22.290580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/16/image_29112025_18_16_54_10714.jpg', '/home/pi/Desktop/images/29112025/18/16/image_29112025_18_17_04_9660.jpg', '/home/pi/Desktop/images/29112025/18/17/image_29112025_18_17_13_9647.jpg', '/home/pi/Desktop/images/29112025/18/17/image_29112025_18_17_34_9698.jpg', '/home/pi/Desktop/images/29112025/18/17/image_29112025_18_17_44_9734.jpg', '/home/pi/Desktop/images/29112025/18/17/image_29112025_18_18_04_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/16/image_29112025_18_16_54_10714.jpg
/home/pi/Desktop/images/29112025/18/16/image_29112025_18_17_04_9660.jpg
/home/pi/Desktop/images/29112025/18/17/image_29112025_18_17_13_9647.jpg
/home/pi/Desktop/images/29112025/18/17/image_29112025_18_17_34_9698.jpg
/home/pi/Desktop/images/29112025/18/17/image_29112025_18_17_44_9734.jpg
/home/pi/Desktop/images/29112025/18/17/image_29112025_18_18_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":["1396929992","1396930008","1396930002","1396930011","1396930004","1396929996"],"photo_ids_order":["1396929992","1396929996","1396930002","1396930004","1396930008","1396930011"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff354669c4e40a5bf9a1960399ddd045.jpg","text":"TemporaryFile(/tmp/multipartBody1213910626346744677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436882970,"filename":"image_29112025_18_16_54_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c30ec96761d9c503a9a2a6557cfac36.jpg","text":"TemporaryFile(/tmp/multipartBody4438688059516736938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436882970,"filename":"image_29112025_18_17_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/11/29/e9bab3fbee66fbf8b0109ee4450acdd2.jpg","text":"TemporaryFile(/tmp/multipartBody5748733178600103672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436882970,"filename":"image_29112025_18_17_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a1844c9db70ec8c5690a26c585779c3.jpg","text":"TemporaryFile(/tmp/multipartBody4395703148650531053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436882970,"filename":"image_29112025_18_18_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/11/29/2bb32f0cb6ffcc48a5bc4a96deff9800.jpg","text":"TemporaryFile(/tmp/multipartBody3320855580755632119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436882970,"filename":"image_29112025_18_17_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/11/29/edc1b981c123f45a195aab2c3e236a93.jpg","text":"TemporaryFile(/tmp/multipartBody4930945132189438985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436882970,"filename":"image_29112025_18_17_04_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930002","file1":"1396929996","file0":"1396929992","file4":"1396930008","file5":"1396930011","file3":"1396930004"},"map_files_photo_id_array":[{"photo_id":"1396930011","filename":"file5"},{"photo_id":"1396930002","filename":"file2"},{"photo_id":"1396930008","filename":"file4"},{"photo_id":"1396929996","filename":"file1"},{"photo_id":"1396929992","filename":"file0"},{"photo_id":"1396930004","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396929992":["hashtag1","hashtag2"]},{"1396930008":["hashtag1","hashtag2"]},{"1396930002":["hashtag1","hashtag2"]},{"1396930011":["hashtag1","hashtag2"]},{"1396930004":["hashtag1","hashtag2"]},{"1396929996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396929992, 1396930008, 1396930002, 1396930011, 1396930004, 1396929996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73339247703552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:21:03.308111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/18/image_29112025_18_18_13_9711.jpg', '/home/pi/Desktop/images/29112025/18/18/image_29112025_18_18_24_10585.jpg', '/home/pi/Desktop/images/29112025/18/18/image_29112025_18_18_34_9553.jpg', '/home/pi/Desktop/images/29112025/18/18/image_29112025_18_18_44_10723.jpg', '/home/pi/Desktop/images/29112025/18/18/image_29112025_18_18_54_9994.jpg', '/home/pi/Desktop/images/29112025/18/18/image_29112025_18_19_04_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/18/image_29112025_18_18_13_9711.jpg
/home/pi/Desktop/images/29112025/18/18/image_29112025_18_18_24_10585.jpg
/home/pi/Desktop/images/29112025/18/18/image_29112025_18_18_34_9553.jpg
/home/pi/Desktop/images/29112025/18/18/image_29112025_18_18_44_10723.jpg
/home/pi/Desktop/images/29112025/18/18/image_29112025_18_18_54_9994.jpg
/home/pi/Desktop/images/29112025/18/18/image_29112025_18_19_04_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":["1396930015","1396930017","1396930019","1396930013","1396930022","1396930016"],"photo_ids_order":["1396930013","1396930015","1396930016","1396930017","1396930019","1396930022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e689a7e8fa9763239f2bf22206f06bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3146442386408525032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436924051,"filename":"image_29112025_18_18_24_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ebf5d2559a8707f701df4fbf8d2da9a.jpg","text":"TemporaryFile(/tmp/multipartBody3923828352961299157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436924051,"filename":"image_29112025_18_18_44_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5e3d95f025935c2fcf9a8501dc37428.jpg","text":"TemporaryFile(/tmp/multipartBody5662830632093009481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436924051,"filename":"image_29112025_18_18_54_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79064363ca51809ef1dc04d9e4504bd5.jpg","text":"TemporaryFile(/tmp/multipartBody493952831731247645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436924051,"filename":"image_29112025_18_18_13_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1991c9663c596aca88fb314e61493c63.jpg","text":"TemporaryFile(/tmp/multipartBody2951109562367843740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436924051,"filename":"image_29112025_18_19_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/11/29/6367c5cf9e3cd910a00a48793d9f9227.jpg","text":"TemporaryFile(/tmp/multipartBody5253497874074009078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436924051,"filename":"image_29112025_18_18_34_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930016","file1":"1396930015","file0":"1396930013","file4":"1396930019","file5":"1396930022","file3":"1396930017"},"map_files_photo_id_array":[{"photo_id":"1396930022","filename":"file5"},{"photo_id":"1396930016","filename":"file2"},{"photo_id":"1396930019","filename":"file4"},{"photo_id":"1396930015","filename":"file1"},{"photo_id":"1396930013","filename":"file0"},{"photo_id":"1396930017","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930015":["hashtag1","hashtag2"]},{"1396930017":["hashtag1","hashtag2"]},{"1396930019":["hashtag1","hashtag2"]},{"1396930013":["hashtag1","hashtag2"]},{"1396930022":["hashtag1","hashtag2"]},{"1396930016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930015, 1396930017, 1396930019, 1396930013, 1396930022, 1396930016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35139751434326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:21:42.504683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_31_2780.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_38_2690.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_43_2715.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_47_3816.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_49_2690.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_52_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/10/24/image_31102025_10_24_31_2780.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_38_2690.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_43_2715.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_47_3816.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_49_2690.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_52_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":["1396930035","1396930037","1396930031","1396930034","1396930036","1396930033"],"photo_ids_order":["1396930031","1396930033","1396930034","1396930035","1396930036","1396930037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8202e63eb58b72d31867d8e6fef8d382.jpg","text":"TemporaryFile(/tmp/multipartBody2682756514623711606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436963711,"filename":"image_31102025_10_24_47_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af8edbc62b716a6ec4654cd2625a01fe.jpg","text":"TemporaryFile(/tmp/multipartBody8650877983025792309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436963711,"filename":"image_31102025_10_24_52_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34179d56be9d6e8526c34e523fb8f2cb.jpg","text":"TemporaryFile(/tmp/multipartBody3742346127819828712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436963711,"filename":"image_31102025_10_24_31_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed785ff290c6fd246d248d931e551c6f.jpg","text":"TemporaryFile(/tmp/multipartBody8557606456248851067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436963711,"filename":"image_31102025_10_24_43_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5762c64d789b09da4a33c8f95bec9816.jpg","text":"TemporaryFile(/tmp/multipartBody1912272467008811124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436963711,"filename":"image_31102025_10_24_49_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1a2a4caf7f1b5f9cc3e445aa53ff786.jpg","text":"TemporaryFile(/tmp/multipartBody1473820124194792550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764436963711,"filename":"image_31102025_10_24_38_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930034","file1":"1396930033","file0":"1396930031","file4":"1396930036","file5":"1396930037","file3":"1396930035"},"map_files_photo_id_array":[{"photo_id":"1396930037","filename":"file5"},{"photo_id":"1396930034","filename":"file2"},{"photo_id":"1396930036","filename":"file4"},{"photo_id":"1396930033","filename":"file1"},{"photo_id":"1396930031","filename":"file0"},{"photo_id":"1396930035","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396930035":["hashtag1","hashtag2"]},{"1396930037":["hashtag1","hashtag2"]},{"1396930031":["hashtag1","hashtag2"]},{"1396930034":["hashtag1","hashtag2"]},{"1396930036":["hashtag1","hashtag2"]},{"1396930033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396930035, 1396930037, 1396930031, 1396930034, 1396930036, 1396930033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88942909240723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:22:22.708496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/19/image_29112025_18_19_14_9775.jpg', '/home/pi/Desktop/images/29112025/18/19/image_29112025_18_19_24_10545.jpg', '/home/pi/Desktop/images/29112025/18/19/image_29112025_18_19_34_9666.jpg', '/home/pi/Desktop/images/29112025/18/19/image_29112025_18_19_44_9605.jpg', '/home/pi/Desktop/images/29112025/18/19/image_29112025_18_19_54_10675.jpg', '/home/pi/Desktop/images/29112025/18/19/image_29112025_18_20_04_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/19/image_29112025_18_19_14_9775.jpg
/home/pi/Desktop/images/29112025/18/19/image_29112025_18_19_24_10545.jpg
/home/pi/Desktop/images/29112025/18/19/image_29112025_18_19_34_9666.jpg
/home/pi/Desktop/images/29112025/18/19/image_29112025_18_19_44_9605.jpg
/home/pi/Desktop/images/29112025/18/19/image_29112025_18_19_54_10675.jpg
/home/pi/Desktop/images/29112025/18/19/image_29112025_18_20_04_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":["1396930047","1396930041","1396930055","1396930043","1396930052","1396930049"],"photo_ids_order":["1396930041","1396930043","1396930047","1396930049","1396930052","1396930055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9c75c45dbacce3e3cadff4b773c3894.jpg","text":"TemporaryFile(/tmp/multipartBody5179436677443203606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437003392,"filename":"image_29112025_18_19_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/11/29/e41faaeb3d22ecc482e33ab4f80a102d.jpg","text":"TemporaryFile(/tmp/multipartBody3855672911614116733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437003392,"filename":"image_29112025_18_19_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c3ebab1ad99613d96ec85e50f2441fa.jpg","text":"TemporaryFile(/tmp/multipartBody5325972292234184095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437003392,"filename":"image_29112025_18_20_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/11/29/85fd060983b1a4c907db9fef47eda9fd.jpg","text":"TemporaryFile(/tmp/multipartBody6147012093893105565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437003392,"filename":"image_29112025_18_19_24_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcac6d1ec2b8dc98a30d68a909fa7758.jpg","text":"TemporaryFile(/tmp/multipartBody5981020837913538595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437003392,"filename":"image_29112025_18_19_54_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0a2a7544ea82df018bf625d55cf3a67.jpg","text":"TemporaryFile(/tmp/multipartBody2724134568566253961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437003392,"filename":"image_29112025_18_19_44_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930047","file1":"1396930043","file0":"1396930041","file4":"1396930052","file5":"1396930055","file3":"1396930049"},"map_files_photo_id_array":[{"photo_id":"1396930055","filename":"file5"},{"photo_id":"1396930047","filename":"file2"},{"photo_id":"1396930052","filename":"file4"},{"photo_id":"1396930043","filename":"file1"},{"photo_id":"1396930041","filename":"file0"},{"photo_id":"1396930049","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930047":["hashtag1","hashtag2"]},{"1396930041":["hashtag1","hashtag2"]},{"1396930055":["hashtag1","hashtag2"]},{"1396930043":["hashtag1","hashtag2"]},{"1396930052":["hashtag1","hashtag2"]},{"1396930049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930047, 1396930041, 1396930055, 1396930043, 1396930052, 1396930049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94100642204285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:23:02.571567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/20/image_29112025_18_20_14_9659.jpg', '/home/pi/Desktop/images/29112025/18/20/image_29112025_18_20_24_10611.jpg', '/home/pi/Desktop/images/29112025/18/20/image_29112025_18_20_34_9639.jpg', '/home/pi/Desktop/images/29112025/18/20/image_29112025_18_20_43_9619.jpg', '/home/pi/Desktop/images/29112025/18/20/image_29112025_18_20_54_10594.jpg', '/home/pi/Desktop/images/29112025/18/20/image_29112025_18_21_04_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/20/image_29112025_18_20_14_9659.jpg
/home/pi/Desktop/images/29112025/18/20/image_29112025_18_20_24_10611.jpg
/home/pi/Desktop/images/29112025/18/20/image_29112025_18_20_34_9639.jpg
/home/pi/Desktop/images/29112025/18/20/image_29112025_18_20_43_9619.jpg
/home/pi/Desktop/images/29112025/18/20/image_29112025_18_20_54_10594.jpg
/home/pi/Desktop/images/29112025/18/20/image_29112025_18_21_04_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930059","1396930061","1396930058","1396930066","1396930060","1396930063"],"photo_ids_order":["1396930058","1396930059","1396930060","1396930061","1396930063","1396930066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/450e3e8d36afa0acc4d9f9aae0dea659.jpg","text":"TemporaryFile(/tmp/multipartBody9089519868677954188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437043320,"filename":"image_29112025_18_20_24_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d67d913fa25911560bb162f013c55c4.jpg","text":"TemporaryFile(/tmp/multipartBody51613427333609455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437043320,"filename":"image_29112025_18_20_43_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbf86f16f6d0e02e57e01d0e110623fb.jpg","text":"TemporaryFile(/tmp/multipartBody5619685190174808913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437043320,"filename":"image_29112025_18_20_14_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7ca856708d0461aa38c864abfe2c0a1.jpg","text":"TemporaryFile(/tmp/multipartBody2325419501277570888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437043320,"filename":"image_29112025_18_21_04_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc16641bde5988940c94fcdac9244592.jpg","text":"TemporaryFile(/tmp/multipartBody2257122094931119540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437043320,"filename":"image_29112025_18_20_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c02e10cce928709232ba827942961609.jpg","text":"TemporaryFile(/tmp/multipartBody3430212671751358081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437043320,"filename":"image_29112025_18_20_54_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930060","file1":"1396930059","file0":"1396930058","file4":"1396930063","file5":"1396930066","file3":"1396930061"},"map_files_photo_id_array":[{"photo_id":"1396930066","filename":"file5"},{"photo_id":"1396930060","filename":"file2"},{"photo_id":"1396930063","filename":"file4"},{"photo_id":"1396930059","filename":"file1"},{"photo_id":"1396930058","filename":"file0"},{"photo_id":"1396930061","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930059":["hashtag1","hashtag2"]},{"1396930061":["hashtag1","hashtag2"]},{"1396930058":["hashtag1","hashtag2"]},{"1396930066":["hashtag1","hashtag2"]},{"1396930060":["hashtag1","hashtag2"]},{"1396930063":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930059, 1396930061, 1396930058, 1396930066, 1396930060, 1396930063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54747819900513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:23:41.868639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_56_3659.jpg', '/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_58_2798.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_07_3016.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_11_3731.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_14_2693.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_16_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/10/24/image_31102025_10_24_56_3659.jpg
/home/pi/Desktop/images/31102025/10/24/image_31102025_10_24_58_2798.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_07_3016.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_11_3731.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_14_2693.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_16_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":["1396930077","1396930074","1396930079","1396930081","1396930078","1396930080"],"photo_ids_order":["1396930074","1396930077","1396930078","1396930079","1396930080","1396930081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/660f1695decabc6202dadeab8f4cb770.jpg","text":"TemporaryFile(/tmp/multipartBody3528630201547866747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437083011,"filename":"image_31102025_10_24_58_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93c72e28116ff628bedfb4de56127c2f.jpg","text":"TemporaryFile(/tmp/multipartBody6469915112868149798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437083011,"filename":"image_31102025_10_24_56_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de7d9b1af2aa27a4682ba77d236d3cf2.jpg","text":"TemporaryFile(/tmp/multipartBody8185548817713531858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437083011,"filename":"image_31102025_10_25_11_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/417ee5c697488d68f866c2514574f439.jpg","text":"TemporaryFile(/tmp/multipartBody717014442544250887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437083011,"filename":"image_31102025_10_25_16_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b4670390c8b4f45d7c57ff61320521e.jpg","text":"TemporaryFile(/tmp/multipartBody2802590073435075461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437083011,"filename":"image_31102025_10_25_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83ac54bbd875d732c90b1c35cd30a322.jpg","text":"TemporaryFile(/tmp/multipartBody562001317956009955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437083011,"filename":"image_31102025_10_25_14_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930078","file1":"1396930077","file0":"1396930074","file4":"1396930080","file5":"1396930081","file3":"1396930079"},"map_files_photo_id_array":[{"photo_id":"1396930081","filename":"file5"},{"photo_id":"1396930078","filename":"file2"},{"photo_id":"1396930080","filename":"file4"},{"photo_id":"1396930077","filename":"file1"},{"photo_id":"1396930074","filename":"file0"},{"photo_id":"1396930079","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396930077":["hashtag1","hashtag2"]},{"1396930074":["hashtag1","hashtag2"]},{"1396930079":["hashtag1","hashtag2"]},{"1396930081":["hashtag1","hashtag2"]},{"1396930078":["hashtag1","hashtag2"]},{"1396930080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396930077, 1396930074, 1396930079, 1396930081, 1396930078, 1396930080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25697088241577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:24:22.081754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/21/image_29112025_18_21_14_10666.jpg', '/home/pi/Desktop/images/29112025/18/21/image_29112025_18_21_24_9770.jpg', '/home/pi/Desktop/images/29112025/18/21/image_29112025_18_21_34_9706.jpg', '/home/pi/Desktop/images/29112025/18/21/image_29112025_18_21_43_9653.jpg', '/home/pi/Desktop/images/29112025/18/21/image_29112025_18_21_54_10583.jpg', '/home/pi/Desktop/images/29112025/18/21/image_29112025_18_22_04_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/21/image_29112025_18_21_14_10666.jpg
/home/pi/Desktop/images/29112025/18/21/image_29112025_18_21_24_9770.jpg
/home/pi/Desktop/images/29112025/18/21/image_29112025_18_21_34_9706.jpg
/home/pi/Desktop/images/29112025/18/21/image_29112025_18_21_43_9653.jpg
/home/pi/Desktop/images/29112025/18/21/image_29112025_18_21_54_10583.jpg
/home/pi/Desktop/images/29112025/18/21/image_29112025_18_22_04_9674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930114","1396930104","1396930124","1396930121","1396930117","1396930111"],"photo_ids_order":["1396930104","1396930111","1396930114","1396930117","1396930121","1396930124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29c96cd77cc4ea598a6e9e6801963d9e.jpg","text":"TemporaryFile(/tmp/multipartBody785221194147704019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437122764,"filename":"image_29112025_18_21_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/11/29/c9ec8895b8330e98f03d63a0bdb2ac1f.jpg","text":"TemporaryFile(/tmp/multipartBody2841707354296408788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437122764,"filename":"image_29112025_18_21_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5e11d17c858ca9de88edac1d30ff124.jpg","text":"TemporaryFile(/tmp/multipartBody7375054926594766912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437122764,"filename":"image_29112025_18_22_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32b751d291e44390f0d89ccd550592bd.jpg","text":"TemporaryFile(/tmp/multipartBody1773933325678471455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437122764,"filename":"image_29112025_18_21_54_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/839c3985e0a65f7634caf3e5159c0b5b.jpg","text":"TemporaryFile(/tmp/multipartBody6785453538947529969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437122764,"filename":"image_29112025_18_21_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/11/29/c85343c6aeea4aaadf70f9144d432c5a.jpg","text":"TemporaryFile(/tmp/multipartBody553439139871269693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437122764,"filename":"image_29112025_18_21_24_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930114","file1":"1396930111","file0":"1396930104","file4":"1396930121","file5":"1396930124","file3":"1396930117"},"map_files_photo_id_array":[{"photo_id":"1396930124","filename":"file5"},{"photo_id":"1396930114","filename":"file2"},{"photo_id":"1396930121","filename":"file4"},{"photo_id":"1396930111","filename":"file1"},{"photo_id":"1396930104","filename":"file0"},{"photo_id":"1396930117","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930114":["hashtag1","hashtag2"]},{"1396930104":["hashtag1","hashtag2"]},{"1396930124":["hashtag1","hashtag2"]},{"1396930121":["hashtag1","hashtag2"]},{"1396930117":["hashtag1","hashtag2"]},{"1396930111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930114, 1396930104, 1396930124, 1396930121, 1396930117, 1396930111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.609174966812134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:25:02.828242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/22/image_29112025_18_22_13_9709.jpg', '/home/pi/Desktop/images/29112025/18/22/image_29112025_18_22_34_9720.jpg', '/home/pi/Desktop/images/29112025/18/22/image_29112025_18_22_43_9626.jpg', '/home/pi/Desktop/images/29112025/18/22/image_29112025_18_22_54_10575.jpg', '/home/pi/Desktop/images/29112025/18/22/image_29112025_18_23_04_9593.jpg', '/home/pi/Desktop/images/29112025/18/23/image_29112025_18_23_14_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/22/image_29112025_18_22_13_9709.jpg
/home/pi/Desktop/images/29112025/18/22/image_29112025_18_22_34_9720.jpg
/home/pi/Desktop/images/29112025/18/22/image_29112025_18_22_43_9626.jpg
/home/pi/Desktop/images/29112025/18/22/image_29112025_18_22_54_10575.jpg
/home/pi/Desktop/images/29112025/18/22/image_29112025_18_23_04_9593.jpg
/home/pi/Desktop/images/29112025/18/23/image_29112025_18_23_14_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":["1396930143","1396930152","1396930146","1396930145","1396930148","1396930144"],"photo_ids_order":["1396930143","1396930144","1396930145","1396930146","1396930148","1396930152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1effa57a000b5cf2182ac859713104ce.jpg","text":"TemporaryFile(/tmp/multipartBody8760212044689071898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437163616,"filename":"image_29112025_18_22_13_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16b2cd81a81d505577079177efbd7a5e.jpg","text":"TemporaryFile(/tmp/multipartBody2005171660820327446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437163616,"filename":"image_29112025_18_23_14_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72f65b655024dde03879ff94d0a9e7e8.jpg","text":"TemporaryFile(/tmp/multipartBody9104054425324637284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437163616,"filename":"image_29112025_18_22_54_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/610133af87460215d1f910879fc32413.jpg","text":"TemporaryFile(/tmp/multipartBody8608916967291125399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437163616,"filename":"image_29112025_18_22_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b9d1495fffcf4fbd9a458551e6f327a.jpg","text":"TemporaryFile(/tmp/multipartBody8451013532020515551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437163616,"filename":"image_29112025_18_23_04_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f97213d8d504d48270512cb7a3f6d46.jpg","text":"TemporaryFile(/tmp/multipartBody2984585492045288026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437163616,"filename":"image_29112025_18_22_34_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930145","file1":"1396930144","file0":"1396930143","file4":"1396930148","file5":"1396930152","file3":"1396930146"},"map_files_photo_id_array":[{"photo_id":"1396930152","filename":"file5"},{"photo_id":"1396930145","filename":"file2"},{"photo_id":"1396930148","filename":"file4"},{"photo_id":"1396930144","filename":"file1"},{"photo_id":"1396930143","filename":"file0"},{"photo_id":"1396930146","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930143":["hashtag1","hashtag2"]},{"1396930152":["hashtag1","hashtag2"]},{"1396930146":["hashtag1","hashtag2"]},{"1396930145":["hashtag1","hashtag2"]},{"1396930148":["hashtag1","hashtag2"]},{"1396930144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930143, 1396930152, 1396930146, 1396930145, 1396930148, 1396930144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17090821266174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:25:42.197892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_20_3705.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_23_2758.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_26_2711.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_28_2610.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_32_3834.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_35_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/10/25/image_31102025_10_25_20_3705.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_23_2758.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_26_2711.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_28_2610.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_32_3834.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_35_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":["1396930161","1396930254","1396930289","1396930181","1396930163","1396930220"],"photo_ids_order":["1396930161","1396930163","1396930181","1396930220","1396930254","1396930289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bbf8ed926b0ee549db76ac8fcb5df664.jpg","text":"TemporaryFile(/tmp/multipartBody8098451165728009691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437203389,"filename":"image_31102025_10_25_20_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/574f4180220c2ba870bad639eb20914c.jpg","text":"TemporaryFile(/tmp/multipartBody7980202928530540074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437203389,"filename":"image_31102025_10_25_32_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30c27b0111776843c1f259e6f697f638.jpg","text":"TemporaryFile(/tmp/multipartBody6780618511666839915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437203389,"filename":"image_31102025_10_25_35_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31ae9e4e2ae955b4f6e4a2be7580127f.jpg","text":"TemporaryFile(/tmp/multipartBody6939538898210528421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437203389,"filename":"image_31102025_10_25_26_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa1f451cfc48fc0c01dbab2134dfc081.jpg","text":"TemporaryFile(/tmp/multipartBody459759832370092831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437203389,"filename":"image_31102025_10_25_23_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41d602d626866c935a9a5e181cc48097.jpg","text":"TemporaryFile(/tmp/multipartBody438685810983821995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437203389,"filename":"image_31102025_10_25_28_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930181","file1":"1396930163","file0":"1396930161","file4":"1396930254","file5":"1396930289","file3":"1396930220"},"map_files_photo_id_array":[{"photo_id":"1396930289","filename":"file5"},{"photo_id":"1396930181","filename":"file2"},{"photo_id":"1396930254","filename":"file4"},{"photo_id":"1396930163","filename":"file1"},{"photo_id":"1396930161","filename":"file0"},{"photo_id":"1396930220","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396930161":["hashtag1","hashtag2"]},{"1396930254":["hashtag1","hashtag2"]},{"1396930289":["hashtag1","hashtag2"]},{"1396930181":["hashtag1","hashtag2"]},{"1396930163":["hashtag1","hashtag2"]},{"1396930220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396930161, 1396930254, 1396930289, 1396930181, 1396930163, 1396930220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.437317848205566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:26:22.413470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/23/image_29112025_18_23_24_9574.jpg', '/home/pi/Desktop/images/29112025/18/23/image_29112025_18_23_34_9641.jpg', '/home/pi/Desktop/images/29112025/18/23/image_29112025_18_23_44_10681.jpg', '/home/pi/Desktop/images/29112025/18/23/image_29112025_18_23_54_9566.jpg', '/home/pi/Desktop/images/29112025/18/23/image_29112025_18_24_03_9686.jpg', '/home/pi/Desktop/images/29112025/18/24/image_29112025_18_24_14_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/23/image_29112025_18_23_24_9574.jpg
/home/pi/Desktop/images/29112025/18/23/image_29112025_18_23_34_9641.jpg
/home/pi/Desktop/images/29112025/18/23/image_29112025_18_23_44_10681.jpg
/home/pi/Desktop/images/29112025/18/23/image_29112025_18_23_54_9566.jpg
/home/pi/Desktop/images/29112025/18/23/image_29112025_18_24_03_9686.jpg
/home/pi/Desktop/images/29112025/18/24/image_29112025_18_24_14_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":["1396930365","1396930410","1396930352","1396930349","1396930403","1396930406"],"photo_ids_order":["1396930349","1396930352","1396930365","1396930403","1396930406","1396930410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04560d6971f336f7b1b5120790123494.jpg","text":"TemporaryFile(/tmp/multipartBody1367188284155549462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437243126,"filename":"image_29112025_18_23_44_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5add5ff04bfeca4a34e905193904bc9d.jpg","text":"TemporaryFile(/tmp/multipartBody314206576276813331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437243126,"filename":"image_29112025_18_24_14_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ef09edb783b6cd72ce0c626671f7dc8.jpg","text":"TemporaryFile(/tmp/multipartBody8567123385130673647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437243126,"filename":"image_29112025_18_23_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/11/29/a0bfd714d1e242235b69838cef07c816.jpg","text":"TemporaryFile(/tmp/multipartBody5231633338125641342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437243126,"filename":"image_29112025_18_23_24_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/918bf01ddb31adb579014e2cc00cf707.jpg","text":"TemporaryFile(/tmp/multipartBody8161891296070252551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437243126,"filename":"image_29112025_18_23_54_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2de1cd945b5c1b25e20cee47209e11af.jpg","text":"TemporaryFile(/tmp/multipartBody5291239282093827659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437243126,"filename":"image_29112025_18_24_03_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930365","file1":"1396930352","file0":"1396930349","file4":"1396930406","file5":"1396930410","file3":"1396930403"},"map_files_photo_id_array":[{"photo_id":"1396930410","filename":"file5"},{"photo_id":"1396930365","filename":"file2"},{"photo_id":"1396930406","filename":"file4"},{"photo_id":"1396930352","filename":"file1"},{"photo_id":"1396930349","filename":"file0"},{"photo_id":"1396930403","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930365":["hashtag1","hashtag2"]},{"1396930410":["hashtag1","hashtag2"]},{"1396930352":["hashtag1","hashtag2"]},{"1396930349":["hashtag1","hashtag2"]},{"1396930403":["hashtag1","hashtag2"]},{"1396930406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930365, 1396930410, 1396930352, 1396930349, 1396930403, 1396930406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58593201637268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:27:03.402519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/24/image_29112025_18_24_24_9758.jpg', '/home/pi/Desktop/images/29112025/18/24/image_29112025_18_24_34_9633.jpg', '/home/pi/Desktop/images/29112025/18/24/image_29112025_18_24_44_10651.jpg', '/home/pi/Desktop/images/29112025/18/24/image_29112025_18_24_54_9648.jpg', '/home/pi/Desktop/images/29112025/18/24/image_29112025_18_25_04_9751.jpg', '/home/pi/Desktop/images/29112025/18/25/image_29112025_18_25_13_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/24/image_29112025_18_24_24_9758.jpg
/home/pi/Desktop/images/29112025/18/24/image_29112025_18_24_34_9633.jpg
/home/pi/Desktop/images/29112025/18/24/image_29112025_18_24_44_10651.jpg
/home/pi/Desktop/images/29112025/18/24/image_29112025_18_24_54_9648.jpg
/home/pi/Desktop/images/29112025/18/24/image_29112025_18_25_04_9751.jpg
/home/pi/Desktop/images/29112025/18/25/image_29112025_18_25_13_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930504","1396930506","1396930509","1396930442","1396930474","1396930441"],"photo_ids_order":["1396930441","1396930442","1396930474","1396930504","1396930506","1396930509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a41ca8c0676506cba6167f6eb9c37d50.jpg","text":"TemporaryFile(/tmp/multipartBody5922493056658441408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437284136,"filename":"image_29112025_18_24_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e51e3849be40320123da4fde0b4c5a45.jpg","text":"TemporaryFile(/tmp/multipartBody8024862840899300722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437284136,"filename":"image_29112025_18_25_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/11/29/06d78d321edc5e7df9a45e71570427db.jpg","text":"TemporaryFile(/tmp/multipartBody728474579683605651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437284136,"filename":"image_29112025_18_25_13_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/562e23c51a5d007484db41082aae06ee.jpg","text":"TemporaryFile(/tmp/multipartBody3429035588238034839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437284136,"filename":"image_29112025_18_24_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/11/29/ab4495c365b3d44c45d4c1790562317a.jpg","text":"TemporaryFile(/tmp/multipartBody2683155819602253799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437284136,"filename":"image_29112025_18_24_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d8942fad30be7d56c53949a6ee5d9bb.jpg","text":"TemporaryFile(/tmp/multipartBody6389349655178383462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437284136,"filename":"image_29112025_18_24_24_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930474","file1":"1396930442","file0":"1396930441","file4":"1396930506","file5":"1396930509","file3":"1396930504"},"map_files_photo_id_array":[{"photo_id":"1396930509","filename":"file5"},{"photo_id":"1396930474","filename":"file2"},{"photo_id":"1396930506","filename":"file4"},{"photo_id":"1396930442","filename":"file1"},{"photo_id":"1396930441","filename":"file0"},{"photo_id":"1396930504","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930504":["hashtag1","hashtag2"]},{"1396930506":["hashtag1","hashtag2"]},{"1396930509":["hashtag1","hashtag2"]},{"1396930442":["hashtag1","hashtag2"]},{"1396930474":["hashtag1","hashtag2"]},{"1396930441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930504, 1396930506, 1396930509, 1396930442, 1396930474, 1396930441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36215019226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:27:42.735708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_37_2697.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_44_3691.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_47_2788.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_49_2646.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_53_3584.jpg', '/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_56_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/10/25/image_31102025_10_25_37_2697.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_44_3691.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_47_2788.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_49_2646.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_53_3584.jpg
/home/pi/Desktop/images/31102025/10/25/image_31102025_10_25_56_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":["1396930521","1396930530","1396930524","1396930526","1396930519","1396930528"],"photo_ids_order":["1396930519","1396930521","1396930524","1396930526","1396930528","1396930530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5f97b291f167df6859ab18fd183a459.jpg","text":"TemporaryFile(/tmp/multipartBody9075994146294726748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437323924,"filename":"image_31102025_10_25_44_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75e8d3b64a200628a3831c370f1d9caf.jpg","text":"TemporaryFile(/tmp/multipartBody4211635191948085295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437323924,"filename":"image_31102025_10_25_56_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/149915ab62b8efa8326176fc04bd47af.jpg","text":"TemporaryFile(/tmp/multipartBody90406885525583823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437323924,"filename":"image_31102025_10_25_47_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2d4720be0cd6c9fe4ded84636e7ec53.jpg","text":"TemporaryFile(/tmp/multipartBody2793507934499719913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437323924,"filename":"image_31102025_10_25_49_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b8ede3941660d32171c3331960d8734.jpg","text":"TemporaryFile(/tmp/multipartBody1231734180701530698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437323924,"filename":"image_31102025_10_25_37_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8461f61db59887dbb97bf4e2386ed7f9.jpg","text":"TemporaryFile(/tmp/multipartBody2472288889539480361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437323924,"filename":"image_31102025_10_25_53_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930524","file1":"1396930521","file0":"1396930519","file4":"1396930528","file5":"1396930530","file3":"1396930526"},"map_files_photo_id_array":[{"photo_id":"1396930530","filename":"file5"},{"photo_id":"1396930524","filename":"file2"},{"photo_id":"1396930528","filename":"file4"},{"photo_id":"1396930521","filename":"file1"},{"photo_id":"1396930519","filename":"file0"},{"photo_id":"1396930526","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396930521":["hashtag1","hashtag2"]},{"1396930530":["hashtag1","hashtag2"]},{"1396930524":["hashtag1","hashtag2"]},{"1396930526":["hashtag1","hashtag2"]},{"1396930519":["hashtag1","hashtag2"]},{"1396930528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396930521, 1396930530, 1396930524, 1396930526, 1396930519, 1396930528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67528295516968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:28:22.012329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/25/image_29112025_18_25_24_10659.jpg', '/home/pi/Desktop/images/29112025/18/25/image_29112025_18_25_34_9768.jpg', '/home/pi/Desktop/images/29112025/18/25/image_29112025_18_25_44_9720.jpg', '/home/pi/Desktop/images/29112025/18/25/image_29112025_18_25_54_10600.jpg', '/home/pi/Desktop/images/29112025/18/25/image_29112025_18_26_04_9756.jpg', '/home/pi/Desktop/images/29112025/18/26/image_29112025_18_26_14_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/25/image_29112025_18_25_24_10659.jpg
/home/pi/Desktop/images/29112025/18/25/image_29112025_18_25_34_9768.jpg
/home/pi/Desktop/images/29112025/18/25/image_29112025_18_25_44_9720.jpg
/home/pi/Desktop/images/29112025/18/25/image_29112025_18_25_54_10600.jpg
/home/pi/Desktop/images/29112025/18/25/image_29112025_18_26_04_9756.jpg
/home/pi/Desktop/images/29112025/18/26/image_29112025_18_26_14_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":["1396930548","1396930536","1396930539","1396930533","1396930543","1396930546"],"photo_ids_order":["1396930533","1396930536","1396930539","1396930543","1396930546","1396930548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a37ea39bfa42feb53a5181450c2ff59c.jpg","text":"TemporaryFile(/tmp/multipartBody2326373312607064860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437362731,"filename":"image_29112025_18_26_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/11/29/b10fddb1364556a90bf5c4e9278cbc4a.jpg","text":"TemporaryFile(/tmp/multipartBody3779573480383759767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437362731,"filename":"image_29112025_18_25_34_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b93a1e942e428d54f8e21e45d9f3b9c9.jpg","text":"TemporaryFile(/tmp/multipartBody7505566369595118723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437362731,"filename":"image_29112025_18_25_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9c1dcb56baa6ffaeae9b4995e097778.jpg","text":"TemporaryFile(/tmp/multipartBody4067796480548231050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437362731,"filename":"image_29112025_18_25_24_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43ee437a01cb2b8c9d90f4fdb2621223.jpg","text":"TemporaryFile(/tmp/multipartBody7996283108450169047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437362731,"filename":"image_29112025_18_25_54_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29ac7eb49ea1b9ac082d9153c8276ba7.jpg","text":"TemporaryFile(/tmp/multipartBody2797077905780123538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437362731,"filename":"image_29112025_18_26_04_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930539","file1":"1396930536","file0":"1396930533","file4":"1396930546","file5":"1396930548","file3":"1396930543"},"map_files_photo_id_array":[{"photo_id":"1396930548","filename":"file5"},{"photo_id":"1396930539","filename":"file2"},{"photo_id":"1396930546","filename":"file4"},{"photo_id":"1396930536","filename":"file1"},{"photo_id":"1396930533","filename":"file0"},{"photo_id":"1396930543","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930548":["hashtag1","hashtag2"]},{"1396930536":["hashtag1","hashtag2"]},{"1396930539":["hashtag1","hashtag2"]},{"1396930533":["hashtag1","hashtag2"]},{"1396930543":["hashtag1","hashtag2"]},{"1396930546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930548, 1396930536, 1396930539, 1396930533, 1396930543, 1396930546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51791286468506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:29:02.965833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/26/image_29112025_18_26_23_9737.jpg', '/home/pi/Desktop/images/29112025/18/26/image_29112025_18_26_34_10689.jpg', '/home/pi/Desktop/images/29112025/18/26/image_29112025_18_26_44_10052.jpg', '/home/pi/Desktop/images/29112025/18/26/image_29112025_18_26_54_9739.jpg', '/home/pi/Desktop/images/29112025/18/26/image_29112025_18_27_04_9655.jpg', '/home/pi/Desktop/images/29112025/18/27/image_29112025_18_27_14_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/26/image_29112025_18_26_23_9737.jpg
/home/pi/Desktop/images/29112025/18/26/image_29112025_18_26_34_10689.jpg
/home/pi/Desktop/images/29112025/18/26/image_29112025_18_26_44_10052.jpg
/home/pi/Desktop/images/29112025/18/26/image_29112025_18_26_54_9739.jpg
/home/pi/Desktop/images/29112025/18/26/image_29112025_18_27_04_9655.jpg
/home/pi/Desktop/images/29112025/18/27/image_29112025_18_27_14_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":["1396930563","1396930557","1396930559","1396930550","1396930553","1396930555"],"photo_ids_order":["1396930550","1396930553","1396930555","1396930557","1396930559","1396930563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51843c46094c9002ad406aed8be22825.jpg","text":"TemporaryFile(/tmp/multipartBody7209479541738154275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437405408,"filename":"image_29112025_18_27_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/11/29/b11e349e015dc6e6b279acb383c851eb.jpg","text":"TemporaryFile(/tmp/multipartBody2959797984687157948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437405408,"filename":"image_29112025_18_26_54_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21567551b3e7b2a75c2dd1e892772a87.jpg","text":"TemporaryFile(/tmp/multipartBody6626501407001475276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437405408,"filename":"image_29112025_18_27_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/11/29/602010306370bfacb383286c40934298.jpg","text":"TemporaryFile(/tmp/multipartBody561535588979619638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437405408,"filename":"image_29112025_18_26_23_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f34d0201c6163fc97e39b070b6cd1370.jpg","text":"TemporaryFile(/tmp/multipartBody2824116323931805780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437405408,"filename":"image_29112025_18_26_34_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8179bd466d196f160a2766f55d196132.jpg","text":"TemporaryFile(/tmp/multipartBody8726956416711012845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437405408,"filename":"image_29112025_18_26_44_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930555","file1":"1396930553","file0":"1396930550","file4":"1396930559","file5":"1396930563","file3":"1396930557"},"map_files_photo_id_array":[{"photo_id":"1396930563","filename":"file5"},{"photo_id":"1396930555","filename":"file2"},{"photo_id":"1396930559","filename":"file4"},{"photo_id":"1396930553","filename":"file1"},{"photo_id":"1396930550","filename":"file0"},{"photo_id":"1396930557","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930563":["hashtag1","hashtag2"]},{"1396930557":["hashtag1","hashtag2"]},{"1396930559":["hashtag1","hashtag2"]},{"1396930550":["hashtag1","hashtag2"]},{"1396930553":["hashtag1","hashtag2"]},{"1396930555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930563, 1396930557, 1396930559, 1396930550, 1396930553, 1396930555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76695895195007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:29:42.137618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_02_3568.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_04_2637.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_11_3721.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_16_2584.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_23_3644.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_25_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/10/26/image_31102025_10_26_02_3568.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_04_2637.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_11_3721.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_16_2584.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_23_3644.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_25_2687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0925304889678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:30:02.710604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/27/image_29112025_18_27_24_9759.jpg', '/home/pi/Desktop/images/29112025/18/27/image_29112025_18_27_34_9739.jpg', '/home/pi/Desktop/images/29112025/18/27/image_29112025_18_27_44_10546.jpg', '/home/pi/Desktop/images/29112025/18/27/image_29112025_18_27_54_9650.jpg', '/home/pi/Desktop/images/29112025/18/27/image_29112025_18_28_04_9698.jpg', '/home/pi/Desktop/images/29112025/18/28/image_29112025_18_28_13_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/27/image_29112025_18_27_24_9759.jpg
/home/pi/Desktop/images/29112025/18/27/image_29112025_18_27_34_9739.jpg
/home/pi/Desktop/images/29112025/18/27/image_29112025_18_27_44_10546.jpg
/home/pi/Desktop/images/29112025/18/27/image_29112025_18_27_54_9650.jpg
/home/pi/Desktop/images/29112025/18/27/image_29112025_18_28_04_9698.jpg
/home/pi/Desktop/images/29112025/18/28/image_29112025_18_28_13_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930587","1396930581","1396930580","1396930582","1396930579","1396930584"],"photo_ids_order":["1396930579","1396930580","1396930581","1396930582","1396930584","1396930587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f799580ded98a42baf1fb82d340f6082.jpg","text":"TemporaryFile(/tmp/multipartBody6331553450666961223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437463415,"filename":"image_29112025_18_28_13_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39d1a621dced7cde413a107a564c418c.jpg","text":"TemporaryFile(/tmp/multipartBody3846666140351054893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437463415,"filename":"image_29112025_18_27_44_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31e50aee41af4823b56d25bc14392098.jpg","text":"TemporaryFile(/tmp/multipartBody357079932204382645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437463415,"filename":"image_29112025_18_27_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/11/29/e4e071e1051539511b95fd22468c0fd6.jpg","text":"TemporaryFile(/tmp/multipartBody8440128284147600841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437463415,"filename":"image_29112025_18_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/11/29/6f9ba50816398cfd89dbe7ceafa49c41.jpg","text":"TemporaryFile(/tmp/multipartBody4349513007619707895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437463415,"filename":"image_29112025_18_27_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/11/29/3b0ab096dc7eefc2b19ea9b601ba0ec3.jpg","text":"TemporaryFile(/tmp/multipartBody4138207532193613813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437463415,"filename":"image_29112025_18_28_04_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930581","file1":"1396930580","file0":"1396930579","file4":"1396930584","file5":"1396930587","file3":"1396930582"},"map_files_photo_id_array":[{"photo_id":"1396930587","filename":"file5"},{"photo_id":"1396930581","filename":"file2"},{"photo_id":"1396930584","filename":"file4"},{"photo_id":"1396930580","filename":"file1"},{"photo_id":"1396930579","filename":"file0"},{"photo_id":"1396930582","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930587":["hashtag1","hashtag2"]},{"1396930581":["hashtag1","hashtag2"]},{"1396930580":["hashtag1","hashtag2"]},{"1396930582":["hashtag1","hashtag2"]},{"1396930579":["hashtag1","hashtag2"]},{"1396930584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930587, 1396930581, 1396930580, 1396930582, 1396930579, 1396930584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71739864349365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:30:42.363722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_02_3568.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_04_2637.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_11_3721.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_16_2584.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_23_3644.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_25_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/10/26/image_31102025_10_26_02_3568.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_04_2637.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_11_3721.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_16_2584.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_23_3644.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_25_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":["1396930611","1396930607","1396930610","1396930597","1396930612","1396930600"],"photo_ids_order":["1396930597","1396930600","1396930607","1396930610","1396930611","1396930612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de8345295778dfa68cbc6ed7ca7a7f9f.jpg","text":"TemporaryFile(/tmp/multipartBody217784010581966658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437503320,"filename":"image_31102025_10_26_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/11/29/7c2516560c3b7397a75f13ff9d703d01.jpg","text":"TemporaryFile(/tmp/multipartBody2452451165072156648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437503320,"filename":"image_31102025_10_26_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/11/29/64ab24aabba9011519398d274a768898.jpg","text":"TemporaryFile(/tmp/multipartBody2099754878745126728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437503320,"filename":"image_31102025_10_26_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/11/29/e7d635b9c192c90763840ed0b66766ab.jpg","text":"TemporaryFile(/tmp/multipartBody8200643157343610658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437503320,"filename":"image_31102025_10_26_02_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25bdf557a82f0211c047116d31f24967.jpg","text":"TemporaryFile(/tmp/multipartBody1263527468191798047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437503320,"filename":"image_31102025_10_26_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/11/29/d2c1c88e7f6931e02f7c69678ce818fc.jpg","text":"TemporaryFile(/tmp/multipartBody4983127396598829694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437503320,"filename":"image_31102025_10_26_04_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930607","file1":"1396930600","file0":"1396930597","file4":"1396930611","file5":"1396930612","file3":"1396930610"},"map_files_photo_id_array":[{"photo_id":"1396930612","filename":"file5"},{"photo_id":"1396930607","filename":"file2"},{"photo_id":"1396930611","filename":"file4"},{"photo_id":"1396930600","filename":"file1"},{"photo_id":"1396930597","filename":"file0"},{"photo_id":"1396930610","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396930611":["hashtag1","hashtag2"]},{"1396930607":["hashtag1","hashtag2"]},{"1396930610":["hashtag1","hashtag2"]},{"1396930597":["hashtag1","hashtag2"]},{"1396930612":["hashtag1","hashtag2"]},{"1396930600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396930611, 1396930607, 1396930610, 1396930597, 1396930612, 1396930600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.915032625198364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:31:22.612457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/28/image_29112025_18_28_24_10796.jpg', '/home/pi/Desktop/images/29112025/18/28/image_29112025_18_28_34_9561.jpg', '/home/pi/Desktop/images/29112025/18/28/image_29112025_18_28_43_9665.jpg', '/home/pi/Desktop/images/29112025/18/28/image_29112025_18_28_54_10681.jpg', '/home/pi/Desktop/images/29112025/18/29/image_29112025_18_29_13_9770.jpg', '/home/pi/Desktop/images/29112025/18/29/image_29112025_18_29_24_10759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/28/image_29112025_18_28_24_10796.jpg
/home/pi/Desktop/images/29112025/18/28/image_29112025_18_28_34_9561.jpg
/home/pi/Desktop/images/29112025/18/28/image_29112025_18_28_43_9665.jpg
/home/pi/Desktop/images/29112025/18/28/image_29112025_18_28_54_10681.jpg
/home/pi/Desktop/images/29112025/18/29/image_29112025_18_29_13_9770.jpg
/home/pi/Desktop/images/29112025/18/29/image_29112025_18_29_24_10759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930680","1396930694","1396930706","1396930709","1396930741","1396930732"],"photo_ids_order":["1396930680","1396930694","1396930706","1396930709","1396930732","1396930741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c86613ef6ad3f720fd2664022ad3d96.jpg","text":"TemporaryFile(/tmp/multipartBody5816367879615801604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437543298,"filename":"image_29112025_18_28_24_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7edaaa50e356462125318cb0439f613f.jpg","text":"TemporaryFile(/tmp/multipartBody1168193697870532069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437543298,"filename":"image_29112025_18_28_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/11/29/01a21a66a465156df37ef57011312e36.jpg","text":"TemporaryFile(/tmp/multipartBody3470230868066166968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437543298,"filename":"image_29112025_18_28_43_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a84c77386c5866019891359bc2eecf8.jpg","text":"TemporaryFile(/tmp/multipartBody5500412081876078333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437543298,"filename":"image_29112025_18_28_54_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df9bb6af8bf11a7ef6108a4fb10294a4.jpg","text":"TemporaryFile(/tmp/multipartBody4095184483597275805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437543298,"filename":"image_29112025_18_29_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/11/29/1c98e9f0786dcce871f2bebd07018e0c.jpg","text":"TemporaryFile(/tmp/multipartBody560934731031768778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437543298,"filename":"image_29112025_18_29_13_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930706","file1":"1396930694","file0":"1396930680","file4":"1396930732","file5":"1396930741","file3":"1396930709"},"map_files_photo_id_array":[{"photo_id":"1396930741","filename":"file5"},{"photo_id":"1396930706","filename":"file2"},{"photo_id":"1396930732","filename":"file4"},{"photo_id":"1396930694","filename":"file1"},{"photo_id":"1396930680","filename":"file0"},{"photo_id":"1396930709","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930680":["hashtag1","hashtag2"]},{"1396930694":["hashtag1","hashtag2"]},{"1396930706":["hashtag1","hashtag2"]},{"1396930709":["hashtag1","hashtag2"]},{"1396930741":["hashtag1","hashtag2"]},{"1396930732":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930680, 1396930694, 1396930706, 1396930709, 1396930741, 1396930732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.143003702163696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:32:02.371611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/29/image_29112025_18_29_34_9637.jpg', '/home/pi/Desktop/images/29112025/18/29/image_29112025_18_29_43_9567.jpg', '/home/pi/Desktop/images/29112025/18/29/image_29112025_18_29_54_10659.jpg', '/home/pi/Desktop/images/29112025/18/31/image_29112025_18_31_14_10037.jpg', '/home/pi/Desktop/images/29112025/18/31/image_29112025_18_31_25_10762.jpg', '/home/pi/Desktop/images/29112025/18/31/image_29112025_18_31_34_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/29/image_29112025_18_29_34_9637.jpg
/home/pi/Desktop/images/29112025/18/29/image_29112025_18_29_43_9567.jpg
/home/pi/Desktop/images/29112025/18/29/image_29112025_18_29_54_10659.jpg
/home/pi/Desktop/images/29112025/18/31/image_29112025_18_31_14_10037.jpg
/home/pi/Desktop/images/29112025/18/31/image_29112025_18_31_25_10762.jpg
/home/pi/Desktop/images/29112025/18/31/image_29112025_18_31_34_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":["1396930752","1396930755","1396930749","1396930742","1396930747","1396930750"],"photo_ids_order":["1396930742","1396930747","1396930749","1396930750","1396930752","1396930755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1f82a781ccaa30d54a04d25a4d92b80.jpg","text":"TemporaryFile(/tmp/multipartBody9045059117420159387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437583118,"filename":"image_29112025_18_31_25_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28d04e6342156297fc8b680fe73cc931.jpg","text":"TemporaryFile(/tmp/multipartBody6598041196447875063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437583118,"filename":"image_29112025_18_31_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/11/29/27dfbfef607f645bd5d19457b8db6fc3.jpg","text":"TemporaryFile(/tmp/multipartBody4529399340571877201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437583118,"filename":"image_29112025_18_29_54_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9c9008e36add841d3b1351c85f39f0b.jpg","text":"TemporaryFile(/tmp/multipartBody6769545793082590438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437583118,"filename":"image_29112025_18_29_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/11/29/4cb03259a5d39f3be837902a97a1e031.jpg","text":"TemporaryFile(/tmp/multipartBody2528411355275488866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437583118,"filename":"image_29112025_18_29_43_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38918e93a490edeb5d41d8c30ca9890d.jpg","text":"TemporaryFile(/tmp/multipartBody5517504017711995937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437583118,"filename":"image_29112025_18_31_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930749","file1":"1396930747","file0":"1396930742","file4":"1396930752","file5":"1396930755","file3":"1396930750"},"map_files_photo_id_array":[{"photo_id":"1396930755","filename":"file5"},{"photo_id":"1396930749","filename":"file2"},{"photo_id":"1396930752","filename":"file4"},{"photo_id":"1396930747","filename":"file1"},{"photo_id":"1396930742","filename":"file0"},{"photo_id":"1396930750","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930752":["hashtag1","hashtag2"]},{"1396930755":["hashtag1","hashtag2"]},{"1396930749":["hashtag1","hashtag2"]},{"1396930742":["hashtag1","hashtag2"]},{"1396930747":["hashtag1","hashtag2"]},{"1396930750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930752, 1396930755, 1396930749, 1396930742, 1396930747, 1396930750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75491142272949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:32:41.897125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_28_3023.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_31_2842.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_34_2756.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_37_2895.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_41_3674.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_43_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/10/26/image_31102025_10_26_28_3023.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_31_2842.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_34_2756.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_37_2895.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_41_3674.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_43_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":["1396930770","1396930767","1396930769","1396930771","1396930765","1396930768"],"photo_ids_order":["1396930765","1396930767","1396930768","1396930769","1396930770","1396930771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/760e7bbeea3014c211ce0070ccc98b89.jpg","text":"TemporaryFile(/tmp/multipartBody8915004813132370732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437623037,"filename":"image_31102025_10_26_41_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa054f1abcafb2e5fd5f6731713ec3b7.jpg","text":"TemporaryFile(/tmp/multipartBody8711543288913456739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437623037,"filename":"image_31102025_10_26_31_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2ab38bec1e47ed69888be3761cdab5a.jpg","text":"TemporaryFile(/tmp/multipartBody312289915943905738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437623037,"filename":"image_31102025_10_26_37_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4b051d5b97791566a206cb6f8a85cd3.jpg","text":"TemporaryFile(/tmp/multipartBody7023124228255130396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437623037,"filename":"image_31102025_10_26_43_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a135c89126a529fc88b1ea971b4f75d2.jpg","text":"TemporaryFile(/tmp/multipartBody1948095854980078597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437623037,"filename":"image_31102025_10_26_28_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/559fe9486f1f7320c14ca00d87189995.jpg","text":"TemporaryFile(/tmp/multipartBody2281478804350979867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437623037,"filename":"image_31102025_10_26_34_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930768","file1":"1396930767","file0":"1396930765","file4":"1396930770","file5":"1396930771","file3":"1396930769"},"map_files_photo_id_array":[{"photo_id":"1396930771","filename":"file5"},{"photo_id":"1396930768","filename":"file2"},{"photo_id":"1396930770","filename":"file4"},{"photo_id":"1396930767","filename":"file1"},{"photo_id":"1396930765","filename":"file0"},{"photo_id":"1396930769","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396930770":["hashtag1","hashtag2"]},{"1396930767":["hashtag1","hashtag2"]},{"1396930769":["hashtag1","hashtag2"]},{"1396930771":["hashtag1","hashtag2"]},{"1396930765":["hashtag1","hashtag2"]},{"1396930768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396930770, 1396930767, 1396930769, 1396930771, 1396930765, 1396930768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90857148170471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:33:22.059440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/31/image_29112025_18_31_44_9523.jpg', '/home/pi/Desktop/images/29112025/18/31/image_29112025_18_31_54_10667.jpg', '/home/pi/Desktop/images/29112025/18/32/image_29112025_18_32_34_9538.jpg', '/home/pi/Desktop/images/29112025/18/32/image_29112025_18_32_44_9761.jpg', '/home/pi/Desktop/images/29112025/18/32/image_29112025_18_32_54_9882.jpg', '/home/pi/Desktop/images/29112025/18/32/image_29112025_18_33_04_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/31/image_29112025_18_31_44_9523.jpg
/home/pi/Desktop/images/29112025/18/31/image_29112025_18_31_54_10667.jpg
/home/pi/Desktop/images/29112025/18/32/image_29112025_18_32_34_9538.jpg
/home/pi/Desktop/images/29112025/18/32/image_29112025_18_32_44_9761.jpg
/home/pi/Desktop/images/29112025/18/32/image_29112025_18_32_54_9882.jpg
/home/pi/Desktop/images/29112025/18/32/image_29112025_18_33_04_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":["1396930773","1396930783","1396930786","1396930789","1396930780","1396930777"],"photo_ids_order":["1396930773","1396930777","1396930780","1396930783","1396930786","1396930789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa1255f9c20ea8fae54d69576c803ac3.jpg","text":"TemporaryFile(/tmp/multipartBody395751911194702143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437662782,"filename":"image_29112025_18_31_44_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9185cbc455381585859cd77169870102.jpg","text":"TemporaryFile(/tmp/multipartBody4238861164087435330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437662782,"filename":"image_29112025_18_32_44_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2994b76e8231c2b5bc5f21a05d23d39c.jpg","text":"TemporaryFile(/tmp/multipartBody7087946357328861357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437662782,"filename":"image_29112025_18_32_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/11/29/871c8078b8a63b22378182de0316402f.jpg","text":"TemporaryFile(/tmp/multipartBody5697128710220346289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437662782,"filename":"image_29112025_18_33_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/11/29/566dbc91aba05446cd69cad43ae6b85c.jpg","text":"TemporaryFile(/tmp/multipartBody4554026760000954549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437662782,"filename":"image_29112025_18_32_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/11/29/cc0e821e5d2aef2297756b6edc8359bc.jpg","text":"TemporaryFile(/tmp/multipartBody983445614836964708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437662782,"filename":"image_29112025_18_31_54_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930780","file1":"1396930777","file0":"1396930773","file4":"1396930786","file5":"1396930789","file3":"1396930783"},"map_files_photo_id_array":[{"photo_id":"1396930789","filename":"file5"},{"photo_id":"1396930780","filename":"file2"},{"photo_id":"1396930786","filename":"file4"},{"photo_id":"1396930777","filename":"file1"},{"photo_id":"1396930773","filename":"file0"},{"photo_id":"1396930783","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930773":["hashtag1","hashtag2"]},{"1396930783":["hashtag1","hashtag2"]},{"1396930786":["hashtag1","hashtag2"]},{"1396930789":["hashtag1","hashtag2"]},{"1396930780":["hashtag1","hashtag2"]},{"1396930777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930773, 1396930783, 1396930786, 1396930789, 1396930780, 1396930777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.250913858413696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:34:03.386597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_14_9732.jpg', '/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_24_9605.jpg', '/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_35_10720.jpg', '/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_44_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_14_9732.jpg
/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_24_9605.jpg
/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_35_10720.jpg
/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_44_9671.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5609481334686279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 18:34:12.747627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_44_2737.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_47_2778.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_49_2654.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_53_3872.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_56_2574.jpg', '/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_59_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_44_2737.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_47_2778.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_49_2654.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_53_3872.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_56_2574.jpg
/home/pi/Desktop/images/25112025/18/59/image_25112025_18_59_59_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930801","1396930799","1396930810","1396930804","1396930813","1396930807"],"photo_ids_order":["1396930799","1396930801","1396930804","1396930807","1396930810","1396930813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04839072d8ba4712caf0acebe81d9678.jpg","text":"TemporaryFile(/tmp/multipartBody4684708523922418777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437714796,"filename":"image_25112025_18_59_47_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0220364b61e2ffe4fdd367d9e3ea091d.jpg","text":"TemporaryFile(/tmp/multipartBody6824839933592323400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437714796,"filename":"image_25112025_18_59_44_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a598125890d22e527eb73df4a4dbd5f.jpg","text":"TemporaryFile(/tmp/multipartBody878302697289027796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437714796,"filename":"image_25112025_18_59_56_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9c892c77c4e4ceec3159707b777e6a0.jpg","text":"TemporaryFile(/tmp/multipartBody2290389970182410362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437714796,"filename":"image_25112025_18_59_49_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6821d8244480aa5ae0aa841f417c0988.jpg","text":"TemporaryFile(/tmp/multipartBody7587052744583787435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437714796,"filename":"image_25112025_18_59_59_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/33395cfc2925ca79d38fbde201237f6a.jpg","text":"TemporaryFile(/tmp/multipartBody6651118970927905834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437714796,"filename":"image_25112025_18_59_53_3872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930804","file1":"1396930801","file0":"1396930799","file4":"1396930810","file5":"1396930813","file3":"1396930807"},"map_files_photo_id_array":[{"photo_id":"1396930813","filename":"file5"},{"photo_id":"1396930804","filename":"file2"},{"photo_id":"1396930810","filename":"file4"},{"photo_id":"1396930801","filename":"file1"},{"photo_id":"1396930799","filename":"file0"},{"photo_id":"1396930807","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396930801":["hashtag1","hashtag2"]},{"1396930799":["hashtag1","hashtag2"]},{"1396930810":["hashtag1","hashtag2"]},{"1396930804":["hashtag1","hashtag2"]},{"1396930813":["hashtag1","hashtag2"]},{"1396930807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396930801, 1396930799, 1396930810, 1396930804, 1396930813, 1396930807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58182501792908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:35:02.715458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_14_9732.jpg', '/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_24_9605.jpg', '/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_35_10720.jpg', '/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_44_9671.jpg', '/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_54_9629.jpg', '/home/pi/Desktop/images/29112025/18/33/image_29112025_18_34_04_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_14_9732.jpg
/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_24_9605.jpg
/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_35_10720.jpg
/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_44_9671.jpg
/home/pi/Desktop/images/29112025/18/33/image_29112025_18_33_54_9629.jpg
/home/pi/Desktop/images/29112025/18/33/image_29112025_18_34_04_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930818","1396930826","1396930820","1396930817","1396930822","1396930819"],"photo_ids_order":["1396930817","1396930818","1396930819","1396930820","1396930822","1396930826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6a55e47c30417d46f2ea907d65e3669.jpg","text":"TemporaryFile(/tmp/multipartBody8672679527575278560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437763506,"filename":"image_29112025_18_33_24_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f7c223176c951307eb77c4089d4b770.jpg","text":"TemporaryFile(/tmp/multipartBody7537899265288695127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437763506,"filename":"image_29112025_18_34_04_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db68443e8c3d7e64cf0b774b13bfe973.jpg","text":"TemporaryFile(/tmp/multipartBody2009900096570223638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437763506,"filename":"image_29112025_18_33_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/11/29/657a650313cbebe15503b042c81bfe17.jpg","text":"TemporaryFile(/tmp/multipartBody6854363892914021578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437763506,"filename":"image_29112025_18_33_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3eec6ff37263e6021429815723086128.jpg","text":"TemporaryFile(/tmp/multipartBody9084847760978307067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437763506,"filename":"image_29112025_18_33_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/11/29/10fe249f86573d3f3e6f616ebeb92319.jpg","text":"TemporaryFile(/tmp/multipartBody1569534632515698888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437763506,"filename":"image_29112025_18_33_35_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930819","file1":"1396930818","file0":"1396930817","file4":"1396930822","file5":"1396930826","file3":"1396930820"},"map_files_photo_id_array":[{"photo_id":"1396930826","filename":"file5"},{"photo_id":"1396930819","filename":"file2"},{"photo_id":"1396930822","filename":"file4"},{"photo_id":"1396930818","filename":"file1"},{"photo_id":"1396930817","filename":"file0"},{"photo_id":"1396930820","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930818":["hashtag1","hashtag2"]},{"1396930826":["hashtag1","hashtag2"]},{"1396930820":["hashtag1","hashtag2"]},{"1396930817":["hashtag1","hashtag2"]},{"1396930822":["hashtag1","hashtag2"]},{"1396930819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930818, 1396930826, 1396930820, 1396930817, 1396930822, 1396930819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76996064186096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:35:41.856130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_46_2938.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_49_2706.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_53_3681.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_55_2655.jpg', '/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_58_2634.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_02_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_46_2938.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_49_2706.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_53_3681.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_55_2655.jpg
/home/pi/Desktop/images/31102025/10/26/image_31102025_10_26_58_2634.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_02_3705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930839","1396930836","1396930838","1396930840","1396930834","1396930837"],"photo_ids_order":["1396930834","1396930836","1396930837","1396930838","1396930839","1396930840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1f934dba4219c2310b874051261bd0a.jpg","text":"TemporaryFile(/tmp/multipartBody7243127094426097505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437803001,"filename":"image_31102025_10_26_58_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8bcabef9a311ef7d5e7ac6a618cb38ba.jpg","text":"TemporaryFile(/tmp/multipartBody5533576378805911798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437803001,"filename":"image_31102025_10_26_49_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd6e22d173c3539106c5a1d90fd6549d.jpg","text":"TemporaryFile(/tmp/multipartBody2554609899216277899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437803001,"filename":"image_31102025_10_26_55_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11e3cc9a6a690025b00342cfc2572c63.jpg","text":"TemporaryFile(/tmp/multipartBody5815076023279226162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437803001,"filename":"image_31102025_10_27_02_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/924add759ca9347acead193ba83de716.jpg","text":"TemporaryFile(/tmp/multipartBody4118083707536928601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437803001,"filename":"image_31102025_10_26_46_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7ddf9bfa5db87be7fcacc9a8272c7ae.jpg","text":"TemporaryFile(/tmp/multipartBody2413929877872708004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437803001,"filename":"image_31102025_10_26_53_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930837","file1":"1396930836","file0":"1396930834","file4":"1396930839","file5":"1396930840","file3":"1396930838"},"map_files_photo_id_array":[{"photo_id":"1396930840","filename":"file5"},{"photo_id":"1396930837","filename":"file2"},{"photo_id":"1396930839","filename":"file4"},{"photo_id":"1396930836","filename":"file1"},{"photo_id":"1396930834","filename":"file0"},{"photo_id":"1396930838","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396930839":["hashtag1","hashtag2"]},{"1396930836":["hashtag1","hashtag2"]},{"1396930838":["hashtag1","hashtag2"]},{"1396930840":["hashtag1","hashtag2"]},{"1396930834":["hashtag1","hashtag2"]},{"1396930837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396930839, 1396930836, 1396930838, 1396930840, 1396930834, 1396930837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.595033168792725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:36:22.100512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/34/image_29112025_18_34_14_9695.jpg', '/home/pi/Desktop/images/29112025/18/34/image_29112025_18_34_24_9893.jpg', '/home/pi/Desktop/images/29112025/18/34/image_29112025_18_34_35_10592.jpg', '/home/pi/Desktop/images/29112025/18/34/image_29112025_18_34_44_9620.jpg', '/home/pi/Desktop/images/29112025/18/34/image_29112025_18_34_54_9645.jpg', '/home/pi/Desktop/images/29112025/18/34/image_29112025_18_35_05_10873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/34/image_29112025_18_34_14_9695.jpg
/home/pi/Desktop/images/29112025/18/34/image_29112025_18_34_24_9893.jpg
/home/pi/Desktop/images/29112025/18/34/image_29112025_18_34_35_10592.jpg
/home/pi/Desktop/images/29112025/18/34/image_29112025_18_34_44_9620.jpg
/home/pi/Desktop/images/29112025/18/34/image_29112025_18_34_54_9645.jpg
/home/pi/Desktop/images/29112025/18/34/image_29112025_18_35_05_10873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930856","1396930859","1396930853","1396930846","1396930849","1396930843"],"photo_ids_order":["1396930843","1396930846","1396930849","1396930853","1396930856","1396930859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8827b82b083418ba06384389fc6b43bc.jpg","text":"TemporaryFile(/tmp/multipartBody929943323710045335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437842813,"filename":"image_29112025_18_34_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/920522b84e5bdbeccf0784f0f076dda0.jpg","text":"TemporaryFile(/tmp/multipartBody640727810741575424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437842813,"filename":"image_29112025_18_35_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/11/29/e44c6f0dc4005b55c87422ecae2bb326.jpg","text":"TemporaryFile(/tmp/multipartBody4554778498725851972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437842813,"filename":"image_29112025_18_34_44_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec0ea2355d0555c5b1e4a18d292ea6b2.jpg","text":"TemporaryFile(/tmp/multipartBody8148390341742616129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437842813,"filename":"image_29112025_18_34_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/11/29/fc1e002f1d1272c9d0b9fe60928f847b.jpg","text":"TemporaryFile(/tmp/multipartBody4827277872840540269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437842813,"filename":"image_29112025_18_34_35_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd4682263e24ac4657a90b773351dfe8.jpg","text":"TemporaryFile(/tmp/multipartBody6583449840178254170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437842813,"filename":"image_29112025_18_34_14_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930849","file1":"1396930846","file0":"1396930843","file4":"1396930856","file5":"1396930859","file3":"1396930853"},"map_files_photo_id_array":[{"photo_id":"1396930859","filename":"file5"},{"photo_id":"1396930849","filename":"file2"},{"photo_id":"1396930856","filename":"file4"},{"photo_id":"1396930846","filename":"file1"},{"photo_id":"1396930843","filename":"file0"},{"photo_id":"1396930853","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930856":["hashtag1","hashtag2"]},{"1396930859":["hashtag1","hashtag2"]},{"1396930853":["hashtag1","hashtag2"]},{"1396930846":["hashtag1","hashtag2"]},{"1396930849":["hashtag1","hashtag2"]},{"1396930843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930856, 1396930859, 1396930853, 1396930846, 1396930849, 1396930843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01503539085388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:37:02.716405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/35/image_29112025_18_35_14_9579.jpg', '/home/pi/Desktop/images/29112025/18/35/image_29112025_18_35_24_9743.jpg', '/home/pi/Desktop/images/29112025/18/35/image_29112025_18_35_35_10568.jpg', '/home/pi/Desktop/images/29112025/18/35/image_29112025_18_35_44_9568.jpg', '/home/pi/Desktop/images/29112025/18/35/image_29112025_18_35_54_9977.jpg', '/home/pi/Desktop/images/29112025/18/35/image_29112025_18_36_04_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/35/image_29112025_18_35_14_9579.jpg
/home/pi/Desktop/images/29112025/18/35/image_29112025_18_35_24_9743.jpg
/home/pi/Desktop/images/29112025/18/35/image_29112025_18_35_35_10568.jpg
/home/pi/Desktop/images/29112025/18/35/image_29112025_18_35_44_9568.jpg
/home/pi/Desktop/images/29112025/18/35/image_29112025_18_35_54_9977.jpg
/home/pi/Desktop/images/29112025/18/35/image_29112025_18_36_04_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":["1396930866","1396930868","1396930871","1396930865","1396930864","1396930861"],"photo_ids_order":["1396930861","1396930864","1396930865","1396930866","1396930868","1396930871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fffa6135391eff15de57ad8e438f551f.jpg","text":"TemporaryFile(/tmp/multipartBody2704270671738647495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437883515,"filename":"image_29112025_18_35_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/11/29/bdf8e5e6629b09959b7d61f34ba95bbb.jpg","text":"TemporaryFile(/tmp/multipartBody3363157225266562277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437883515,"filename":"image_29112025_18_35_54_9977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08dee059e1ebdf658a5632d93eb2ae1b.jpg","text":"TemporaryFile(/tmp/multipartBody1272933685134386966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437883515,"filename":"image_29112025_18_36_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/11/29/ddd11f485be8fd3427ce4b3c2a84743b.jpg","text":"TemporaryFile(/tmp/multipartBody2618669117345014671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437883515,"filename":"image_29112025_18_35_35_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb39f96a447ef5c600d083c103bdc663.jpg","text":"TemporaryFile(/tmp/multipartBody8861415790303855639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437883515,"filename":"image_29112025_18_35_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/11/29/0826a33307d18c02813bc4f165c14041.jpg","text":"TemporaryFile(/tmp/multipartBody8839351696236847821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437883515,"filename":"image_29112025_18_35_14_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930865","file1":"1396930864","file0":"1396930861","file4":"1396930868","file5":"1396930871","file3":"1396930866"},"map_files_photo_id_array":[{"photo_id":"1396930871","filename":"file5"},{"photo_id":"1396930865","filename":"file2"},{"photo_id":"1396930868","filename":"file4"},{"photo_id":"1396930864","filename":"file1"},{"photo_id":"1396930861","filename":"file0"},{"photo_id":"1396930866","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930866":["hashtag1","hashtag2"]},{"1396930868":["hashtag1","hashtag2"]},{"1396930871":["hashtag1","hashtag2"]},{"1396930865":["hashtag1","hashtag2"]},{"1396930864":["hashtag1","hashtag2"]},{"1396930861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930866, 1396930868, 1396930871, 1396930865, 1396930864, 1396930861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70970106124878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:37:42.216683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_05_2903.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_07_2657.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_11_4085.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_13_1653.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_19_2686.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_26_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/10/27/image_31102025_10_27_05_2903.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_07_2657.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_11_4085.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_13_1653.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_19_2686.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_26_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":["1396930884","1396930880","1396930883","1396930882","1396930885","1396930881"],"photo_ids_order":["1396930880","1396930881","1396930882","1396930883","1396930884","1396930885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9a78c79704bdc15a8c41803f38fd902.jpg","text":"TemporaryFile(/tmp/multipartBody7976400597112335965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437923409,"filename":"image_31102025_10_27_19_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a11dea7f1bac18a62848e3ccdb39bcb6.jpg","text":"TemporaryFile(/tmp/multipartBody7404122479295670499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437923409,"filename":"image_31102025_10_27_05_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/866ff864b38193af7e5ed9917293b063.jpg","text":"TemporaryFile(/tmp/multipartBody7135262285392978607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437923409,"filename":"image_31102025_10_27_13_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84dfbd6aca18226e982763753c8e97f1.jpg","text":"TemporaryFile(/tmp/multipartBody6269189791848799948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437923409,"filename":"image_31102025_10_27_11_4085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa08146c7f472c7b462d73621b9c100a.jpg","text":"TemporaryFile(/tmp/multipartBody5069315213494773989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437923409,"filename":"image_31102025_10_27_26_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63d297aac0642681de6e0120103b2b07.jpg","text":"TemporaryFile(/tmp/multipartBody7177045995600004905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437923409,"filename":"image_31102025_10_27_07_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930882","file1":"1396930881","file0":"1396930880","file4":"1396930884","file5":"1396930885","file3":"1396930883"},"map_files_photo_id_array":[{"photo_id":"1396930885","filename":"file5"},{"photo_id":"1396930882","filename":"file2"},{"photo_id":"1396930884","filename":"file4"},{"photo_id":"1396930881","filename":"file1"},{"photo_id":"1396930880","filename":"file0"},{"photo_id":"1396930883","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396930884":["hashtag1","hashtag2"]},{"1396930880":["hashtag1","hashtag2"]},{"1396930883":["hashtag1","hashtag2"]},{"1396930882":["hashtag1","hashtag2"]},{"1396930885":["hashtag1","hashtag2"]},{"1396930881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396930884, 1396930880, 1396930883, 1396930882, 1396930885, 1396930881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5950083732605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:38:22.401520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/36/image_29112025_18_36_15_10650.jpg', '/home/pi/Desktop/images/29112025/18/36/image_29112025_18_36_24_9527.jpg', '/home/pi/Desktop/images/29112025/18/36/image_29112025_18_36_35_10597.jpg', '/home/pi/Desktop/images/29112025/18/36/image_29112025_18_36_44_9677.jpg', '/home/pi/Desktop/images/29112025/18/36/image_29112025_18_36_54_9702.jpg', '/home/pi/Desktop/images/29112025/18/36/image_29112025_18_37_05_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/36/image_29112025_18_36_15_10650.jpg
/home/pi/Desktop/images/29112025/18/36/image_29112025_18_36_24_9527.jpg
/home/pi/Desktop/images/29112025/18/36/image_29112025_18_36_35_10597.jpg
/home/pi/Desktop/images/29112025/18/36/image_29112025_18_36_44_9677.jpg
/home/pi/Desktop/images/29112025/18/36/image_29112025_18_36_54_9702.jpg
/home/pi/Desktop/images/29112025/18/36/image_29112025_18_37_05_10591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930898","1396930902","1396930891","1396930894","1396930888","1396930900"],"photo_ids_order":["1396930888","1396930891","1396930894","1396930898","1396930900","1396930902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bad5de5dfa3838508441c9ae1e9b7154.jpg","text":"TemporaryFile(/tmp/multipartBody4545962811628307874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437963088,"filename":"image_29112025_18_36_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/11/29/7e6c8aa88d1d223c34f56f8c3b092e48.jpg","text":"TemporaryFile(/tmp/multipartBody352087488105975526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437963088,"filename":"image_29112025_18_37_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/11/29/3e9a023507acb982f2d8a789acfac57b.jpg","text":"TemporaryFile(/tmp/multipartBody6221210992251028012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437963088,"filename":"image_29112025_18_36_24_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/370820cab7be3fcce263fe32b1c0b3d6.jpg","text":"TemporaryFile(/tmp/multipartBody7716282973836135471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437963088,"filename":"image_29112025_18_36_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3526c2f9ca7abce98861b4eb18c82bf.jpg","text":"TemporaryFile(/tmp/multipartBody3017632433063493484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437963088,"filename":"image_29112025_18_36_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/11/29/9f3c155aef084c68196255dbece69c66.jpg","text":"TemporaryFile(/tmp/multipartBody4117137803438785171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764437963088,"filename":"image_29112025_18_36_54_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930894","file1":"1396930891","file0":"1396930888","file4":"1396930900","file5":"1396930902","file3":"1396930898"},"map_files_photo_id_array":[{"photo_id":"1396930902","filename":"file5"},{"photo_id":"1396930894","filename":"file2"},{"photo_id":"1396930900","filename":"file4"},{"photo_id":"1396930891","filename":"file1"},{"photo_id":"1396930888","filename":"file0"},{"photo_id":"1396930898","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930898":["hashtag1","hashtag2"]},{"1396930902":["hashtag1","hashtag2"]},{"1396930891":["hashtag1","hashtag2"]},{"1396930894":["hashtag1","hashtag2"]},{"1396930888":["hashtag1","hashtag2"]},{"1396930900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930898, 1396930902, 1396930891, 1396930894, 1396930888, 1396930900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81220102310181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:39:03.553442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/37/image_29112025_18_37_14_9724.jpg', '/home/pi/Desktop/images/29112025/18/37/image_29112025_18_37_24_9648.jpg', '/home/pi/Desktop/images/29112025/18/37/image_29112025_18_37_35_10670.jpg', '/home/pi/Desktop/images/29112025/18/37/image_29112025_18_37_44_9638.jpg', '/home/pi/Desktop/images/29112025/18/37/image_29112025_18_37_54_9889.jpg', '/home/pi/Desktop/images/29112025/18/37/image_29112025_18_38_04_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/37/image_29112025_18_37_14_9724.jpg
/home/pi/Desktop/images/29112025/18/37/image_29112025_18_37_24_9648.jpg
/home/pi/Desktop/images/29112025/18/37/image_29112025_18_37_35_10670.jpg
/home/pi/Desktop/images/29112025/18/37/image_29112025_18_37_44_9638.jpg
/home/pi/Desktop/images/29112025/18/37/image_29112025_18_37_54_9889.jpg
/home/pi/Desktop/images/29112025/18/37/image_29112025_18_38_04_9621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930905","1396930904","1396930913","1396930907","1396930921","1396930906"],"photo_ids_order":["1396930904","1396930905","1396930906","1396930907","1396930913","1396930921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/31ff7b079f2412eb078d63419a353f27.jpg","text":"TemporaryFile(/tmp/multipartBody7754502387942678078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438004565,"filename":"image_29112025_18_37_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/11/29/f4ad6be3500e9b15fb9eef53a4e60b5d.jpg","text":"TemporaryFile(/tmp/multipartBody5682433134036697319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438004565,"filename":"image_29112025_18_37_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/11/29/bd0b4cbeeeb729e5e5d7cc7effd79b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6692971062776086894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438004565,"filename":"image_29112025_18_37_54_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72bc483b767a80ea43f6a16dd30969ba.jpg","text":"TemporaryFile(/tmp/multipartBody8718126115173237380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438004565,"filename":"image_29112025_18_37_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6c7bd7a381af4fa77a03338071229f2.jpg","text":"TemporaryFile(/tmp/multipartBody6853388453174749569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438004565,"filename":"image_29112025_18_38_04_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68b4435fbd76c84cd4260b2543091646.jpg","text":"TemporaryFile(/tmp/multipartBody5632678467086962831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438004565,"filename":"image_29112025_18_37_35_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930906","file1":"1396930905","file0":"1396930904","file4":"1396930913","file5":"1396930921","file3":"1396930907"},"map_files_photo_id_array":[{"photo_id":"1396930921","filename":"file5"},{"photo_id":"1396930906","filename":"file2"},{"photo_id":"1396930913","filename":"file4"},{"photo_id":"1396930905","filename":"file1"},{"photo_id":"1396930904","filename":"file0"},{"photo_id":"1396930907","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930905":["hashtag1","hashtag2"]},{"1396930904":["hashtag1","hashtag2"]},{"1396930913":["hashtag1","hashtag2"]},{"1396930907":["hashtag1","hashtag2"]},{"1396930921":["hashtag1","hashtag2"]},{"1396930906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930905, 1396930904, 1396930913, 1396930907, 1396930921, 1396930906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40764093399048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:39:42.510237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_28_2629.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_31_2604.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_40_2652.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_44_3585.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_46_2816.jpg', '/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_53_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_28_2629.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_31_2604.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_40_2652.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_44_3585.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_46_2816.jpg
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_53_3748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930944","1396930947","1396930943","1396930946","1396930945","1396930948"],"photo_ids_order":["1396930943","1396930944","1396930945","1396930946","1396930947","1396930948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f43b5f7a0f48dd021f2000929f2ca847.jpg","text":"TemporaryFile(/tmp/multipartBody451236797637538305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438043644,"filename":"image_31102025_10_27_31_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bedaa51d9b9674187ca3aad0d6fda4e.jpg","text":"TemporaryFile(/tmp/multipartBody723236064397447217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438043644,"filename":"image_31102025_10_27_46_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/344d7cf2c12a6a06d7772bed9a05d783.jpg","text":"TemporaryFile(/tmp/multipartBody3702225933226106079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438043644,"filename":"image_31102025_10_27_28_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52af4ed99a8b92820dadf23c7694b5cf.jpg","text":"TemporaryFile(/tmp/multipartBody2566561293630796754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438043644,"filename":"image_31102025_10_27_44_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4bdf64d39de89cae8a7c30bf54b3988f.jpg","text":"TemporaryFile(/tmp/multipartBody6367075463883346971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438043644,"filename":"image_31102025_10_27_40_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4b3cf67434ee44d3a1d0ed34748428c.jpg","text":"TemporaryFile(/tmp/multipartBody7362369047250898357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438043644,"filename":"image_31102025_10_27_53_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930945","file1":"1396930944","file0":"1396930943","file4":"1396930947","file5":"1396930948","file3":"1396930946"},"map_files_photo_id_array":[{"photo_id":"1396930948","filename":"file5"},{"photo_id":"1396930945","filename":"file2"},{"photo_id":"1396930947","filename":"file4"},{"photo_id":"1396930944","filename":"file1"},{"photo_id":"1396930943","filename":"file0"},{"photo_id":"1396930946","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396930944":["hashtag1","hashtag2"]},{"1396930947":["hashtag1","hashtag2"]},{"1396930943":["hashtag1","hashtag2"]},{"1396930946":["hashtag1","hashtag2"]},{"1396930945":["hashtag1","hashtag2"]},{"1396930948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396930944, 1396930947, 1396930943, 1396930946, 1396930945, 1396930948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.301475286483765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:40:22.754132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/38/image_29112025_18_38_14_10605.jpg', '/home/pi/Desktop/images/29112025/18/38/image_29112025_18_38_24_9707.jpg', '/home/pi/Desktop/images/29112025/18/38/image_29112025_18_38_35_10584.jpg', '/home/pi/Desktop/images/29112025/18/38/image_29112025_18_38_44_9736.jpg', '/home/pi/Desktop/images/29112025/18/38/image_29112025_18_38_54_9645.jpg', '/home/pi/Desktop/images/29112025/18/38/image_29112025_18_39_05_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/38/image_29112025_18_38_14_10605.jpg
/home/pi/Desktop/images/29112025/18/38/image_29112025_18_38_24_9707.jpg
/home/pi/Desktop/images/29112025/18/38/image_29112025_18_38_35_10584.jpg
/home/pi/Desktop/images/29112025/18/38/image_29112025_18_38_44_9736.jpg
/home/pi/Desktop/images/29112025/18/38/image_29112025_18_38_54_9645.jpg
/home/pi/Desktop/images/29112025/18/38/image_29112025_18_39_05_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930965","1396930961","1396930955","1396930958","1396930952","1396930963"],"photo_ids_order":["1396930952","1396930955","1396930958","1396930961","1396930963","1396930965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad61f0faf7d157bf190119fce0ac8f70.jpg","text":"TemporaryFile(/tmp/multipartBody1222358019998821581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438083445,"filename":"image_29112025_18_39_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/973974507359015158beaba5cb89fe7d.jpg","text":"TemporaryFile(/tmp/multipartBody8563301058602549213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438083445,"filename":"image_29112025_18_38_44_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20ad5f66b8c865a87e4b17389f56d56c.jpg","text":"TemporaryFile(/tmp/multipartBody7886095663543074127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438083445,"filename":"image_29112025_18_38_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/843d63130b0200199061832d1eeaf428.jpg","text":"TemporaryFile(/tmp/multipartBody4049312099952821124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438083445,"filename":"image_29112025_18_38_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/11/29/22a13b181ef1655fb6f588b9546608c1.jpg","text":"TemporaryFile(/tmp/multipartBody644733132925363950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438083445,"filename":"image_29112025_18_38_14_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1316c0264028ae71cdf1e2c57f8d702.jpg","text":"TemporaryFile(/tmp/multipartBody6007658276127472754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438083445,"filename":"image_29112025_18_38_54_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930958","file1":"1396930955","file0":"1396930952","file4":"1396930963","file5":"1396930965","file3":"1396930961"},"map_files_photo_id_array":[{"photo_id":"1396930965","filename":"file5"},{"photo_id":"1396930958","filename":"file2"},{"photo_id":"1396930963","filename":"file4"},{"photo_id":"1396930955","filename":"file1"},{"photo_id":"1396930952","filename":"file0"},{"photo_id":"1396930961","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930965":["hashtag1","hashtag2"]},{"1396930961":["hashtag1","hashtag2"]},{"1396930955":["hashtag1","hashtag2"]},{"1396930958":["hashtag1","hashtag2"]},{"1396930952":["hashtag1","hashtag2"]},{"1396930963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930965, 1396930961, 1396930955, 1396930958, 1396930952, 1396930963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58785104751587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:41:02.622724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/39/image_29112025_18_39_15_9858.jpg', '/home/pi/Desktop/images/29112025/18/39/image_29112025_18_39_24_9740.jpg', '/home/pi/Desktop/images/29112025/18/39/image_29112025_18_39_34_9693.jpg', '/home/pi/Desktop/images/29112025/18/39/image_29112025_18_39_44_9789.jpg', '/home/pi/Desktop/images/29112025/18/39/image_29112025_18_39_55_10678.jpg', '/home/pi/Desktop/images/29112025/18/39/image_29112025_18_40_04_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/39/image_29112025_18_39_15_9858.jpg
/home/pi/Desktop/images/29112025/18/39/image_29112025_18_39_24_9740.jpg
/home/pi/Desktop/images/29112025/18/39/image_29112025_18_39_34_9693.jpg
/home/pi/Desktop/images/29112025/18/39/image_29112025_18_39_44_9789.jpg
/home/pi/Desktop/images/29112025/18/39/image_29112025_18_39_55_10678.jpg
/home/pi/Desktop/images/29112025/18/39/image_29112025_18_40_04_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396930971","1396930968","1396930967","1396930987","1396930966","1396930969"],"photo_ids_order":["1396930966","1396930967","1396930968","1396930969","1396930971","1396930987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a95b982fe921b6f6647939824979a4e5.jpg","text":"TemporaryFile(/tmp/multipartBody5569242272532752089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438123394,"filename":"image_29112025_18_39_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/11/29/f23407329bb1fba8b8cf5fd147583562.jpg","text":"TemporaryFile(/tmp/multipartBody5700354976668000373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438123394,"filename":"image_29112025_18_39_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62acf576c91e4c13249b92e363ff5789.jpg","text":"TemporaryFile(/tmp/multipartBody1815357410313686592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438123394,"filename":"image_29112025_18_39_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/11/29/868ed610a1b0806a634a4d94fb9db927.jpg","text":"TemporaryFile(/tmp/multipartBody738773876534358967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438123394,"filename":"image_29112025_18_40_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/11/29/b23e79639d00ac99d30ca5f4a09de4a1.jpg","text":"TemporaryFile(/tmp/multipartBody1285515081735646144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438123394,"filename":"image_29112025_18_39_15_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/193b5caa5fc9a899a592959a79511aec.jpg","text":"TemporaryFile(/tmp/multipartBody1919557646505162081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438123394,"filename":"image_29112025_18_39_44_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396930968","file1":"1396930967","file0":"1396930966","file4":"1396930971","file5":"1396930987","file3":"1396930969"},"map_files_photo_id_array":[{"photo_id":"1396930987","filename":"file5"},{"photo_id":"1396930968","filename":"file2"},{"photo_id":"1396930971","filename":"file4"},{"photo_id":"1396930967","filename":"file1"},{"photo_id":"1396930966","filename":"file0"},{"photo_id":"1396930969","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396930971":["hashtag1","hashtag2"]},{"1396930968":["hashtag1","hashtag2"]},{"1396930967":["hashtag1","hashtag2"]},{"1396930987":["hashtag1","hashtag2"]},{"1396930966":["hashtag1","hashtag2"]},{"1396930969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396930971, 1396930968, 1396930967, 1396930987, 1396930966, 1396930969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.904905557632446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:41:42.002131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_55_2717.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_02_3585.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_04_2769.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_10_2655.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_19_2695.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_22_2885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/27/image_31102025_10_27_55_2717.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_02_3585.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_04_2769.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_10_2655.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_19_2695.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_22_2885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931010","1396931013","1396931016","1396931012","1396931015","1396931014"],"photo_ids_order":["1396931010","1396931012","1396931013","1396931014","1396931015","1396931016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0bf662386991ad2afba57487386b581.jpg","text":"TemporaryFile(/tmp/multipartBody5806753698706508508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438163180,"filename":"image_31102025_10_27_55_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26a894d54c274f91c4c1045ef3191fc6.jpg","text":"TemporaryFile(/tmp/multipartBody2419586482017495474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438163180,"filename":"image_31102025_10_28_04_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2410abb6aa7f041ce5f168048823e4a.jpg","text":"TemporaryFile(/tmp/multipartBody3175803201866900210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438163180,"filename":"image_31102025_10_28_22_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d4d91664ff87eca1134b818980570fb.jpg","text":"TemporaryFile(/tmp/multipartBody5414385374081957440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438163180,"filename":"image_31102025_10_28_02_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83c041d55887ff9b491ca23b1017c53e.jpg","text":"TemporaryFile(/tmp/multipartBody8351245557108587358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438163180,"filename":"image_31102025_10_28_19_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1206da124ba7a743693bd14a3c02eccc.jpg","text":"TemporaryFile(/tmp/multipartBody868874429559689338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438163180,"filename":"image_31102025_10_28_10_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931013","file1":"1396931012","file0":"1396931010","file4":"1396931015","file5":"1396931016","file3":"1396931014"},"map_files_photo_id_array":[{"photo_id":"1396931016","filename":"file5"},{"photo_id":"1396931013","filename":"file2"},{"photo_id":"1396931015","filename":"file4"},{"photo_id":"1396931012","filename":"file1"},{"photo_id":"1396931010","filename":"file0"},{"photo_id":"1396931014","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396931010":["hashtag1","hashtag2"]},{"1396931013":["hashtag1","hashtag2"]},{"1396931016":["hashtag1","hashtag2"]},{"1396931012":["hashtag1","hashtag2"]},{"1396931015":["hashtag1","hashtag2"]},{"1396931014":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396931010, 1396931013, 1396931016, 1396931012, 1396931015, 1396931014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81433582305908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:42:22.205120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/40/image_29112025_18_40_14_9740.jpg', '/home/pi/Desktop/images/29112025/18/40/image_29112025_18_40_25_10686.jpg', '/home/pi/Desktop/images/29112025/18/40/image_29112025_18_40_34_9605.jpg', '/home/pi/Desktop/images/29112025/18/40/image_29112025_18_40_45_10617.jpg', '/home/pi/Desktop/images/29112025/18/40/image_29112025_18_40_55_9756.jpg', '/home/pi/Desktop/images/29112025/18/40/image_29112025_18_41_04_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/40/image_29112025_18_40_14_9740.jpg
/home/pi/Desktop/images/29112025/18/40/image_29112025_18_40_25_10686.jpg
/home/pi/Desktop/images/29112025/18/40/image_29112025_18_40_34_9605.jpg
/home/pi/Desktop/images/29112025/18/40/image_29112025_18_40_45_10617.jpg
/home/pi/Desktop/images/29112025/18/40/image_29112025_18_40_55_9756.jpg
/home/pi/Desktop/images/29112025/18/40/image_29112025_18_41_04_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":["1396931025","1396931021","1396931018","1396931033","1396931027","1396931029"],"photo_ids_order":["1396931018","1396931021","1396931025","1396931027","1396931029","1396931033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b5810aac4326e74e31fe5f4499a1ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8692060448580161586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438202917,"filename":"image_29112025_18_40_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d3624c4329989fdfe3c87c06aa0f789.jpg","text":"TemporaryFile(/tmp/multipartBody5794438847860412383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438202917,"filename":"image_29112025_18_40_25_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0e043c14124958bf4792f7007ddf3d1.jpg","text":"TemporaryFile(/tmp/multipartBody6933795220644987000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438202917,"filename":"image_29112025_18_40_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/11/29/9f4030a5c7b4aab9338e3387a76ae143.jpg","text":"TemporaryFile(/tmp/multipartBody1381285552449673473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438202917,"filename":"image_29112025_18_41_04_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e77506c4cc0312a61623db4c7f2ff3e4.jpg","text":"TemporaryFile(/tmp/multipartBody6987861636122342623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438202917,"filename":"image_29112025_18_40_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/11/29/56acf5a2a63d12ec36548ea5b3ad9a8b.jpg","text":"TemporaryFile(/tmp/multipartBody5584870233751865146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438202917,"filename":"image_29112025_18_40_55_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931025","file1":"1396931021","file0":"1396931018","file4":"1396931029","file5":"1396931033","file3":"1396931027"},"map_files_photo_id_array":[{"photo_id":"1396931033","filename":"file5"},{"photo_id":"1396931025","filename":"file2"},{"photo_id":"1396931029","filename":"file4"},{"photo_id":"1396931021","filename":"file1"},{"photo_id":"1396931018","filename":"file0"},{"photo_id":"1396931027","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931025":["hashtag1","hashtag2"]},{"1396931021":["hashtag1","hashtag2"]},{"1396931018":["hashtag1","hashtag2"]},{"1396931033":["hashtag1","hashtag2"]},{"1396931027":["hashtag1","hashtag2"]},{"1396931029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931025, 1396931021, 1396931018, 1396931033, 1396931027, 1396931029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50205135345459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:43:02.775407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/41/image_29112025_18_41_15_10698.jpg', '/home/pi/Desktop/images/29112025/18/41/image_29112025_18_41_25_9878.jpg', '/home/pi/Desktop/images/29112025/18/41/image_29112025_18_41_34_9641.jpg', '/home/pi/Desktop/images/29112025/18/41/image_29112025_18_41_44_9535.jpg', '/home/pi/Desktop/images/29112025/18/41/image_29112025_18_41_54_10636.jpg', '/home/pi/Desktop/images/29112025/18/41/image_29112025_18_42_04_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/41/image_29112025_18_41_15_10698.jpg
/home/pi/Desktop/images/29112025/18/41/image_29112025_18_41_25_9878.jpg
/home/pi/Desktop/images/29112025/18/41/image_29112025_18_41_34_9641.jpg
/home/pi/Desktop/images/29112025/18/41/image_29112025_18_41_44_9535.jpg
/home/pi/Desktop/images/29112025/18/41/image_29112025_18_41_54_10636.jpg
/home/pi/Desktop/images/29112025/18/41/image_29112025_18_42_04_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":["1396931040","1396931048","1396931042","1396931044","1396931041","1396931038"],"photo_ids_order":["1396931038","1396931040","1396931041","1396931042","1396931044","1396931048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8b8feb622810c338cec157f3b4a76e1.jpg","text":"TemporaryFile(/tmp/multipartBody4597635398157381548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438243561,"filename":"image_29112025_18_41_25_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ecfffd457871ac61cd0b76d7eba8d3d.jpg","text":"TemporaryFile(/tmp/multipartBody2656290283450299147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438243561,"filename":"image_29112025_18_42_04_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88e212a35af6be868e693e16d818cc3e.jpg","text":"TemporaryFile(/tmp/multipartBody7869832195608080817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438243561,"filename":"image_29112025_18_41_44_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8049d08a20a33ee5956b767649dad6d4.jpg","text":"TemporaryFile(/tmp/multipartBody1989730507835995242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438243561,"filename":"image_29112025_18_41_54_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/074f72cd5133c7ac72bae16d5470ba11.jpg","text":"TemporaryFile(/tmp/multipartBody6154355635275103208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438243561,"filename":"image_29112025_18_41_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/11/29/f30b4d63e730c21c508dcbe95c974801.jpg","text":"TemporaryFile(/tmp/multipartBody5148979443150583365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438243561,"filename":"image_29112025_18_41_15_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931041","file1":"1396931040","file0":"1396931038","file4":"1396931044","file5":"1396931048","file3":"1396931042"},"map_files_photo_id_array":[{"photo_id":"1396931048","filename":"file5"},{"photo_id":"1396931041","filename":"file2"},{"photo_id":"1396931044","filename":"file4"},{"photo_id":"1396931040","filename":"file1"},{"photo_id":"1396931038","filename":"file0"},{"photo_id":"1396931042","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931040":["hashtag1","hashtag2"]},{"1396931048":["hashtag1","hashtag2"]},{"1396931042":["hashtag1","hashtag2"]},{"1396931044":["hashtag1","hashtag2"]},{"1396931041":["hashtag1","hashtag2"]},{"1396931038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931040, 1396931048, 1396931042, 1396931044, 1396931041, 1396931038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75541043281555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:43:42.305061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_26_3700.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_28_2701.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_34_3605.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_37_2687.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_58_2680.jpg', '/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_02_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_26_3700.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_28_2701.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_34_3605.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_37_2687.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_58_2680.jpg
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_02_3580.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0431020259857178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:44:03.221604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/42/image_29112025_18_42_14_9607.jpg', '/home/pi/Desktop/images/29112025/18/42/image_29112025_18_42_24_9939.jpg', '/home/pi/Desktop/images/29112025/18/42/image_29112025_18_42_34_10598.jpg', '/home/pi/Desktop/images/29112025/18/42/image_29112025_18_42_44_9750.jpg', '/home/pi/Desktop/images/29112025/18/42/image_29112025_18_42_54_9702.jpg', '/home/pi/Desktop/images/29112025/18/42/image_29112025_18_43_05_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/42/image_29112025_18_42_14_9607.jpg
/home/pi/Desktop/images/29112025/18/42/image_29112025_18_42_24_9939.jpg
/home/pi/Desktop/images/29112025/18/42/image_29112025_18_42_34_10598.jpg
/home/pi/Desktop/images/29112025/18/42/image_29112025_18_42_44_9750.jpg
/home/pi/Desktop/images/29112025/18/42/image_29112025_18_42_54_9702.jpg
/home/pi/Desktop/images/29112025/18/42/image_29112025_18_43_05_10708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931105","1396931108","1396931113","1396931107","1396931110","1396931104"],"photo_ids_order":["1396931104","1396931105","1396931107","1396931108","1396931110","1396931113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e6513dc0c8a8c437729802c6b3367d4.jpg","text":"TemporaryFile(/tmp/multipartBody7576355207192052502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438303971,"filename":"image_29112025_18_42_24_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2679f35d67853e90a761c51501eb220e.jpg","text":"TemporaryFile(/tmp/multipartBody8608381211175750728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438303971,"filename":"image_29112025_18_42_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/11/29/74b52c4b0744e943c093fc16cf0b17cb.jpg","text":"TemporaryFile(/tmp/multipartBody7675220713557374316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438303971,"filename":"image_29112025_18_43_05_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/33794afa0ae91c4f64746de5022a90d9.jpg","text":"TemporaryFile(/tmp/multipartBody7941170270995008810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438303971,"filename":"image_29112025_18_42_34_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46f1f59a4dd2a0b3c616876f5718c965.jpg","text":"TemporaryFile(/tmp/multipartBody1077118978442088129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438303971,"filename":"image_29112025_18_42_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/11/29/2f42ba453837c350655ada8f3d6a6e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7997883406852927655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438303971,"filename":"image_29112025_18_42_14_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931107","file1":"1396931105","file0":"1396931104","file4":"1396931110","file5":"1396931113","file3":"1396931108"},"map_files_photo_id_array":[{"photo_id":"1396931113","filename":"file5"},{"photo_id":"1396931107","filename":"file2"},{"photo_id":"1396931110","filename":"file4"},{"photo_id":"1396931105","filename":"file1"},{"photo_id":"1396931104","filename":"file0"},{"photo_id":"1396931108","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931105":["hashtag1","hashtag2"]},{"1396931108":["hashtag1","hashtag2"]},{"1396931113":["hashtag1","hashtag2"]},{"1396931107":["hashtag1","hashtag2"]},{"1396931110":["hashtag1","hashtag2"]},{"1396931104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931105, 1396931108, 1396931113, 1396931107, 1396931110, 1396931104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.582550287246704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:44:42.502105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_26_3700.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_28_2701.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_34_3605.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_37_2687.jpg', '/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_58_2680.jpg', '/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_02_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_26_3700.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_28_2701.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_34_3605.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_37_2687.jpg
/home/pi/Desktop/images/31102025/10/28/image_31102025_10_28_58_2680.jpg
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_02_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931130","1396931124","1396931127","1396931129","1396931131","1396931128"],"photo_ids_order":["1396931124","1396931127","1396931128","1396931129","1396931130","1396931131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8698a8062478957c2c447044aaca73c.jpg","text":"TemporaryFile(/tmp/multipartBody8406901310052728200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438343544,"filename":"image_31102025_10_28_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/11/29/28991680b312b5658b140def6245abba.jpg","text":"TemporaryFile(/tmp/multipartBody8268488393864350297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438343544,"filename":"image_31102025_10_28_26_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8591068801a9e7a7356e76e1a05f5800.jpg","text":"TemporaryFile(/tmp/multipartBody4684487308563890851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438343544,"filename":"image_31102025_10_28_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/11/29/4bc0ca57782848fe1936a8cb0bef5dbd.jpg","text":"TemporaryFile(/tmp/multipartBody3144284304815851703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438343544,"filename":"image_31102025_10_28_37_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2cf25c38024a945a58be12f5fc1447d.jpg","text":"TemporaryFile(/tmp/multipartBody7203943452995350088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438343544,"filename":"image_31102025_10_29_02_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cac7340036a4f274e4bb37943fb124d7.jpg","text":"TemporaryFile(/tmp/multipartBody1302871289148035684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438343544,"filename":"image_31102025_10_28_34_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931128","file1":"1396931127","file0":"1396931124","file4":"1396931130","file5":"1396931131","file3":"1396931129"},"map_files_photo_id_array":[{"photo_id":"1396931131","filename":"file5"},{"photo_id":"1396931128","filename":"file2"},{"photo_id":"1396931130","filename":"file4"},{"photo_id":"1396931127","filename":"file1"},{"photo_id":"1396931124","filename":"file0"},{"photo_id":"1396931129","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396931130":["hashtag1","hashtag2"]},{"1396931124":["hashtag1","hashtag2"]},{"1396931127":["hashtag1","hashtag2"]},{"1396931129":["hashtag1","hashtag2"]},{"1396931131":["hashtag1","hashtag2"]},{"1396931128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396931130, 1396931124, 1396931127, 1396931129, 1396931131, 1396931128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36703848838806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:45:22.626811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/43/image_29112025_18_43_14_9752.jpg', '/home/pi/Desktop/images/29112025/18/43/image_29112025_18_43_35_10632.jpg', '/home/pi/Desktop/images/29112025/18/43/image_29112025_18_43_44_9656.jpg', '/home/pi/Desktop/images/29112025/18/43/image_29112025_18_44_04_9858.jpg', '/home/pi/Desktop/images/29112025/18/44/image_29112025_18_44_15_10872.jpg', '/home/pi/Desktop/images/29112025/18/44/image_29112025_18_44_24_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/43/image_29112025_18_43_14_9752.jpg
/home/pi/Desktop/images/29112025/18/43/image_29112025_18_43_35_10632.jpg
/home/pi/Desktop/images/29112025/18/43/image_29112025_18_43_44_9656.jpg
/home/pi/Desktop/images/29112025/18/43/image_29112025_18_44_04_9858.jpg
/home/pi/Desktop/images/29112025/18/44/image_29112025_18_44_15_10872.jpg
/home/pi/Desktop/images/29112025/18/44/image_29112025_18_44_24_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931135","1396931173","1396931167","1396931146","1396931137","1396931181"],"photo_ids_order":["1396931135","1396931137","1396931146","1396931167","1396931173","1396931181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e45fa6721b68c9a7f3109e74e55d0e3.jpg","text":"TemporaryFile(/tmp/multipartBody868563820080430823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438383305,"filename":"image_29112025_18_43_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/11/29/6b8c66a636cddf7fed8212cb2b416a79.jpg","text":"TemporaryFile(/tmp/multipartBody4264147561220322613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438383305,"filename":"image_29112025_18_44_15_10872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad1b1fd5d54170d2089f871919fa4c36.jpg","text":"TemporaryFile(/tmp/multipartBody1051330222107610423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438383305,"filename":"image_29112025_18_44_04_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d27b35e2ab1538118425a4570ff12f8.jpg","text":"TemporaryFile(/tmp/multipartBody9005024197241396780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438383305,"filename":"image_29112025_18_43_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4599a620c2e75c48bc9b44a05811b5f5.jpg","text":"TemporaryFile(/tmp/multipartBody9155230976941790287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438383305,"filename":"image_29112025_18_43_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65550b19e8c2df921eb1997356f69bf5.jpg","text":"TemporaryFile(/tmp/multipartBody9188228886457898131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438383305,"filename":"image_29112025_18_44_24_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931146","file1":"1396931137","file0":"1396931135","file4":"1396931173","file5":"1396931181","file3":"1396931167"},"map_files_photo_id_array":[{"photo_id":"1396931181","filename":"file5"},{"photo_id":"1396931146","filename":"file2"},{"photo_id":"1396931173","filename":"file4"},{"photo_id":"1396931137","filename":"file1"},{"photo_id":"1396931135","filename":"file0"},{"photo_id":"1396931167","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931135":["hashtag1","hashtag2"]},{"1396931173":["hashtag1","hashtag2"]},{"1396931167":["hashtag1","hashtag2"]},{"1396931146":["hashtag1","hashtag2"]},{"1396931137":["hashtag1","hashtag2"]},{"1396931181":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931135, 1396931173, 1396931167, 1396931146, 1396931137, 1396931181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81475067138672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 18:46:11.878996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_10_3553.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_13_2828.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_16_3210.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_19_2661.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_22_2794.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_26_3767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_10_3553.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_13_2828.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_16_3210.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_19_2661.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_22_2794.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_26_3767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931186","1396931201","1396931194","1396931197","1396931191","1396931187"],"photo_ids_order":["1396931186","1396931187","1396931191","1396931194","1396931197","1396931201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb0ccb0ad067d88b9139e2abb0c79e2a.jpg","text":"TemporaryFile(/tmp/multipartBody2598223305196208387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438433979,"filename":"image_25112025_19_01_10_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/638bb482b9ca91bf193a59db14157490.jpg","text":"TemporaryFile(/tmp/multipartBody5676453370814815580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438433979,"filename":"image_25112025_19_01_26_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27a8a458a16a4852861c0c105b219ced.jpg","text":"TemporaryFile(/tmp/multipartBody7552686463717236424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438433979,"filename":"image_25112025_19_01_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/11/29/13da69ce245c7269fc6e667c8f04e893.jpg","text":"TemporaryFile(/tmp/multipartBody1617124830366896280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438433979,"filename":"image_25112025_19_01_22_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c4c88ced4ee3aef96f1a3e33cbff441.jpg","text":"TemporaryFile(/tmp/multipartBody9076572603369303679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438433979,"filename":"image_25112025_19_01_16_3210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09148b6055a37f8647bb2b6c02998ed9.jpg","text":"TemporaryFile(/tmp/multipartBody2550169715648976815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438433979,"filename":"image_25112025_19_01_13_2828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931191","file1":"1396931187","file0":"1396931186","file4":"1396931197","file5":"1396931201","file3":"1396931194"},"map_files_photo_id_array":[{"photo_id":"1396931201","filename":"file5"},{"photo_id":"1396931191","filename":"file2"},{"photo_id":"1396931197","filename":"file4"},{"photo_id":"1396931187","filename":"file1"},{"photo_id":"1396931186","filename":"file0"},{"photo_id":"1396931194","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396931186":["hashtag1","hashtag2"]},{"1396931201":["hashtag1","hashtag2"]},{"1396931194":["hashtag1","hashtag2"]},{"1396931197":["hashtag1","hashtag2"]},{"1396931191":["hashtag1","hashtag2"]},{"1396931187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396931186, 1396931201, 1396931194, 1396931197, 1396931191, 1396931187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.847365379333496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:47:02.737652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/44/image_29112025_18_44_34_9611.jpg', '/home/pi/Desktop/images/29112025/18/44/image_29112025_18_44_45_10657.jpg', '/home/pi/Desktop/images/29112025/18/44/image_29112025_18_44_54_9718.jpg', '/home/pi/Desktop/images/29112025/18/44/image_29112025_18_45_04_9776.jpg', '/home/pi/Desktop/images/29112025/18/45/image_29112025_18_45_14_9798.jpg', '/home/pi/Desktop/images/29112025/18/45/image_29112025_18_45_25_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/44/image_29112025_18_44_34_9611.jpg
/home/pi/Desktop/images/29112025/18/44/image_29112025_18_44_45_10657.jpg
/home/pi/Desktop/images/29112025/18/44/image_29112025_18_44_54_9718.jpg
/home/pi/Desktop/images/29112025/18/44/image_29112025_18_45_04_9776.jpg
/home/pi/Desktop/images/29112025/18/45/image_29112025_18_45_14_9798.jpg
/home/pi/Desktop/images/29112025/18/45/image_29112025_18_45_25_10651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931211","1396931208","1396931207","1396931206","1396931215","1396931209"],"photo_ids_order":["1396931206","1396931207","1396931208","1396931209","1396931211","1396931215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/968af0cb60eb2bdad803f7a74eb00b73.jpg","text":"TemporaryFile(/tmp/multipartBody1499572791297107240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438483537,"filename":"image_29112025_18_45_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/11/29/700be059a9970bbbf5ac9a561dfd47b0.jpg","text":"TemporaryFile(/tmp/multipartBody1025806492807859244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438483537,"filename":"image_29112025_18_44_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/11/29/1e2ae3aa2f88d52ce56351a50ba713c0.jpg","text":"TemporaryFile(/tmp/multipartBody1982272867994247993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438483537,"filename":"image_29112025_18_44_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87f3a42664eefdca6a0166837bde92a1.jpg","text":"TemporaryFile(/tmp/multipartBody8786487468055946763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438483537,"filename":"image_29112025_18_44_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97d868b8f590ebb3230e6533b77fc00a.jpg","text":"TemporaryFile(/tmp/multipartBody1766849004334804079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438483537,"filename":"image_29112025_18_45_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a25a674dc8d09df1783916c603a1c22.jpg","text":"TemporaryFile(/tmp/multipartBody6603085766504435764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438483537,"filename":"image_29112025_18_45_04_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931208","file1":"1396931207","file0":"1396931206","file4":"1396931211","file5":"1396931215","file3":"1396931209"},"map_files_photo_id_array":[{"photo_id":"1396931215","filename":"file5"},{"photo_id":"1396931208","filename":"file2"},{"photo_id":"1396931211","filename":"file4"},{"photo_id":"1396931207","filename":"file1"},{"photo_id":"1396931206","filename":"file0"},{"photo_id":"1396931209","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931211":["hashtag1","hashtag2"]},{"1396931208":["hashtag1","hashtag2"]},{"1396931207":["hashtag1","hashtag2"]},{"1396931206":["hashtag1","hashtag2"]},{"1396931215":["hashtag1","hashtag2"]},{"1396931209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931211, 1396931208, 1396931207, 1396931206, 1396931215, 1396931209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80934023857117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:47:42.078145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_10_2750.jpg', '/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_14_3821.jpg', '/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_16_2572.jpg', '/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_19_2621.jpg', '/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_31_2723.jpg', '/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_35_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_10_2750.jpg
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_14_3821.jpg
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_16_2572.jpg
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_19_2621.jpg
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_31_2723.jpg
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_35_3660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931270","1396931249","1396931269","1396931263","1396931271","1396931268"],"photo_ids_order":["1396931249","1396931263","1396931268","1396931269","1396931270","1396931271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4520900c6bff79c8a50138c72a2b920.jpg","text":"TemporaryFile(/tmp/multipartBody5640575972812550785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438523206,"filename":"image_31102025_10_29_31_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7545de904e1fa80f81a5966540c4381.jpg","text":"TemporaryFile(/tmp/multipartBody7343832561562284505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438523206,"filename":"image_31102025_10_29_10_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f3a30e65af95bf5e8f190153d18be10.jpg","text":"TemporaryFile(/tmp/multipartBody8283375546249873202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438523206,"filename":"image_31102025_10_29_19_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20c8408ae36575e04063ea3833d7cfa4.jpg","text":"TemporaryFile(/tmp/multipartBody8147340321814508835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438523206,"filename":"image_31102025_10_29_14_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e73d1812295d8cd8bcd15dd7897feb5.jpg","text":"TemporaryFile(/tmp/multipartBody4619698530316198971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438523206,"filename":"image_31102025_10_29_35_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f6219311008ca364ca9eaf497de6b0e.jpg","text":"TemporaryFile(/tmp/multipartBody1138818735234922034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438523206,"filename":"image_31102025_10_29_16_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931268","file1":"1396931263","file0":"1396931249","file4":"1396931270","file5":"1396931271","file3":"1396931269"},"map_files_photo_id_array":[{"photo_id":"1396931271","filename":"file5"},{"photo_id":"1396931268","filename":"file2"},{"photo_id":"1396931270","filename":"file4"},{"photo_id":"1396931263","filename":"file1"},{"photo_id":"1396931249","filename":"file0"},{"photo_id":"1396931269","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396931270":["hashtag1","hashtag2"]},{"1396931249":["hashtag1","hashtag2"]},{"1396931269":["hashtag1","hashtag2"]},{"1396931263":["hashtag1","hashtag2"]},{"1396931271":["hashtag1","hashtag2"]},{"1396931268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396931270, 1396931249, 1396931269, 1396931263, 1396931271, 1396931268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1993682384491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:48:22.250247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/45/image_29112025_18_45_34_9612.jpg', '/home/pi/Desktop/images/29112025/18/45/image_29112025_18_45_44_9722.jpg', '/home/pi/Desktop/images/29112025/18/45/image_29112025_18_45_55_10628.jpg', '/home/pi/Desktop/images/29112025/18/45/image_29112025_18_46_04_9737.jpg', '/home/pi/Desktop/images/29112025/18/46/image_29112025_18_46_14_9704.jpg', '/home/pi/Desktop/images/29112025/18/46/image_29112025_18_46_25_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/45/image_29112025_18_45_34_9612.jpg
/home/pi/Desktop/images/29112025/18/45/image_29112025_18_45_44_9722.jpg
/home/pi/Desktop/images/29112025/18/45/image_29112025_18_45_55_10628.jpg
/home/pi/Desktop/images/29112025/18/45/image_29112025_18_46_04_9737.jpg
/home/pi/Desktop/images/29112025/18/46/image_29112025_18_46_14_9704.jpg
/home/pi/Desktop/images/29112025/18/46/image_29112025_18_46_25_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931287","1396931281","1396931290","1396931284","1396931274","1396931277"],"photo_ids_order":["1396931274","1396931277","1396931281","1396931284","1396931287","1396931290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac73cd003601edc668f7cecf10e0901e.jpg","text":"TemporaryFile(/tmp/multipartBody6714364428298313180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438562924,"filename":"image_29112025_18_46_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/11/29/45040187b4133afb0adac33b7ff123af.jpg","text":"TemporaryFile(/tmp/multipartBody3013115424647769116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438562924,"filename":"image_29112025_18_45_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64282aa85323f246144495061e969197.jpg","text":"TemporaryFile(/tmp/multipartBody5073623956414078958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438562924,"filename":"image_29112025_18_46_25_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b3fa244487dfca89d3ddb0630b67ab1.jpg","text":"TemporaryFile(/tmp/multipartBody7930990028129771427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438562924,"filename":"image_29112025_18_46_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/11/29/e9b20246de1ea89b23c88990e25bfe46.jpg","text":"TemporaryFile(/tmp/multipartBody8657733257342089288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438562924,"filename":"image_29112025_18_45_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/11/29/115b4445ddcec8745f3904df9804fa56.jpg","text":"TemporaryFile(/tmp/multipartBody7776301279042845476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438562924,"filename":"image_29112025_18_45_44_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931281","file1":"1396931277","file0":"1396931274","file4":"1396931287","file5":"1396931290","file3":"1396931284"},"map_files_photo_id_array":[{"photo_id":"1396931290","filename":"file5"},{"photo_id":"1396931281","filename":"file2"},{"photo_id":"1396931287","filename":"file4"},{"photo_id":"1396931277","filename":"file1"},{"photo_id":"1396931274","filename":"file0"},{"photo_id":"1396931284","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931287":["hashtag1","hashtag2"]},{"1396931281":["hashtag1","hashtag2"]},{"1396931290":["hashtag1","hashtag2"]},{"1396931284":["hashtag1","hashtag2"]},{"1396931274":["hashtag1","hashtag2"]},{"1396931277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931287, 1396931281, 1396931290, 1396931284, 1396931274, 1396931277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82653021812439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:49:03.600323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/46/image_29112025_18_46_34_9613.jpg', '/home/pi/Desktop/images/29112025/18/46/image_29112025_18_46_44_9643.jpg', '/home/pi/Desktop/images/29112025/18/46/image_29112025_18_46_55_10726.jpg', '/home/pi/Desktop/images/29112025/18/46/image_29112025_18_47_04_9699.jpg', '/home/pi/Desktop/images/29112025/18/47/image_29112025_18_47_15_10537.jpg', '/home/pi/Desktop/images/29112025/18/47/image_29112025_18_47_24_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/46/image_29112025_18_46_34_9613.jpg
/home/pi/Desktop/images/29112025/18/46/image_29112025_18_46_44_9643.jpg
/home/pi/Desktop/images/29112025/18/46/image_29112025_18_46_55_10726.jpg
/home/pi/Desktop/images/29112025/18/46/image_29112025_18_47_04_9699.jpg
/home/pi/Desktop/images/29112025/18/47/image_29112025_18_47_15_10537.jpg
/home/pi/Desktop/images/29112025/18/47/image_29112025_18_47_24_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931294","1396931297","1396931293","1396931302","1396931292","1396931295"],"photo_ids_order":["1396931292","1396931293","1396931294","1396931295","1396931297","1396931302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c15420735a9de072fe3948499751ac9.jpg","text":"TemporaryFile(/tmp/multipartBody928237246449425901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438604415,"filename":"image_29112025_18_46_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/11/29/5b7d25b4a56c8c8f6ff86d1b207f6e2b.jpg","text":"TemporaryFile(/tmp/multipartBody8009791714458274103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438604415,"filename":"image_29112025_18_47_15_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d32839fec02a47edf15d3eca3a360da5.jpg","text":"TemporaryFile(/tmp/multipartBody5803004969333585335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438604415,"filename":"image_29112025_18_46_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/11/29/e9f7720f34c673ea17f6de1ec7e2efc6.jpg","text":"TemporaryFile(/tmp/multipartBody8156100304296290468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438604415,"filename":"image_29112025_18_47_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/11/29/425cd29c1c1f091d05f1ded2474e5b0c.jpg","text":"TemporaryFile(/tmp/multipartBody5759506872875394369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438604415,"filename":"image_29112025_18_46_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d19e4f74d6ac16ba6575adb5da3f3c1.jpg","text":"TemporaryFile(/tmp/multipartBody3187171571596512674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438604415,"filename":"image_29112025_18_47_04_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931294","file1":"1396931293","file0":"1396931292","file4":"1396931297","file5":"1396931302","file3":"1396931295"},"map_files_photo_id_array":[{"photo_id":"1396931302","filename":"file5"},{"photo_id":"1396931294","filename":"file2"},{"photo_id":"1396931297","filename":"file4"},{"photo_id":"1396931293","filename":"file1"},{"photo_id":"1396931292","filename":"file0"},{"photo_id":"1396931295","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931294":["hashtag1","hashtag2"]},{"1396931297":["hashtag1","hashtag2"]},{"1396931293":["hashtag1","hashtag2"]},{"1396931302":["hashtag1","hashtag2"]},{"1396931292":["hashtag1","hashtag2"]},{"1396931295":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931294, 1396931297, 1396931293, 1396931302, 1396931292, 1396931295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5867395401001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:49:42.596314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_49_2694.jpg', '/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_52_2680.jpg', '/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_55_3634.jpg', '/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_58_2676.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_07_3015.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_11_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/10/29/image_31102025_10_29_49_2694.jpg
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_52_2680.jpg
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_55_3634.jpg
/home/pi/Desktop/images/31102025/10/29/image_31102025_10_29_58_2676.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_07_3015.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_11_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":["1396931343","1396931351","1396931354","1396931350","1396931353","1396931352"],"photo_ids_order":["1396931343","1396931350","1396931351","1396931352","1396931353","1396931354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d43ed3da80c1b2b3db5a018b3f4762a.jpg","text":"TemporaryFile(/tmp/multipartBody181338550832143303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438643714,"filename":"image_31102025_10_29_49_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e4985a078f148358ccbb183c72aead04.jpg","text":"TemporaryFile(/tmp/multipartBody4380136850270308588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438643714,"filename":"image_31102025_10_29_55_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/700eba387824363ba09c1bfafcddd760.jpg","text":"TemporaryFile(/tmp/multipartBody8228900917548321339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438643714,"filename":"image_31102025_10_31_11_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2650819e42f7b039e12df42000c74126.jpg","text":"TemporaryFile(/tmp/multipartBody9090244987289104006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438643714,"filename":"image_31102025_10_29_52_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ff37f46771755951ad8b12700324b94.jpg","text":"TemporaryFile(/tmp/multipartBody3970400596830088521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438643714,"filename":"image_31102025_10_31_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07f286467a5fdcd97ad47253c983d26d.jpg","text":"TemporaryFile(/tmp/multipartBody5350635090404347253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438643714,"filename":"image_31102025_10_29_58_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931351","file1":"1396931350","file0":"1396931343","file4":"1396931353","file5":"1396931354","file3":"1396931352"},"map_files_photo_id_array":[{"photo_id":"1396931354","filename":"file5"},{"photo_id":"1396931351","filename":"file2"},{"photo_id":"1396931353","filename":"file4"},{"photo_id":"1396931350","filename":"file1"},{"photo_id":"1396931343","filename":"file0"},{"photo_id":"1396931352","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396931343":["hashtag1","hashtag2"]},{"1396931351":["hashtag1","hashtag2"]},{"1396931354":["hashtag1","hashtag2"]},{"1396931350":["hashtag1","hashtag2"]},{"1396931353":["hashtag1","hashtag2"]},{"1396931352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396931343, 1396931351, 1396931354, 1396931350, 1396931353, 1396931352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84628987312317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:50:22.796384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/47/image_29112025_18_47_34_9522.jpg', '/home/pi/Desktop/images/29112025/18/47/image_29112025_18_47_44_9875.jpg', '/home/pi/Desktop/images/29112025/18/47/image_29112025_18_47_55_10695.jpg', '/home/pi/Desktop/images/29112025/18/47/image_29112025_18_48_04_9809.jpg', '/home/pi/Desktop/images/29112025/18/48/image_29112025_18_48_25_10756.jpg', '/home/pi/Desktop/images/29112025/18/48/image_29112025_18_48_35_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/47/image_29112025_18_47_34_9522.jpg
/home/pi/Desktop/images/29112025/18/47/image_29112025_18_47_44_9875.jpg
/home/pi/Desktop/images/29112025/18/47/image_29112025_18_47_55_10695.jpg
/home/pi/Desktop/images/29112025/18/47/image_29112025_18_48_04_9809.jpg
/home/pi/Desktop/images/29112025/18/48/image_29112025_18_48_25_10756.jpg
/home/pi/Desktop/images/29112025/18/48/image_29112025_18_48_35_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931358","1396931369","1396931374","1396931364","1396931367","1396931361"],"photo_ids_order":["1396931358","1396931361","1396931364","1396931367","1396931369","1396931374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9abcf82d4dd4c8f3d0a174e3bf50a43.jpg","text":"TemporaryFile(/tmp/multipartBody6959344742351966105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438683471,"filename":"image_29112025_18_47_34_9522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ef82504ade0300a6ad67d06d5d01a9a.jpg","text":"TemporaryFile(/tmp/multipartBody7897074226472877426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438683471,"filename":"image_29112025_18_48_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/11/29/913f59e7c03e9b68328619d169b15a6f.jpg","text":"TemporaryFile(/tmp/multipartBody2194251357921333969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438683471,"filename":"image_29112025_18_48_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/11/29/423cdfdce9df3bf1c41e65d5af6c220c.jpg","text":"TemporaryFile(/tmp/multipartBody7760852908611465694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438683471,"filename":"image_29112025_18_47_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0afd649e56c7b45abbd158ccad45c98f.jpg","text":"TemporaryFile(/tmp/multipartBody4412254467354865840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438683471,"filename":"image_29112025_18_48_04_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c76adcef8a21745d54161d0fbf0846f.jpg","text":"TemporaryFile(/tmp/multipartBody4477809635422947958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438683471,"filename":"image_29112025_18_47_44_9875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931364","file1":"1396931361","file0":"1396931358","file4":"1396931369","file5":"1396931374","file3":"1396931367"},"map_files_photo_id_array":[{"photo_id":"1396931374","filename":"file5"},{"photo_id":"1396931364","filename":"file2"},{"photo_id":"1396931369","filename":"file4"},{"photo_id":"1396931361","filename":"file1"},{"photo_id":"1396931358","filename":"file0"},{"photo_id":"1396931367","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931358":["hashtag1","hashtag2"]},{"1396931369":["hashtag1","hashtag2"]},{"1396931374":["hashtag1","hashtag2"]},{"1396931364":["hashtag1","hashtag2"]},{"1396931367":["hashtag1","hashtag2"]},{"1396931361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931358, 1396931369, 1396931374, 1396931364, 1396931367, 1396931361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.374409198760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:51:02.551621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/48/image_29112025_18_48_54_9638.jpg', '/home/pi/Desktop/images/29112025/18/49/image_29112025_18_49_14_9655.jpg', '/home/pi/Desktop/images/29112025/18/49/image_29112025_18_49_24_9681.jpg', '/home/pi/Desktop/images/29112025/18/49/image_29112025_18_49_44_9637.jpg', '/home/pi/Desktop/images/29112025/18/49/image_29112025_18_49_55_10554.jpg', '/home/pi/Desktop/images/29112025/18/50/image_29112025_18_50_14_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/48/image_29112025_18_48_54_9638.jpg
/home/pi/Desktop/images/29112025/18/49/image_29112025_18_49_14_9655.jpg
/home/pi/Desktop/images/29112025/18/49/image_29112025_18_49_24_9681.jpg
/home/pi/Desktop/images/29112025/18/49/image_29112025_18_49_44_9637.jpg
/home/pi/Desktop/images/29112025/18/49/image_29112025_18_49_55_10554.jpg
/home/pi/Desktop/images/29112025/18/50/image_29112025_18_50_14_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":["1396931378","1396931380","1396931377","1396931401","1396931385","1396931379"],"photo_ids_order":["1396931377","1396931378","1396931379","1396931380","1396931385","1396931401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94afdefe6fc659ecdbc03512cbd3ab38.jpg","text":"TemporaryFile(/tmp/multipartBody7717724000715631342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438723296,"filename":"image_29112025_18_49_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/718974fa0cc38ed0e39f61aa027edc5c.jpg","text":"TemporaryFile(/tmp/multipartBody3789475014618914166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438723296,"filename":"image_29112025_18_49_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca24277ace6746d72ca963180bd22efe.jpg","text":"TemporaryFile(/tmp/multipartBody8544027029567854069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438723296,"filename":"image_29112025_18_48_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/11/29/993266091b5118d76be9b25305d428a5.jpg","text":"TemporaryFile(/tmp/multipartBody2924855481665702555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438723296,"filename":"image_29112025_18_50_14_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7fcff07226ad7100e0d377de0ff229dc.jpg","text":"TemporaryFile(/tmp/multipartBody217847144749644638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438723296,"filename":"image_29112025_18_49_55_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e4839c9210f49c52cecbf0103aaadbc.jpg","text":"TemporaryFile(/tmp/multipartBody6933877858234964431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438723296,"filename":"image_29112025_18_49_24_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931379","file1":"1396931378","file0":"1396931377","file4":"1396931385","file5":"1396931401","file3":"1396931380"},"map_files_photo_id_array":[{"photo_id":"1396931401","filename":"file5"},{"photo_id":"1396931379","filename":"file2"},{"photo_id":"1396931385","filename":"file4"},{"photo_id":"1396931378","filename":"file1"},{"photo_id":"1396931377","filename":"file0"},{"photo_id":"1396931380","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931378":["hashtag1","hashtag2"]},{"1396931380":["hashtag1","hashtag2"]},{"1396931377":["hashtag1","hashtag2"]},{"1396931401":["hashtag1","hashtag2"]},{"1396931385":["hashtag1","hashtag2"]},{"1396931379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931378, 1396931380, 1396931377, 1396931401, 1396931385, 1396931379)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.38306403160095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:52:03.198550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/50/image_29112025_18_50_35_10635.jpg', '/home/pi/Desktop/images/29112025/18/50/image_29112025_18_50_44_9565.jpg', '/home/pi/Desktop/images/29112025/18/50/image_29112025_18_50_54_9594.jpg', '/home/pi/Desktop/images/29112025/18/50/image_29112025_18_51_04_10580.jpg', '/home/pi/Desktop/images/29112025/18/51/image_29112025_18_51_14_9662.jpg', '/home/pi/Desktop/images/29112025/18/51/image_29112025_18_51_24_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/50/image_29112025_18_50_35_10635.jpg
/home/pi/Desktop/images/29112025/18/50/image_29112025_18_50_44_9565.jpg
/home/pi/Desktop/images/29112025/18/50/image_29112025_18_50_54_9594.jpg
/home/pi/Desktop/images/29112025/18/50/image_29112025_18_51_04_10580.jpg
/home/pi/Desktop/images/29112025/18/51/image_29112025_18_51_14_9662.jpg
/home/pi/Desktop/images/29112025/18/51/image_29112025_18_51_24_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931421","1396931420","1396931422","1396931425","1396931419","1396931427"],"photo_ids_order":["1396931419","1396931420","1396931421","1396931422","1396931425","1396931427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c85dabd8778ed0b11a17f75f16618ed2.jpg","text":"TemporaryFile(/tmp/multipartBody2522982104774037332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438783902,"filename":"image_29112025_18_50_54_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b94299d2b554a5823aebd68c117d25b.jpg","text":"TemporaryFile(/tmp/multipartBody7655042899809746288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438783902,"filename":"image_29112025_18_50_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6bb35966bdd456154c1785e831ff20c.jpg","text":"TemporaryFile(/tmp/multipartBody3628106815157730503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438783902,"filename":"image_29112025_18_51_04_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee32d627dfed540de6956a9b3fcc447a.jpg","text":"TemporaryFile(/tmp/multipartBody792247797615107618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438783902,"filename":"image_29112025_18_51_14_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15f28a389be1945b7ba3a60b25aa52d3.jpg","text":"TemporaryFile(/tmp/multipartBody2048413881439036781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438783902,"filename":"image_29112025_18_50_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/11/29/d50d05998b9630e29dc190ef041c6712.jpg","text":"TemporaryFile(/tmp/multipartBody353268977991747581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438783902,"filename":"image_29112025_18_51_24_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931421","file1":"1396931420","file0":"1396931419","file4":"1396931425","file5":"1396931427","file3":"1396931422"},"map_files_photo_id_array":[{"photo_id":"1396931427","filename":"file5"},{"photo_id":"1396931421","filename":"file2"},{"photo_id":"1396931425","filename":"file4"},{"photo_id":"1396931420","filename":"file1"},{"photo_id":"1396931419","filename":"file0"},{"photo_id":"1396931422","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931421":["hashtag1","hashtag2"]},{"1396931420":["hashtag1","hashtag2"]},{"1396931422":["hashtag1","hashtag2"]},{"1396931425":["hashtag1","hashtag2"]},{"1396931419":["hashtag1","hashtag2"]},{"1396931427":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931421, 1396931420, 1396931422, 1396931425, 1396931419, 1396931427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.993854999542236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:52:42.734243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_13_2704.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_16_2777.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_20_3670.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_23_2866.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_25_2684.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_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/10/31/image_31102025_10_31_13_2704.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_16_2777.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_20_3670.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_23_2866.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_25_2684.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_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":["1396931442","1396931444","1396931438","1396931440","1396931434","1396931445"],"photo_ids_order":["1396931434","1396931438","1396931440","1396931442","1396931444","1396931445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5d24fb54a329f96bc4546d2e3694560.jpg","text":"TemporaryFile(/tmp/multipartBody3108396306828607752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438823846,"filename":"image_31102025_10_31_23_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c72e6ba206e1a6eed2b6fbff88b0d8a4.jpg","text":"TemporaryFile(/tmp/multipartBody3626470795229140609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438823846,"filename":"image_31102025_10_31_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/11/29/3683a1442bdebda53ac53996d2955e3b.jpg","text":"TemporaryFile(/tmp/multipartBody332618111826798227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438823846,"filename":"image_31102025_10_31_16_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d15c51a628d82a8020027679543de668.jpg","text":"TemporaryFile(/tmp/multipartBody3255265760822855916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438823846,"filename":"image_31102025_10_31_20_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/152803fd31efb850fd9b73a999c71117.jpg","text":"TemporaryFile(/tmp/multipartBody557958327713125590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438823846,"filename":"image_31102025_10_31_13_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c23f7997c8e706fefc825dd59fac80b.jpg","text":"TemporaryFile(/tmp/multipartBody902212647473153767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438823846,"filename":"image_31102025_10_31_29_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931440","file1":"1396931438","file0":"1396931434","file4":"1396931444","file5":"1396931445","file3":"1396931442"},"map_files_photo_id_array":[{"photo_id":"1396931445","filename":"file5"},{"photo_id":"1396931440","filename":"file2"},{"photo_id":"1396931444","filename":"file4"},{"photo_id":"1396931438","filename":"file1"},{"photo_id":"1396931434","filename":"file0"},{"photo_id":"1396931442","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396931442":["hashtag1","hashtag2"]},{"1396931444":["hashtag1","hashtag2"]},{"1396931438":["hashtag1","hashtag2"]},{"1396931440":["hashtag1","hashtag2"]},{"1396931434":["hashtag1","hashtag2"]},{"1396931445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396931442, 1396931444, 1396931438, 1396931440, 1396931434, 1396931445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27033042907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:53:23.095173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/51/image_29112025_18_51_44_9805.jpg', '/home/pi/Desktop/images/29112025/18/51/image_29112025_18_52_04_10613.jpg', '/home/pi/Desktop/images/29112025/18/52/image_29112025_18_52_14_9676.jpg', '/home/pi/Desktop/images/29112025/18/52/image_29112025_18_52_34_10516.jpg', '/home/pi/Desktop/images/29112025/18/52/image_29112025_18_52_44_9653.jpg', '/home/pi/Desktop/images/29112025/18/53/image_29112025_18_53_14_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/51/image_29112025_18_51_44_9805.jpg
/home/pi/Desktop/images/29112025/18/51/image_29112025_18_52_04_10613.jpg
/home/pi/Desktop/images/29112025/18/52/image_29112025_18_52_14_9676.jpg
/home/pi/Desktop/images/29112025/18/52/image_29112025_18_52_34_10516.jpg
/home/pi/Desktop/images/29112025/18/52/image_29112025_18_52_44_9653.jpg
/home/pi/Desktop/images/29112025/18/53/image_29112025_18_53_14_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":["1396931457","1396931519","1396931501","1396931449","1396931481","1396931460"],"photo_ids_order":["1396931449","1396931457","1396931460","1396931481","1396931501","1396931519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/355526fba5a142876b92fbefafe6877b.jpg","text":"TemporaryFile(/tmp/multipartBody6289452928876674678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438863773,"filename":"image_29112025_18_52_04_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/690c71c10fe310d12ae908dfe285949e.jpg","text":"TemporaryFile(/tmp/multipartBody6078511428826361207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438863773,"filename":"image_29112025_18_53_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/11/29/f9e53dad0cc682a419251c675fbbf709.jpg","text":"TemporaryFile(/tmp/multipartBody2661366755306233929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438863773,"filename":"image_29112025_18_52_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/11/29/40029e1c3bbbfd591034b3926e2d5baf.jpg","text":"TemporaryFile(/tmp/multipartBody7666945169930037259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438863773,"filename":"image_29112025_18_51_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/11/29/e04f832e63185f6ddf48178cdf0bb529.jpg","text":"TemporaryFile(/tmp/multipartBody767825400229252191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438863773,"filename":"image_29112025_18_52_34_10516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17981e0b224ec50aeb2235d7bfc3ca9d.jpg","text":"TemporaryFile(/tmp/multipartBody5885522711765505328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438863773,"filename":"image_29112025_18_52_14_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931460","file1":"1396931457","file0":"1396931449","file4":"1396931501","file5":"1396931519","file3":"1396931481"},"map_files_photo_id_array":[{"photo_id":"1396931519","filename":"file5"},{"photo_id":"1396931460","filename":"file2"},{"photo_id":"1396931501","filename":"file4"},{"photo_id":"1396931457","filename":"file1"},{"photo_id":"1396931449","filename":"file0"},{"photo_id":"1396931481","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931457":["hashtag1","hashtag2"]},{"1396931519":["hashtag1","hashtag2"]},{"1396931501":["hashtag1","hashtag2"]},{"1396931449":["hashtag1","hashtag2"]},{"1396931481":["hashtag1","hashtag2"]},{"1396931460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931457, 1396931519, 1396931501, 1396931449, 1396931481, 1396931460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77773451805115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:54:02.812899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/53/image_29112025_18_53_34_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/53/image_29112025_18_53_34_9615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931524"],"photo_id":"1396931524","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cad0039c643dca4d1829bba5d0201440.jpg","text":"TemporaryFile(/tmp/multipartBody9172182644844972680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438903358,"filename":"image_29112025_18_53_34_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396931524"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396931524"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.428637027740479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 18:54:22.156475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/53/image_29112025_18_53_44_9707.jpg', '/home/pi/Desktop/images/29112025/18/53/image_29112025_18_54_04_9677.jpg', '/home/pi/Desktop/images/29112025/18/54/image_29112025_18_54_14_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/53/image_29112025_18_53_44_9707.jpg
/home/pi/Desktop/images/29112025/18/53/image_29112025_18_54_04_9677.jpg
/home/pi/Desktop/images/29112025/18/54/image_29112025_18_54_14_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931538","1396931533","1396931536"],"photo_ids_order":["1396931533","1396931536","1396931538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b68e9464ef99a192c83d2bdbf6c30aa.jpg","text":"TemporaryFile(/tmp/multipartBody2001347985934645576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438922775,"filename":"image_29112025_18_54_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/11/29/313dadd6ca5fa02314ddb36e52687136.jpg","text":"TemporaryFile(/tmp/multipartBody7925136904630613662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438922775,"filename":"image_29112025_18_53_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad45a80ca0d8024a3774f393db5db1f0.jpg","text":"TemporaryFile(/tmp/multipartBody2182879573456684871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438922775,"filename":"image_29112025_18_54_04_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931538","file1":"1396931536","file0":"1396931533"},"map_files_photo_id_array":[{"photo_id":"1396931538","filename":"file2"},{"photo_id":"1396931536","filename":"file1"},{"photo_id":"1396931533","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931538":["hashtag1","hashtag2"]},{"1396931533":["hashtag1","hashtag2"]},{"1396931536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931538, 1396931533, 1396931536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.924410104751587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:55:03.094784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_28_2746.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_31_2553.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_34_3652.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_37_2601.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_40_2623.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_46_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_28_2746.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_31_2553.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_34_3652.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_37_2601.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_40_2623.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_46_2536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931551","1396931560","1396931554","1396931548","1396931557","1396931553"],"photo_ids_order":["1396931548","1396931551","1396931553","1396931554","1396931557","1396931560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d3a4270c3d19981d5d04c9fe488e51b.jpg","text":"TemporaryFile(/tmp/multipartBody4613424341323935954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438964749,"filename":"image_25112025_19_01_31_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b57df6768e95937a59e6d01af17207ce.jpg","text":"TemporaryFile(/tmp/multipartBody979222413804464696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438964749,"filename":"image_25112025_19_01_46_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f9129bafc7b9748783d43f2cdc53827.jpg","text":"TemporaryFile(/tmp/multipartBody1235279910767373646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438964749,"filename":"image_25112025_19_01_37_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fba2f1b6bb4cca3612eb86827d318d2b.jpg","text":"TemporaryFile(/tmp/multipartBody3888822446847904687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438964749,"filename":"image_25112025_19_01_28_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0bf10b155aa497253a3be8686cff0f5.jpg","text":"TemporaryFile(/tmp/multipartBody4712175582055030729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438964749,"filename":"image_25112025_19_01_40_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0b83c447ea4f5d27cfbdfa1f04ec615.jpg","text":"TemporaryFile(/tmp/multipartBody8614347133817978656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764438964749,"filename":"image_25112025_19_01_34_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931553","file1":"1396931551","file0":"1396931548","file4":"1396931557","file5":"1396931560","file3":"1396931554"},"map_files_photo_id_array":[{"photo_id":"1396931560","filename":"file5"},{"photo_id":"1396931553","filename":"file2"},{"photo_id":"1396931557","filename":"file4"},{"photo_id":"1396931551","filename":"file1"},{"photo_id":"1396931548","filename":"file0"},{"photo_id":"1396931554","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396931551":["hashtag1","hashtag2"]},{"1396931560":["hashtag1","hashtag2"]},{"1396931554":["hashtag1","hashtag2"]},{"1396931548":["hashtag1","hashtag2"]},{"1396931557":["hashtag1","hashtag2"]},{"1396931553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396931551, 1396931560, 1396931554, 1396931548, 1396931557, 1396931553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23186016082764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:55:42.421682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_32_2701.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_34_2577.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_38_3589.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_41_2659.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_43_2688.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_46_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/10/31/image_31102025_10_31_32_2701.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_34_2577.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_38_3589.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_41_2659.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_43_2688.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_46_2901.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0185561180114746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:56:03.181812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/54/image_29112025_18_54_24_10531.jpg', '/home/pi/Desktop/images/29112025/18/54/image_29112025_18_55_04_9679.jpg', '/home/pi/Desktop/images/29112025/18/55/image_29112025_18_55_14_9673.jpg', '/home/pi/Desktop/images/29112025/18/55/image_29112025_18_55_34_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/54/image_29112025_18_54_24_10531.jpg
/home/pi/Desktop/images/29112025/18/54/image_29112025_18_55_04_9679.jpg
/home/pi/Desktop/images/29112025/18/55/image_29112025_18_55_14_9673.jpg
/home/pi/Desktop/images/29112025/18/55/image_29112025_18_55_34_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931579","1396931578","1396931575","1396931577"],"photo_ids_order":["1396931575","1396931577","1396931578","1396931579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bfc01842b0c9b114ba7cc57b7459e904.jpg","text":"TemporaryFile(/tmp/multipartBody5340751605928140421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439023823,"filename":"image_29112025_18_55_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/11/29/0471db12c7662f22a5abe5730a686e61.jpg","text":"TemporaryFile(/tmp/multipartBody7605175796686439844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439023823,"filename":"image_29112025_18_55_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fb1876cbc792a318d5d847db3dbb574.jpg","text":"TemporaryFile(/tmp/multipartBody4280269604115177584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439023823,"filename":"image_29112025_18_54_24_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67c1a773d00e938096cb71cde38678a7.jpg","text":"TemporaryFile(/tmp/multipartBody2958158520456002670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439023823,"filename":"image_29112025_18_55_04_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931578","file1":"1396931577","file0":"1396931575","file3":"1396931579"},"map_files_photo_id_array":[{"photo_id":"1396931578","filename":"file2"},{"photo_id":"1396931577","filename":"file1"},{"photo_id":"1396931575","filename":"file0"},{"photo_id":"1396931579","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396931579":["hashtag1","hashtag2"]},{"1396931578":["hashtag1","hashtag2"]},{"1396931575":["hashtag1","hashtag2"]},{"1396931577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396931579, 1396931578, 1396931575, 1396931577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.926949739456177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 18:56:32.674542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_53_3671.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_55_2565.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_58_2641.jpg', '/home/pi/Desktop/images/25112025/19/01/image_25112025_19_02_01_3714.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_04_2645.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_07_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_53_3671.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_55_2565.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_01_58_2641.jpg
/home/pi/Desktop/images/25112025/19/01/image_25112025_19_02_01_3714.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_04_2645.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_07_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":["1396931591","1396931594","1396931588","1396931597","1396931599","1396931598"],"photo_ids_order":["1396931588","1396931591","1396931594","1396931597","1396931598","1396931599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b56c6f23a26e50ac008b4c63a60b12d.jpg","text":"TemporaryFile(/tmp/multipartBody6296684349367595966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439054883,"filename":"image_25112025_19_01_55_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d33347953f1049fc21b8b03f88c98d0.jpg","text":"TemporaryFile(/tmp/multipartBody13689906491514167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439054883,"filename":"image_25112025_19_01_58_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f5778dc7f3159e01962f304d394a879.jpg","text":"TemporaryFile(/tmp/multipartBody8180776703964189943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439054883,"filename":"image_25112025_19_01_53_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45eabe231a627477b765b8d6a7e19dfc.jpg","text":"TemporaryFile(/tmp/multipartBody6193729250993828313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439054883,"filename":"image_25112025_19_02_01_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e54e3c80f0ed505fb4502e539eb756f.jpg","text":"TemporaryFile(/tmp/multipartBody3098423343911128144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439054883,"filename":"image_25112025_19_02_07_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7e4feaeb44d6693ccd068ad128c9ff9.jpg","text":"TemporaryFile(/tmp/multipartBody8214288619435737948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439054883,"filename":"image_25112025_19_02_04_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931594","file1":"1396931591","file0":"1396931588","file4":"1396931598","file5":"1396931599","file3":"1396931597"},"map_files_photo_id_array":[{"photo_id":"1396931599","filename":"file5"},{"photo_id":"1396931594","filename":"file2"},{"photo_id":"1396931598","filename":"file4"},{"photo_id":"1396931591","filename":"file1"},{"photo_id":"1396931588","filename":"file0"},{"photo_id":"1396931597","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396931591":["hashtag1","hashtag2"]},{"1396931594":["hashtag1","hashtag2"]},{"1396931588":["hashtag1","hashtag2"]},{"1396931597":["hashtag1","hashtag2"]},{"1396931599":["hashtag1","hashtag2"]},{"1396931598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396931591, 1396931594, 1396931588, 1396931597, 1396931599, 1396931598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86232233047485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 18:57:12.732867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_10_3590.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_13_2590.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_17_3662.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_19_2596.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_22_2563.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_25_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_10_3590.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_13_2590.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_17_3662.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_19_2596.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_22_2563.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_25_3661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396931600","1396931614","1396931602","1396931611","1396931605","1396931608"],"photo_ids_order":["1396931600","1396931602","1396931605","1396931608","1396931611","1396931614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7043675a9bdb9bed5d92ac1e49adedb.jpg","text":"TemporaryFile(/tmp/multipartBody6278191733983764842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439094787,"filename":"image_25112025_19_02_10_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3843ad3297d768a27fe55fdd11a5e73.jpg","text":"TemporaryFile(/tmp/multipartBody3262474291445227835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439094787,"filename":"image_25112025_19_02_25_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b65e0a26c511da530f10b29a213df67d.jpg","text":"TemporaryFile(/tmp/multipartBody3457012370399087185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439094787,"filename":"image_25112025_19_02_13_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f4d9bbe66a273535787e480af6b7c3f.jpg","text":"TemporaryFile(/tmp/multipartBody6308031870760172590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439094787,"filename":"image_25112025_19_02_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/11/29/b6757ba0298c46f3f88e7f705e121ac8.jpg","text":"TemporaryFile(/tmp/multipartBody4424624101737723281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439094787,"filename":"image_25112025_19_02_17_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95cf136a02adc961952f5d0dc058d022.jpg","text":"TemporaryFile(/tmp/multipartBody47570607426316055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439094787,"filename":"image_25112025_19_02_19_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396931605","file1":"1396931602","file0":"1396931600","file4":"1396931611","file5":"1396931614","file3":"1396931608"},"map_files_photo_id_array":[{"photo_id":"1396931614","filename":"file5"},{"photo_id":"1396931605","filename":"file2"},{"photo_id":"1396931611","filename":"file4"},{"photo_id":"1396931602","filename":"file1"},{"photo_id":"1396931600","filename":"file0"},{"photo_id":"1396931608","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396931600":["hashtag1","hashtag2"]},{"1396931614":["hashtag1","hashtag2"]},{"1396931602":["hashtag1","hashtag2"]},{"1396931611":["hashtag1","hashtag2"]},{"1396931605":["hashtag1","hashtag2"]},{"1396931608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396931600, 1396931614, 1396931602, 1396931611, 1396931605, 1396931608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.334434032440186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 18:59:03.303297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/55/image_29112025_18_55_44_9859.jpg', '/home/pi/Desktop/images/29112025/18/55/image_29112025_18_56_04_9731.jpg', '/home/pi/Desktop/images/29112025/18/56/image_29112025_18_56_25_10700.jpg', '/home/pi/Desktop/images/29112025/18/56/image_29112025_18_56_35_10088.jpg', '/home/pi/Desktop/images/29112025/18/56/image_29112025_18_56_54_9876.jpg', '/home/pi/Desktop/images/29112025/18/56/image_29112025_18_57_04_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/55/image_29112025_18_55_44_9859.jpg
/home/pi/Desktop/images/29112025/18/55/image_29112025_18_56_04_9731.jpg
/home/pi/Desktop/images/29112025/18/56/image_29112025_18_56_25_10700.jpg
/home/pi/Desktop/images/29112025/18/56/image_29112025_18_56_35_10088.jpg
/home/pi/Desktop/images/29112025/18/56/image_29112025_18_56_54_9876.jpg
/home/pi/Desktop/images/29112025/18/56/image_29112025_18_57_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":["1396932206","1396932122","1396932195","1396932198","1396932202","1396932159"],"photo_ids_order":["1396932122","1396932159","1396932195","1396932198","1396932202","1396932206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/039082e06ea11bd1b8d6471fba0b5b87.jpg","text":"TemporaryFile(/tmp/multipartBody6655755635415774309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439204059,"filename":"image_29112025_18_57_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/11/29/f9600dab86d2ba4907c7846e9bcaa81d.jpg","text":"TemporaryFile(/tmp/multipartBody8260232814806182230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439204059,"filename":"image_29112025_18_55_44_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a06476438797c447e201db5a482f0877.jpg","text":"TemporaryFile(/tmp/multipartBody912120121723118000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439204059,"filename":"image_29112025_18_56_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/11/29/94fcf264876557bffbc6724c1b823fcd.jpg","text":"TemporaryFile(/tmp/multipartBody1655855730387671031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439204059,"filename":"image_29112025_18_56_35_10088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19cd43b29a50246836ddf8a07f5da8e7.jpg","text":"TemporaryFile(/tmp/multipartBody1753149137051227972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439204059,"filename":"image_29112025_18_56_54_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e4d89a120fa75d955a2ae7fcf3a0d89.jpg","text":"TemporaryFile(/tmp/multipartBody4221850723281208534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439204059,"filename":"image_29112025_18_56_04_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396932195","file1":"1396932159","file0":"1396932122","file4":"1396932202","file5":"1396932206","file3":"1396932198"},"map_files_photo_id_array":[{"photo_id":"1396932206","filename":"file5"},{"photo_id":"1396932195","filename":"file2"},{"photo_id":"1396932202","filename":"file4"},{"photo_id":"1396932159","filename":"file1"},{"photo_id":"1396932122","filename":"file0"},{"photo_id":"1396932198","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396932206":["hashtag1","hashtag2"]},{"1396932122":["hashtag1","hashtag2"]},{"1396932195":["hashtag1","hashtag2"]},{"1396932198":["hashtag1","hashtag2"]},{"1396932202":["hashtag1","hashtag2"]},{"1396932159":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396932206, 1396932122, 1396932195, 1396932198, 1396932202, 1396932159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48465585708618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 18:59:42.240873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_32_2701.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_34_2577.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_38_3589.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_41_2659.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_43_2688.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_46_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/10/31/image_31102025_10_31_32_2701.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_34_2577.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_38_3589.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_41_2659.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_43_2688.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_46_2901.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396932401","1396932331","1396932291","1396932537","1396932471","1396932618"],"photo_ids_order":["1396932291","1396932331","1396932401","1396932471","1396932537","1396932618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e821f50c33c001bfca77bddb44a56896.jpg","text":"TemporaryFile(/tmp/multipartBody7395443236106377132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439243251,"filename":"image_31102025_10_31_38_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2f0ae5cdc537a0df6c51b12920f7bf2.jpg","text":"TemporaryFile(/tmp/multipartBody9213390802335262099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439243251,"filename":"image_31102025_10_31_34_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/102fd719739558baa5f9ea5495ac4cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3458327002017489131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439243251,"filename":"image_31102025_10_31_32_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78336bfde89aa5c42b6e5740b11ab4f3.jpg","text":"TemporaryFile(/tmp/multipartBody8751374510450997832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439243251,"filename":"image_31102025_10_31_43_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e96afb7491bb58efc09236aa499a336.jpg","text":"TemporaryFile(/tmp/multipartBody3509705388493283071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439243251,"filename":"image_31102025_10_31_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/11/29/c5c1a3856c0408977586f6ebf45b1215.jpg","text":"TemporaryFile(/tmp/multipartBody7769222010480197984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439243251,"filename":"image_31102025_10_31_46_2901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396932401","file1":"1396932331","file0":"1396932291","file4":"1396932537","file5":"1396932618","file3":"1396932471"},"map_files_photo_id_array":[{"photo_id":"1396932618","filename":"file5"},{"photo_id":"1396932401","filename":"file2"},{"photo_id":"1396932537","filename":"file4"},{"photo_id":"1396932331","filename":"file1"},{"photo_id":"1396932291","filename":"file0"},{"photo_id":"1396932471","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396932401":["hashtag1","hashtag2"]},{"1396932331":["hashtag1","hashtag2"]},{"1396932291":["hashtag1","hashtag2"]},{"1396932537":["hashtag1","hashtag2"]},{"1396932471":["hashtag1","hashtag2"]},{"1396932618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396932401, 1396932331, 1396932291, 1396932537, 1396932471, 1396932618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11476254463196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:00:22.399652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/57/image_29112025_18_57_15_10719.jpg', '/home/pi/Desktop/images/29112025/18/57/image_29112025_18_57_24_9538.jpg', '/home/pi/Desktop/images/29112025/18/57/image_29112025_18_57_34_9611.jpg', '/home/pi/Desktop/images/29112025/18/57/image_29112025_18_57_54_9711.jpg', '/home/pi/Desktop/images/29112025/18/57/image_29112025_18_58_04_9747.jpg', '/home/pi/Desktop/images/29112025/18/58/image_29112025_18_58_15_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/57/image_29112025_18_57_15_10719.jpg
/home/pi/Desktop/images/29112025/18/57/image_29112025_18_57_24_9538.jpg
/home/pi/Desktop/images/29112025/18/57/image_29112025_18_57_34_9611.jpg
/home/pi/Desktop/images/29112025/18/57/image_29112025_18_57_54_9711.jpg
/home/pi/Desktop/images/29112025/18/57/image_29112025_18_58_04_9747.jpg
/home/pi/Desktop/images/29112025/18/58/image_29112025_18_58_15_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396933147","1396932976","1396933402","1396933047","1396933308","1396933235"],"photo_ids_order":["1396932976","1396933047","1396933147","1396933235","1396933308","1396933402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e2d3e5ab7a93cb37be98ff19ea6eaec.jpg","text":"TemporaryFile(/tmp/multipartBody3423590571599864709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439283086,"filename":"image_29112025_18_57_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/11/29/d89299639c00981cb42c39fce00cba80.jpg","text":"TemporaryFile(/tmp/multipartBody6738771388045436216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439283086,"filename":"image_29112025_18_57_15_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1e562977c24bb8b9c6578e5473b9f74.jpg","text":"TemporaryFile(/tmp/multipartBody9146268287295606386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439283086,"filename":"image_29112025_18_58_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27d880a41c98e13c81701b8eee9157dc.jpg","text":"TemporaryFile(/tmp/multipartBody8454704481958123838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439283086,"filename":"image_29112025_18_57_24_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5680a629ed67b3ef2419ae9a48fa82a0.jpg","text":"TemporaryFile(/tmp/multipartBody440217274256334724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439283086,"filename":"image_29112025_18_58_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/11/29/6bb74ab5f555466a76eb0d9c24b97be2.jpg","text":"TemporaryFile(/tmp/multipartBody5993318933438158499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439283086,"filename":"image_29112025_18_57_54_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396933147","file1":"1396933047","file0":"1396932976","file4":"1396933308","file5":"1396933402","file3":"1396933235"},"map_files_photo_id_array":[{"photo_id":"1396933402","filename":"file5"},{"photo_id":"1396933147","filename":"file2"},{"photo_id":"1396933308","filename":"file4"},{"photo_id":"1396933047","filename":"file1"},{"photo_id":"1396932976","filename":"file0"},{"photo_id":"1396933235","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396933147":["hashtag1","hashtag2"]},{"1396932976":["hashtag1","hashtag2"]},{"1396933402":["hashtag1","hashtag2"]},{"1396933047":["hashtag1","hashtag2"]},{"1396933308":["hashtag1","hashtag2"]},{"1396933235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396933147, 1396932976, 1396933402, 1396933047, 1396933308, 1396933235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19829750061035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:01:03.278356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/58/image_29112025_18_58_24_9628.jpg', '/home/pi/Desktop/images/29112025/18/58/image_29112025_18_58_34_9594.jpg', '/home/pi/Desktop/images/29112025/18/58/image_29112025_18_58_45_10752.jpg', '/home/pi/Desktop/images/29112025/18/58/image_29112025_18_58_54_9678.jpg', '/home/pi/Desktop/images/29112025/18/58/image_29112025_18_59_04_9827.jpg', '/home/pi/Desktop/images/29112025/18/59/image_29112025_18_59_15_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/58/image_29112025_18_58_24_9628.jpg
/home/pi/Desktop/images/29112025/18/58/image_29112025_18_58_34_9594.jpg
/home/pi/Desktop/images/29112025/18/58/image_29112025_18_58_45_10752.jpg
/home/pi/Desktop/images/29112025/18/58/image_29112025_18_58_54_9678.jpg
/home/pi/Desktop/images/29112025/18/58/image_29112025_18_59_04_9827.jpg
/home/pi/Desktop/images/29112025/18/59/image_29112025_18_59_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":["1396933901","1396933702","1396933794","1396933827","1396933760","1396933862"],"photo_ids_order":["1396933702","1396933760","1396933794","1396933827","1396933862","1396933901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/753fe17fee837939dec89a1bdb8d509c.jpg","text":"TemporaryFile(/tmp/multipartBody2817356419422909199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439324035,"filename":"image_29112025_18_59_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/11/29/fd3d91e790949f9e871f5809b6dc5a24.jpg","text":"TemporaryFile(/tmp/multipartBody8263121815893578111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439324035,"filename":"image_29112025_18_58_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/11/29/3f0bbbeeca68f46ea3e09c05693ebb48.jpg","text":"TemporaryFile(/tmp/multipartBody4072020500344503841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439324035,"filename":"image_29112025_18_58_45_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45673a4c849807a7fa90ff51866544a5.jpg","text":"TemporaryFile(/tmp/multipartBody8365542885282512485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439324035,"filename":"image_29112025_18_58_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/11/29/e9b1f67b4313514b8c32a9bfdc0ab57c.jpg","text":"TemporaryFile(/tmp/multipartBody98944704009372920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439324035,"filename":"image_29112025_18_58_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d97306430a8edbc3e2fa7fa86691a14c.jpg","text":"TemporaryFile(/tmp/multipartBody3648069973761417598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439324035,"filename":"image_29112025_18_59_04_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396933794","file1":"1396933760","file0":"1396933702","file4":"1396933862","file5":"1396933901","file3":"1396933827"},"map_files_photo_id_array":[{"photo_id":"1396933901","filename":"file5"},{"photo_id":"1396933794","filename":"file2"},{"photo_id":"1396933862","filename":"file4"},{"photo_id":"1396933760","filename":"file1"},{"photo_id":"1396933702","filename":"file0"},{"photo_id":"1396933827","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396933901":["hashtag1","hashtag2"]},{"1396933702":["hashtag1","hashtag2"]},{"1396933794":["hashtag1","hashtag2"]},{"1396933827":["hashtag1","hashtag2"]},{"1396933760":["hashtag1","hashtag2"]},{"1396933862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396933901, 1396933702, 1396933794, 1396933827, 1396933760, 1396933862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83907079696655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:01:42.635617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_50_3673.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_53_2947.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_55_2568.jpg', '/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_59_3562.jpg', '/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_01_2620.jpg', '/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_08_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_50_3673.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_53_2947.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_55_2568.jpg
/home/pi/Desktop/images/31102025/10/31/image_31102025_10_31_59_3562.jpg
/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_01_2620.jpg
/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_08_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396934182","1396933946","1396934043","1396933989","1396934112","1396933952"],"photo_ids_order":["1396933946","1396933952","1396933989","1396934043","1396934112","1396934182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e220f4ee3d8dd9d001a08d4f5c77d174.jpg","text":"TemporaryFile(/tmp/multipartBody3911322160959882381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439363812,"filename":"image_31102025_10_32_08_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/70b0b6a31c9d5ca5d17adf9b4245b125.jpg","text":"TemporaryFile(/tmp/multipartBody7906067375946904560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439363812,"filename":"image_31102025_10_31_50_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35b1fb17a6fc99e261451ee6a04d6233.jpg","text":"TemporaryFile(/tmp/multipartBody3625084635491245199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439363812,"filename":"image_31102025_10_31_59_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba2b6495e9e86a5a606bafa1fcb53258.jpg","text":"TemporaryFile(/tmp/multipartBody6667061522159924245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439363812,"filename":"image_31102025_10_31_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/11/29/b12c2f93f724293c460476a4866a73f6.jpg","text":"TemporaryFile(/tmp/multipartBody7907943336641570571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439363812,"filename":"image_31102025_10_32_01_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e00bd034476be80be441909de7cfae23.jpg","text":"TemporaryFile(/tmp/multipartBody8914291642850697923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439363812,"filename":"image_31102025_10_31_53_2947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396933989","file1":"1396933952","file0":"1396933946","file4":"1396934112","file5":"1396934182","file3":"1396934043"},"map_files_photo_id_array":[{"photo_id":"1396934182","filename":"file5"},{"photo_id":"1396933989","filename":"file2"},{"photo_id":"1396934112","filename":"file4"},{"photo_id":"1396933952","filename":"file1"},{"photo_id":"1396933946","filename":"file0"},{"photo_id":"1396934043","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396934182":["hashtag1","hashtag2"]},{"1396933946":["hashtag1","hashtag2"]},{"1396934043":["hashtag1","hashtag2"]},{"1396933989":["hashtag1","hashtag2"]},{"1396934112":["hashtag1","hashtag2"]},{"1396933952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396934182, 1396933946, 1396934043, 1396933989, 1396934112, 1396933952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61440920829773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:02:22.945002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/18/59/image_29112025_18_59_24_9683.jpg', '/home/pi/Desktop/images/29112025/18/59/image_29112025_18_59_45_10612.jpg', '/home/pi/Desktop/images/29112025/18/59/image_29112025_18_59_54_9652.jpg', '/home/pi/Desktop/images/29112025/19/00/image_29112025_19_00_14_10056.jpg', '/home/pi/Desktop/images/29112025/19/00/image_29112025_19_00_25_10660.jpg', '/home/pi/Desktop/images/29112025/19/00/image_29112025_19_00_35_9573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/18/59/image_29112025_18_59_24_9683.jpg
/home/pi/Desktop/images/29112025/18/59/image_29112025_18_59_45_10612.jpg
/home/pi/Desktop/images/29112025/18/59/image_29112025_18_59_54_9652.jpg
/home/pi/Desktop/images/29112025/19/00/image_29112025_19_00_14_10056.jpg
/home/pi/Desktop/images/29112025/19/00/image_29112025_19_00_25_10660.jpg
/home/pi/Desktop/images/29112025/19/00/image_29112025_19_00_35_9573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396934383","1396934481","1396934478","1396934460","1396934355","1396934372"],"photo_ids_order":["1396934355","1396934372","1396934383","1396934460","1396934478","1396934481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/455f95704d09d1ec48d733452a5b6dc6.jpg","text":"TemporaryFile(/tmp/multipartBody8673750271122207474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439403671,"filename":"image_29112025_18_59_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/11/29/e7fb44e23702ab9c243b4e25b1b5a960.jpg","text":"TemporaryFile(/tmp/multipartBody4316311749696148616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439403671,"filename":"image_29112025_19_00_35_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b249a473412b8136f4c9ee2c9eafe059.jpg","text":"TemporaryFile(/tmp/multipartBody4896164115643844372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439403671,"filename":"image_29112025_19_00_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/462c241b0681c4a5d5e17d4bcb0469a3.jpg","text":"TemporaryFile(/tmp/multipartBody7512684355933884960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439403671,"filename":"image_29112025_19_00_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5536e1d87c964c8eeb819049e46296dc.jpg","text":"TemporaryFile(/tmp/multipartBody3787311633355551172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439403671,"filename":"image_29112025_18_59_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5892508bd9485c409d70eb31a375c161.jpg","text":"TemporaryFile(/tmp/multipartBody1610576088054995140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439403671,"filename":"image_29112025_18_59_45_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934383","file1":"1396934372","file0":"1396934355","file4":"1396934478","file5":"1396934481","file3":"1396934460"},"map_files_photo_id_array":[{"photo_id":"1396934481","filename":"file5"},{"photo_id":"1396934383","filename":"file2"},{"photo_id":"1396934478","filename":"file4"},{"photo_id":"1396934372","filename":"file1"},{"photo_id":"1396934355","filename":"file0"},{"photo_id":"1396934460","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396934383":["hashtag1","hashtag2"]},{"1396934481":["hashtag1","hashtag2"]},{"1396934478":["hashtag1","hashtag2"]},{"1396934460":["hashtag1","hashtag2"]},{"1396934355":["hashtag1","hashtag2"]},{"1396934372":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396934383, 1396934481, 1396934478, 1396934460, 1396934355, 1396934372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18502616882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:03:02.750587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/00/image_29112025_19_00_45_10596.jpg', '/home/pi/Desktop/images/29112025/19/00/image_29112025_19_00_55_9697.jpg', '/home/pi/Desktop/images/29112025/19/00/image_29112025_19_01_05_9786.jpg', '/home/pi/Desktop/images/29112025/19/01/image_29112025_19_01_14_9679.jpg', '/home/pi/Desktop/images/29112025/19/01/image_29112025_19_01_25_10607.jpg', '/home/pi/Desktop/images/29112025/19/01/image_29112025_19_01_35_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/00/image_29112025_19_00_45_10596.jpg
/home/pi/Desktop/images/29112025/19/00/image_29112025_19_00_55_9697.jpg
/home/pi/Desktop/images/29112025/19/00/image_29112025_19_01_05_9786.jpg
/home/pi/Desktop/images/29112025/19/01/image_29112025_19_01_14_9679.jpg
/home/pi/Desktop/images/29112025/19/01/image_29112025_19_01_25_10607.jpg
/home/pi/Desktop/images/29112025/19/01/image_29112025_19_01_35_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396934548","1396934542","1396934545","1396934539","1396934541","1396934543"],"photo_ids_order":["1396934539","1396934541","1396934542","1396934543","1396934545","1396934548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86f088668becfaf83a508b787e8e8855.jpg","text":"TemporaryFile(/tmp/multipartBody5732804255440246287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439443489,"filename":"image_29112025_19_01_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/11/29/53677060758d295d2a41e5b078833949.jpg","text":"TemporaryFile(/tmp/multipartBody2764060279427405309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439443489,"filename":"image_29112025_19_01_05_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98bda9695033509eaf9f1590e6ec98a3.jpg","text":"TemporaryFile(/tmp/multipartBody3828937813872887652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439443489,"filename":"image_29112025_19_01_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/11/29/30b4871fdce282405f13a3263ed851cf.jpg","text":"TemporaryFile(/tmp/multipartBody7554566445936175568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439443489,"filename":"image_29112025_19_00_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/11/29/fb3ce7323a05fbfdcfdfa5b6c5f7c15b.jpg","text":"TemporaryFile(/tmp/multipartBody4182315259090831499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439443489,"filename":"image_29112025_19_00_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/11/29/fd3c84a83bb20fccab656f3a94bbfb42.jpg","text":"TemporaryFile(/tmp/multipartBody8575742965950319798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439443489,"filename":"image_29112025_19_01_14_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934542","file1":"1396934541","file0":"1396934539","file4":"1396934545","file5":"1396934548","file3":"1396934543"},"map_files_photo_id_array":[{"photo_id":"1396934548","filename":"file5"},{"photo_id":"1396934542","filename":"file2"},{"photo_id":"1396934545","filename":"file4"},{"photo_id":"1396934541","filename":"file1"},{"photo_id":"1396934539","filename":"file0"},{"photo_id":"1396934543","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396934548":["hashtag1","hashtag2"]},{"1396934542":["hashtag1","hashtag2"]},{"1396934545":["hashtag1","hashtag2"]},{"1396934539":["hashtag1","hashtag2"]},{"1396934541":["hashtag1","hashtag2"]},{"1396934543":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396934548, 1396934542, 1396934545, 1396934539, 1396934541, 1396934543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20675301551819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:03:42.113808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_11_2738.jpg', '/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_13_2670.jpg', '/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_19_2766.jpg', '/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_23_3696.jpg', '/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_25_2765.jpg', '/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_28_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/10/32/image_31102025_10_32_11_2738.jpg
/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_13_2670.jpg
/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_19_2766.jpg
/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_23_3696.jpg
/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_25_2765.jpg
/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_28_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":["1396934560","1396934563","1396934562","1396934559","1396934561","1396934558"],"photo_ids_order":["1396934558","1396934559","1396934560","1396934561","1396934562","1396934563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bfaade12971a891846ed3bf2437d9508.jpg","text":"TemporaryFile(/tmp/multipartBody7533156280260231705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439483283,"filename":"image_31102025_10_32_19_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64d9b020324e768ec4ec1b1482831661.jpg","text":"TemporaryFile(/tmp/multipartBody2017609420005845165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439483283,"filename":"image_31102025_10_32_28_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78634b19c8bd6671b3240b0da671ef94.jpg","text":"TemporaryFile(/tmp/multipartBody1973369880375801386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439483283,"filename":"image_31102025_10_32_25_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61899ab163c133653653e1e929cb6cd9.jpg","text":"TemporaryFile(/tmp/multipartBody3385187301356904000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439483283,"filename":"image_31102025_10_32_13_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8170b46256810b98021af27121053fa1.jpg","text":"TemporaryFile(/tmp/multipartBody7297327764980511083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439483283,"filename":"image_31102025_10_32_23_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/00ce9da36dfcfdf32077a745e9ab9c94.jpg","text":"TemporaryFile(/tmp/multipartBody6991083822104888572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439483283,"filename":"image_31102025_10_32_11_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934560","file1":"1396934559","file0":"1396934558","file4":"1396934562","file5":"1396934563","file3":"1396934561"},"map_files_photo_id_array":[{"photo_id":"1396934563","filename":"file5"},{"photo_id":"1396934560","filename":"file2"},{"photo_id":"1396934562","filename":"file4"},{"photo_id":"1396934559","filename":"file1"},{"photo_id":"1396934558","filename":"file0"},{"photo_id":"1396934561","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396934560":["hashtag1","hashtag2"]},{"1396934563":["hashtag1","hashtag2"]},{"1396934562":["hashtag1","hashtag2"]},{"1396934559":["hashtag1","hashtag2"]},{"1396934561":["hashtag1","hashtag2"]},{"1396934558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396934560, 1396934563, 1396934562, 1396934559, 1396934561, 1396934558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.374781370162964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:04:22.321860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/01/image_29112025_19_01_45_10643.jpg', '/home/pi/Desktop/images/29112025/19/01/image_29112025_19_01_55_9670.jpg', '/home/pi/Desktop/images/29112025/19/01/image_29112025_19_02_05_9654.jpg', '/home/pi/Desktop/images/29112025/19/02/image_29112025_19_02_15_10750.jpg', '/home/pi/Desktop/images/29112025/19/02/image_29112025_19_02_35_9735.jpg', '/home/pi/Desktop/images/29112025/19/02/image_29112025_19_02_45_10522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/01/image_29112025_19_01_45_10643.jpg
/home/pi/Desktop/images/29112025/19/01/image_29112025_19_01_55_9670.jpg
/home/pi/Desktop/images/29112025/19/01/image_29112025_19_02_05_9654.jpg
/home/pi/Desktop/images/29112025/19/02/image_29112025_19_02_15_10750.jpg
/home/pi/Desktop/images/29112025/19/02/image_29112025_19_02_35_9735.jpg
/home/pi/Desktop/images/29112025/19/02/image_29112025_19_02_45_10522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396934572","1396934566","1396934568","1396934576","1396934579","1396934584"],"photo_ids_order":["1396934566","1396934568","1396934572","1396934576","1396934579","1396934584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da1791d79c7a11636bd6551f31ce595f.jpg","text":"TemporaryFile(/tmp/multipartBody1301566799405289326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439523029,"filename":"image_29112025_19_02_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04862e459348b252eada6af6c6474994.jpg","text":"TemporaryFile(/tmp/multipartBody6801203831221450864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439523029,"filename":"image_29112025_19_01_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/11/29/428fa47c8a13108bf68ef299a279f8be.jpg","text":"TemporaryFile(/tmp/multipartBody3119060404303649460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439523029,"filename":"image_29112025_19_01_55_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b3843b5559398aca62557e0d3d5af82.jpg","text":"TemporaryFile(/tmp/multipartBody5766904582409376836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439523029,"filename":"image_29112025_19_02_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/11/29/6cce2faae91e50faff49d2ed46354ff6.jpg","text":"TemporaryFile(/tmp/multipartBody7045375153593974770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439523029,"filename":"image_29112025_19_02_35_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af73cc3a8ac10b8ea5fc5a687f8aefb6.jpg","text":"TemporaryFile(/tmp/multipartBody7648011526419359871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439523029,"filename":"image_29112025_19_02_45_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934572","file1":"1396934568","file0":"1396934566","file4":"1396934579","file5":"1396934584","file3":"1396934576"},"map_files_photo_id_array":[{"photo_id":"1396934584","filename":"file5"},{"photo_id":"1396934572","filename":"file2"},{"photo_id":"1396934579","filename":"file4"},{"photo_id":"1396934568","filename":"file1"},{"photo_id":"1396934566","filename":"file0"},{"photo_id":"1396934576","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396934572":["hashtag1","hashtag2"]},{"1396934566":["hashtag1","hashtag2"]},{"1396934568":["hashtag1","hashtag2"]},{"1396934576":["hashtag1","hashtag2"]},{"1396934579":["hashtag1","hashtag2"]},{"1396934584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396934572, 1396934566, 1396934568, 1396934576, 1396934579, 1396934584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2629017829895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:05:03.014653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/02/image_29112025_19_02_55_9585.jpg', '/home/pi/Desktop/images/29112025/19/02/image_29112025_19_03_05_9633.jpg', '/home/pi/Desktop/images/29112025/19/03/image_29112025_19_03_15_9906.jpg', '/home/pi/Desktop/images/29112025/19/03/image_29112025_19_03_25_10532.jpg', '/home/pi/Desktop/images/29112025/19/03/image_29112025_19_03_35_9755.jpg', '/home/pi/Desktop/images/29112025/19/03/image_29112025_19_03_44_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/02/image_29112025_19_02_55_9585.jpg
/home/pi/Desktop/images/29112025/19/02/image_29112025_19_03_05_9633.jpg
/home/pi/Desktop/images/29112025/19/03/image_29112025_19_03_15_9906.jpg
/home/pi/Desktop/images/29112025/19/03/image_29112025_19_03_25_10532.jpg
/home/pi/Desktop/images/29112025/19/03/image_29112025_19_03_35_9755.jpg
/home/pi/Desktop/images/29112025/19/03/image_29112025_19_03_44_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":["1396934592","1396934589","1396934591","1396934594","1396934597","1396934590"],"photo_ids_order":["1396934589","1396934590","1396934591","1396934592","1396934594","1396934597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2aa4ff36a23364576dc9b4fa71383f8.jpg","text":"TemporaryFile(/tmp/multipartBody4500350431699993289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439563758,"filename":"image_29112025_19_03_25_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3c510dbc30473e303d9171ce705ceea.jpg","text":"TemporaryFile(/tmp/multipartBody1169602243595873918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439563758,"filename":"image_29112025_19_02_55_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b39eb3b1da3f8fdcbe5b146b4f764bfc.jpg","text":"TemporaryFile(/tmp/multipartBody8305948514328525786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439563758,"filename":"image_29112025_19_03_15_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb2ea193faf055d8ea33becc52099890.jpg","text":"TemporaryFile(/tmp/multipartBody1761275515138323789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439563758,"filename":"image_29112025_19_03_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/11/29/ef9c18c264728aa2115889b17a0efca4.jpg","text":"TemporaryFile(/tmp/multipartBody6293174528805873991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439563758,"filename":"image_29112025_19_03_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/11/29/e1865f14f3f4b94b8d2bf9ad4d539d26.jpg","text":"TemporaryFile(/tmp/multipartBody3201218133798162208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439563758,"filename":"image_29112025_19_03_05_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934591","file1":"1396934590","file0":"1396934589","file4":"1396934594","file5":"1396934597","file3":"1396934592"},"map_files_photo_id_array":[{"photo_id":"1396934597","filename":"file5"},{"photo_id":"1396934591","filename":"file2"},{"photo_id":"1396934594","filename":"file4"},{"photo_id":"1396934590","filename":"file1"},{"photo_id":"1396934589","filename":"file0"},{"photo_id":"1396934592","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396934592":["hashtag1","hashtag2"]},{"1396934589":["hashtag1","hashtag2"]},{"1396934591":["hashtag1","hashtag2"]},{"1396934594":["hashtag1","hashtag2"]},{"1396934597":["hashtag1","hashtag2"]},{"1396934590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396934592, 1396934589, 1396934591, 1396934594, 1396934597, 1396934590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17353677749634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:05:42.449302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_43_2870.jpg', '/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_46_2774.jpg', '/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_50_3626.jpg', '/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_52_2697.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_04_2560.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_07_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/10/32/image_31102025_10_32_43_2870.jpg
/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_46_2774.jpg
/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_50_3626.jpg
/home/pi/Desktop/images/31102025/10/32/image_31102025_10_32_52_2697.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_04_2560.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_07_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":["1396934608","1396934617","1396934611","1396934619","1396934613","1396934615"],"photo_ids_order":["1396934608","1396934611","1396934613","1396934615","1396934617","1396934619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2eedb4e3e0d454211bd9e2f05b27b9e6.jpg","text":"TemporaryFile(/tmp/multipartBody8195328439830798300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439603674,"filename":"image_31102025_10_32_43_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3ab4ec38c31d7615112548888379a2f.jpg","text":"TemporaryFile(/tmp/multipartBody5483831780092961659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439603674,"filename":"image_31102025_10_33_04_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83c40438226f757c9b52b06896d5f4a9.jpg","text":"TemporaryFile(/tmp/multipartBody1210779038121403519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439603674,"filename":"image_31102025_10_32_46_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f86b2dafbd1528d2466abb01d4154dd5.jpg","text":"TemporaryFile(/tmp/multipartBody4326718860357689758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439603674,"filename":"image_31102025_10_33_07_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1b7eb511fe659e87a1ed30f6e5699ac.jpg","text":"TemporaryFile(/tmp/multipartBody3978681168698579113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439603674,"filename":"image_31102025_10_32_50_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6bcfddb68a5003776f18c440c4e06ab.jpg","text":"TemporaryFile(/tmp/multipartBody1772355687404715103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439603674,"filename":"image_31102025_10_32_52_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934613","file1":"1396934611","file0":"1396934608","file4":"1396934617","file5":"1396934619","file3":"1396934615"},"map_files_photo_id_array":[{"photo_id":"1396934619","filename":"file5"},{"photo_id":"1396934613","filename":"file2"},{"photo_id":"1396934617","filename":"file4"},{"photo_id":"1396934611","filename":"file1"},{"photo_id":"1396934608","filename":"file0"},{"photo_id":"1396934615","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396934608":["hashtag1","hashtag2"]},{"1396934617":["hashtag1","hashtag2"]},{"1396934611":["hashtag1","hashtag2"]},{"1396934619":["hashtag1","hashtag2"]},{"1396934613":["hashtag1","hashtag2"]},{"1396934615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396934608, 1396934617, 1396934611, 1396934619, 1396934613, 1396934615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.796602964401245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:06:22.661688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/03/image_29112025_19_04_05_9550.jpg', '/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_35_9696.jpg', '/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_45_9874.jpg', '/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_55_9686.jpg', '/home/pi/Desktop/images/29112025/19/04/image_29112025_19_05_05_10764.jpg', '/home/pi/Desktop/images/29112025/19/05/image_29112025_19_05_15_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/03/image_29112025_19_04_05_9550.jpg
/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_35_9696.jpg
/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_45_9874.jpg
/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_55_9686.jpg
/home/pi/Desktop/images/29112025/19/04/image_29112025_19_05_05_10764.jpg
/home/pi/Desktop/images/29112025/19/05/image_29112025_19_05_15_9610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6127989292144775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 19:06:32.584196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_28_2765.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_31_2732.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_34_3520.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_38_3169.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_40_2560.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_43_2527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_28_2765.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_31_2732.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_34_3520.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_38_3169.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_40_2560.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_43_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":["1396934644","1396934643","1396934634","1396934642","1396934639","1396934630"],"photo_ids_order":["1396934630","1396934634","1396934639","1396934642","1396934643","1396934644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a40fcd8d895f728bf5fe93dda25d9f23.jpg","text":"TemporaryFile(/tmp/multipartBody6227751274678515900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439654756,"filename":"image_25112025_19_02_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/11/29/9928c58a4b26f50c6580562b2c36b0ab.jpg","text":"TemporaryFile(/tmp/multipartBody6563859553885007667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439654756,"filename":"image_25112025_19_02_40_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c77e837ff945f639f071b843bed1686.jpg","text":"TemporaryFile(/tmp/multipartBody7876213403102057820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439654756,"filename":"image_25112025_19_02_31_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b22b144b06832cb0229d648af5c49db.jpg","text":"TemporaryFile(/tmp/multipartBody8323357968029859062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439654756,"filename":"image_25112025_19_02_38_3169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49dae0377645454317a4052d0e2655ee.jpg","text":"TemporaryFile(/tmp/multipartBody6065466461429447873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439654756,"filename":"image_25112025_19_02_34_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39a37150e6a55c2830f2fb1990e624fc.jpg","text":"TemporaryFile(/tmp/multipartBody103456722591009164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439654756,"filename":"image_25112025_19_02_28_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934639","file1":"1396934634","file0":"1396934630","file4":"1396934643","file5":"1396934644","file3":"1396934642"},"map_files_photo_id_array":[{"photo_id":"1396934644","filename":"file5"},{"photo_id":"1396934639","filename":"file2"},{"photo_id":"1396934643","filename":"file4"},{"photo_id":"1396934634","filename":"file1"},{"photo_id":"1396934630","filename":"file0"},{"photo_id":"1396934642","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396934644":["hashtag1","hashtag2"]},{"1396934643":["hashtag1","hashtag2"]},{"1396934634":["hashtag1","hashtag2"]},{"1396934642":["hashtag1","hashtag2"]},{"1396934639":["hashtag1","hashtag2"]},{"1396934630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396934644, 1396934643, 1396934634, 1396934642, 1396934639, 1396934630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34433650970459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 19:07:12.824254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_46_3632.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_49_2793.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_52_2535.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_55_3641.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_58_2567.jpg', '/home/pi/Desktop/images/25112025/19/02/image_25112025_19_03_01_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_46_3632.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_49_2793.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_52_2535.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_55_3641.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_02_58_2567.jpg
/home/pi/Desktop/images/25112025/19/02/image_25112025_19_03_01_3589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396934650","1396934653","1396934647","1396934656","1396934660","1396934645"],"photo_ids_order":["1396934645","1396934647","1396934650","1396934653","1396934656","1396934660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7146e133d504abe8dac57da4983a246.jpg","text":"TemporaryFile(/tmp/multipartBody2229637596790593925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439694912,"filename":"image_25112025_19_02_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/11/29/e6dda95631af4cd2879450deb324d315.jpg","text":"TemporaryFile(/tmp/multipartBody7411648126351706051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439694912,"filename":"image_25112025_19_02_55_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/545be1a6cc5d0438f2332f46bea62d42.jpg","text":"TemporaryFile(/tmp/multipartBody8557085835029096313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439694912,"filename":"image_25112025_19_02_49_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7d42596386a36ed42cc7884d4088c1b.jpg","text":"TemporaryFile(/tmp/multipartBody126891107509882501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439694912,"filename":"image_25112025_19_02_58_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ed6ceb66cb8bbf562730de0d5536314.jpg","text":"TemporaryFile(/tmp/multipartBody510700054828705158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439694912,"filename":"image_25112025_19_03_01_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2821a429cffb796dbd02ad3b4e9ac597.jpg","text":"TemporaryFile(/tmp/multipartBody1805316069248046230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439694912,"filename":"image_25112025_19_02_46_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934650","file1":"1396934647","file0":"1396934645","file4":"1396934656","file5":"1396934660","file3":"1396934653"},"map_files_photo_id_array":[{"photo_id":"1396934660","filename":"file5"},{"photo_id":"1396934650","filename":"file2"},{"photo_id":"1396934656","filename":"file4"},{"photo_id":"1396934647","filename":"file1"},{"photo_id":"1396934645","filename":"file0"},{"photo_id":"1396934653","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396934650":["hashtag1","hashtag2"]},{"1396934653":["hashtag1","hashtag2"]},{"1396934647":["hashtag1","hashtag2"]},{"1396934656":["hashtag1","hashtag2"]},{"1396934660":["hashtag1","hashtag2"]},{"1396934645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396934650, 1396934653, 1396934647, 1396934656, 1396934660, 1396934645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95753049850464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:08:02.419003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/03/image_29112025_19_04_05_9550.jpg', '/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_35_9696.jpg', '/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_45_9874.jpg', '/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_55_9686.jpg', '/home/pi/Desktop/images/29112025/19/04/image_29112025_19_05_05_10764.jpg', '/home/pi/Desktop/images/29112025/19/05/image_29112025_19_05_15_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/03/image_29112025_19_04_05_9550.jpg
/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_35_9696.jpg
/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_45_9874.jpg
/home/pi/Desktop/images/29112025/19/04/image_29112025_19_04_55_9686.jpg
/home/pi/Desktop/images/29112025/19/04/image_29112025_19_05_05_10764.jpg
/home/pi/Desktop/images/29112025/19/05/image_29112025_19_05_15_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396934665","1396934664","1396934667","1396934672","1396934666","1396934669"],"photo_ids_order":["1396934664","1396934665","1396934666","1396934667","1396934669","1396934672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9b75df1751f328ce971c46dafff3e1c.jpg","text":"TemporaryFile(/tmp/multipartBody112802842593392166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439743104,"filename":"image_29112025_19_04_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/398112f359ccf682c87059c412e58e87.jpg","text":"TemporaryFile(/tmp/multipartBody2054107541231263771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439743104,"filename":"image_29112025_19_04_05_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d830c37ce27b2cf2b89d264cfd0b858.jpg","text":"TemporaryFile(/tmp/multipartBody6955862816602786679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439743104,"filename":"image_29112025_19_04_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/11/29/6b5371a99a6ae2c50583d7e292c97328.jpg","text":"TemporaryFile(/tmp/multipartBody5848602314877019256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439743104,"filename":"image_29112025_19_05_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/11/29/d55f31a26af9c39a30fa90ad6615ced0.jpg","text":"TemporaryFile(/tmp/multipartBody4208357687478971539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439743104,"filename":"image_29112025_19_04_45_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cae9b5c68b521b121554759387ff7b3.jpg","text":"TemporaryFile(/tmp/multipartBody3077921955381092697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439743104,"filename":"image_29112025_19_05_05_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934666","file1":"1396934665","file0":"1396934664","file4":"1396934669","file5":"1396934672","file3":"1396934667"},"map_files_photo_id_array":[{"photo_id":"1396934672","filename":"file5"},{"photo_id":"1396934666","filename":"file2"},{"photo_id":"1396934669","filename":"file4"},{"photo_id":"1396934665","filename":"file1"},{"photo_id":"1396934664","filename":"file0"},{"photo_id":"1396934667","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396934665":["hashtag1","hashtag2"]},{"1396934664":["hashtag1","hashtag2"]},{"1396934667":["hashtag1","hashtag2"]},{"1396934672":["hashtag1","hashtag2"]},{"1396934666":["hashtag1","hashtag2"]},{"1396934669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396934665, 1396934664, 1396934667, 1396934672, 1396934666, 1396934669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.038055658340454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:08:41.943426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_13_2764.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_16_2707.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_20_3717.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_22_2686.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_25_2728.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_29_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_13_2764.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_16_2707.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_20_3717.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_22_2686.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_25_2728.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_29_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396934686","1396934688","1396934682","1396934685","1396934687","1396934689"],"photo_ids_order":["1396934682","1396934685","1396934686","1396934687","1396934688","1396934689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fb7d34fcc85d3888b3403e932dd53d6.jpg","text":"TemporaryFile(/tmp/multipartBody1058420572221088034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439783084,"filename":"image_31102025_10_33_20_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f0a104112b030b215c0b1dba468ab12.jpg","text":"TemporaryFile(/tmp/multipartBody4291717463887017117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439783084,"filename":"image_31102025_10_33_25_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5269645729ba2ae2829389bf63e910fc.jpg","text":"TemporaryFile(/tmp/multipartBody7988393407625088691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439783084,"filename":"image_31102025_10_33_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/11/29/96f78777fc9e7d24e7cc86d2cc4a100b.jpg","text":"TemporaryFile(/tmp/multipartBody8979187953560042706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439783084,"filename":"image_31102025_10_33_16_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0e7e2cf8c680b02de7712ce2f69be7d.jpg","text":"TemporaryFile(/tmp/multipartBody2880946499104893068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439783084,"filename":"image_31102025_10_33_22_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e058ead7aea68f37177ce7ca9467214.jpg","text":"TemporaryFile(/tmp/multipartBody1321871332526347953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439783084,"filename":"image_31102025_10_33_29_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934686","file1":"1396934685","file0":"1396934682","file4":"1396934688","file5":"1396934689","file3":"1396934687"},"map_files_photo_id_array":[{"photo_id":"1396934689","filename":"file5"},{"photo_id":"1396934686","filename":"file2"},{"photo_id":"1396934688","filename":"file4"},{"photo_id":"1396934685","filename":"file1"},{"photo_id":"1396934682","filename":"file0"},{"photo_id":"1396934687","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396934686":["hashtag1","hashtag2"]},{"1396934688":["hashtag1","hashtag2"]},{"1396934682":["hashtag1","hashtag2"]},{"1396934685":["hashtag1","hashtag2"]},{"1396934687":["hashtag1","hashtag2"]},{"1396934689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396934686, 1396934688, 1396934682, 1396934685, 1396934687, 1396934689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.369568824768066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:09:22.107251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/05/image_29112025_19_05_25_9710.jpg', '/home/pi/Desktop/images/29112025/19/05/image_29112025_19_05_45_9626.jpg', '/home/pi/Desktop/images/29112025/19/05/image_29112025_19_05_55_9636.jpg', '/home/pi/Desktop/images/29112025/19/05/image_29112025_19_06_05_10818.jpg', '/home/pi/Desktop/images/29112025/19/06/image_29112025_19_06_15_9858.jpg', '/home/pi/Desktop/images/29112025/19/06/image_29112025_19_06_35_9957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/05/image_29112025_19_05_25_9710.jpg
/home/pi/Desktop/images/29112025/19/05/image_29112025_19_05_45_9626.jpg
/home/pi/Desktop/images/29112025/19/05/image_29112025_19_05_55_9636.jpg
/home/pi/Desktop/images/29112025/19/05/image_29112025_19_06_05_10818.jpg
/home/pi/Desktop/images/29112025/19/06/image_29112025_19_06_15_9858.jpg
/home/pi/Desktop/images/29112025/19/06/image_29112025_19_06_35_9957.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396934707","1396934704","1396934696","1396934699","1396934693","1396934702"],"photo_ids_order":["1396934693","1396934696","1396934699","1396934702","1396934704","1396934707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f641ecdf4b03ede4ae3988d43383f95.jpg","text":"TemporaryFile(/tmp/multipartBody4194381949745348926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439822793,"filename":"image_29112025_19_06_35_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6e58cd72b242a270fc55c7891bd2f92.jpg","text":"TemporaryFile(/tmp/multipartBody5801834683358160365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439822793,"filename":"image_29112025_19_06_15_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/995eeaca7d879fcc9a7c617870b4aa50.jpg","text":"TemporaryFile(/tmp/multipartBody9146616346076575005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439822793,"filename":"image_29112025_19_05_45_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba9def4ca6e55e62e3408e5cb8cc4d38.jpg","text":"TemporaryFile(/tmp/multipartBody6675033612102757484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439822793,"filename":"image_29112025_19_05_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/11/29/ad8d850c471f030c3961aebb40bd85cd.jpg","text":"TemporaryFile(/tmp/multipartBody6976005262602397544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439822793,"filename":"image_29112025_19_05_25_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3acd2f92d881a4f6d2eb1f287ea34637.jpg","text":"TemporaryFile(/tmp/multipartBody7263475990691954273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439822793,"filename":"image_29112025_19_06_05_10818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934699","file1":"1396934696","file0":"1396934693","file4":"1396934704","file5":"1396934707","file3":"1396934702"},"map_files_photo_id_array":[{"photo_id":"1396934707","filename":"file5"},{"photo_id":"1396934699","filename":"file2"},{"photo_id":"1396934704","filename":"file4"},{"photo_id":"1396934696","filename":"file1"},{"photo_id":"1396934693","filename":"file0"},{"photo_id":"1396934702","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396934707":["hashtag1","hashtag2"]},{"1396934704":["hashtag1","hashtag2"]},{"1396934696":["hashtag1","hashtag2"]},{"1396934699":["hashtag1","hashtag2"]},{"1396934693":["hashtag1","hashtag2"]},{"1396934702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396934707, 1396934704, 1396934696, 1396934699, 1396934693, 1396934702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40270447731018 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:10:02.748544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/06/image_29112025_19_06_45_10614.jpg', '/home/pi/Desktop/images/29112025/19/06/image_29112025_19_06_55_9575.jpg', '/home/pi/Desktop/images/29112025/19/06/image_29112025_19_07_05_9801.jpg', '/home/pi/Desktop/images/29112025/19/07/image_29112025_19_07_15_10618.jpg', '/home/pi/Desktop/images/29112025/19/07/image_29112025_19_07_25_9672.jpg', '/home/pi/Desktop/images/29112025/19/07/image_29112025_19_08_05_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/06/image_29112025_19_06_45_10614.jpg
/home/pi/Desktop/images/29112025/19/06/image_29112025_19_06_55_9575.jpg
/home/pi/Desktop/images/29112025/19/06/image_29112025_19_07_05_9801.jpg
/home/pi/Desktop/images/29112025/19/07/image_29112025_19_07_15_10618.jpg
/home/pi/Desktop/images/29112025/19/07/image_29112025_19_07_25_9672.jpg
/home/pi/Desktop/images/29112025/19/07/image_29112025_19_08_05_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":["1396934758","1396934740","1396934739","1396934762","1396934732","1396934708"],"photo_ids_order":["1396934708","1396934732","1396934739","1396934740","1396934758","1396934762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/782d02c3d982dab44f31fc8da13d72ff.jpg","text":"TemporaryFile(/tmp/multipartBody3016287185199148643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439863501,"filename":"image_29112025_19_07_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29bbf289f9adb0a86136bfe4101c7fe6.jpg","text":"TemporaryFile(/tmp/multipartBody7028054208476240254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439863501,"filename":"image_29112025_19_07_15_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9ab558535cdfecdb683c62ecb6c6079.jpg","text":"TemporaryFile(/tmp/multipartBody2792075871614711484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439863501,"filename":"image_29112025_19_07_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/11/29/63c8b31640a5423b9a8e9b430ff3e0f7.jpg","text":"TemporaryFile(/tmp/multipartBody2060543219453955947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439863501,"filename":"image_29112025_19_08_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/869f2b9fc15232a14c1d5089c87d923f.jpg","text":"TemporaryFile(/tmp/multipartBody7047913400985514327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439863501,"filename":"image_29112025_19_06_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/11/29/74b28276598afe57aa166873a2e741b4.jpg","text":"TemporaryFile(/tmp/multipartBody6191939795394225168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439863501,"filename":"image_29112025_19_06_45_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934739","file1":"1396934732","file0":"1396934708","file4":"1396934758","file5":"1396934762","file3":"1396934740"},"map_files_photo_id_array":[{"photo_id":"1396934762","filename":"file5"},{"photo_id":"1396934739","filename":"file2"},{"photo_id":"1396934758","filename":"file4"},{"photo_id":"1396934732","filename":"file1"},{"photo_id":"1396934708","filename":"file0"},{"photo_id":"1396934740","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396934758":["hashtag1","hashtag2"]},{"1396934740":["hashtag1","hashtag2"]},{"1396934739":["hashtag1","hashtag2"]},{"1396934762":["hashtag1","hashtag2"]},{"1396934732":["hashtag1","hashtag2"]},{"1396934708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396934758, 1396934740, 1396934739, 1396934762, 1396934732, 1396934708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87161445617676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:10:42.299649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_31_2658.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_34_2690.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_37_2705.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_41_3672.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_46_2709.jpg', '/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_55_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/10/33/image_31102025_10_33_31_2658.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_34_2690.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_37_2705.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_41_3672.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_46_2709.jpg
/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_55_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":["1396934791","1396934790","1396934781","1396934778","1396934780","1396934782"],"photo_ids_order":["1396934778","1396934780","1396934781","1396934782","1396934790","1396934791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35b391ac79bdaee815ed6254f83e1434.jpg","text":"TemporaryFile(/tmp/multipartBody1992739970811714541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439903507,"filename":"image_31102025_10_33_55_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec8fcc5ac32d18df759e403ff7f46753.jpg","text":"TemporaryFile(/tmp/multipartBody8449802638301099907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439903507,"filename":"image_31102025_10_33_46_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0d7e9f7328ef0116cea7742fa7ef0d5.jpg","text":"TemporaryFile(/tmp/multipartBody3988983822191323391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439903507,"filename":"image_31102025_10_33_37_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/abc5f5675b92354e8e5b551123b33a49.jpg","text":"TemporaryFile(/tmp/multipartBody2058706660152635844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439903507,"filename":"image_31102025_10_33_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/11/29/a654a8ba276f068d1e392f3ebfcabca8.jpg","text":"TemporaryFile(/tmp/multipartBody5749729964638456620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439903507,"filename":"image_31102025_10_33_34_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3b22ccbc975140506320e0be18b2eac.jpg","text":"TemporaryFile(/tmp/multipartBody3692620615444686825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439903507,"filename":"image_31102025_10_33_41_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934781","file1":"1396934780","file0":"1396934778","file4":"1396934790","file5":"1396934791","file3":"1396934782"},"map_files_photo_id_array":[{"photo_id":"1396934791","filename":"file5"},{"photo_id":"1396934781","filename":"file2"},{"photo_id":"1396934790","filename":"file4"},{"photo_id":"1396934780","filename":"file1"},{"photo_id":"1396934778","filename":"file0"},{"photo_id":"1396934782","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396934791":["hashtag1","hashtag2"]},{"1396934790":["hashtag1","hashtag2"]},{"1396934781":["hashtag1","hashtag2"]},{"1396934778":["hashtag1","hashtag2"]},{"1396934780":["hashtag1","hashtag2"]},{"1396934782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396934791, 1396934790, 1396934781, 1396934778, 1396934780, 1396934782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.131990909576416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:11:22.460959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/08/image_29112025_19_08_15_9957.jpg', '/home/pi/Desktop/images/29112025/19/08/image_29112025_19_08_35_9634.jpg', '/home/pi/Desktop/images/29112025/19/08/image_29112025_19_08_45_10711.jpg', '/home/pi/Desktop/images/29112025/19/08/image_29112025_19_08_55_9706.jpg', '/home/pi/Desktop/images/29112025/19/09/image_29112025_19_09_15_9830.jpg', '/home/pi/Desktop/images/29112025/19/09/image_29112025_19_09_35_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/08/image_29112025_19_08_15_9957.jpg
/home/pi/Desktop/images/29112025/19/08/image_29112025_19_08_35_9634.jpg
/home/pi/Desktop/images/29112025/19/08/image_29112025_19_08_45_10711.jpg
/home/pi/Desktop/images/29112025/19/08/image_29112025_19_08_55_9706.jpg
/home/pi/Desktop/images/29112025/19/09/image_29112025_19_09_15_9830.jpg
/home/pi/Desktop/images/29112025/19/09/image_29112025_19_09_35_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":["1396934941","1396934944","1396934947","1396934841","1396934915","1396934875"],"photo_ids_order":["1396934841","1396934875","1396934915","1396934941","1396934944","1396934947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae3dabd703f0e947c4a31cb5b8276af3.jpg","text":"TemporaryFile(/tmp/multipartBody6642233545637380412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439943126,"filename":"image_29112025_19_08_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/11/29/4b3c4416c922fd7b4966e6d9f86d8c86.jpg","text":"TemporaryFile(/tmp/multipartBody8064776981621526954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439943126,"filename":"image_29112025_19_09_15_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c135882c7336c6280b1fde4dd2778ebe.jpg","text":"TemporaryFile(/tmp/multipartBody1024795662006154099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439943126,"filename":"image_29112025_19_09_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1529e26be19c5cc070d5eafec2913ed6.jpg","text":"TemporaryFile(/tmp/multipartBody5628947419520150624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439943126,"filename":"image_29112025_19_08_15_9957.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9dc18d4eba92e479b50aa56776cecf4b.jpg","text":"TemporaryFile(/tmp/multipartBody753317117909468943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439943126,"filename":"image_29112025_19_08_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/11/29/3345cb774a65e3d24fa9d9e29589a174.jpg","text":"TemporaryFile(/tmp/multipartBody683486108063385746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439943126,"filename":"image_29112025_19_08_35_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934915","file1":"1396934875","file0":"1396934841","file4":"1396934944","file5":"1396934947","file3":"1396934941"},"map_files_photo_id_array":[{"photo_id":"1396934947","filename":"file5"},{"photo_id":"1396934915","filename":"file2"},{"photo_id":"1396934944","filename":"file4"},{"photo_id":"1396934875","filename":"file1"},{"photo_id":"1396934841","filename":"file0"},{"photo_id":"1396934941","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396934941":["hashtag1","hashtag2"]},{"1396934944":["hashtag1","hashtag2"]},{"1396934947":["hashtag1","hashtag2"]},{"1396934841":["hashtag1","hashtag2"]},{"1396934915":["hashtag1","hashtag2"]},{"1396934875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396934941, 1396934944, 1396934947, 1396934841, 1396934915, 1396934875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75345301628113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:12:02.431864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/09/image_29112025_19_09_45_9718.jpg', '/home/pi/Desktop/images/29112025/19/09/image_29112025_19_09_55_9856.jpg', '/home/pi/Desktop/images/29112025/19/09/image_29112025_19_10_05_10802.jpg', '/home/pi/Desktop/images/29112025/19/10/image_29112025_19_10_15_9788.jpg', '/home/pi/Desktop/images/29112025/19/10/image_29112025_19_10_25_9725.jpg', '/home/pi/Desktop/images/29112025/19/10/image_29112025_19_10_45_9951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/09/image_29112025_19_09_45_9718.jpg
/home/pi/Desktop/images/29112025/19/09/image_29112025_19_09_55_9856.jpg
/home/pi/Desktop/images/29112025/19/09/image_29112025_19_10_05_10802.jpg
/home/pi/Desktop/images/29112025/19/10/image_29112025_19_10_15_9788.jpg
/home/pi/Desktop/images/29112025/19/10/image_29112025_19_10_25_9725.jpg
/home/pi/Desktop/images/29112025/19/10/image_29112025_19_10_45_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":["1396934956","1396934950","1396934953","1396934949","1396934951","1396934948"],"photo_ids_order":["1396934948","1396934949","1396934950","1396934951","1396934953","1396934956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48e35391404ddee7aa7c5da853830225.jpg","text":"TemporaryFile(/tmp/multipartBody1869200963762393250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439983157,"filename":"image_29112025_19_10_45_9951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bd111198ca1667574f662177f965476.jpg","text":"TemporaryFile(/tmp/multipartBody3817160128141856086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439983157,"filename":"image_29112025_19_10_05_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10bab432ad94da0e09fad3db197d53b6.jpg","text":"TemporaryFile(/tmp/multipartBody1830693255350481465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439983157,"filename":"image_29112025_19_10_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5509ab35c6640a3112c12dc7fa27addd.jpg","text":"TemporaryFile(/tmp/multipartBody6141357546975574398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439983157,"filename":"image_29112025_19_09_55_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/708cb7907c2b11fb1aa217b973a4114f.jpg","text":"TemporaryFile(/tmp/multipartBody7755231571400393036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439983157,"filename":"image_29112025_19_10_15_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a8c04bf9c9471db568eb8157a2a0bf3.jpg","text":"TemporaryFile(/tmp/multipartBody8445675901365609285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764439983157,"filename":"image_29112025_19_09_45_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934950","file1":"1396934949","file0":"1396934948","file4":"1396934953","file5":"1396934956","file3":"1396934951"},"map_files_photo_id_array":[{"photo_id":"1396934956","filename":"file5"},{"photo_id":"1396934950","filename":"file2"},{"photo_id":"1396934953","filename":"file4"},{"photo_id":"1396934949","filename":"file1"},{"photo_id":"1396934948","filename":"file0"},{"photo_id":"1396934951","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396934956":["hashtag1","hashtag2"]},{"1396934950":["hashtag1","hashtag2"]},{"1396934953":["hashtag1","hashtag2"]},{"1396934949":["hashtag1","hashtag2"]},{"1396934951":["hashtag1","hashtag2"]},{"1396934948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396934956, 1396934950, 1396934953, 1396934949, 1396934951, 1396934948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18071436882019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:12:42.044360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/33/image_31102025_10_33_58_2682.jpg', '/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_05_3694.jpg', '/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_07_2610.jpg', '/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_16_2642.jpg', '/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_20_3586.jpg', '/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_31_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/10/33/image_31102025_10_33_58_2682.jpg
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_05_3694.jpg
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_07_2610.jpg
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_16_2642.jpg
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_20_3586.jpg
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_31_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":["1396934964","1396934967","1396934981","1396934966","1396934969","1396934968"],"photo_ids_order":["1396934964","1396934966","1396934967","1396934968","1396934969","1396934981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa37668ca2a0e017b5429546c676fc9e.jpg","text":"TemporaryFile(/tmp/multipartBody5702621129032538504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440023225,"filename":"image_31102025_10_33_58_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b811802ef5c8c51c086157942ed734c.jpg","text":"TemporaryFile(/tmp/multipartBody3774017251567000991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440023225,"filename":"image_31102025_10_34_07_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/057bdf94e9aae7a2eb5025149f4ed69e.jpg","text":"TemporaryFile(/tmp/multipartBody6434992906530500399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440023225,"filename":"image_31102025_10_34_31_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54e289452c6db2a41984f2980e556787.jpg","text":"TemporaryFile(/tmp/multipartBody8229314063101261424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440023225,"filename":"image_31102025_10_34_05_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26104b1fc1b6879b0e96234ad36142bb.jpg","text":"TemporaryFile(/tmp/multipartBody8290482307291797507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440023225,"filename":"image_31102025_10_34_20_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6ae0f11e9342c7e4b2200a63dcf10e1.jpg","text":"TemporaryFile(/tmp/multipartBody6807039868473012500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440023225,"filename":"image_31102025_10_34_16_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396934967","file1":"1396934966","file0":"1396934964","file4":"1396934969","file5":"1396934981","file3":"1396934968"},"map_files_photo_id_array":[{"photo_id":"1396934981","filename":"file5"},{"photo_id":"1396934967","filename":"file2"},{"photo_id":"1396934969","filename":"file4"},{"photo_id":"1396934966","filename":"file1"},{"photo_id":"1396934964","filename":"file0"},{"photo_id":"1396934968","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396934964":["hashtag1","hashtag2"]},{"1396934967":["hashtag1","hashtag2"]},{"1396934981":["hashtag1","hashtag2"]},{"1396934966":["hashtag1","hashtag2"]},{"1396934969":["hashtag1","hashtag2"]},{"1396934968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396934964, 1396934967, 1396934981, 1396934966, 1396934969, 1396934968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02612638473511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:13:22.212046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/10/image_29112025_19_10_55_10719.jpg', '/home/pi/Desktop/images/29112025/19/11/image_29112025_19_11_45_10669.jpg', '/home/pi/Desktop/images/29112025/19/11/image_29112025_19_12_05_9564.jpg', '/home/pi/Desktop/images/29112025/19/12/image_29112025_19_12_14_9827.jpg', '/home/pi/Desktop/images/29112025/19/12/image_29112025_19_12_35_9666.jpg', '/home/pi/Desktop/images/29112025/19/12/image_29112025_19_12_45_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/10/image_29112025_19_10_55_10719.jpg
/home/pi/Desktop/images/29112025/19/11/image_29112025_19_11_45_10669.jpg
/home/pi/Desktop/images/29112025/19/11/image_29112025_19_12_05_9564.jpg
/home/pi/Desktop/images/29112025/19/12/image_29112025_19_12_14_9827.jpg
/home/pi/Desktop/images/29112025/19/12/image_29112025_19_12_35_9666.jpg
/home/pi/Desktop/images/29112025/19/12/image_29112025_19_12_45_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396935007","1396935009","1396935044","1396935029","1396935014","1396935005"],"photo_ids_order":["1396935005","1396935007","1396935009","1396935014","1396935029","1396935044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d835ac6ab68daafcd6e1cfcc1e62c457.jpg","text":"TemporaryFile(/tmp/multipartBody320069342663711455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440062912,"filename":"image_29112025_19_11_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/11/29/14014379d123eee5e5260596459ac20d.jpg","text":"TemporaryFile(/tmp/multipartBody9204706212721008529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440062912,"filename":"image_29112025_19_12_05_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/230dd49640580ef4cb721728734de09b.jpg","text":"TemporaryFile(/tmp/multipartBody5446735721362817772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440062912,"filename":"image_29112025_19_12_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/11/29/0cd4946c80545a36b817be46dde03be1.jpg","text":"TemporaryFile(/tmp/multipartBody446712371670249455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440062912,"filename":"image_29112025_19_12_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/11/29/a5e0f8b33e3bf659777b54e62d64343a.jpg","text":"TemporaryFile(/tmp/multipartBody4876723362409525252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440062912,"filename":"image_29112025_19_12_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/11/29/7d807cc5b32952fb544788796a564469.jpg","text":"TemporaryFile(/tmp/multipartBody3556017687910769654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440062912,"filename":"image_29112025_19_10_55_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396935009","file1":"1396935007","file0":"1396935005","file4":"1396935029","file5":"1396935044","file3":"1396935014"},"map_files_photo_id_array":[{"photo_id":"1396935044","filename":"file5"},{"photo_id":"1396935009","filename":"file2"},{"photo_id":"1396935029","filename":"file4"},{"photo_id":"1396935007","filename":"file1"},{"photo_id":"1396935005","filename":"file0"},{"photo_id":"1396935014","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396935007":["hashtag1","hashtag2"]},{"1396935009":["hashtag1","hashtag2"]},{"1396935044":["hashtag1","hashtag2"]},{"1396935029":["hashtag1","hashtag2"]},{"1396935014":["hashtag1","hashtag2"]},{"1396935005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396935007, 1396935009, 1396935044, 1396935029, 1396935014, 1396935005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60507917404175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:14:03.174929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/12/image_29112025_19_12_55_10755.jpg', '/home/pi/Desktop/images/29112025/19/13/image_29112025_19_13_15_9581.jpg', '/home/pi/Desktop/images/29112025/19/13/image_29112025_19_13_45_10514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/12/image_29112025_19_12_55_10755.jpg
/home/pi/Desktop/images/29112025/19/13/image_29112025_19_13_15_9581.jpg
/home/pi/Desktop/images/29112025/19/13/image_29112025_19_13_45_10514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396935195","1396935269","1396935229"],"photo_ids_order":["1396935195","1396935229","1396935269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/563e54182efafc738ffdc5e213a57486.jpg","text":"TemporaryFile(/tmp/multipartBody276339251231102790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440103800,"filename":"image_29112025_19_12_55_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9dea46a108297cbed13f0ea58b0f9137.jpg","text":"TemporaryFile(/tmp/multipartBody4929057912313111938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440103800,"filename":"image_29112025_19_13_45_10514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4d0923e4fb73e9876b2ccc833168f13.jpg","text":"TemporaryFile(/tmp/multipartBody895346827779107107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440103800,"filename":"image_29112025_19_13_15_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396935269","file1":"1396935229","file0":"1396935195"},"map_files_photo_id_array":[{"photo_id":"1396935269","filename":"file2"},{"photo_id":"1396935229","filename":"file1"},{"photo_id":"1396935195","filename":"file0"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396935195":["hashtag1","hashtag2"]},{"1396935269":["hashtag1","hashtag2"]},{"1396935229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396935195, 1396935269, 1396935229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.073203325271606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 19:14:32.470541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_04_2884.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_07_2700.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_10_2610.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_13_3543.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_16_2604.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_19_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_04_2884.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_07_2700.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_10_2610.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_13_3543.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_16_2604.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_19_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":["1396935418","1396935406","1396935417","1396935416","1396935410","1396935413"],"photo_ids_order":["1396935406","1396935410","1396935413","1396935416","1396935417","1396935418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14afde74edc6516d3f342f8985d299fa.jpg","text":"TemporaryFile(/tmp/multipartBody640414028133295571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440134645,"filename":"image_25112025_19_03_19_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5bb61614bd2e50b86d404ad377d058f.jpg","text":"TemporaryFile(/tmp/multipartBody7691386386873069257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440134645,"filename":"image_25112025_19_03_04_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91535efec2e193336456e84245968bf3.jpg","text":"TemporaryFile(/tmp/multipartBody594372958820648354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440134645,"filename":"image_25112025_19_03_16_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/634cc6f41459be721116d429f221df76.jpg","text":"TemporaryFile(/tmp/multipartBody9138301290351219177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440134645,"filename":"image_25112025_19_03_13_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d710a3bf394c9bb0dbcfbb27755719b.jpg","text":"TemporaryFile(/tmp/multipartBody6692048381788410398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440134645,"filename":"image_25112025_19_03_07_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0788263f4e0500b6ac9722a46b54fb72.jpg","text":"TemporaryFile(/tmp/multipartBody1869717518581678135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440134645,"filename":"image_25112025_19_03_10_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396935413","file1":"1396935410","file0":"1396935406","file4":"1396935417","file5":"1396935418","file3":"1396935416"},"map_files_photo_id_array":[{"photo_id":"1396935418","filename":"file5"},{"photo_id":"1396935413","filename":"file2"},{"photo_id":"1396935417","filename":"file4"},{"photo_id":"1396935410","filename":"file1"},{"photo_id":"1396935406","filename":"file0"},{"photo_id":"1396935416","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396935418":["hashtag1","hashtag2"]},{"1396935406":["hashtag1","hashtag2"]},{"1396935417":["hashtag1","hashtag2"]},{"1396935416":["hashtag1","hashtag2"]},{"1396935410":["hashtag1","hashtag2"]},{"1396935413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396935418, 1396935406, 1396935417, 1396935416, 1396935410, 1396935413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1391122341156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 19:15:12.547431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_22_3537.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_25_2684.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_28_3633.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_32_4069.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_34_1818.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_37_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_22_3537.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_25_2684.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_28_3633.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_32_4069.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_34_1818.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_37_2644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396935424","1396935450","1396935438","1396935428","1396935422","1396935448"],"photo_ids_order":["1396935422","1396935424","1396935428","1396935438","1396935448","1396935450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5b18062bedf1747ec5d72855a621e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7165117610223418829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440174592,"filename":"image_25112025_19_03_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/11/29/2aac7785e4b237244d6691971ca94df8.jpg","text":"TemporaryFile(/tmp/multipartBody5882559133013930289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440174592,"filename":"image_25112025_19_03_37_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1124f260c779fea0764ec458afae78ae.jpg","text":"TemporaryFile(/tmp/multipartBody803631283362675178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440174592,"filename":"image_25112025_19_03_32_4069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/723222eb31c25f3d83ce8314ceb81428.jpg","text":"TemporaryFile(/tmp/multipartBody3100118560604293833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440174592,"filename":"image_25112025_19_03_28_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/379959803cb2c9990ad44cffbfc5044b.jpg","text":"TemporaryFile(/tmp/multipartBody3295036184745540273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440174592,"filename":"image_25112025_19_03_22_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ccc41fa403f66afdb5350d190cb2e0f.jpg","text":"TemporaryFile(/tmp/multipartBody6182745954190983473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440174592,"filename":"image_25112025_19_03_34_1818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396935428","file1":"1396935424","file0":"1396935422","file4":"1396935448","file5":"1396935450","file3":"1396935438"},"map_files_photo_id_array":[{"photo_id":"1396935450","filename":"file5"},{"photo_id":"1396935428","filename":"file2"},{"photo_id":"1396935448","filename":"file4"},{"photo_id":"1396935424","filename":"file1"},{"photo_id":"1396935422","filename":"file0"},{"photo_id":"1396935438","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396935424":["hashtag1","hashtag2"]},{"1396935450":["hashtag1","hashtag2"]},{"1396935438":["hashtag1","hashtag2"]},{"1396935428":["hashtag1","hashtag2"]},{"1396935422":["hashtag1","hashtag2"]},{"1396935448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396935424, 1396935450, 1396935438, 1396935428, 1396935422, 1396935448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43560075759888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:16:02.507098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/13/image_29112025_19_13_55_9697.jpg', '/home/pi/Desktop/images/29112025/19/13/image_29112025_19_14_05_9634.jpg', '/home/pi/Desktop/images/29112025/19/14/image_29112025_19_14_15_10705.jpg', '/home/pi/Desktop/images/29112025/19/14/image_29112025_19_14_25_9673.jpg', '/home/pi/Desktop/images/29112025/19/14/image_29112025_19_14_35_9707.jpg', '/home/pi/Desktop/images/29112025/19/14/image_29112025_19_14_45_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/13/image_29112025_19_13_55_9697.jpg
/home/pi/Desktop/images/29112025/19/13/image_29112025_19_14_05_9634.jpg
/home/pi/Desktop/images/29112025/19/14/image_29112025_19_14_15_10705.jpg
/home/pi/Desktop/images/29112025/19/14/image_29112025_19_14_25_9673.jpg
/home/pi/Desktop/images/29112025/19/14/image_29112025_19_14_35_9707.jpg
/home/pi/Desktop/images/29112025/19/14/image_29112025_19_14_45_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":["1396935508","1396935505","1396935468","1396935504","1396935506","1396935478"],"photo_ids_order":["1396935468","1396935478","1396935504","1396935505","1396935506","1396935508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe3127de78b2b7d66c48dfc1af2f704a.jpg","text":"TemporaryFile(/tmp/multipartBody6661469511916280845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440223215,"filename":"image_29112025_19_14_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b9a062120dac1865b31b93196db06bc.jpg","text":"TemporaryFile(/tmp/multipartBody8064727794103940968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440223215,"filename":"image_29112025_19_14_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/11/29/0a140f2a4994fdce3d79a7170c7c7bc6.jpg","text":"TemporaryFile(/tmp/multipartBody3698734611518996035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440223215,"filename":"image_29112025_19_13_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/11/29/b17a21334336ea39dd0b0a2cf19b7097.jpg","text":"TemporaryFile(/tmp/multipartBody4834045019148234777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440223215,"filename":"image_29112025_19_14_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/11/29/fca9259de84ca13fa4fcd30c1e607b7f.jpg","text":"TemporaryFile(/tmp/multipartBody1031958970969235470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440223215,"filename":"image_29112025_19_14_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/11/29/bcbb5227dbd41c820903236b2bf1edb3.jpg","text":"TemporaryFile(/tmp/multipartBody8995042733145957932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440223215,"filename":"image_29112025_19_14_05_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396935504","file1":"1396935478","file0":"1396935468","file4":"1396935506","file5":"1396935508","file3":"1396935505"},"map_files_photo_id_array":[{"photo_id":"1396935508","filename":"file5"},{"photo_id":"1396935504","filename":"file2"},{"photo_id":"1396935506","filename":"file4"},{"photo_id":"1396935478","filename":"file1"},{"photo_id":"1396935468","filename":"file0"},{"photo_id":"1396935505","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396935508":["hashtag1","hashtag2"]},{"1396935505":["hashtag1","hashtag2"]},{"1396935468":["hashtag1","hashtag2"]},{"1396935504":["hashtag1","hashtag2"]},{"1396935506":["hashtag1","hashtag2"]},{"1396935478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396935508, 1396935505, 1396935468, 1396935504, 1396935506, 1396935478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22374367713928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:16:41.988997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_37_2713.jpg', '/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_40_3691.jpg', '/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_46_2647.jpg', '/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_49_3734.jpg', '/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_52_2946.jpg', '/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_55_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/10/34/image_31102025_10_34_37_2713.jpg
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_40_3691.jpg
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_46_2647.jpg
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_49_3734.jpg
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_52_2946.jpg
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_55_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":["1396935529","1396935517","1396935531","1396935525","1396935527","1396935521"],"photo_ids_order":["1396935517","1396935521","1396935525","1396935527","1396935529","1396935531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a4ece1479431f148e210fe8143f9b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6111057330023695170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440263115,"filename":"image_31102025_10_34_52_2946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa3fea3f44efba5d88662cf3e7c5b90f.jpg","text":"TemporaryFile(/tmp/multipartBody2769753713263081100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440263115,"filename":"image_31102025_10_34_37_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a526fd89f74d9c7e0f16017cafade2e.jpg","text":"TemporaryFile(/tmp/multipartBody3429224839932920353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440263115,"filename":"image_31102025_10_34_55_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa201bbbfee162ddcd30b242d52c6a4e.jpg","text":"TemporaryFile(/tmp/multipartBody1737449998446899004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440263115,"filename":"image_31102025_10_34_46_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19f3c08d9b70f36f1a38bdea5940523b.jpg","text":"TemporaryFile(/tmp/multipartBody1659931578043109723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440263115,"filename":"image_31102025_10_34_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/11/29/5e93713558566ffcb7e9966e7fb9bde9.jpg","text":"TemporaryFile(/tmp/multipartBody4650292063082877262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440263115,"filename":"image_31102025_10_34_40_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396935525","file1":"1396935521","file0":"1396935517","file4":"1396935529","file5":"1396935531","file3":"1396935527"},"map_files_photo_id_array":[{"photo_id":"1396935531","filename":"file5"},{"photo_id":"1396935525","filename":"file2"},{"photo_id":"1396935529","filename":"file4"},{"photo_id":"1396935521","filename":"file1"},{"photo_id":"1396935517","filename":"file0"},{"photo_id":"1396935527","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396935529":["hashtag1","hashtag2"]},{"1396935517":["hashtag1","hashtag2"]},{"1396935531":["hashtag1","hashtag2"]},{"1396935525":["hashtag1","hashtag2"]},{"1396935527":["hashtag1","hashtag2"]},{"1396935521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396935529, 1396935517, 1396935531, 1396935525, 1396935527, 1396935521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09494376182556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:17:22.160383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/14/image_29112025_19_14_55_9701.jpg', '/home/pi/Desktop/images/29112025/19/14/image_29112025_19_15_05_9764.jpg', '/home/pi/Desktop/images/29112025/19/15/image_29112025_19_15_35_9748.jpg', '/home/pi/Desktop/images/29112025/19/15/image_29112025_19_15_55_10763.jpg', '/home/pi/Desktop/images/29112025/19/15/image_29112025_19_16_05_9580.jpg', '/home/pi/Desktop/images/29112025/19/16/image_29112025_19_16_15_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/14/image_29112025_19_14_55_9701.jpg
/home/pi/Desktop/images/29112025/19/14/image_29112025_19_15_05_9764.jpg
/home/pi/Desktop/images/29112025/19/15/image_29112025_19_15_35_9748.jpg
/home/pi/Desktop/images/29112025/19/15/image_29112025_19_15_55_10763.jpg
/home/pi/Desktop/images/29112025/19/15/image_29112025_19_16_05_9580.jpg
/home/pi/Desktop/images/29112025/19/16/image_29112025_19_16_15_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396935535","1396935540","1396935543","1396935537","1396935546","1396935533"],"photo_ids_order":["1396935533","1396935535","1396935537","1396935540","1396935543","1396935546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/993f400166206f7384982542fc01f09b.jpg","text":"TemporaryFile(/tmp/multipartBody8209365456049919429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440302845,"filename":"image_29112025_19_15_05_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/737e32ae18d0859bdd18c91785d67d4f.jpg","text":"TemporaryFile(/tmp/multipartBody1169852932469273938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440302845,"filename":"image_29112025_19_15_55_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/179a5aa70829ca57997a3b86d6d743d8.jpg","text":"TemporaryFile(/tmp/multipartBody4950280739298203858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440302845,"filename":"image_29112025_19_16_05_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/938cc0e9fca7c5d688253a966cd6b925.jpg","text":"TemporaryFile(/tmp/multipartBody7527686157710050853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440302845,"filename":"image_29112025_19_15_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/11/29/140caa31f8a7cc8c54f54f2d39ec2be2.jpg","text":"TemporaryFile(/tmp/multipartBody7728357804287748805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440302845,"filename":"image_29112025_19_16_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/976a0e499731736298b126b2ee585f8c.jpg","text":"TemporaryFile(/tmp/multipartBody9046136728378274542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440302845,"filename":"image_29112025_19_14_55_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396935537","file1":"1396935535","file0":"1396935533","file4":"1396935543","file5":"1396935546","file3":"1396935540"},"map_files_photo_id_array":[{"photo_id":"1396935546","filename":"file5"},{"photo_id":"1396935537","filename":"file2"},{"photo_id":"1396935543","filename":"file4"},{"photo_id":"1396935535","filename":"file1"},{"photo_id":"1396935533","filename":"file0"},{"photo_id":"1396935540","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396935535":["hashtag1","hashtag2"]},{"1396935540":["hashtag1","hashtag2"]},{"1396935543":["hashtag1","hashtag2"]},{"1396935537":["hashtag1","hashtag2"]},{"1396935546":["hashtag1","hashtag2"]},{"1396935533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396935535, 1396935540, 1396935543, 1396935537, 1396935546, 1396935533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30428218841553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:18:02.830999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/16/image_29112025_19_16_25_10703.jpg', '/home/pi/Desktop/images/29112025/19/16/image_29112025_19_17_05_10622.jpg', '/home/pi/Desktop/images/29112025/19/17/image_29112025_19_17_15_9571.jpg', '/home/pi/Desktop/images/29112025/19/17/image_29112025_19_17_25_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/16/image_29112025_19_16_25_10703.jpg
/home/pi/Desktop/images/29112025/19/16/image_29112025_19_17_05_10622.jpg
/home/pi/Desktop/images/29112025/19/17/image_29112025_19_17_15_9571.jpg
/home/pi/Desktop/images/29112025/19/17/image_29112025_19_17_25_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":["1396935555","1396935551","1396935554","1396935553"],"photo_ids_order":["1396935551","1396935553","1396935554","1396935555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90a3ced2ea433ed13a9e8f0282b01288.jpg","text":"TemporaryFile(/tmp/multipartBody8126586448851968207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440343493,"filename":"image_29112025_19_17_25_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d844b348c2ca69fa478113c69a66d8ba.jpg","text":"TemporaryFile(/tmp/multipartBody2161481034413693402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440343493,"filename":"image_29112025_19_16_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/11/29/883c130e20c2dfe79fbbf3cf4f7df929.jpg","text":"TemporaryFile(/tmp/multipartBody2429759061764794020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440343493,"filename":"image_29112025_19_17_15_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bbb42be5fd1e0d94682f2555ca1cb4f9.jpg","text":"TemporaryFile(/tmp/multipartBody9213775861098156561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440343493,"filename":"image_29112025_19_17_05_10622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396935554","file1":"1396935553","file0":"1396935551","file3":"1396935555"},"map_files_photo_id_array":[{"photo_id":"1396935554","filename":"file2"},{"photo_id":"1396935553","filename":"file1"},{"photo_id":"1396935551","filename":"file0"},{"photo_id":"1396935555","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396935555":["hashtag1","hashtag2"]},{"1396935551":["hashtag1","hashtag2"]},{"1396935554":["hashtag1","hashtag2"]},{"1396935553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396935555, 1396935551, 1396935554, 1396935553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.34749674797058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 19:18:32.358893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_40_3374.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_43_2737.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_55_11819.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_58_1631.jpg', '/home/pi/Desktop/images/25112025/19/03/image_25112025_19_04_00_1652.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_03_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_40_3374.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_43_2737.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_55_11819.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_03_58_1631.jpg
/home/pi/Desktop/images/25112025/19/03/image_25112025_19_04_00_1652.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_03_1529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396935573","1396935570","1396935563","1396935566","1396935589","1396935625"],"photo_ids_order":["1396935563","1396935566","1396935570","1396935573","1396935589","1396935625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/506309c26b521dd343eac6a3ca6cc18e.jpg","text":"TemporaryFile(/tmp/multipartBody5180179852658300642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440374547,"filename":"image_25112025_19_03_58_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4db386e507d9dfa78f4d7c906d72fa87.jpg","text":"TemporaryFile(/tmp/multipartBody2289297371219907203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440374547,"filename":"image_25112025_19_03_55_11819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4e7c606bd4c316d89b98b85dbb84c98.jpg","text":"TemporaryFile(/tmp/multipartBody8989888880907105422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440374547,"filename":"image_25112025_19_03_40_3374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e394c78104625d066048bf8bd922a795.jpg","text":"TemporaryFile(/tmp/multipartBody7240711116378148910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440374547,"filename":"image_25112025_19_03_43_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ec7d0d5849430044084fc623cf59c0c.jpg","text":"TemporaryFile(/tmp/multipartBody7432904946594630222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440374547,"filename":"image_25112025_19_04_00_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52f1ff43ac0a2541e96b4ced80c4d63b.jpg","text":"TemporaryFile(/tmp/multipartBody6652172296010301514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440374547,"filename":"image_25112025_19_04_03_1529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396935570","file1":"1396935566","file0":"1396935563","file4":"1396935589","file5":"1396935625","file3":"1396935573"},"map_files_photo_id_array":[{"photo_id":"1396935625","filename":"file5"},{"photo_id":"1396935570","filename":"file2"},{"photo_id":"1396935589","filename":"file4"},{"photo_id":"1396935566","filename":"file1"},{"photo_id":"1396935563","filename":"file0"},{"photo_id":"1396935573","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396935573":["hashtag1","hashtag2"]},{"1396935570":["hashtag1","hashtag2"]},{"1396935563":["hashtag1","hashtag2"]},{"1396935566":["hashtag1","hashtag2"]},{"1396935589":["hashtag1","hashtag2"]},{"1396935625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396935573, 1396935570, 1396935563, 1396935566, 1396935589, 1396935625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.186962842941284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 19:19:12.493160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_17_11974.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_20_3094.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_22_1566.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_23_1604.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_25_1870.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_27_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_17_11974.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_20_3094.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_22_1566.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_23_1604.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_25_1870.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_27_1599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396935771","1396935980","1396935896","1396935848","1396935809","1396935937"],"photo_ids_order":["1396935771","1396935809","1396935848","1396935896","1396935937","1396935980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3de9fb936a3b052cf2b976942bdff839.jpg","text":"TemporaryFile(/tmp/multipartBody7101040778016690928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440414572,"filename":"image_25112025_19_04_17_11974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9673c7986195870d08860ebbf80748e1.jpg","text":"TemporaryFile(/tmp/multipartBody6594306374952019804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440414572,"filename":"image_25112025_19_04_27_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c52b80448410efdce58d1a422c74afce.jpg","text":"TemporaryFile(/tmp/multipartBody7711448499028260434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440414572,"filename":"image_25112025_19_04_23_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97bc7c261742aecb39b8993e98da957c.jpg","text":"TemporaryFile(/tmp/multipartBody5664985489458294856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440414572,"filename":"image_25112025_19_04_22_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2205c8c44a835bbc1b23daf9f526a5c7.jpg","text":"TemporaryFile(/tmp/multipartBody801128223276714976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440414572,"filename":"image_25112025_19_04_20_3094.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad1016a605408c36e61ade64e97b9b34.jpg","text":"TemporaryFile(/tmp/multipartBody8593713191867622368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440414572,"filename":"image_25112025_19_04_25_1870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396935848","file1":"1396935809","file0":"1396935771","file4":"1396935937","file5":"1396935980","file3":"1396935896"},"map_files_photo_id_array":[{"photo_id":"1396935980","filename":"file5"},{"photo_id":"1396935848","filename":"file2"},{"photo_id":"1396935937","filename":"file4"},{"photo_id":"1396935809","filename":"file1"},{"photo_id":"1396935771","filename":"file0"},{"photo_id":"1396935896","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396935771":["hashtag1","hashtag2"]},{"1396935980":["hashtag1","hashtag2"]},{"1396935896":["hashtag1","hashtag2"]},{"1396935848":["hashtag1","hashtag2"]},{"1396935809":["hashtag1","hashtag2"]},{"1396935937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396935771, 1396935980, 1396935896, 1396935848, 1396935809, 1396935937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1460440158844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:20:03.169020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/17/image_29112025_19_17_35_9694.jpg', '/home/pi/Desktop/images/29112025/19/18/image_29112025_19_18_45_9600.jpg', '/home/pi/Desktop/images/29112025/19/18/image_29112025_19_19_05_10642.jpg', '/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_15_9645.jpg', '/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_35_10624.jpg', '/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_45_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/17/image_29112025_19_17_35_9694.jpg
/home/pi/Desktop/images/29112025/19/18/image_29112025_19_18_45_9600.jpg
/home/pi/Desktop/images/29112025/19/18/image_29112025_19_19_05_10642.jpg
/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_15_9645.jpg
/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_35_10624.jpg
/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_45_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.6180667877197266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 19:20:12.681093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_33_6193.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_34_1528.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_43_1591.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_45_1614.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_47_1602.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_48_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_33_6193.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_34_1528.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_43_1591.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_45_1614.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_47_1602.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_48_1677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396936452","1396936326","1396936413","1396936487","1396936363","1396936525"],"photo_ids_order":["1396936326","1396936363","1396936413","1396936452","1396936487","1396936525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01737b9904e73f7bc8b0bebe51ff20ad.jpg","text":"TemporaryFile(/tmp/multipartBody7630426918746758856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440474744,"filename":"image_25112025_19_04_45_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8a9acee5d37120a4ad153c5272f15d2.jpg","text":"TemporaryFile(/tmp/multipartBody1167235989447328192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440474744,"filename":"image_25112025_19_04_33_6193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/163c3548dab7492339047e301b8584c0.jpg","text":"TemporaryFile(/tmp/multipartBody2602865986462439861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440474744,"filename":"image_25112025_19_04_43_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e8e4dc8d2e0b9014b00d9d1e1ea51ee.jpg","text":"TemporaryFile(/tmp/multipartBody378142988185331102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440474744,"filename":"image_25112025_19_04_47_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dbdeee698dd2f9d2309188ace39e8a50.jpg","text":"TemporaryFile(/tmp/multipartBody2665632933890158439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440474744,"filename":"image_25112025_19_04_34_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81000413b971d9a89980914a0bfa0a42.jpg","text":"TemporaryFile(/tmp/multipartBody4175582454134286498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440474744,"filename":"image_25112025_19_04_48_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396936413","file1":"1396936363","file0":"1396936326","file4":"1396936487","file5":"1396936525","file3":"1396936452"},"map_files_photo_id_array":[{"photo_id":"1396936525","filename":"file5"},{"photo_id":"1396936413","filename":"file2"},{"photo_id":"1396936487","filename":"file4"},{"photo_id":"1396936363","filename":"file1"},{"photo_id":"1396936326","filename":"file0"},{"photo_id":"1396936452","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396936452":["hashtag1","hashtag2"]},{"1396936326":["hashtag1","hashtag2"]},{"1396936413":["hashtag1","hashtag2"]},{"1396936487":["hashtag1","hashtag2"]},{"1396936363":["hashtag1","hashtag2"]},{"1396936525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396936452, 1396936326, 1396936413, 1396936487, 1396936363, 1396936525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20992112159729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:21:02.589002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/17/image_29112025_19_17_35_9694.jpg', '/home/pi/Desktop/images/29112025/19/18/image_29112025_19_18_45_9600.jpg', '/home/pi/Desktop/images/29112025/19/18/image_29112025_19_19_05_10642.jpg', '/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_15_9645.jpg', '/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_35_10624.jpg', '/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_45_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/17/image_29112025_19_17_35_9694.jpg
/home/pi/Desktop/images/29112025/19/18/image_29112025_19_18_45_9600.jpg
/home/pi/Desktop/images/29112025/19/18/image_29112025_19_19_05_10642.jpg
/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_15_9645.jpg
/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_35_10624.jpg
/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_45_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":["1396936548","1396936536","1396936538","1396936535","1396936543","1396936537"],"photo_ids_order":["1396936535","1396936536","1396936537","1396936538","1396936543","1396936548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/484191d4299f3d1fb9562fd7f7194c1d.jpg","text":"TemporaryFile(/tmp/multipartBody2261350222008535787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440523408,"filename":"image_29112025_19_19_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/11/29/c72eef7f0ffda04dd9a71bbac0ca4444.jpg","text":"TemporaryFile(/tmp/multipartBody5872040156705753544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440523408,"filename":"image_29112025_19_18_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/11/29/0e1fed19ba575af3214b137cf4002ba5.jpg","text":"TemporaryFile(/tmp/multipartBody3482500046550101382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440523408,"filename":"image_29112025_19_19_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/11/29/e0e2dee38fde9593dbfbda11a07af53e.jpg","text":"TemporaryFile(/tmp/multipartBody7031858966017252049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440523408,"filename":"image_29112025_19_17_35_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee8d9c70de3c60db3d8468602d795a9b.jpg","text":"TemporaryFile(/tmp/multipartBody643565081740977442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440523408,"filename":"image_29112025_19_19_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/11/29/ae0674509f9daa3f9f8244959d8246f6.jpg","text":"TemporaryFile(/tmp/multipartBody486846425958309733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440523408,"filename":"image_29112025_19_19_05_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396936537","file1":"1396936536","file0":"1396936535","file4":"1396936543","file5":"1396936548","file3":"1396936538"},"map_files_photo_id_array":[{"photo_id":"1396936548","filename":"file5"},{"photo_id":"1396936537","filename":"file2"},{"photo_id":"1396936543","filename":"file4"},{"photo_id":"1396936536","filename":"file1"},{"photo_id":"1396936535","filename":"file0"},{"photo_id":"1396936538","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396936548":["hashtag1","hashtag2"]},{"1396936536":["hashtag1","hashtag2"]},{"1396936538":["hashtag1","hashtag2"]},{"1396936535":["hashtag1","hashtag2"]},{"1396936543":["hashtag1","hashtag2"]},{"1396936537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396936548, 1396936536, 1396936538, 1396936535, 1396936543, 1396936537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.246049642562866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:21:42.070045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_58_2716.jpg', '/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_07_3014.jpg', '/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_10_3130.jpg', '/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_14_3668.jpg', '/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_16_2633.jpg', '/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_32_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/34/image_31102025_10_34_58_2716.jpg
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_07_3014.jpg
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_10_3130.jpg
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_14_3668.jpg
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_16_2633.jpg
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_32_3733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396936914","1396936625","1396936699","1396936984","1396936846","1396936776"],"photo_ids_order":["1396936625","1396936699","1396936776","1396936846","1396936914","1396936984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b04890dbd213cb7d5d60649e7cb9a93.jpg","text":"TemporaryFile(/tmp/multipartBody3412751136930040449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440563191,"filename":"image_31102025_10_36_16_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f2e93320af858d19899ece311921657.jpg","text":"TemporaryFile(/tmp/multipartBody6516977119590284886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440563191,"filename":"image_31102025_10_34_58_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58a45363d368713bd67a4112b735838f.jpg","text":"TemporaryFile(/tmp/multipartBody3086418210512665173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440563191,"filename":"image_31102025_10_36_07_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/086ad2723e1835534fa655e49e84d033.jpg","text":"TemporaryFile(/tmp/multipartBody3687312774118472486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440563191,"filename":"image_31102025_10_36_32_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c07cbf935f1681bb29c65bada9ecbed6.jpg","text":"TemporaryFile(/tmp/multipartBody3312089562172268750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440563191,"filename":"image_31102025_10_36_14_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05eba38e13e0d17219c41a3fc0dc8148.jpg","text":"TemporaryFile(/tmp/multipartBody8987106051693316226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440563191,"filename":"image_31102025_10_36_10_3130.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396936776","file1":"1396936699","file0":"1396936625","file4":"1396936914","file5":"1396936984","file3":"1396936846"},"map_files_photo_id_array":[{"photo_id":"1396936984","filename":"file5"},{"photo_id":"1396936776","filename":"file2"},{"photo_id":"1396936914","filename":"file4"},{"photo_id":"1396936699","filename":"file1"},{"photo_id":"1396936625","filename":"file0"},{"photo_id":"1396936846","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396936914":["hashtag1","hashtag2"]},{"1396936625":["hashtag1","hashtag2"]},{"1396936699":["hashtag1","hashtag2"]},{"1396936984":["hashtag1","hashtag2"]},{"1396936846":["hashtag1","hashtag2"]},{"1396936776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396936914, 1396936625, 1396936699, 1396936984, 1396936846, 1396936776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.754735231399536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:22:22.225508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_55_9938.jpg', '/home/pi/Desktop/images/29112025/19/19/image_29112025_19_20_05_10624.jpg', '/home/pi/Desktop/images/29112025/19/20/image_29112025_19_20_15_9784.jpg', '/home/pi/Desktop/images/29112025/19/20/image_29112025_19_20_35_9750.jpg', '/home/pi/Desktop/images/29112025/19/20/image_29112025_19_20_45_10644.jpg', '/home/pi/Desktop/images/29112025/19/21/image_29112025_19_21_15_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/19/image_29112025_19_19_55_9938.jpg
/home/pi/Desktop/images/29112025/19/19/image_29112025_19_20_05_10624.jpg
/home/pi/Desktop/images/29112025/19/20/image_29112025_19_20_15_9784.jpg
/home/pi/Desktop/images/29112025/19/20/image_29112025_19_20_35_9750.jpg
/home/pi/Desktop/images/29112025/19/20/image_29112025_19_20_45_10644.jpg
/home/pi/Desktop/images/29112025/19/21/image_29112025_19_21_15_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":["1396937244","1396937422","1396937359","1396937206","1396937286","1396937460"],"photo_ids_order":["1396937206","1396937244","1396937286","1396937359","1396937422","1396937460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af040a21d2d60c92ca7087eb67b98cc9.jpg","text":"TemporaryFile(/tmp/multipartBody8394714252478622358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440602947,"filename":"image_29112025_19_20_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/684ff73bee50021c1fa10117778f7ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7715697726834901623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440602947,"filename":"image_29112025_19_20_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a64eb7aa0fac8b61c37c193406a851ff.jpg","text":"TemporaryFile(/tmp/multipartBody321160054401520901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440602947,"filename":"image_29112025_19_20_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6e8c42c67c177f46e84ecdc9320ec72.jpg","text":"TemporaryFile(/tmp/multipartBody3696546697880655218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440602947,"filename":"image_29112025_19_19_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/11/29/1a6e85f8aca73377a2c30cf80dcb995b.jpg","text":"TemporaryFile(/tmp/multipartBody5612106684872230181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440602947,"filename":"image_29112025_19_20_15_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6dd7d9a73a16f3c936e26022d2af54ab.jpg","text":"TemporaryFile(/tmp/multipartBody5262820002768391907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440602947,"filename":"image_29112025_19_21_15_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396937286","file1":"1396937244","file0":"1396937206","file4":"1396937422","file5":"1396937460","file3":"1396937359"},"map_files_photo_id_array":[{"photo_id":"1396937460","filename":"file5"},{"photo_id":"1396937286","filename":"file2"},{"photo_id":"1396937422","filename":"file4"},{"photo_id":"1396937244","filename":"file1"},{"photo_id":"1396937206","filename":"file0"},{"photo_id":"1396937359","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396937244":["hashtag1","hashtag2"]},{"1396937422":["hashtag1","hashtag2"]},{"1396937359":["hashtag1","hashtag2"]},{"1396937206":["hashtag1","hashtag2"]},{"1396937286":["hashtag1","hashtag2"]},{"1396937460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396937244, 1396937422, 1396937359, 1396937206, 1396937286, 1396937460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49030900001526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:23:03.024351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/21/image_29112025_19_21_25_9585.jpg', '/home/pi/Desktop/images/29112025/19/21/image_29112025_19_21_35_9575.jpg', '/home/pi/Desktop/images/29112025/19/21/image_29112025_19_21_55_9581.jpg', '/home/pi/Desktop/images/29112025/19/21/image_29112025_19_22_05_9831.jpg', '/home/pi/Desktop/images/29112025/19/22/image_29112025_19_22_15_10541.jpg', '/home/pi/Desktop/images/29112025/19/22/image_29112025_19_22_25_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/21/image_29112025_19_21_25_9585.jpg
/home/pi/Desktop/images/29112025/19/21/image_29112025_19_21_35_9575.jpg
/home/pi/Desktop/images/29112025/19/21/image_29112025_19_21_55_9581.jpg
/home/pi/Desktop/images/29112025/19/21/image_29112025_19_22_05_9831.jpg
/home/pi/Desktop/images/29112025/19/22/image_29112025_19_22_15_10541.jpg
/home/pi/Desktop/images/29112025/19/22/image_29112025_19_22_25_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396937738","1396937807","1396937665","1396937772","1396937847","1396937703"],"photo_ids_order":["1396937665","1396937703","1396937738","1396937772","1396937807","1396937847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4e88ea46c71458a1e6b53cc1348f7db.jpg","text":"TemporaryFile(/tmp/multipartBody3344047473593850645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440643771,"filename":"image_29112025_19_21_55_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39e9735f51456e4b0f5b18347916462a.jpg","text":"TemporaryFile(/tmp/multipartBody4391082090026494750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440643771,"filename":"image_29112025_19_22_15_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/392147cc5e51d293de8304e1dcf8c077.jpg","text":"TemporaryFile(/tmp/multipartBody5500078615056388094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440643771,"filename":"image_29112025_19_21_25_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03344f40784bf73758984642bc887f05.jpg","text":"TemporaryFile(/tmp/multipartBody2881362280897998753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440643771,"filename":"image_29112025_19_22_05_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9359bbb3baf2e90be56cbcdc2f288c1.jpg","text":"TemporaryFile(/tmp/multipartBody8121507604170226585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440643771,"filename":"image_29112025_19_22_25_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2bb7ca4015aa3ef3be1a39a3e20b7e8.jpg","text":"TemporaryFile(/tmp/multipartBody4561863122817021818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440643771,"filename":"image_29112025_19_21_35_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396937738","file1":"1396937703","file0":"1396937665","file4":"1396937807","file5":"1396937847","file3":"1396937772"},"map_files_photo_id_array":[{"photo_id":"1396937847","filename":"file5"},{"photo_id":"1396937738","filename":"file2"},{"photo_id":"1396937807","filename":"file4"},{"photo_id":"1396937703","filename":"file1"},{"photo_id":"1396937665","filename":"file0"},{"photo_id":"1396937772","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396937738":["hashtag1","hashtag2"]},{"1396937807":["hashtag1","hashtag2"]},{"1396937665":["hashtag1","hashtag2"]},{"1396937772":["hashtag1","hashtag2"]},{"1396937847":["hashtag1","hashtag2"]},{"1396937703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396937738, 1396937807, 1396937665, 1396937772, 1396937847, 1396937703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.383124351501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:23:42.497685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_37_2638.jpg', '/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_41_3676.jpg', '/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_43_2729.jpg', '/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_49_2720.jpg', '/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_55_2596.jpg', '/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_58_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_37_2638.jpg
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_41_3676.jpg
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_43_2729.jpg
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_49_2720.jpg
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_55_2596.jpg
/home/pi/Desktop/images/31102025/10/36/image_31102025_10_36_58_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396937931","1396937930","1396937942","1396937932","1396937976","1396937928"],"photo_ids_order":["1396937928","1396937930","1396937931","1396937932","1396937942","1396937976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/871fb513026adea6d1f9b55089193e02.jpg","text":"TemporaryFile(/tmp/multipartBody5078597236605391865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440683622,"filename":"image_31102025_10_36_43_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/056236d6efc1b4eb7d0c549ee0134577.jpg","text":"TemporaryFile(/tmp/multipartBody7576736060902190834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440683622,"filename":"image_31102025_10_36_41_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36a6d84e737f48ef4d65cb4242c2ce00.jpg","text":"TemporaryFile(/tmp/multipartBody1200748058269008820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440683622,"filename":"image_31102025_10_36_55_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e308566a7abeec6702e9ba7f311ca44e.jpg","text":"TemporaryFile(/tmp/multipartBody1826102377146492482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440683622,"filename":"image_31102025_10_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/11/29/2d527004eb832ce10fa158845c5a63dd.jpg","text":"TemporaryFile(/tmp/multipartBody437896723954496671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440683622,"filename":"image_31102025_10_36_58_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9404d3b3a397897798e4013de2027e18.jpg","text":"TemporaryFile(/tmp/multipartBody7023981606675892710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440683622,"filename":"image_31102025_10_36_37_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396937931","file1":"1396937930","file0":"1396937928","file4":"1396937942","file5":"1396937976","file3":"1396937932"},"map_files_photo_id_array":[{"photo_id":"1396937976","filename":"file5"},{"photo_id":"1396937931","filename":"file2"},{"photo_id":"1396937942","filename":"file4"},{"photo_id":"1396937930","filename":"file1"},{"photo_id":"1396937928","filename":"file0"},{"photo_id":"1396937932","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396937931":["hashtag1","hashtag2"]},{"1396937930":["hashtag1","hashtag2"]},{"1396937942":["hashtag1","hashtag2"]},{"1396937932":["hashtag1","hashtag2"]},{"1396937976":["hashtag1","hashtag2"]},{"1396937928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396937931, 1396937930, 1396937942, 1396937932, 1396937976, 1396937928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.497498512268066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:24:22.700726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/22/image_29112025_19_22_45_10608.jpg', '/home/pi/Desktop/images/29112025/19/22/image_29112025_19_23_05_9751.jpg', '/home/pi/Desktop/images/29112025/19/23/image_29112025_19_23_35_9637.jpg', '/home/pi/Desktop/images/29112025/19/23/image_29112025_19_23_45_10692.jpg', '/home/pi/Desktop/images/29112025/19/23/image_29112025_19_23_55_9624.jpg', '/home/pi/Desktop/images/29112025/19/24/image_29112025_19_24_15_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/22/image_29112025_19_22_45_10608.jpg
/home/pi/Desktop/images/29112025/19/22/image_29112025_19_23_05_9751.jpg
/home/pi/Desktop/images/29112025/19/23/image_29112025_19_23_35_9637.jpg
/home/pi/Desktop/images/29112025/19/23/image_29112025_19_23_45_10692.jpg
/home/pi/Desktop/images/29112025/19/23/image_29112025_19_23_55_9624.jpg
/home/pi/Desktop/images/29112025/19/24/image_29112025_19_24_15_10583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396938389","1396938158","1396938536","1396938460","1396938237","1396938318"],"photo_ids_order":["1396938158","1396938237","1396938318","1396938389","1396938460","1396938536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/592d3fda99b820bc15a150a17f88f564.jpg","text":"TemporaryFile(/tmp/multipartBody8429308171294833242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440723418,"filename":"image_29112025_19_23_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd4fcce6bfc09974a69ee97aa14716b7.jpg","text":"TemporaryFile(/tmp/multipartBody179552815278637191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440723418,"filename":"image_29112025_19_22_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/11/29/94b3dbfbde8487f95d69bc2bb4111251.jpg","text":"TemporaryFile(/tmp/multipartBody4520015394704333595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440723418,"filename":"image_29112025_19_24_15_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54f37dc5d9f045488a3e008022508029.jpg","text":"TemporaryFile(/tmp/multipartBody6869836242130063992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440723418,"filename":"image_29112025_19_23_55_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/417cddd964e7c7a5275c2fe4379d3bf7.jpg","text":"TemporaryFile(/tmp/multipartBody7766822714939421911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440723418,"filename":"image_29112025_19_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/11/29/ff945fcb7a23a870dfa6908f5d0c53f3.jpg","text":"TemporaryFile(/tmp/multipartBody8459933449899182616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440723418,"filename":"image_29112025_19_23_35_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396938318","file1":"1396938237","file0":"1396938158","file4":"1396938460","file5":"1396938536","file3":"1396938389"},"map_files_photo_id_array":[{"photo_id":"1396938536","filename":"file5"},{"photo_id":"1396938318","filename":"file2"},{"photo_id":"1396938460","filename":"file4"},{"photo_id":"1396938237","filename":"file1"},{"photo_id":"1396938158","filename":"file0"},{"photo_id":"1396938389","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396938389":["hashtag1","hashtag2"]},{"1396938158":["hashtag1","hashtag2"]},{"1396938536":["hashtag1","hashtag2"]},{"1396938460":["hashtag1","hashtag2"]},{"1396938237":["hashtag1","hashtag2"]},{"1396938318":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396938389, 1396938158, 1396938536, 1396938460, 1396938237, 1396938318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.122857332229614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:25:03.265546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/24/image_29112025_19_24_35_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/24/image_29112025_19_24_35_9579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396938699"],"photo_id":"1396938699","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24e6755985d17d43340df82bdca3dd18.jpg","text":"TemporaryFile(/tmp/multipartBody3919343058977013581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440763819,"filename":"image_29112025_19_24_35_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1396938699"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1396938699"}],"hashtags":[],"portfolio_id":"29016624","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.984770774841309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:25:22.848851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/24/image_29112025_19_24_45_10581.jpg', '/home/pi/Desktop/images/29112025/19/24/image_29112025_19_25_05_10552.jpg', '/home/pi/Desktop/images/29112025/19/25/image_29112025_19_25_15_9751.jpg', '/home/pi/Desktop/images/29112025/19/25/image_29112025_19_25_25_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/24/image_29112025_19_24_45_10581.jpg
/home/pi/Desktop/images/29112025/19/24/image_29112025_19_25_05_10552.jpg
/home/pi/Desktop/images/29112025/19/25/image_29112025_19_25_15_9751.jpg
/home/pi/Desktop/images/29112025/19/25/image_29112025_19_25_25_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":["1396938932","1396939018","1396939006","1396938989"],"photo_ids_order":["1396938932","1396938989","1396939006","1396939018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f44b20acc33b9e686772f5ced2349e2.jpg","text":"TemporaryFile(/tmp/multipartBody8773179092814642838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440783481,"filename":"image_29112025_19_24_45_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90afca4f815275a47463bfee0c707181.jpg","text":"TemporaryFile(/tmp/multipartBody5235083651473937573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440783481,"filename":"image_29112025_19_25_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/11/29/3b9b952a96c59a99dc1ea1a7f9d155a0.jpg","text":"TemporaryFile(/tmp/multipartBody2936536693056273022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440783481,"filename":"image_29112025_19_25_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/11/29/97566e1f71c0ae79ea3eec6aad7e4e8e.jpg","text":"TemporaryFile(/tmp/multipartBody3089161543198639351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440783481,"filename":"image_29112025_19_25_05_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939006","file1":"1396938989","file0":"1396938932","file3":"1396939018"},"map_files_photo_id_array":[{"photo_id":"1396939006","filename":"file2"},{"photo_id":"1396938989","filename":"file1"},{"photo_id":"1396938932","filename":"file0"},{"photo_id":"1396939018","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396938932":["hashtag1","hashtag2"]},{"1396939018":["hashtag1","hashtag2"]},{"1396939006":["hashtag1","hashtag2"]},{"1396938989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396938932, 1396939018, 1396939006, 1396938989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.484214782714844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:26:02.268050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_50_1567.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_51_1600.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_53_1654.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_55_1620.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_57_2650.jpg', '/home/pi/Desktop/images/25112025/19/04/image_25112025_19_05_01_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_50_1567.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_51_1600.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_53_1654.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_55_1620.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_04_57_2650.jpg
/home/pi/Desktop/images/25112025/19/04/image_25112025_19_05_01_3692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939025","1396939099","1396939171","1396939045","1396939134","1396939064"],"photo_ids_order":["1396939025","1396939045","1396939064","1396939099","1396939134","1396939171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20747058dc3d0fd64ed363fa3a02f1a8.jpg","text":"TemporaryFile(/tmp/multipartBody7343416551898452537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440823844,"filename":"image_25112025_19_04_50_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f964b92cbd35d1b7ac7f0829f4238ad.jpg","text":"TemporaryFile(/tmp/multipartBody6246029788716239208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440823844,"filename":"image_25112025_19_04_55_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d0b784e5693cec54d976e794f6d1331.jpg","text":"TemporaryFile(/tmp/multipartBody4257914333351994544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440823844,"filename":"image_25112025_19_05_01_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4be21fd09a0becc1dcaa06aad86bf6bf.jpg","text":"TemporaryFile(/tmp/multipartBody3370822618188710996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440823844,"filename":"image_25112025_19_04_51_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd98a6865ed22c3bbd15a98e01bfdcd8.jpg","text":"TemporaryFile(/tmp/multipartBody1658826481501799147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440823844,"filename":"image_25112025_19_04_57_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/725e1966d0a9873b61fa6ceee4af4146.jpg","text":"TemporaryFile(/tmp/multipartBody7890827048220402635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440823844,"filename":"image_25112025_19_04_53_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939064","file1":"1396939045","file0":"1396939025","file4":"1396939134","file5":"1396939171","file3":"1396939099"},"map_files_photo_id_array":[{"photo_id":"1396939171","filename":"file5"},{"photo_id":"1396939064","filename":"file2"},{"photo_id":"1396939134","filename":"file4"},{"photo_id":"1396939045","filename":"file1"},{"photo_id":"1396939025","filename":"file0"},{"photo_id":"1396939099","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396939025":["hashtag1","hashtag2"]},{"1396939099":["hashtag1","hashtag2"]},{"1396939171":["hashtag1","hashtag2"]},{"1396939045":["hashtag1","hashtag2"]},{"1396939134":["hashtag1","hashtag2"]},{"1396939064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396939025, 1396939099, 1396939171, 1396939045, 1396939134, 1396939064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96051597595215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:26:41.942163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_02_3705.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_04_2749.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_11_3616.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_16_2628.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_22_2565.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_26_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/10/37/image_31102025_10_37_02_3705.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_04_2749.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_11_3616.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_16_2628.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_22_2565.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_26_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":["1396939319","1396939321","1396939395","1396939326","1396939311","1396939361"],"photo_ids_order":["1396939311","1396939319","1396939321","1396939326","1396939361","1396939395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/33359253320fbd750fb8d872a5b7224e.jpg","text":"TemporaryFile(/tmp/multipartBody2175559567778655863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440863064,"filename":"image_31102025_10_37_04_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7046f2c76730c4528112c02df9c5b48.jpg","text":"TemporaryFile(/tmp/multipartBody2486680526644867272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440863064,"filename":"image_31102025_10_37_11_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0cf638f80707c33f045f4a207fdcfd93.jpg","text":"TemporaryFile(/tmp/multipartBody5764987868337478467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440863064,"filename":"image_31102025_10_37_26_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d982da887b8b83de0c341ac165eec149.jpg","text":"TemporaryFile(/tmp/multipartBody3058480558825550941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440863064,"filename":"image_31102025_10_37_16_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4a6ee59a3e728a6228c512c044913e8e.jpg","text":"TemporaryFile(/tmp/multipartBody8375616747166057598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440863064,"filename":"image_31102025_10_37_02_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/160c5a2a6b5b0855dcaa6c90f0d655aa.jpg","text":"TemporaryFile(/tmp/multipartBody1870070641853348234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440863064,"filename":"image_31102025_10_37_22_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939321","file1":"1396939319","file0":"1396939311","file4":"1396939361","file5":"1396939395","file3":"1396939326"},"map_files_photo_id_array":[{"photo_id":"1396939395","filename":"file5"},{"photo_id":"1396939321","filename":"file2"},{"photo_id":"1396939361","filename":"file4"},{"photo_id":"1396939319","filename":"file1"},{"photo_id":"1396939311","filename":"file0"},{"photo_id":"1396939326","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396939319":["hashtag1","hashtag2"]},{"1396939321":["hashtag1","hashtag2"]},{"1396939395":["hashtag1","hashtag2"]},{"1396939326":["hashtag1","hashtag2"]},{"1396939311":["hashtag1","hashtag2"]},{"1396939361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396939319, 1396939321, 1396939395, 1396939326, 1396939311, 1396939361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8838746547699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:27:22.121080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/25/image_29112025_19_25_35_10635.jpg', '/home/pi/Desktop/images/29112025/19/25/image_29112025_19_26_05_9632.jpg', '/home/pi/Desktop/images/29112025/19/26/image_29112025_19_26_15_10719.jpg', '/home/pi/Desktop/images/29112025/19/26/image_29112025_19_26_25_9645.jpg', '/home/pi/Desktop/images/29112025/19/26/image_29112025_19_26_45_10590.jpg', '/home/pi/Desktop/images/29112025/19/26/image_29112025_19_26_55_9519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/25/image_29112025_19_25_35_10635.jpg
/home/pi/Desktop/images/29112025/19/25/image_29112025_19_26_05_9632.jpg
/home/pi/Desktop/images/29112025/19/26/image_29112025_19_26_15_10719.jpg
/home/pi/Desktop/images/29112025/19/26/image_29112025_19_26_25_9645.jpg
/home/pi/Desktop/images/29112025/19/26/image_29112025_19_26_45_10590.jpg
/home/pi/Desktop/images/29112025/19/26/image_29112025_19_26_55_9519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939436","1396939467","1396939461","1396939449","1396939481","1396939439"],"photo_ids_order":["1396939436","1396939439","1396939449","1396939461","1396939467","1396939481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfb755350efb1d8348356584f20a32ae.jpg","text":"TemporaryFile(/tmp/multipartBody2694173979966235738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440902803,"filename":"image_29112025_19_25_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/11/29/d9d0040e16e0ff596ca3b99ba4b665db.jpg","text":"TemporaryFile(/tmp/multipartBody8981888328505235146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440902803,"filename":"image_29112025_19_26_45_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2edf19b5c850404452c007cae97c01b.jpg","text":"TemporaryFile(/tmp/multipartBody9110538050842303248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440902803,"filename":"image_29112025_19_26_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/11/29/c3084057592826a39a01850c95a8859a.jpg","text":"TemporaryFile(/tmp/multipartBody4372426964097286045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440902803,"filename":"image_29112025_19_26_15_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be585f56424d822d1a05b9f9e2deb3f3.jpg","text":"TemporaryFile(/tmp/multipartBody4864255170928718047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440902803,"filename":"image_29112025_19_26_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/11/29/d6f8531dc31c1b769361d21133d876e8.jpg","text":"TemporaryFile(/tmp/multipartBody3235099074615776540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440902803,"filename":"image_29112025_19_26_05_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939449","file1":"1396939439","file0":"1396939436","file4":"1396939467","file5":"1396939481","file3":"1396939461"},"map_files_photo_id_array":[{"photo_id":"1396939481","filename":"file5"},{"photo_id":"1396939449","filename":"file2"},{"photo_id":"1396939467","filename":"file4"},{"photo_id":"1396939439","filename":"file1"},{"photo_id":"1396939436","filename":"file0"},{"photo_id":"1396939461","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939436":["hashtag1","hashtag2"]},{"1396939467":["hashtag1","hashtag2"]},{"1396939461":["hashtag1","hashtag2"]},{"1396939449":["hashtag1","hashtag2"]},{"1396939481":["hashtag1","hashtag2"]},{"1396939439":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939436, 1396939467, 1396939461, 1396939449, 1396939481, 1396939439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31566405296326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:28:02.868615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/26/image_29112025_19_27_04_9643.jpg', '/home/pi/Desktop/images/29112025/19/27/image_29112025_19_27_15_10712.jpg', '/home/pi/Desktop/images/29112025/19/27/image_29112025_19_27_25_9642.jpg', '/home/pi/Desktop/images/29112025/19/27/image_29112025_19_27_34_9679.jpg', '/home/pi/Desktop/images/29112025/19/27/image_29112025_19_27_45_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/26/image_29112025_19_27_04_9643.jpg
/home/pi/Desktop/images/29112025/19/27/image_29112025_19_27_15_10712.jpg
/home/pi/Desktop/images/29112025/19/27/image_29112025_19_27_25_9642.jpg
/home/pi/Desktop/images/29112025/19/27/image_29112025_19_27_34_9679.jpg
/home/pi/Desktop/images/29112025/19/27/image_29112025_19_27_45_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":["1396939486","1396939482","1396939485","1396939488","1396939484"],"photo_ids_order":["1396939482","1396939484","1396939485","1396939486","1396939488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/040ee6782b4af23facc58eb96b5a2ad2.jpg","text":"TemporaryFile(/tmp/multipartBody7553555625071592259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440943544,"filename":"image_29112025_19_27_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/11/29/f70823ef5049721a3e5c2274d3a86ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7962948773358654999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440943544,"filename":"image_29112025_19_27_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/11/29/6406dc7e5a885ae4e0c571bd80bb7dd1.jpg","text":"TemporaryFile(/tmp/multipartBody8559564361298302442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440943544,"filename":"image_29112025_19_27_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/11/29/6452bdb69ca7bb5f309b9bed8b084f64.jpg","text":"TemporaryFile(/tmp/multipartBody7963300299102411009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440943544,"filename":"image_29112025_19_27_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/11/29/932431258648a6a9704d6bf9f693fdea.jpg","text":"TemporaryFile(/tmp/multipartBody4982102053315972822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764440943544,"filename":"image_29112025_19_27_15_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939485","file1":"1396939484","file0":"1396939482","file4":"1396939488","file3":"1396939486"},"map_files_photo_id_array":[{"photo_id":"1396939485","filename":"file2"},{"photo_id":"1396939488","filename":"file4"},{"photo_id":"1396939484","filename":"file1"},{"photo_id":"1396939482","filename":"file0"},{"photo_id":"1396939486","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939486":["hashtag1","hashtag2"]},{"1396939482":["hashtag1","hashtag2"]},{"1396939485":["hashtag1","hashtag2"]},{"1396939488":["hashtag1","hashtag2"]},{"1396939484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939486, 1396939482, 1396939485, 1396939488, 1396939484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.877729654312134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:28:42.367839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_28_2649.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_31_2550.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_34_3618.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_37_2659.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_40_2710.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_43_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/10/37/image_31102025_10_37_28_2649.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_31_2550.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_34_3618.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_37_2659.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_40_2710.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_43_3612.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0098927021026611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:29:03.553979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/27/image_29112025_19_27_55_9697.jpg', '/home/pi/Desktop/images/29112025/19/27/image_29112025_19_28_05_10593.jpg', '/home/pi/Desktop/images/29112025/19/28/image_29112025_19_28_15_10034.jpg', '/home/pi/Desktop/images/29112025/19/28/image_29112025_19_28_25_9738.jpg', '/home/pi/Desktop/images/29112025/19/28/image_29112025_19_28_35_9810.jpg', '/home/pi/Desktop/images/29112025/19/28/image_29112025_19_28_45_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/27/image_29112025_19_27_55_9697.jpg
/home/pi/Desktop/images/29112025/19/27/image_29112025_19_28_05_10593.jpg
/home/pi/Desktop/images/29112025/19/28/image_29112025_19_28_15_10034.jpg
/home/pi/Desktop/images/29112025/19/28/image_29112025_19_28_25_9738.jpg
/home/pi/Desktop/images/29112025/19/28/image_29112025_19_28_35_9810.jpg
/home/pi/Desktop/images/29112025/19/28/image_29112025_19_28_45_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939504","1396939507","1396939509","1396939503","1396939512","1396939505"],"photo_ids_order":["1396939503","1396939504","1396939505","1396939507","1396939509","1396939512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2eb47549f7b46ec1b24aa5ece9354618.jpg","text":"TemporaryFile(/tmp/multipartBody7484891258827243572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441004432,"filename":"image_29112025_19_28_05_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19c7edd472b37c97ba34729916f3a560.jpg","text":"TemporaryFile(/tmp/multipartBody699107399947198077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441004432,"filename":"image_29112025_19_28_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30c520ded9a38e6faad08100275ab74f.jpg","text":"TemporaryFile(/tmp/multipartBody9174511675252415133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441004432,"filename":"image_29112025_19_28_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/11/29/1a723b1e409e20935fdb62f7729996d9.jpg","text":"TemporaryFile(/tmp/multipartBody9066169034414644954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441004432,"filename":"image_29112025_19_27_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba117bddec05c6c22a503bf89426ddc2.jpg","text":"TemporaryFile(/tmp/multipartBody7869732443231502776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441004432,"filename":"image_29112025_19_28_45_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e154795fbcb9a6ead5d2e42d3acae27e.jpg","text":"TemporaryFile(/tmp/multipartBody2251464674227499345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441004432,"filename":"image_29112025_19_28_15_10034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939505","file1":"1396939504","file0":"1396939503","file4":"1396939509","file5":"1396939512","file3":"1396939507"},"map_files_photo_id_array":[{"photo_id":"1396939512","filename":"file5"},{"photo_id":"1396939505","filename":"file2"},{"photo_id":"1396939509","filename":"file4"},{"photo_id":"1396939504","filename":"file1"},{"photo_id":"1396939503","filename":"file0"},{"photo_id":"1396939507","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939504":["hashtag1","hashtag2"]},{"1396939507":["hashtag1","hashtag2"]},{"1396939509":["hashtag1","hashtag2"]},{"1396939503":["hashtag1","hashtag2"]},{"1396939512":["hashtag1","hashtag2"]},{"1396939505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939504, 1396939507, 1396939509, 1396939503, 1396939512, 1396939505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96461033821106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:29:42.532912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_28_2649.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_31_2550.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_34_3618.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_37_2659.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_40_2710.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_43_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/10/37/image_31102025_10_37_28_2649.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_31_2550.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_34_3618.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_37_2659.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_40_2710.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_43_3612.jpg
 val : 1 : upload photos 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":["1396939573","1396939567","1396939576","1396939537","1396939566","1396939553"],"photo_ids_order":["1396939537","1396939553","1396939566","1396939567","1396939573","1396939576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ebbc2fa77f74f3d735903121bf03fd3.jpg","text":"TemporaryFile(/tmp/multipartBody2014357100760699471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441043496,"filename":"image_31102025_10_37_40_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35ed35ee4bd0f3c26352ff20d487e63f.jpg","text":"TemporaryFile(/tmp/multipartBody3646297120762027975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441043496,"filename":"image_31102025_10_37_37_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b37f495422e7d7f0dd64c77234cd6976.jpg","text":"TemporaryFile(/tmp/multipartBody3097389641828192787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441043496,"filename":"image_31102025_10_37_43_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9430ed0cdd69916a3413b4f02703703.jpg","text":"TemporaryFile(/tmp/multipartBody6119471938253613078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441043496,"filename":"image_31102025_10_37_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/11/29/5bba54cc4a3ee72130c0cc31abb041cd.jpg","text":"TemporaryFile(/tmp/multipartBody936485681471187035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441043496,"filename":"image_31102025_10_37_34_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d9db1ad864241d008a479fd261dfeb0.jpg","text":"TemporaryFile(/tmp/multipartBody398266318000844690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441043496,"filename":"image_31102025_10_37_31_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939566","file1":"1396939553","file0":"1396939537","file4":"1396939573","file5":"1396939576","file3":"1396939567"},"map_files_photo_id_array":[{"photo_id":"1396939576","filename":"file5"},{"photo_id":"1396939566","filename":"file2"},{"photo_id":"1396939573","filename":"file4"},{"photo_id":"1396939553","filename":"file1"},{"photo_id":"1396939537","filename":"file0"},{"photo_id":"1396939567","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396939573":["hashtag1","hashtag2"]},{"1396939567":["hashtag1","hashtag2"]},{"1396939576":["hashtag1","hashtag2"]},{"1396939537":["hashtag1","hashtag2"]},{"1396939566":["hashtag1","hashtag2"]},{"1396939553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396939573, 1396939567, 1396939576, 1396939537, 1396939566, 1396939553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.57190775871277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:31:02.573758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/28/image_29112025_19_28_55_10630.jpg', '/home/pi/Desktop/images/29112025/19/28/image_29112025_19_29_05_9630.jpg', '/home/pi/Desktop/images/29112025/19/29/image_29112025_19_29_14_9674.jpg', '/home/pi/Desktop/images/29112025/19/29/image_29112025_19_29_25_10849.jpg', '/home/pi/Desktop/images/29112025/19/29/image_29112025_19_29_35_9603.jpg', '/home/pi/Desktop/images/29112025/19/29/image_29112025_19_29_45_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/28/image_29112025_19_28_55_10630.jpg
/home/pi/Desktop/images/29112025/19/28/image_29112025_19_29_05_9630.jpg
/home/pi/Desktop/images/29112025/19/29/image_29112025_19_29_14_9674.jpg
/home/pi/Desktop/images/29112025/19/29/image_29112025_19_29_25_10849.jpg
/home/pi/Desktop/images/29112025/19/29/image_29112025_19_29_35_9603.jpg
/home/pi/Desktop/images/29112025/19/29/image_29112025_19_29_45_9806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939585","1396939594","1396939584","1396939587","1396939602","1396939586"],"photo_ids_order":["1396939584","1396939585","1396939586","1396939587","1396939594","1396939602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5070c39c076e8bf41bbaccdae83122b6.jpg","text":"TemporaryFile(/tmp/multipartBody1740860683776336660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441123305,"filename":"image_29112025_19_29_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/11/29/c90613a588ea01316d431da3803a5449.jpg","text":"TemporaryFile(/tmp/multipartBody898434466353412579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441123305,"filename":"image_29112025_19_29_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bfbd2d20f4c45c0ddbd0e637ced32fdf.jpg","text":"TemporaryFile(/tmp/multipartBody4227124080036996603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441123305,"filename":"image_29112025_19_28_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1550dd956e36e61dbb00c10e91beca39.jpg","text":"TemporaryFile(/tmp/multipartBody7557616502552777551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441123305,"filename":"image_29112025_19_29_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/11/29/6d0f5d6b39202bdcc6df32705d3813cc.jpg","text":"TemporaryFile(/tmp/multipartBody3768410727649110196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441123305,"filename":"image_29112025_19_29_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/11/29/d01b6abb86b2b38074f5b2e6b29344b2.jpg","text":"TemporaryFile(/tmp/multipartBody1925417063283346326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441123305,"filename":"image_29112025_19_29_14_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939586","file1":"1396939585","file0":"1396939584","file4":"1396939594","file5":"1396939602","file3":"1396939587"},"map_files_photo_id_array":[{"photo_id":"1396939602","filename":"file5"},{"photo_id":"1396939586","filename":"file2"},{"photo_id":"1396939594","filename":"file4"},{"photo_id":"1396939585","filename":"file1"},{"photo_id":"1396939584","filename":"file0"},{"photo_id":"1396939587","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939585":["hashtag1","hashtag2"]},{"1396939594":["hashtag1","hashtag2"]},{"1396939584":["hashtag1","hashtag2"]},{"1396939587":["hashtag1","hashtag2"]},{"1396939602":["hashtag1","hashtag2"]},{"1396939586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939585, 1396939594, 1396939584, 1396939587, 1396939602, 1396939586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54377269744873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:31:41.895462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_46_2768.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_49_2572.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_52_3684.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_55_2693.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_58_2666.jpg', '/home/pi/Desktop/images/31102025/10/37/image_31102025_10_38_01_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_46_2768.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_49_2572.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_52_3684.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_55_2693.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_37_58_2666.jpg
/home/pi/Desktop/images/31102025/10/37/image_31102025_10_38_01_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939634","1396939628","1396939633","1396939630","1396939632","1396939631"],"photo_ids_order":["1396939628","1396939630","1396939631","1396939632","1396939633","1396939634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/782c1d4ea093e20bc5f4fa370b207194.jpg","text":"TemporaryFile(/tmp/multipartBody7020087070970840798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441163030,"filename":"image_31102025_10_38_01_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c9a2080d762d0eb318477c1db269c519.jpg","text":"TemporaryFile(/tmp/multipartBody5687968643292399446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441163030,"filename":"image_31102025_10_37_46_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcb8322268364191df86ef0d0ea1058b.jpg","text":"TemporaryFile(/tmp/multipartBody1558498057792645337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441163030,"filename":"image_31102025_10_37_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/11/29/95cdd57f12907a5acf42490c19607d54.jpg","text":"TemporaryFile(/tmp/multipartBody7282925428013552631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441163030,"filename":"image_31102025_10_37_49_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e137f3236d6c6ab459f6a9c957b6233.jpg","text":"TemporaryFile(/tmp/multipartBody1976206891379839502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441163030,"filename":"image_31102025_10_37_55_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e4fce53e73dbd84a1f5d62a9d4bc227.jpg","text":"TemporaryFile(/tmp/multipartBody6974449077921245675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441163030,"filename":"image_31102025_10_37_52_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939631","file1":"1396939630","file0":"1396939628","file4":"1396939633","file5":"1396939634","file3":"1396939632"},"map_files_photo_id_array":[{"photo_id":"1396939634","filename":"file5"},{"photo_id":"1396939631","filename":"file2"},{"photo_id":"1396939633","filename":"file4"},{"photo_id":"1396939630","filename":"file1"},{"photo_id":"1396939628","filename":"file0"},{"photo_id":"1396939632","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396939634":["hashtag1","hashtag2"]},{"1396939628":["hashtag1","hashtag2"]},{"1396939633":["hashtag1","hashtag2"]},{"1396939630":["hashtag1","hashtag2"]},{"1396939632":["hashtag1","hashtag2"]},{"1396939631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396939634, 1396939628, 1396939633, 1396939630, 1396939632, 1396939631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.029804944992065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:32:22.030702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/29/image_29112025_19_29_54_9731.jpg', '/home/pi/Desktop/images/29112025/19/30/image_29112025_19_30_15_10057.jpg', '/home/pi/Desktop/images/29112025/19/30/image_29112025_19_30_26_10720.jpg', '/home/pi/Desktop/images/29112025/19/30/image_29112025_19_30_35_9632.jpg', '/home/pi/Desktop/images/29112025/19/30/image_29112025_19_30_45_9696.jpg', '/home/pi/Desktop/images/29112025/19/30/image_29112025_19_30_56_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/29/image_29112025_19_29_54_9731.jpg
/home/pi/Desktop/images/29112025/19/30/image_29112025_19_30_15_10057.jpg
/home/pi/Desktop/images/29112025/19/30/image_29112025_19_30_26_10720.jpg
/home/pi/Desktop/images/29112025/19/30/image_29112025_19_30_35_9632.jpg
/home/pi/Desktop/images/29112025/19/30/image_29112025_19_30_45_9696.jpg
/home/pi/Desktop/images/29112025/19/30/image_29112025_19_30_56_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939636","1396939639","1396939649","1396939643","1396939652","1396939646"],"photo_ids_order":["1396939636","1396939639","1396939643","1396939646","1396939649","1396939652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3a7eb525fefc8a258c0b9a6d12ca9a7.jpg","text":"TemporaryFile(/tmp/multipartBody5420836361225810709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441202702,"filename":"image_29112025_19_29_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/11/29/d7922f4e639277f347bccbf93794ce41.jpg","text":"TemporaryFile(/tmp/multipartBody5393249916739831654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441202702,"filename":"image_29112025_19_30_15_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5d2ab00a937061828350fa61f9a65c6.jpg","text":"TemporaryFile(/tmp/multipartBody4299853411339582165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441202702,"filename":"image_29112025_19_30_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/11/29/143eb3a58bcc24e2633efe209adad2d7.jpg","text":"TemporaryFile(/tmp/multipartBody8228474554298873625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441202702,"filename":"image_29112025_19_30_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/11/29/8e405d2c02c7898f885a2c3c9578e74f.jpg","text":"TemporaryFile(/tmp/multipartBody7786980658365439585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441202702,"filename":"image_29112025_19_30_56_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0fe38f8979f655da0ccb7ec4417fe48.jpg","text":"TemporaryFile(/tmp/multipartBody3656179398027802902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441202702,"filename":"image_29112025_19_30_35_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939643","file1":"1396939639","file0":"1396939636","file4":"1396939649","file5":"1396939652","file3":"1396939646"},"map_files_photo_id_array":[{"photo_id":"1396939652","filename":"file5"},{"photo_id":"1396939643","filename":"file2"},{"photo_id":"1396939649","filename":"file4"},{"photo_id":"1396939639","filename":"file1"},{"photo_id":"1396939636","filename":"file0"},{"photo_id":"1396939646","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939636":["hashtag1","hashtag2"]},{"1396939639":["hashtag1","hashtag2"]},{"1396939649":["hashtag1","hashtag2"]},{"1396939643":["hashtag1","hashtag2"]},{"1396939652":["hashtag1","hashtag2"]},{"1396939646":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939636, 1396939639, 1396939649, 1396939643, 1396939652, 1396939646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.316157579422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:33:03.031824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/30/image_29112025_19_31_05_9673.jpg', '/home/pi/Desktop/images/29112025/19/31/image_29112025_19_31_15_9608.jpg', '/home/pi/Desktop/images/29112025/19/31/image_29112025_19_31_25_10604.jpg', '/home/pi/Desktop/images/29112025/19/31/image_29112025_19_31_35_9590.jpg', '/home/pi/Desktop/images/29112025/19/31/image_29112025_19_31_45_10209.jpg', '/home/pi/Desktop/images/29112025/19/31/image_29112025_19_31_55_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/30/image_29112025_19_31_05_9673.jpg
/home/pi/Desktop/images/29112025/19/31/image_29112025_19_31_15_9608.jpg
/home/pi/Desktop/images/29112025/19/31/image_29112025_19_31_25_10604.jpg
/home/pi/Desktop/images/29112025/19/31/image_29112025_19_31_35_9590.jpg
/home/pi/Desktop/images/29112025/19/31/image_29112025_19_31_45_10209.jpg
/home/pi/Desktop/images/29112025/19/31/image_29112025_19_31_55_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":["1396939657","1396939659","1396939661","1396939655","1396939664","1396939658"],"photo_ids_order":["1396939655","1396939657","1396939658","1396939659","1396939661","1396939664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f5cbd0da80073498ad24ef4e7677684.jpg","text":"TemporaryFile(/tmp/multipartBody3606320397431274390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441243782,"filename":"image_29112025_19_31_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c093fd99096af5dc8ea5a77237f16eb.jpg","text":"TemporaryFile(/tmp/multipartBody478847963888448287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441243782,"filename":"image_29112025_19_31_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/11/29/1d2c32bdb8e6951373a95a21a1c64799.jpg","text":"TemporaryFile(/tmp/multipartBody6685165777791038644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441243782,"filename":"image_29112025_19_31_45_10209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7bbbcce2a66e99e14a80f7feed931e1.jpg","text":"TemporaryFile(/tmp/multipartBody8331168260732436972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441243782,"filename":"image_29112025_19_31_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61f8345f5ccbce1d3deb78c37ce8dde5.jpg","text":"TemporaryFile(/tmp/multipartBody7356155116393253526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441243782,"filename":"image_29112025_19_31_55_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28f03c197f695dc609c85df9a2f6bafd.jpg","text":"TemporaryFile(/tmp/multipartBody1076140133716799240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441243782,"filename":"image_29112025_19_31_25_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939658","file1":"1396939657","file0":"1396939655","file4":"1396939661","file5":"1396939664","file3":"1396939659"},"map_files_photo_id_array":[{"photo_id":"1396939664","filename":"file5"},{"photo_id":"1396939658","filename":"file2"},{"photo_id":"1396939661","filename":"file4"},{"photo_id":"1396939657","filename":"file1"},{"photo_id":"1396939655","filename":"file0"},{"photo_id":"1396939659","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939657":["hashtag1","hashtag2"]},{"1396939659":["hashtag1","hashtag2"]},{"1396939661":["hashtag1","hashtag2"]},{"1396939655":["hashtag1","hashtag2"]},{"1396939664":["hashtag1","hashtag2"]},{"1396939658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939657, 1396939659, 1396939661, 1396939655, 1396939664, 1396939658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.353358030319214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:33:42.360827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_04_2735.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_07_2636.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_10_3625.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_13_2630.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_16_2685.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_19_3827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_04_2735.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_07_2636.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_10_3625.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_13_2630.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_16_2685.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_19_3827.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939678","1396939675","1396939677","1396939673","1396939676","1396939679"],"photo_ids_order":["1396939673","1396939675","1396939676","1396939677","1396939678","1396939679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a7f65ff702af8998fe94570b1d867c4.jpg","text":"TemporaryFile(/tmp/multipartBody5588785417187204815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441283449,"filename":"image_31102025_10_38_16_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74f04d8856fbb5bb9e042491ba915c9d.jpg","text":"TemporaryFile(/tmp/multipartBody5566690161647590799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441283449,"filename":"image_31102025_10_38_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/11/29/61abfbad97763201493a6c82ef1e3a56.jpg","text":"TemporaryFile(/tmp/multipartBody4143653949307326307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441283449,"filename":"image_31102025_10_38_13_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76a5e634e96936ce2b6778eb33678e86.jpg","text":"TemporaryFile(/tmp/multipartBody861914805159090601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441283449,"filename":"image_31102025_10_38_04_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c11e127b7a8b5cef8697be9012af31a2.jpg","text":"TemporaryFile(/tmp/multipartBody9053714284566832358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441283449,"filename":"image_31102025_10_38_10_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e01fe954e0ad02f462632ab83c2e553.jpg","text":"TemporaryFile(/tmp/multipartBody4520275092778642165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441283449,"filename":"image_31102025_10_38_19_3827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939676","file1":"1396939675","file0":"1396939673","file4":"1396939678","file5":"1396939679","file3":"1396939677"},"map_files_photo_id_array":[{"photo_id":"1396939679","filename":"file5"},{"photo_id":"1396939676","filename":"file2"},{"photo_id":"1396939678","filename":"file4"},{"photo_id":"1396939675","filename":"file1"},{"photo_id":"1396939673","filename":"file0"},{"photo_id":"1396939677","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396939678":["hashtag1","hashtag2"]},{"1396939675":["hashtag1","hashtag2"]},{"1396939677":["hashtag1","hashtag2"]},{"1396939673":["hashtag1","hashtag2"]},{"1396939676":["hashtag1","hashtag2"]},{"1396939679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396939678, 1396939675, 1396939677, 1396939673, 1396939676, 1396939679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.359477519989014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:34:22.644885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/31/image_29112025_19_32_06_10679.jpg', '/home/pi/Desktop/images/29112025/19/32/image_29112025_19_32_15_9714.jpg', '/home/pi/Desktop/images/29112025/19/32/image_29112025_19_32_25_9780.jpg', '/home/pi/Desktop/images/29112025/19/32/image_29112025_19_32_35_9689.jpg', '/home/pi/Desktop/images/29112025/19/32/image_29112025_19_32_45_10581.jpg', '/home/pi/Desktop/images/29112025/19/32/image_29112025_19_32_55_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/31/image_29112025_19_32_06_10679.jpg
/home/pi/Desktop/images/29112025/19/32/image_29112025_19_32_15_9714.jpg
/home/pi/Desktop/images/29112025/19/32/image_29112025_19_32_25_9780.jpg
/home/pi/Desktop/images/29112025/19/32/image_29112025_19_32_35_9689.jpg
/home/pi/Desktop/images/29112025/19/32/image_29112025_19_32_45_10581.jpg
/home/pi/Desktop/images/29112025/19/32/image_29112025_19_32_55_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939692","1396939689","1396939683","1396939686","1396939694","1396939697"],"photo_ids_order":["1396939683","1396939686","1396939689","1396939692","1396939694","1396939697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85be3fe2c7b745f76a19609c3209a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody223707905438955378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441323326,"filename":"image_29112025_19_32_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/11/29/1f3167deff9aa9badc7fd6d90f794a29.jpg","text":"TemporaryFile(/tmp/multipartBody9059496868921807814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441323326,"filename":"image_29112025_19_32_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/11/29/b3b73d74a5b128b3c1f9d9793b776046.jpg","text":"TemporaryFile(/tmp/multipartBody3022686600205319386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441323326,"filename":"image_29112025_19_32_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/11/29/90e41a14cfe041f52a6096c40923a88e.jpg","text":"TemporaryFile(/tmp/multipartBody4048564709628525791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441323326,"filename":"image_29112025_19_32_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d34725c4844b7bcb3156f790eb45c77a.jpg","text":"TemporaryFile(/tmp/multipartBody699593680104610968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441323326,"filename":"image_29112025_19_32_45_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/298d7250bf029e2fb7c13d702b0ab6ec.jpg","text":"TemporaryFile(/tmp/multipartBody1524991296557943835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441323326,"filename":"image_29112025_19_32_55_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939689","file1":"1396939686","file0":"1396939683","file4":"1396939694","file5":"1396939697","file3":"1396939692"},"map_files_photo_id_array":[{"photo_id":"1396939697","filename":"file5"},{"photo_id":"1396939689","filename":"file2"},{"photo_id":"1396939694","filename":"file4"},{"photo_id":"1396939686","filename":"file1"},{"photo_id":"1396939683","filename":"file0"},{"photo_id":"1396939692","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939692":["hashtag1","hashtag2"]},{"1396939689":["hashtag1","hashtag2"]},{"1396939683":["hashtag1","hashtag2"]},{"1396939686":["hashtag1","hashtag2"]},{"1396939694":["hashtag1","hashtag2"]},{"1396939697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939692, 1396939689, 1396939683, 1396939686, 1396939694, 1396939697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.451655626297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:35:03.323721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/32/image_29112025_19_33_06_10596.jpg', '/home/pi/Desktop/images/29112025/19/33/image_29112025_19_33_16_9732.jpg', '/home/pi/Desktop/images/29112025/19/33/image_29112025_19_33_25_9639.jpg', '/home/pi/Desktop/images/29112025/19/33/image_29112025_19_33_35_9648.jpg', '/home/pi/Desktop/images/29112025/19/33/image_29112025_19_33_45_10692.jpg', '/home/pi/Desktop/images/29112025/19/33/image_29112025_19_33_55_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/32/image_29112025_19_33_06_10596.jpg
/home/pi/Desktop/images/29112025/19/33/image_29112025_19_33_16_9732.jpg
/home/pi/Desktop/images/29112025/19/33/image_29112025_19_33_25_9639.jpg
/home/pi/Desktop/images/29112025/19/33/image_29112025_19_33_35_9648.jpg
/home/pi/Desktop/images/29112025/19/33/image_29112025_19_33_45_10692.jpg
/home/pi/Desktop/images/29112025/19/33/image_29112025_19_33_55_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939700","1396939699","1396939708","1396939702","1396939705","1396939701"],"photo_ids_order":["1396939699","1396939700","1396939701","1396939702","1396939705","1396939708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06fef0235c41946d0b6a4fbb2e9c07d1.jpg","text":"TemporaryFile(/tmp/multipartBody1886646852728402281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441364080,"filename":"image_29112025_19_33_16_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c2ba0f53b7fd80487e93fbdfffb1443.jpg","text":"TemporaryFile(/tmp/multipartBody2126997529076938081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441364080,"filename":"image_29112025_19_33_06_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2edb55d4a20b8795f98b27e7d7384e6.jpg","text":"TemporaryFile(/tmp/multipartBody1685377266558283749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441364080,"filename":"image_29112025_19_33_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8e25e40a10002c0f733cf572f903067.jpg","text":"TemporaryFile(/tmp/multipartBody8951109164420565001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441364080,"filename":"image_29112025_19_33_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/11/29/4d8b4b5879e4c7dff0ad4b59694874f8.jpg","text":"TemporaryFile(/tmp/multipartBody4014094395850252005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441364080,"filename":"image_29112025_19_33_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/319242c9432432f2fb1d8ced0a4bd04b.jpg","text":"TemporaryFile(/tmp/multipartBody1884366072409391943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441364080,"filename":"image_29112025_19_33_25_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939701","file1":"1396939700","file0":"1396939699","file4":"1396939705","file5":"1396939708","file3":"1396939702"},"map_files_photo_id_array":[{"photo_id":"1396939708","filename":"file5"},{"photo_id":"1396939701","filename":"file2"},{"photo_id":"1396939705","filename":"file4"},{"photo_id":"1396939700","filename":"file1"},{"photo_id":"1396939699","filename":"file0"},{"photo_id":"1396939702","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939700":["hashtag1","hashtag2"]},{"1396939699":["hashtag1","hashtag2"]},{"1396939708":["hashtag1","hashtag2"]},{"1396939702":["hashtag1","hashtag2"]},{"1396939705":["hashtag1","hashtag2"]},{"1396939701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939700, 1396939699, 1396939708, 1396939702, 1396939705, 1396939701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06797432899475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:35:42.704552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_22_2656.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_25_2582.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_29_3848.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_31_2720.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_34_2754.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_37_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_22_2656.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_25_2582.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_29_3848.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_31_2720.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_34_2754.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_37_2804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939720","1396939723","1396939717","1396939719","1396939722","1396939721"],"photo_ids_order":["1396939717","1396939719","1396939720","1396939721","1396939722","1396939723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d8e951b2add3768a86b12b7cf21ea49.jpg","text":"TemporaryFile(/tmp/multipartBody2057170181386123428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441403807,"filename":"image_31102025_10_38_29_3848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/088ec09a7814f477b8a7634a98544fb7.jpg","text":"TemporaryFile(/tmp/multipartBody6516717109463484374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441403807,"filename":"image_31102025_10_38_37_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb024e52e60a56f229c9a9a1719dd858.jpg","text":"TemporaryFile(/tmp/multipartBody4120419806308496706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441403807,"filename":"image_31102025_10_38_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/11/29/177e8bef021e23b14d5e983d822e4c70.jpg","text":"TemporaryFile(/tmp/multipartBody5323582972393627271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441403807,"filename":"image_31102025_10_38_25_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7614a44ac62e031dd6103133cfb4a9c7.jpg","text":"TemporaryFile(/tmp/multipartBody7397907589396470427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441403807,"filename":"image_31102025_10_38_34_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4cfcda8d59e18e46cd3493f7b995f94d.jpg","text":"TemporaryFile(/tmp/multipartBody7708003529852595884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441403807,"filename":"image_31102025_10_38_31_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939720","file1":"1396939719","file0":"1396939717","file4":"1396939722","file5":"1396939723","file3":"1396939721"},"map_files_photo_id_array":[{"photo_id":"1396939723","filename":"file5"},{"photo_id":"1396939720","filename":"file2"},{"photo_id":"1396939722","filename":"file4"},{"photo_id":"1396939719","filename":"file1"},{"photo_id":"1396939717","filename":"file0"},{"photo_id":"1396939721","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396939720":["hashtag1","hashtag2"]},{"1396939723":["hashtag1","hashtag2"]},{"1396939717":["hashtag1","hashtag2"]},{"1396939719":["hashtag1","hashtag2"]},{"1396939722":["hashtag1","hashtag2"]},{"1396939721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396939720, 1396939723, 1396939717, 1396939719, 1396939722, 1396939721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70657229423523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:36:21.969729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/33/image_29112025_19_34_05_9874.jpg', '/home/pi/Desktop/images/29112025/19/34/image_29112025_19_34_16_10557.jpg', '/home/pi/Desktop/images/29112025/19/34/image_29112025_19_34_25_9701.jpg', '/home/pi/Desktop/images/29112025/19/34/image_29112025_19_34_35_9871.jpg', '/home/pi/Desktop/images/29112025/19/34/image_29112025_19_34_45_9680.jpg', '/home/pi/Desktop/images/29112025/19/34/image_29112025_19_34_55_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/33/image_29112025_19_34_05_9874.jpg
/home/pi/Desktop/images/29112025/19/34/image_29112025_19_34_16_10557.jpg
/home/pi/Desktop/images/29112025/19/34/image_29112025_19_34_25_9701.jpg
/home/pi/Desktop/images/29112025/19/34/image_29112025_19_34_35_9871.jpg
/home/pi/Desktop/images/29112025/19/34/image_29112025_19_34_45_9680.jpg
/home/pi/Desktop/images/29112025/19/34/image_29112025_19_34_55_10579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939732","1396939726","1396939729","1396939738","1396939734","1396939736"],"photo_ids_order":["1396939726","1396939729","1396939732","1396939734","1396939736","1396939738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08a88a6a25f506859970f63e27fd79c6.jpg","text":"TemporaryFile(/tmp/multipartBody2187451726060057181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441442683,"filename":"image_29112025_19_34_25_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8acd56a398d900e910a492fddeb86887.jpg","text":"TemporaryFile(/tmp/multipartBody8076861948154585005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441442683,"filename":"image_29112025_19_34_05_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e32e24a657da5935fc9e9dc62b4026a.jpg","text":"TemporaryFile(/tmp/multipartBody3169766478303124625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441442683,"filename":"image_29112025_19_34_16_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37d4ae34a53541779b4d7dc140ed9c4c.jpg","text":"TemporaryFile(/tmp/multipartBody4106009741959630976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441442683,"filename":"image_29112025_19_34_55_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2a894550290aa8f94da2e66fbba7be5.jpg","text":"TemporaryFile(/tmp/multipartBody11882182529951221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441442683,"filename":"image_29112025_19_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/11/29/006b9f23d1ea9f156ff892053b53c638.jpg","text":"TemporaryFile(/tmp/multipartBody2085347397307655298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441442683,"filename":"image_29112025_19_34_45_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939732","file1":"1396939729","file0":"1396939726","file4":"1396939736","file5":"1396939738","file3":"1396939734"},"map_files_photo_id_array":[{"photo_id":"1396939738","filename":"file5"},{"photo_id":"1396939732","filename":"file2"},{"photo_id":"1396939736","filename":"file4"},{"photo_id":"1396939729","filename":"file1"},{"photo_id":"1396939726","filename":"file0"},{"photo_id":"1396939734","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939732":["hashtag1","hashtag2"]},{"1396939726":["hashtag1","hashtag2"]},{"1396939729":["hashtag1","hashtag2"]},{"1396939738":["hashtag1","hashtag2"]},{"1396939734":["hashtag1","hashtag2"]},{"1396939736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939732, 1396939726, 1396939729, 1396939738, 1396939734, 1396939736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80384063720703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:37:02.768554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/34/image_29112025_19_35_05_9578.jpg', '/home/pi/Desktop/images/29112025/19/35/image_29112025_19_35_16_10703.jpg', '/home/pi/Desktop/images/29112025/19/35/image_29112025_19_35_26_9856.jpg', '/home/pi/Desktop/images/29112025/19/35/image_29112025_19_35_35_9762.jpg', '/home/pi/Desktop/images/29112025/19/35/image_29112025_19_35_45_9579.jpg', '/home/pi/Desktop/images/29112025/19/35/image_29112025_19_35_56_10796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/34/image_29112025_19_35_05_9578.jpg
/home/pi/Desktop/images/29112025/19/35/image_29112025_19_35_16_10703.jpg
/home/pi/Desktop/images/29112025/19/35/image_29112025_19_35_26_9856.jpg
/home/pi/Desktop/images/29112025/19/35/image_29112025_19_35_35_9762.jpg
/home/pi/Desktop/images/29112025/19/35/image_29112025_19_35_45_9579.jpg
/home/pi/Desktop/images/29112025/19/35/image_29112025_19_35_56_10796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396939741","1396939743","1396939740","1396939748","1396939742","1396939751"],"photo_ids_order":["1396939740","1396939741","1396939742","1396939743","1396939748","1396939751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ef32f1d1ff718c62dad69aae4cbfb9e.jpg","text":"TemporaryFile(/tmp/multipartBody13880597133251285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441483506,"filename":"image_29112025_19_35_16_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c1a0e1bc01c6c3dfce373770d137321.jpg","text":"TemporaryFile(/tmp/multipartBody4699405362727460013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441483506,"filename":"image_29112025_19_35_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/11/29/3639c1e541f2f13b013c81818741aa72.jpg","text":"TemporaryFile(/tmp/multipartBody8243722246799213364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441483506,"filename":"image_29112025_19_35_05_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e68516e33114d27d2136c4471fb6f88c.jpg","text":"TemporaryFile(/tmp/multipartBody5194079989857865834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441483506,"filename":"image_29112025_19_35_45_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e03130623ae1094e2d50ff37232570a.jpg","text":"TemporaryFile(/tmp/multipartBody5030921013963917142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441483506,"filename":"image_29112025_19_35_26_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9818e326293b8c03d948259500f96619.jpg","text":"TemporaryFile(/tmp/multipartBody7935003428625671032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441483506,"filename":"image_29112025_19_35_56_10796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939742","file1":"1396939741","file0":"1396939740","file4":"1396939748","file5":"1396939751","file3":"1396939743"},"map_files_photo_id_array":[{"photo_id":"1396939751","filename":"file5"},{"photo_id":"1396939742","filename":"file2"},{"photo_id":"1396939748","filename":"file4"},{"photo_id":"1396939741","filename":"file1"},{"photo_id":"1396939740","filename":"file0"},{"photo_id":"1396939743","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939741":["hashtag1","hashtag2"]},{"1396939743":["hashtag1","hashtag2"]},{"1396939740":["hashtag1","hashtag2"]},{"1396939748":["hashtag1","hashtag2"]},{"1396939742":["hashtag1","hashtag2"]},{"1396939751":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939741, 1396939743, 1396939740, 1396939748, 1396939742, 1396939751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.793795585632324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:37:42.053360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_40_3651.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_43_2764.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_46_2728.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_49_2656.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_52_3554.jpg', '/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_55_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/10/38/image_31102025_10_38_40_3651.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_43_2764.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_46_2728.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_49_2656.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_52_3554.jpg
/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_55_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":["1396939795","1396939837","1396939822","1396939819","1396939836","1396939835"],"photo_ids_order":["1396939795","1396939819","1396939822","1396939835","1396939836","1396939837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1556c9503f5080eca3dd8f8675776d5.jpg","text":"TemporaryFile(/tmp/multipartBody8410852374514557772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441523142,"filename":"image_31102025_10_38_40_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16efe091c8f6f0148ef0ae1e856eb8db.jpg","text":"TemporaryFile(/tmp/multipartBody7478795545183042360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441523142,"filename":"image_31102025_10_38_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/11/29/0937ad4bb7000547ab4802ef2df9ae33.jpg","text":"TemporaryFile(/tmp/multipartBody6915673990980527818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441523142,"filename":"image_31102025_10_38_46_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5a2776ffc117a2fafec885a3018f082.jpg","text":"TemporaryFile(/tmp/multipartBody8758531324793084764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441523142,"filename":"image_31102025_10_38_43_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e2963b684ea314ba1532b26b7bc1336.jpg","text":"TemporaryFile(/tmp/multipartBody8343350787073240725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441523142,"filename":"image_31102025_10_38_52_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f937109fafae00df965f1f8bb804f3af.jpg","text":"TemporaryFile(/tmp/multipartBody6163478633394689724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441523142,"filename":"image_31102025_10_38_49_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939822","file1":"1396939819","file0":"1396939795","file4":"1396939836","file5":"1396939837","file3":"1396939835"},"map_files_photo_id_array":[{"photo_id":"1396939837","filename":"file5"},{"photo_id":"1396939822","filename":"file2"},{"photo_id":"1396939836","filename":"file4"},{"photo_id":"1396939819","filename":"file1"},{"photo_id":"1396939795","filename":"file0"},{"photo_id":"1396939835","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396939795":["hashtag1","hashtag2"]},{"1396939837":["hashtag1","hashtag2"]},{"1396939822":["hashtag1","hashtag2"]},{"1396939819":["hashtag1","hashtag2"]},{"1396939836":["hashtag1","hashtag2"]},{"1396939835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396939795, 1396939837, 1396939822, 1396939819, 1396939836, 1396939835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63857650756836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:38:22.271936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/35/image_29112025_19_36_05_9569.jpg', '/home/pi/Desktop/images/29112025/19/36/image_29112025_19_36_15_9720.jpg', '/home/pi/Desktop/images/29112025/19/36/image_29112025_19_36_26_10751.jpg', '/home/pi/Desktop/images/29112025/19/36/image_29112025_19_36_36_9776.jpg', '/home/pi/Desktop/images/29112025/19/36/image_29112025_19_36_45_9645.jpg', '/home/pi/Desktop/images/29112025/19/36/image_29112025_19_36_55_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/35/image_29112025_19_36_05_9569.jpg
/home/pi/Desktop/images/29112025/19/36/image_29112025_19_36_15_9720.jpg
/home/pi/Desktop/images/29112025/19/36/image_29112025_19_36_26_10751.jpg
/home/pi/Desktop/images/29112025/19/36/image_29112025_19_36_36_9776.jpg
/home/pi/Desktop/images/29112025/19/36/image_29112025_19_36_45_9645.jpg
/home/pi/Desktop/images/29112025/19/36/image_29112025_19_36_55_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":["1396939843","1396939855","1396939840","1396939853","1396939847","1396939850"],"photo_ids_order":["1396939840","1396939843","1396939847","1396939850","1396939853","1396939855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/076a22cedac6b117f326bdc54503ebae.jpg","text":"TemporaryFile(/tmp/multipartBody8010796272196772860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441562945,"filename":"image_29112025_19_36_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/11/29/cd8f21c4078404c01af94e66d4df93a3.jpg","text":"TemporaryFile(/tmp/multipartBody5314576321610146875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441562945,"filename":"image_29112025_19_36_55_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14ef0c3cae6b6896f6b958bcca7dfc98.jpg","text":"TemporaryFile(/tmp/multipartBody4888410668812927029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441562945,"filename":"image_29112025_19_36_05_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/176a18951fe549e6f12d5ebfe0d98212.jpg","text":"TemporaryFile(/tmp/multipartBody4197905035621270384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441562945,"filename":"image_29112025_19_36_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/11/29/aa43467946a2533289005cb2b9b13c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8697316116924557585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441562945,"filename":"image_29112025_19_36_26_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5e3813b734876dc04a40fce6c85ce11.jpg","text":"TemporaryFile(/tmp/multipartBody1128613447889415243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441562945,"filename":"image_29112025_19_36_36_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939847","file1":"1396939843","file0":"1396939840","file4":"1396939853","file5":"1396939855","file3":"1396939850"},"map_files_photo_id_array":[{"photo_id":"1396939855","filename":"file5"},{"photo_id":"1396939847","filename":"file2"},{"photo_id":"1396939853","filename":"file4"},{"photo_id":"1396939843","filename":"file1"},{"photo_id":"1396939840","filename":"file0"},{"photo_id":"1396939850","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939843":["hashtag1","hashtag2"]},{"1396939855":["hashtag1","hashtag2"]},{"1396939840":["hashtag1","hashtag2"]},{"1396939853":["hashtag1","hashtag2"]},{"1396939847":["hashtag1","hashtag2"]},{"1396939850":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939843, 1396939855, 1396939840, 1396939853, 1396939847, 1396939850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35526084899902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:39:03.371352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/36/image_29112025_19_37_06_10650.jpg', '/home/pi/Desktop/images/29112025/19/37/image_29112025_19_37_15_9704.jpg', '/home/pi/Desktop/images/29112025/19/37/image_29112025_19_37_25_9624.jpg', '/home/pi/Desktop/images/29112025/19/37/image_29112025_19_37_35_9848.jpg', '/home/pi/Desktop/images/29112025/19/37/image_29112025_19_37_46_10702.jpg', '/home/pi/Desktop/images/29112025/19/37/image_29112025_19_37_55_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/36/image_29112025_19_37_06_10650.jpg
/home/pi/Desktop/images/29112025/19/37/image_29112025_19_37_15_9704.jpg
/home/pi/Desktop/images/29112025/19/37/image_29112025_19_37_25_9624.jpg
/home/pi/Desktop/images/29112025/19/37/image_29112025_19_37_35_9848.jpg
/home/pi/Desktop/images/29112025/19/37/image_29112025_19_37_46_10702.jpg
/home/pi/Desktop/images/29112025/19/37/image_29112025_19_37_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":["1396939925","1396939897","1396939906","1396939918","1396939929","1396939937"],"photo_ids_order":["1396939897","1396939906","1396939918","1396939925","1396939929","1396939937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee294de81ddcaf6457784a5ff1c74dfa.jpg","text":"TemporaryFile(/tmp/multipartBody1114557844710266886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441604286,"filename":"image_29112025_19_37_35_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9388e02ff13bc2a79f65ed32a345d7ab.jpg","text":"TemporaryFile(/tmp/multipartBody8697414097326785268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441604286,"filename":"image_29112025_19_37_06_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0b7c686bca0a883feed7ef7b340a250.jpg","text":"TemporaryFile(/tmp/multipartBody601307604741647651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441604286,"filename":"image_29112025_19_37_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/11/29/a4d7aa9ddbb7aa14cc324a9847b0dbee.jpg","text":"TemporaryFile(/tmp/multipartBody3097070224616885655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441604286,"filename":"image_29112025_19_37_25_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76d939a0322c005cfc46ed2c83c6d82d.jpg","text":"TemporaryFile(/tmp/multipartBody1026520704805317996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441604286,"filename":"image_29112025_19_37_46_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/935a591ba1ad5cf90973df12d50e809b.jpg","text":"TemporaryFile(/tmp/multipartBody4368430804021125400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441604286,"filename":"image_29112025_19_37_55_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939918","file1":"1396939906","file0":"1396939897","file4":"1396939929","file5":"1396939937","file3":"1396939925"},"map_files_photo_id_array":[{"photo_id":"1396939937","filename":"file5"},{"photo_id":"1396939918","filename":"file2"},{"photo_id":"1396939929","filename":"file4"},{"photo_id":"1396939906","filename":"file1"},{"photo_id":"1396939897","filename":"file0"},{"photo_id":"1396939925","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396939925":["hashtag1","hashtag2"]},{"1396939897":["hashtag1","hashtag2"]},{"1396939906":["hashtag1","hashtag2"]},{"1396939918":["hashtag1","hashtag2"]},{"1396939929":["hashtag1","hashtag2"]},{"1396939937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396939925, 1396939897, 1396939906, 1396939918, 1396939929, 1396939937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29522776603699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:39:42.571990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/38/image_31102025_10_38_59_3604.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_01_2679.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_04_2744.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_07_2613.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_10_3620.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_13_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/10/38/image_31102025_10_38_59_3604.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_01_2679.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_04_2744.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_07_2613.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_10_3620.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_13_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":["1396939990","1396939986","1396939989","1396940005","1396939991","1396939988"],"photo_ids_order":["1396939986","1396939988","1396939989","1396939990","1396939991","1396940005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/166a80029030344b5ebb73ce59087e10.jpg","text":"TemporaryFile(/tmp/multipartBody2374790610704005675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441643660,"filename":"image_31102025_10_39_07_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/075e040e0bc942365eb0f7648bf1c0f4.jpg","text":"TemporaryFile(/tmp/multipartBody5680807556570571004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441643660,"filename":"image_31102025_10_38_59_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34a9e26a01a26fea43d34bec0396ae22.jpg","text":"TemporaryFile(/tmp/multipartBody4933419881485134010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441643660,"filename":"image_31102025_10_39_04_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e406d8180bdbaf4c190cb421ce575e9.jpg","text":"TemporaryFile(/tmp/multipartBody6216912628277094618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441643660,"filename":"image_31102025_10_39_13_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb57b17bdfe151dccc592ac707ef66e1.jpg","text":"TemporaryFile(/tmp/multipartBody6131988660039414208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441643660,"filename":"image_31102025_10_39_10_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8c5733d5b85a3a2200abdb156c1d0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3527428844490981098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441643660,"filename":"image_31102025_10_39_01_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396939989","file1":"1396939988","file0":"1396939986","file4":"1396939991","file5":"1396940005","file3":"1396939990"},"map_files_photo_id_array":[{"photo_id":"1396940005","filename":"file5"},{"photo_id":"1396939989","filename":"file2"},{"photo_id":"1396939991","filename":"file4"},{"photo_id":"1396939988","filename":"file1"},{"photo_id":"1396939986","filename":"file0"},{"photo_id":"1396939990","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396939990":["hashtag1","hashtag2"]},{"1396939986":["hashtag1","hashtag2"]},{"1396939989":["hashtag1","hashtag2"]},{"1396940005":["hashtag1","hashtag2"]},{"1396939991":["hashtag1","hashtag2"]},{"1396939988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396939990, 1396939986, 1396939989, 1396940005, 1396939991, 1396939988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.280576944351196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:40:22.828713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/37/image_29112025_19_38_05_9626.jpg', '/home/pi/Desktop/images/29112025/19/38/image_29112025_19_38_16_10792.jpg', '/home/pi/Desktop/images/29112025/19/38/image_29112025_19_38_25_9635.jpg', '/home/pi/Desktop/images/29112025/19/38/image_29112025_19_38_35_9649.jpg', '/home/pi/Desktop/images/29112025/19/38/image_29112025_19_38_46_10709.jpg', '/home/pi/Desktop/images/29112025/19/38/image_29112025_19_38_55_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/37/image_29112025_19_38_05_9626.jpg
/home/pi/Desktop/images/29112025/19/38/image_29112025_19_38_16_10792.jpg
/home/pi/Desktop/images/29112025/19/38/image_29112025_19_38_25_9635.jpg
/home/pi/Desktop/images/29112025/19/38/image_29112025_19_38_35_9649.jpg
/home/pi/Desktop/images/29112025/19/38/image_29112025_19_38_46_10709.jpg
/home/pi/Desktop/images/29112025/19/38/image_29112025_19_38_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":["1396940060","1396940105","1396940062","1396940071","1396940065","1396940068"],"photo_ids_order":["1396940060","1396940062","1396940065","1396940068","1396940071","1396940105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bc2c1ad0633cb1fd6631b88622625c1.jpg","text":"TemporaryFile(/tmp/multipartBody5590210880364680241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441683506,"filename":"image_29112025_19_38_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e49d0cc18560331b69c3df52708b2f0a.jpg","text":"TemporaryFile(/tmp/multipartBody6875777421633860307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441683506,"filename":"image_29112025_19_38_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/11/29/9359b91a2c11ae1c512245326716bdc8.jpg","text":"TemporaryFile(/tmp/multipartBody28566909675667552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441683506,"filename":"image_29112025_19_38_16_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d5714328a07942c058e1eac4e8d10a8.jpg","text":"TemporaryFile(/tmp/multipartBody5117367511356048569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441683506,"filename":"image_29112025_19_38_46_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb8576066b8efdc9d26c469ae9386e8d.jpg","text":"TemporaryFile(/tmp/multipartBody3823914596375816587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441683506,"filename":"image_29112025_19_38_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/11/29/74728ce8ed8790103e720c330d053791.jpg","text":"TemporaryFile(/tmp/multipartBody4032707406030959301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441683506,"filename":"image_29112025_19_38_35_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940065","file1":"1396940062","file0":"1396940060","file4":"1396940071","file5":"1396940105","file3":"1396940068"},"map_files_photo_id_array":[{"photo_id":"1396940105","filename":"file5"},{"photo_id":"1396940065","filename":"file2"},{"photo_id":"1396940071","filename":"file4"},{"photo_id":"1396940062","filename":"file1"},{"photo_id":"1396940060","filename":"file0"},{"photo_id":"1396940068","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940060":["hashtag1","hashtag2"]},{"1396940105":["hashtag1","hashtag2"]},{"1396940062":["hashtag1","hashtag2"]},{"1396940071":["hashtag1","hashtag2"]},{"1396940065":["hashtag1","hashtag2"]},{"1396940068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940060, 1396940105, 1396940062, 1396940071, 1396940065, 1396940068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65424394607544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:41:03.229323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_05_9961.jpg', '/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_15_9819.jpg', '/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_25_10319.jpg', '/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_35_9647.jpg', '/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_45_9861.jpg', '/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_56_10828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_05_9961.jpg
/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_15_9819.jpg
/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_25_10319.jpg
/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_35_9647.jpg
/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_45_9861.jpg
/home/pi/Desktop/images/29112025/19/39/image_29112025_19_39_56_10828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396940267","1396940255","1396940266","1396940275","1396940269","1396940265"],"photo_ids_order":["1396940255","1396940265","1396940266","1396940267","1396940269","1396940275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3f32cac57383a41f544c940283ca4f8.jpg","text":"TemporaryFile(/tmp/multipartBody8278808178732900873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441724021,"filename":"image_29112025_19_39_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/11/29/feee1f62cf631c2c0d3fd69187b4611d.jpg","text":"TemporaryFile(/tmp/multipartBody9102941890405778276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441724021,"filename":"image_29112025_19_39_05_9961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32142b0b8343c848974b1ec8783e83e5.jpg","text":"TemporaryFile(/tmp/multipartBody956464929477151959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441724021,"filename":"image_29112025_19_39_25_10319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/327d64801f41be14e5f400b9f326d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody334499760542826490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441724021,"filename":"image_29112025_19_39_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/11/29/72dbcb4eaadb68ec42541308bb507e2b.jpg","text":"TemporaryFile(/tmp/multipartBody4926869395072521730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441724021,"filename":"image_29112025_19_39_45_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3ad071d178edfbfd19d5f98cabbfc9a.jpg","text":"TemporaryFile(/tmp/multipartBody4251364016761733411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441724021,"filename":"image_29112025_19_39_15_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940266","file1":"1396940265","file0":"1396940255","file4":"1396940269","file5":"1396940275","file3":"1396940267"},"map_files_photo_id_array":[{"photo_id":"1396940275","filename":"file5"},{"photo_id":"1396940266","filename":"file2"},{"photo_id":"1396940269","filename":"file4"},{"photo_id":"1396940265","filename":"file1"},{"photo_id":"1396940255","filename":"file0"},{"photo_id":"1396940267","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940267":["hashtag1","hashtag2"]},{"1396940255":["hashtag1","hashtag2"]},{"1396940266":["hashtag1","hashtag2"]},{"1396940275":["hashtag1","hashtag2"]},{"1396940269":["hashtag1","hashtag2"]},{"1396940265":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940267, 1396940255, 1396940266, 1396940275, 1396940269, 1396940265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41730356216431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:41:42.712427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_16_3635.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_19_2610.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_22_2518.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_25_3654.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_28_2619.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_31_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_16_3635.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_19_2610.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_22_2518.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_25_3654.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_28_2619.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_31_2646.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.022183895111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:42:02.304004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/39/image_29112025_19_40_05_9660.jpg', '/home/pi/Desktop/images/29112025/19/40/image_29112025_19_40_15_9737.jpg', '/home/pi/Desktop/images/29112025/19/40/image_29112025_19_40_26_10345.jpg', '/home/pi/Desktop/images/29112025/19/40/image_29112025_19_40_35_9760.jpg', '/home/pi/Desktop/images/29112025/19/40/image_29112025_19_40_45_9704.jpg', '/home/pi/Desktop/images/29112025/19/40/image_29112025_19_40_56_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/39/image_29112025_19_40_05_9660.jpg
/home/pi/Desktop/images/29112025/19/40/image_29112025_19_40_15_9737.jpg
/home/pi/Desktop/images/29112025/19/40/image_29112025_19_40_26_10345.jpg
/home/pi/Desktop/images/29112025/19/40/image_29112025_19_40_35_9760.jpg
/home/pi/Desktop/images/29112025/19/40/image_29112025_19_40_45_9704.jpg
/home/pi/Desktop/images/29112025/19/40/image_29112025_19_40_56_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":["1396940324","1396940335","1396940323","1396940326","1396940328","1396940325"],"photo_ids_order":["1396940323","1396940324","1396940325","1396940326","1396940328","1396940335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/381d5564c34154d2017f07833fcd9204.jpg","text":"TemporaryFile(/tmp/multipartBody8509864373261501181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441783008,"filename":"image_29112025_19_40_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/11/29/e009b92b074a9ea5f83c9fe8c48b65b5.jpg","text":"TemporaryFile(/tmp/multipartBody505199777211894719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441783008,"filename":"image_29112025_19_40_56_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ebc8e60e47fa17b8dbcc2b12b296265.jpg","text":"TemporaryFile(/tmp/multipartBody6466454651037622463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441783008,"filename":"image_29112025_19_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/11/29/10f84ab8dd6a723a1159683075032a68.jpg","text":"TemporaryFile(/tmp/multipartBody2800204265187948130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441783008,"filename":"image_29112025_19_40_35_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73116158f8cac14a5ad848053c1fcdbc.jpg","text":"TemporaryFile(/tmp/multipartBody633498325961173397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441783008,"filename":"image_29112025_19_40_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/11/29/14061897dea0412a7205cb010ec058b5.jpg","text":"TemporaryFile(/tmp/multipartBody4660073083599911181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441783008,"filename":"image_29112025_19_40_26_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940325","file1":"1396940324","file0":"1396940323","file4":"1396940328","file5":"1396940335","file3":"1396940326"},"map_files_photo_id_array":[{"photo_id":"1396940335","filename":"file5"},{"photo_id":"1396940325","filename":"file2"},{"photo_id":"1396940328","filename":"file4"},{"photo_id":"1396940324","filename":"file1"},{"photo_id":"1396940323","filename":"file0"},{"photo_id":"1396940326","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940324":["hashtag1","hashtag2"]},{"1396940335":["hashtag1","hashtag2"]},{"1396940323":["hashtag1","hashtag2"]},{"1396940326":["hashtag1","hashtag2"]},{"1396940328":["hashtag1","hashtag2"]},{"1396940325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940324, 1396940335, 1396940323, 1396940326, 1396940328, 1396940325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00288200378418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:42:41.901604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_16_3635.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_19_2610.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_22_2518.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_25_3654.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_28_2619.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_31_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_16_3635.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_19_2610.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_22_2518.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_25_3654.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_28_2619.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_31_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396940378","1396940386","1396940344","1396940385","1396940388","1396940387"],"photo_ids_order":["1396940344","1396940378","1396940385","1396940386","1396940387","1396940388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b38399684c172d5b780176c119047f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3431360099635912214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441822920,"filename":"image_31102025_10_39_19_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d385b2aa8f509b4c5f56c9fc3197d439.jpg","text":"TemporaryFile(/tmp/multipartBody5438451332381402538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441822920,"filename":"image_31102025_10_39_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/11/29/371347e4623327eaa1c84de9e910e35b.jpg","text":"TemporaryFile(/tmp/multipartBody8218541691039240655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441822920,"filename":"image_31102025_10_39_16_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e6bd561f4d759f8bb63d5e927155015.jpg","text":"TemporaryFile(/tmp/multipartBody9206475868870836081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441822920,"filename":"image_31102025_10_39_22_2518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f4439265c68d5eaa9cfbb5699dc617d.jpg","text":"TemporaryFile(/tmp/multipartBody1900530790020479760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441822920,"filename":"image_31102025_10_39_31_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c68dd832d27fda133ff66b3cfa71d9f.jpg","text":"TemporaryFile(/tmp/multipartBody3831231912938837692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441822920,"filename":"image_31102025_10_39_28_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940385","file1":"1396940378","file0":"1396940344","file4":"1396940387","file5":"1396940388","file3":"1396940386"},"map_files_photo_id_array":[{"photo_id":"1396940388","filename":"file5"},{"photo_id":"1396940385","filename":"file2"},{"photo_id":"1396940387","filename":"file4"},{"photo_id":"1396940378","filename":"file1"},{"photo_id":"1396940344","filename":"file0"},{"photo_id":"1396940386","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396940378":["hashtag1","hashtag2"]},{"1396940386":["hashtag1","hashtag2"]},{"1396940344":["hashtag1","hashtag2"]},{"1396940385":["hashtag1","hashtag2"]},{"1396940388":["hashtag1","hashtag2"]},{"1396940387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396940378, 1396940386, 1396940344, 1396940385, 1396940388, 1396940387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31581926345825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:43:22.112466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/40/image_29112025_19_41_05_9767.jpg', '/home/pi/Desktop/images/29112025/19/41/image_29112025_19_41_15_9707.jpg', '/home/pi/Desktop/images/29112025/19/41/image_29112025_19_41_25_9637.jpg', '/home/pi/Desktop/images/29112025/19/41/image_29112025_19_41_36_10740.jpg', '/home/pi/Desktop/images/29112025/19/41/image_29112025_19_41_45_9403.jpg', '/home/pi/Desktop/images/29112025/19/41/image_29112025_19_41_55_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/40/image_29112025_19_41_05_9767.jpg
/home/pi/Desktop/images/29112025/19/41/image_29112025_19_41_15_9707.jpg
/home/pi/Desktop/images/29112025/19/41/image_29112025_19_41_25_9637.jpg
/home/pi/Desktop/images/29112025/19/41/image_29112025_19_41_36_10740.jpg
/home/pi/Desktop/images/29112025/19/41/image_29112025_19_41_45_9403.jpg
/home/pi/Desktop/images/29112025/19/41/image_29112025_19_41_55_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396940414","1396940449","1396940524","1396940556","1396940487","1396940400"],"photo_ids_order":["1396940400","1396940414","1396940449","1396940487","1396940524","1396940556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60189f3382cdbe01d8cf310dd6e7dec9.jpg","text":"TemporaryFile(/tmp/multipartBody1728575209752642615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441862816,"filename":"image_29112025_19_41_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad0c51d7811ab71e1554984fe208e2e5.jpg","text":"TemporaryFile(/tmp/multipartBody6618343548677230809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441862816,"filename":"image_29112025_19_41_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c89871b78a37b11e8fc0bef0044dc8c.jpg","text":"TemporaryFile(/tmp/multipartBody9044155201464833483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441862816,"filename":"image_29112025_19_41_45_9403.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/963c7f071d6926f9c691238f47d53577.jpg","text":"TemporaryFile(/tmp/multipartBody658085868409313603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441862816,"filename":"image_29112025_19_41_55_10440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7b3592614793ff486ede358a2b110fd.jpg","text":"TemporaryFile(/tmp/multipartBody3069013090132942947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441862816,"filename":"image_29112025_19_41_36_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fc27f82de4ff25c9992a66626be2766.jpg","text":"TemporaryFile(/tmp/multipartBody4046994048066302805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441862816,"filename":"image_29112025_19_41_05_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940449","file1":"1396940414","file0":"1396940400","file4":"1396940524","file5":"1396940556","file3":"1396940487"},"map_files_photo_id_array":[{"photo_id":"1396940556","filename":"file5"},{"photo_id":"1396940449","filename":"file2"},{"photo_id":"1396940524","filename":"file4"},{"photo_id":"1396940414","filename":"file1"},{"photo_id":"1396940400","filename":"file0"},{"photo_id":"1396940487","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940414":["hashtag1","hashtag2"]},{"1396940449":["hashtag1","hashtag2"]},{"1396940524":["hashtag1","hashtag2"]},{"1396940556":["hashtag1","hashtag2"]},{"1396940487":["hashtag1","hashtag2"]},{"1396940400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940414, 1396940449, 1396940524, 1396940556, 1396940487, 1396940400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60301470756531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:44:02.992919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/41/image_29112025_19_42_05_9676.jpg', '/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_15_9736.jpg', '/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_26_10670.jpg', '/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_35_9798.jpg', '/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_45_9660.jpg', '/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_56_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/41/image_29112025_19_42_05_9676.jpg
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_15_9736.jpg
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_26_10670.jpg
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_35_9798.jpg
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_45_9660.jpg
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_56_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.6591897010803223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 19:44:12.213151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_04_2897.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_07_2602.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_10_3643.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_13_2610.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_15_2508.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_21_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_04_2897.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_07_2602.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_10_3643.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_13_2610.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_15_2508.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_21_2537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396940561","1396940564","1396940574","1396940568","1396940577","1396940571"],"photo_ids_order":["1396940561","1396940564","1396940568","1396940571","1396940574","1396940577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a37b513f787e1c26183f991e195e9c1.jpg","text":"TemporaryFile(/tmp/multipartBody4480583469470552636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441914278,"filename":"image_25112025_19_05_04_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26146eacfa301ae514e25dcc4ea8da39.jpg","text":"TemporaryFile(/tmp/multipartBody4639240657892354345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441914278,"filename":"image_25112025_19_05_07_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5760aacfb181e92023a8788df553fd95.jpg","text":"TemporaryFile(/tmp/multipartBody1030041120454422649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441914278,"filename":"image_25112025_19_05_15_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6747e753e4989afd3ba629250cb1f11f.jpg","text":"TemporaryFile(/tmp/multipartBody3330754942304947534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441914278,"filename":"image_25112025_19_05_10_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac5f430187adf85e472417ee504eedcb.jpg","text":"TemporaryFile(/tmp/multipartBody7847909185184396985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441914278,"filename":"image_25112025_19_05_21_2537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfc3286366ff5e4b140a21e0db2493c3.jpg","text":"TemporaryFile(/tmp/multipartBody2484623391156267685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441914278,"filename":"image_25112025_19_05_13_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940568","file1":"1396940564","file0":"1396940561","file4":"1396940574","file5":"1396940577","file3":"1396940571"},"map_files_photo_id_array":[{"photo_id":"1396940577","filename":"file5"},{"photo_id":"1396940568","filename":"file2"},{"photo_id":"1396940574","filename":"file4"},{"photo_id":"1396940564","filename":"file1"},{"photo_id":"1396940561","filename":"file0"},{"photo_id":"1396940571","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396940561":["hashtag1","hashtag2"]},{"1396940564":["hashtag1","hashtag2"]},{"1396940574":["hashtag1","hashtag2"]},{"1396940568":["hashtag1","hashtag2"]},{"1396940577":["hashtag1","hashtag2"]},{"1396940571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396940561, 1396940564, 1396940574, 1396940568, 1396940577, 1396940571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46774673461914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:45:03.120205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/41/image_29112025_19_42_05_9676.jpg', '/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_15_9736.jpg', '/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_26_10670.jpg', '/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_35_9798.jpg', '/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_45_9660.jpg', '/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_56_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/41/image_29112025_19_42_05_9676.jpg
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_15_9736.jpg
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_26_10670.jpg
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_35_9798.jpg
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_45_9660.jpg
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_42_56_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":["1396940590","1396940584","1396940593","1396940587","1396940586","1396940585"],"photo_ids_order":["1396940584","1396940585","1396940586","1396940587","1396940590","1396940593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff0d0cc4057831a5166e8ff97b1e4be2.jpg","text":"TemporaryFile(/tmp/multipartBody6535560231077848600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441963944,"filename":"image_29112025_19_42_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/11/29/df635120a98758bfc08fd27037401f9d.jpg","text":"TemporaryFile(/tmp/multipartBody486264510285916605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441963944,"filename":"image_29112025_19_42_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/11/29/4c9fc181c89c4fd08c92b07df8530d87.jpg","text":"TemporaryFile(/tmp/multipartBody3930641844519481179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441963944,"filename":"image_29112025_19_42_56_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/848f4c8ea1fb8aaca07aeeb2617246f9.jpg","text":"TemporaryFile(/tmp/multipartBody2983045719664328663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441963944,"filename":"image_29112025_19_42_35_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4efa8579d65ac054b6b03613f20a5af.jpg","text":"TemporaryFile(/tmp/multipartBody7668367529502218234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441963944,"filename":"image_29112025_19_42_26_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26027a175b4d31f4d5939d5e9376eb40.jpg","text":"TemporaryFile(/tmp/multipartBody6290487363954093412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764441963944,"filename":"image_29112025_19_42_15_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940586","file1":"1396940585","file0":"1396940584","file4":"1396940590","file5":"1396940593","file3":"1396940587"},"map_files_photo_id_array":[{"photo_id":"1396940593","filename":"file5"},{"photo_id":"1396940586","filename":"file2"},{"photo_id":"1396940590","filename":"file4"},{"photo_id":"1396940585","filename":"file1"},{"photo_id":"1396940584","filename":"file0"},{"photo_id":"1396940587","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940590":["hashtag1","hashtag2"]},{"1396940584":["hashtag1","hashtag2"]},{"1396940593":["hashtag1","hashtag2"]},{"1396940587":["hashtag1","hashtag2"]},{"1396940586":["hashtag1","hashtag2"]},{"1396940585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940590, 1396940584, 1396940593, 1396940587, 1396940586, 1396940585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33898568153381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:45:42.329439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_34_3787.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_37_2600.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_40_2671.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_43_3728.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_46_2648.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_49_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/10/39/image_31102025_10_39_34_3787.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_37_2600.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_40_2671.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_43_3728.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_46_2648.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_49_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":["1396940603","1396940606","1396940605","1396940607","1396940601","1396940604"],"photo_ids_order":["1396940601","1396940603","1396940604","1396940605","1396940606","1396940607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/562823afbdd807529e58bb0977d3c638.jpg","text":"TemporaryFile(/tmp/multipartBody1905558304072298871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442003419,"filename":"image_31102025_10_39_37_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5dcf248731776b0522399c8e8640f17.jpg","text":"TemporaryFile(/tmp/multipartBody2339618886066585082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442003419,"filename":"image_31102025_10_39_46_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf822914351b801c63e924e6f021aa48.jpg","text":"TemporaryFile(/tmp/multipartBody1782223015481765358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442003419,"filename":"image_31102025_10_39_43_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b76f5a74f6825c6da6aca8e90c96ac9.jpg","text":"TemporaryFile(/tmp/multipartBody3964409059210863829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442003419,"filename":"image_31102025_10_39_49_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffb65c7fbd3787240e58fe28d4d9fd83.jpg","text":"TemporaryFile(/tmp/multipartBody4684355215604058434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442003419,"filename":"image_31102025_10_39_34_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73b3cb65ad9f240d848c779a904eb433.jpg","text":"TemporaryFile(/tmp/multipartBody1119946238225570641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442003419,"filename":"image_31102025_10_39_40_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940604","file1":"1396940603","file0":"1396940601","file4":"1396940606","file5":"1396940607","file3":"1396940605"},"map_files_photo_id_array":[{"photo_id":"1396940607","filename":"file5"},{"photo_id":"1396940604","filename":"file2"},{"photo_id":"1396940606","filename":"file4"},{"photo_id":"1396940603","filename":"file1"},{"photo_id":"1396940601","filename":"file0"},{"photo_id":"1396940605","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396940603":["hashtag1","hashtag2"]},{"1396940606":["hashtag1","hashtag2"]},{"1396940605":["hashtag1","hashtag2"]},{"1396940607":["hashtag1","hashtag2"]},{"1396940601":["hashtag1","hashtag2"]},{"1396940604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396940603, 1396940606, 1396940605, 1396940607, 1396940601, 1396940604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55206346511841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:46:22.484736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/42/image_29112025_19_43_05_9699.jpg', '/home/pi/Desktop/images/29112025/19/43/image_29112025_19_43_15_9715.jpg', '/home/pi/Desktop/images/29112025/19/43/image_29112025_19_43_26_10541.jpg', '/home/pi/Desktop/images/29112025/19/43/image_29112025_19_43_35_9683.jpg', '/home/pi/Desktop/images/29112025/19/43/image_29112025_19_43_45_9742.jpg', '/home/pi/Desktop/images/29112025/19/43/image_29112025_19_43_56_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/42/image_29112025_19_43_05_9699.jpg
/home/pi/Desktop/images/29112025/19/43/image_29112025_19_43_15_9715.jpg
/home/pi/Desktop/images/29112025/19/43/image_29112025_19_43_26_10541.jpg
/home/pi/Desktop/images/29112025/19/43/image_29112025_19_43_35_9683.jpg
/home/pi/Desktop/images/29112025/19/43/image_29112025_19_43_45_9742.jpg
/home/pi/Desktop/images/29112025/19/43/image_29112025_19_43_56_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":["1396940626","1396940620","1396940614","1396940623","1396940617","1396940611"],"photo_ids_order":["1396940611","1396940614","1396940617","1396940620","1396940623","1396940626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a66095e8c335a09f363cf6bfd7399f1c.jpg","text":"TemporaryFile(/tmp/multipartBody2685440894728499449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442043161,"filename":"image_29112025_19_43_56_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee2215d468e1cc54bda988d64b320889.jpg","text":"TemporaryFile(/tmp/multipartBody6254543456347973318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442043161,"filename":"image_29112025_19_43_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/11/29/63c74507b7ca6683e706b7f7bba0b32a.jpg","text":"TemporaryFile(/tmp/multipartBody5749228094157106568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442043161,"filename":"image_29112025_19_43_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d750cf8dd07bb1cb8754292d89fb9346.jpg","text":"TemporaryFile(/tmp/multipartBody2169038338107174296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442043161,"filename":"image_29112025_19_43_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63b5473b72515a6f93c3a01e769a50a5.jpg","text":"TemporaryFile(/tmp/multipartBody7926291594934783967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442043161,"filename":"image_29112025_19_43_26_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5943d0720c96b8cd5dbca1fae29b3570.jpg","text":"TemporaryFile(/tmp/multipartBody6224322922876324985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442043161,"filename":"image_29112025_19_43_05_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940617","file1":"1396940614","file0":"1396940611","file4":"1396940623","file5":"1396940626","file3":"1396940620"},"map_files_photo_id_array":[{"photo_id":"1396940626","filename":"file5"},{"photo_id":"1396940617","filename":"file2"},{"photo_id":"1396940623","filename":"file4"},{"photo_id":"1396940614","filename":"file1"},{"photo_id":"1396940611","filename":"file0"},{"photo_id":"1396940620","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940626":["hashtag1","hashtag2"]},{"1396940620":["hashtag1","hashtag2"]},{"1396940614":["hashtag1","hashtag2"]},{"1396940623":["hashtag1","hashtag2"]},{"1396940617":["hashtag1","hashtag2"]},{"1396940611":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940626, 1396940620, 1396940614, 1396940623, 1396940617, 1396940611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05193543434143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:47:03.419215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/43/image_29112025_19_44_05_9619.jpg', '/home/pi/Desktop/images/29112025/19/44/image_29112025_19_44_15_9586.jpg', '/home/pi/Desktop/images/29112025/19/44/image_29112025_19_44_26_10647.jpg', '/home/pi/Desktop/images/29112025/19/44/image_29112025_19_44_35_9615.jpg', '/home/pi/Desktop/images/29112025/19/44/image_29112025_19_44_45_9890.jpg', '/home/pi/Desktop/images/29112025/19/44/image_29112025_19_44_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/43/image_29112025_19_44_05_9619.jpg
/home/pi/Desktop/images/29112025/19/44/image_29112025_19_44_15_9586.jpg
/home/pi/Desktop/images/29112025/19/44/image_29112025_19_44_26_10647.jpg
/home/pi/Desktop/images/29112025/19/44/image_29112025_19_44_35_9615.jpg
/home/pi/Desktop/images/29112025/19/44/image_29112025_19_44_45_9890.jpg
/home/pi/Desktop/images/29112025/19/44/image_29112025_19_44_55_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":["1396940650","1396940632","1396940629","1396940658","1396940646","1396940628"],"photo_ids_order":["1396940628","1396940629","1396940632","1396940646","1396940650","1396940658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71dc7e78fdfc281ae1abffcce51fddde.jpg","text":"TemporaryFile(/tmp/multipartBody1621385936914082859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442084157,"filename":"image_29112025_19_44_45_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9c033893b734bb7624f44185ea09fb4.jpg","text":"TemporaryFile(/tmp/multipartBody4335622524627128328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442084157,"filename":"image_29112025_19_44_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/11/29/5bb8b8f183e779d0d42d21e0c15a0362.jpg","text":"TemporaryFile(/tmp/multipartBody623575809879205416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442084157,"filename":"image_29112025_19_44_15_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c22654489ac2fdeec64b4061f95a1aa.jpg","text":"TemporaryFile(/tmp/multipartBody3075543658489358429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442084157,"filename":"image_29112025_19_44_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/11/29/77e0f311ff9e39f242b508f977af8b5c.jpg","text":"TemporaryFile(/tmp/multipartBody5893146725468943861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442084157,"filename":"image_29112025_19_44_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/11/29/fdcf826f782294ce8de8526e57c153df.jpg","text":"TemporaryFile(/tmp/multipartBody7584700315824216355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442084157,"filename":"image_29112025_19_44_05_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940632","file1":"1396940629","file0":"1396940628","file4":"1396940650","file5":"1396940658","file3":"1396940646"},"map_files_photo_id_array":[{"photo_id":"1396940658","filename":"file5"},{"photo_id":"1396940632","filename":"file2"},{"photo_id":"1396940650","filename":"file4"},{"photo_id":"1396940629","filename":"file1"},{"photo_id":"1396940628","filename":"file0"},{"photo_id":"1396940646","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940650":["hashtag1","hashtag2"]},{"1396940632":["hashtag1","hashtag2"]},{"1396940629":["hashtag1","hashtag2"]},{"1396940658":["hashtag1","hashtag2"]},{"1396940646":["hashtag1","hashtag2"]},{"1396940628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940650, 1396940632, 1396940629, 1396940658, 1396940646, 1396940628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45158052444458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:47:42.678994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_52_3649.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_55_2697.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_58_2726.jpg', '/home/pi/Desktop/images/31102025/10/39/image_31102025_10_40_00_2725.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_08_3012.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_12_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_52_3649.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_55_2697.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_39_58_2726.jpg
/home/pi/Desktop/images/31102025/10/39/image_31102025_10_40_00_2725.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_08_3012.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_12_3633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396940681","1396940675","1396940680","1396940677","1396940679","1396940678"],"photo_ids_order":["1396940675","1396940677","1396940678","1396940679","1396940680","1396940681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da2820c07ff44265abda1d37ae7477ad.jpg","text":"TemporaryFile(/tmp/multipartBody6097502822736452592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442123807,"filename":"image_31102025_10_40_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/11/29/2b6bdbbb1498d440214c357549059248.jpg","text":"TemporaryFile(/tmp/multipartBody6198405779853598935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442123807,"filename":"image_31102025_10_39_52_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3935c9e8830aa088af442bbcf0b2c573.jpg","text":"TemporaryFile(/tmp/multipartBody2234500539451272413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442123807,"filename":"image_31102025_10_40_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0165df7a1332505486561990ddbef654.jpg","text":"TemporaryFile(/tmp/multipartBody1493551963093799963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442123807,"filename":"image_31102025_10_39_55_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/15a568889b839b1e06077595cb1e4100.jpg","text":"TemporaryFile(/tmp/multipartBody6320498126516442573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442123807,"filename":"image_31102025_10_40_00_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e04fe98541d48f15ab29769390399ef0.jpg","text":"TemporaryFile(/tmp/multipartBody4911688542684669238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442123807,"filename":"image_31102025_10_39_58_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940678","file1":"1396940677","file0":"1396940675","file4":"1396940680","file5":"1396940681","file3":"1396940679"},"map_files_photo_id_array":[{"photo_id":"1396940681","filename":"file5"},{"photo_id":"1396940678","filename":"file2"},{"photo_id":"1396940680","filename":"file4"},{"photo_id":"1396940677","filename":"file1"},{"photo_id":"1396940675","filename":"file0"},{"photo_id":"1396940679","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396940681":["hashtag1","hashtag2"]},{"1396940675":["hashtag1","hashtag2"]},{"1396940680":["hashtag1","hashtag2"]},{"1396940677":["hashtag1","hashtag2"]},{"1396940679":["hashtag1","hashtag2"]},{"1396940678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396940681, 1396940675, 1396940680, 1396940677, 1396940679, 1396940678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27017092704773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:48:21.843448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/44/image_29112025_19_45_06_10696.jpg', '/home/pi/Desktop/images/29112025/19/45/image_29112025_19_45_15_9755.jpg', '/home/pi/Desktop/images/29112025/19/45/image_29112025_19_45_25_9794.jpg', '/home/pi/Desktop/images/29112025/19/45/image_29112025_19_45_36_10665.jpg', '/home/pi/Desktop/images/29112025/19/45/image_29112025_19_45_45_9553.jpg', '/home/pi/Desktop/images/29112025/19/45/image_29112025_19_45_55_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/44/image_29112025_19_45_06_10696.jpg
/home/pi/Desktop/images/29112025/19/45/image_29112025_19_45_15_9755.jpg
/home/pi/Desktop/images/29112025/19/45/image_29112025_19_45_25_9794.jpg
/home/pi/Desktop/images/29112025/19/45/image_29112025_19_45_36_10665.jpg
/home/pi/Desktop/images/29112025/19/45/image_29112025_19_45_45_9553.jpg
/home/pi/Desktop/images/29112025/19/45/image_29112025_19_45_55_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396940696","1396940699","1396940690","1396940684","1396940693","1396940687"],"photo_ids_order":["1396940684","1396940687","1396940690","1396940693","1396940696","1396940699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57ce0a422c8bb108be1b211508963654.jpg","text":"TemporaryFile(/tmp/multipartBody3290650820596951605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442162514,"filename":"image_29112025_19_45_45_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be9a22737ab736ee1fef936e9d63bf52.jpg","text":"TemporaryFile(/tmp/multipartBody3834070755213510913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442162514,"filename":"image_29112025_19_45_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d55ae9f19465917811de114d6ef4830a.jpg","text":"TemporaryFile(/tmp/multipartBody5067087991753956730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442162514,"filename":"image_29112025_19_45_25_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2e80d5defcedd598aee9ba6ddd73638.jpg","text":"TemporaryFile(/tmp/multipartBody6943580547673509313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442162514,"filename":"image_29112025_19_45_06_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1114606fe52feb2901893d8b8902c60.jpg","text":"TemporaryFile(/tmp/multipartBody5784319168470209339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442162514,"filename":"image_29112025_19_45_36_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/389a52d83a8a95b50f5adb8f226d4587.jpg","text":"TemporaryFile(/tmp/multipartBody1592099095959893956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442162514,"filename":"image_29112025_19_45_15_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940690","file1":"1396940687","file0":"1396940684","file4":"1396940696","file5":"1396940699","file3":"1396940693"},"map_files_photo_id_array":[{"photo_id":"1396940699","filename":"file5"},{"photo_id":"1396940690","filename":"file2"},{"photo_id":"1396940696","filename":"file4"},{"photo_id":"1396940687","filename":"file1"},{"photo_id":"1396940684","filename":"file0"},{"photo_id":"1396940693","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940696":["hashtag1","hashtag2"]},{"1396940699":["hashtag1","hashtag2"]},{"1396940690":["hashtag1","hashtag2"]},{"1396940684":["hashtag1","hashtag2"]},{"1396940693":["hashtag1","hashtag2"]},{"1396940687":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940696, 1396940699, 1396940690, 1396940684, 1396940693, 1396940687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71666073799133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:49:02.903604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/46/image_29112025_19_46_15_9634.jpg', '/home/pi/Desktop/images/29112025/19/46/image_29112025_19_46_25_9649.jpg', '/home/pi/Desktop/images/29112025/19/46/image_29112025_19_46_36_10726.jpg', '/home/pi/Desktop/images/29112025/19/46/image_29112025_19_46_45_9569.jpg', '/home/pi/Desktop/images/29112025/19/46/image_29112025_19_46_55_9637.jpg', '/home/pi/Desktop/images/29112025/19/46/image_29112025_19_47_06_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/46/image_29112025_19_46_15_9634.jpg
/home/pi/Desktop/images/29112025/19/46/image_29112025_19_46_25_9649.jpg
/home/pi/Desktop/images/29112025/19/46/image_29112025_19_46_36_10726.jpg
/home/pi/Desktop/images/29112025/19/46/image_29112025_19_46_45_9569.jpg
/home/pi/Desktop/images/29112025/19/46/image_29112025_19_46_55_9637.jpg
/home/pi/Desktop/images/29112025/19/46/image_29112025_19_47_06_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":["1396940702","1396940701","1396940710","1396940704","1396940706","1396940703"],"photo_ids_order":["1396940701","1396940702","1396940703","1396940704","1396940706","1396940710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e266c567971f90337d3eee9fc5a0fb6.jpg","text":"TemporaryFile(/tmp/multipartBody5136772295040135090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442203776,"filename":"image_29112025_19_46_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/11/29/76a2032df25dabdbbe054b250a3d8284.jpg","text":"TemporaryFile(/tmp/multipartBody7382250841327367443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442203776,"filename":"image_29112025_19_46_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/340b75dab14bed43f2727525a1213cc3.jpg","text":"TemporaryFile(/tmp/multipartBody6802441388231526063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442203776,"filename":"image_29112025_19_47_06_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe1a11001393778120c1e0d42feb6122.jpg","text":"TemporaryFile(/tmp/multipartBody7674252894900589532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442203776,"filename":"image_29112025_19_46_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/11/29/a53d5948a0eaf64bdfafa20281c8018d.jpg","text":"TemporaryFile(/tmp/multipartBody1671202371561554228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442203776,"filename":"image_29112025_19_46_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/637b947cceff75eebcfdc4cdee41308c.jpg","text":"TemporaryFile(/tmp/multipartBody1438590421072201298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442203776,"filename":"image_29112025_19_46_36_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940703","file1":"1396940702","file0":"1396940701","file4":"1396940706","file5":"1396940710","file3":"1396940704"},"map_files_photo_id_array":[{"photo_id":"1396940710","filename":"file5"},{"photo_id":"1396940703","filename":"file2"},{"photo_id":"1396940706","filename":"file4"},{"photo_id":"1396940702","filename":"file1"},{"photo_id":"1396940701","filename":"file0"},{"photo_id":"1396940704","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940702":["hashtag1","hashtag2"]},{"1396940701":["hashtag1","hashtag2"]},{"1396940710":["hashtag1","hashtag2"]},{"1396940704":["hashtag1","hashtag2"]},{"1396940706":["hashtag1","hashtag2"]},{"1396940703":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940702, 1396940701, 1396940710, 1396940704, 1396940706, 1396940703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41634726524353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:49:42.111675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_14_2778.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_17_2620.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_21_3632.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_23_2700.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_30_3733.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_33_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/10/40/image_31102025_10_40_14_2778.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_17_2620.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_21_3632.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_23_2700.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_30_3733.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_33_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":["1396940779","1396940772","1396940778","1396940763","1396940742","1396940777"],"photo_ids_order":["1396940742","1396940763","1396940772","1396940777","1396940778","1396940779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d03f6ffbfe6590c815323a6713317e19.jpg","text":"TemporaryFile(/tmp/multipartBody4991057478002137184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442243240,"filename":"image_31102025_10_40_33_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3233f4085f96ff7d77e82f43426ac5b2.jpg","text":"TemporaryFile(/tmp/multipartBody1591067768463873650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442243240,"filename":"image_31102025_10_40_21_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/821a8583a23865a767f8922165f26cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6711665829361455709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442243240,"filename":"image_31102025_10_40_30_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85baad64e68501d7120b075527604be5.jpg","text":"TemporaryFile(/tmp/multipartBody1541079933987998107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442243240,"filename":"image_31102025_10_40_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/11/29/ec130d06486775f5bf51d209595e888f.jpg","text":"TemporaryFile(/tmp/multipartBody5097426811724222764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442243240,"filename":"image_31102025_10_40_14_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1aa2d92b08ca2a786bc49177c118ff28.jpg","text":"TemporaryFile(/tmp/multipartBody7843426815625871710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442243240,"filename":"image_31102025_10_40_23_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940772","file1":"1396940763","file0":"1396940742","file4":"1396940778","file5":"1396940779","file3":"1396940777"},"map_files_photo_id_array":[{"photo_id":"1396940779","filename":"file5"},{"photo_id":"1396940772","filename":"file2"},{"photo_id":"1396940778","filename":"file4"},{"photo_id":"1396940763","filename":"file1"},{"photo_id":"1396940742","filename":"file0"},{"photo_id":"1396940777","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396940779":["hashtag1","hashtag2"]},{"1396940772":["hashtag1","hashtag2"]},{"1396940778":["hashtag1","hashtag2"]},{"1396940763":["hashtag1","hashtag2"]},{"1396940742":["hashtag1","hashtag2"]},{"1396940777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396940779, 1396940772, 1396940778, 1396940763, 1396940742, 1396940777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12628197669983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:50:22.292227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/47/image_29112025_19_47_15_9608.jpg', '/home/pi/Desktop/images/29112025/19/47/image_29112025_19_47_25_9800.jpg', '/home/pi/Desktop/images/29112025/19/47/image_29112025_19_47_36_10605.jpg', '/home/pi/Desktop/images/29112025/19/47/image_29112025_19_47_45_9565.jpg', '/home/pi/Desktop/images/29112025/19/47/image_29112025_19_47_55_9953.jpg', '/home/pi/Desktop/images/29112025/19/47/image_29112025_19_48_06_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/47/image_29112025_19_47_15_9608.jpg
/home/pi/Desktop/images/29112025/19/47/image_29112025_19_47_25_9800.jpg
/home/pi/Desktop/images/29112025/19/47/image_29112025_19_47_36_10605.jpg
/home/pi/Desktop/images/29112025/19/47/image_29112025_19_47_45_9565.jpg
/home/pi/Desktop/images/29112025/19/47/image_29112025_19_47_55_9953.jpg
/home/pi/Desktop/images/29112025/19/47/image_29112025_19_48_06_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":["1396940801","1396940784","1396940787","1396940796","1396940781","1396940792"],"photo_ids_order":["1396940781","1396940784","1396940787","1396940792","1396940796","1396940801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/116e67441ddf1318f1c8555dd9a620a7.jpg","text":"TemporaryFile(/tmp/multipartBody5623789742670587287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442282972,"filename":"image_29112025_19_48_06_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7cbf52c90e044c2fced07897c45935cf.jpg","text":"TemporaryFile(/tmp/multipartBody1458944338112923898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442282972,"filename":"image_29112025_19_47_25_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edb5fbee6e8e3fa18a150c84de564af5.jpg","text":"TemporaryFile(/tmp/multipartBody3040926817351307677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442282972,"filename":"image_29112025_19_47_36_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87c008258426e5e0ee91d3ca5a6bc631.jpg","text":"TemporaryFile(/tmp/multipartBody6512308994612732746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442282972,"filename":"image_29112025_19_47_55_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc8e3efaff44b17ef01a7f3ca942f5e5.jpg","text":"TemporaryFile(/tmp/multipartBody263329276685351441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442282972,"filename":"image_29112025_19_47_15_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2dc828e97a5905e00447ab5c4e2d0b9f.jpg","text":"TemporaryFile(/tmp/multipartBody843162680842076601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442282972,"filename":"image_29112025_19_47_45_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940787","file1":"1396940784","file0":"1396940781","file4":"1396940796","file5":"1396940801","file3":"1396940792"},"map_files_photo_id_array":[{"photo_id":"1396940801","filename":"file5"},{"photo_id":"1396940787","filename":"file2"},{"photo_id":"1396940796","filename":"file4"},{"photo_id":"1396940784","filename":"file1"},{"photo_id":"1396940781","filename":"file0"},{"photo_id":"1396940792","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940801":["hashtag1","hashtag2"]},{"1396940784":["hashtag1","hashtag2"]},{"1396940787":["hashtag1","hashtag2"]},{"1396940796":["hashtag1","hashtag2"]},{"1396940781":["hashtag1","hashtag2"]},{"1396940792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940801, 1396940784, 1396940787, 1396940796, 1396940781, 1396940792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90593218803406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:51:02.897380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/48/image_29112025_19_48_15_9601.jpg', '/home/pi/Desktop/images/29112025/19/48/image_29112025_19_48_25_9811.jpg', '/home/pi/Desktop/images/29112025/19/48/image_29112025_19_48_35_9791.jpg', '/home/pi/Desktop/images/29112025/19/48/image_29112025_19_48_46_10789.jpg', '/home/pi/Desktop/images/29112025/19/48/image_29112025_19_48_55_9625.jpg', '/home/pi/Desktop/images/29112025/19/48/image_29112025_19_49_05_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/48/image_29112025_19_48_15_9601.jpg
/home/pi/Desktop/images/29112025/19/48/image_29112025_19_48_25_9811.jpg
/home/pi/Desktop/images/29112025/19/48/image_29112025_19_48_35_9791.jpg
/home/pi/Desktop/images/29112025/19/48/image_29112025_19_48_46_10789.jpg
/home/pi/Desktop/images/29112025/19/48/image_29112025_19_48_55_9625.jpg
/home/pi/Desktop/images/29112025/19/48/image_29112025_19_49_05_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":["1396940861","1396940804","1396940968","1396940821","1396940916","1396940805"],"photo_ids_order":["1396940804","1396940805","1396940821","1396940861","1396940916","1396940968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4981641bf04f874b96abaa428936e922.jpg","text":"TemporaryFile(/tmp/multipartBody6925429575695252561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442323642,"filename":"image_29112025_19_48_46_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/059534d2b4c4fdf6a0064706e609b25a.jpg","text":"TemporaryFile(/tmp/multipartBody3347908076627884842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442323642,"filename":"image_29112025_19_48_15_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff7398ea41e9527f62559d4ea45bfa60.jpg","text":"TemporaryFile(/tmp/multipartBody8803187571332121834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442323642,"filename":"image_29112025_19_49_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a60f2a52d6c024830e8f8e1dc78bc7f.jpg","text":"TemporaryFile(/tmp/multipartBody5387543166305329274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442323642,"filename":"image_29112025_19_48_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/11/29/65bca0f0e92ea16f30986bc839278cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6542920068580875646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442323642,"filename":"image_29112025_19_48_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/11/29/0ca222f0c86fa3f33822dfbfbe84ec6c.jpg","text":"TemporaryFile(/tmp/multipartBody8634043342809730162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442323642,"filename":"image_29112025_19_48_25_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396940821","file1":"1396940805","file0":"1396940804","file4":"1396940916","file5":"1396940968","file3":"1396940861"},"map_files_photo_id_array":[{"photo_id":"1396940968","filename":"file5"},{"photo_id":"1396940821","filename":"file2"},{"photo_id":"1396940916","filename":"file4"},{"photo_id":"1396940805","filename":"file1"},{"photo_id":"1396940804","filename":"file0"},{"photo_id":"1396940861","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396940861":["hashtag1","hashtag2"]},{"1396940804":["hashtag1","hashtag2"]},{"1396940968":["hashtag1","hashtag2"]},{"1396940821":["hashtag1","hashtag2"]},{"1396940916":["hashtag1","hashtag2"]},{"1396940805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396940861, 1396940804, 1396940968, 1396940821, 1396940916, 1396940805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54139971733093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:51:42.145666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_35_2532.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_41_2560.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_44_2815.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_47_2738.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_53_2671.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_56_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/10/40/image_31102025_10_40_35_2532.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_41_2560.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_44_2815.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_47_2738.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_53_2671.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_56_2755.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9882071018218994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:52:07.017463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/49/image_29112025_19_49_15_10541.jpg', '/home/pi/Desktop/images/29112025/19/49/image_29112025_19_49_25_9857.jpg', '/home/pi/Desktop/images/29112025/19/49/image_29112025_19_49_35_9657.jpg', '/home/pi/Desktop/images/29112025/19/49/image_29112025_19_49_46_10584.jpg', '/home/pi/Desktop/images/29112025/19/49/image_29112025_19_49_55_9591.jpg', '/home/pi/Desktop/images/29112025/19/49/image_29112025_19_50_05_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/49/image_29112025_19_49_15_10541.jpg
/home/pi/Desktop/images/29112025/19/49/image_29112025_19_49_25_9857.jpg
/home/pi/Desktop/images/29112025/19/49/image_29112025_19_49_35_9657.jpg
/home/pi/Desktop/images/29112025/19/49/image_29112025_19_49_46_10584.jpg
/home/pi/Desktop/images/29112025/19/49/image_29112025_19_49_55_9591.jpg
/home/pi/Desktop/images/29112025/19/49/image_29112025_19_50_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":["1396941277","1396941279","1396941284","1396941287","1396941281","1396941278"],"photo_ids_order":["1396941277","1396941278","1396941279","1396941281","1396941284","1396941287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7b897878224c45c1592c84ba8616160.jpg","text":"TemporaryFile(/tmp/multipartBody1368495439387923451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442387707,"filename":"image_29112025_19_49_15_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3acc50f0991548bad81dcc0292329151.jpg","text":"TemporaryFile(/tmp/multipartBody3267703860713863824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442387707,"filename":"image_29112025_19_49_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/11/29/31238d15ac5b96b8c23d6be885dcf5a6.jpg","text":"TemporaryFile(/tmp/multipartBody5652900542500898494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442387707,"filename":"image_29112025_19_49_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/11/29/7a4acc7ca249d73e0f9af1692e58f00a.jpg","text":"TemporaryFile(/tmp/multipartBody4418915805379664909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442387707,"filename":"image_29112025_19_50_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/11/29/1a0991958fbabb5fcd80a64a5b0427e9.jpg","text":"TemporaryFile(/tmp/multipartBody3155516245511685004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442387707,"filename":"image_29112025_19_49_46_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4bd8cbf9613f408683d1b008fbd7022.jpg","text":"TemporaryFile(/tmp/multipartBody2590394515847786200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442387707,"filename":"image_29112025_19_49_25_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396941279","file1":"1396941278","file0":"1396941277","file4":"1396941284","file5":"1396941287","file3":"1396941281"},"map_files_photo_id_array":[{"photo_id":"1396941287","filename":"file5"},{"photo_id":"1396941279","filename":"file2"},{"photo_id":"1396941284","filename":"file4"},{"photo_id":"1396941278","filename":"file1"},{"photo_id":"1396941277","filename":"file0"},{"photo_id":"1396941281","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396941277":["hashtag1","hashtag2"]},{"1396941279":["hashtag1","hashtag2"]},{"1396941284":["hashtag1","hashtag2"]},{"1396941287":["hashtag1","hashtag2"]},{"1396941281":["hashtag1","hashtag2"]},{"1396941278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396941277, 1396941279, 1396941284, 1396941287, 1396941281, 1396941278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68065428733826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:52:44.254875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_35_2532.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_41_2560.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_44_2815.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_47_2738.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_53_2671.jpg', '/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_56_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/10/40/image_31102025_10_40_35_2532.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_41_2560.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_44_2815.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_47_2738.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_53_2671.jpg
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_56_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":["1396941295","1396941298","1396941294","1396941297","1396941293","1396941296"],"photo_ids_order":["1396941293","1396941294","1396941295","1396941296","1396941297","1396941298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f170dfce30ffff16d3ef86bca2a77040.jpg","text":"TemporaryFile(/tmp/multipartBody6746189971585109302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442425268,"filename":"image_31102025_10_40_44_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1040e674bf41b16762623db0f96e30a.jpg","text":"TemporaryFile(/tmp/multipartBody248749468101198608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442425268,"filename":"image_31102025_10_40_56_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4693ba12dce4cbc5c6f483cf49cea238.jpg","text":"TemporaryFile(/tmp/multipartBody528676845180848042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442425268,"filename":"image_31102025_10_40_41_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f00645c177a13e7d8c4194590f5caef7.jpg","text":"TemporaryFile(/tmp/multipartBody7821012880411570500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442425268,"filename":"image_31102025_10_40_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/11/29/16358113918063190e2bfb873673e63c.jpg","text":"TemporaryFile(/tmp/multipartBody3149773104114808495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442425268,"filename":"image_31102025_10_40_35_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06658119ebeca00bd126f0c063d19a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7452165959993399650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442425268,"filename":"image_31102025_10_40_47_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396941295","file1":"1396941294","file0":"1396941293","file4":"1396941297","file5":"1396941298","file3":"1396941296"},"map_files_photo_id_array":[{"photo_id":"1396941298","filename":"file5"},{"photo_id":"1396941295","filename":"file2"},{"photo_id":"1396941297","filename":"file4"},{"photo_id":"1396941294","filename":"file1"},{"photo_id":"1396941293","filename":"file0"},{"photo_id":"1396941296","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396941295":["hashtag1","hashtag2"]},{"1396941298":["hashtag1","hashtag2"]},{"1396941294":["hashtag1","hashtag2"]},{"1396941297":["hashtag1","hashtag2"]},{"1396941293":["hashtag1","hashtag2"]},{"1396941296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396941295, 1396941298, 1396941294, 1396941297, 1396941293, 1396941296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7635977268219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:53:22.417549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/50/image_29112025_19_50_15_10127.jpg', '/home/pi/Desktop/images/29112025/19/50/image_29112025_19_50_26_10658.jpg', '/home/pi/Desktop/images/29112025/19/50/image_29112025_19_50_36_9983.jpg', '/home/pi/Desktop/images/29112025/19/50/image_29112025_19_50_45_9829.jpg', '/home/pi/Desktop/images/29112025/19/50/image_29112025_19_50_56_10238.jpg', '/home/pi/Desktop/images/29112025/19/50/image_29112025_19_51_05_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/50/image_29112025_19_50_15_10127.jpg
/home/pi/Desktop/images/29112025/19/50/image_29112025_19_50_26_10658.jpg
/home/pi/Desktop/images/29112025/19/50/image_29112025_19_50_36_9983.jpg
/home/pi/Desktop/images/29112025/19/50/image_29112025_19_50_45_9829.jpg
/home/pi/Desktop/images/29112025/19/50/image_29112025_19_50_56_10238.jpg
/home/pi/Desktop/images/29112025/19/50/image_29112025_19_51_05_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396941326","1396941301","1396941333","1396941306","1396941335","1396941338"],"photo_ids_order":["1396941301","1396941306","1396941326","1396941333","1396941335","1396941338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c4d36f6d8829e183049c146612a25ec.jpg","text":"TemporaryFile(/tmp/multipartBody1593671808765035666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442463098,"filename":"image_29112025_19_50_36_9983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dac6674fe59773e85c210cebe62f2bd9.jpg","text":"TemporaryFile(/tmp/multipartBody1257894210774839529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442463098,"filename":"image_29112025_19_50_15_10127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f17e8a8ab9ca58bab3c58f034bd484c.jpg","text":"TemporaryFile(/tmp/multipartBody950296786071962444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442463098,"filename":"image_29112025_19_50_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/11/29/c64fb05de481642ee2845cb59d73a96c.jpg","text":"TemporaryFile(/tmp/multipartBody8879888225958065452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442463098,"filename":"image_29112025_19_50_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/11/29/30fd773872f98bb71ac1bb9dd7378515.jpg","text":"TemporaryFile(/tmp/multipartBody7568317871979165266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442463098,"filename":"image_29112025_19_50_56_10238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c2048423c657a4b550ef1fade4f7b75.jpg","text":"TemporaryFile(/tmp/multipartBody1731063932371540497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442463098,"filename":"image_29112025_19_51_05_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396941326","file1":"1396941306","file0":"1396941301","file4":"1396941335","file5":"1396941338","file3":"1396941333"},"map_files_photo_id_array":[{"photo_id":"1396941338","filename":"file5"},{"photo_id":"1396941326","filename":"file2"},{"photo_id":"1396941335","filename":"file4"},{"photo_id":"1396941306","filename":"file1"},{"photo_id":"1396941301","filename":"file0"},{"photo_id":"1396941333","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396941326":["hashtag1","hashtag2"]},{"1396941301":["hashtag1","hashtag2"]},{"1396941333":["hashtag1","hashtag2"]},{"1396941306":["hashtag1","hashtag2"]},{"1396941335":["hashtag1","hashtag2"]},{"1396941338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396941326, 1396941301, 1396941333, 1396941306, 1396941335, 1396941338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81031894683838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:54:03.258957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_15_9684.jpg', '/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_26_10657.jpg', '/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_35_9693.jpg', '/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_45_10049.jpg', '/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_55_9630.jpg', '/home/pi/Desktop/images/29112025/19/51/image_29112025_19_52_06_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_15_9684.jpg
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_26_10657.jpg
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_35_9693.jpg
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_45_10049.jpg
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_55_9630.jpg
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_52_06_10664.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6364490985870361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 19:54:12.686581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_25_3727.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_28_2974.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_31_2768.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_33_2638.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_37_3562.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_40_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_25_3727.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_28_2974.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_31_2768.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_33_2638.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_37_3562.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_40_2584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396941358","1396941346","1396941355","1396941343","1396941353","1396941350"],"photo_ids_order":["1396941343","1396941346","1396941350","1396941353","1396941355","1396941358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34633c8d1b131614347ee8b5e1359f4d.jpg","text":"TemporaryFile(/tmp/multipartBody843668758092028390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442514718,"filename":"image_25112025_19_05_40_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17c2f6a1b0cf837d0520382d5e3fbce0.jpg","text":"TemporaryFile(/tmp/multipartBody5659022661396175560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442514718,"filename":"image_25112025_19_05_28_2974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9fbef4565906dfe43daec87f017f249e.jpg","text":"TemporaryFile(/tmp/multipartBody6111338827694521991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442514718,"filename":"image_25112025_19_05_37_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d39a41b6490a7512e51508883c7f8f3c.jpg","text":"TemporaryFile(/tmp/multipartBody4357882920075821807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442514718,"filename":"image_25112025_19_05_25_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25934a857622081825c41d5c3860a120.jpg","text":"TemporaryFile(/tmp/multipartBody3785228109355261505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442514718,"filename":"image_25112025_19_05_33_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ce96e7641977010a68c232a831e3232.jpg","text":"TemporaryFile(/tmp/multipartBody1837345878125273569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442514718,"filename":"image_25112025_19_05_31_2768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396941350","file1":"1396941346","file0":"1396941343","file4":"1396941355","file5":"1396941358","file3":"1396941353"},"map_files_photo_id_array":[{"photo_id":"1396941358","filename":"file5"},{"photo_id":"1396941350","filename":"file2"},{"photo_id":"1396941355","filename":"file4"},{"photo_id":"1396941346","filename":"file1"},{"photo_id":"1396941343","filename":"file0"},{"photo_id":"1396941353","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396941358":["hashtag1","hashtag2"]},{"1396941346":["hashtag1","hashtag2"]},{"1396941355":["hashtag1","hashtag2"]},{"1396941343":["hashtag1","hashtag2"]},{"1396941353":["hashtag1","hashtag2"]},{"1396941350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396941358, 1396941346, 1396941355, 1396941343, 1396941353, 1396941350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.479748010635376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:55:02.548202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_15_9684.jpg', '/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_26_10657.jpg', '/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_35_9693.jpg', '/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_45_10049.jpg', '/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_55_9630.jpg', '/home/pi/Desktop/images/29112025/19/51/image_29112025_19_52_06_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_15_9684.jpg
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_26_10657.jpg
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_35_9693.jpg
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_45_10049.jpg
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_51_55_9630.jpg
/home/pi/Desktop/images/29112025/19/51/image_29112025_19_52_06_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":["1396941370","1396941372","1396941375","1396941369","1396941365","1396941368"],"photo_ids_order":["1396941365","1396941368","1396941369","1396941370","1396941372","1396941375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0aab37aa6eb2b6ca8da8e8af64bdc48.jpg","text":"TemporaryFile(/tmp/multipartBody3876877219232591408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442563270,"filename":"image_29112025_19_51_45_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7895528bfe6dd7859aa2ea9efd16995a.jpg","text":"TemporaryFile(/tmp/multipartBody1315271690373051080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442563270,"filename":"image_29112025_19_51_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d505042b8377a43fd36067a6709e55a.jpg","text":"TemporaryFile(/tmp/multipartBody9021079857087073895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442563270,"filename":"image_29112025_19_52_06_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/486466d6eafffe24d6ac4409929bb70d.jpg","text":"TemporaryFile(/tmp/multipartBody1585087225830174454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442563270,"filename":"image_29112025_19_51_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/11/29/4e01b3a05481f7d5188fca05c4cff5fd.jpg","text":"TemporaryFile(/tmp/multipartBody2593367207880196268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442563270,"filename":"image_29112025_19_51_15_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74a78a94819f387f8d6c582ba2f07e38.jpg","text":"TemporaryFile(/tmp/multipartBody4188975480277906203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442563270,"filename":"image_29112025_19_51_26_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396941369","file1":"1396941368","file0":"1396941365","file4":"1396941372","file5":"1396941375","file3":"1396941370"},"map_files_photo_id_array":[{"photo_id":"1396941375","filename":"file5"},{"photo_id":"1396941369","filename":"file2"},{"photo_id":"1396941372","filename":"file4"},{"photo_id":"1396941368","filename":"file1"},{"photo_id":"1396941365","filename":"file0"},{"photo_id":"1396941370","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396941370":["hashtag1","hashtag2"]},{"1396941372":["hashtag1","hashtag2"]},{"1396941375":["hashtag1","hashtag2"]},{"1396941369":["hashtag1","hashtag2"]},{"1396941365":["hashtag1","hashtag2"]},{"1396941368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396941370, 1396941372, 1396941375, 1396941369, 1396941365, 1396941368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.646726846694946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:55:42.019278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_59_2848.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_03_3631.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_05_2762.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_08_2796.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_11_2604.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_14_3546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/40/image_31102025_10_40_59_2848.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_03_3631.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_05_2762.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_08_2796.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_11_2604.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_14_3546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396941385","1396941388","1396941387","1396941381","1396941384","1396941386"],"photo_ids_order":["1396941381","1396941384","1396941385","1396941386","1396941387","1396941388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/768f5c9e63a6e53d09c6dd8b6f5aed0b.jpg","text":"TemporaryFile(/tmp/multipartBody7357015484469130353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442603113,"filename":"image_31102025_10_41_05_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d0db384260e1b336fda2edf1354c849.jpg","text":"TemporaryFile(/tmp/multipartBody2582524729406851472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442603113,"filename":"image_31102025_10_41_14_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ea014b04151ba0124284864c7b27788.jpg","text":"TemporaryFile(/tmp/multipartBody6644921637099014196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442603113,"filename":"image_31102025_10_41_11_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/756d08f02c47e0db6652bcee78c65c80.jpg","text":"TemporaryFile(/tmp/multipartBody6543627838109622455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442603113,"filename":"image_31102025_10_40_59_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bca192ddadcb8ed795d7b4f5e8a081f5.jpg","text":"TemporaryFile(/tmp/multipartBody6669192579917846054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442603113,"filename":"image_31102025_10_41_03_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc2d4175746a42ca726f07c1f1053533.jpg","text":"TemporaryFile(/tmp/multipartBody227187778927217696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442603113,"filename":"image_31102025_10_41_08_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396941385","file1":"1396941384","file0":"1396941381","file4":"1396941387","file5":"1396941388","file3":"1396941386"},"map_files_photo_id_array":[{"photo_id":"1396941388","filename":"file5"},{"photo_id":"1396941385","filename":"file2"},{"photo_id":"1396941387","filename":"file4"},{"photo_id":"1396941384","filename":"file1"},{"photo_id":"1396941381","filename":"file0"},{"photo_id":"1396941386","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396941385":["hashtag1","hashtag2"]},{"1396941388":["hashtag1","hashtag2"]},{"1396941387":["hashtag1","hashtag2"]},{"1396941381":["hashtag1","hashtag2"]},{"1396941384":["hashtag1","hashtag2"]},{"1396941386":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396941385, 1396941388, 1396941387, 1396941381, 1396941384, 1396941386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.371097803115845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 19:56:22.200253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/52/image_29112025_19_52_15_9797.jpg', '/home/pi/Desktop/images/29112025/19/52/image_29112025_19_52_25_9795.jpg', '/home/pi/Desktop/images/29112025/19/52/image_29112025_19_52_35_9697.jpg', '/home/pi/Desktop/images/29112025/19/52/image_29112025_19_52_45_9879.jpg', '/home/pi/Desktop/images/29112025/19/52/image_29112025_19_52_56_10712.jpg', '/home/pi/Desktop/images/29112025/19/52/image_29112025_19_53_05_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/52/image_29112025_19_52_15_9797.jpg
/home/pi/Desktop/images/29112025/19/52/image_29112025_19_52_25_9795.jpg
/home/pi/Desktop/images/29112025/19/52/image_29112025_19_52_35_9697.jpg
/home/pi/Desktop/images/29112025/19/52/image_29112025_19_52_45_9879.jpg
/home/pi/Desktop/images/29112025/19/52/image_29112025_19_52_56_10712.jpg
/home/pi/Desktop/images/29112025/19/52/image_29112025_19_53_05_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396941410","1396941400","1396941393","1396941408","1396941392","1396941395"],"photo_ids_order":["1396941392","1396941393","1396941395","1396941400","1396941408","1396941410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d8b71173bc1e181214a12b826380174b.jpg","text":"TemporaryFile(/tmp/multipartBody2568229579795463339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442642875,"filename":"image_29112025_19_53_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f82e8793c2f755ef86f1111f3ce678c.jpg","text":"TemporaryFile(/tmp/multipartBody1406144163593024707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442642875,"filename":"image_29112025_19_52_45_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aadda902ae9dcd2e4b311a910715a9bc.jpg","text":"TemporaryFile(/tmp/multipartBody3050554330257902454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442642875,"filename":"image_29112025_19_52_25_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ed2ef16455feeb1d23c1f4dfb8cd3bb.jpg","text":"TemporaryFile(/tmp/multipartBody8184220692973429161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442642875,"filename":"image_29112025_19_52_56_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e81f04a13a44f6c4d3bb0540c9e2bd41.jpg","text":"TemporaryFile(/tmp/multipartBody1838644861416375853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442642875,"filename":"image_29112025_19_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/11/29/59832ed49813f9266259cb6bdcaf7a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3172192404528333796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442642875,"filename":"image_29112025_19_52_35_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396941395","file1":"1396941393","file0":"1396941392","file4":"1396941408","file5":"1396941410","file3":"1396941400"},"map_files_photo_id_array":[{"photo_id":"1396941410","filename":"file5"},{"photo_id":"1396941395","filename":"file2"},{"photo_id":"1396941408","filename":"file4"},{"photo_id":"1396941393","filename":"file1"},{"photo_id":"1396941392","filename":"file0"},{"photo_id":"1396941400","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396941410":["hashtag1","hashtag2"]},{"1396941400":["hashtag1","hashtag2"]},{"1396941393":["hashtag1","hashtag2"]},{"1396941408":["hashtag1","hashtag2"]},{"1396941392":["hashtag1","hashtag2"]},{"1396941395":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396941410, 1396941400, 1396941393, 1396941408, 1396941392, 1396941395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20065236091614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:57:03.041077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/53/image_29112025_19_53_15_9661.jpg', '/home/pi/Desktop/images/29112025/19/53/image_29112025_19_53_26_10691.jpg', '/home/pi/Desktop/images/29112025/19/53/image_29112025_19_53_35_9718.jpg', '/home/pi/Desktop/images/29112025/19/53/image_29112025_19_53_45_9561.jpg', '/home/pi/Desktop/images/29112025/19/53/image_29112025_19_53_56_10728.jpg', '/home/pi/Desktop/images/29112025/19/53/image_29112025_19_54_05_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/53/image_29112025_19_53_15_9661.jpg
/home/pi/Desktop/images/29112025/19/53/image_29112025_19_53_26_10691.jpg
/home/pi/Desktop/images/29112025/19/53/image_29112025_19_53_35_9718.jpg
/home/pi/Desktop/images/29112025/19/53/image_29112025_19_53_45_9561.jpg
/home/pi/Desktop/images/29112025/19/53/image_29112025_19_53_56_10728.jpg
/home/pi/Desktop/images/29112025/19/53/image_29112025_19_54_05_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":["1396941457","1396941451","1396941454","1396941448","1396941450","1396941452"],"photo_ids_order":["1396941448","1396941450","1396941451","1396941452","1396941454","1396941457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aceee476cbf33169f80b74b3e2ec6e00.jpg","text":"TemporaryFile(/tmp/multipartBody3733049375201823210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442683776,"filename":"image_29112025_19_54_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/11/29/1f277526b110670b18eaf555cbe44996.jpg","text":"TemporaryFile(/tmp/multipartBody1055151940779766118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442683776,"filename":"image_29112025_19_53_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/11/29/0ab8269e9da55308d8ac94e9de1cae1a.jpg","text":"TemporaryFile(/tmp/multipartBody3473054851594688102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442683776,"filename":"image_29112025_19_53_56_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96218759d13e20348abd14b57659014c.jpg","text":"TemporaryFile(/tmp/multipartBody6373251854112388815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442683776,"filename":"image_29112025_19_53_15_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13bfff9144a57d4c9d5ccdd3e8326440.jpg","text":"TemporaryFile(/tmp/multipartBody8888322132408229247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442683776,"filename":"image_29112025_19_53_26_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e074cd1d197e06f8f868edc51ac9beb6.jpg","text":"TemporaryFile(/tmp/multipartBody2065453655872401052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442683776,"filename":"image_29112025_19_53_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396941451","file1":"1396941450","file0":"1396941448","file4":"1396941454","file5":"1396941457","file3":"1396941452"},"map_files_photo_id_array":[{"photo_id":"1396941457","filename":"file5"},{"photo_id":"1396941451","filename":"file2"},{"photo_id":"1396941454","filename":"file4"},{"photo_id":"1396941450","filename":"file1"},{"photo_id":"1396941448","filename":"file0"},{"photo_id":"1396941452","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396941457":["hashtag1","hashtag2"]},{"1396941451":["hashtag1","hashtag2"]},{"1396941454":["hashtag1","hashtag2"]},{"1396941448":["hashtag1","hashtag2"]},{"1396941450":["hashtag1","hashtag2"]},{"1396941452":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396941457, 1396941451, 1396941454, 1396941448, 1396941450, 1396941452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26786470413208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:57:42.400559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_17_2787.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_21_3618.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_24_2717.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_26_2633.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_29_2661.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_32_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/10/41/image_31102025_10_41_17_2787.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_21_3618.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_24_2717.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_26_2633.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_29_2661.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_32_3641.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396941469","1396941466","1396941468","1396941465","1396941464","1396941467"],"photo_ids_order":["1396941464","1396941465","1396941466","1396941467","1396941468","1396941469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2209388a8b7575668ad8cd14c8e44a0.jpg","text":"TemporaryFile(/tmp/multipartBody7362717633573410423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442728867,"filename":"image_31102025_10_41_32_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96942e8a8e8162633149eebcfb23f93e.jpg","text":"TemporaryFile(/tmp/multipartBody1751301107466014676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442728867,"filename":"image_31102025_10_41_24_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f03a5807d8bc53ce3dc6647dcc8b5956.jpg","text":"TemporaryFile(/tmp/multipartBody2610225495726608516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442728867,"filename":"image_31102025_10_41_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/11/29/904371387c7fa11019032c59ce0a2ce2.jpg","text":"TemporaryFile(/tmp/multipartBody366521279212683994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442728867,"filename":"image_31102025_10_41_21_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aacae067b2b9c10c445f5ccd117ead0d.jpg","text":"TemporaryFile(/tmp/multipartBody3684310622672257515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442728867,"filename":"image_31102025_10_41_17_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9062e08e733b3a6a91249ae217f8e1c4.jpg","text":"TemporaryFile(/tmp/multipartBody3294389768566664350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442728867,"filename":"image_31102025_10_41_26_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396941466","file1":"1396941465","file0":"1396941464","file4":"1396941468","file5":"1396941469","file3":"1396941467"},"map_files_photo_id_array":[{"photo_id":"1396941469","filename":"file5"},{"photo_id":"1396941466","filename":"file2"},{"photo_id":"1396941468","filename":"file4"},{"photo_id":"1396941465","filename":"file1"},{"photo_id":"1396941464","filename":"file0"},{"photo_id":"1396941467","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396941469":["hashtag1","hashtag2"]},{"1396941466":["hashtag1","hashtag2"]},{"1396941468":["hashtag1","hashtag2"]},{"1396941465":["hashtag1","hashtag2"]},{"1396941464":["hashtag1","hashtag2"]},{"1396941467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396941469, 1396941466, 1396941468, 1396941465, 1396941464, 1396941467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.279927253723145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 19:59:03.736559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/54/image_29112025_19_54_15_9633.jpg', '/home/pi/Desktop/images/29112025/19/54/image_29112025_19_54_26_10761.jpg', '/home/pi/Desktop/images/29112025/19/54/image_29112025_19_54_35_9656.jpg', '/home/pi/Desktop/images/29112025/19/54/image_29112025_19_54_45_9896.jpg', '/home/pi/Desktop/images/29112025/19/54/image_29112025_19_54_55_9668.jpg', '/home/pi/Desktop/images/29112025/19/54/image_29112025_19_55_06_10820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/54/image_29112025_19_54_15_9633.jpg
/home/pi/Desktop/images/29112025/19/54/image_29112025_19_54_26_10761.jpg
/home/pi/Desktop/images/29112025/19/54/image_29112025_19_54_35_9656.jpg
/home/pi/Desktop/images/29112025/19/54/image_29112025_19_54_45_9896.jpg
/home/pi/Desktop/images/29112025/19/54/image_29112025_19_54_55_9668.jpg
/home/pi/Desktop/images/29112025/19/54/image_29112025_19_55_06_10820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396941821","1396941809","1396941793","1396941772","1396941733","1396941729"],"photo_ids_order":["1396941729","1396941733","1396941772","1396941793","1396941809","1396941821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/983f349af8bd9b38cac97c2a48f33449.jpg","text":"TemporaryFile(/tmp/multipartBody8948256588331824026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442804524,"filename":"image_29112025_19_55_06_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d89abd252ec23ae9ef2fccb1a8672c13.jpg","text":"TemporaryFile(/tmp/multipartBody9032149268445008583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442804524,"filename":"image_29112025_19_54_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/11/29/f68805fb0e61475292b2e42162887db6.jpg","text":"TemporaryFile(/tmp/multipartBody4797456485458440786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442804524,"filename":"image_29112025_19_54_45_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d35b3c9dcbaf4af1747d05eda61baee.jpg","text":"TemporaryFile(/tmp/multipartBody3746131465582889618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442804524,"filename":"image_29112025_19_54_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/11/29/525e57c556104061a5019d5e6f90c24b.jpg","text":"TemporaryFile(/tmp/multipartBody3848435121610107847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442804524,"filename":"image_29112025_19_54_26_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e45dcf5b34956d1fc153a5aaf08c3d4c.jpg","text":"TemporaryFile(/tmp/multipartBody5137989723718206827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442804524,"filename":"image_29112025_19_54_15_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396941772","file1":"1396941733","file0":"1396941729","file4":"1396941809","file5":"1396941821","file3":"1396941793"},"map_files_photo_id_array":[{"photo_id":"1396941821","filename":"file5"},{"photo_id":"1396941772","filename":"file2"},{"photo_id":"1396941809","filename":"file4"},{"photo_id":"1396941733","filename":"file1"},{"photo_id":"1396941729","filename":"file0"},{"photo_id":"1396941793","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396941821":["hashtag1","hashtag2"]},{"1396941809":["hashtag1","hashtag2"]},{"1396941793":["hashtag1","hashtag2"]},{"1396941772":["hashtag1","hashtag2"]},{"1396941733":["hashtag1","hashtag2"]},{"1396941729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396941821, 1396941809, 1396941793, 1396941772, 1396941733, 1396941729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.751222133636475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 19:59:42.867723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_35_2570.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_38_2849.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_42_3650.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_44_2632.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_47_2701.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_50_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/10/41/image_31102025_10_41_35_2570.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_38_2849.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_42_3650.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_44_2632.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_47_2701.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_50_3578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396942165","1396942315","1396942242","1396942011","1396942094","1396941956"],"photo_ids_order":["1396941956","1396942011","1396942094","1396942165","1396942242","1396942315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4e3e49fe9fe2c9e348b0a8c321e4200.jpg","text":"TemporaryFile(/tmp/multipartBody4470064371030523368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442843961,"filename":"image_31102025_10_41_44_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcdac40085e1bb9e69e42c9b80a8420e.jpg","text":"TemporaryFile(/tmp/multipartBody6926731948569732440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442843961,"filename":"image_31102025_10_41_50_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de11b56bf3b258cf786bc584f0b3aeed.jpg","text":"TemporaryFile(/tmp/multipartBody8890596755531649785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442843961,"filename":"image_31102025_10_41_47_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5408d1aeb0f6664f35ed76184d5ce2b8.jpg","text":"TemporaryFile(/tmp/multipartBody5783157910276357996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442843961,"filename":"image_31102025_10_41_38_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dbb7808c997cda18be9c95f8ec495019.jpg","text":"TemporaryFile(/tmp/multipartBody423478479492237696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442843961,"filename":"image_31102025_10_41_42_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c2b4381616d18c6c7a0154e131d6d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1079067349359995240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442843961,"filename":"image_31102025_10_41_35_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396942094","file1":"1396942011","file0":"1396941956","file4":"1396942242","file5":"1396942315","file3":"1396942165"},"map_files_photo_id_array":[{"photo_id":"1396942315","filename":"file5"},{"photo_id":"1396942094","filename":"file2"},{"photo_id":"1396942242","filename":"file4"},{"photo_id":"1396942011","filename":"file1"},{"photo_id":"1396941956","filename":"file0"},{"photo_id":"1396942165","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396942165":["hashtag1","hashtag2"]},{"1396942315":["hashtag1","hashtag2"]},{"1396942242":["hashtag1","hashtag2"]},{"1396942011":["hashtag1","hashtag2"]},{"1396942094":["hashtag1","hashtag2"]},{"1396941956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396942165, 1396942315, 1396942242, 1396942011, 1396942094, 1396941956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69539999961853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:00:22.036886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/55/image_29112025_19_55_16_9814.jpg', '/home/pi/Desktop/images/29112025/19/55/image_29112025_19_55_25_9739.jpg', '/home/pi/Desktop/images/29112025/19/55/image_29112025_19_55_35_9696.jpg', '/home/pi/Desktop/images/29112025/19/55/image_29112025_19_55_45_9892.jpg', '/home/pi/Desktop/images/29112025/19/55/image_29112025_19_55_56_10655.jpg', '/home/pi/Desktop/images/29112025/19/55/image_29112025_19_56_05_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/55/image_29112025_19_55_16_9814.jpg
/home/pi/Desktop/images/29112025/19/55/image_29112025_19_55_25_9739.jpg
/home/pi/Desktop/images/29112025/19/55/image_29112025_19_55_35_9696.jpg
/home/pi/Desktop/images/29112025/19/55/image_29112025_19_55_45_9892.jpg
/home/pi/Desktop/images/29112025/19/55/image_29112025_19_55_56_10655.jpg
/home/pi/Desktop/images/29112025/19/55/image_29112025_19_56_05_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":["1396942956","1396942740","1396942589","1396942664","1396942814","1396942885"],"photo_ids_order":["1396942589","1396942664","1396942740","1396942814","1396942885","1396942956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4d806ba6d67d1b4f365c765273dbc14.jpg","text":"TemporaryFile(/tmp/multipartBody1379865655561606478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442882723,"filename":"image_29112025_19_56_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df0ea1f09e8993128cc61f4fa8899463.jpg","text":"TemporaryFile(/tmp/multipartBody5543019470144988964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442882723,"filename":"image_29112025_19_55_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/268aa491a1ce5fdc5950ba147436cae6.jpg","text":"TemporaryFile(/tmp/multipartBody6841643278534807880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442882723,"filename":"image_29112025_19_55_16_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/280dafe627ee166dca8a6470bb046791.jpg","text":"TemporaryFile(/tmp/multipartBody4029055649965964032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442882723,"filename":"image_29112025_19_55_25_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1fc3228dbc4a5b770108ebc13006595f.jpg","text":"TemporaryFile(/tmp/multipartBody7264603316803216505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442882723,"filename":"image_29112025_19_55_45_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/242acd50aa8fc810a524c4c58910dd8f.jpg","text":"TemporaryFile(/tmp/multipartBody6011567274716733305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442882723,"filename":"image_29112025_19_55_56_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396942740","file1":"1396942664","file0":"1396942589","file4":"1396942885","file5":"1396942956","file3":"1396942814"},"map_files_photo_id_array":[{"photo_id":"1396942956","filename":"file5"},{"photo_id":"1396942740","filename":"file2"},{"photo_id":"1396942885","filename":"file4"},{"photo_id":"1396942664","filename":"file1"},{"photo_id":"1396942589","filename":"file0"},{"photo_id":"1396942814","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396942956":["hashtag1","hashtag2"]},{"1396942740":["hashtag1","hashtag2"]},{"1396942589":["hashtag1","hashtag2"]},{"1396942664":["hashtag1","hashtag2"]},{"1396942814":["hashtag1","hashtag2"]},{"1396942885":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396942956, 1396942740, 1396942589, 1396942664, 1396942814, 1396942885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08891487121582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:01:02.796518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/56/image_29112025_19_56_15_9703.jpg', '/home/pi/Desktop/images/29112025/19/56/image_29112025_19_56_26_10693.jpg', '/home/pi/Desktop/images/29112025/19/56/image_29112025_19_56_35_9721.jpg', '/home/pi/Desktop/images/29112025/19/56/image_29112025_19_56_45_9648.jpg', '/home/pi/Desktop/images/29112025/19/56/image_29112025_19_56_56_10630.jpg', '/home/pi/Desktop/images/29112025/19/56/image_29112025_19_57_05_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/56/image_29112025_19_56_15_9703.jpg
/home/pi/Desktop/images/29112025/19/56/image_29112025_19_56_26_10693.jpg
/home/pi/Desktop/images/29112025/19/56/image_29112025_19_56_35_9721.jpg
/home/pi/Desktop/images/29112025/19/56/image_29112025_19_56_45_9648.jpg
/home/pi/Desktop/images/29112025/19/56/image_29112025_19_56_56_10630.jpg
/home/pi/Desktop/images/29112025/19/56/image_29112025_19_57_05_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":["1396943262","1396943379","1396943337","1396943225","1396943299","1396943188"],"photo_ids_order":["1396943188","1396943225","1396943262","1396943299","1396943337","1396943379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7119dce2bdc08640b92178466423f82.jpg","text":"TemporaryFile(/tmp/multipartBody7117317022807959035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442923547,"filename":"image_29112025_19_56_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6f014ef9a4a410e86d17acf124a2249.jpg","text":"TemporaryFile(/tmp/multipartBody7876408565848396168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442923547,"filename":"image_29112025_19_57_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/11/29/1772eb7a6d7700ac2d69539eeac8ed8c.jpg","text":"TemporaryFile(/tmp/multipartBody964013141242759990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442923547,"filename":"image_29112025_19_56_56_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a04b9122b011a06bd277cb14aa3ec095.jpg","text":"TemporaryFile(/tmp/multipartBody8612296433607769111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442923547,"filename":"image_29112025_19_56_26_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a65740995bb0309a2496661b105cc1ca.jpg","text":"TemporaryFile(/tmp/multipartBody1281411701697481972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442923547,"filename":"image_29112025_19_56_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/11/29/a16e8ad85aecf677cb28c5b998c346c7.jpg","text":"TemporaryFile(/tmp/multipartBody3662235475496899966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442923547,"filename":"image_29112025_19_56_15_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396943262","file1":"1396943225","file0":"1396943188","file4":"1396943337","file5":"1396943379","file3":"1396943299"},"map_files_photo_id_array":[{"photo_id":"1396943379","filename":"file5"},{"photo_id":"1396943262","filename":"file2"},{"photo_id":"1396943337","filename":"file4"},{"photo_id":"1396943225","filename":"file1"},{"photo_id":"1396943188","filename":"file0"},{"photo_id":"1396943299","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396943262":["hashtag1","hashtag2"]},{"1396943379":["hashtag1","hashtag2"]},{"1396943337":["hashtag1","hashtag2"]},{"1396943225":["hashtag1","hashtag2"]},{"1396943299":["hashtag1","hashtag2"]},{"1396943188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396943262, 1396943379, 1396943337, 1396943225, 1396943299, 1396943188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60708260536194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:01:42.168989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_53_2606.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_57_3614.jpg', '/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_59_2589.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_02_2756.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_06_3698.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_09_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/10/41/image_31102025_10_41_53_2606.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_57_3614.jpg
/home/pi/Desktop/images/31102025/10/41/image_31102025_10_41_59_2589.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_02_2756.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_06_3698.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_09_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":["1396943592","1396943781","1396943754","1396943682","1396943648","1396943717"],"photo_ids_order":["1396943592","1396943648","1396943682","1396943717","1396943754","1396943781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42b9ec93e53f71888cbf5f6025478e20.jpg","text":"TemporaryFile(/tmp/multipartBody5062758961336029856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442963269,"filename":"image_31102025_10_41_53_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96f1984960fb657db9c995aeb4d6ba12.jpg","text":"TemporaryFile(/tmp/multipartBody791558295542448004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442963269,"filename":"image_31102025_10_42_09_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c31fb8b661ad64a530e415c84b0f0ff.jpg","text":"TemporaryFile(/tmp/multipartBody5784014292487021485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442963269,"filename":"image_31102025_10_42_06_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34f3f2f1c8d00e6b2915294c0da4b284.jpg","text":"TemporaryFile(/tmp/multipartBody9185960112428908297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442963269,"filename":"image_31102025_10_41_59_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cdd94729274968c636fa3da05e85baa.jpg","text":"TemporaryFile(/tmp/multipartBody160376599113411556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442963269,"filename":"image_31102025_10_41_57_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c384f8ffef96d305bcccd1202c244c42.jpg","text":"TemporaryFile(/tmp/multipartBody9164733384001196149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764442963269,"filename":"image_31102025_10_42_02_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396943682","file1":"1396943648","file0":"1396943592","file4":"1396943754","file5":"1396943781","file3":"1396943717"},"map_files_photo_id_array":[{"photo_id":"1396943781","filename":"file5"},{"photo_id":"1396943682","filename":"file2"},{"photo_id":"1396943754","filename":"file4"},{"photo_id":"1396943648","filename":"file1"},{"photo_id":"1396943592","filename":"file0"},{"photo_id":"1396943717","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396943592":["hashtag1","hashtag2"]},{"1396943781":["hashtag1","hashtag2"]},{"1396943754":["hashtag1","hashtag2"]},{"1396943682":["hashtag1","hashtag2"]},{"1396943648":["hashtag1","hashtag2"]},{"1396943717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396943592, 1396943781, 1396943754, 1396943682, 1396943648, 1396943717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43385076522827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:02:22.336385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/57/image_29112025_19_57_15_9847.jpg', '/home/pi/Desktop/images/29112025/19/57/image_29112025_19_57_26_10655.jpg', '/home/pi/Desktop/images/29112025/19/57/image_29112025_19_57_36_9819.jpg', '/home/pi/Desktop/images/29112025/19/57/image_29112025_19_57_45_9585.jpg', '/home/pi/Desktop/images/29112025/19/57/image_29112025_19_57_55_9674.jpg', '/home/pi/Desktop/images/29112025/19/57/image_29112025_19_58_06_10919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/57/image_29112025_19_57_15_9847.jpg
/home/pi/Desktop/images/29112025/19/57/image_29112025_19_57_26_10655.jpg
/home/pi/Desktop/images/29112025/19/57/image_29112025_19_57_36_9819.jpg
/home/pi/Desktop/images/29112025/19/57/image_29112025_19_57_45_9585.jpg
/home/pi/Desktop/images/29112025/19/57/image_29112025_19_57_55_9674.jpg
/home/pi/Desktop/images/29112025/19/57/image_29112025_19_58_06_10919.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396943892","1396943835","1396943888","1396943870","1396943890","1396943837"],"photo_ids_order":["1396943835","1396943837","1396943870","1396943888","1396943890","1396943892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c52b9985cc06a33959b18dad35cd207.jpg","text":"TemporaryFile(/tmp/multipartBody5809542231372606051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443003016,"filename":"image_29112025_19_58_06_10919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/950b5d8158918de51c9c28c943b53906.jpg","text":"TemporaryFile(/tmp/multipartBody7198769035397893819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443003016,"filename":"image_29112025_19_57_15_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8daae602d675d89abeab0c99645ed6b.jpg","text":"TemporaryFile(/tmp/multipartBody1191934662721594270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443003016,"filename":"image_29112025_19_57_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/11/29/29e58f38b7357719b48ebbf61e68aa25.jpg","text":"TemporaryFile(/tmp/multipartBody2646683412497039684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443003016,"filename":"image_29112025_19_57_36_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46941f31571e0e04909011e8d77227b4.jpg","text":"TemporaryFile(/tmp/multipartBody2235667758076431117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443003016,"filename":"image_29112025_19_57_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/11/29/d8e3abad18b5e53eb6237cd6c3691960.jpg","text":"TemporaryFile(/tmp/multipartBody4471760789576368570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443003016,"filename":"image_29112025_19_57_26_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396943870","file1":"1396943837","file0":"1396943835","file4":"1396943890","file5":"1396943892","file3":"1396943888"},"map_files_photo_id_array":[{"photo_id":"1396943892","filename":"file5"},{"photo_id":"1396943870","filename":"file2"},{"photo_id":"1396943890","filename":"file4"},{"photo_id":"1396943837","filename":"file1"},{"photo_id":"1396943835","filename":"file0"},{"photo_id":"1396943888","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396943892":["hashtag1","hashtag2"]},{"1396943835":["hashtag1","hashtag2"]},{"1396943888":["hashtag1","hashtag2"]},{"1396943870":["hashtag1","hashtag2"]},{"1396943890":["hashtag1","hashtag2"]},{"1396943837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396943892, 1396943835, 1396943888, 1396943870, 1396943890, 1396943837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6277289390564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:03:03.236581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/58/image_29112025_19_58_16_9802.jpg', '/home/pi/Desktop/images/29112025/19/58/image_29112025_19_58_25_9801.jpg', '/home/pi/Desktop/images/29112025/19/58/image_29112025_19_58_35_10039.jpg', '/home/pi/Desktop/images/29112025/19/58/image_29112025_19_58_45_9764.jpg', '/home/pi/Desktop/images/29112025/19/58/image_29112025_19_58_55_9691.jpg', '/home/pi/Desktop/images/29112025/19/58/image_29112025_19_59_05_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/58/image_29112025_19_58_16_9802.jpg
/home/pi/Desktop/images/29112025/19/58/image_29112025_19_58_25_9801.jpg
/home/pi/Desktop/images/29112025/19/58/image_29112025_19_58_35_10039.jpg
/home/pi/Desktop/images/29112025/19/58/image_29112025_19_58_45_9764.jpg
/home/pi/Desktop/images/29112025/19/58/image_29112025_19_58_55_9691.jpg
/home/pi/Desktop/images/29112025/19/58/image_29112025_19_59_05_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396944123","1396944086","1396944044","1396943933","1396943971","1396944007"],"photo_ids_order":["1396943933","1396943971","1396944007","1396944044","1396944086","1396944123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de7fa9584d6f7f2840578e4678e3b871.jpg","text":"TemporaryFile(/tmp/multipartBody8379576197696006498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443043973,"filename":"image_29112025_19_59_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e02110c89b548e5ee8ae76349970ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3686072020510794810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443043973,"filename":"image_29112025_19_58_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/11/29/67201832020b275b0dd8b321eec59ff1.jpg","text":"TemporaryFile(/tmp/multipartBody5677819705043623952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443043973,"filename":"image_29112025_19_58_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/11/29/606f9009b127aaca5ef798df9e7c1ad7.jpg","text":"TemporaryFile(/tmp/multipartBody4632020882954455248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443043973,"filename":"image_29112025_19_58_16_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8fa23a05cb43c1071c20ca2f32433c26.jpg","text":"TemporaryFile(/tmp/multipartBody1447512919966130566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443043973,"filename":"image_29112025_19_58_25_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7bd7e280ed0a137a0f249d3db5272c53.jpg","text":"TemporaryFile(/tmp/multipartBody2468914421305035272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443043973,"filename":"image_29112025_19_58_35_10039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944007","file1":"1396943971","file0":"1396943933","file4":"1396944086","file5":"1396944123","file3":"1396944044"},"map_files_photo_id_array":[{"photo_id":"1396944123","filename":"file5"},{"photo_id":"1396944007","filename":"file2"},{"photo_id":"1396944086","filename":"file4"},{"photo_id":"1396943971","filename":"file1"},{"photo_id":"1396943933","filename":"file0"},{"photo_id":"1396944044","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944123":["hashtag1","hashtag2"]},{"1396944086":["hashtag1","hashtag2"]},{"1396944044":["hashtag1","hashtag2"]},{"1396943933":["hashtag1","hashtag2"]},{"1396943971":["hashtag1","hashtag2"]},{"1396944007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944123, 1396944086, 1396944044, 1396943933, 1396943971, 1396944007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21601748466492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:03:42.521007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_11_2646.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_15_3551.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_17_2673.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_20_2859.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_23_2684.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_27_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/10/42/image_31102025_10_42_11_2646.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_15_3551.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_17_2673.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_20_2859.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_23_2684.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_27_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":["1396944342","1396944318","1396944320","1396944265","1396944301","1396944319"],"photo_ids_order":["1396944265","1396944301","1396944318","1396944319","1396944320","1396944342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9935f21a43277a35a07512614e96ac6.jpg","text":"TemporaryFile(/tmp/multipartBody519464603965407833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443083647,"filename":"image_31102025_10_42_27_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84fe0d07283cf171480f4591d9a85aab.jpg","text":"TemporaryFile(/tmp/multipartBody3624608144349579881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443083647,"filename":"image_31102025_10_42_17_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac66b2c9f952c273a7c599c3a79e89dd.jpg","text":"TemporaryFile(/tmp/multipartBody1728042608502720322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443083647,"filename":"image_31102025_10_42_23_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c04f2be92b532cbaf8b2194a1727775.jpg","text":"TemporaryFile(/tmp/multipartBody662368357870459286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443083647,"filename":"image_31102025_10_42_11_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/88cc31be5fc749e3db1aeafba94cf17d.jpg","text":"TemporaryFile(/tmp/multipartBody2258542450028701152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443083647,"filename":"image_31102025_10_42_15_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddec33eafcee2ba8508a1b961851db54.jpg","text":"TemporaryFile(/tmp/multipartBody3174740660217051922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443083647,"filename":"image_31102025_10_42_20_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944318","file1":"1396944301","file0":"1396944265","file4":"1396944320","file5":"1396944342","file3":"1396944319"},"map_files_photo_id_array":[{"photo_id":"1396944342","filename":"file5"},{"photo_id":"1396944318","filename":"file2"},{"photo_id":"1396944320","filename":"file4"},{"photo_id":"1396944301","filename":"file1"},{"photo_id":"1396944265","filename":"file0"},{"photo_id":"1396944319","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396944342":["hashtag1","hashtag2"]},{"1396944318":["hashtag1","hashtag2"]},{"1396944320":["hashtag1","hashtag2"]},{"1396944265":["hashtag1","hashtag2"]},{"1396944301":["hashtag1","hashtag2"]},{"1396944319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396944342, 1396944318, 1396944320, 1396944265, 1396944301, 1396944319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.003730058670044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:04:22.691215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/19/59/image_29112025_19_59_15_9381.jpg', '/home/pi/Desktop/images/29112025/19/59/image_29112025_19_59_26_10706.jpg', '/home/pi/Desktop/images/29112025/19/59/image_29112025_19_59_35_9687.jpg', '/home/pi/Desktop/images/29112025/19/59/image_29112025_19_59_45_9768.jpg', '/home/pi/Desktop/images/29112025/19/59/image_29112025_19_59_56_10708.jpg', '/home/pi/Desktop/images/29112025/19/59/image_29112025_20_00_05_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/19/59/image_29112025_19_59_15_9381.jpg
/home/pi/Desktop/images/29112025/19/59/image_29112025_19_59_26_10706.jpg
/home/pi/Desktop/images/29112025/19/59/image_29112025_19_59_35_9687.jpg
/home/pi/Desktop/images/29112025/19/59/image_29112025_19_59_45_9768.jpg
/home/pi/Desktop/images/29112025/19/59/image_29112025_19_59_56_10708.jpg
/home/pi/Desktop/images/29112025/19/59/image_29112025_20_00_05_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":["1396944441","1396944438","1396944443","1396944442","1396944424","1396944436"],"photo_ids_order":["1396944424","1396944436","1396944438","1396944441","1396944442","1396944443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7fd211c3a9daaaafbc9a7765cdc8a07.jpg","text":"TemporaryFile(/tmp/multipartBody272400990029671258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443123361,"filename":"image_29112025_19_59_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/11/29/bf7cbe5822863f3dad8c8cd81b7ef75b.jpg","text":"TemporaryFile(/tmp/multipartBody8345420080196465622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443123361,"filename":"image_29112025_19_59_35_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1cd6a248fe62b3896714860a7fe8811.jpg","text":"TemporaryFile(/tmp/multipartBody2791745213083913341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443123361,"filename":"image_29112025_20_00_05_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf6ade37d2ffad606cf49e6ebfed16bc.jpg","text":"TemporaryFile(/tmp/multipartBody4623876562240628282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443123361,"filename":"image_29112025_19_59_56_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06877b6ac46b8bdb69976d718f6a0224.jpg","text":"TemporaryFile(/tmp/multipartBody4124889146344563997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443123361,"filename":"image_29112025_19_59_15_9381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/529d8f3fa6fdd689ce49cb385c7c657a.jpg","text":"TemporaryFile(/tmp/multipartBody1102216968510615441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443123361,"filename":"image_29112025_19_59_26_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944438","file1":"1396944436","file0":"1396944424","file4":"1396944442","file5":"1396944443","file3":"1396944441"},"map_files_photo_id_array":[{"photo_id":"1396944443","filename":"file5"},{"photo_id":"1396944438","filename":"file2"},{"photo_id":"1396944442","filename":"file4"},{"photo_id":"1396944436","filename":"file1"},{"photo_id":"1396944424","filename":"file0"},{"photo_id":"1396944441","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944441":["hashtag1","hashtag2"]},{"1396944438":["hashtag1","hashtag2"]},{"1396944443":["hashtag1","hashtag2"]},{"1396944442":["hashtag1","hashtag2"]},{"1396944424":["hashtag1","hashtag2"]},{"1396944436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944441, 1396944438, 1396944443, 1396944442, 1396944424, 1396944436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94127583503723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:05:02.562063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/00/image_29112025_20_00_15_9676.jpg', '/home/pi/Desktop/images/29112025/20/00/image_29112025_20_00_26_10700.jpg', '/home/pi/Desktop/images/29112025/20/00/image_29112025_20_00_35_9602.jpg', '/home/pi/Desktop/images/29112025/20/00/image_29112025_20_00_45_9614.jpg', '/home/pi/Desktop/images/29112025/20/00/image_29112025_20_00_55_10588.jpg', '/home/pi/Desktop/images/29112025/20/00/image_29112025_20_01_05_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/00/image_29112025_20_00_15_9676.jpg
/home/pi/Desktop/images/29112025/20/00/image_29112025_20_00_26_10700.jpg
/home/pi/Desktop/images/29112025/20/00/image_29112025_20_00_35_9602.jpg
/home/pi/Desktop/images/29112025/20/00/image_29112025_20_00_45_9614.jpg
/home/pi/Desktop/images/29112025/20/00/image_29112025_20_00_55_10588.jpg
/home/pi/Desktop/images/29112025/20/00/image_29112025_20_01_05_9965.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396944444","1396944446","1396944449","1396944445","1396944453","1396944447"],"photo_ids_order":["1396944444","1396944445","1396944446","1396944447","1396944449","1396944453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/358a91231d4a46fd2dd9d1c8bf669b42.jpg","text":"TemporaryFile(/tmp/multipartBody5315157241624406453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443163560,"filename":"image_29112025_20_00_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/11/29/cc154885bff791c366effc5d4b4d326c.jpg","text":"TemporaryFile(/tmp/multipartBody920847705106122102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443163560,"filename":"image_29112025_20_00_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/11/29/c431cc1f00d0ac3c1f1c73a61a62a195.jpg","text":"TemporaryFile(/tmp/multipartBody1780082146361440816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443163560,"filename":"image_29112025_20_00_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/11/29/1dec0f17de955920ea184faed6f3c2e9.jpg","text":"TemporaryFile(/tmp/multipartBody1160795660433928529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443163560,"filename":"image_29112025_20_00_26_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39b0a90d55af6563d66d99830206b133.jpg","text":"TemporaryFile(/tmp/multipartBody5474218773661880532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443163560,"filename":"image_29112025_20_01_05_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd6ca999db981a514421709b4c6906d5.jpg","text":"TemporaryFile(/tmp/multipartBody8239911307704232545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443163560,"filename":"image_29112025_20_00_45_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944446","file1":"1396944445","file0":"1396944444","file4":"1396944449","file5":"1396944453","file3":"1396944447"},"map_files_photo_id_array":[{"photo_id":"1396944453","filename":"file5"},{"photo_id":"1396944446","filename":"file2"},{"photo_id":"1396944449","filename":"file4"},{"photo_id":"1396944445","filename":"file1"},{"photo_id":"1396944444","filename":"file0"},{"photo_id":"1396944447","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944444":["hashtag1","hashtag2"]},{"1396944446":["hashtag1","hashtag2"]},{"1396944449":["hashtag1","hashtag2"]},{"1396944445":["hashtag1","hashtag2"]},{"1396944453":["hashtag1","hashtag2"]},{"1396944447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944444, 1396944446, 1396944449, 1396944445, 1396944453, 1396944447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.111541509628296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:05:41.930579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_29_2662.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_32_2785.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_35_2739.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_38_3580.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_41_2622.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_44_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/10/42/image_31102025_10_42_29_2662.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_32_2785.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_35_2739.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_38_3580.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_41_2622.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_44_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":["1396944462","1396944470","1396944469","1396944460","1396944463","1396944468"],"photo_ids_order":["1396944460","1396944462","1396944463","1396944468","1396944469","1396944470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51074b91856e2a8d19331b8ccbbe131b.jpg","text":"TemporaryFile(/tmp/multipartBody769909183853476524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443203019,"filename":"image_31102025_10_42_32_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5b062f1ffce224dc610406246aebb49.jpg","text":"TemporaryFile(/tmp/multipartBody5179629238044577600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443203019,"filename":"image_31102025_10_42_44_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fed92570ca6524e9c69968fc6ad54247.jpg","text":"TemporaryFile(/tmp/multipartBody8759462008679820143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443203019,"filename":"image_31102025_10_42_41_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5db235e6a7f2359aea08e4cf89567a64.jpg","text":"TemporaryFile(/tmp/multipartBody2969959289866325537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443203019,"filename":"image_31102025_10_42_29_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05505891efea2f0969f39cc1b18c4a12.jpg","text":"TemporaryFile(/tmp/multipartBody3068132737179077229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443203019,"filename":"image_31102025_10_42_35_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efd5126cecbba5809155e7568e856b84.jpg","text":"TemporaryFile(/tmp/multipartBody4014602392727828093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443203019,"filename":"image_31102025_10_42_38_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944463","file1":"1396944462","file0":"1396944460","file4":"1396944469","file5":"1396944470","file3":"1396944468"},"map_files_photo_id_array":[{"photo_id":"1396944470","filename":"file5"},{"photo_id":"1396944463","filename":"file2"},{"photo_id":"1396944469","filename":"file4"},{"photo_id":"1396944462","filename":"file1"},{"photo_id":"1396944460","filename":"file0"},{"photo_id":"1396944468","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396944462":["hashtag1","hashtag2"]},{"1396944470":["hashtag1","hashtag2"]},{"1396944469":["hashtag1","hashtag2"]},{"1396944460":["hashtag1","hashtag2"]},{"1396944463":["hashtag1","hashtag2"]},{"1396944468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396944462, 1396944470, 1396944469, 1396944460, 1396944463, 1396944468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40172052383423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:06:22.096440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/01/image_29112025_20_01_15_9666.jpg', '/home/pi/Desktop/images/29112025/20/01/image_29112025_20_01_26_10575.jpg', '/home/pi/Desktop/images/29112025/20/01/image_29112025_20_01_35_9683.jpg', '/home/pi/Desktop/images/29112025/20/01/image_29112025_20_01_45_9670.jpg', '/home/pi/Desktop/images/29112025/20/01/image_29112025_20_01_55_9759.jpg', '/home/pi/Desktop/images/29112025/20/01/image_29112025_20_02_06_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/01/image_29112025_20_01_15_9666.jpg
/home/pi/Desktop/images/29112025/20/01/image_29112025_20_01_26_10575.jpg
/home/pi/Desktop/images/29112025/20/01/image_29112025_20_01_35_9683.jpg
/home/pi/Desktop/images/29112025/20/01/image_29112025_20_01_45_9670.jpg
/home/pi/Desktop/images/29112025/20/01/image_29112025_20_01_55_9759.jpg
/home/pi/Desktop/images/29112025/20/01/image_29112025_20_02_06_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396944504","1396944507","1396944501","1396944499","1396944511","1396944495"],"photo_ids_order":["1396944495","1396944499","1396944501","1396944504","1396944507","1396944511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b12056baf3614b38d19d8d1f13385dd.jpg","text":"TemporaryFile(/tmp/multipartBody6392136336211882407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443242789,"filename":"image_29112025_20_01_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/11/29/0d1c01331def531a0e9cb40ecf2b5af4.jpg","text":"TemporaryFile(/tmp/multipartBody3410096170924119690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443242789,"filename":"image_29112025_20_01_55_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69a5bafe34221f36e76af8a427614257.jpg","text":"TemporaryFile(/tmp/multipartBody3382289466421679884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443242789,"filename":"image_29112025_20_01_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/11/29/0ba45a5d71f72c66bf8549602f24466a.jpg","text":"TemporaryFile(/tmp/multipartBody6945166241675982003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443242789,"filename":"image_29112025_20_01_26_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d585b8aea21793c1870466f6dddbe40a.jpg","text":"TemporaryFile(/tmp/multipartBody1711686747935176823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443242789,"filename":"image_29112025_20_02_06_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e340178e3024688cbb0d7a315363a664.jpg","text":"TemporaryFile(/tmp/multipartBody1363796509761195127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443242789,"filename":"image_29112025_20_01_15_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944501","file1":"1396944499","file0":"1396944495","file4":"1396944507","file5":"1396944511","file3":"1396944504"},"map_files_photo_id_array":[{"photo_id":"1396944511","filename":"file5"},{"photo_id":"1396944501","filename":"file2"},{"photo_id":"1396944507","filename":"file4"},{"photo_id":"1396944499","filename":"file1"},{"photo_id":"1396944495","filename":"file0"},{"photo_id":"1396944504","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944504":["hashtag1","hashtag2"]},{"1396944507":["hashtag1","hashtag2"]},{"1396944501":["hashtag1","hashtag2"]},{"1396944499":["hashtag1","hashtag2"]},{"1396944511":["hashtag1","hashtag2"]},{"1396944495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944504, 1396944507, 1396944501, 1396944499, 1396944511, 1396944495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39163303375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:07:03.061257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/02/image_29112025_20_02_15_9835.jpg', '/home/pi/Desktop/images/29112025/20/02/image_29112025_20_02_25_9751.jpg', '/home/pi/Desktop/images/29112025/20/02/image_29112025_20_02_36_10631.jpg', '/home/pi/Desktop/images/29112025/20/02/image_29112025_20_02_46_9879.jpg', '/home/pi/Desktop/images/29112025/20/02/image_29112025_20_02_55_9837.jpg', '/home/pi/Desktop/images/29112025/20/02/image_29112025_20_03_05_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/02/image_29112025_20_02_15_9835.jpg
/home/pi/Desktop/images/29112025/20/02/image_29112025_20_02_25_9751.jpg
/home/pi/Desktop/images/29112025/20/02/image_29112025_20_02_36_10631.jpg
/home/pi/Desktop/images/29112025/20/02/image_29112025_20_02_46_9879.jpg
/home/pi/Desktop/images/29112025/20/02/image_29112025_20_02_55_9837.jpg
/home/pi/Desktop/images/29112025/20/02/image_29112025_20_03_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":["1396944522","1396944516","1396944515","1396944518","1396944520","1396944517"],"photo_ids_order":["1396944515","1396944516","1396944517","1396944518","1396944520","1396944522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/611c0004a178cc0ea174482248abbfc9.jpg","text":"TemporaryFile(/tmp/multipartBody7134149809704982324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443283857,"filename":"image_29112025_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/11/29/d337c20d5a69b1af9dbb2793909aebf5.jpg","text":"TemporaryFile(/tmp/multipartBody812678716314375400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443283857,"filename":"image_29112025_20_02_25_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4259c68ff81950d471e2d3af6f58663.jpg","text":"TemporaryFile(/tmp/multipartBody7641515608613748262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443283857,"filename":"image_29112025_20_02_15_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/491c3b01bcd3622cf772e5b841102890.jpg","text":"TemporaryFile(/tmp/multipartBody5792506583833073583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443283857,"filename":"image_29112025_20_02_46_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e163397c7357f4aead35da94f6c192e.jpg","text":"TemporaryFile(/tmp/multipartBody4594252719118672070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443283857,"filename":"image_29112025_20_02_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/11/29/b49855e1489026894e90c6cdf67b016c.jpg","text":"TemporaryFile(/tmp/multipartBody3705207072072648731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443283857,"filename":"image_29112025_20_02_36_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944517","file1":"1396944516","file0":"1396944515","file4":"1396944520","file5":"1396944522","file3":"1396944518"},"map_files_photo_id_array":[{"photo_id":"1396944522","filename":"file5"},{"photo_id":"1396944517","filename":"file2"},{"photo_id":"1396944520","filename":"file4"},{"photo_id":"1396944516","filename":"file1"},{"photo_id":"1396944515","filename":"file0"},{"photo_id":"1396944518","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944522":["hashtag1","hashtag2"]},{"1396944516":["hashtag1","hashtag2"]},{"1396944515":["hashtag1","hashtag2"]},{"1396944518":["hashtag1","hashtag2"]},{"1396944520":["hashtag1","hashtag2"]},{"1396944517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944522, 1396944516, 1396944515, 1396944518, 1396944520, 1396944517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.032782554626465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:07:42.391150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_50_2651.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_53_2728.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_56_2910.jpg', '/home/pi/Desktop/images/31102025/10/42/image_31102025_10_43_00_3811.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_02_2771.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_05_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/10/42/image_31102025_10_42_50_2651.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_53_2728.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_42_56_2910.jpg
/home/pi/Desktop/images/31102025/10/42/image_31102025_10_43_00_3811.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_02_2771.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_05_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":["1396944540","1396944534","1396944528","1396944536","1396944538","1396944532"],"photo_ids_order":["1396944528","1396944532","1396944534","1396944536","1396944538","1396944540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d46320c3f116f438f9b189a9718fe225.jpg","text":"TemporaryFile(/tmp/multipartBody4577974338610053306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443323476,"filename":"image_31102025_10_43_05_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3ca4ba2377ab8fa3963d20a6234c3a2.jpg","text":"TemporaryFile(/tmp/multipartBody8060196816107385404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443323476,"filename":"image_31102025_10_42_56_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c50c56fc6e59978effe59c1d9adb4a20.jpg","text":"TemporaryFile(/tmp/multipartBody4585105190173548379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443323476,"filename":"image_31102025_10_42_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/11/29/16485fc1cba71a35706687ea73fd3ffa.jpg","text":"TemporaryFile(/tmp/multipartBody4953078590403907948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443323476,"filename":"image_31102025_10_43_00_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51e27b6950e7beedfd15ecd5f8f6260b.jpg","text":"TemporaryFile(/tmp/multipartBody332301645069689854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443323476,"filename":"image_31102025_10_43_02_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4bfe4d9c0b63ab46fb70dcca601050d.jpg","text":"TemporaryFile(/tmp/multipartBody1241822741294530463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443323476,"filename":"image_31102025_10_42_53_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944534","file1":"1396944532","file0":"1396944528","file4":"1396944538","file5":"1396944540","file3":"1396944536"},"map_files_photo_id_array":[{"photo_id":"1396944540","filename":"file5"},{"photo_id":"1396944534","filename":"file2"},{"photo_id":"1396944538","filename":"file4"},{"photo_id":"1396944532","filename":"file1"},{"photo_id":"1396944528","filename":"file0"},{"photo_id":"1396944536","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396944540":["hashtag1","hashtag2"]},{"1396944534":["hashtag1","hashtag2"]},{"1396944528":["hashtag1","hashtag2"]},{"1396944536":["hashtag1","hashtag2"]},{"1396944538":["hashtag1","hashtag2"]},{"1396944532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396944540, 1396944534, 1396944528, 1396944536, 1396944538, 1396944532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.459802865982056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:08:22.618081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_15_9726.jpg', '/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_26_10823.jpg', '/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_35_9794.jpg', '/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_45_9768.jpg', '/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_55_9751.jpg', '/home/pi/Desktop/images/29112025/20/03/image_29112025_20_04_06_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_15_9726.jpg
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_26_10823.jpg
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_35_9794.jpg
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_45_9768.jpg
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_55_9751.jpg
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_04_06_10683.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5814988613128662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:08:32.590942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_42_2775.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_46_3723.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_49_2526.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_51_2683.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_55_3626.jpg', '/home/pi/Desktop/images/25112025/19/05/image_25112025_19_06_00_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_42_2775.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_46_3723.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_49_2526.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_51_2683.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_05_55_3626.jpg
/home/pi/Desktop/images/25112025/19/05/image_25112025_19_06_00_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":["1396944555","1396944558","1396944551","1396944560","1396944548","1396944559"],"photo_ids_order":["1396944548","1396944551","1396944555","1396944558","1396944559","1396944560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb3ad47cc91032e7b8ae8fe49661d34a.jpg","text":"TemporaryFile(/tmp/multipartBody3737054014099203705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443374824,"filename":"image_25112025_19_05_49_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/210700e3e3c71900853402378b444347.jpg","text":"TemporaryFile(/tmp/multipartBody6063691287909258402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443374824,"filename":"image_25112025_19_05_51_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3311cbdecc3ab9d35769a887f73ecfd.jpg","text":"TemporaryFile(/tmp/multipartBody2006224329040478139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443374824,"filename":"image_25112025_19_05_46_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ab4afe56e66f1c6bb262381802411059.jpg","text":"TemporaryFile(/tmp/multipartBody1892643115606627859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443374824,"filename":"image_25112025_19_06_00_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90382f27dea2f99a44cc470c5cfcb206.jpg","text":"TemporaryFile(/tmp/multipartBody3687181769141875808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443374824,"filename":"image_25112025_19_05_42_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32d32028fed26394c4f5c14386bf9866.jpg","text":"TemporaryFile(/tmp/multipartBody4029795846801072965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443374824,"filename":"image_25112025_19_05_55_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944555","file1":"1396944551","file0":"1396944548","file4":"1396944559","file5":"1396944560","file3":"1396944558"},"map_files_photo_id_array":[{"photo_id":"1396944560","filename":"file5"},{"photo_id":"1396944555","filename":"file2"},{"photo_id":"1396944559","filename":"file4"},{"photo_id":"1396944551","filename":"file1"},{"photo_id":"1396944548","filename":"file0"},{"photo_id":"1396944558","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396944555":["hashtag1","hashtag2"]},{"1396944558":["hashtag1","hashtag2"]},{"1396944551":["hashtag1","hashtag2"]},{"1396944560":["hashtag1","hashtag2"]},{"1396944548":["hashtag1","hashtag2"]},{"1396944559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396944555, 1396944558, 1396944551, 1396944560, 1396944548, 1396944559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30720567703247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:09:12.777965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_06_2580.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_10_3629.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_13_2653.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_15_2760.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_18_2730.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_24_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_06_2580.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_10_3629.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_13_2653.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_15_2760.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_18_2730.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_24_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396944561","1396944563","1396944569","1396944571","1396944565","1396944567"],"photo_ids_order":["1396944561","1396944563","1396944565","1396944567","1396944569","1396944571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f70a3d487fc7384e77c229d32f46b995.jpg","text":"TemporaryFile(/tmp/multipartBody8070296953354728737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443414834,"filename":"image_25112025_19_06_06_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17b8ad0ad3cb9d0a23ebdb4ac06e3685.jpg","text":"TemporaryFile(/tmp/multipartBody4034262310803224694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443414834,"filename":"image_25112025_19_06_10_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b27402ecd208852a0efaa9be5475cd0.jpg","text":"TemporaryFile(/tmp/multipartBody6521386296766083782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443414834,"filename":"image_25112025_19_06_18_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8e035ce1d045dc856ed1814c79e6080.jpg","text":"TemporaryFile(/tmp/multipartBody2037381772714947956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443414834,"filename":"image_25112025_19_06_24_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9df8e9c271019d29d361a601b833ad86.jpg","text":"TemporaryFile(/tmp/multipartBody5764004932471080413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443414834,"filename":"image_25112025_19_06_13_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16d4ef310165575070ab53f92b4f3d82.jpg","text":"TemporaryFile(/tmp/multipartBody4776864675908605153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443414834,"filename":"image_25112025_19_06_15_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944565","file1":"1396944563","file0":"1396944561","file4":"1396944569","file5":"1396944571","file3":"1396944567"},"map_files_photo_id_array":[{"photo_id":"1396944571","filename":"file5"},{"photo_id":"1396944565","filename":"file2"},{"photo_id":"1396944569","filename":"file4"},{"photo_id":"1396944563","filename":"file1"},{"photo_id":"1396944561","filename":"file0"},{"photo_id":"1396944567","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396944561":["hashtag1","hashtag2"]},{"1396944563":["hashtag1","hashtag2"]},{"1396944569":["hashtag1","hashtag2"]},{"1396944571":["hashtag1","hashtag2"]},{"1396944565":["hashtag1","hashtag2"]},{"1396944567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396944561, 1396944563, 1396944569, 1396944571, 1396944565, 1396944567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50598859786987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:10:02.359763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_15_9726.jpg', '/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_26_10823.jpg', '/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_35_9794.jpg', '/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_45_9768.jpg', '/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_55_9751.jpg', '/home/pi/Desktop/images/29112025/20/03/image_29112025_20_04_06_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_15_9726.jpg
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_26_10823.jpg
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_35_9794.jpg
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_45_9768.jpg
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_03_55_9751.jpg
/home/pi/Desktop/images/29112025/20/03/image_29112025_20_04_06_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":["1396944576","1396944575","1396944574","1396944577","1396944582","1396944579"],"photo_ids_order":["1396944574","1396944575","1396944576","1396944577","1396944579","1396944582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/46fd63fd56907582e76ab82af5434b52.jpg","text":"TemporaryFile(/tmp/multipartBody1372857748717517865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443463057,"filename":"image_29112025_20_03_35_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7e81ff8d7f9c70ddae20d2a03782d0f.jpg","text":"TemporaryFile(/tmp/multipartBody4542270687481162155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443463057,"filename":"image_29112025_20_03_26_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/744069de23b33086af16cf559181df0a.jpg","text":"TemporaryFile(/tmp/multipartBody561160474426430307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443463057,"filename":"image_29112025_20_03_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24107c7de497de968a9687f0d4b24ee3.jpg","text":"TemporaryFile(/tmp/multipartBody1950055659270716531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443463057,"filename":"image_29112025_20_03_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/11/29/d7fa4d377dc0e14b84423023e606482f.jpg","text":"TemporaryFile(/tmp/multipartBody544205258688833156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443463057,"filename":"image_29112025_20_04_06_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a85dfebe97e7d950b585c7e085c1e76d.jpg","text":"TemporaryFile(/tmp/multipartBody1289178911385682877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443463057,"filename":"image_29112025_20_03_55_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944576","file1":"1396944575","file0":"1396944574","file4":"1396944579","file5":"1396944582","file3":"1396944577"},"map_files_photo_id_array":[{"photo_id":"1396944582","filename":"file5"},{"photo_id":"1396944576","filename":"file2"},{"photo_id":"1396944579","filename":"file4"},{"photo_id":"1396944575","filename":"file1"},{"photo_id":"1396944574","filename":"file0"},{"photo_id":"1396944577","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944576":["hashtag1","hashtag2"]},{"1396944575":["hashtag1","hashtag2"]},{"1396944574":["hashtag1","hashtag2"]},{"1396944577":["hashtag1","hashtag2"]},{"1396944582":["hashtag1","hashtag2"]},{"1396944579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944576, 1396944575, 1396944574, 1396944577, 1396944582, 1396944579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6339373588562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:10:42.005882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_08_2806.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_11_3625.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_14_2782.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_20_2813.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_23_3676.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_26_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/10/43/image_31102025_10_43_08_2806.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_11_3625.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_14_2782.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_20_2813.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_23_3676.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_26_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":["1396944600","1396944599","1396944590","1396944598","1396944602","1396944592"],"photo_ids_order":["1396944590","1396944592","1396944598","1396944599","1396944600","1396944602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/34b05d4bd79d54845bc98f2fa92df1c4.jpg","text":"TemporaryFile(/tmp/multipartBody3201217512311468071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443503135,"filename":"image_31102025_10_43_23_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a1fe38640f5a1267410643c998b0ded.jpg","text":"TemporaryFile(/tmp/multipartBody997228544383257617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443503135,"filename":"image_31102025_10_43_20_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/814518a226d90ff129e63e3c6eff7c43.jpg","text":"TemporaryFile(/tmp/multipartBody5385831944434500947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443503135,"filename":"image_31102025_10_43_08_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09c124ac1afbb138f71b0a14454816c8.jpg","text":"TemporaryFile(/tmp/multipartBody3103312045805661737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443503135,"filename":"image_31102025_10_43_14_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e00e2cf53dc74eadede0c8c79231737a.jpg","text":"TemporaryFile(/tmp/multipartBody260096145602983349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443503135,"filename":"image_31102025_10_43_26_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91af64d1a59d9ca190234fba626e1bfd.jpg","text":"TemporaryFile(/tmp/multipartBody3153199227286470747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443503135,"filename":"image_31102025_10_43_11_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944598","file1":"1396944592","file0":"1396944590","file4":"1396944600","file5":"1396944602","file3":"1396944599"},"map_files_photo_id_array":[{"photo_id":"1396944602","filename":"file5"},{"photo_id":"1396944598","filename":"file2"},{"photo_id":"1396944600","filename":"file4"},{"photo_id":"1396944592","filename":"file1"},{"photo_id":"1396944590","filename":"file0"},{"photo_id":"1396944599","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396944600":["hashtag1","hashtag2"]},{"1396944599":["hashtag1","hashtag2"]},{"1396944590":["hashtag1","hashtag2"]},{"1396944598":["hashtag1","hashtag2"]},{"1396944602":["hashtag1","hashtag2"]},{"1396944592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396944600, 1396944599, 1396944590, 1396944598, 1396944602, 1396944592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.995704889297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:11:22.273749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/04/image_29112025_20_04_15_9762.jpg', '/home/pi/Desktop/images/29112025/20/04/image_29112025_20_04_25_9680.jpg', '/home/pi/Desktop/images/29112025/20/04/image_29112025_20_04_36_10624.jpg', '/home/pi/Desktop/images/29112025/20/04/image_29112025_20_04_46_9762.jpg', '/home/pi/Desktop/images/29112025/20/04/image_29112025_20_04_55_9574.jpg', '/home/pi/Desktop/images/29112025/20/04/image_29112025_20_05_06_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/04/image_29112025_20_04_15_9762.jpg
/home/pi/Desktop/images/29112025/20/04/image_29112025_20_04_25_9680.jpg
/home/pi/Desktop/images/29112025/20/04/image_29112025_20_04_36_10624.jpg
/home/pi/Desktop/images/29112025/20/04/image_29112025_20_04_46_9762.jpg
/home/pi/Desktop/images/29112025/20/04/image_29112025_20_04_55_9574.jpg
/home/pi/Desktop/images/29112025/20/04/image_29112025_20_05_06_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":["1396944609","1396944624","1396944606","1396944619","1396944610","1396944613"],"photo_ids_order":["1396944606","1396944609","1396944610","1396944613","1396944619","1396944624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/257452e20314edfc962e41ae46ce8986.jpg","text":"TemporaryFile(/tmp/multipartBody8928290165576079752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443542984,"filename":"image_29112025_20_04_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b61e423cb9797f3d619d11a55d17028.jpg","text":"TemporaryFile(/tmp/multipartBody2234428546644554541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443542984,"filename":"image_29112025_20_05_06_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4feb29b77dd8989d29ee565c1613e556.jpg","text":"TemporaryFile(/tmp/multipartBody932509812420386413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443542984,"filename":"image_29112025_20_04_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/11/29/412087ed6d5cb1851b8f62b7e3c3761e.jpg","text":"TemporaryFile(/tmp/multipartBody7935814096084833643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443542984,"filename":"image_29112025_20_04_55_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa8a39f6cfc3b2d1ca609434e1851f72.jpg","text":"TemporaryFile(/tmp/multipartBody2752335569194632794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443542984,"filename":"image_29112025_20_04_36_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e62418ffdd47585f12a50020ac75a39c.jpg","text":"TemporaryFile(/tmp/multipartBody1173611492806976882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443542984,"filename":"image_29112025_20_04_46_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944610","file1":"1396944609","file0":"1396944606","file4":"1396944619","file5":"1396944624","file3":"1396944613"},"map_files_photo_id_array":[{"photo_id":"1396944624","filename":"file5"},{"photo_id":"1396944610","filename":"file2"},{"photo_id":"1396944619","filename":"file4"},{"photo_id":"1396944609","filename":"file1"},{"photo_id":"1396944606","filename":"file0"},{"photo_id":"1396944613","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944609":["hashtag1","hashtag2"]},{"1396944624":["hashtag1","hashtag2"]},{"1396944606":["hashtag1","hashtag2"]},{"1396944619":["hashtag1","hashtag2"]},{"1396944610":["hashtag1","hashtag2"]},{"1396944613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944609, 1396944624, 1396944606, 1396944619, 1396944610, 1396944613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10440707206726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:12:02.723602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_15_9640.jpg', '/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_25_9745.jpg', '/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_35_9685.jpg', '/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_46_10740.jpg', '/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_55_9543.jpg', '/home/pi/Desktop/images/29112025/20/05/image_29112025_20_06_05_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_15_9640.jpg
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_25_9745.jpg
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_35_9685.jpg
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_46_10740.jpg
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_55_9543.jpg
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_06_05_9882.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6547842025756836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:12:12.408446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_27_2872.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_31_3566.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_34_2777.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_36_2577.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_43_2672.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_45_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_27_2872.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_31_3566.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_34_2777.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_36_2577.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_43_2672.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_45_2780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396944689","1396944764","1396944731","1396944766","1396944649","1396944628"],"photo_ids_order":["1396944628","1396944649","1396944689","1396944731","1396944764","1396944766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72879ee702923b3174f395f620c32e0e.jpg","text":"TemporaryFile(/tmp/multipartBody3337724152572023692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443594447,"filename":"image_25112025_19_06_34_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4082e9175bb088fbaea9767ec4c1cf4.jpg","text":"TemporaryFile(/tmp/multipartBody4185547145966365722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443594447,"filename":"image_25112025_19_06_43_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3c093609743f34dd1b0a2721d3ff835.jpg","text":"TemporaryFile(/tmp/multipartBody2065955149552269422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443594447,"filename":"image_25112025_19_06_36_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a1d0dcc89fae9e1fdb4ec6843fb41b6.jpg","text":"TemporaryFile(/tmp/multipartBody3808452774399452811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443594447,"filename":"image_25112025_19_06_45_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d28546d2891905847dacc807f2b71e02.jpg","text":"TemporaryFile(/tmp/multipartBody4905357618854806162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443594447,"filename":"image_25112025_19_06_31_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c9018da7cb08bd20044157b341a2769.jpg","text":"TemporaryFile(/tmp/multipartBody8411771859489698727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443594447,"filename":"image_25112025_19_06_27_2872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944689","file1":"1396944649","file0":"1396944628","file4":"1396944764","file5":"1396944766","file3":"1396944731"},"map_files_photo_id_array":[{"photo_id":"1396944766","filename":"file5"},{"photo_id":"1396944689","filename":"file2"},{"photo_id":"1396944764","filename":"file4"},{"photo_id":"1396944649","filename":"file1"},{"photo_id":"1396944628","filename":"file0"},{"photo_id":"1396944731","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396944689":["hashtag1","hashtag2"]},{"1396944764":["hashtag1","hashtag2"]},{"1396944731":["hashtag1","hashtag2"]},{"1396944766":["hashtag1","hashtag2"]},{"1396944649":["hashtag1","hashtag2"]},{"1396944628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396944689, 1396944764, 1396944731, 1396944766, 1396944649, 1396944628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81088638305664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:13:02.804198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_15_9640.jpg', '/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_25_9745.jpg', '/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_35_9685.jpg', '/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_46_10740.jpg', '/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_55_9543.jpg', '/home/pi/Desktop/images/29112025/20/05/image_29112025_20_06_05_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_15_9640.jpg
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_25_9745.jpg
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_35_9685.jpg
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_46_10740.jpg
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_05_55_9543.jpg
/home/pi/Desktop/images/29112025/20/05/image_29112025_20_06_05_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":["1396944852","1396944854","1396944830","1396944883","1396944856","1396944843"],"photo_ids_order":["1396944830","1396944843","1396944852","1396944854","1396944856","1396944883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4a021f0a90ad092bfdfc666e54aa8613.jpg","text":"TemporaryFile(/tmp/multipartBody6903528215088665767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443643552,"filename":"image_29112025_20_05_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/11/29/dd06ad0d984ad82c4e8487b53a441072.jpg","text":"TemporaryFile(/tmp/multipartBody5666590802409637318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443643552,"filename":"image_29112025_20_05_46_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8498b84e18a85249bf835ff0153b62bd.jpg","text":"TemporaryFile(/tmp/multipartBody5690617179582484140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443643552,"filename":"image_29112025_20_05_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/287d3a14c23e3717adecb3db584d48fd.jpg","text":"TemporaryFile(/tmp/multipartBody2405739271586896319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443643552,"filename":"image_29112025_20_06_05_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d95a04f73b1c69ca9664ea4219dbbc0.jpg","text":"TemporaryFile(/tmp/multipartBody2959612571792184628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443643552,"filename":"image_29112025_20_05_55_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63f7a2b758c42b69b6dfe8488775e10f.jpg","text":"TemporaryFile(/tmp/multipartBody3501371849934075031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443643552,"filename":"image_29112025_20_05_25_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944852","file1":"1396944843","file0":"1396944830","file4":"1396944856","file5":"1396944883","file3":"1396944854"},"map_files_photo_id_array":[{"photo_id":"1396944883","filename":"file5"},{"photo_id":"1396944852","filename":"file2"},{"photo_id":"1396944856","filename":"file4"},{"photo_id":"1396944843","filename":"file1"},{"photo_id":"1396944830","filename":"file0"},{"photo_id":"1396944854","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944852":["hashtag1","hashtag2"]},{"1396944854":["hashtag1","hashtag2"]},{"1396944830":["hashtag1","hashtag2"]},{"1396944883":["hashtag1","hashtag2"]},{"1396944856":["hashtag1","hashtag2"]},{"1396944843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944852, 1396944854, 1396944830, 1396944883, 1396944856, 1396944843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66243648529053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:13:42.068209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_30_3617.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_32_2556.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_35_2859.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_38_2626.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_41_3678.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_44_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/10/43/image_31102025_10_43_30_3617.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_32_2556.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_35_2859.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_38_2626.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_41_3678.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_44_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":["1396944906","1396944909","1396944911","1396944908","1396944910","1396944904"],"photo_ids_order":["1396944904","1396944906","1396944908","1396944909","1396944910","1396944911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7da00e6e7ede164875915d2abac3f3e.jpg","text":"TemporaryFile(/tmp/multipartBody3623384844898397436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443683193,"filename":"image_31102025_10_43_32_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5716aa7697e01f2b0e030d796eff1c3.jpg","text":"TemporaryFile(/tmp/multipartBody6402811016168161035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443683193,"filename":"image_31102025_10_43_38_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/897ee4fbf8b387d1263e8d33076f30e6.jpg","text":"TemporaryFile(/tmp/multipartBody3728704590166914314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443683193,"filename":"image_31102025_10_43_44_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/898a03f9ba19e194bd5abcb8503b5781.jpg","text":"TemporaryFile(/tmp/multipartBody6839080756372076136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443683193,"filename":"image_31102025_10_43_35_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a52564fe8afb9e7d1313615594b21b48.jpg","text":"TemporaryFile(/tmp/multipartBody7978420580804751581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443683193,"filename":"image_31102025_10_43_41_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8eca8ec5b523e5d9604d4c40725036e6.jpg","text":"TemporaryFile(/tmp/multipartBody7587025823440783330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443683193,"filename":"image_31102025_10_43_30_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944908","file1":"1396944906","file0":"1396944904","file4":"1396944910","file5":"1396944911","file3":"1396944909"},"map_files_photo_id_array":[{"photo_id":"1396944911","filename":"file5"},{"photo_id":"1396944908","filename":"file2"},{"photo_id":"1396944910","filename":"file4"},{"photo_id":"1396944906","filename":"file1"},{"photo_id":"1396944904","filename":"file0"},{"photo_id":"1396944909","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396944906":["hashtag1","hashtag2"]},{"1396944909":["hashtag1","hashtag2"]},{"1396944911":["hashtag1","hashtag2"]},{"1396944908":["hashtag1","hashtag2"]},{"1396944910":["hashtag1","hashtag2"]},{"1396944904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396944906, 1396944909, 1396944911, 1396944908, 1396944910, 1396944904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.652740240097046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:14:22.189920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 20:14:32.263659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_49_3636.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_52_2630.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_54_2575.jpg', '/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_58_3790.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_01_2765.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_03_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_49_3636.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_52_2630.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_54_2575.jpg
/home/pi/Desktop/images/25112025/19/06/image_25112025_19_06_58_3790.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_01_2765.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_03_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":["1396944924","1396944921","1396944923","1396944926","1396944925","1396944919"],"photo_ids_order":["1396944919","1396944921","1396944923","1396944924","1396944925","1396944926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fcf7c72c1bab0ab0b0876e65d6bb189.jpg","text":"TemporaryFile(/tmp/multipartBody3616857602359409923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443734454,"filename":"image_25112025_19_06_58_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5458f76c566b193355d3894845562a4.jpg","text":"TemporaryFile(/tmp/multipartBody9063154326617662644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443734454,"filename":"image_25112025_19_06_52_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5aefe6967e4fee0fa6a351bd9d23d0c.jpg","text":"TemporaryFile(/tmp/multipartBody2564515601305565286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443734454,"filename":"image_25112025_19_06_54_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/732a924837dcf36612f2c7d20cdaea61.jpg","text":"TemporaryFile(/tmp/multipartBody2199200647346162244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443734454,"filename":"image_25112025_19_07_03_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc65b1810b5734d753ddf06e3cabfdb0.jpg","text":"TemporaryFile(/tmp/multipartBody6040691528770674266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443734454,"filename":"image_25112025_19_07_01_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9be8bb768889b6ad7d64d44201d8ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2756790432562105597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443734454,"filename":"image_25112025_19_06_49_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944923","file1":"1396944921","file0":"1396944919","file4":"1396944925","file5":"1396944926","file3":"1396944924"},"map_files_photo_id_array":[{"photo_id":"1396944926","filename":"file5"},{"photo_id":"1396944923","filename":"file2"},{"photo_id":"1396944925","filename":"file4"},{"photo_id":"1396944921","filename":"file1"},{"photo_id":"1396944919","filename":"file0"},{"photo_id":"1396944924","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396944924":["hashtag1","hashtag2"]},{"1396944921":["hashtag1","hashtag2"]},{"1396944923":["hashtag1","hashtag2"]},{"1396944926":["hashtag1","hashtag2"]},{"1396944925":["hashtag1","hashtag2"]},{"1396944919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396944924, 1396944921, 1396944923, 1396944926, 1396944925, 1396944919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92785120010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:15:12.319114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_06_2661.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_10_3863.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_13_2578.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_15_2830.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_19_3676.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_22_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_06_2661.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_10_3863.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_13_2578.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_15_2830.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_19_3676.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_22_2757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396944927","1396944929","1396944938","1396944931","1396944940","1396944934"],"photo_ids_order":["1396944927","1396944929","1396944931","1396944934","1396944938","1396944940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc1820243997e6fd653d9b243ff74484.jpg","text":"TemporaryFile(/tmp/multipartBody5513970227645264055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443774387,"filename":"image_25112025_19_07_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/11/29/25dc4531ceb8598df699b65f9ab49adc.jpg","text":"TemporaryFile(/tmp/multipartBody1476978199802315281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443774387,"filename":"image_25112025_19_07_10_3863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a195240678c13c66ca0dceb3ab066f3d.jpg","text":"TemporaryFile(/tmp/multipartBody7615675067435988590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443774387,"filename":"image_25112025_19_07_19_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f538f76c502967121e19a4cd2b828263.jpg","text":"TemporaryFile(/tmp/multipartBody2019847801681617666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443774387,"filename":"image_25112025_19_07_13_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/810a65c7a9dac7ddc5db868191beb812.jpg","text":"TemporaryFile(/tmp/multipartBody7607686363164820118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443774387,"filename":"image_25112025_19_07_22_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49c118e5e52d55ccd26c9a715d2562f3.jpg","text":"TemporaryFile(/tmp/multipartBody7684101796347043635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443774387,"filename":"image_25112025_19_07_15_2830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944931","file1":"1396944929","file0":"1396944927","file4":"1396944938","file5":"1396944940","file3":"1396944934"},"map_files_photo_id_array":[{"photo_id":"1396944940","filename":"file5"},{"photo_id":"1396944931","filename":"file2"},{"photo_id":"1396944938","filename":"file4"},{"photo_id":"1396944929","filename":"file1"},{"photo_id":"1396944927","filename":"file0"},{"photo_id":"1396944934","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396944927":["hashtag1","hashtag2"]},{"1396944929":["hashtag1","hashtag2"]},{"1396944938":["hashtag1","hashtag2"]},{"1396944931":["hashtag1","hashtag2"]},{"1396944940":["hashtag1","hashtag2"]},{"1396944934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396944927, 1396944929, 1396944938, 1396944931, 1396944940, 1396944934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75794005393982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:16:03.027700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/06/image_29112025_20_06_16_10723.jpg', '/home/pi/Desktop/images/29112025/20/06/image_29112025_20_06_25_9701.jpg', '/home/pi/Desktop/images/29112025/20/06/image_29112025_20_06_35_9621.jpg', '/home/pi/Desktop/images/29112025/20/06/image_29112025_20_06_46_10637.jpg', '/home/pi/Desktop/images/29112025/20/06/image_29112025_20_06_55_9644.jpg', '/home/pi/Desktop/images/29112025/20/06/image_29112025_20_07_05_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/06/image_29112025_20_06_16_10723.jpg
/home/pi/Desktop/images/29112025/20/06/image_29112025_20_06_25_9701.jpg
/home/pi/Desktop/images/29112025/20/06/image_29112025_20_06_35_9621.jpg
/home/pi/Desktop/images/29112025/20/06/image_29112025_20_06_46_10637.jpg
/home/pi/Desktop/images/29112025/20/06/image_29112025_20_06_55_9644.jpg
/home/pi/Desktop/images/29112025/20/06/image_29112025_20_07_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":["1396944945","1396944947","1396944944","1396944952","1396944946","1396944949"],"photo_ids_order":["1396944944","1396944945","1396944946","1396944947","1396944949","1396944952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe44107cd654a1c8dcfc79579425c924.jpg","text":"TemporaryFile(/tmp/multipartBody4602880272175067989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443823747,"filename":"image_29112025_20_06_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/11/29/9e4d6482d232a5bdcb2e6f3637074c00.jpg","text":"TemporaryFile(/tmp/multipartBody722024129151301629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443823747,"filename":"image_29112025_20_06_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/11/29/8933fdcef70b42cdfffbc13076eb8aa9.jpg","text":"TemporaryFile(/tmp/multipartBody3301112182067291569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443823747,"filename":"image_29112025_20_06_16_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1f8357cda553a25fb31c8c75dd9ef5a.jpg","text":"TemporaryFile(/tmp/multipartBody1317574485762784515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443823747,"filename":"image_29112025_20_07_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afd3b1ad9bd740d114ab5ad520dbc688.jpg","text":"TemporaryFile(/tmp/multipartBody4458479324366393384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443823747,"filename":"image_29112025_20_06_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5cc1f0875c04e85f42f78f681d5a66e3.jpg","text":"TemporaryFile(/tmp/multipartBody7533530970484237384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443823747,"filename":"image_29112025_20_06_55_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944946","file1":"1396944945","file0":"1396944944","file4":"1396944949","file5":"1396944952","file3":"1396944947"},"map_files_photo_id_array":[{"photo_id":"1396944952","filename":"file5"},{"photo_id":"1396944946","filename":"file2"},{"photo_id":"1396944949","filename":"file4"},{"photo_id":"1396944945","filename":"file1"},{"photo_id":"1396944944","filename":"file0"},{"photo_id":"1396944947","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944945":["hashtag1","hashtag2"]},{"1396944947":["hashtag1","hashtag2"]},{"1396944944":["hashtag1","hashtag2"]},{"1396944952":["hashtag1","hashtag2"]},{"1396944946":["hashtag1","hashtag2"]},{"1396944949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944945, 1396944947, 1396944944, 1396944952, 1396944946, 1396944949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45139670372009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:16:42.591622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_47_2728.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_50_2846.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_53_3720.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_56_2614.jpg', '/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_59_2674.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_02_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/10/43/image_31102025_10_43_47_2728.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_50_2846.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_53_3720.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_56_2614.jpg
/home/pi/Desktop/images/31102025/10/43/image_31102025_10_43_59_2674.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_02_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":["1396944962","1396944964","1396944958","1396944961","1396944960","1396944963"],"photo_ids_order":["1396944958","1396944960","1396944961","1396944962","1396944963","1396944964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a7a70a8ee86f18d553acf69918c901a.jpg","text":"TemporaryFile(/tmp/multipartBody6769764258776273507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443863688,"filename":"image_31102025_10_43_56_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c12bcf487c786f320044289e44715b32.jpg","text":"TemporaryFile(/tmp/multipartBody6722935781265446602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443863688,"filename":"image_31102025_10_44_02_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7401c4589ec058e4c7e16668af93307c.jpg","text":"TemporaryFile(/tmp/multipartBody203468233175881427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443863688,"filename":"image_31102025_10_43_47_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca9145279c5594d252cfc5ab3e103bca.jpg","text":"TemporaryFile(/tmp/multipartBody7159781552528615657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443863688,"filename":"image_31102025_10_43_53_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/542a8fc20bddcf58d28303fea8ca1f65.jpg","text":"TemporaryFile(/tmp/multipartBody9173116470879332396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443863688,"filename":"image_31102025_10_43_50_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc9c51e7e6d600477588e2d7673d7857.jpg","text":"TemporaryFile(/tmp/multipartBody722516057092707966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443863688,"filename":"image_31102025_10_43_59_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944961","file1":"1396944960","file0":"1396944958","file4":"1396944963","file5":"1396944964","file3":"1396944962"},"map_files_photo_id_array":[{"photo_id":"1396944964","filename":"file5"},{"photo_id":"1396944961","filename":"file2"},{"photo_id":"1396944963","filename":"file4"},{"photo_id":"1396944960","filename":"file1"},{"photo_id":"1396944958","filename":"file0"},{"photo_id":"1396944962","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396944962":["hashtag1","hashtag2"]},{"1396944964":["hashtag1","hashtag2"]},{"1396944958":["hashtag1","hashtag2"]},{"1396944961":["hashtag1","hashtag2"]},{"1396944960":["hashtag1","hashtag2"]},{"1396944963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396944962, 1396944964, 1396944958, 1396944961, 1396944960, 1396944963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63106441497803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:17:22.753545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/07/image_29112025_20_07_16_10668.jpg', '/home/pi/Desktop/images/29112025/20/07/image_29112025_20_07_25_9623.jpg', '/home/pi/Desktop/images/29112025/20/07/image_29112025_20_07_35_9934.jpg', '/home/pi/Desktop/images/29112025/20/07/image_29112025_20_07_46_10562.jpg', '/home/pi/Desktop/images/29112025/20/07/image_29112025_20_07_55_9606.jpg', '/home/pi/Desktop/images/29112025/20/07/image_29112025_20_08_05_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/07/image_29112025_20_07_16_10668.jpg
/home/pi/Desktop/images/29112025/20/07/image_29112025_20_07_25_9623.jpg
/home/pi/Desktop/images/29112025/20/07/image_29112025_20_07_35_9934.jpg
/home/pi/Desktop/images/29112025/20/07/image_29112025_20_07_46_10562.jpg
/home/pi/Desktop/images/29112025/20/07/image_29112025_20_07_55_9606.jpg
/home/pi/Desktop/images/29112025/20/07/image_29112025_20_08_05_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396944971","1396944968","1396944976","1396944973","1396944975","1396944984"],"photo_ids_order":["1396944968","1396944971","1396944973","1396944975","1396944976","1396944984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ab5bcaa78a7a37d661aa01b929cb42a.jpg","text":"TemporaryFile(/tmp/multipartBody1066709038141224744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443903445,"filename":"image_29112025_20_07_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b171be1a186c2d57316e4974fc928a89.jpg","text":"TemporaryFile(/tmp/multipartBody8540358984428001419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443903445,"filename":"image_29112025_20_07_16_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bff99c7488551362fd595b6244bdfc6.jpg","text":"TemporaryFile(/tmp/multipartBody686470575877797030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443903445,"filename":"image_29112025_20_07_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/11/29/fde859a95223dbba5644bcf748c26b4c.jpg","text":"TemporaryFile(/tmp/multipartBody8387693213311009895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443903445,"filename":"image_29112025_20_07_35_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/898f9e9bede68b36cf23256ab69568de.jpg","text":"TemporaryFile(/tmp/multipartBody3815728051243316401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443903445,"filename":"image_29112025_20_07_46_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd277a314a69a3a74082ac1abfc80012.jpg","text":"TemporaryFile(/tmp/multipartBody3276613560916002006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443903445,"filename":"image_29112025_20_08_05_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944973","file1":"1396944971","file0":"1396944968","file4":"1396944976","file5":"1396944984","file3":"1396944975"},"map_files_photo_id_array":[{"photo_id":"1396944984","filename":"file5"},{"photo_id":"1396944973","filename":"file2"},{"photo_id":"1396944976","filename":"file4"},{"photo_id":"1396944971","filename":"file1"},{"photo_id":"1396944968","filename":"file0"},{"photo_id":"1396944975","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944971":["hashtag1","hashtag2"]},{"1396944968":["hashtag1","hashtag2"]},{"1396944976":["hashtag1","hashtag2"]},{"1396944973":["hashtag1","hashtag2"]},{"1396944975":["hashtag1","hashtag2"]},{"1396944984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944971, 1396944968, 1396944976, 1396944973, 1396944975, 1396944984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08222007751465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:18:02.385234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/08/image_29112025_20_08_16_10560.jpg', '/home/pi/Desktop/images/29112025/20/08/image_29112025_20_08_25_9837.jpg', '/home/pi/Desktop/images/29112025/20/08/image_29112025_20_08_35_9766.jpg', '/home/pi/Desktop/images/29112025/20/08/image_29112025_20_08_45_9701.jpg', '/home/pi/Desktop/images/29112025/20/08/image_29112025_20_08_56_10711.jpg', '/home/pi/Desktop/images/29112025/20/08/image_29112025_20_09_05_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/08/image_29112025_20_08_16_10560.jpg
/home/pi/Desktop/images/29112025/20/08/image_29112025_20_08_25_9837.jpg
/home/pi/Desktop/images/29112025/20/08/image_29112025_20_08_35_9766.jpg
/home/pi/Desktop/images/29112025/20/08/image_29112025_20_08_45_9701.jpg
/home/pi/Desktop/images/29112025/20/08/image_29112025_20_08_56_10711.jpg
/home/pi/Desktop/images/29112025/20/08/image_29112025_20_09_05_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":["1396944992","1396944986","1396944985","1396944988","1396944987","1396944990"],"photo_ids_order":["1396944985","1396944986","1396944987","1396944988","1396944990","1396944992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ed215f86e6c575ba09093da9ab2f61f.jpg","text":"TemporaryFile(/tmp/multipartBody2315883049066208669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443943106,"filename":"image_29112025_20_09_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/11/29/9d7011f467b08e473e2459c79b87c38c.jpg","text":"TemporaryFile(/tmp/multipartBody3076844730913557856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443943106,"filename":"image_29112025_20_08_25_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d444d45363334f1015416c9e7d2c81e3.jpg","text":"TemporaryFile(/tmp/multipartBody5663675374743334641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443943106,"filename":"image_29112025_20_08_16_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf2b29eab00845110391308514b3f926.jpg","text":"TemporaryFile(/tmp/multipartBody2437830786986365742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443943106,"filename":"image_29112025_20_08_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0e899bb2547a0cb62f9ba2c1dc2ebd65.jpg","text":"TemporaryFile(/tmp/multipartBody3546236653896846552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443943106,"filename":"image_29112025_20_08_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/11/29/d351891d241498a1ef071163c946b866.jpg","text":"TemporaryFile(/tmp/multipartBody8928293675670012600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443943106,"filename":"image_29112025_20_08_56_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396944987","file1":"1396944986","file0":"1396944985","file4":"1396944990","file5":"1396944992","file3":"1396944988"},"map_files_photo_id_array":[{"photo_id":"1396944992","filename":"file5"},{"photo_id":"1396944987","filename":"file2"},{"photo_id":"1396944990","filename":"file4"},{"photo_id":"1396944986","filename":"file1"},{"photo_id":"1396944985","filename":"file0"},{"photo_id":"1396944988","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396944992":["hashtag1","hashtag2"]},{"1396944986":["hashtag1","hashtag2"]},{"1396944985":["hashtag1","hashtag2"]},{"1396944988":["hashtag1","hashtag2"]},{"1396944987":["hashtag1","hashtag2"]},{"1396944990":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396944992, 1396944986, 1396944985, 1396944988, 1396944987, 1396944990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74468755722046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:18:42.028933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_05_2586.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_09_3775.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_11_2710.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_14_2731.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_17_2556.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_20_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_05_2586.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_09_3775.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_11_2710.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_14_2731.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_17_2556.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_20_3709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945007","1396945012","1396945009","1396945003","1396944999","1396945005"],"photo_ids_order":["1396944999","1396945003","1396945005","1396945007","1396945009","1396945012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e79a5ed7a22023cc1573d4fec373ac77.jpg","text":"TemporaryFile(/tmp/multipartBody337929295852938842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443983184,"filename":"image_31102025_10_44_14_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9b2452d497cf1ae16655b0146751eda.jpg","text":"TemporaryFile(/tmp/multipartBody1581832684919501184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443983184,"filename":"image_31102025_10_44_20_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0edeca8a4bee476ac41ba3666aad84cf.jpg","text":"TemporaryFile(/tmp/multipartBody13166625140715710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443983184,"filename":"image_31102025_10_44_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/11/29/8771e4ae5354a8c702fa37b7954a79a7.jpg","text":"TemporaryFile(/tmp/multipartBody2306621312351743607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443983184,"filename":"image_31102025_10_44_09_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/79ce6f033365828969ada74da681dd2a.jpg","text":"TemporaryFile(/tmp/multipartBody5009291405185416005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443983184,"filename":"image_31102025_10_44_05_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2372a3fbdf3529b92f2b7872d9ca5c57.jpg","text":"TemporaryFile(/tmp/multipartBody3830224069610809537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764443983184,"filename":"image_31102025_10_44_11_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945005","file1":"1396945003","file0":"1396944999","file4":"1396945009","file5":"1396945012","file3":"1396945007"},"map_files_photo_id_array":[{"photo_id":"1396945012","filename":"file5"},{"photo_id":"1396945005","filename":"file2"},{"photo_id":"1396945009","filename":"file4"},{"photo_id":"1396945003","filename":"file1"},{"photo_id":"1396944999","filename":"file0"},{"photo_id":"1396945007","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945007":["hashtag1","hashtag2"]},{"1396945012":["hashtag1","hashtag2"]},{"1396945009":["hashtag1","hashtag2"]},{"1396945003":["hashtag1","hashtag2"]},{"1396944999":["hashtag1","hashtag2"]},{"1396945005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945007, 1396945012, 1396945009, 1396945003, 1396944999, 1396945005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78371453285217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:19:22.206268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_15_9813.jpg', '/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_26_10649.jpg', '/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_35_9733.jpg', '/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_45_9763.jpg', '/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_55_9596.jpg', '/home/pi/Desktop/images/29112025/20/09/image_29112025_20_10_06_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_15_9813.jpg
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_26_10649.jpg
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_35_9733.jpg
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_45_9763.jpg
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_55_9596.jpg
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_10_06_10748.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6354026794433594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:19:32.269663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_24_2695.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_27_2813.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_31_3728.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_34_2679.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_36_2610.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_39_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_24_2695.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_27_2813.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_31_3728.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_34_2679.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_36_2610.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_39_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":["1396945020","1396945028","1396945022","1396945025","1396945027","1396945026"],"photo_ids_order":["1396945020","1396945022","1396945025","1396945026","1396945027","1396945028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d653ab9610fed6f4da3bbd8904dc06dd.jpg","text":"TemporaryFile(/tmp/multipartBody6920810434528856549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444034441,"filename":"image_25112025_19_07_24_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09e1f37af3ada7b5c9785cd2d993f4ac.jpg","text":"TemporaryFile(/tmp/multipartBody8880538014541435292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444034441,"filename":"image_25112025_19_07_39_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30b0a7de7f7e6ae1e09e355d9cc3370c.jpg","text":"TemporaryFile(/tmp/multipartBody3293035892521549976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444034441,"filename":"image_25112025_19_07_27_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03127848de4dc11e29102c2901c03a6c.jpg","text":"TemporaryFile(/tmp/multipartBody2583623086782599272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444034441,"filename":"image_25112025_19_07_31_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61d6c37dc223f5f55641a28e0c44a3cd.jpg","text":"TemporaryFile(/tmp/multipartBody2248301018627930478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444034441,"filename":"image_25112025_19_07_36_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a7951756c3304585ff9945508fdec7f.jpg","text":"TemporaryFile(/tmp/multipartBody1297515955457099848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444034441,"filename":"image_25112025_19_07_34_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945025","file1":"1396945022","file0":"1396945020","file4":"1396945027","file5":"1396945028","file3":"1396945026"},"map_files_photo_id_array":[{"photo_id":"1396945028","filename":"file5"},{"photo_id":"1396945025","filename":"file2"},{"photo_id":"1396945027","filename":"file4"},{"photo_id":"1396945022","filename":"file1"},{"photo_id":"1396945020","filename":"file0"},{"photo_id":"1396945026","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396945020":["hashtag1","hashtag2"]},{"1396945028":["hashtag1","hashtag2"]},{"1396945022":["hashtag1","hashtag2"]},{"1396945025":["hashtag1","hashtag2"]},{"1396945027":["hashtag1","hashtag2"]},{"1396945026":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396945020, 1396945028, 1396945022, 1396945025, 1396945027, 1396945026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3416268825531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:20:12.401049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_46_2864.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_48_2582.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_51_2786.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_55_3651.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_57_2621.jpg', '/home/pi/Desktop/images/25112025/19/07/image_25112025_19_08_01_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_46_2864.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_48_2582.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_51_2786.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_55_3651.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_07_57_2621.jpg
/home/pi/Desktop/images/25112025/19/07/image_25112025_19_08_01_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945035","1396945040","1396945037","1396945031","1396945033","1396945042"],"photo_ids_order":["1396945031","1396945033","1396945035","1396945037","1396945040","1396945042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b3c708c59babbc09649005bb55c8e6f.jpg","text":"TemporaryFile(/tmp/multipartBody625756734392604892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444074479,"filename":"image_25112025_19_07_51_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e28ac1fa0e7392e0c372c7dfed4d2788.jpg","text":"TemporaryFile(/tmp/multipartBody4371199192178658707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444074479,"filename":"image_25112025_19_07_57_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1b410194fcb4404b30a0aaffd1c3850.jpg","text":"TemporaryFile(/tmp/multipartBody4751544754745645993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444074479,"filename":"image_25112025_19_07_55_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d09d1cbd3a3e12249edbd876ec97d46.jpg","text":"TemporaryFile(/tmp/multipartBody3377100106477831363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444074479,"filename":"image_25112025_19_07_46_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f911a302f3f9dc058c4cb665e15ce82.jpg","text":"TemporaryFile(/tmp/multipartBody8598772858696125533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444074479,"filename":"image_25112025_19_07_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/11/29/418c53d87337a6fb4c6684205c270921.jpg","text":"TemporaryFile(/tmp/multipartBody3186954413890442370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444074479,"filename":"image_25112025_19_08_01_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945035","file1":"1396945033","file0":"1396945031","file4":"1396945040","file5":"1396945042","file3":"1396945037"},"map_files_photo_id_array":[{"photo_id":"1396945042","filename":"file5"},{"photo_id":"1396945035","filename":"file2"},{"photo_id":"1396945040","filename":"file4"},{"photo_id":"1396945033","filename":"file1"},{"photo_id":"1396945031","filename":"file0"},{"photo_id":"1396945037","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396945035":["hashtag1","hashtag2"]},{"1396945040":["hashtag1","hashtag2"]},{"1396945037":["hashtag1","hashtag2"]},{"1396945031":["hashtag1","hashtag2"]},{"1396945033":["hashtag1","hashtag2"]},{"1396945042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396945035, 1396945040, 1396945037, 1396945031, 1396945033, 1396945042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.96071434020996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:21:03.185260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_15_9813.jpg', '/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_26_10649.jpg', '/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_35_9733.jpg', '/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_45_9763.jpg', '/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_55_9596.jpg', '/home/pi/Desktop/images/29112025/20/09/image_29112025_20_10_06_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_15_9813.jpg
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_26_10649.jpg
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_35_9733.jpg
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_45_9763.jpg
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_09_55_9596.jpg
/home/pi/Desktop/images/29112025/20/09/image_29112025_20_10_06_10748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945052","1396945046","1396945049","1396945043","1396945045","1396945047"],"photo_ids_order":["1396945043","1396945045","1396945046","1396945047","1396945049","1396945052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ea5056c3c826ef9712ee9bb6159f45c.jpg","text":"TemporaryFile(/tmp/multipartBody4004406405458127405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444124023,"filename":"image_29112025_20_10_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/11/29/d0d68378bf5bcb1495e95e8d6e7f699c.jpg","text":"TemporaryFile(/tmp/multipartBody3618859583893344325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444124023,"filename":"image_29112025_20_09_35_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59be638c460d412ca850dd5e5a000acd.jpg","text":"TemporaryFile(/tmp/multipartBody6054718522232812107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444124023,"filename":"image_29112025_20_09_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/11/29/77230abae0baa9efbf08887cc2d3ea62.jpg","text":"TemporaryFile(/tmp/multipartBody546851330643385219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444124023,"filename":"image_29112025_20_09_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/11/29/a717e69a680865f0842054dba9d3102d.jpg","text":"TemporaryFile(/tmp/multipartBody993522563824999725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444124023,"filename":"image_29112025_20_09_26_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7f536aeab408dcb7e78463fce753368.jpg","text":"TemporaryFile(/tmp/multipartBody2249660143447938760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444124023,"filename":"image_29112025_20_09_45_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945046","file1":"1396945045","file0":"1396945043","file4":"1396945049","file5":"1396945052","file3":"1396945047"},"map_files_photo_id_array":[{"photo_id":"1396945052","filename":"file5"},{"photo_id":"1396945046","filename":"file2"},{"photo_id":"1396945049","filename":"file4"},{"photo_id":"1396945045","filename":"file1"},{"photo_id":"1396945043","filename":"file0"},{"photo_id":"1396945047","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945052":["hashtag1","hashtag2"]},{"1396945046":["hashtag1","hashtag2"]},{"1396945049":["hashtag1","hashtag2"]},{"1396945043":["hashtag1","hashtag2"]},{"1396945045":["hashtag1","hashtag2"]},{"1396945047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945052, 1396945046, 1396945049, 1396945043, 1396945045, 1396945047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.494898319244385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:21:42.692064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_29_2826.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_32_3752.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_38_2614.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_41_3678.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_44_2808.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_47_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_29_2826.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_32_3752.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_38_2614.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_41_3678.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_44_2808.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_47_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945061","1396945063","1396945060","1396945062","1396945065","1396945059"],"photo_ids_order":["1396945059","1396945060","1396945061","1396945062","1396945063","1396945065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6e3cd606100e92c8a343a9233a73d24.jpg","text":"TemporaryFile(/tmp/multipartBody2331953521433716334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444163838,"filename":"image_31102025_10_44_38_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d910f62ddb322b493c693c72e29d04e.jpg","text":"TemporaryFile(/tmp/multipartBody6829846744717225613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444163838,"filename":"image_31102025_10_44_44_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5657a9142463caec181c16f138a6c6e2.jpg","text":"TemporaryFile(/tmp/multipartBody6315591319883636220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444163838,"filename":"image_31102025_10_44_32_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d93c826bc85a5505da02172e16546b1f.jpg","text":"TemporaryFile(/tmp/multipartBody437960293374088081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444163838,"filename":"image_31102025_10_44_41_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fae32bfc8e6a0681863a11f35f53875d.jpg","text":"TemporaryFile(/tmp/multipartBody8238822856918876119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444163838,"filename":"image_31102025_10_44_47_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/412c79430ac0b4992323e89bcf083e99.jpg","text":"TemporaryFile(/tmp/multipartBody561291675729373228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444163838,"filename":"image_31102025_10_44_29_2826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945061","file1":"1396945060","file0":"1396945059","file4":"1396945063","file5":"1396945065","file3":"1396945062"},"map_files_photo_id_array":[{"photo_id":"1396945065","filename":"file5"},{"photo_id":"1396945061","filename":"file2"},{"photo_id":"1396945063","filename":"file4"},{"photo_id":"1396945060","filename":"file1"},{"photo_id":"1396945059","filename":"file0"},{"photo_id":"1396945062","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945061":["hashtag1","hashtag2"]},{"1396945063":["hashtag1","hashtag2"]},{"1396945060":["hashtag1","hashtag2"]},{"1396945062":["hashtag1","hashtag2"]},{"1396945065":["hashtag1","hashtag2"]},{"1396945059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945061, 1396945063, 1396945060, 1396945062, 1396945065, 1396945059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26162362098694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:22:21.991868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/10/image_29112025_20_10_15_9665.jpg', '/home/pi/Desktop/images/29112025/20/10/image_29112025_20_10_25_9603.jpg', '/home/pi/Desktop/images/29112025/20/10/image_29112025_20_10_36_10678.jpg', '/home/pi/Desktop/images/29112025/20/10/image_29112025_20_10_45_9692.jpg', '/home/pi/Desktop/images/29112025/20/10/image_29112025_20_10_55_9568.jpg', '/home/pi/Desktop/images/29112025/20/10/image_29112025_20_11_05_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/10/image_29112025_20_10_15_9665.jpg
/home/pi/Desktop/images/29112025/20/10/image_29112025_20_10_25_9603.jpg
/home/pi/Desktop/images/29112025/20/10/image_29112025_20_10_36_10678.jpg
/home/pi/Desktop/images/29112025/20/10/image_29112025_20_10_45_9692.jpg
/home/pi/Desktop/images/29112025/20/10/image_29112025_20_10_55_9568.jpg
/home/pi/Desktop/images/29112025/20/10/image_29112025_20_11_05_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945082","1396945075","1396945078","1396945072","1396945069","1396945080"],"photo_ids_order":["1396945069","1396945072","1396945075","1396945078","1396945080","1396945082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17ed027a496a1e9cf6e74699defea00d.jpg","text":"TemporaryFile(/tmp/multipartBody8617097409937896450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444202688,"filename":"image_29112025_20_11_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/11/29/6c3fe6d418ca5b51b00877c0b1fefc45.jpg","text":"TemporaryFile(/tmp/multipartBody9012055912627257227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444202688,"filename":"image_29112025_20_10_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/11/29/fa6fc0523c306a182b9ccca6791a1fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6589580838578720467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444202688,"filename":"image_29112025_20_10_45_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ca5c8d9e4f006586d46271974df812a.jpg","text":"TemporaryFile(/tmp/multipartBody6252629940041308637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444202688,"filename":"image_29112025_20_10_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/11/29/bfce864e03d90f9d0d5ded677af3c271.jpg","text":"TemporaryFile(/tmp/multipartBody5135068691609773314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444202688,"filename":"image_29112025_20_10_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/11/29/835ff5328ff09510c30bb84453f5e5ee.jpg","text":"TemporaryFile(/tmp/multipartBody372853828849596881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444202688,"filename":"image_29112025_20_10_55_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945075","file1":"1396945072","file0":"1396945069","file4":"1396945080","file5":"1396945082","file3":"1396945078"},"map_files_photo_id_array":[{"photo_id":"1396945082","filename":"file5"},{"photo_id":"1396945075","filename":"file2"},{"photo_id":"1396945080","filename":"file4"},{"photo_id":"1396945072","filename":"file1"},{"photo_id":"1396945069","filename":"file0"},{"photo_id":"1396945078","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945082":["hashtag1","hashtag2"]},{"1396945075":["hashtag1","hashtag2"]},{"1396945078":["hashtag1","hashtag2"]},{"1396945072":["hashtag1","hashtag2"]},{"1396945069":["hashtag1","hashtag2"]},{"1396945080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945082, 1396945075, 1396945078, 1396945072, 1396945069, 1396945080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0210747718811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:23:02.769612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/11/image_29112025_20_11_15_10013.jpg', '/home/pi/Desktop/images/29112025/20/11/image_29112025_20_11_25_9683.jpg', '/home/pi/Desktop/images/29112025/20/11/image_29112025_20_11_36_10545.jpg', '/home/pi/Desktop/images/29112025/20/11/image_29112025_20_11_45_9620.jpg', '/home/pi/Desktop/images/29112025/20/11/image_29112025_20_11_55_9780.jpg', '/home/pi/Desktop/images/29112025/20/11/image_29112025_20_12_05_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/11/image_29112025_20_11_15_10013.jpg
/home/pi/Desktop/images/29112025/20/11/image_29112025_20_11_25_9683.jpg
/home/pi/Desktop/images/29112025/20/11/image_29112025_20_11_36_10545.jpg
/home/pi/Desktop/images/29112025/20/11/image_29112025_20_11_45_9620.jpg
/home/pi/Desktop/images/29112025/20/11/image_29112025_20_11_55_9780.jpg
/home/pi/Desktop/images/29112025/20/11/image_29112025_20_12_05_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":["1396945085","1396945090","1396945084","1396945087","1396945092","1396945086"],"photo_ids_order":["1396945084","1396945085","1396945086","1396945087","1396945090","1396945092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/01e7e99be6ad277db11cabcd217b0de3.jpg","text":"TemporaryFile(/tmp/multipartBody4226441550716986225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444243586,"filename":"image_29112025_20_11_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/11/29/e6e843ce78c8c31002dc7d399f0b5fa0.jpg","text":"TemporaryFile(/tmp/multipartBody1940043706839288537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444243586,"filename":"image_29112025_20_11_55_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e655bb0a5492965350415c6c312db31.jpg","text":"TemporaryFile(/tmp/multipartBody4523014485415372457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444243586,"filename":"image_29112025_20_11_15_10013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6f259a138f4bbae6348221f490a967c.jpg","text":"TemporaryFile(/tmp/multipartBody2503891491215674242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444243586,"filename":"image_29112025_20_11_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/11/29/4eaab6a38fd6d25f5f5039b7f851fed3.jpg","text":"TemporaryFile(/tmp/multipartBody39015177504423162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444243586,"filename":"image_29112025_20_12_05_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7983e8b11f4fd878823256f6e4fca43d.jpg","text":"TemporaryFile(/tmp/multipartBody6500271199964276166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444243586,"filename":"image_29112025_20_11_36_10545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945086","file1":"1396945085","file0":"1396945084","file4":"1396945090","file5":"1396945092","file3":"1396945087"},"map_files_photo_id_array":[{"photo_id":"1396945092","filename":"file5"},{"photo_id":"1396945086","filename":"file2"},{"photo_id":"1396945090","filename":"file4"},{"photo_id":"1396945085","filename":"file1"},{"photo_id":"1396945084","filename":"file0"},{"photo_id":"1396945087","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945085":["hashtag1","hashtag2"]},{"1396945090":["hashtag1","hashtag2"]},{"1396945084":["hashtag1","hashtag2"]},{"1396945087":["hashtag1","hashtag2"]},{"1396945092":["hashtag1","hashtag2"]},{"1396945086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945085, 1396945090, 1396945084, 1396945087, 1396945092, 1396945086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56389307975769 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:23:42.128267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_53_3587.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_56_2575.jpg', '/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_59_2824.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_08_3012.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_11_3564.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_14_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_53_3587.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_56_2575.jpg
/home/pi/Desktop/images/31102025/10/44/image_31102025_10_44_59_2824.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_08_3012.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_11_3564.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_14_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945097","1396945101","1396945100","1396945099","1396945098","1396945102"],"photo_ids_order":["1396945097","1396945098","1396945099","1396945100","1396945101","1396945102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb8b30f08fd598a2f3cdec0429bd5d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5099098373998257688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444283227,"filename":"image_31102025_10_44_53_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be141d3be4f2f6532a13a9a09dcdfa40.jpg","text":"TemporaryFile(/tmp/multipartBody2166545824788816797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444283227,"filename":"image_31102025_10_45_11_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e4e3df9db01bbad95072c39fce117954.jpg","text":"TemporaryFile(/tmp/multipartBody2371949997734718981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444283227,"filename":"image_31102025_10_45_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75697057881dae2b3f520063161318b1.jpg","text":"TemporaryFile(/tmp/multipartBody7550386365747911147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444283227,"filename":"image_31102025_10_44_59_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c9fa2eb7d6f0078c485c00da3825c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1253143030839668726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444283227,"filename":"image_31102025_10_44_56_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcdb88e5ceb03555fef990e71d9946f8.jpg","text":"TemporaryFile(/tmp/multipartBody5643032092783422786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444283227,"filename":"image_31102025_10_45_14_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945099","file1":"1396945098","file0":"1396945097","file4":"1396945101","file5":"1396945102","file3":"1396945100"},"map_files_photo_id_array":[{"photo_id":"1396945102","filename":"file5"},{"photo_id":"1396945099","filename":"file2"},{"photo_id":"1396945101","filename":"file4"},{"photo_id":"1396945098","filename":"file1"},{"photo_id":"1396945097","filename":"file0"},{"photo_id":"1396945100","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945097":["hashtag1","hashtag2"]},{"1396945101":["hashtag1","hashtag2"]},{"1396945100":["hashtag1","hashtag2"]},{"1396945099":["hashtag1","hashtag2"]},{"1396945098":["hashtag1","hashtag2"]},{"1396945102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945097, 1396945101, 1396945100, 1396945099, 1396945098, 1396945102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20552468299866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:24:22.350485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/12/image_29112025_20_12_16_10727.jpg', '/home/pi/Desktop/images/29112025/20/12/image_29112025_20_12_25_9808.jpg', '/home/pi/Desktop/images/29112025/20/12/image_29112025_20_12_35_9722.jpg', '/home/pi/Desktop/images/29112025/20/12/image_29112025_20_12_45_9844.jpg', '/home/pi/Desktop/images/29112025/20/12/image_29112025_20_12_55_10017.jpg', '/home/pi/Desktop/images/29112025/20/12/image_29112025_20_13_06_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/12/image_29112025_20_12_16_10727.jpg
/home/pi/Desktop/images/29112025/20/12/image_29112025_20_12_25_9808.jpg
/home/pi/Desktop/images/29112025/20/12/image_29112025_20_12_35_9722.jpg
/home/pi/Desktop/images/29112025/20/12/image_29112025_20_12_45_9844.jpg
/home/pi/Desktop/images/29112025/20/12/image_29112025_20_12_55_10017.jpg
/home/pi/Desktop/images/29112025/20/12/image_29112025_20_13_06_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945118","1396945111","1396945120","1396945114","1396945108","1396945104"],"photo_ids_order":["1396945104","1396945108","1396945111","1396945114","1396945118","1396945120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/66e83c7406715f58d2a4a2217e6ef9a2.jpg","text":"TemporaryFile(/tmp/multipartBody4979860275691620968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444323043,"filename":"image_29112025_20_12_55_10017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8075f98c7a25deca70d9801f0062c9de.jpg","text":"TemporaryFile(/tmp/multipartBody5990889301952533714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444323043,"filename":"image_29112025_20_12_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/11/29/b81f822ee95837734a81cb343fa04fe6.jpg","text":"TemporaryFile(/tmp/multipartBody5328601406059798857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444323043,"filename":"image_29112025_20_13_06_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90a8102a120c6ee38431b8b5f8484f7e.jpg","text":"TemporaryFile(/tmp/multipartBody6832360512984505080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444323043,"filename":"image_29112025_20_12_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/11/29/33274aa30f3c9adae6a204f8d75ff3a1.jpg","text":"TemporaryFile(/tmp/multipartBody3127423052077536111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444323043,"filename":"image_29112025_20_12_25_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3bfc4cf31930e25feed5407c9fa94fef.jpg","text":"TemporaryFile(/tmp/multipartBody3019234500395805172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444323043,"filename":"image_29112025_20_12_16_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945111","file1":"1396945108","file0":"1396945104","file4":"1396945118","file5":"1396945120","file3":"1396945114"},"map_files_photo_id_array":[{"photo_id":"1396945120","filename":"file5"},{"photo_id":"1396945111","filename":"file2"},{"photo_id":"1396945118","filename":"file4"},{"photo_id":"1396945108","filename":"file1"},{"photo_id":"1396945104","filename":"file0"},{"photo_id":"1396945114","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945118":["hashtag1","hashtag2"]},{"1396945111":["hashtag1","hashtag2"]},{"1396945120":["hashtag1","hashtag2"]},{"1396945114":["hashtag1","hashtag2"]},{"1396945108":["hashtag1","hashtag2"]},{"1396945104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945118, 1396945111, 1396945120, 1396945114, 1396945108, 1396945104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28234839439392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:25:03.229085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/13/image_29112025_20_13_15_9601.jpg', '/home/pi/Desktop/images/29112025/20/13/image_29112025_20_13_25_9722.jpg', '/home/pi/Desktop/images/29112025/20/13/image_29112025_20_13_36_10593.jpg', '/home/pi/Desktop/images/29112025/20/13/image_29112025_20_13_45_9640.jpg', '/home/pi/Desktop/images/29112025/20/13/image_29112025_20_13_55_9807.jpg', '/home/pi/Desktop/images/29112025/20/13/image_29112025_20_14_06_10742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/13/image_29112025_20_13_15_9601.jpg
/home/pi/Desktop/images/29112025/20/13/image_29112025_20_13_25_9722.jpg
/home/pi/Desktop/images/29112025/20/13/image_29112025_20_13_36_10593.jpg
/home/pi/Desktop/images/29112025/20/13/image_29112025_20_13_45_9640.jpg
/home/pi/Desktop/images/29112025/20/13/image_29112025_20_13_55_9807.jpg
/home/pi/Desktop/images/29112025/20/13/image_29112025_20_14_06_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":["1396945128","1396945124","1396945126","1396945123","1396945122","1396945125"],"photo_ids_order":["1396945122","1396945123","1396945124","1396945125","1396945126","1396945128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76c0b360ff550a69ea255b5edff80e6d.jpg","text":"TemporaryFile(/tmp/multipartBody5785057499558847641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444363995,"filename":"image_29112025_20_14_06_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8aa8f68381fe4f9bc8086cf27d39121d.jpg","text":"TemporaryFile(/tmp/multipartBody3201170203788956894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444363995,"filename":"image_29112025_20_13_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/11/29/52e25a5d571b89414e2556a2ca2eeba3.jpg","text":"TemporaryFile(/tmp/multipartBody5793537345620179629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444363995,"filename":"image_29112025_20_13_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/11/29/cf7d227c0bfec09f2f2da8cbafb62e7e.jpg","text":"TemporaryFile(/tmp/multipartBody3324601474492126145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444363995,"filename":"image_29112025_20_13_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/11/29/e1d9c273ef15a0d87ee4f220b9637b28.jpg","text":"TemporaryFile(/tmp/multipartBody939750745342121968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444363995,"filename":"image_29112025_20_13_15_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bc7d69a1830e104b829fb739172716b.jpg","text":"TemporaryFile(/tmp/multipartBody7120478233606530114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444363995,"filename":"image_29112025_20_13_45_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945124","file1":"1396945123","file0":"1396945122","file4":"1396945126","file5":"1396945128","file3":"1396945125"},"map_files_photo_id_array":[{"photo_id":"1396945128","filename":"file5"},{"photo_id":"1396945124","filename":"file2"},{"photo_id":"1396945126","filename":"file4"},{"photo_id":"1396945123","filename":"file1"},{"photo_id":"1396945122","filename":"file0"},{"photo_id":"1396945125","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945128":["hashtag1","hashtag2"]},{"1396945124":["hashtag1","hashtag2"]},{"1396945126":["hashtag1","hashtag2"]},{"1396945123":["hashtag1","hashtag2"]},{"1396945122":["hashtag1","hashtag2"]},{"1396945125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945128, 1396945124, 1396945126, 1396945123, 1396945122, 1396945125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74119544029236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:25:42.598550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_17_2859.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_21_3624.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_23_2629.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_27_3564.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_29_2655.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_32_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/10/45/image_31102025_10_45_17_2859.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_21_3624.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_23_2629.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_27_3564.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_29_2655.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_32_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":["1396945134","1396945136","1396945139","1396945138","1396945140","1396945137"],"photo_ids_order":["1396945134","1396945136","1396945137","1396945138","1396945139","1396945140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ecee74d2d4a6c382f21c6c4f0875d24.jpg","text":"TemporaryFile(/tmp/multipartBody8317557891589685762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444403766,"filename":"image_31102025_10_45_17_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74d2b44adab1da224148785bfae36b1a.jpg","text":"TemporaryFile(/tmp/multipartBody4717244688617917798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444403766,"filename":"image_31102025_10_45_21_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2dee1888b1822fce11c02d51577887e.jpg","text":"TemporaryFile(/tmp/multipartBody8083037768132023704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444403766,"filename":"image_31102025_10_45_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/11/29/dc346434a9060506b1872a4fe755048b.jpg","text":"TemporaryFile(/tmp/multipartBody3787527325969769796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444403766,"filename":"image_31102025_10_45_27_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfded28c53dcdde236a0e94598f6b5f5.jpg","text":"TemporaryFile(/tmp/multipartBody8662310828873597866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444403766,"filename":"image_31102025_10_45_32_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1da43a742e48860385396be6b9afc1b2.jpg","text":"TemporaryFile(/tmp/multipartBody4754442221607090135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444403766,"filename":"image_31102025_10_45_23_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945137","file1":"1396945136","file0":"1396945134","file4":"1396945139","file5":"1396945140","file3":"1396945138"},"map_files_photo_id_array":[{"photo_id":"1396945140","filename":"file5"},{"photo_id":"1396945137","filename":"file2"},{"photo_id":"1396945139","filename":"file4"},{"photo_id":"1396945136","filename":"file1"},{"photo_id":"1396945134","filename":"file0"},{"photo_id":"1396945138","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945134":["hashtag1","hashtag2"]},{"1396945136":["hashtag1","hashtag2"]},{"1396945139":["hashtag1","hashtag2"]},{"1396945138":["hashtag1","hashtag2"]},{"1396945140":["hashtag1","hashtag2"]},{"1396945137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945134, 1396945136, 1396945139, 1396945138, 1396945140, 1396945137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86060857772827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:26:22.796725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/14/image_29112025_20_14_15_9665.jpg', '/home/pi/Desktop/images/29112025/20/14/image_29112025_20_14_25_9677.jpg', '/home/pi/Desktop/images/29112025/20/14/image_29112025_20_14_35_9748.jpg', '/home/pi/Desktop/images/29112025/20/14/image_29112025_20_14_46_10680.jpg', '/home/pi/Desktop/images/29112025/20/14/image_29112025_20_14_55_9799.jpg', '/home/pi/Desktop/images/29112025/20/14/image_29112025_20_15_05_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/14/image_29112025_20_14_15_9665.jpg
/home/pi/Desktop/images/29112025/20/14/image_29112025_20_14_25_9677.jpg
/home/pi/Desktop/images/29112025/20/14/image_29112025_20_14_35_9748.jpg
/home/pi/Desktop/images/29112025/20/14/image_29112025_20_14_46_10680.jpg
/home/pi/Desktop/images/29112025/20/14/image_29112025_20_14_55_9799.jpg
/home/pi/Desktop/images/29112025/20/14/image_29112025_20_15_05_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945151","1396945154","1396945148","1396945159","1396945143","1396945146"],"photo_ids_order":["1396945143","1396945146","1396945148","1396945151","1396945154","1396945159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc4fc637ecb0a8b2861410f8089d0857.jpg","text":"TemporaryFile(/tmp/multipartBody3909598736147724294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444443528,"filename":"image_29112025_20_14_46_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/211a03d435bf1dfb627e0b009a05ef17.jpg","text":"TemporaryFile(/tmp/multipartBody3670759414093809402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444443528,"filename":"image_29112025_20_14_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/11/29/09549333b6e7803ded997c7c82445690.jpg","text":"TemporaryFile(/tmp/multipartBody4854836591064771454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444443528,"filename":"image_29112025_20_14_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/11/29/3b8e04d653b3880871a56f7d90c6eaea.jpg","text":"TemporaryFile(/tmp/multipartBody6359272677732997743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444443528,"filename":"image_29112025_20_15_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dae4f1b09b90b8be31d2ec651f36653f.jpg","text":"TemporaryFile(/tmp/multipartBody1206604520885992122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444443528,"filename":"image_29112025_20_14_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/11/29/d78a276c75e604a741b9292213595415.jpg","text":"TemporaryFile(/tmp/multipartBody4833830783768851822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444443528,"filename":"image_29112025_20_14_25_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945148","file1":"1396945146","file0":"1396945143","file4":"1396945154","file5":"1396945159","file3":"1396945151"},"map_files_photo_id_array":[{"photo_id":"1396945159","filename":"file5"},{"photo_id":"1396945148","filename":"file2"},{"photo_id":"1396945154","filename":"file4"},{"photo_id":"1396945146","filename":"file1"},{"photo_id":"1396945143","filename":"file0"},{"photo_id":"1396945151","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945151":["hashtag1","hashtag2"]},{"1396945154":["hashtag1","hashtag2"]},{"1396945148":["hashtag1","hashtag2"]},{"1396945159":["hashtag1","hashtag2"]},{"1396945143":["hashtag1","hashtag2"]},{"1396945146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945151, 1396945154, 1396945148, 1396945159, 1396945143, 1396945146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.929084062576294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:27:02.614155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/15/image_29112025_20_15_16_10586.jpg', '/home/pi/Desktop/images/29112025/20/15/image_29112025_20_15_25_9841.jpg', '/home/pi/Desktop/images/29112025/20/15/image_29112025_20_15_35_9642.jpg', '/home/pi/Desktop/images/29112025/20/15/image_29112025_20_15_46_10634.jpg', '/home/pi/Desktop/images/29112025/20/15/image_29112025_20_15_56_9814.jpg', '/home/pi/Desktop/images/29112025/20/15/image_29112025_20_16_05_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/15/image_29112025_20_15_16_10586.jpg
/home/pi/Desktop/images/29112025/20/15/image_29112025_20_15_25_9841.jpg
/home/pi/Desktop/images/29112025/20/15/image_29112025_20_15_35_9642.jpg
/home/pi/Desktop/images/29112025/20/15/image_29112025_20_15_46_10634.jpg
/home/pi/Desktop/images/29112025/20/15/image_29112025_20_15_56_9814.jpg
/home/pi/Desktop/images/29112025/20/15/image_29112025_20_16_05_9699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945163","1396945166","1396945162","1396945168","1396945161","1396945164"],"photo_ids_order":["1396945161","1396945162","1396945163","1396945164","1396945166","1396945168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7beaaed9697f776135eece87ddfee833.jpg","text":"TemporaryFile(/tmp/multipartBody1950959123663092642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444483383,"filename":"image_29112025_20_15_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/574f9fb7298eac207375809a978e74a5.jpg","text":"TemporaryFile(/tmp/multipartBody5524229528453225565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444483383,"filename":"image_29112025_20_15_56_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae8d17c5f340b677cbfda076b327a301.jpg","text":"TemporaryFile(/tmp/multipartBody770164568201542187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444483383,"filename":"image_29112025_20_15_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/11/29/cacc20328b850147dc4cf279b61cc369.jpg","text":"TemporaryFile(/tmp/multipartBody4406407215872555929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444483383,"filename":"image_29112025_20_16_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/214a4daebe3cbf4d891e2f7dafc0bc21.jpg","text":"TemporaryFile(/tmp/multipartBody4344211787736480111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444483383,"filename":"image_29112025_20_15_16_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c33a28f8e206778e9b0a49e448517262.jpg","text":"TemporaryFile(/tmp/multipartBody983346423146482959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444483383,"filename":"image_29112025_20_15_46_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945163","file1":"1396945162","file0":"1396945161","file4":"1396945166","file5":"1396945168","file3":"1396945164"},"map_files_photo_id_array":[{"photo_id":"1396945168","filename":"file5"},{"photo_id":"1396945163","filename":"file2"},{"photo_id":"1396945166","filename":"file4"},{"photo_id":"1396945162","filename":"file1"},{"photo_id":"1396945161","filename":"file0"},{"photo_id":"1396945164","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945163":["hashtag1","hashtag2"]},{"1396945166":["hashtag1","hashtag2"]},{"1396945162":["hashtag1","hashtag2"]},{"1396945168":["hashtag1","hashtag2"]},{"1396945161":["hashtag1","hashtag2"]},{"1396945164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945163, 1396945166, 1396945162, 1396945168, 1396945161, 1396945164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.824702978134155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:27:42.084482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_35_2723.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_39_3675.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_41_2644.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_44_2648.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_48_3762.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_50_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_35_2723.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_39_3675.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_41_2644.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_44_2648.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_48_3762.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_50_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945184","1396945178","1396945180","1396945185","1396945182","1396945176"],"photo_ids_order":["1396945176","1396945178","1396945180","1396945182","1396945184","1396945185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd5ad7af53b1a9facb28f63951561e23.jpg","text":"TemporaryFile(/tmp/multipartBody1760563627244706611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444525459,"filename":"image_31102025_10_45_48_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd1d08c6f88bfb114ec723803a144c10.jpg","text":"TemporaryFile(/tmp/multipartBody1419112014107420568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444525459,"filename":"image_31102025_10_45_39_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ed9e66aedce94ac4b145d1364f77f20.jpg","text":"TemporaryFile(/tmp/multipartBody4499499929810948685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444525459,"filename":"image_31102025_10_45_41_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/feeb813408a2c93bc087c5cb15ae7da4.jpg","text":"TemporaryFile(/tmp/multipartBody7838845175312801523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444525459,"filename":"image_31102025_10_45_50_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f62ad17bd0cd400b4c707e4c4eb765ec.jpg","text":"TemporaryFile(/tmp/multipartBody1395261016496842829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444525459,"filename":"image_31102025_10_45_44_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7cdd4591f943fc6bafb10b4306d14597.jpg","text":"TemporaryFile(/tmp/multipartBody6469647716801393566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444525459,"filename":"image_31102025_10_45_35_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945180","file1":"1396945178","file0":"1396945176","file4":"1396945184","file5":"1396945185","file3":"1396945182"},"map_files_photo_id_array":[{"photo_id":"1396945185","filename":"file5"},{"photo_id":"1396945180","filename":"file2"},{"photo_id":"1396945184","filename":"file4"},{"photo_id":"1396945178","filename":"file1"},{"photo_id":"1396945176","filename":"file0"},{"photo_id":"1396945182","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945184":["hashtag1","hashtag2"]},{"1396945178":["hashtag1","hashtag2"]},{"1396945180":["hashtag1","hashtag2"]},{"1396945185":["hashtag1","hashtag2"]},{"1396945182":["hashtag1","hashtag2"]},{"1396945176":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945184, 1396945178, 1396945180, 1396945185, 1396945182, 1396945176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80999994277954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:28:22.309936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_15_9714.jpg', '/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_26_10801.jpg', '/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_35_9658.jpg', '/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_45_9698.jpg', '/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_56_10574.jpg', '/home/pi/Desktop/images/29112025/20/16/image_29112025_20_17_05_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_15_9714.jpg
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_26_10801.jpg
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_35_9658.jpg
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_45_9698.jpg
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_56_10574.jpg
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_17_05_9719.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6256232261657715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:28:32.381174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_04_2632.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_06_2594.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_10_3598.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_12_2594.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_15_2613.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_19_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_04_2632.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_06_2594.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_10_3598.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_12_2594.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_15_2613.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_19_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":["1396945206","1396945202","1396945205","1396945195","1396945198","1396945204"],"photo_ids_order":["1396945195","1396945198","1396945202","1396945204","1396945205","1396945206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7d80970e533dfb28b0ab3bb9439d684.jpg","text":"TemporaryFile(/tmp/multipartBody5829292268758496218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444574564,"filename":"image_25112025_19_08_19_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a75c65e82dce4d5aed0d863f8ec991f2.jpg","text":"TemporaryFile(/tmp/multipartBody1094160185747944747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444574564,"filename":"image_25112025_19_08_10_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f520a62c409c848d60944a3a854e3fb4.jpg","text":"TemporaryFile(/tmp/multipartBody3935774941727548366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444574564,"filename":"image_25112025_19_08_15_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d94ac9b7d1d77b1ed9be608f1055ef87.jpg","text":"TemporaryFile(/tmp/multipartBody3295335506866086537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444574564,"filename":"image_25112025_19_08_04_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b35af1e653245fa4fa4dfc8ab1b33a76.jpg","text":"TemporaryFile(/tmp/multipartBody4883793871441971845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444574564,"filename":"image_25112025_19_08_06_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d3c973745a7e8ed34172d598b269edc.jpg","text":"TemporaryFile(/tmp/multipartBody6958459718539531696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444574564,"filename":"image_25112025_19_08_12_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945202","file1":"1396945198","file0":"1396945195","file4":"1396945205","file5":"1396945206","file3":"1396945204"},"map_files_photo_id_array":[{"photo_id":"1396945206","filename":"file5"},{"photo_id":"1396945202","filename":"file2"},{"photo_id":"1396945205","filename":"file4"},{"photo_id":"1396945198","filename":"file1"},{"photo_id":"1396945195","filename":"file0"},{"photo_id":"1396945204","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396945206":["hashtag1","hashtag2"]},{"1396945202":["hashtag1","hashtag2"]},{"1396945205":["hashtag1","hashtag2"]},{"1396945195":["hashtag1","hashtag2"]},{"1396945198":["hashtag1","hashtag2"]},{"1396945204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396945206, 1396945202, 1396945205, 1396945195, 1396945198, 1396945204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.811174631118774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:29:12.401949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_24_5563.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_26_1810.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_28_1565.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_30_2608.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_33_2921.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_37_3558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_24_5563.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_26_1810.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_28_1565.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_30_2608.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_33_2921.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_37_3558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945220","1396945208","1396945217","1396945210","1396945213","1396945222"],"photo_ids_order":["1396945208","1396945210","1396945213","1396945217","1396945220","1396945222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20db6996c1302a0fc5bdadf1b8f0266b.jpg","text":"TemporaryFile(/tmp/multipartBody8308790369804306870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444614476,"filename":"image_25112025_19_08_33_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7c0ee444978612f1f67454edf2020eb.jpg","text":"TemporaryFile(/tmp/multipartBody8621169856993695352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444614476,"filename":"image_25112025_19_08_24_5563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19e48f4e98df94b401b829e6bf489f7d.jpg","text":"TemporaryFile(/tmp/multipartBody7447463321237428217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444614476,"filename":"image_25112025_19_08_30_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc897cae3fa9655a85a6ac5e99b44eb0.jpg","text":"TemporaryFile(/tmp/multipartBody5985717211598395298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444614476,"filename":"image_25112025_19_08_26_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56be9cb1ad28a94a0385b7847e783e02.jpg","text":"TemporaryFile(/tmp/multipartBody6653338676032922648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444614476,"filename":"image_25112025_19_08_28_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a06ba9342e7d7d2e6c76aa618b09de6e.jpg","text":"TemporaryFile(/tmp/multipartBody2857212972881220735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444614476,"filename":"image_25112025_19_08_37_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945213","file1":"1396945210","file0":"1396945208","file4":"1396945220","file5":"1396945222","file3":"1396945217"},"map_files_photo_id_array":[{"photo_id":"1396945222","filename":"file5"},{"photo_id":"1396945213","filename":"file2"},{"photo_id":"1396945220","filename":"file4"},{"photo_id":"1396945210","filename":"file1"},{"photo_id":"1396945208","filename":"file0"},{"photo_id":"1396945217","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396945220":["hashtag1","hashtag2"]},{"1396945208":["hashtag1","hashtag2"]},{"1396945217":["hashtag1","hashtag2"]},{"1396945210":["hashtag1","hashtag2"]},{"1396945213":["hashtag1","hashtag2"]},{"1396945222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396945220, 1396945208, 1396945217, 1396945210, 1396945213, 1396945222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.520615100860596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:30:03.066487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_15_9714.jpg', '/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_26_10801.jpg', '/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_35_9658.jpg', '/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_45_9698.jpg', '/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_56_10574.jpg', '/home/pi/Desktop/images/29112025/20/16/image_29112025_20_17_05_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_15_9714.jpg
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_26_10801.jpg
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_35_9658.jpg
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_45_9698.jpg
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_16_56_10574.jpg
/home/pi/Desktop/images/29112025/20/16/image_29112025_20_17_05_9719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945227","1396945232","1396945229","1396945228","1396945236","1396945230"],"photo_ids_order":["1396945227","1396945228","1396945229","1396945230","1396945232","1396945236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a493e952ce75cec284ac3acb6cef9d40.jpg","text":"TemporaryFile(/tmp/multipartBody3705059809343899484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444663774,"filename":"image_29112025_20_16_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94b5a8a5d3b14557f9bd07664089e955.jpg","text":"TemporaryFile(/tmp/multipartBody5738212828680719945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444663774,"filename":"image_29112025_20_16_56_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3266c910650d005dc8becbe09cdfd9b2.jpg","text":"TemporaryFile(/tmp/multipartBody7278605930015118495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444663774,"filename":"image_29112025_20_16_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/11/29/cb8e84e764c50f90536b00c3eb0a1d5b.jpg","text":"TemporaryFile(/tmp/multipartBody6819030388624329045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444663774,"filename":"image_29112025_20_16_26_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7c6efbe8ca102b037991bb448da55b2.jpg","text":"TemporaryFile(/tmp/multipartBody4038651339339301152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444663774,"filename":"image_29112025_20_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/11/29/f62ad28ab5a5c1ebd9abe402ec7fb0f5.jpg","text":"TemporaryFile(/tmp/multipartBody8077502865448709204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444663774,"filename":"image_29112025_20_16_45_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945229","file1":"1396945228","file0":"1396945227","file4":"1396945232","file5":"1396945236","file3":"1396945230"},"map_files_photo_id_array":[{"photo_id":"1396945236","filename":"file5"},{"photo_id":"1396945229","filename":"file2"},{"photo_id":"1396945232","filename":"file4"},{"photo_id":"1396945228","filename":"file1"},{"photo_id":"1396945227","filename":"file0"},{"photo_id":"1396945230","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945227":["hashtag1","hashtag2"]},{"1396945232":["hashtag1","hashtag2"]},{"1396945229":["hashtag1","hashtag2"]},{"1396945228":["hashtag1","hashtag2"]},{"1396945236":["hashtag1","hashtag2"]},{"1396945230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945227, 1396945232, 1396945229, 1396945228, 1396945236, 1396945230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08270502090454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:30:42.606078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_53_2729.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_57_3699.jpg', '/home/pi/Desktop/images/31102025/10/45/image_31102025_10_46_00_2826.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_02_2716.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_05_2663.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_09_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_53_2729.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_45_57_3699.jpg
/home/pi/Desktop/images/31102025/10/45/image_31102025_10_46_00_2826.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_02_2716.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_05_2663.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_09_3642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945244","1396945241","1396945246","1396945249","1396945242","1396945245"],"photo_ids_order":["1396945241","1396945242","1396945244","1396945245","1396945246","1396945249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccaf75f5839058a298a9975dbbb81836.jpg","text":"TemporaryFile(/tmp/multipartBody9035019315466031382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444703721,"filename":"image_31102025_10_46_00_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77c2bef4636aad79f302319b9ab3ecec.jpg","text":"TemporaryFile(/tmp/multipartBody774040753307898248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444703721,"filename":"image_31102025_10_45_53_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d56bc133aa15f29ebeadb7a45c9b519b.jpg","text":"TemporaryFile(/tmp/multipartBody2443299489021791196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444703721,"filename":"image_31102025_10_46_05_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e38faf380bd85da81491427de27af8b0.jpg","text":"TemporaryFile(/tmp/multipartBody8450257302138141564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444703721,"filename":"image_31102025_10_46_09_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dbe3f4fcf994a76222acfd1d6c2a7be4.jpg","text":"TemporaryFile(/tmp/multipartBody1650109869804675472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444703721,"filename":"image_31102025_10_45_57_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe061df3398dfaebbacab1e3689ce5b9.jpg","text":"TemporaryFile(/tmp/multipartBody3363904269288814095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444703721,"filename":"image_31102025_10_46_02_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945244","file1":"1396945242","file0":"1396945241","file4":"1396945246","file5":"1396945249","file3":"1396945245"},"map_files_photo_id_array":[{"photo_id":"1396945249","filename":"file5"},{"photo_id":"1396945244","filename":"file2"},{"photo_id":"1396945246","filename":"file4"},{"photo_id":"1396945242","filename":"file1"},{"photo_id":"1396945241","filename":"file0"},{"photo_id":"1396945245","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945244":["hashtag1","hashtag2"]},{"1396945241":["hashtag1","hashtag2"]},{"1396945246":["hashtag1","hashtag2"]},{"1396945249":["hashtag1","hashtag2"]},{"1396945242":["hashtag1","hashtag2"]},{"1396945245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945244, 1396945241, 1396945246, 1396945249, 1396945242, 1396945245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.829482078552246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:31:22.841900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/17/image_29112025_20_17_15_9772.jpg', '/home/pi/Desktop/images/29112025/20/17/image_29112025_20_17_25_9712.jpg', '/home/pi/Desktop/images/29112025/20/17/image_29112025_20_17_35_10544.jpg', '/home/pi/Desktop/images/29112025/20/17/image_29112025_20_17_45_9533.jpg', '/home/pi/Desktop/images/29112025/20/17/image_29112025_20_17_56_10587.jpg', '/home/pi/Desktop/images/29112025/20/17/image_29112025_20_18_05_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/17/image_29112025_20_17_15_9772.jpg
/home/pi/Desktop/images/29112025/20/17/image_29112025_20_17_25_9712.jpg
/home/pi/Desktop/images/29112025/20/17/image_29112025_20_17_35_10544.jpg
/home/pi/Desktop/images/29112025/20/17/image_29112025_20_17_45_9533.jpg
/home/pi/Desktop/images/29112025/20/17/image_29112025_20_17_56_10587.jpg
/home/pi/Desktop/images/29112025/20/17/image_29112025_20_18_05_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":["1396945262","1396945259","1396945261","1396945254","1396945263","1396945257"],"photo_ids_order":["1396945254","1396945257","1396945259","1396945261","1396945262","1396945263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92035aa3cacd4a1e3b6b71b866046815.jpg","text":"TemporaryFile(/tmp/multipartBody5020960268366113725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444743531,"filename":"image_29112025_20_17_56_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d8485a08f90ffda4aba289ac2783f01.jpg","text":"TemporaryFile(/tmp/multipartBody7299540305530898949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444743531,"filename":"image_29112025_20_17_35_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d0dfe9edd20e0bf8c5ca90554afafc1.jpg","text":"TemporaryFile(/tmp/multipartBody3883683330811705451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444743531,"filename":"image_29112025_20_17_45_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ccadb0d4fc274138deb25fe5578234f.jpg","text":"TemporaryFile(/tmp/multipartBody8683936070936298299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444743531,"filename":"image_29112025_20_17_15_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/961b270787ceffa563ea1b8fc6e5c67e.jpg","text":"TemporaryFile(/tmp/multipartBody3128739840538162224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444743531,"filename":"image_29112025_20_18_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/11/29/5d200ed4d4937dd0489c5bbe35d9718f.jpg","text":"TemporaryFile(/tmp/multipartBody3215970359574983267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444743531,"filename":"image_29112025_20_17_25_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945259","file1":"1396945257","file0":"1396945254","file4":"1396945262","file5":"1396945263","file3":"1396945261"},"map_files_photo_id_array":[{"photo_id":"1396945263","filename":"file5"},{"photo_id":"1396945259","filename":"file2"},{"photo_id":"1396945262","filename":"file4"},{"photo_id":"1396945257","filename":"file1"},{"photo_id":"1396945254","filename":"file0"},{"photo_id":"1396945261","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945262":["hashtag1","hashtag2"]},{"1396945259":["hashtag1","hashtag2"]},{"1396945261":["hashtag1","hashtag2"]},{"1396945254":["hashtag1","hashtag2"]},{"1396945263":["hashtag1","hashtag2"]},{"1396945257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945262, 1396945259, 1396945261, 1396945254, 1396945263, 1396945257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75928497314453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:32:02.413714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/18/image_29112025_20_18_15_9644.jpg', '/home/pi/Desktop/images/29112025/20/18/image_29112025_20_18_25_10201.jpg', '/home/pi/Desktop/images/29112025/20/18/image_29112025_20_18_36_10676.jpg', '/home/pi/Desktop/images/29112025/20/18/image_29112025_20_18_45_9638.jpg', '/home/pi/Desktop/images/29112025/20/18/image_29112025_20_18_55_9609.jpg', '/home/pi/Desktop/images/29112025/20/18/image_29112025_20_19_06_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/18/image_29112025_20_18_15_9644.jpg
/home/pi/Desktop/images/29112025/20/18/image_29112025_20_18_25_10201.jpg
/home/pi/Desktop/images/29112025/20/18/image_29112025_20_18_36_10676.jpg
/home/pi/Desktop/images/29112025/20/18/image_29112025_20_18_45_9638.jpg
/home/pi/Desktop/images/29112025/20/18/image_29112025_20_18_55_9609.jpg
/home/pi/Desktop/images/29112025/20/18/image_29112025_20_19_06_10740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945265","1396945267","1396945264","1396945272","1396945266","1396945269"],"photo_ids_order":["1396945264","1396945265","1396945266","1396945267","1396945269","1396945272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ce7070a626ae09d330941793231d7e1.jpg","text":"TemporaryFile(/tmp/multipartBody682926226233363581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444783116,"filename":"image_29112025_20_18_25_10201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0305d21efd39337a14c3994988861dc4.jpg","text":"TemporaryFile(/tmp/multipartBody7280832864119886708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444783116,"filename":"image_29112025_20_18_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/11/29/d87190f9b981691499816da8437863af.jpg","text":"TemporaryFile(/tmp/multipartBody2483183006283184100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444783116,"filename":"image_29112025_20_18_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/11/29/6cf8342e8a0a0c379b21baa87b521e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1023420890817159216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444783116,"filename":"image_29112025_20_19_06_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3952ead4c934718adab0fcf4af005a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8524493793689323750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444783116,"filename":"image_29112025_20_18_36_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2329ee76bc9738be14d4d6a91d0e20d.jpg","text":"TemporaryFile(/tmp/multipartBody5946769737550797540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444783116,"filename":"image_29112025_20_18_55_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945266","file1":"1396945265","file0":"1396945264","file4":"1396945269","file5":"1396945272","file3":"1396945267"},"map_files_photo_id_array":[{"photo_id":"1396945272","filename":"file5"},{"photo_id":"1396945266","filename":"file2"},{"photo_id":"1396945269","filename":"file4"},{"photo_id":"1396945265","filename":"file1"},{"photo_id":"1396945264","filename":"file0"},{"photo_id":"1396945267","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945265":["hashtag1","hashtag2"]},{"1396945267":["hashtag1","hashtag2"]},{"1396945264":["hashtag1","hashtag2"]},{"1396945272":["hashtag1","hashtag2"]},{"1396945266":["hashtag1","hashtag2"]},{"1396945269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945265, 1396945267, 1396945264, 1396945272, 1396945266, 1396945269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.560903787612915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:32:41.906594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_11_2685.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_18_3605.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_20_2655.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_23_2574.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_32_2788.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_35_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/10/46/image_31102025_10_46_11_2685.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_18_3605.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_20_2655.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_23_2574.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_32_2788.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_35_2722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945283","1396945286","1396945285","1396945282","1396945279","1396945284"],"photo_ids_order":["1396945279","1396945282","1396945283","1396945284","1396945285","1396945286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b247fd40a48ddfe0402a29df090f044.jpg","text":"TemporaryFile(/tmp/multipartBody2143152765658020970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444823029,"filename":"image_31102025_10_46_20_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f80e8c85b6ed5918a43dace5cd3b978.jpg","text":"TemporaryFile(/tmp/multipartBody8084540658306249357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444823029,"filename":"image_31102025_10_46_35_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72476438ff2178a624d57166f2f4c9f5.jpg","text":"TemporaryFile(/tmp/multipartBody1903198015420437284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444823029,"filename":"image_31102025_10_46_32_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b975f42edf9c34576f5e66365a3cdc8.jpg","text":"TemporaryFile(/tmp/multipartBody3506526407800207764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444823029,"filename":"image_31102025_10_46_18_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adcc8fe919d890a0d932ee3ef197e333.jpg","text":"TemporaryFile(/tmp/multipartBody8912442065182676233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444823029,"filename":"image_31102025_10_46_11_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05f73197c3ffe29ed857be292b78ca00.jpg","text":"TemporaryFile(/tmp/multipartBody6557511207901567749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444823029,"filename":"image_31102025_10_46_23_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945283","file1":"1396945282","file0":"1396945279","file4":"1396945285","file5":"1396945286","file3":"1396945284"},"map_files_photo_id_array":[{"photo_id":"1396945286","filename":"file5"},{"photo_id":"1396945283","filename":"file2"},{"photo_id":"1396945285","filename":"file4"},{"photo_id":"1396945282","filename":"file1"},{"photo_id":"1396945279","filename":"file0"},{"photo_id":"1396945284","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945283":["hashtag1","hashtag2"]},{"1396945286":["hashtag1","hashtag2"]},{"1396945285":["hashtag1","hashtag2"]},{"1396945282":["hashtag1","hashtag2"]},{"1396945279":["hashtag1","hashtag2"]},{"1396945284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945283, 1396945286, 1396945285, 1396945282, 1396945279, 1396945284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71418213844299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:33:22.105968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/19/image_29112025_20_19_15_9712.jpg', '/home/pi/Desktop/images/29112025/20/19/image_29112025_20_19_25_9552.jpg', '/home/pi/Desktop/images/29112025/20/19/image_29112025_20_19_36_10817.jpg', '/home/pi/Desktop/images/29112025/20/19/image_29112025_20_19_45_9548.jpg', '/home/pi/Desktop/images/29112025/20/19/image_29112025_20_19_55_9678.jpg', '/home/pi/Desktop/images/29112025/20/19/image_29112025_20_20_06_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/19/image_29112025_20_19_15_9712.jpg
/home/pi/Desktop/images/29112025/20/19/image_29112025_20_19_25_9552.jpg
/home/pi/Desktop/images/29112025/20/19/image_29112025_20_19_36_10817.jpg
/home/pi/Desktop/images/29112025/20/19/image_29112025_20_19_45_9548.jpg
/home/pi/Desktop/images/29112025/20/19/image_29112025_20_19_55_9678.jpg
/home/pi/Desktop/images/29112025/20/19/image_29112025_20_20_06_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945295","1396945298","1396945292","1396945288","1396945300","1396945302"],"photo_ids_order":["1396945288","1396945292","1396945295","1396945298","1396945300","1396945302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/abd7682024762baad78456b75ab05095.jpg","text":"TemporaryFile(/tmp/multipartBody468958614910371285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444862789,"filename":"image_29112025_20_19_36_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d4f1cb49b09f90a6b6f6565f807b44a.jpg","text":"TemporaryFile(/tmp/multipartBody8129613833667352931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444862789,"filename":"image_29112025_20_19_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/11/29/ec7253435675bee05435029fe87876b0.jpg","text":"TemporaryFile(/tmp/multipartBody2236195938905961610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444862789,"filename":"image_29112025_20_19_25_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42a406e7c14b0d4cefe99a8bf8152e3c.jpg","text":"TemporaryFile(/tmp/multipartBody1348987879064884732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444862789,"filename":"image_29112025_20_19_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/11/29/a06b1d146fc88bec92e2892c879c9a29.jpg","text":"TemporaryFile(/tmp/multipartBody4924606018293560777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444862789,"filename":"image_29112025_20_19_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/11/29/3a44908e1045c7b0b8854a7c548467a2.jpg","text":"TemporaryFile(/tmp/multipartBody1202657953448002534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444862789,"filename":"image_29112025_20_20_06_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945295","file1":"1396945292","file0":"1396945288","file4":"1396945300","file5":"1396945302","file3":"1396945298"},"map_files_photo_id_array":[{"photo_id":"1396945302","filename":"file5"},{"photo_id":"1396945295","filename":"file2"},{"photo_id":"1396945300","filename":"file4"},{"photo_id":"1396945292","filename":"file1"},{"photo_id":"1396945288","filename":"file0"},{"photo_id":"1396945298","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945295":["hashtag1","hashtag2"]},{"1396945298":["hashtag1","hashtag2"]},{"1396945292":["hashtag1","hashtag2"]},{"1396945288":["hashtag1","hashtag2"]},{"1396945300":["hashtag1","hashtag2"]},{"1396945302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945295, 1396945298, 1396945292, 1396945288, 1396945300, 1396945302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06341481208801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:34:02.970743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_15_9599.jpg', '/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_25_9683.jpg', '/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_36_10655.jpg', '/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_45_9529.jpg', '/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_56_10634.jpg', '/home/pi/Desktop/images/29112025/20/20/image_29112025_20_21_05_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_15_9599.jpg
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_25_9683.jpg
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_36_10655.jpg
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_45_9529.jpg
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_56_10634.jpg
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_21_05_9776.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6546666622161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:34:12.385834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_39_2655.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_43_3568.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_45_2598.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_52_3608.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_54_2636.jpg', '/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_57_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_39_2655.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_43_3568.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_45_2598.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_52_3608.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_54_2636.jpg
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_08_57_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945311","1396945316","1396945324","1396945318","1396945321","1396945309"],"photo_ids_order":["1396945309","1396945311","1396945316","1396945318","1396945321","1396945324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6c6fde1912837a1f3da7ea5d7b971f5.jpg","text":"TemporaryFile(/tmp/multipartBody884851717242906463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444914430,"filename":"image_25112025_19_08_43_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d59911767fe4d2e9efc69691bc03549.jpg","text":"TemporaryFile(/tmp/multipartBody3150283488135330959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444914430,"filename":"image_25112025_19_08_45_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef073c57b72f0da5c84d3a326eb1c882.jpg","text":"TemporaryFile(/tmp/multipartBody7164716660443004006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444914430,"filename":"image_25112025_19_08_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/11/29/500435f29a2d50c248077781ba4042e2.jpg","text":"TemporaryFile(/tmp/multipartBody2226673423016202918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444914430,"filename":"image_25112025_19_08_52_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bddfda799feb53f3b2e444d9d13f544.jpg","text":"TemporaryFile(/tmp/multipartBody7891039188925835242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444914430,"filename":"image_25112025_19_08_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/11/29/82f45191f775890a1eb320a790bc4634.jpg","text":"TemporaryFile(/tmp/multipartBody6672919832913678175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444914430,"filename":"image_25112025_19_08_39_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945316","file1":"1396945311","file0":"1396945309","file4":"1396945321","file5":"1396945324","file3":"1396945318"},"map_files_photo_id_array":[{"photo_id":"1396945324","filename":"file5"},{"photo_id":"1396945316","filename":"file2"},{"photo_id":"1396945321","filename":"file4"},{"photo_id":"1396945311","filename":"file1"},{"photo_id":"1396945309","filename":"file0"},{"photo_id":"1396945318","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396945311":["hashtag1","hashtag2"]},{"1396945316":["hashtag1","hashtag2"]},{"1396945324":["hashtag1","hashtag2"]},{"1396945318":["hashtag1","hashtag2"]},{"1396945321":["hashtag1","hashtag2"]},{"1396945309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396945311, 1396945316, 1396945324, 1396945318, 1396945321, 1396945309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75502681732178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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-11-29 20:35:12.407448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
2025-11-29 20:35:26.971644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_15_9599.jpg', '/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_25_9683.jpg', '/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_36_10655.jpg', '/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_45_9529.jpg', '/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_56_10634.jpg', '/home/pi/Desktop/images/29112025/20/20/image_29112025_20_21_05_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_15_9599.jpg
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_25_9683.jpg
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_36_10655.jpg
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_45_9529.jpg
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_20_56_10634.jpg
/home/pi/Desktop/images/29112025/20/20/image_29112025_20_21_05_9776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945346","1396945342","1396945336","1396945345","1396945339","1396945333"],"photo_ids_order":["1396945333","1396945336","1396945339","1396945342","1396945345","1396945346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8a012087122cafa9b52fa3c541885d4.jpg","text":"TemporaryFile(/tmp/multipartBody7851339366244156812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444987642,"filename":"image_29112025_20_21_05_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/936dd0eeb7052a67a41465797e512721.jpg","text":"TemporaryFile(/tmp/multipartBody7315412970647865988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444987642,"filename":"image_29112025_20_20_45_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c2bc87763f665dab5a6e755d711ae39.jpg","text":"TemporaryFile(/tmp/multipartBody9128390132988608898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444987642,"filename":"image_29112025_20_20_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/11/29/009101bcd08deeaa8239225b3ada46e7.jpg","text":"TemporaryFile(/tmp/multipartBody3515266837707197680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444987642,"filename":"image_29112025_20_20_56_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ace2301484321784d9438daa34af95ff.jpg","text":"TemporaryFile(/tmp/multipartBody713326626266992482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444987642,"filename":"image_29112025_20_20_36_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/69659994a093b2c7f66ec18b244fe4c3.jpg","text":"TemporaryFile(/tmp/multipartBody7221214705568852066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764444987642,"filename":"image_29112025_20_20_15_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945339","file1":"1396945336","file0":"1396945333","file4":"1396945345","file5":"1396945346","file3":"1396945342"},"map_files_photo_id_array":[{"photo_id":"1396945346","filename":"file5"},{"photo_id":"1396945339","filename":"file2"},{"photo_id":"1396945345","filename":"file4"},{"photo_id":"1396945336","filename":"file1"},{"photo_id":"1396945333","filename":"file0"},{"photo_id":"1396945342","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945346":["hashtag1","hashtag2"]},{"1396945342":["hashtag1","hashtag2"]},{"1396945336":["hashtag1","hashtag2"]},{"1396945345":["hashtag1","hashtag2"]},{"1396945339":["hashtag1","hashtag2"]},{"1396945333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945346, 1396945342, 1396945336, 1396945345, 1396945339, 1396945333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.038724422454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:36:12.096515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/08/image_25112025_19_09_01_3705.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_03_2542.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_07_3614.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_09_2622.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_12_2559.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_16_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/08/image_25112025_19_09_01_3705.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_03_2542.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_07_3614.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_09_2622.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_12_2559.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_16_3560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945358","1396945352","1396945355","1396945349","1396945359","1396945347"],"photo_ids_order":["1396945347","1396945349","1396945352","1396945355","1396945358","1396945359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ca8e63f6ca0e7be60457ace3fea783d.jpg","text":"TemporaryFile(/tmp/multipartBody872126191682760467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445034330,"filename":"image_25112025_19_09_12_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0be7faea4926a86fe2ce873da0631924.jpg","text":"TemporaryFile(/tmp/multipartBody6369433688232147097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445034330,"filename":"image_25112025_19_09_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/11/29/67f8d3a0b26d581f6a963aa4370ed5bb.jpg","text":"TemporaryFile(/tmp/multipartBody1509478728705284158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445034330,"filename":"image_25112025_19_09_09_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc3459953fd05b449955c1c2ea9f0a96.jpg","text":"TemporaryFile(/tmp/multipartBody2200259628201016574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445034330,"filename":"image_25112025_19_09_03_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d3ffcd41899d99481cc4f09b2727f93.jpg","text":"TemporaryFile(/tmp/multipartBody6367632508164177906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445034330,"filename":"image_25112025_19_09_16_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d5307cf2b4d229e037537096a030691.jpg","text":"TemporaryFile(/tmp/multipartBody401477582746318780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445034330,"filename":"image_25112025_19_09_01_3705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945352","file1":"1396945349","file0":"1396945347","file4":"1396945358","file5":"1396945359","file3":"1396945355"},"map_files_photo_id_array":[{"photo_id":"1396945359","filename":"file5"},{"photo_id":"1396945352","filename":"file2"},{"photo_id":"1396945358","filename":"file4"},{"photo_id":"1396945349","filename":"file1"},{"photo_id":"1396945347","filename":"file0"},{"photo_id":"1396945355","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396945358":["hashtag1","hashtag2"]},{"1396945352":["hashtag1","hashtag2"]},{"1396945355":["hashtag1","hashtag2"]},{"1396945349":["hashtag1","hashtag2"]},{"1396945359":["hashtag1","hashtag2"]},{"1396945347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396945358, 1396945352, 1396945355, 1396945349, 1396945359, 1396945347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.194159269332886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:37:02.900734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/21/image_29112025_20_21_15_9750.jpg', '/home/pi/Desktop/images/29112025/20/21/image_29112025_20_21_25_9626.jpg', '/home/pi/Desktop/images/29112025/20/21/image_29112025_20_21_36_10705.jpg', '/home/pi/Desktop/images/29112025/20/21/image_29112025_20_21_45_9576.jpg', '/home/pi/Desktop/images/29112025/20/21/image_29112025_20_21_56_10614.jpg', '/home/pi/Desktop/images/29112025/20/21/image_29112025_20_22_06_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/21/image_29112025_20_21_15_9750.jpg
/home/pi/Desktop/images/29112025/20/21/image_29112025_20_21_25_9626.jpg
/home/pi/Desktop/images/29112025/20/21/image_29112025_20_21_36_10705.jpg
/home/pi/Desktop/images/29112025/20/21/image_29112025_20_21_45_9576.jpg
/home/pi/Desktop/images/29112025/20/21/image_29112025_20_21_56_10614.jpg
/home/pi/Desktop/images/29112025/20/21/image_29112025_20_22_06_9875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945367","1396945366","1396945377","1396945371","1396945365","1396945368"],"photo_ids_order":["1396945365","1396945366","1396945367","1396945368","1396945371","1396945377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c185f84934e8788f51c300e7da1edab.jpg","text":"TemporaryFile(/tmp/multipartBody2559286537822450065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445083644,"filename":"image_29112025_20_21_36_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52188c8cfdb67112c50390d64c94a2fb.jpg","text":"TemporaryFile(/tmp/multipartBody5784163152722366060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445083644,"filename":"image_29112025_20_21_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/11/29/9728392b2e865fed879fc64d75e83fc6.jpg","text":"TemporaryFile(/tmp/multipartBody4816449311979769830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445083644,"filename":"image_29112025_20_22_06_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48b93bf18dba4415a3522239a7d7dd2e.jpg","text":"TemporaryFile(/tmp/multipartBody5471736849463936842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445083644,"filename":"image_29112025_20_21_56_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8996b932b3ef9dbb068a9145bec535b.jpg","text":"TemporaryFile(/tmp/multipartBody5451846876212538678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445083644,"filename":"image_29112025_20_21_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/11/29/ef63c1b6f53d88724d1c5f600b3d763d.jpg","text":"TemporaryFile(/tmp/multipartBody7742521716248141318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445083644,"filename":"image_29112025_20_21_45_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945367","file1":"1396945366","file0":"1396945365","file4":"1396945371","file5":"1396945377","file3":"1396945368"},"map_files_photo_id_array":[{"photo_id":"1396945377","filename":"file5"},{"photo_id":"1396945367","filename":"file2"},{"photo_id":"1396945371","filename":"file4"},{"photo_id":"1396945366","filename":"file1"},{"photo_id":"1396945365","filename":"file0"},{"photo_id":"1396945368","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945367":["hashtag1","hashtag2"]},{"1396945366":["hashtag1","hashtag2"]},{"1396945377":["hashtag1","hashtag2"]},{"1396945371":["hashtag1","hashtag2"]},{"1396945365":["hashtag1","hashtag2"]},{"1396945368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945367, 1396945366, 1396945377, 1396945371, 1396945365, 1396945368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.871334075927734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:37:42.372057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_38_3645.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_44_2586.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_47_3773.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_50_2696.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_53_2649.jpg', '/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_57_3710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_38_3645.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_44_2586.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_47_3773.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_50_2696.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_53_2649.jpg
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_57_3710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945412","1396945415","1396945409","1396945411","1396945414","1396945413"],"photo_ids_order":["1396945409","1396945411","1396945412","1396945413","1396945414","1396945415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7c30db31566db42f49b10586bd32fcf.jpg","text":"TemporaryFile(/tmp/multipartBody641561439113077928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445123485,"filename":"image_31102025_10_46_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/11/29/40141771c2519297d6cde405e0dc3cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6424370870156668197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445123485,"filename":"image_31102025_10_46_57_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81a537ad53a43fd02b25b4eb7d97c3ca.jpg","text":"TemporaryFile(/tmp/multipartBody3109929103792479343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445123485,"filename":"image_31102025_10_46_38_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20d3278521351941d1fb114f2e86c529.jpg","text":"TemporaryFile(/tmp/multipartBody6949422906965541878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445123485,"filename":"image_31102025_10_46_44_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81f9dfdac8eb3fb67ddb1fa61c6cb769.jpg","text":"TemporaryFile(/tmp/multipartBody7541860278244619922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445123485,"filename":"image_31102025_10_46_53_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bdc53ed8ff9a6f3a359cec705b845eb3.jpg","text":"TemporaryFile(/tmp/multipartBody6233016928505345015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445123485,"filename":"image_31102025_10_46_50_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945412","file1":"1396945411","file0":"1396945409","file4":"1396945414","file5":"1396945415","file3":"1396945413"},"map_files_photo_id_array":[{"photo_id":"1396945415","filename":"file5"},{"photo_id":"1396945412","filename":"file2"},{"photo_id":"1396945414","filename":"file4"},{"photo_id":"1396945411","filename":"file1"},{"photo_id":"1396945409","filename":"file0"},{"photo_id":"1396945413","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945412":["hashtag1","hashtag2"]},{"1396945415":["hashtag1","hashtag2"]},{"1396945409":["hashtag1","hashtag2"]},{"1396945411":["hashtag1","hashtag2"]},{"1396945414":["hashtag1","hashtag2"]},{"1396945413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945412, 1396945415, 1396945409, 1396945411, 1396945414, 1396945413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04588317871094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 20:38:19.294111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_18_2668.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_21_2649.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_25_3716.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_27_2666.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_30_2578.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_35_5465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_18_2668.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_21_2649.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_25_3716.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_27_2666.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_30_2578.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_35_5465.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945430","1396945424","1396945417","1396945426","1396945420","1396945428"],"photo_ids_order":["1396945417","1396945420","1396945424","1396945426","1396945428","1396945430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3589fdd607fc71459c136d25890300ba.jpg","text":"TemporaryFile(/tmp/multipartBody2480968684465320906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445161340,"filename":"image_25112025_19_09_35_5465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c88a8585843749778e8a4c01fe814c24.jpg","text":"TemporaryFile(/tmp/multipartBody8753719168859362129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445161340,"filename":"image_25112025_19_09_25_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a82315527e5c8b6bdbb64378289ff22a.jpg","text":"TemporaryFile(/tmp/multipartBody844899592617285089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445161340,"filename":"image_25112025_19_09_18_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f66ced51f5b11a8d461915901b37ec4.jpg","text":"TemporaryFile(/tmp/multipartBody1364909113769310946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445161340,"filename":"image_25112025_19_09_27_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d1e739d1ec3f887dc79d13776200e9a.jpg","text":"TemporaryFile(/tmp/multipartBody5037717120118962748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445161340,"filename":"image_25112025_19_09_21_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57874cf104f7a30d0c446aead9224f17.jpg","text":"TemporaryFile(/tmp/multipartBody3964388771688980409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445161340,"filename":"image_25112025_19_09_30_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945424","file1":"1396945420","file0":"1396945417","file4":"1396945428","file5":"1396945430","file3":"1396945426"},"map_files_photo_id_array":[{"photo_id":"1396945430","filename":"file5"},{"photo_id":"1396945424","filename":"file2"},{"photo_id":"1396945428","filename":"file4"},{"photo_id":"1396945420","filename":"file1"},{"photo_id":"1396945417","filename":"file0"},{"photo_id":"1396945426","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396945430":["hashtag1","hashtag2"]},{"1396945424":["hashtag1","hashtag2"]},{"1396945417":["hashtag1","hashtag2"]},{"1396945426":["hashtag1","hashtag2"]},{"1396945420":["hashtag1","hashtag2"]},{"1396945428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396945430, 1396945424, 1396945417, 1396945426, 1396945420, 1396945428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.632591247558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:39:03.400703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/22/image_29112025_20_22_15_9629.jpg', '/home/pi/Desktop/images/29112025/20/22/image_29112025_20_22_25_9795.jpg', '/home/pi/Desktop/images/29112025/20/22/image_29112025_20_22_36_10620.jpg', '/home/pi/Desktop/images/29112025/20/22/image_29112025_20_22_45_9666.jpg', '/home/pi/Desktop/images/29112025/20/22/image_29112025_20_22_55_9757.jpg', '/home/pi/Desktop/images/29112025/20/22/image_29112025_20_23_05_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/22/image_29112025_20_22_15_9629.jpg
/home/pi/Desktop/images/29112025/20/22/image_29112025_20_22_25_9795.jpg
/home/pi/Desktop/images/29112025/20/22/image_29112025_20_22_36_10620.jpg
/home/pi/Desktop/images/29112025/20/22/image_29112025_20_22_45_9666.jpg
/home/pi/Desktop/images/29112025/20/22/image_29112025_20_22_55_9757.jpg
/home/pi/Desktop/images/29112025/20/22/image_29112025_20_23_05_9864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945433","1396945441","1396945435","1396945438","1396945432","1396945434"],"photo_ids_order":["1396945432","1396945433","1396945434","1396945435","1396945438","1396945441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/00b428f8d066b3aba193dedb1bc2f357.jpg","text":"TemporaryFile(/tmp/multipartBody3850524379068444854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445204394,"filename":"image_29112025_20_22_25_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f71e001d34e21ed22d6a4061b274120.jpg","text":"TemporaryFile(/tmp/multipartBody3846979085838347753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445204394,"filename":"image_29112025_20_23_05_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68cfa0eed2a4c45f320b2c6ee65c65bc.jpg","text":"TemporaryFile(/tmp/multipartBody5661521465950285047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445204394,"filename":"image_29112025_20_22_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/11/29/431e4c338b634f1280099366cba5b9b7.jpg","text":"TemporaryFile(/tmp/multipartBody2019962848352531756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445204394,"filename":"image_29112025_20_22_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/11/29/78e06b19166c203d788e7484a7a1bd14.jpg","text":"TemporaryFile(/tmp/multipartBody5984439205033924769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445204394,"filename":"image_29112025_20_22_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/11/29/9ba5ca369c01f3b1cafbbe9742452f76.jpg","text":"TemporaryFile(/tmp/multipartBody7809896658689959661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445204394,"filename":"image_29112025_20_22_36_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945434","file1":"1396945433","file0":"1396945432","file4":"1396945438","file5":"1396945441","file3":"1396945435"},"map_files_photo_id_array":[{"photo_id":"1396945441","filename":"file5"},{"photo_id":"1396945434","filename":"file2"},{"photo_id":"1396945438","filename":"file4"},{"photo_id":"1396945433","filename":"file1"},{"photo_id":"1396945432","filename":"file0"},{"photo_id":"1396945435","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945433":["hashtag1","hashtag2"]},{"1396945441":["hashtag1","hashtag2"]},{"1396945435":["hashtag1","hashtag2"]},{"1396945438":["hashtag1","hashtag2"]},{"1396945432":["hashtag1","hashtag2"]},{"1396945434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945433, 1396945441, 1396945435, 1396945438, 1396945432, 1396945434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14033031463623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:39:42.540541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_59_2862.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_02_2641.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_05_2753.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_08_2886.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_11_3809.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_14_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/46/image_31102025_10_46_59_2862.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_02_2641.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_05_2753.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_08_2886.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_11_3809.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_14_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945451","1396945448","1396945459","1396945450","1396945464","1396945452"],"photo_ids_order":["1396945448","1396945450","1396945451","1396945452","1396945459","1396945464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d90535efd3cd136fb551d37a78e9d4b8.jpg","text":"TemporaryFile(/tmp/multipartBody1512676381995224396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445243684,"filename":"image_31102025_10_47_05_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9fc22925ce7acdb9f509b9541f74def.jpg","text":"TemporaryFile(/tmp/multipartBody489053795416784612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445243684,"filename":"image_31102025_10_46_59_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12179ba1a98358ba5c702c76029bef77.jpg","text":"TemporaryFile(/tmp/multipartBody2475140876478446881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445243684,"filename":"image_31102025_10_47_11_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3aa9b2fc5832dcad3b3f885c1a204bdf.jpg","text":"TemporaryFile(/tmp/multipartBody2757629658269910343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445243684,"filename":"image_31102025_10_47_02_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb9725377b0297cef2498a5c87de3b11.jpg","text":"TemporaryFile(/tmp/multipartBody3432685405623514126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445243684,"filename":"image_31102025_10_47_14_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ca04e9732e353f659d1642c47d144fa.jpg","text":"TemporaryFile(/tmp/multipartBody5070041514190440748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445243684,"filename":"image_31102025_10_47_08_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945451","file1":"1396945450","file0":"1396945448","file4":"1396945459","file5":"1396945464","file3":"1396945452"},"map_files_photo_id_array":[{"photo_id":"1396945464","filename":"file5"},{"photo_id":"1396945451","filename":"file2"},{"photo_id":"1396945459","filename":"file4"},{"photo_id":"1396945450","filename":"file1"},{"photo_id":"1396945448","filename":"file0"},{"photo_id":"1396945452","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945451":["hashtag1","hashtag2"]},{"1396945448":["hashtag1","hashtag2"]},{"1396945459":["hashtag1","hashtag2"]},{"1396945450":["hashtag1","hashtag2"]},{"1396945464":["hashtag1","hashtag2"]},{"1396945452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945451, 1396945448, 1396945459, 1396945450, 1396945464, 1396945452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.593613386154175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:40:22.711615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/23/image_29112025_20_23_16_10719.jpg', '/home/pi/Desktop/images/29112025/20/23/image_29112025_20_23_25_9754.jpg', '/home/pi/Desktop/images/29112025/20/23/image_29112025_20_23_35_9650.jpg', '/home/pi/Desktop/images/29112025/20/23/image_29112025_20_23_45_9734.jpg', '/home/pi/Desktop/images/29112025/20/23/image_29112025_20_23_56_10821.jpg', '/home/pi/Desktop/images/29112025/20/23/image_29112025_20_24_06_9904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/23/image_29112025_20_23_16_10719.jpg
/home/pi/Desktop/images/29112025/20/23/image_29112025_20_23_25_9754.jpg
/home/pi/Desktop/images/29112025/20/23/image_29112025_20_23_35_9650.jpg
/home/pi/Desktop/images/29112025/20/23/image_29112025_20_23_45_9734.jpg
/home/pi/Desktop/images/29112025/20/23/image_29112025_20_23_56_10821.jpg
/home/pi/Desktop/images/29112025/20/23/image_29112025_20_24_06_9904.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945493","1396945498","1396945495","1396945501","1396945504","1396945500"],"photo_ids_order":["1396945493","1396945495","1396945498","1396945500","1396945501","1396945504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce4516b49446b532fe2b966f62ebc674.jpg","text":"TemporaryFile(/tmp/multipartBody9021424690298003749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445283431,"filename":"image_29112025_20_23_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/11/29/f0bc82596acaed33e59e5528819e98e9.jpg","text":"TemporaryFile(/tmp/multipartBody2805325656831270923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445283431,"filename":"image_29112025_20_23_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/11/29/86901c8c78aba782a26ce22be487c9ae.jpg","text":"TemporaryFile(/tmp/multipartBody8286129952048654001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445283431,"filename":"image_29112025_20_23_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/11/29/48adb186798e18640554184cb60a58d5.jpg","text":"TemporaryFile(/tmp/multipartBody2330098104970071110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445283431,"filename":"image_29112025_20_23_56_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa12f1568ee6af6d79c36156a7cb6606.jpg","text":"TemporaryFile(/tmp/multipartBody9185824738943029942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445283431,"filename":"image_29112025_20_24_06_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6556a5dda327b16a53e3cfb0b267cd60.jpg","text":"TemporaryFile(/tmp/multipartBody6773343072208665167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445283431,"filename":"image_29112025_20_23_45_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945498","file1":"1396945495","file0":"1396945493","file4":"1396945501","file5":"1396945504","file3":"1396945500"},"map_files_photo_id_array":[{"photo_id":"1396945504","filename":"file5"},{"photo_id":"1396945498","filename":"file2"},{"photo_id":"1396945501","filename":"file4"},{"photo_id":"1396945495","filename":"file1"},{"photo_id":"1396945493","filename":"file0"},{"photo_id":"1396945500","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945493":["hashtag1","hashtag2"]},{"1396945498":["hashtag1","hashtag2"]},{"1396945495":["hashtag1","hashtag2"]},{"1396945501":["hashtag1","hashtag2"]},{"1396945504":["hashtag1","hashtag2"]},{"1396945500":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945493, 1396945498, 1396945495, 1396945501, 1396945504, 1396945500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.472670793533325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:41:02.744293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/24/image_29112025_20_24_15_9672.jpg', '/home/pi/Desktop/images/29112025/20/24/image_29112025_20_24_25_9637.jpg', '/home/pi/Desktop/images/29112025/20/24/image_29112025_20_24_36_10702.jpg', '/home/pi/Desktop/images/29112025/20/24/image_29112025_20_24_45_9743.jpg', '/home/pi/Desktop/images/29112025/20/24/image_29112025_20_24_55_9523.jpg', '/home/pi/Desktop/images/29112025/20/24/image_29112025_20_25_06_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/24/image_29112025_20_24_15_9672.jpg
/home/pi/Desktop/images/29112025/20/24/image_29112025_20_24_25_9637.jpg
/home/pi/Desktop/images/29112025/20/24/image_29112025_20_24_36_10702.jpg
/home/pi/Desktop/images/29112025/20/24/image_29112025_20_24_45_9743.jpg
/home/pi/Desktop/images/29112025/20/24/image_29112025_20_24_55_9523.jpg
/home/pi/Desktop/images/29112025/20/24/image_29112025_20_25_06_10752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945508","1396945510","1396945507","1396945512","1396945515","1396945509"],"photo_ids_order":["1396945507","1396945508","1396945509","1396945510","1396945512","1396945515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2632ca3b103e7e37c2e5822b54c8ab29.jpg","text":"TemporaryFile(/tmp/multipartBody1127499710369967458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445323486,"filename":"image_29112025_20_24_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b34609685d8c653d8109a4bc3bbf0b71.jpg","text":"TemporaryFile(/tmp/multipartBody2473948065487080023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445323486,"filename":"image_29112025_20_24_45_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef6469d745610194745af0501fce6a32.jpg","text":"TemporaryFile(/tmp/multipartBody4021610822988397751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445323486,"filename":"image_29112025_20_24_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/11/29/e4697606375e544d5448ae2a7dd738db.jpg","text":"TemporaryFile(/tmp/multipartBody3446147092426697065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445323486,"filename":"image_29112025_20_24_55_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60aaf99fd3bab5e536c389b01028ef9c.jpg","text":"TemporaryFile(/tmp/multipartBody4693235008843543994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445323486,"filename":"image_29112025_20_25_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/11/29/e5c4e5edffeb9c8efcaafd565a32954f.jpg","text":"TemporaryFile(/tmp/multipartBody6747720319834669718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445323486,"filename":"image_29112025_20_24_36_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945509","file1":"1396945508","file0":"1396945507","file4":"1396945512","file5":"1396945515","file3":"1396945510"},"map_files_photo_id_array":[{"photo_id":"1396945515","filename":"file5"},{"photo_id":"1396945509","filename":"file2"},{"photo_id":"1396945512","filename":"file4"},{"photo_id":"1396945508","filename":"file1"},{"photo_id":"1396945507","filename":"file0"},{"photo_id":"1396945510","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945508":["hashtag1","hashtag2"]},{"1396945510":["hashtag1","hashtag2"]},{"1396945507":["hashtag1","hashtag2"]},{"1396945512":["hashtag1","hashtag2"]},{"1396945515":["hashtag1","hashtag2"]},{"1396945509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945508, 1396945510, 1396945507, 1396945512, 1396945515, 1396945509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.284934997558594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:41:42.065813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_17_2704.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_21_3792.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_23_2675.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_26_2552.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_29_3598.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_32_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/10/47/image_31102025_10_47_17_2704.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_21_3792.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_23_2675.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_26_2552.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_29_3598.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_32_2755.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.078399658203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:42:02.692201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/25/image_29112025_20_25_15_9697.jpg', '/home/pi/Desktop/images/29112025/20/25/image_29112025_20_25_25_9801.jpg', '/home/pi/Desktop/images/29112025/20/25/image_29112025_20_25_36_10623.jpg', '/home/pi/Desktop/images/29112025/20/25/image_29112025_20_25_45_9628.jpg', '/home/pi/Desktop/images/29112025/20/25/image_29112025_20_25_55_9744.jpg', '/home/pi/Desktop/images/29112025/20/25/image_29112025_20_26_05_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/25/image_29112025_20_25_15_9697.jpg
/home/pi/Desktop/images/29112025/20/25/image_29112025_20_25_25_9801.jpg
/home/pi/Desktop/images/29112025/20/25/image_29112025_20_25_36_10623.jpg
/home/pi/Desktop/images/29112025/20/25/image_29112025_20_25_45_9628.jpg
/home/pi/Desktop/images/29112025/20/25/image_29112025_20_25_55_9744.jpg
/home/pi/Desktop/images/29112025/20/25/image_29112025_20_26_05_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945571","1396945570","1396945573","1396945575","1396945578","1396945572"],"photo_ids_order":["1396945570","1396945571","1396945572","1396945573","1396945575","1396945578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da2524dd8c7668df92db20df169a6a03.jpg","text":"TemporaryFile(/tmp/multipartBody120962479506632886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445383409,"filename":"image_29112025_20_25_25_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/305b676725de1527a0083f6b8a7e3a1f.jpg","text":"TemporaryFile(/tmp/multipartBody3558935924371022942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445383409,"filename":"image_29112025_20_25_15_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61e91529d74a5efc53b40d432dc74bc9.jpg","text":"TemporaryFile(/tmp/multipartBody6197623785416235170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445383409,"filename":"image_29112025_20_25_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/11/29/525d777476f09191f997fc8aad2abff7.jpg","text":"TemporaryFile(/tmp/multipartBody4886800491676810863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445383409,"filename":"image_29112025_20_25_55_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f97fa08adc48911e2d391b83ff950776.jpg","text":"TemporaryFile(/tmp/multipartBody9001433846151246357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445383409,"filename":"image_29112025_20_26_05_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80ac36ee7cc36e4248dac42e191d6455.jpg","text":"TemporaryFile(/tmp/multipartBody8140297774299288817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445383409,"filename":"image_29112025_20_25_36_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945572","file1":"1396945571","file0":"1396945570","file4":"1396945575","file5":"1396945578","file3":"1396945573"},"map_files_photo_id_array":[{"photo_id":"1396945578","filename":"file5"},{"photo_id":"1396945572","filename":"file2"},{"photo_id":"1396945575","filename":"file4"},{"photo_id":"1396945571","filename":"file1"},{"photo_id":"1396945570","filename":"file0"},{"photo_id":"1396945573","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945571":["hashtag1","hashtag2"]},{"1396945570":["hashtag1","hashtag2"]},{"1396945573":["hashtag1","hashtag2"]},{"1396945575":["hashtag1","hashtag2"]},{"1396945578":["hashtag1","hashtag2"]},{"1396945572":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945571, 1396945570, 1396945573, 1396945575, 1396945578, 1396945572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82192921638489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:42:42.294326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_17_2704.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_21_3792.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_23_2675.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_26_2552.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_29_3598.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_32_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/10/47/image_31102025_10_47_17_2704.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_21_3792.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_23_2675.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_26_2552.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_29_3598.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_32_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":["1396945592","1396945591","1396945594","1396945588","1396945590","1396945587"],"photo_ids_order":["1396945587","1396945588","1396945590","1396945591","1396945592","1396945594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f63d0fc01f9d70b635a9459360e5ea7.jpg","text":"TemporaryFile(/tmp/multipartBody2067794974075917489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445423278,"filename":"image_31102025_10_47_29_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67073b0d968e3b45d8dd7b580ed147bc.jpg","text":"TemporaryFile(/tmp/multipartBody358383490978804778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445423278,"filename":"image_31102025_10_47_26_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5b50dd4891481b95e1f6d68b4777836.jpg","text":"TemporaryFile(/tmp/multipartBody5225440070343520863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445423278,"filename":"image_31102025_10_47_32_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0f6fa44704244ada19f9ca7868883df.jpg","text":"TemporaryFile(/tmp/multipartBody3645020887022035723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445423278,"filename":"image_31102025_10_47_21_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84ee90c773b0dedf45d3836f0eb37392.jpg","text":"TemporaryFile(/tmp/multipartBody5242621604942343266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445423278,"filename":"image_31102025_10_47_23_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ca50eed3ef663ce619ee44fd63f8264.jpg","text":"TemporaryFile(/tmp/multipartBody3011418406482542367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445423278,"filename":"image_31102025_10_47_17_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945590","file1":"1396945588","file0":"1396945587","file4":"1396945592","file5":"1396945594","file3":"1396945591"},"map_files_photo_id_array":[{"photo_id":"1396945594","filename":"file5"},{"photo_id":"1396945590","filename":"file2"},{"photo_id":"1396945592","filename":"file4"},{"photo_id":"1396945588","filename":"file1"},{"photo_id":"1396945587","filename":"file0"},{"photo_id":"1396945591","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945592":["hashtag1","hashtag2"]},{"1396945591":["hashtag1","hashtag2"]},{"1396945594":["hashtag1","hashtag2"]},{"1396945588":["hashtag1","hashtag2"]},{"1396945590":["hashtag1","hashtag2"]},{"1396945587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945592, 1396945591, 1396945594, 1396945588, 1396945590, 1396945587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24144673347473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:43:22.487888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/26/image_29112025_20_26_16_10825.jpg', '/home/pi/Desktop/images/29112025/20/26/image_29112025_20_26_26_9885.jpg', '/home/pi/Desktop/images/29112025/20/26/image_29112025_20_26_35_9575.jpg', '/home/pi/Desktop/images/29112025/20/26/image_29112025_20_26_46_10615.jpg', '/home/pi/Desktop/images/29112025/20/26/image_29112025_20_26_55_9674.jpg', '/home/pi/Desktop/images/29112025/20/26/image_29112025_20_27_05_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/26/image_29112025_20_26_16_10825.jpg
/home/pi/Desktop/images/29112025/20/26/image_29112025_20_26_26_9885.jpg
/home/pi/Desktop/images/29112025/20/26/image_29112025_20_26_35_9575.jpg
/home/pi/Desktop/images/29112025/20/26/image_29112025_20_26_46_10615.jpg
/home/pi/Desktop/images/29112025/20/26/image_29112025_20_26_55_9674.jpg
/home/pi/Desktop/images/29112025/20/26/image_29112025_20_27_05_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":["1396945623","1396945625","1396945607","1396945601","1396945627","1396945630"],"photo_ids_order":["1396945601","1396945607","1396945623","1396945625","1396945627","1396945630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25470628576910c1955abff7eb256c8f.jpg","text":"TemporaryFile(/tmp/multipartBody1106198961385142621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445463191,"filename":"image_29112025_20_26_35_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/519ed9e4fd43f813744cfd4452d0899e.jpg","text":"TemporaryFile(/tmp/multipartBody5540487604048340740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445463191,"filename":"image_29112025_20_26_46_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a45f313c5795623384319ea9e02ea503.jpg","text":"TemporaryFile(/tmp/multipartBody7521177597821976818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445463191,"filename":"image_29112025_20_26_26_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/febb453ccb90f57c0e84431bf1a27cde.jpg","text":"TemporaryFile(/tmp/multipartBody8175444830448509378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445463191,"filename":"image_29112025_20_26_16_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8971fb3df67e8bbd8e7e580627e4291b.jpg","text":"TemporaryFile(/tmp/multipartBody8332864774406825547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445463191,"filename":"image_29112025_20_26_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/11/29/12096249482618bfee6310ff6c6e79ca.jpg","text":"TemporaryFile(/tmp/multipartBody288911897780948414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445463191,"filename":"image_29112025_20_27_05_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945623","file1":"1396945607","file0":"1396945601","file4":"1396945627","file5":"1396945630","file3":"1396945625"},"map_files_photo_id_array":[{"photo_id":"1396945630","filename":"file5"},{"photo_id":"1396945623","filename":"file2"},{"photo_id":"1396945627","filename":"file4"},{"photo_id":"1396945607","filename":"file1"},{"photo_id":"1396945601","filename":"file0"},{"photo_id":"1396945625","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945623":["hashtag1","hashtag2"]},{"1396945625":["hashtag1","hashtag2"]},{"1396945607":["hashtag1","hashtag2"]},{"1396945601":["hashtag1","hashtag2"]},{"1396945627":["hashtag1","hashtag2"]},{"1396945630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945623, 1396945625, 1396945607, 1396945601, 1396945627, 1396945630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68969440460205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:44:03.507151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/27/image_29112025_20_27_15_9764.jpg', '/home/pi/Desktop/images/29112025/20/27/image_29112025_20_27_26_10722.jpg', '/home/pi/Desktop/images/29112025/20/27/image_29112025_20_27_35_9690.jpg', '/home/pi/Desktop/images/29112025/20/27/image_29112025_20_27_45_9740.jpg', '/home/pi/Desktop/images/29112025/20/27/image_29112025_20_27_56_10760.jpg', '/home/pi/Desktop/images/29112025/20/27/image_29112025_20_28_05_9144.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/27/image_29112025_20_27_15_9764.jpg
/home/pi/Desktop/images/29112025/20/27/image_29112025_20_27_26_10722.jpg
/home/pi/Desktop/images/29112025/20/27/image_29112025_20_27_35_9690.jpg
/home/pi/Desktop/images/29112025/20/27/image_29112025_20_27_45_9740.jpg
/home/pi/Desktop/images/29112025/20/27/image_29112025_20_27_56_10760.jpg
/home/pi/Desktop/images/29112025/20/27/image_29112025_20_28_05_9144.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945634","1396945633","1396945638","1396945632","1396945641","1396945635"],"photo_ids_order":["1396945632","1396945633","1396945634","1396945635","1396945638","1396945641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f427d0f385b2296c8fb6bdfadae1451f.jpg","text":"TemporaryFile(/tmp/multipartBody337311499460672703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445504277,"filename":"image_29112025_20_27_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/11/29/f33d38a43ff9296ce5dde0564fd5bea4.jpg","text":"TemporaryFile(/tmp/multipartBody8099065689506093761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445504277,"filename":"image_29112025_20_27_26_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0b8498cec00c2f365f1f2160fa5c64d.jpg","text":"TemporaryFile(/tmp/multipartBody376544917333213358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445504277,"filename":"image_29112025_20_27_56_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/55fbff8ac27ab7bc4d6723c8456ec784.jpg","text":"TemporaryFile(/tmp/multipartBody7741472156312488567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445504277,"filename":"image_29112025_20_27_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/11/29/3e49cb8f923e19e59b2f0ec31c3f86f2.jpg","text":"TemporaryFile(/tmp/multipartBody6083260407118852583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445504277,"filename":"image_29112025_20_28_05_9144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6df4464a103b1f306ec7b7aa8b7f6bbc.jpg","text":"TemporaryFile(/tmp/multipartBody6663072123264181473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445504277,"filename":"image_29112025_20_27_45_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945634","file1":"1396945633","file0":"1396945632","file4":"1396945638","file5":"1396945641","file3":"1396945635"},"map_files_photo_id_array":[{"photo_id":"1396945641","filename":"file5"},{"photo_id":"1396945634","filename":"file2"},{"photo_id":"1396945638","filename":"file4"},{"photo_id":"1396945633","filename":"file1"},{"photo_id":"1396945632","filename":"file0"},{"photo_id":"1396945635","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945634":["hashtag1","hashtag2"]},{"1396945633":["hashtag1","hashtag2"]},{"1396945638":["hashtag1","hashtag2"]},{"1396945632":["hashtag1","hashtag2"]},{"1396945641":["hashtag1","hashtag2"]},{"1396945635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945634, 1396945633, 1396945638, 1396945632, 1396945641, 1396945635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56576895713806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:44:42.861536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_35_2701.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_39_3748.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_47_2638.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_50_3730.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_53_2704.jpg', '/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_56_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/10/47/image_31102025_10_47_35_2701.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_39_3748.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_47_2638.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_50_3730.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_53_2704.jpg
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_56_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":["1396945652","1396945649","1396945651","1396945654","1396945650","1396945653"],"photo_ids_order":["1396945649","1396945650","1396945651","1396945652","1396945653","1396945654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5fbe962c21658b6bc064b3026e3286a5.jpg","text":"TemporaryFile(/tmp/multipartBody7006869330095379759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445543988,"filename":"image_31102025_10_47_50_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e43974a29b22d4385cf2ffc4551488fe.jpg","text":"TemporaryFile(/tmp/multipartBody1485225735336402965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445543988,"filename":"image_31102025_10_47_35_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1be3535244a16bb43f715b68a5764478.jpg","text":"TemporaryFile(/tmp/multipartBody3268183831084680069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445543988,"filename":"image_31102025_10_47_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/11/29/d742f583df810e4af2fc21e1d42b2683.jpg","text":"TemporaryFile(/tmp/multipartBody1501798542099037283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445543988,"filename":"image_31102025_10_47_56_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bfbd95f5f4b58203885aa45652d149b.jpg","text":"TemporaryFile(/tmp/multipartBody3249295239416359044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445543988,"filename":"image_31102025_10_47_39_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9330ddebc6185d784a52fe908cce975.jpg","text":"TemporaryFile(/tmp/multipartBody116119936096561161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445543988,"filename":"image_31102025_10_47_53_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945651","file1":"1396945650","file0":"1396945649","file4":"1396945653","file5":"1396945654","file3":"1396945652"},"map_files_photo_id_array":[{"photo_id":"1396945654","filename":"file5"},{"photo_id":"1396945651","filename":"file2"},{"photo_id":"1396945653","filename":"file4"},{"photo_id":"1396945650","filename":"file1"},{"photo_id":"1396945649","filename":"file0"},{"photo_id":"1396945652","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945652":["hashtag1","hashtag2"]},{"1396945649":["hashtag1","hashtag2"]},{"1396945651":["hashtag1","hashtag2"]},{"1396945654":["hashtag1","hashtag2"]},{"1396945650":["hashtag1","hashtag2"]},{"1396945653":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945652, 1396945649, 1396945651, 1396945654, 1396945650, 1396945653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96438407897949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:45:22.076987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/28/image_29112025_20_28_16_10709.jpg', '/home/pi/Desktop/images/29112025/20/28/image_29112025_20_28_25_9573.jpg', '/home/pi/Desktop/images/29112025/20/28/image_29112025_20_28_35_10238.jpg', '/home/pi/Desktop/images/29112025/20/28/image_29112025_20_28_45_9572.jpg', '/home/pi/Desktop/images/29112025/20/28/image_29112025_20_28_56_10605.jpg', '/home/pi/Desktop/images/29112025/20/28/image_29112025_20_29_05_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/28/image_29112025_20_28_16_10709.jpg
/home/pi/Desktop/images/29112025/20/28/image_29112025_20_28_25_9573.jpg
/home/pi/Desktop/images/29112025/20/28/image_29112025_20_28_35_10238.jpg
/home/pi/Desktop/images/29112025/20/28/image_29112025_20_28_45_9572.jpg
/home/pi/Desktop/images/29112025/20/28/image_29112025_20_28_56_10605.jpg
/home/pi/Desktop/images/29112025/20/28/image_29112025_20_29_05_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":["1396945694","1396945688","1396945684","1396945692","1396945689","1396945665"],"photo_ids_order":["1396945665","1396945684","1396945688","1396945689","1396945692","1396945694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a02118ee81031203207a12efb0837d7a.jpg","text":"TemporaryFile(/tmp/multipartBody3135802473970467935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445582759,"filename":"image_29112025_20_29_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/11/29/fcf51556462bf176a438c545ad9cb911.jpg","text":"TemporaryFile(/tmp/multipartBody7393374385286019191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445582759,"filename":"image_29112025_20_28_35_10238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0b8b65cd23e89d6b31e8cd31ac75141.jpg","text":"TemporaryFile(/tmp/multipartBody3041097561436178305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445582759,"filename":"image_29112025_20_28_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/11/29/f4955f0e7d1e2ccd8f88f5281880dc28.jpg","text":"TemporaryFile(/tmp/multipartBody8533343748980025972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445582759,"filename":"image_29112025_20_28_56_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8165216f83749bac44adc4191bdda530.jpg","text":"TemporaryFile(/tmp/multipartBody1952042142166717656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445582759,"filename":"image_29112025_20_28_45_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02cb7033b94e26536ee7a61815a9320e.jpg","text":"TemporaryFile(/tmp/multipartBody1862455116147213988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445582759,"filename":"image_29112025_20_28_16_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945688","file1":"1396945684","file0":"1396945665","file4":"1396945692","file5":"1396945694","file3":"1396945689"},"map_files_photo_id_array":[{"photo_id":"1396945694","filename":"file5"},{"photo_id":"1396945688","filename":"file2"},{"photo_id":"1396945692","filename":"file4"},{"photo_id":"1396945684","filename":"file1"},{"photo_id":"1396945665","filename":"file0"},{"photo_id":"1396945689","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945694":["hashtag1","hashtag2"]},{"1396945688":["hashtag1","hashtag2"]},{"1396945684":["hashtag1","hashtag2"]},{"1396945692":["hashtag1","hashtag2"]},{"1396945689":["hashtag1","hashtag2"]},{"1396945665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945694, 1396945688, 1396945684, 1396945692, 1396945689, 1396945665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36513376235962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:46:02.647496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/29/image_29112025_20_29_15_9698.jpg', '/home/pi/Desktop/images/29112025/20/29/image_29112025_20_29_26_10612.jpg', '/home/pi/Desktop/images/29112025/20/29/image_29112025_20_29_35_9831.jpg', '/home/pi/Desktop/images/29112025/20/29/image_29112025_20_29_45_9554.jpg', '/home/pi/Desktop/images/29112025/20/29/image_29112025_20_29_56_10588.jpg', '/home/pi/Desktop/images/29112025/20/29/image_29112025_20_30_05_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/29/image_29112025_20_29_15_9698.jpg
/home/pi/Desktop/images/29112025/20/29/image_29112025_20_29_26_10612.jpg
/home/pi/Desktop/images/29112025/20/29/image_29112025_20_29_35_9831.jpg
/home/pi/Desktop/images/29112025/20/29/image_29112025_20_29_45_9554.jpg
/home/pi/Desktop/images/29112025/20/29/image_29112025_20_29_56_10588.jpg
/home/pi/Desktop/images/29112025/20/29/image_29112025_20_30_05_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945701","1396945704","1396945696","1396945699","1396945698","1396945697"],"photo_ids_order":["1396945696","1396945697","1396945698","1396945699","1396945701","1396945704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fc17df5177a90d20d5ce6c00e8dd4a9.jpg","text":"TemporaryFile(/tmp/multipartBody3608834944000633032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445623369,"filename":"image_29112025_20_29_56_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fbe5cd96fe655b0dca7d716becdddac.jpg","text":"TemporaryFile(/tmp/multipartBody8601084627617735129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445623369,"filename":"image_29112025_20_30_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/11/29/43d2493e7a213ea6dc1dc2aa7e87a56e.jpg","text":"TemporaryFile(/tmp/multipartBody4784913967706865217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445623369,"filename":"image_29112025_20_29_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/11/29/696901f88f28ca8e3f67d262f7d5ecf7.jpg","text":"TemporaryFile(/tmp/multipartBody4473121813991848931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445623369,"filename":"image_29112025_20_29_45_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfd05c3f1cc03737f57247652ffe3e37.jpg","text":"TemporaryFile(/tmp/multipartBody6589698071551856514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445623369,"filename":"image_29112025_20_29_35_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/def4c559d7565d25bfd71f7c3b430d3a.jpg","text":"TemporaryFile(/tmp/multipartBody8345440479258216087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445623369,"filename":"image_29112025_20_29_26_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945698","file1":"1396945697","file0":"1396945696","file4":"1396945701","file5":"1396945704","file3":"1396945699"},"map_files_photo_id_array":[{"photo_id":"1396945704","filename":"file5"},{"photo_id":"1396945698","filename":"file2"},{"photo_id":"1396945701","filename":"file4"},{"photo_id":"1396945697","filename":"file1"},{"photo_id":"1396945696","filename":"file0"},{"photo_id":"1396945699","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945701":["hashtag1","hashtag2"]},{"1396945704":["hashtag1","hashtag2"]},{"1396945696":["hashtag1","hashtag2"]},{"1396945699":["hashtag1","hashtag2"]},{"1396945698":["hashtag1","hashtag2"]},{"1396945697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945701, 1396945704, 1396945696, 1396945699, 1396945698, 1396945697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04132103919983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:46:42.287850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_59_3588.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_05_2684.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_08_3621.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_11_2701.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_14_2682.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_17_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/47/image_31102025_10_47_59_3588.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_05_2684.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_08_3621.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_11_2701.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_14_2682.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_17_3692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945716","1396945715","1396945718","1396945717","1396945719","1396945713"],"photo_ids_order":["1396945713","1396945715","1396945716","1396945717","1396945718","1396945719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38e82cc7f8fd16746eb67e29ee7c6964.jpg","text":"TemporaryFile(/tmp/multipartBody3269546966170491821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445663400,"filename":"image_31102025_10_48_08_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bbc7219ea8bf0f6c031e544ab1239fea.jpg","text":"TemporaryFile(/tmp/multipartBody3237006913443738432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445663400,"filename":"image_31102025_10_48_05_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f9fa5ea8b91e282b359c11f0e4f2d11.jpg","text":"TemporaryFile(/tmp/multipartBody5104962432242749752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445663400,"filename":"image_31102025_10_48_14_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b402cb10190aa529551a97bbc3580ba.jpg","text":"TemporaryFile(/tmp/multipartBody1492749264791765161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445663400,"filename":"image_31102025_10_48_11_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a0f544137e2690ba9393d04c2ab42281.jpg","text":"TemporaryFile(/tmp/multipartBody3697776781453322184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445663400,"filename":"image_31102025_10_48_17_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30f264a61f6fa4f118700d3b7a28ff01.jpg","text":"TemporaryFile(/tmp/multipartBody3840744198659751355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445663400,"filename":"image_31102025_10_47_59_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945716","file1":"1396945715","file0":"1396945713","file4":"1396945718","file5":"1396945719","file3":"1396945717"},"map_files_photo_id_array":[{"photo_id":"1396945719","filename":"file5"},{"photo_id":"1396945716","filename":"file2"},{"photo_id":"1396945718","filename":"file4"},{"photo_id":"1396945715","filename":"file1"},{"photo_id":"1396945713","filename":"file0"},{"photo_id":"1396945717","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945716":["hashtag1","hashtag2"]},{"1396945715":["hashtag1","hashtag2"]},{"1396945718":["hashtag1","hashtag2"]},{"1396945717":["hashtag1","hashtag2"]},{"1396945719":["hashtag1","hashtag2"]},{"1396945713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945716, 1396945715, 1396945718, 1396945717, 1396945719, 1396945713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91871237754822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:47:22.455718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/30/image_29112025_20_30_25_9689.jpg', '/home/pi/Desktop/images/29112025/20/30/image_29112025_20_30_36_10750.jpg', '/home/pi/Desktop/images/29112025/20/30/image_29112025_20_30_45_9621.jpg', '/home/pi/Desktop/images/29112025/20/30/image_29112025_20_30_55_9562.jpg', '/home/pi/Desktop/images/29112025/20/30/image_29112025_20_31_06_10685.jpg', '/home/pi/Desktop/images/29112025/20/31/image_29112025_20_31_15_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/30/image_29112025_20_30_25_9689.jpg
/home/pi/Desktop/images/29112025/20/30/image_29112025_20_30_36_10750.jpg
/home/pi/Desktop/images/29112025/20/30/image_29112025_20_30_45_9621.jpg
/home/pi/Desktop/images/29112025/20/30/image_29112025_20_30_55_9562.jpg
/home/pi/Desktop/images/29112025/20/30/image_29112025_20_31_06_10685.jpg
/home/pi/Desktop/images/29112025/20/31/image_29112025_20_31_15_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945732","1396945726","1396945735","1396945729","1396945723","1396945746"],"photo_ids_order":["1396945723","1396945726","1396945729","1396945732","1396945735","1396945746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3814160ecbd69775dc1bccbe598d2312.jpg","text":"TemporaryFile(/tmp/multipartBody6996771252188298300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445703140,"filename":"image_29112025_20_30_55_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4a8969c34a0851fbfaab96d8647ca522.jpg","text":"TemporaryFile(/tmp/multipartBody6834603158373764855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445703140,"filename":"image_29112025_20_30_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/11/29/6bc14162abab41326caf1c9fb5365a53.jpg","text":"TemporaryFile(/tmp/multipartBody5851331895043908795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445703140,"filename":"image_29112025_20_31_06_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d3e642d42510b83236f442440237ae2.jpg","text":"TemporaryFile(/tmp/multipartBody643390864867815372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445703140,"filename":"image_29112025_20_30_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/11/29/80a551852a2fc384470fa689a63c32b3.jpg","text":"TemporaryFile(/tmp/multipartBody3470503680409849386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445703140,"filename":"image_29112025_20_30_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/11/29/f77d63839505d6d9cfa02bf67a1cca9e.jpg","text":"TemporaryFile(/tmp/multipartBody5703884997154718510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445703140,"filename":"image_29112025_20_31_15_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945729","file1":"1396945726","file0":"1396945723","file4":"1396945735","file5":"1396945746","file3":"1396945732"},"map_files_photo_id_array":[{"photo_id":"1396945746","filename":"file5"},{"photo_id":"1396945729","filename":"file2"},{"photo_id":"1396945735","filename":"file4"},{"photo_id":"1396945726","filename":"file1"},{"photo_id":"1396945723","filename":"file0"},{"photo_id":"1396945732","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945732":["hashtag1","hashtag2"]},{"1396945726":["hashtag1","hashtag2"]},{"1396945735":["hashtag1","hashtag2"]},{"1396945729":["hashtag1","hashtag2"]},{"1396945723":["hashtag1","hashtag2"]},{"1396945746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945732, 1396945726, 1396945735, 1396945729, 1396945723, 1396945746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.691742181777954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:48:02.894129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/31/image_29112025_20_31_25_9585.jpg', '/home/pi/Desktop/images/29112025/20/31/image_29112025_20_31_36_10702.jpg', '/home/pi/Desktop/images/29112025/20/31/image_29112025_20_31_45_9725.jpg', '/home/pi/Desktop/images/29112025/20/31/image_29112025_20_31_55_9772.jpg', '/home/pi/Desktop/images/29112025/20/31/image_29112025_20_32_05_9928.jpg', '/home/pi/Desktop/images/29112025/20/32/image_29112025_20_32_16_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/31/image_29112025_20_31_25_9585.jpg
/home/pi/Desktop/images/29112025/20/31/image_29112025_20_31_36_10702.jpg
/home/pi/Desktop/images/29112025/20/31/image_29112025_20_31_45_9725.jpg
/home/pi/Desktop/images/29112025/20/31/image_29112025_20_31_55_9772.jpg
/home/pi/Desktop/images/29112025/20/31/image_29112025_20_32_05_9928.jpg
/home/pi/Desktop/images/29112025/20/32/image_29112025_20_32_16_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396945800","1396945793","1396945795","1396945783","1396945794","1396945797"],"photo_ids_order":["1396945783","1396945793","1396945794","1396945795","1396945797","1396945800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63afda741f7fdbcf1f0be584511c0479.jpg","text":"TemporaryFile(/tmp/multipartBody3092797654181091380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445743595,"filename":"image_29112025_20_32_16_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1107f2ea789bc0fcf6f28563fb43191b.jpg","text":"TemporaryFile(/tmp/multipartBody6761142367033878935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445743595,"filename":"image_29112025_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/11/29/3b117dfbfe982436808f4a7883e23e59.jpg","text":"TemporaryFile(/tmp/multipartBody2523932634335073342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445743595,"filename":"image_29112025_20_31_55_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d32d2f0093586c94bab6c591b08110a9.jpg","text":"TemporaryFile(/tmp/multipartBody4898150490919343388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445743595,"filename":"image_29112025_20_31_25_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bc4bae011e766e5e9da0705f605a598.jpg","text":"TemporaryFile(/tmp/multipartBody8806690226985015699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445743595,"filename":"image_29112025_20_31_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0538d663f5f3d3f6f029df739ef18664.jpg","text":"TemporaryFile(/tmp/multipartBody1895384519758605377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445743595,"filename":"image_29112025_20_32_05_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945794","file1":"1396945793","file0":"1396945783","file4":"1396945797","file5":"1396945800","file3":"1396945795"},"map_files_photo_id_array":[{"photo_id":"1396945800","filename":"file5"},{"photo_id":"1396945794","filename":"file2"},{"photo_id":"1396945797","filename":"file4"},{"photo_id":"1396945793","filename":"file1"},{"photo_id":"1396945783","filename":"file0"},{"photo_id":"1396945795","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945800":["hashtag1","hashtag2"]},{"1396945793":["hashtag1","hashtag2"]},{"1396945795":["hashtag1","hashtag2"]},{"1396945783":["hashtag1","hashtag2"]},{"1396945794":["hashtag1","hashtag2"]},{"1396945797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945800, 1396945793, 1396945795, 1396945783, 1396945794, 1396945797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.592888593673706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:49:03.121351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/32/image_29112025_20_32_25_9625.jpg', '/home/pi/Desktop/images/29112025/20/32/image_29112025_20_32_35_9759.jpg', '/home/pi/Desktop/images/29112025/20/32/image_29112025_20_32_46_10770.jpg', '/home/pi/Desktop/images/29112025/20/32/image_29112025_20_32_55_9731.jpg', '/home/pi/Desktop/images/29112025/20/32/image_29112025_20_33_05_9617.jpg', '/home/pi/Desktop/images/29112025/20/33/image_29112025_20_33_15_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/32/image_29112025_20_32_25_9625.jpg
/home/pi/Desktop/images/29112025/20/32/image_29112025_20_32_35_9759.jpg
/home/pi/Desktop/images/29112025/20/32/image_29112025_20_32_46_10770.jpg
/home/pi/Desktop/images/29112025/20/32/image_29112025_20_32_55_9731.jpg
/home/pi/Desktop/images/29112025/20/32/image_29112025_20_33_05_9617.jpg
/home/pi/Desktop/images/29112025/20/33/image_29112025_20_33_15_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945829","1396945823","1396945826","1396945822","1396945824","1396945818"],"photo_ids_order":["1396945818","1396945822","1396945823","1396945824","1396945826","1396945829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea488d94b19555961488ae5144293f77.jpg","text":"TemporaryFile(/tmp/multipartBody800207945205169608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445803935,"filename":"image_29112025_20_33_15_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7255aa23108710a7bb639a0ea50c9258.jpg","text":"TemporaryFile(/tmp/multipartBody7103775261462517538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445803935,"filename":"image_29112025_20_32_46_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4f3848ea0a346a333c7581a7c698d5d.jpg","text":"TemporaryFile(/tmp/multipartBody3147611057508775083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445803935,"filename":"image_29112025_20_33_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fab6e8975cbccaa33d6851d697c0034.jpg","text":"TemporaryFile(/tmp/multipartBody3941254687047216790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445803935,"filename":"image_29112025_20_32_35_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bd277469ce6a3899f39c7da3af4d570b.jpg","text":"TemporaryFile(/tmp/multipartBody3360555488751548762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445803935,"filename":"image_29112025_20_32_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/11/29/4c93e511e0322be0a80f77c9d4ee38a2.jpg","text":"TemporaryFile(/tmp/multipartBody5020770145281302230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445803935,"filename":"image_29112025_20_32_25_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945823","file1":"1396945822","file0":"1396945818","file4":"1396945826","file5":"1396945829","file3":"1396945824"},"map_files_photo_id_array":[{"photo_id":"1396945829","filename":"file5"},{"photo_id":"1396945823","filename":"file2"},{"photo_id":"1396945826","filename":"file4"},{"photo_id":"1396945822","filename":"file1"},{"photo_id":"1396945818","filename":"file0"},{"photo_id":"1396945824","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945829":["hashtag1","hashtag2"]},{"1396945823":["hashtag1","hashtag2"]},{"1396945826":["hashtag1","hashtag2"]},{"1396945822":["hashtag1","hashtag2"]},{"1396945824":["hashtag1","hashtag2"]},{"1396945818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945829, 1396945823, 1396945826, 1396945822, 1396945824, 1396945818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89753031730652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:49:42.128285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_20_2695.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_23_2981.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_26_2594.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_29_2830.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_32_3791.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_35_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_20_2695.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_23_2981.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_26_2594.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_29_2830.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_32_3791.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_35_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945841","1396945838","1396945840","1396945837","1396945842","1396945839"],"photo_ids_order":["1396945837","1396945838","1396945839","1396945840","1396945841","1396945842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fae613e4e34e998b39a6b0e02d4a377e.jpg","text":"TemporaryFile(/tmp/multipartBody8239993221409051227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445843293,"filename":"image_31102025_10_48_32_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58dfc82d29bc1453cf4309e10688ba96.jpg","text":"TemporaryFile(/tmp/multipartBody5939329848773297525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445843293,"filename":"image_31102025_10_48_23_2981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7da6a1b2e842ce87817da3dffbfb57d3.jpg","text":"TemporaryFile(/tmp/multipartBody8050098812954667813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445843293,"filename":"image_31102025_10_48_29_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77f212ff19f704dedd88774d7de34c3c.jpg","text":"TemporaryFile(/tmp/multipartBody3756419354400976893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445843293,"filename":"image_31102025_10_48_20_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef0d080ae746da4d1d4b57f8eb50cc0c.jpg","text":"TemporaryFile(/tmp/multipartBody1174149733955595791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445843293,"filename":"image_31102025_10_48_35_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f74c7037f1f130f69308c97b6da41faa.jpg","text":"TemporaryFile(/tmp/multipartBody4996925518607302302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445843293,"filename":"image_31102025_10_48_26_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945839","file1":"1396945838","file0":"1396945837","file4":"1396945841","file5":"1396945842","file3":"1396945840"},"map_files_photo_id_array":[{"photo_id":"1396945842","filename":"file5"},{"photo_id":"1396945839","filename":"file2"},{"photo_id":"1396945841","filename":"file4"},{"photo_id":"1396945838","filename":"file1"},{"photo_id":"1396945837","filename":"file0"},{"photo_id":"1396945840","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945841":["hashtag1","hashtag2"]},{"1396945838":["hashtag1","hashtag2"]},{"1396945840":["hashtag1","hashtag2"]},{"1396945837":["hashtag1","hashtag2"]},{"1396945842":["hashtag1","hashtag2"]},{"1396945839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945841, 1396945838, 1396945840, 1396945837, 1396945842, 1396945839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.783286571502686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:50:22.297773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/33/image_29112025_20_33_25_10611.jpg', '/home/pi/Desktop/images/29112025/20/33/image_29112025_20_33_35_9607.jpg', '/home/pi/Desktop/images/29112025/20/33/image_29112025_20_33_46_10632.jpg', '/home/pi/Desktop/images/29112025/20/33/image_29112025_20_33_55_9499.jpg', '/home/pi/Desktop/images/29112025/20/33/image_29112025_20_34_06_10636.jpg', '/home/pi/Desktop/images/29112025/20/34/image_29112025_20_34_15_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/33/image_29112025_20_33_25_10611.jpg
/home/pi/Desktop/images/29112025/20/33/image_29112025_20_33_35_9607.jpg
/home/pi/Desktop/images/29112025/20/33/image_29112025_20_33_46_10632.jpg
/home/pi/Desktop/images/29112025/20/33/image_29112025_20_33_55_9499.jpg
/home/pi/Desktop/images/29112025/20/33/image_29112025_20_34_06_10636.jpg
/home/pi/Desktop/images/29112025/20/34/image_29112025_20_34_15_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945850","1396945852","1396945854","1396945848","1396945857","1396945845"],"photo_ids_order":["1396945845","1396945848","1396945850","1396945852","1396945854","1396945857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cba9e369eb3c3e77405c028785fe4776.jpg","text":"TemporaryFile(/tmp/multipartBody5010090260602258015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445882942,"filename":"image_29112025_20_33_46_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dff41ca80333da8380c2b271a1ff5f0f.jpg","text":"TemporaryFile(/tmp/multipartBody5163441315212985352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445882942,"filename":"image_29112025_20_33_55_9499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b06b06110aa69e4ddff7d75757aa267c.jpg","text":"TemporaryFile(/tmp/multipartBody3879047685703232829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445882942,"filename":"image_29112025_20_34_06_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/00b2842a61b7858b79ef07db055065e2.jpg","text":"TemporaryFile(/tmp/multipartBody25076552491930855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445882942,"filename":"image_29112025_20_33_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/11/29/59e39abc299016648d750ca40a068126.jpg","text":"TemporaryFile(/tmp/multipartBody6914859348852682680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445882942,"filename":"image_29112025_20_34_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/11/29/2b714054371c62ed39e808a8d8ff1502.jpg","text":"TemporaryFile(/tmp/multipartBody2390878106452620986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445882942,"filename":"image_29112025_20_33_25_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945850","file1":"1396945848","file0":"1396945845","file4":"1396945854","file5":"1396945857","file3":"1396945852"},"map_files_photo_id_array":[{"photo_id":"1396945857","filename":"file5"},{"photo_id":"1396945850","filename":"file2"},{"photo_id":"1396945854","filename":"file4"},{"photo_id":"1396945848","filename":"file1"},{"photo_id":"1396945845","filename":"file0"},{"photo_id":"1396945852","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945850":["hashtag1","hashtag2"]},{"1396945852":["hashtag1","hashtag2"]},{"1396945854":["hashtag1","hashtag2"]},{"1396945848":["hashtag1","hashtag2"]},{"1396945857":["hashtag1","hashtag2"]},{"1396945845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945850, 1396945852, 1396945854, 1396945848, 1396945857, 1396945845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81142711639404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:51:03.110692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/34/image_29112025_20_34_25_9525.jpg', '/home/pi/Desktop/images/29112025/20/34/image_29112025_20_34_36_10761.jpg', '/home/pi/Desktop/images/29112025/20/34/image_29112025_20_34_45_9758.jpg', '/home/pi/Desktop/images/29112025/20/34/image_29112025_20_34_55_9763.jpg', '/home/pi/Desktop/images/29112025/20/34/image_29112025_20_35_05_9668.jpg', '/home/pi/Desktop/images/29112025/20/35/image_29112025_20_35_16_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/34/image_29112025_20_34_25_9525.jpg
/home/pi/Desktop/images/29112025/20/34/image_29112025_20_34_36_10761.jpg
/home/pi/Desktop/images/29112025/20/34/image_29112025_20_34_45_9758.jpg
/home/pi/Desktop/images/29112025/20/34/image_29112025_20_34_55_9763.jpg
/home/pi/Desktop/images/29112025/20/34/image_29112025_20_35_05_9668.jpg
/home/pi/Desktop/images/29112025/20/35/image_29112025_20_35_16_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":["1396945862","1396945861","1396945864","1396945858","1396945867","1396945860"],"photo_ids_order":["1396945858","1396945860","1396945861","1396945862","1396945864","1396945867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0dcacfe12f6c2ec83c812a3d33fd8adf.jpg","text":"TemporaryFile(/tmp/multipartBody2785869816371788588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445923919,"filename":"image_29112025_20_34_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/11/29/759c141d123c8b37006dc5502a41c795.jpg","text":"TemporaryFile(/tmp/multipartBody6646359982414783622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445923919,"filename":"image_29112025_20_34_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/11/29/1fa43752f5968b006a204659ab57aeaa.jpg","text":"TemporaryFile(/tmp/multipartBody8312689742509462823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445923919,"filename":"image_29112025_20_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/11/29/ceb6e503e5d8e031999e8713fd0ff17a.jpg","text":"TemporaryFile(/tmp/multipartBody759250071317327062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445923919,"filename":"image_29112025_20_34_25_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bdd83cdeaa9811f2475f030c23cc4738.jpg","text":"TemporaryFile(/tmp/multipartBody8364258729794539161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445923919,"filename":"image_29112025_20_35_16_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7cf6095f705a1a7e298129daaa8c3d0.jpg","text":"TemporaryFile(/tmp/multipartBody5897461017314820038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445923919,"filename":"image_29112025_20_34_36_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945861","file1":"1396945860","file0":"1396945858","file4":"1396945864","file5":"1396945867","file3":"1396945862"},"map_files_photo_id_array":[{"photo_id":"1396945867","filename":"file5"},{"photo_id":"1396945861","filename":"file2"},{"photo_id":"1396945864","filename":"file4"},{"photo_id":"1396945860","filename":"file1"},{"photo_id":"1396945858","filename":"file0"},{"photo_id":"1396945862","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945862":["hashtag1","hashtag2"]},{"1396945861":["hashtag1","hashtag2"]},{"1396945864":["hashtag1","hashtag2"]},{"1396945858":["hashtag1","hashtag2"]},{"1396945867":["hashtag1","hashtag2"]},{"1396945860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945862, 1396945861, 1396945864, 1396945858, 1396945867, 1396945860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.455992221832275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:51:42.380280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_38_2729.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_41_3671.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_44_2809.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_47_2760.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_50_2655.jpg', '/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_53_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_38_2729.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_41_3671.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_44_2809.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_47_2760.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_50_2655.jpg
/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_53_3712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945919","1396945894","1396945879","1396945918","1396945909","1396945878"],"photo_ids_order":["1396945878","1396945879","1396945894","1396945909","1396945918","1396945919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42e962dac1c59e02d086fb3d50b29f74.jpg","text":"TemporaryFile(/tmp/multipartBody1180938243153876287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445963432,"filename":"image_31102025_10_48_53_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb6fbb3c72d004513be987650d23156c.jpg","text":"TemporaryFile(/tmp/multipartBody8444574469475965365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445963432,"filename":"image_31102025_10_48_44_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35408d6d94b3d897d4e2d50895bdf835.jpg","text":"TemporaryFile(/tmp/multipartBody7401039582871481141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445963432,"filename":"image_31102025_10_48_41_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbd50efed5a44f86ee5e1e2da7e66b46.jpg","text":"TemporaryFile(/tmp/multipartBody508457123446436487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445963432,"filename":"image_31102025_10_48_50_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/893b3e672b9180a350618bfc5a21457c.jpg","text":"TemporaryFile(/tmp/multipartBody7961872462868934106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445963432,"filename":"image_31102025_10_48_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/11/29/73552c67c55b50f39b9365aa613243fd.jpg","text":"TemporaryFile(/tmp/multipartBody663613974766073465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764445963432,"filename":"image_31102025_10_48_38_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945894","file1":"1396945879","file0":"1396945878","file4":"1396945918","file5":"1396945919","file3":"1396945909"},"map_files_photo_id_array":[{"photo_id":"1396945919","filename":"file5"},{"photo_id":"1396945894","filename":"file2"},{"photo_id":"1396945918","filename":"file4"},{"photo_id":"1396945879","filename":"file1"},{"photo_id":"1396945878","filename":"file0"},{"photo_id":"1396945909","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945919":["hashtag1","hashtag2"]},{"1396945894":["hashtag1","hashtag2"]},{"1396945879":["hashtag1","hashtag2"]},{"1396945918":["hashtag1","hashtag2"]},{"1396945909":["hashtag1","hashtag2"]},{"1396945878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945919, 1396945894, 1396945879, 1396945918, 1396945909, 1396945878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.219632148742676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:52:22.726502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/35/image_29112025_20_35_25_9905.jpg', '/home/pi/Desktop/images/29112025/20/35/image_29112025_20_35_35_9597.jpg', '/home/pi/Desktop/images/29112025/20/35/image_29112025_20_35_45_9803.jpg', '/home/pi/Desktop/images/29112025/20/35/image_29112025_20_35_56_10811.jpg', '/home/pi/Desktop/images/29112025/20/35/image_29112025_20_36_05_9666.jpg', '/home/pi/Desktop/images/29112025/20/36/image_29112025_20_36_15_9889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/35/image_29112025_20_35_25_9905.jpg
/home/pi/Desktop/images/29112025/20/35/image_29112025_20_35_35_9597.jpg
/home/pi/Desktop/images/29112025/20/35/image_29112025_20_35_45_9803.jpg
/home/pi/Desktop/images/29112025/20/35/image_29112025_20_35_56_10811.jpg
/home/pi/Desktop/images/29112025/20/35/image_29112025_20_36_05_9666.jpg
/home/pi/Desktop/images/29112025/20/36/image_29112025_20_36_15_9889.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396945928","1396945937","1396945922","1396945930","1396945924","1396945933"],"photo_ids_order":["1396945922","1396945924","1396945928","1396945930","1396945933","1396945937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2d657afa0cb99a5b13e608568c6d1d2.jpg","text":"TemporaryFile(/tmp/multipartBody8759405034043043446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446003409,"filename":"image_29112025_20_35_45_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/80c943b559f4fdaa2dc96d3508e5afdb.jpg","text":"TemporaryFile(/tmp/multipartBody4309707423707132907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446003409,"filename":"image_29112025_20_36_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/11/29/8435a256664d6f5efffcf48f4fda8b8a.jpg","text":"TemporaryFile(/tmp/multipartBody1499097954682505162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446003409,"filename":"image_29112025_20_35_25_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd18534f280d5ee899d8d444a8af7efe.jpg","text":"TemporaryFile(/tmp/multipartBody1306378589065102811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446003409,"filename":"image_29112025_20_35_56_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/209bef4dda363c2a9d701d220964fee3.jpg","text":"TemporaryFile(/tmp/multipartBody4689038793559723674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446003409,"filename":"image_29112025_20_35_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/11/29/0f40b7deb0c471625ef7e4d30ae7730c.jpg","text":"TemporaryFile(/tmp/multipartBody4541725557165638059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446003409,"filename":"image_29112025_20_36_05_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945928","file1":"1396945924","file0":"1396945922","file4":"1396945933","file5":"1396945937","file3":"1396945930"},"map_files_photo_id_array":[{"photo_id":"1396945937","filename":"file5"},{"photo_id":"1396945928","filename":"file2"},{"photo_id":"1396945933","filename":"file4"},{"photo_id":"1396945924","filename":"file1"},{"photo_id":"1396945922","filename":"file0"},{"photo_id":"1396945930","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945928":["hashtag1","hashtag2"]},{"1396945937":["hashtag1","hashtag2"]},{"1396945922":["hashtag1","hashtag2"]},{"1396945930":["hashtag1","hashtag2"]},{"1396945924":["hashtag1","hashtag2"]},{"1396945933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945928, 1396945937, 1396945922, 1396945930, 1396945924, 1396945933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70584487915039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:53:02.484929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/36/image_29112025_20_36_25_9708.jpg', '/home/pi/Desktop/images/29112025/20/36/image_29112025_20_36_35_9937.jpg', '/home/pi/Desktop/images/29112025/20/36/image_29112025_20_36_46_10805.jpg', '/home/pi/Desktop/images/29112025/20/36/image_29112025_20_36_55_9575.jpg', '/home/pi/Desktop/images/29112025/20/36/image_29112025_20_37_05_9730.jpg', '/home/pi/Desktop/images/29112025/20/37/image_29112025_20_37_15_9974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/36/image_29112025_20_36_25_9708.jpg
/home/pi/Desktop/images/29112025/20/36/image_29112025_20_36_35_9937.jpg
/home/pi/Desktop/images/29112025/20/36/image_29112025_20_36_46_10805.jpg
/home/pi/Desktop/images/29112025/20/36/image_29112025_20_36_55_9575.jpg
/home/pi/Desktop/images/29112025/20/36/image_29112025_20_37_05_9730.jpg
/home/pi/Desktop/images/29112025/20/37/image_29112025_20_37_15_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":["1396945958","1396945961","1396945955","1396945943","1396945945","1396945956"],"photo_ids_order":["1396945943","1396945945","1396945955","1396945956","1396945958","1396945961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd7e5e76a30a7ff9514efcb12536b903.jpg","text":"TemporaryFile(/tmp/multipartBody2884458976470602779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446043224,"filename":"image_29112025_20_37_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c5b2098be658659f6de7029ff249836.jpg","text":"TemporaryFile(/tmp/multipartBody3235449068677981946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446043224,"filename":"image_29112025_20_37_15_9974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6501503d1ccf16ca764cd7c801f3a439.jpg","text":"TemporaryFile(/tmp/multipartBody4517149565650128807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446043224,"filename":"image_29112025_20_36_46_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/248c902666953a7a2f7a6550b111cd56.jpg","text":"TemporaryFile(/tmp/multipartBody756993729565810968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446043224,"filename":"image_29112025_20_36_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/11/29/3ca491d38c15594ba1f5aadb49db91ef.jpg","text":"TemporaryFile(/tmp/multipartBody8378295080470643604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446043224,"filename":"image_29112025_20_36_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/11/29/0fcd1cf36a48771e67639c5e560d4826.jpg","text":"TemporaryFile(/tmp/multipartBody4535819990341478317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446043224,"filename":"image_29112025_20_36_55_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945955","file1":"1396945945","file0":"1396945943","file4":"1396945958","file5":"1396945961","file3":"1396945956"},"map_files_photo_id_array":[{"photo_id":"1396945961","filename":"file5"},{"photo_id":"1396945955","filename":"file2"},{"photo_id":"1396945958","filename":"file4"},{"photo_id":"1396945945","filename":"file1"},{"photo_id":"1396945943","filename":"file0"},{"photo_id":"1396945956","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945958":["hashtag1","hashtag2"]},{"1396945961":["hashtag1","hashtag2"]},{"1396945955":["hashtag1","hashtag2"]},{"1396945943":["hashtag1","hashtag2"]},{"1396945945":["hashtag1","hashtag2"]},{"1396945956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945958, 1396945961, 1396945955, 1396945943, 1396945945, 1396945956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.522435903549194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:53:41.811440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_56_2619.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_08_2565.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_11_3765.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_14_2574.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_17_2866.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_19_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/10/48/image_31102025_10_48_56_2619.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_08_2565.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_11_3765.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_14_2574.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_17_2866.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_19_2650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0072345733642578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:54:02.651965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/37/image_29112025_20_37_26_10734.jpg', '/home/pi/Desktop/images/29112025/20/37/image_29112025_20_37_35_9677.jpg', '/home/pi/Desktop/images/29112025/20/37/image_29112025_20_37_45_9825.jpg', '/home/pi/Desktop/images/29112025/20/37/image_29112025_20_37_55_9621.jpg', '/home/pi/Desktop/images/29112025/20/37/image_29112025_20_38_05_10591.jpg', '/home/pi/Desktop/images/29112025/20/38/image_29112025_20_38_15_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/37/image_29112025_20_37_26_10734.jpg
/home/pi/Desktop/images/29112025/20/37/image_29112025_20_37_35_9677.jpg
/home/pi/Desktop/images/29112025/20/37/image_29112025_20_37_45_9825.jpg
/home/pi/Desktop/images/29112025/20/37/image_29112025_20_37_55_9621.jpg
/home/pi/Desktop/images/29112025/20/37/image_29112025_20_38_05_10591.jpg
/home/pi/Desktop/images/29112025/20/38/image_29112025_20_38_15_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":["1396945976","1396945975","1396945978","1396945983","1396945980","1396945977"],"photo_ids_order":["1396945975","1396945976","1396945977","1396945978","1396945980","1396945983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffe8e24cad96d4834d887b359ec72124.jpg","text":"TemporaryFile(/tmp/multipartBody9044136818413556126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446103383,"filename":"image_29112025_20_37_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/11/29/7856a8ccca50776236b01b7f5a500ee9.jpg","text":"TemporaryFile(/tmp/multipartBody4389089064230264554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446103383,"filename":"image_29112025_20_37_26_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ef0de6905fccf2c5a438cd9d5a421a9.jpg","text":"TemporaryFile(/tmp/multipartBody1320096347121634575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446103383,"filename":"image_29112025_20_37_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/11/29/532395b16aac5fe44398ccd3074114c0.jpg","text":"TemporaryFile(/tmp/multipartBody6762158235843904916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446103383,"filename":"image_29112025_20_38_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/11/29/c6710ad023df3e0a97ddefe0ddcbfff8.jpg","text":"TemporaryFile(/tmp/multipartBody8788812206489927151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446103383,"filename":"image_29112025_20_38_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/11/29/c61bec9604b1a9569ee842e6abdba927.jpg","text":"TemporaryFile(/tmp/multipartBody2044628991520794943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446103383,"filename":"image_29112025_20_37_45_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945977","file1":"1396945976","file0":"1396945975","file4":"1396945980","file5":"1396945983","file3":"1396945978"},"map_files_photo_id_array":[{"photo_id":"1396945983","filename":"file5"},{"photo_id":"1396945977","filename":"file2"},{"photo_id":"1396945980","filename":"file4"},{"photo_id":"1396945976","filename":"file1"},{"photo_id":"1396945975","filename":"file0"},{"photo_id":"1396945978","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396945976":["hashtag1","hashtag2"]},{"1396945975":["hashtag1","hashtag2"]},{"1396945978":["hashtag1","hashtag2"]},{"1396945983":["hashtag1","hashtag2"]},{"1396945980":["hashtag1","hashtag2"]},{"1396945977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396945976, 1396945975, 1396945978, 1396945983, 1396945980, 1396945977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70190453529358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:54:42.100422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/48/image_31102025_10_48_56_2619.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_08_2565.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_11_3765.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_14_2574.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_17_2866.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_19_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/10/48/image_31102025_10_48_56_2619.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_08_2565.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_11_3765.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_14_2574.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_17_2866.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_19_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":["1396945997","1396945991","1396945990","1396945993","1396945995","1396945994"],"photo_ids_order":["1396945990","1396945991","1396945993","1396945994","1396945995","1396945997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7cfc4e76ef475f0e26e393c29dd327a4.jpg","text":"TemporaryFile(/tmp/multipartBody5542291340619966392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446143059,"filename":"image_31102025_10_49_19_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f5e2ed94e2e0985284a3e70c1380095.jpg","text":"TemporaryFile(/tmp/multipartBody2448137516559216556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446143059,"filename":"image_31102025_10_49_08_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c4a64fc422f2310684828931b2dd1ff.jpg","text":"TemporaryFile(/tmp/multipartBody2757070230534800776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446143059,"filename":"image_31102025_10_48_56_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/141410a6ac8981a5d14385ce12f4575c.jpg","text":"TemporaryFile(/tmp/multipartBody728707038231837732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446143059,"filename":"image_31102025_10_49_11_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c59bc42ca3bcd38e4150abbbbd67f8f8.jpg","text":"TemporaryFile(/tmp/multipartBody1552856128652612567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446143059,"filename":"image_31102025_10_49_17_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74da04ef01be33de774c381cbaf39a52.jpg","text":"TemporaryFile(/tmp/multipartBody4550036895340347968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446143059,"filename":"image_31102025_10_49_14_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396945993","file1":"1396945991","file0":"1396945990","file4":"1396945995","file5":"1396945997","file3":"1396945994"},"map_files_photo_id_array":[{"photo_id":"1396945997","filename":"file5"},{"photo_id":"1396945993","filename":"file2"},{"photo_id":"1396945995","filename":"file4"},{"photo_id":"1396945991","filename":"file1"},{"photo_id":"1396945990","filename":"file0"},{"photo_id":"1396945994","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396945997":["hashtag1","hashtag2"]},{"1396945991":["hashtag1","hashtag2"]},{"1396945990":["hashtag1","hashtag2"]},{"1396945993":["hashtag1","hashtag2"]},{"1396945995":["hashtag1","hashtag2"]},{"1396945994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396945997, 1396945991, 1396945990, 1396945993, 1396945995, 1396945994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02465748786926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:55:22.295516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/38/image_29112025_20_38_26_10582.jpg', '/home/pi/Desktop/images/29112025/20/38/image_29112025_20_38_35_9618.jpg', '/home/pi/Desktop/images/29112025/20/38/image_29112025_20_38_45_9730.jpg', '/home/pi/Desktop/images/29112025/20/38/image_29112025_20_38_55_9684.jpg', '/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_09_14296.jpg', '/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_16_6590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/38/image_29112025_20_38_26_10582.jpg
/home/pi/Desktop/images/29112025/20/38/image_29112025_20_38_35_9618.jpg
/home/pi/Desktop/images/29112025/20/38/image_29112025_20_38_45_9730.jpg
/home/pi/Desktop/images/29112025/20/38/image_29112025_20_38_55_9684.jpg
/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_09_14296.jpg
/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_16_6590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396946012","1396946011","1396946005","1396946014","1396946008","1396946002"],"photo_ids_order":["1396946002","1396946005","1396946008","1396946011","1396946012","1396946014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99f159c86a153ef6c556fbc18dc68da7.jpg","text":"TemporaryFile(/tmp/multipartBody7767352573636242436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446182973,"filename":"image_29112025_20_39_09_14296.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db996418c8ead45443395f66c7f4ba2d.jpg","text":"TemporaryFile(/tmp/multipartBody2635067027557290342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446182973,"filename":"image_29112025_20_38_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/11/29/3ed609ae8e5e0cf6e53c06ce073b9439.jpg","text":"TemporaryFile(/tmp/multipartBody1107896558332741816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446182973,"filename":"image_29112025_20_38_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/11/29/dc63b94d39b8738484779a7b6bb2577b.jpg","text":"TemporaryFile(/tmp/multipartBody7795455049579971884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446182973,"filename":"image_29112025_20_39_16_6590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41067d4717bb388588701f03201b9caa.jpg","text":"TemporaryFile(/tmp/multipartBody4626553057033535302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446182973,"filename":"image_29112025_20_38_45_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85195d20319359a1a026049b10a56844.jpg","text":"TemporaryFile(/tmp/multipartBody6779625377257995737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446182973,"filename":"image_29112025_20_38_26_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396946008","file1":"1396946005","file0":"1396946002","file4":"1396946012","file5":"1396946014","file3":"1396946011"},"map_files_photo_id_array":[{"photo_id":"1396946014","filename":"file5"},{"photo_id":"1396946008","filename":"file2"},{"photo_id":"1396946012","filename":"file4"},{"photo_id":"1396946005","filename":"file1"},{"photo_id":"1396946002","filename":"file0"},{"photo_id":"1396946011","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396946012":["hashtag1","hashtag2"]},{"1396946011":["hashtag1","hashtag2"]},{"1396946005":["hashtag1","hashtag2"]},{"1396946014":["hashtag1","hashtag2"]},{"1396946008":["hashtag1","hashtag2"]},{"1396946002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396946012, 1396946011, 1396946005, 1396946014, 1396946008, 1396946002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05010461807251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:56:02.945453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_26_9831.jpg', '/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_35_9819.jpg', '/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_45_9712.jpg', '/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_56_10711.jpg', '/home/pi/Desktop/images/29112025/20/39/image_29112025_20_40_05_9671.jpg', '/home/pi/Desktop/images/29112025/20/40/image_29112025_20_40_15_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_26_9831.jpg
/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_35_9819.jpg
/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_45_9712.jpg
/home/pi/Desktop/images/29112025/20/39/image_29112025_20_39_56_10711.jpg
/home/pi/Desktop/images/29112025/20/39/image_29112025_20_40_05_9671.jpg
/home/pi/Desktop/images/29112025/20/40/image_29112025_20_40_15_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":["1396946015","1396946018","1396946023","1396946017","1396946020","1396946016"],"photo_ids_order":["1396946015","1396946016","1396946017","1396946018","1396946020","1396946023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e2baf7eebffd1f25b6823ead065a552.jpg","text":"TemporaryFile(/tmp/multipartBody8969940856966113136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446223636,"filename":"image_29112025_20_39_26_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ceb6472e70cfe51cd2cc7353d073e3cd.jpg","text":"TemporaryFile(/tmp/multipartBody3406596307510791900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446223636,"filename":"image_29112025_20_39_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/11/29/72e0f05560aca672e5c2e02dc3598bd6.jpg","text":"TemporaryFile(/tmp/multipartBody8166176847882457882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446223636,"filename":"image_29112025_20_40_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/11/29/3e40745996622ff51141e737b9767f8a.jpg","text":"TemporaryFile(/tmp/multipartBody502493805378487141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446223636,"filename":"image_29112025_20_39_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/11/29/3af3b37234c5bb2565ef34026daab602.jpg","text":"TemporaryFile(/tmp/multipartBody7480224648773400785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446223636,"filename":"image_29112025_20_40_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/11/29/72e006d286de709784b0ebc75e45af91.jpg","text":"TemporaryFile(/tmp/multipartBody5162633460699627144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446223636,"filename":"image_29112025_20_39_35_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396946017","file1":"1396946016","file0":"1396946015","file4":"1396946020","file5":"1396946023","file3":"1396946018"},"map_files_photo_id_array":[{"photo_id":"1396946023","filename":"file5"},{"photo_id":"1396946017","filename":"file2"},{"photo_id":"1396946020","filename":"file4"},{"photo_id":"1396946016","filename":"file1"},{"photo_id":"1396946015","filename":"file0"},{"photo_id":"1396946018","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396946015":["hashtag1","hashtag2"]},{"1396946018":["hashtag1","hashtag2"]},{"1396946023":["hashtag1","hashtag2"]},{"1396946017":["hashtag1","hashtag2"]},{"1396946020":["hashtag1","hashtag2"]},{"1396946016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396946015, 1396946018, 1396946023, 1396946017, 1396946020, 1396946016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7026686668396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:56:42.450468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_23_3599.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_26_2630.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_29_3636.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_32_2673.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_35_2684.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_38_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_23_3599.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_26_2630.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_29_3636.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_32_2673.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_35_2684.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_38_3568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396946033","1396946035","1396946032","1396946029","1396946034","1396946031"],"photo_ids_order":["1396946029","1396946031","1396946032","1396946033","1396946034","1396946035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5faf617676352afc0f77119e4665724.jpg","text":"TemporaryFile(/tmp/multipartBody4726491913848409863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446263612,"filename":"image_31102025_10_49_32_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d71c2c14b100b67765744cd5413c204e.jpg","text":"TemporaryFile(/tmp/multipartBody504280481163665442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446263612,"filename":"image_31102025_10_49_38_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2659f048a18455c5d822db12d6238ded.jpg","text":"TemporaryFile(/tmp/multipartBody8224074629096204423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446263612,"filename":"image_31102025_10_49_29_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/200bd707ed6ef1134a31c577491148f0.jpg","text":"TemporaryFile(/tmp/multipartBody2086660739591487005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446263612,"filename":"image_31102025_10_49_23_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96bc56957b969da6ad5b461bedc8f924.jpg","text":"TemporaryFile(/tmp/multipartBody4167287748475583991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446263612,"filename":"image_31102025_10_49_35_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f17d7e617bdf13035c0a6e8697db50a1.jpg","text":"TemporaryFile(/tmp/multipartBody2038255009766251870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446263612,"filename":"image_31102025_10_49_26_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396946032","file1":"1396946031","file0":"1396946029","file4":"1396946034","file5":"1396946035","file3":"1396946033"},"map_files_photo_id_array":[{"photo_id":"1396946035","filename":"file5"},{"photo_id":"1396946032","filename":"file2"},{"photo_id":"1396946034","filename":"file4"},{"photo_id":"1396946031","filename":"file1"},{"photo_id":"1396946029","filename":"file0"},{"photo_id":"1396946033","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396946033":["hashtag1","hashtag2"]},{"1396946035":["hashtag1","hashtag2"]},{"1396946032":["hashtag1","hashtag2"]},{"1396946029":["hashtag1","hashtag2"]},{"1396946034":["hashtag1","hashtag2"]},{"1396946031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396946033, 1396946035, 1396946032, 1396946029, 1396946034, 1396946031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.409504413604736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 20:57:22.581829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/40/image_29112025_20_40_26_10684.jpg', '/home/pi/Desktop/images/29112025/20/40/image_29112025_20_40_35_9685.jpg', '/home/pi/Desktop/images/29112025/20/40/image_29112025_20_40_45_9517.jpg', '/home/pi/Desktop/images/29112025/20/40/image_29112025_20_40_55_9836.jpg', '/home/pi/Desktop/images/29112025/20/40/image_29112025_20_41_05_10547.jpg', '/home/pi/Desktop/images/29112025/20/41/image_29112025_20_41_15_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/40/image_29112025_20_40_26_10684.jpg
/home/pi/Desktop/images/29112025/20/40/image_29112025_20_40_35_9685.jpg
/home/pi/Desktop/images/29112025/20/40/image_29112025_20_40_45_9517.jpg
/home/pi/Desktop/images/29112025/20/40/image_29112025_20_40_55_9836.jpg
/home/pi/Desktop/images/29112025/20/40/image_29112025_20_41_05_10547.jpg
/home/pi/Desktop/images/29112025/20/41/image_29112025_20_41_15_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396946039","1396946042","1396946050","1396946047","1396946046","1396946043"],"photo_ids_order":["1396946039","1396946042","1396946043","1396946046","1396946047","1396946050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf47a2d712467ebdc19baafce7c4193a.jpg","text":"TemporaryFile(/tmp/multipartBody906420106695765992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446303259,"filename":"image_29112025_20_40_26_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32396865608821b21a033a256855bbca.jpg","text":"TemporaryFile(/tmp/multipartBody6790832731353396386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446303259,"filename":"image_29112025_20_40_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/11/29/2e2138e35609f45c85914027e584d646.jpg","text":"TemporaryFile(/tmp/multipartBody3628700005326799859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446303259,"filename":"image_29112025_20_41_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e770b2ab9a31ec1ee4f7940e3c7f622e.jpg","text":"TemporaryFile(/tmp/multipartBody5530322106176395870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446303259,"filename":"image_29112025_20_41_05_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29d5d86bc9972a95196b9c1e8934e4a4.jpg","text":"TemporaryFile(/tmp/multipartBody1227411453392394986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446303259,"filename":"image_29112025_20_40_55_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/630fa943ff1cc869d772377ecfa4f5ac.jpg","text":"TemporaryFile(/tmp/multipartBody7668217049422573204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446303259,"filename":"image_29112025_20_40_45_9517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396946043","file1":"1396946042","file0":"1396946039","file4":"1396946047","file5":"1396946050","file3":"1396946046"},"map_files_photo_id_array":[{"photo_id":"1396946050","filename":"file5"},{"photo_id":"1396946043","filename":"file2"},{"photo_id":"1396946047","filename":"file4"},{"photo_id":"1396946042","filename":"file1"},{"photo_id":"1396946039","filename":"file0"},{"photo_id":"1396946046","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396946039":["hashtag1","hashtag2"]},{"1396946042":["hashtag1","hashtag2"]},{"1396946050":["hashtag1","hashtag2"]},{"1396946047":["hashtag1","hashtag2"]},{"1396946046":["hashtag1","hashtag2"]},{"1396946043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396946039, 1396946042, 1396946050, 1396946047, 1396946046, 1396946043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79548764228821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 20:59:02.610156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/41/image_29112025_20_41_26_10734.jpg', '/home/pi/Desktop/images/29112025/20/41/image_29112025_20_41_35_9705.jpg', '/home/pi/Desktop/images/29112025/20/41/image_29112025_20_41_45_9636.jpg', '/home/pi/Desktop/images/29112025/20/41/image_29112025_20_41_56_10605.jpg', '/home/pi/Desktop/images/29112025/20/41/image_29112025_20_42_06_9839.jpg', '/home/pi/Desktop/images/29112025/20/42/image_29112025_20_42_15_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/41/image_29112025_20_41_26_10734.jpg
/home/pi/Desktop/images/29112025/20/41/image_29112025_20_41_35_9705.jpg
/home/pi/Desktop/images/29112025/20/41/image_29112025_20_41_45_9636.jpg
/home/pi/Desktop/images/29112025/20/41/image_29112025_20_41_56_10605.jpg
/home/pi/Desktop/images/29112025/20/41/image_29112025_20_42_06_9839.jpg
/home/pi/Desktop/images/29112025/20/42/image_29112025_20_42_15_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":["1396946791","1396946504","1396946426","1396946581","1396946719","1396946651"],"photo_ids_order":["1396946426","1396946504","1396946581","1396946651","1396946719","1396946791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afc38e2570c2fbb5d1b3a06d4ae5aaf5.jpg","text":"TemporaryFile(/tmp/multipartBody5692720498402290349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446403378,"filename":"image_29112025_20_42_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/11/29/f0ded1970dff2ff0b8126647786c9e3a.jpg","text":"TemporaryFile(/tmp/multipartBody5776465354609873042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446403378,"filename":"image_29112025_20_41_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/11/29/f29732c5c8d3b0d96cdf070319c52ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7747560085621230477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446403378,"filename":"image_29112025_20_41_26_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0bd521f88f8a3e214c8a1b3dd941cc2a.jpg","text":"TemporaryFile(/tmp/multipartBody8953916240272813613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446403378,"filename":"image_29112025_20_41_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51392492892cebeb6882ae391f1d9533.jpg","text":"TemporaryFile(/tmp/multipartBody8096103289817768247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446403378,"filename":"image_29112025_20_42_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/11/29/4972af24b951cee4b8f22f0dedd28f5b.jpg","text":"TemporaryFile(/tmp/multipartBody1716618809097995118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446403378,"filename":"image_29112025_20_41_56_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396946581","file1":"1396946504","file0":"1396946426","file4":"1396946719","file5":"1396946791","file3":"1396946651"},"map_files_photo_id_array":[{"photo_id":"1396946791","filename":"file5"},{"photo_id":"1396946581","filename":"file2"},{"photo_id":"1396946719","filename":"file4"},{"photo_id":"1396946504","filename":"file1"},{"photo_id":"1396946426","filename":"file0"},{"photo_id":"1396946651","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396946791":["hashtag1","hashtag2"]},{"1396946504":["hashtag1","hashtag2"]},{"1396946426":["hashtag1","hashtag2"]},{"1396946581":["hashtag1","hashtag2"]},{"1396946719":["hashtag1","hashtag2"]},{"1396946651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396946791, 1396946504, 1396946426, 1396946581, 1396946719, 1396946651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12185525894165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 20:59:42.092874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_41_2692.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_44_2665.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_46_2760.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_50_3776.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_53_2742.jpg', '/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_56_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/10/49/image_31102025_10_49_41_2692.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_44_2665.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_46_2760.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_50_3776.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_53_2742.jpg
/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_56_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":["1396947187","1396947052","1396947148","1396947261","1396947225","1396947108"],"photo_ids_order":["1396947052","1396947108","1396947148","1396947187","1396947225","1396947261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa227cc0fdc9e64a1d4551d0d1d3c042.jpg","text":"TemporaryFile(/tmp/multipartBody306097428301391300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446443195,"filename":"image_31102025_10_49_50_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed01db0f04085e47b2338935e9f53a12.jpg","text":"TemporaryFile(/tmp/multipartBody4597493996414254442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446443195,"filename":"image_31102025_10_49_41_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/56c6b0efec85d6115ba8eb7f72982d44.jpg","text":"TemporaryFile(/tmp/multipartBody7311898934400470181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446443195,"filename":"image_31102025_10_49_46_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/953907b50e6232e4ae3b617c1fa0244f.jpg","text":"TemporaryFile(/tmp/multipartBody429950231938603381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446443195,"filename":"image_31102025_10_49_56_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b0ef73edb9f554a5491db50853bd5c8.jpg","text":"TemporaryFile(/tmp/multipartBody7873108866463663733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446443195,"filename":"image_31102025_10_49_53_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/991e7babacee0dc05e2bfeaf7f18f228.jpg","text":"TemporaryFile(/tmp/multipartBody603103230770032777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446443195,"filename":"image_31102025_10_49_44_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396947148","file1":"1396947108","file0":"1396947052","file4":"1396947225","file5":"1396947261","file3":"1396947187"},"map_files_photo_id_array":[{"photo_id":"1396947261","filename":"file5"},{"photo_id":"1396947148","filename":"file2"},{"photo_id":"1396947225","filename":"file4"},{"photo_id":"1396947108","filename":"file1"},{"photo_id":"1396947052","filename":"file0"},{"photo_id":"1396947187","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396947187":["hashtag1","hashtag2"]},{"1396947052":["hashtag1","hashtag2"]},{"1396947148":["hashtag1","hashtag2"]},{"1396947261":["hashtag1","hashtag2"]},{"1396947225":["hashtag1","hashtag2"]},{"1396947108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396947187, 1396947052, 1396947148, 1396947261, 1396947225, 1396947108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28143787384033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:00:22.269501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/42/image_29112025_20_42_25_9634.jpg', '/home/pi/Desktop/images/29112025/20/42/image_29112025_20_42_35_10114.jpg', '/home/pi/Desktop/images/29112025/20/42/image_29112025_20_42_46_10657.jpg', '/home/pi/Desktop/images/29112025/20/42/image_29112025_20_42_55_9661.jpg', '/home/pi/Desktop/images/29112025/20/42/image_29112025_20_43_05_9758.jpg', '/home/pi/Desktop/images/29112025/20/43/image_29112025_20_43_16_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/42/image_29112025_20_42_25_9634.jpg
/home/pi/Desktop/images/29112025/20/42/image_29112025_20_42_35_10114.jpg
/home/pi/Desktop/images/29112025/20/42/image_29112025_20_42_46_10657.jpg
/home/pi/Desktop/images/29112025/20/42/image_29112025_20_42_55_9661.jpg
/home/pi/Desktop/images/29112025/20/42/image_29112025_20_43_05_9758.jpg
/home/pi/Desktop/images/29112025/20/43/image_29112025_20_43_16_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":["1396947544","1396947681","1396947613","1396947477","1396947408","1396947374"],"photo_ids_order":["1396947374","1396947408","1396947477","1396947544","1396947613","1396947681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22b3e30b1b6693bac12a63e7436060e4.jpg","text":"TemporaryFile(/tmp/multipartBody1804140024961856452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446482948,"filename":"image_29112025_20_42_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/158b4c6fb047b98727be3e84da32891e.jpg","text":"TemporaryFile(/tmp/multipartBody489793812974037461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446482948,"filename":"image_29112025_20_43_16_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d29cc106a7c752be63d4cac831fd0a6c.jpg","text":"TemporaryFile(/tmp/multipartBody648910871247403169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446482948,"filename":"image_29112025_20_43_05_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b82cc61d851a9cf1e7035ad1fca69043.jpg","text":"TemporaryFile(/tmp/multipartBody3979388415638052588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446482948,"filename":"image_29112025_20_42_46_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9842a6a9b7eb53163b3202a0da4301c.jpg","text":"TemporaryFile(/tmp/multipartBody6395319796110397387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446482948,"filename":"image_29112025_20_42_35_10114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b40ea949d66d478eca3b8a941f4740b1.jpg","text":"TemporaryFile(/tmp/multipartBody4815067135432515942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446482948,"filename":"image_29112025_20_42_25_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396947477","file1":"1396947408","file0":"1396947374","file4":"1396947613","file5":"1396947681","file3":"1396947544"},"map_files_photo_id_array":[{"photo_id":"1396947681","filename":"file5"},{"photo_id":"1396947477","filename":"file2"},{"photo_id":"1396947613","filename":"file4"},{"photo_id":"1396947408","filename":"file1"},{"photo_id":"1396947374","filename":"file0"},{"photo_id":"1396947544","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396947544":["hashtag1","hashtag2"]},{"1396947681":["hashtag1","hashtag2"]},{"1396947613":["hashtag1","hashtag2"]},{"1396947477":["hashtag1","hashtag2"]},{"1396947408":["hashtag1","hashtag2"]},{"1396947374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396947544, 1396947681, 1396947613, 1396947477, 1396947408, 1396947374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09705638885498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:01:03.193953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/43/image_29112025_20_43_25_9774.jpg', '/home/pi/Desktop/images/29112025/20/43/image_29112025_20_43_35_9678.jpg', '/home/pi/Desktop/images/29112025/20/43/image_29112025_20_43_46_10575.jpg', '/home/pi/Desktop/images/29112025/20/43/image_29112025_20_43_55_9646.jpg', '/home/pi/Desktop/images/29112025/20/43/image_29112025_20_44_05_9626.jpg', '/home/pi/Desktop/images/29112025/20/44/image_29112025_20_44_15_10017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/43/image_29112025_20_43_25_9774.jpg
/home/pi/Desktop/images/29112025/20/43/image_29112025_20_43_35_9678.jpg
/home/pi/Desktop/images/29112025/20/43/image_29112025_20_43_46_10575.jpg
/home/pi/Desktop/images/29112025/20/43/image_29112025_20_43_55_9646.jpg
/home/pi/Desktop/images/29112025/20/43/image_29112025_20_44_05_9626.jpg
/home/pi/Desktop/images/29112025/20/44/image_29112025_20_44_15_10017.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396948402","1396948284","1396948359","1396948193","1396948119","1396948025"],"photo_ids_order":["1396948025","1396948119","1396948193","1396948284","1396948359","1396948402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e5d04debf87066774e21c6539987d461.jpg","text":"TemporaryFile(/tmp/multipartBody5283763680884187399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446523945,"filename":"image_29112025_20_44_15_10017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/57cd81c4364c5a076c0aaa9956188514.jpg","text":"TemporaryFile(/tmp/multipartBody1414217890110626817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446523945,"filename":"image_29112025_20_43_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/11/29/3f8bea4106c21b033065f527367109d1.jpg","text":"TemporaryFile(/tmp/multipartBody851072984984888413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446523945,"filename":"image_29112025_20_44_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/11/29/337b7658759418b7d0a87291b8ae310b.jpg","text":"TemporaryFile(/tmp/multipartBody3406457141455029539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446523945,"filename":"image_29112025_20_43_46_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/98caba80c062fb73980116c6cd31cb58.jpg","text":"TemporaryFile(/tmp/multipartBody1392228410824371034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446523945,"filename":"image_29112025_20_43_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/11/29/ad0c506b915d88e4b1f000c1235a2c5f.jpg","text":"TemporaryFile(/tmp/multipartBody7607714010040547941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446523945,"filename":"image_29112025_20_43_25_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396948193","file1":"1396948119","file0":"1396948025","file4":"1396948359","file5":"1396948402","file3":"1396948284"},"map_files_photo_id_array":[{"photo_id":"1396948402","filename":"file5"},{"photo_id":"1396948193","filename":"file2"},{"photo_id":"1396948359","filename":"file4"},{"photo_id":"1396948119","filename":"file1"},{"photo_id":"1396948025","filename":"file0"},{"photo_id":"1396948284","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396948402":["hashtag1","hashtag2"]},{"1396948284":["hashtag1","hashtag2"]},{"1396948359":["hashtag1","hashtag2"]},{"1396948193":["hashtag1","hashtag2"]},{"1396948119":["hashtag1","hashtag2"]},{"1396948025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396948402, 1396948284, 1396948359, 1396948193, 1396948119, 1396948025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.578524112701416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:01:42.585996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/49/image_31102025_10_49_59_3582.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_07_3012.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_11_3572.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_13_2653.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_16_2830.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_20_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/10/49/image_31102025_10_49_59_3582.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_07_3012.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_11_3572.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_13_2653.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_16_2830.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_20_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":["1396948587","1396948632","1396948586","1396948631","1396948619","1396948630"],"photo_ids_order":["1396948586","1396948587","1396948619","1396948630","1396948631","1396948632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ee747ca8ca4d824162352844a4721cc.jpg","text":"TemporaryFile(/tmp/multipartBody1990686109381259349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446563730,"filename":"image_31102025_10_50_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c501191897af3b2bf19ad8289cee94b6.jpg","text":"TemporaryFile(/tmp/multipartBody8570865193362736022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446563730,"filename":"image_31102025_10_50_20_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/21a27916d3645bd1811579649077bd33.jpg","text":"TemporaryFile(/tmp/multipartBody4773153017049477252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446563730,"filename":"image_31102025_10_49_59_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e15f2d69b40f7615023d3a5b2eacd84e.jpg","text":"TemporaryFile(/tmp/multipartBody4912829815122135821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446563730,"filename":"image_31102025_10_50_16_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1936a933a1b8ba82fe53dfa72c558a69.jpg","text":"TemporaryFile(/tmp/multipartBody288385530453774751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446563730,"filename":"image_31102025_10_50_11_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16b6a6d083c4c6e6b9160112e62ff015.jpg","text":"TemporaryFile(/tmp/multipartBody3259522112103652218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446563730,"filename":"image_31102025_10_50_13_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396948619","file1":"1396948587","file0":"1396948586","file4":"1396948631","file5":"1396948632","file3":"1396948630"},"map_files_photo_id_array":[{"photo_id":"1396948632","filename":"file5"},{"photo_id":"1396948619","filename":"file2"},{"photo_id":"1396948631","filename":"file4"},{"photo_id":"1396948587","filename":"file1"},{"photo_id":"1396948586","filename":"file0"},{"photo_id":"1396948630","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396948587":["hashtag1","hashtag2"]},{"1396948632":["hashtag1","hashtag2"]},{"1396948586":["hashtag1","hashtag2"]},{"1396948631":["hashtag1","hashtag2"]},{"1396948619":["hashtag1","hashtag2"]},{"1396948630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396948587, 1396948632, 1396948586, 1396948631, 1396948619, 1396948630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.338133811950684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:02:22.797632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/44/image_29112025_20_44_26_10711.jpg', '/home/pi/Desktop/images/29112025/20/44/image_29112025_20_44_35_9545.jpg', '/home/pi/Desktop/images/29112025/20/44/image_29112025_20_44_45_9787.jpg', '/home/pi/Desktop/images/29112025/20/44/image_29112025_20_44_56_10688.jpg', '/home/pi/Desktop/images/29112025/20/44/image_29112025_20_45_05_9544.jpg', '/home/pi/Desktop/images/29112025/20/45/image_29112025_20_45_15_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/44/image_29112025_20_44_26_10711.jpg
/home/pi/Desktop/images/29112025/20/44/image_29112025_20_44_35_9545.jpg
/home/pi/Desktop/images/29112025/20/44/image_29112025_20_44_45_9787.jpg
/home/pi/Desktop/images/29112025/20/44/image_29112025_20_44_56_10688.jpg
/home/pi/Desktop/images/29112025/20/44/image_29112025_20_45_05_9544.jpg
/home/pi/Desktop/images/29112025/20/45/image_29112025_20_45_15_9969.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396948842","1396948764","1396948833","1396948728","1396948800","1396948690"],"photo_ids_order":["1396948690","1396948728","1396948764","1396948800","1396948833","1396948842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5b02627bcc19eaf0c5726c79b829b88b.jpg","text":"TemporaryFile(/tmp/multipartBody2262004072507248490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446603478,"filename":"image_29112025_20_45_15_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0dbf01498b5ce1367399bdf24a64eb98.jpg","text":"TemporaryFile(/tmp/multipartBody3046756214867160734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446603478,"filename":"image_29112025_20_44_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/11/29/90d99650c62825e891c986750d6d5d36.jpg","text":"TemporaryFile(/tmp/multipartBody7971204802870504222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446603478,"filename":"image_29112025_20_45_05_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bd86e731a1ae2c59c651fbe5fe00513.jpg","text":"TemporaryFile(/tmp/multipartBody8080462878411525554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446603478,"filename":"image_29112025_20_44_35_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2a69a8ff5a82046ae34c4da12ed3fa1.jpg","text":"TemporaryFile(/tmp/multipartBody5567539324646616917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446603478,"filename":"image_29112025_20_44_56_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff9fcbe79cba53297cf08c70dabee808.jpg","text":"TemporaryFile(/tmp/multipartBody8653771403407071480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446603478,"filename":"image_29112025_20_44_26_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396948764","file1":"1396948728","file0":"1396948690","file4":"1396948833","file5":"1396948842","file3":"1396948800"},"map_files_photo_id_array":[{"photo_id":"1396948842","filename":"file5"},{"photo_id":"1396948764","filename":"file2"},{"photo_id":"1396948833","filename":"file4"},{"photo_id":"1396948728","filename":"file1"},{"photo_id":"1396948690","filename":"file0"},{"photo_id":"1396948800","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396948842":["hashtag1","hashtag2"]},{"1396948764":["hashtag1","hashtag2"]},{"1396948833":["hashtag1","hashtag2"]},{"1396948728":["hashtag1","hashtag2"]},{"1396948800":["hashtag1","hashtag2"]},{"1396948690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396948842, 1396948764, 1396948833, 1396948728, 1396948800, 1396948690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.600377559661865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:03:02.653119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/45/image_29112025_20_45_25_9662.jpg', '/home/pi/Desktop/images/29112025/20/45/image_29112025_20_45_36_10806.jpg', '/home/pi/Desktop/images/29112025/20/45/image_29112025_20_45_46_9913.jpg', '/home/pi/Desktop/images/29112025/20/45/image_29112025_20_45_55_9682.jpg', '/home/pi/Desktop/images/29112025/20/45/image_29112025_20_46_05_9652.jpg', '/home/pi/Desktop/images/29112025/20/46/image_29112025_20_46_15_9899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/45/image_29112025_20_45_25_9662.jpg
/home/pi/Desktop/images/29112025/20/45/image_29112025_20_45_36_10806.jpg
/home/pi/Desktop/images/29112025/20/45/image_29112025_20_45_46_9913.jpg
/home/pi/Desktop/images/29112025/20/45/image_29112025_20_45_55_9682.jpg
/home/pi/Desktop/images/29112025/20/45/image_29112025_20_46_05_9652.jpg
/home/pi/Desktop/images/29112025/20/46/image_29112025_20_46_15_9899.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396948927","1396948932","1396948881","1396948934","1396948937","1396948894"],"photo_ids_order":["1396948881","1396948894","1396948927","1396948932","1396948934","1396948937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a336c323338d8423ae86754103c51d15.jpg","text":"TemporaryFile(/tmp/multipartBody3325821511035371975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446643444,"filename":"image_29112025_20_45_46_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17df4d7b6941566ff0e1462d9aa22da2.jpg","text":"TemporaryFile(/tmp/multipartBody3081221290217647400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446643444,"filename":"image_29112025_20_45_55_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62dda1d479abf075f26f01aa90d045c8.jpg","text":"TemporaryFile(/tmp/multipartBody8137657234904782569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446643444,"filename":"image_29112025_20_45_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/11/29/22703cccb35e5541cc32aed69ed46d9f.jpg","text":"TemporaryFile(/tmp/multipartBody6042459299133802321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446643444,"filename":"image_29112025_20_46_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/11/29/23bc2588e8a14e5ffc47ca13c656dc7e.jpg","text":"TemporaryFile(/tmp/multipartBody3054881358483951144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446643444,"filename":"image_29112025_20_46_15_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3668561dd5c8bbbf3eb0ae8df11beb44.jpg","text":"TemporaryFile(/tmp/multipartBody7447983918585898975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446643444,"filename":"image_29112025_20_45_36_10806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396948927","file1":"1396948894","file0":"1396948881","file4":"1396948934","file5":"1396948937","file3":"1396948932"},"map_files_photo_id_array":[{"photo_id":"1396948937","filename":"file5"},{"photo_id":"1396948927","filename":"file2"},{"photo_id":"1396948934","filename":"file4"},{"photo_id":"1396948894","filename":"file1"},{"photo_id":"1396948881","filename":"file0"},{"photo_id":"1396948932","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396948927":["hashtag1","hashtag2"]},{"1396948932":["hashtag1","hashtag2"]},{"1396948881":["hashtag1","hashtag2"]},{"1396948934":["hashtag1","hashtag2"]},{"1396948937":["hashtag1","hashtag2"]},{"1396948894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396948927, 1396948932, 1396948881, 1396948934, 1396948937, 1396948894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96260738372803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:03:41.945984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_22_2619.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_25_2666.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_29_3711.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_31_2734.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_34_2672.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_38_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/10/50/image_31102025_10_50_22_2619.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_25_2666.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_29_3711.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_31_2734.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_34_2672.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_38_3706.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0117688179016113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:04:02.905908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/46/image_29112025_20_46_25_10699.jpg', '/home/pi/Desktop/images/29112025/20/46/image_29112025_20_46_35_9605.jpg', '/home/pi/Desktop/images/29112025/20/46/image_29112025_20_46_46_10538.jpg', '/home/pi/Desktop/images/29112025/20/46/image_29112025_20_46_56_9870.jpg', '/home/pi/Desktop/images/29112025/20/46/image_29112025_20_47_05_9735.jpg', '/home/pi/Desktop/images/29112025/20/47/image_29112025_20_47_15_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/46/image_29112025_20_46_25_10699.jpg
/home/pi/Desktop/images/29112025/20/46/image_29112025_20_46_35_9605.jpg
/home/pi/Desktop/images/29112025/20/46/image_29112025_20_46_46_10538.jpg
/home/pi/Desktop/images/29112025/20/46/image_29112025_20_46_56_9870.jpg
/home/pi/Desktop/images/29112025/20/46/image_29112025_20_47_05_9735.jpg
/home/pi/Desktop/images/29112025/20/47/image_29112025_20_47_15_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":["1396949002","1396949001","1396949004","1396949007","1396949000","1396948999"],"photo_ids_order":["1396948999","1396949000","1396949001","1396949002","1396949004","1396949007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddcbf41806098855e0349bbfb29eab6f.jpg","text":"TemporaryFile(/tmp/multipartBody7738155231008000756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446703631,"filename":"image_29112025_20_46_56_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7eadf0f109fd41adaa7d29de8a98578.jpg","text":"TemporaryFile(/tmp/multipartBody3961217665427934237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446703631,"filename":"image_29112025_20_46_46_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48e2764e735a6c49a527d821d25820a8.jpg","text":"TemporaryFile(/tmp/multipartBody5126363700129206874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446703631,"filename":"image_29112025_20_47_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/11/29/eae85a14d642ef16adc67c9ffde0e68a.jpg","text":"TemporaryFile(/tmp/multipartBody6428677265890847104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446703631,"filename":"image_29112025_20_47_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/11/29/a3cf10b13daffa751b034ed17345d4e1.jpg","text":"TemporaryFile(/tmp/multipartBody5575979389750287758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446703631,"filename":"image_29112025_20_46_35_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/866694b146c8eb6e2cb2d70dd6ee6658.jpg","text":"TemporaryFile(/tmp/multipartBody3894553671708503591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446703631,"filename":"image_29112025_20_46_25_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949001","file1":"1396949000","file0":"1396948999","file4":"1396949004","file5":"1396949007","file3":"1396949002"},"map_files_photo_id_array":[{"photo_id":"1396949007","filename":"file5"},{"photo_id":"1396949001","filename":"file2"},{"photo_id":"1396949004","filename":"file4"},{"photo_id":"1396949000","filename":"file1"},{"photo_id":"1396948999","filename":"file0"},{"photo_id":"1396949002","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396949002":["hashtag1","hashtag2"]},{"1396949001":["hashtag1","hashtag2"]},{"1396949004":["hashtag1","hashtag2"]},{"1396949007":["hashtag1","hashtag2"]},{"1396949000":["hashtag1","hashtag2"]},{"1396948999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396949002, 1396949001, 1396949004, 1396949007, 1396949000, 1396948999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73304557800293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:04:42.168715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_22_2619.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_25_2666.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_29_3711.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_31_2734.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_34_2672.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_38_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/10/50/image_31102025_10_50_22_2619.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_25_2666.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_29_3711.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_31_2734.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_34_2672.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_38_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":["1396949014","1396949016","1396949013","1396949012","1396949015","1396949018"],"photo_ids_order":["1396949012","1396949013","1396949014","1396949015","1396949016","1396949018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b97f7bd9796acd97c00c99ef11a32737.jpg","text":"TemporaryFile(/tmp/multipartBody3579518960722473798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446743125,"filename":"image_31102025_10_50_29_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9704ece1acdd53178a91551327d70f3.jpg","text":"TemporaryFile(/tmp/multipartBody525133127887945245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446743125,"filename":"image_31102025_10_50_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/11/29/2ccda4788a0b3159d3467d761aebaa3c.jpg","text":"TemporaryFile(/tmp/multipartBody4919830981453964823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446743125,"filename":"image_31102025_10_50_25_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a0c27223b685edfcf712c6b5de63ab6.jpg","text":"TemporaryFile(/tmp/multipartBody6206354452366764468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446743125,"filename":"image_31102025_10_50_22_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/947ac546d2a9a8d3c1a08b05344b1cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2120421398392338168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446743125,"filename":"image_31102025_10_50_31_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/313f9026244a6d162e7cf488ef25a39c.jpg","text":"TemporaryFile(/tmp/multipartBody6621420092427305547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446743125,"filename":"image_31102025_10_50_38_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949014","file1":"1396949013","file0":"1396949012","file4":"1396949016","file5":"1396949018","file3":"1396949015"},"map_files_photo_id_array":[{"photo_id":"1396949018","filename":"file5"},{"photo_id":"1396949014","filename":"file2"},{"photo_id":"1396949016","filename":"file4"},{"photo_id":"1396949013","filename":"file1"},{"photo_id":"1396949012","filename":"file0"},{"photo_id":"1396949015","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396949014":["hashtag1","hashtag2"]},{"1396949016":["hashtag1","hashtag2"]},{"1396949013":["hashtag1","hashtag2"]},{"1396949012":["hashtag1","hashtag2"]},{"1396949015":["hashtag1","hashtag2"]},{"1396949018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396949014, 1396949016, 1396949013, 1396949012, 1396949015, 1396949018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91218709945679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:05:22.331430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/47/image_29112025_20_47_26_10683.jpg', '/home/pi/Desktop/images/29112025/20/47/image_29112025_20_47_35_9564.jpg', '/home/pi/Desktop/images/29112025/20/47/image_29112025_20_47_45_9787.jpg', '/home/pi/Desktop/images/29112025/20/47/image_29112025_20_47_56_10785.jpg', '/home/pi/Desktop/images/29112025/20/47/image_29112025_20_48_05_9701.jpg', '/home/pi/Desktop/images/29112025/20/48/image_29112025_20_48_15_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/47/image_29112025_20_47_26_10683.jpg
/home/pi/Desktop/images/29112025/20/47/image_29112025_20_47_35_9564.jpg
/home/pi/Desktop/images/29112025/20/47/image_29112025_20_47_45_9787.jpg
/home/pi/Desktop/images/29112025/20/47/image_29112025_20_47_56_10785.jpg
/home/pi/Desktop/images/29112025/20/47/image_29112025_20_48_05_9701.jpg
/home/pi/Desktop/images/29112025/20/48/image_29112025_20_48_15_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396949031","1396949030","1396949024","1396949033","1396949027","1396949021"],"photo_ids_order":["1396949021","1396949024","1396949027","1396949030","1396949031","1396949033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95afa19e566bc8a186c1414e5e0e4383.jpg","text":"TemporaryFile(/tmp/multipartBody1666368649824469606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446783036,"filename":"image_29112025_20_48_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c4e20743ccf969542c376478f24c611.jpg","text":"TemporaryFile(/tmp/multipartBody8179707642494932043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446783036,"filename":"image_29112025_20_47_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/11/29/83960c52964ef1bd24068c760cdfcf51.jpg","text":"TemporaryFile(/tmp/multipartBody6260035722616827404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446783036,"filename":"image_29112025_20_47_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cda62e78d20a4050dc0a42008b62e1bc.jpg","text":"TemporaryFile(/tmp/multipartBody4743479150984073511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446783036,"filename":"image_29112025_20_48_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/11/29/98102e04e1b0ff860533d534c838a62c.jpg","text":"TemporaryFile(/tmp/multipartBody5725180723738144509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446783036,"filename":"image_29112025_20_47_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/11/29/1fabbe022856d0aa67f3f79f31bb11c1.jpg","text":"TemporaryFile(/tmp/multipartBody6794143020910923961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446783036,"filename":"image_29112025_20_47_26_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949027","file1":"1396949024","file0":"1396949021","file4":"1396949031","file5":"1396949033","file3":"1396949030"},"map_files_photo_id_array":[{"photo_id":"1396949033","filename":"file5"},{"photo_id":"1396949027","filename":"file2"},{"photo_id":"1396949031","filename":"file4"},{"photo_id":"1396949024","filename":"file1"},{"photo_id":"1396949021","filename":"file0"},{"photo_id":"1396949030","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396949031":["hashtag1","hashtag2"]},{"1396949030":["hashtag1","hashtag2"]},{"1396949024":["hashtag1","hashtag2"]},{"1396949033":["hashtag1","hashtag2"]},{"1396949027":["hashtag1","hashtag2"]},{"1396949021":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396949031, 1396949030, 1396949024, 1396949033, 1396949027, 1396949021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4559280872345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:06:03.052367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/48/image_29112025_20_48_25_9744.jpg', '/home/pi/Desktop/images/29112025/20/48/image_29112025_20_48_36_10709.jpg', '/home/pi/Desktop/images/29112025/20/48/image_29112025_20_48_47_11499.jpg', '/home/pi/Desktop/images/29112025/20/48/image_29112025_20_48_55_7659.jpg', '/home/pi/Desktop/images/29112025/20/48/image_29112025_20_49_06_10666.jpg', '/home/pi/Desktop/images/29112025/20/49/image_29112025_20_49_15_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/48/image_29112025_20_48_25_9744.jpg
/home/pi/Desktop/images/29112025/20/48/image_29112025_20_48_36_10709.jpg
/home/pi/Desktop/images/29112025/20/48/image_29112025_20_48_47_11499.jpg
/home/pi/Desktop/images/29112025/20/48/image_29112025_20_48_55_7659.jpg
/home/pi/Desktop/images/29112025/20/48/image_29112025_20_49_06_10666.jpg
/home/pi/Desktop/images/29112025/20/49/image_29112025_20_49_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":["1396949046","1396949061","1396949037","1396949096","1396949092","1396949062"],"photo_ids_order":["1396949037","1396949046","1396949061","1396949062","1396949092","1396949096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ece3aa6084fd28ca9807183444e2c167.jpg","text":"TemporaryFile(/tmp/multipartBody7096262846476465819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446823745,"filename":"image_29112025_20_48_36_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db1017c3ea5a692878a48e4c9f9343e2.jpg","text":"TemporaryFile(/tmp/multipartBody985754135103758470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446823745,"filename":"image_29112025_20_48_47_11499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e643d9cebd1ee8babf9567a3e1a062a.jpg","text":"TemporaryFile(/tmp/multipartBody7953907332909607398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446823745,"filename":"image_29112025_20_48_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/11/29/24b78fedae07bb667cef9f895228bf8a.jpg","text":"TemporaryFile(/tmp/multipartBody7669567407578393877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446823745,"filename":"image_29112025_20_49_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/11/29/b18d80cacdb1db511946f4fa5e48a0ef.jpg","text":"TemporaryFile(/tmp/multipartBody3704061441783101257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446823745,"filename":"image_29112025_20_49_06_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f20f16ccb33b84c6745e400d80a95d3.jpg","text":"TemporaryFile(/tmp/multipartBody7973659775742283966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446823745,"filename":"image_29112025_20_48_55_7659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949061","file1":"1396949046","file0":"1396949037","file4":"1396949092","file5":"1396949096","file3":"1396949062"},"map_files_photo_id_array":[{"photo_id":"1396949096","filename":"file5"},{"photo_id":"1396949061","filename":"file2"},{"photo_id":"1396949092","filename":"file4"},{"photo_id":"1396949046","filename":"file1"},{"photo_id":"1396949037","filename":"file0"},{"photo_id":"1396949062","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396949046":["hashtag1","hashtag2"]},{"1396949061":["hashtag1","hashtag2"]},{"1396949037":["hashtag1","hashtag2"]},{"1396949096":["hashtag1","hashtag2"]},{"1396949092":["hashtag1","hashtag2"]},{"1396949062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396949046, 1396949061, 1396949037, 1396949096, 1396949092, 1396949062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46876263618469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:06:42.605108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_41_2684.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_43_2674.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_47_3578.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_50_2697.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_52_2610.jpg', '/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_56_3720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_41_2684.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_43_2674.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_47_3578.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_50_2697.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_52_2610.jpg
/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_56_3720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396949107","1396949109","1396949106","1396949108","1396949110","1396949104"],"photo_ids_order":["1396949104","1396949106","1396949107","1396949108","1396949109","1396949110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/23d8159e422e6a1675a87347de4e664a.jpg","text":"TemporaryFile(/tmp/multipartBody5309771702790306371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446863686,"filename":"image_31102025_10_50_47_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7a5fa74fb2e51c36248503047157901.jpg","text":"TemporaryFile(/tmp/multipartBody4981858195593143758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446863686,"filename":"image_31102025_10_50_52_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a653d6c21f529ecbb99392d413944b7a.jpg","text":"TemporaryFile(/tmp/multipartBody9051881017016905555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446863686,"filename":"image_31102025_10_50_43_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccc423429a682c822039a057748d47f9.jpg","text":"TemporaryFile(/tmp/multipartBody7409627033343870334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446863686,"filename":"image_31102025_10_50_50_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7429fd30c8d439ad5040dde271c068be.jpg","text":"TemporaryFile(/tmp/multipartBody942823972154954333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446863686,"filename":"image_31102025_10_50_56_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a65acdca788030b72a4251ea71920a2d.jpg","text":"TemporaryFile(/tmp/multipartBody5713282090039466162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446863686,"filename":"image_31102025_10_50_41_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949107","file1":"1396949106","file0":"1396949104","file4":"1396949109","file5":"1396949110","file3":"1396949108"},"map_files_photo_id_array":[{"photo_id":"1396949110","filename":"file5"},{"photo_id":"1396949107","filename":"file2"},{"photo_id":"1396949109","filename":"file4"},{"photo_id":"1396949106","filename":"file1"},{"photo_id":"1396949104","filename":"file0"},{"photo_id":"1396949108","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396949107":["hashtag1","hashtag2"]},{"1396949109":["hashtag1","hashtag2"]},{"1396949106":["hashtag1","hashtag2"]},{"1396949108":["hashtag1","hashtag2"]},{"1396949110":["hashtag1","hashtag2"]},{"1396949104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396949107, 1396949109, 1396949106, 1396949108, 1396949110, 1396949104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77396297454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:07:22.732154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/49/image_29112025_20_49_25_9908.jpg', '/home/pi/Desktop/images/29112025/20/49/image_29112025_20_49_35_9632.jpg', '/home/pi/Desktop/images/29112025/20/49/image_29112025_20_49_51_15944.jpg', '/home/pi/Desktop/images/29112025/20/49/image_29112025_20_49_55_4531.jpg', '/home/pi/Desktop/images/29112025/20/49/image_29112025_20_50_05_9838.jpg', '/home/pi/Desktop/images/29112025/20/50/image_29112025_20_50_15_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/49/image_29112025_20_49_25_9908.jpg
/home/pi/Desktop/images/29112025/20/49/image_29112025_20_49_35_9632.jpg
/home/pi/Desktop/images/29112025/20/49/image_29112025_20_49_51_15944.jpg
/home/pi/Desktop/images/29112025/20/49/image_29112025_20_49_55_4531.jpg
/home/pi/Desktop/images/29112025/20/49/image_29112025_20_50_05_9838.jpg
/home/pi/Desktop/images/29112025/20/50/image_29112025_20_50_15_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396949145","1396949118","1396949132","1396949114","1396949116","1396949131"],"photo_ids_order":["1396949114","1396949116","1396949118","1396949131","1396949132","1396949145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a89dc84a9c38d5fb7babdacb7b1607a0.jpg","text":"TemporaryFile(/tmp/multipartBody5389264776551755907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446903413,"filename":"image_29112025_20_50_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/11/29/3a48d796d470653724342f354c19e3cf.jpg","text":"TemporaryFile(/tmp/multipartBody6485808752302456921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446903413,"filename":"image_29112025_20_49_51_15944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ac0b50d47581c184d87c5344f488084.jpg","text":"TemporaryFile(/tmp/multipartBody3785793486194321510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446903413,"filename":"image_29112025_20_50_05_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9daace27e47741358ee7d253b09a146e.jpg","text":"TemporaryFile(/tmp/multipartBody5127489524248352287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446903413,"filename":"image_29112025_20_49_25_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4907c46bf07daf4786ddf2d7ca47c80d.jpg","text":"TemporaryFile(/tmp/multipartBody7122383392628491021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446903413,"filename":"image_29112025_20_49_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24eda14233bf01d1eac08fd2691d37e5.jpg","text":"TemporaryFile(/tmp/multipartBody6462830211553597336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446903413,"filename":"image_29112025_20_49_55_4531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949118","file1":"1396949116","file0":"1396949114","file4":"1396949132","file5":"1396949145","file3":"1396949131"},"map_files_photo_id_array":[{"photo_id":"1396949145","filename":"file5"},{"photo_id":"1396949118","filename":"file2"},{"photo_id":"1396949132","filename":"file4"},{"photo_id":"1396949116","filename":"file1"},{"photo_id":"1396949114","filename":"file0"},{"photo_id":"1396949131","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396949145":["hashtag1","hashtag2"]},{"1396949118":["hashtag1","hashtag2"]},{"1396949132":["hashtag1","hashtag2"]},{"1396949114":["hashtag1","hashtag2"]},{"1396949116":["hashtag1","hashtag2"]},{"1396949131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396949145, 1396949118, 1396949132, 1396949114, 1396949116, 1396949131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.723896980285645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:08:02.405822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/50/image_29112025_20_50_26_10692.jpg', '/home/pi/Desktop/images/29112025/20/50/image_29112025_20_50_35_9747.jpg', '/home/pi/Desktop/images/29112025/20/50/image_29112025_20_50_45_9562.jpg', '/home/pi/Desktop/images/29112025/20/50/image_29112025_20_50_55_10594.jpg', '/home/pi/Desktop/images/29112025/20/50/image_29112025_20_51_05_9622.jpg', '/home/pi/Desktop/images/29112025/20/51/image_29112025_20_51_15_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/50/image_29112025_20_50_26_10692.jpg
/home/pi/Desktop/images/29112025/20/50/image_29112025_20_50_35_9747.jpg
/home/pi/Desktop/images/29112025/20/50/image_29112025_20_50_45_9562.jpg
/home/pi/Desktop/images/29112025/20/50/image_29112025_20_50_55_10594.jpg
/home/pi/Desktop/images/29112025/20/50/image_29112025_20_51_05_9622.jpg
/home/pi/Desktop/images/29112025/20/51/image_29112025_20_51_15_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396949175","1396949178","1396949180","1396949183","1396949177","1396949176"],"photo_ids_order":["1396949175","1396949176","1396949177","1396949178","1396949180","1396949183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e2a0a6f149ba1cc5d656e1c8fa8c4f8.jpg","text":"TemporaryFile(/tmp/multipartBody518095735135675801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446943117,"filename":"image_29112025_20_50_26_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6fc5b10f19af247d17a074297cecc6bf.jpg","text":"TemporaryFile(/tmp/multipartBody672981762488891676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446943117,"filename":"image_29112025_20_50_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/11/29/c4bae9a87b930caa8bd52d7a9d8aceeb.jpg","text":"TemporaryFile(/tmp/multipartBody194040036897402706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446943117,"filename":"image_29112025_20_51_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/11/29/5f880ba33a708e3ea64f365e4be66117.jpg","text":"TemporaryFile(/tmp/multipartBody5123853932663019997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446943117,"filename":"image_29112025_20_51_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/11/29/a011a9cff8fcf14fb0e1adca91438b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3919926880038413818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446943117,"filename":"image_29112025_20_50_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/11/29/2641fdee15e46b11b28508e805b099e0.jpg","text":"TemporaryFile(/tmp/multipartBody4152023312076177599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446943117,"filename":"image_29112025_20_50_35_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949177","file1":"1396949176","file0":"1396949175","file4":"1396949180","file5":"1396949183","file3":"1396949178"},"map_files_photo_id_array":[{"photo_id":"1396949183","filename":"file5"},{"photo_id":"1396949177","filename":"file2"},{"photo_id":"1396949180","filename":"file4"},{"photo_id":"1396949176","filename":"file1"},{"photo_id":"1396949175","filename":"file0"},{"photo_id":"1396949178","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396949175":["hashtag1","hashtag2"]},{"1396949178":["hashtag1","hashtag2"]},{"1396949180":["hashtag1","hashtag2"]},{"1396949183":["hashtag1","hashtag2"]},{"1396949177":["hashtag1","hashtag2"]},{"1396949176":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396949175, 1396949178, 1396949180, 1396949183, 1396949177, 1396949176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78283715248108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:08:41.978062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/50/image_31102025_10_50_59_2687.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_01_2735.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_04_2739.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_08_3698.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_10_2677.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_14_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/10/50/image_31102025_10_50_59_2687.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_01_2735.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_04_2739.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_08_3698.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_10_2677.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_14_3553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396949196","1396949192","1396949195","1396949189","1396949194","1396949193"],"photo_ids_order":["1396949189","1396949192","1396949193","1396949194","1396949195","1396949196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d9b968a777e4a412dbfd824e302f5dd.jpg","text":"TemporaryFile(/tmp/multipartBody4513095020087809497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446983036,"filename":"image_31102025_10_51_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/11/29/8b90fdba6747abeebf26ece02bc0e3ea.jpg","text":"TemporaryFile(/tmp/multipartBody2778576347066957014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446983036,"filename":"image_31102025_10_51_01_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20e3aa93fec32227099505b135598e2e.jpg","text":"TemporaryFile(/tmp/multipartBody3481840878683551446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446983036,"filename":"image_31102025_10_51_10_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0c5d08036e07c71a579728072960138.jpg","text":"TemporaryFile(/tmp/multipartBody6227142354457276090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446983036,"filename":"image_31102025_10_50_59_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c5f6a36c1eef1471854b3868574c9ea.jpg","text":"TemporaryFile(/tmp/multipartBody3078401475711974853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446983036,"filename":"image_31102025_10_51_08_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/40864d98919dd0e92216163e1682a6da.jpg","text":"TemporaryFile(/tmp/multipartBody196648686630279771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764446983036,"filename":"image_31102025_10_51_04_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949193","file1":"1396949192","file0":"1396949189","file4":"1396949195","file5":"1396949196","file3":"1396949194"},"map_files_photo_id_array":[{"photo_id":"1396949196","filename":"file5"},{"photo_id":"1396949193","filename":"file2"},{"photo_id":"1396949195","filename":"file4"},{"photo_id":"1396949192","filename":"file1"},{"photo_id":"1396949189","filename":"file0"},{"photo_id":"1396949194","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396949196":["hashtag1","hashtag2"]},{"1396949192":["hashtag1","hashtag2"]},{"1396949195":["hashtag1","hashtag2"]},{"1396949189":["hashtag1","hashtag2"]},{"1396949194":["hashtag1","hashtag2"]},{"1396949193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396949196, 1396949192, 1396949195, 1396949189, 1396949194, 1396949193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.881545305252075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:09:22.194841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/51/image_29112025_20_51_26_10671.jpg', '/home/pi/Desktop/images/29112025/20/51/image_29112025_20_51_36_10187.jpg', '/home/pi/Desktop/images/29112025/20/51/image_29112025_20_51_45_9635.jpg', '/home/pi/Desktop/images/29112025/20/51/image_29112025_20_51_55_9818.jpg', '/home/pi/Desktop/images/29112025/20/51/image_29112025_20_52_05_9726.jpg', '/home/pi/Desktop/images/29112025/20/52/image_29112025_20_52_16_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/51/image_29112025_20_51_26_10671.jpg
/home/pi/Desktop/images/29112025/20/51/image_29112025_20_51_36_10187.jpg
/home/pi/Desktop/images/29112025/20/51/image_29112025_20_51_45_9635.jpg
/home/pi/Desktop/images/29112025/20/51/image_29112025_20_51_55_9818.jpg
/home/pi/Desktop/images/29112025/20/51/image_29112025_20_52_05_9726.jpg
/home/pi/Desktop/images/29112025/20/52/image_29112025_20_52_16_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":["1396949200","1396949244","1396949270","1396949228","1396949207","1396949218"],"photo_ids_order":["1396949200","1396949207","1396949218","1396949228","1396949244","1396949270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5bbc32d3c21efc2c1704973f2d9fd93f.jpg","text":"TemporaryFile(/tmp/multipartBody3894055761419282286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447022884,"filename":"image_29112025_20_51_26_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5df3593f82a8d36a25dab0bfdb158aba.jpg","text":"TemporaryFile(/tmp/multipartBody1855875714945698750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447022884,"filename":"image_29112025_20_52_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2a840b9df5fe0144b5d8f86bbf04271.jpg","text":"TemporaryFile(/tmp/multipartBody2401686620748298349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447022884,"filename":"image_29112025_20_52_16_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e7d0f960c9fdd8c83e15563169e09f8.jpg","text":"TemporaryFile(/tmp/multipartBody5983610711633888675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447022884,"filename":"image_29112025_20_51_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/11/29/4388f05b03bb7da0253d55b907a4419c.jpg","text":"TemporaryFile(/tmp/multipartBody8464660449104021446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447022884,"filename":"image_29112025_20_51_36_10187.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec019a0c64d1f0394e3472f01f9a6b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2127329962694909195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447022884,"filename":"image_29112025_20_51_45_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949218","file1":"1396949207","file0":"1396949200","file4":"1396949244","file5":"1396949270","file3":"1396949228"},"map_files_photo_id_array":[{"photo_id":"1396949270","filename":"file5"},{"photo_id":"1396949218","filename":"file2"},{"photo_id":"1396949244","filename":"file4"},{"photo_id":"1396949207","filename":"file1"},{"photo_id":"1396949200","filename":"file0"},{"photo_id":"1396949228","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396949200":["hashtag1","hashtag2"]},{"1396949244":["hashtag1","hashtag2"]},{"1396949270":["hashtag1","hashtag2"]},{"1396949228":["hashtag1","hashtag2"]},{"1396949207":["hashtag1","hashtag2"]},{"1396949218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396949200, 1396949244, 1396949270, 1396949228, 1396949207, 1396949218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.592398166656494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:10:02.929619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/52/image_29112025_20_52_25_9609.jpg', '/home/pi/Desktop/images/29112025/20/52/image_29112025_20_52_36_10580.jpg', '/home/pi/Desktop/images/29112025/20/52/image_29112025_20_52_46_9757.jpg', '/home/pi/Desktop/images/29112025/20/52/image_29112025_20_52_55_9888.jpg', '/home/pi/Desktop/images/29112025/20/52/image_29112025_20_53_05_9815.jpg', '/home/pi/Desktop/images/29112025/20/53/image_29112025_20_53_15_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/52/image_29112025_20_52_25_9609.jpg
/home/pi/Desktop/images/29112025/20/52/image_29112025_20_52_36_10580.jpg
/home/pi/Desktop/images/29112025/20/52/image_29112025_20_52_46_9757.jpg
/home/pi/Desktop/images/29112025/20/52/image_29112025_20_52_55_9888.jpg
/home/pi/Desktop/images/29112025/20/52/image_29112025_20_53_05_9815.jpg
/home/pi/Desktop/images/29112025/20/53/image_29112025_20_53_15_9920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396949291","1396949294","1396949296","1396949299","1396949293","1396949292"],"photo_ids_order":["1396949291","1396949292","1396949293","1396949294","1396949296","1396949299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0f9bb4ea9a0da70d6e4f2acb95ceb80.jpg","text":"TemporaryFile(/tmp/multipartBody4983699214341248226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447063641,"filename":"image_29112025_20_52_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/11/29/79de5fcd6691f1003a7813acb4ab1b5f.jpg","text":"TemporaryFile(/tmp/multipartBody5511446789917189988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447063641,"filename":"image_29112025_20_52_55_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c425d8b6210f17b1971b5a2ca77fba2.jpg","text":"TemporaryFile(/tmp/multipartBody9189686917162707863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447063641,"filename":"image_29112025_20_53_05_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9c3842066ed141e287147ff2148f4e2.jpg","text":"TemporaryFile(/tmp/multipartBody7556476538173653362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447063641,"filename":"image_29112025_20_53_15_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db06b2177626373b26ccc6708ab937e3.jpg","text":"TemporaryFile(/tmp/multipartBody3527323556540720865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447063641,"filename":"image_29112025_20_52_46_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb203e37a54a7f70aad3dbff59eb29e3.jpg","text":"TemporaryFile(/tmp/multipartBody1910335742977318321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447063641,"filename":"image_29112025_20_52_36_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949293","file1":"1396949292","file0":"1396949291","file4":"1396949296","file5":"1396949299","file3":"1396949294"},"map_files_photo_id_array":[{"photo_id":"1396949299","filename":"file5"},{"photo_id":"1396949293","filename":"file2"},{"photo_id":"1396949296","filename":"file4"},{"photo_id":"1396949292","filename":"file1"},{"photo_id":"1396949291","filename":"file0"},{"photo_id":"1396949294","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396949291":["hashtag1","hashtag2"]},{"1396949294":["hashtag1","hashtag2"]},{"1396949296":["hashtag1","hashtag2"]},{"1396949299":["hashtag1","hashtag2"]},{"1396949293":["hashtag1","hashtag2"]},{"1396949292":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396949291, 1396949294, 1396949296, 1396949299, 1396949293, 1396949292)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.90025472640991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:11:03.225198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/53/image_29112025_20_53_25_9707.jpg', '/home/pi/Desktop/images/29112025/20/53/image_29112025_20_53_36_10686.jpg', '/home/pi/Desktop/images/29112025/20/53/image_29112025_20_53_45_9274.jpg', '/home/pi/Desktop/images/29112025/20/53/image_29112025_20_53_55_10636.jpg', '/home/pi/Desktop/images/29112025/20/53/image_29112025_20_54_05_9842.jpg', '/home/pi/Desktop/images/29112025/20/54/image_29112025_20_54_15_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/53/image_29112025_20_53_25_9707.jpg
/home/pi/Desktop/images/29112025/20/53/image_29112025_20_53_36_10686.jpg
/home/pi/Desktop/images/29112025/20/53/image_29112025_20_53_45_9274.jpg
/home/pi/Desktop/images/29112025/20/53/image_29112025_20_53_55_10636.jpg
/home/pi/Desktop/images/29112025/20/53/image_29112025_20_54_05_9842.jpg
/home/pi/Desktop/images/29112025/20/54/image_29112025_20_54_15_9966.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396949358","1396949325","1396949396","1396949324","1396949326","1396949323"],"photo_ids_order":["1396949323","1396949324","1396949325","1396949326","1396949358","1396949396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eea8fb72eeff9dafcddb3c2a586b4010.jpg","text":"TemporaryFile(/tmp/multipartBody1155769635890265961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447123971,"filename":"image_29112025_20_54_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/11/29/a66c7aab5160c8ebc177cd8a0a8ae481.jpg","text":"TemporaryFile(/tmp/multipartBody5734112352404774648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447123971,"filename":"image_29112025_20_53_45_9274.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b01d6ad903b53838e7c9e8d51a176f16.jpg","text":"TemporaryFile(/tmp/multipartBody5555871771802666838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447123971,"filename":"image_29112025_20_54_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/11/29/62cf389357af0dbfac3e9d4e15b32f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6665819661110766476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447123971,"filename":"image_29112025_20_53_36_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8866ee38f52b845644266b1db0cb6038.jpg","text":"TemporaryFile(/tmp/multipartBody5038459136540990589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447123971,"filename":"image_29112025_20_53_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/84f243a8cc82c5dc1c323ff8d612003c.jpg","text":"TemporaryFile(/tmp/multipartBody5960139221470639783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447123971,"filename":"image_29112025_20_53_25_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949325","file1":"1396949324","file0":"1396949323","file4":"1396949358","file5":"1396949396","file3":"1396949326"},"map_files_photo_id_array":[{"photo_id":"1396949396","filename":"file5"},{"photo_id":"1396949325","filename":"file2"},{"photo_id":"1396949358","filename":"file4"},{"photo_id":"1396949324","filename":"file1"},{"photo_id":"1396949323","filename":"file0"},{"photo_id":"1396949326","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396949358":["hashtag1","hashtag2"]},{"1396949325":["hashtag1","hashtag2"]},{"1396949396":["hashtag1","hashtag2"]},{"1396949324":["hashtag1","hashtag2"]},{"1396949326":["hashtag1","hashtag2"]},{"1396949323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396949358, 1396949325, 1396949396, 1396949324, 1396949326, 1396949323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88774514198303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:11:42.520547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_17_2688.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_19_2614.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_23_3582.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_26_2803.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_28_2764.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_31_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/10/51/image_31102025_10_51_17_2688.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_19_2614.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_23_3582.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_26_2803.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_28_2764.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_31_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":["1396949503","1396949511","1396949502","1396949488","1396949482","1396949551"],"photo_ids_order":["1396949482","1396949488","1396949502","1396949503","1396949511","1396949551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c330046fb3bae7043e9577655182727.jpg","text":"TemporaryFile(/tmp/multipartBody7686391830007093106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447163581,"filename":"image_31102025_10_51_26_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11dcc7819c79daac7de19e6a72bf90e6.jpg","text":"TemporaryFile(/tmp/multipartBody6881678333521204580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447163581,"filename":"image_31102025_10_51_28_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9744eb1a11594a601c4de10faa103c79.jpg","text":"TemporaryFile(/tmp/multipartBody7319174451702618430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447163581,"filename":"image_31102025_10_51_23_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1784c4a5c615dc5a5f23d2bd048ae43.jpg","text":"TemporaryFile(/tmp/multipartBody4377411657637107793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447163581,"filename":"image_31102025_10_51_19_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce1132c7f3a7b4d303a2ab3494d00618.jpg","text":"TemporaryFile(/tmp/multipartBody8910625847954813003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447163581,"filename":"image_31102025_10_51_17_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/787990912c62d0ba14977f052e18cc30.jpg","text":"TemporaryFile(/tmp/multipartBody1161153538764436850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447163581,"filename":"image_31102025_10_51_31_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949502","file1":"1396949488","file0":"1396949482","file4":"1396949511","file5":"1396949551","file3":"1396949503"},"map_files_photo_id_array":[{"photo_id":"1396949551","filename":"file5"},{"photo_id":"1396949502","filename":"file2"},{"photo_id":"1396949511","filename":"file4"},{"photo_id":"1396949488","filename":"file1"},{"photo_id":"1396949482","filename":"file0"},{"photo_id":"1396949503","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396949503":["hashtag1","hashtag2"]},{"1396949511":["hashtag1","hashtag2"]},{"1396949502":["hashtag1","hashtag2"]},{"1396949488":["hashtag1","hashtag2"]},{"1396949482":["hashtag1","hashtag2"]},{"1396949551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396949503, 1396949511, 1396949502, 1396949488, 1396949482, 1396949551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9411301612854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:12:22.747714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/54/image_29112025_20_54_25_9792.jpg', '/home/pi/Desktop/images/29112025/20/54/image_29112025_20_54_36_10653.jpg', '/home/pi/Desktop/images/29112025/20/54/image_29112025_20_54_46_9952.jpg', '/home/pi/Desktop/images/29112025/20/54/image_29112025_20_54_55_9605.jpg', '/home/pi/Desktop/images/29112025/20/54/image_29112025_20_55_05_9668.jpg', '/home/pi/Desktop/images/29112025/20/55/image_29112025_20_55_16_10870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/54/image_29112025_20_54_25_9792.jpg
/home/pi/Desktop/images/29112025/20/54/image_29112025_20_54_36_10653.jpg
/home/pi/Desktop/images/29112025/20/54/image_29112025_20_54_46_9952.jpg
/home/pi/Desktop/images/29112025/20/54/image_29112025_20_54_55_9605.jpg
/home/pi/Desktop/images/29112025/20/54/image_29112025_20_55_05_9668.jpg
/home/pi/Desktop/images/29112025/20/55/image_29112025_20_55_16_10870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396949800","1396949931","1396949856","1396949721","1396949924","1396949761"],"photo_ids_order":["1396949721","1396949761","1396949800","1396949856","1396949924","1396949931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2dd2470e30122e31d5934e2cf8d31ab4.jpg","text":"TemporaryFile(/tmp/multipartBody1613907327946005066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447203473,"filename":"image_29112025_20_54_46_9952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d3654692565a0da31bc9b9fddcb36e6.jpg","text":"TemporaryFile(/tmp/multipartBody3560617380417513210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447203473,"filename":"image_29112025_20_55_16_10870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87a5868a05873f505b7d903f028574ed.jpg","text":"TemporaryFile(/tmp/multipartBody6451029868060599150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447203473,"filename":"image_29112025_20_54_55_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d0c970c75238bc4c038882c5cda326a.jpg","text":"TemporaryFile(/tmp/multipartBody521023259570690702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447203473,"filename":"image_29112025_20_54_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/11/29/d590088d59f2ef88eb1e6415bf97ce85.jpg","text":"TemporaryFile(/tmp/multipartBody8772660152274831395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447203473,"filename":"image_29112025_20_55_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/11/29/4a3cadd44053e3258b6d8b8b064e753a.jpg","text":"TemporaryFile(/tmp/multipartBody3956660793534445562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447203473,"filename":"image_29112025_20_54_36_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949800","file1":"1396949761","file0":"1396949721","file4":"1396949924","file5":"1396949931","file3":"1396949856"},"map_files_photo_id_array":[{"photo_id":"1396949931","filename":"file5"},{"photo_id":"1396949800","filename":"file2"},{"photo_id":"1396949924","filename":"file4"},{"photo_id":"1396949761","filename":"file1"},{"photo_id":"1396949721","filename":"file0"},{"photo_id":"1396949856","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396949800":["hashtag1","hashtag2"]},{"1396949931":["hashtag1","hashtag2"]},{"1396949856":["hashtag1","hashtag2"]},{"1396949721":["hashtag1","hashtag2"]},{"1396949924":["hashtag1","hashtag2"]},{"1396949761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396949800, 1396949931, 1396949856, 1396949721, 1396949924, 1396949761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.047609090805054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:13:02.561444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/55/image_29112025_20_55_25_9627.jpg', '/home/pi/Desktop/images/29112025/20/55/image_29112025_20_55_35_9589.jpg', '/home/pi/Desktop/images/29112025/20/55/image_29112025_20_55_46_10741.jpg', '/home/pi/Desktop/images/29112025/20/55/image_29112025_20_55_55_9564.jpg', '/home/pi/Desktop/images/29112025/20/55/image_29112025_20_56_05_9677.jpg', '/home/pi/Desktop/images/29112025/20/56/image_29112025_20_56_16_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/55/image_29112025_20_55_25_9627.jpg
/home/pi/Desktop/images/29112025/20/55/image_29112025_20_55_35_9589.jpg
/home/pi/Desktop/images/29112025/20/55/image_29112025_20_55_46_10741.jpg
/home/pi/Desktop/images/29112025/20/55/image_29112025_20_55_55_9564.jpg
/home/pi/Desktop/images/29112025/20/55/image_29112025_20_56_05_9677.jpg
/home/pi/Desktop/images/29112025/20/56/image_29112025_20_56_16_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":["1396949934","1396949937","1396949942","1396949936","1396949939","1396949935"],"photo_ids_order":["1396949934","1396949935","1396949936","1396949937","1396949939","1396949942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4f3008004074212ddea0e7113a2dfdb.jpg","text":"TemporaryFile(/tmp/multipartBody2241242319235944221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447243307,"filename":"image_29112025_20_55_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/11/29/854dada908ef156810e52220f1645c10.jpg","text":"TemporaryFile(/tmp/multipartBody6539989179521982739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447243307,"filename":"image_29112025_20_55_55_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5a49d501665f5272b437cece79007af.jpg","text":"TemporaryFile(/tmp/multipartBody1989276679043620942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447243307,"filename":"image_29112025_20_56_16_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/585b5dd8afb05cf4d5097e8b2de586d5.jpg","text":"TemporaryFile(/tmp/multipartBody1580981419252890344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447243307,"filename":"image_29112025_20_55_46_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/319d3320290fc698617b653382361f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4460266827765333429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447243307,"filename":"image_29112025_20_56_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94c90dccfd75857cdb085084ce513e26.jpg","text":"TemporaryFile(/tmp/multipartBody2269658013203639361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447243307,"filename":"image_29112025_20_55_35_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396949936","file1":"1396949935","file0":"1396949934","file4":"1396949939","file5":"1396949942","file3":"1396949937"},"map_files_photo_id_array":[{"photo_id":"1396949942","filename":"file5"},{"photo_id":"1396949936","filename":"file2"},{"photo_id":"1396949939","filename":"file4"},{"photo_id":"1396949935","filename":"file1"},{"photo_id":"1396949934","filename":"file0"},{"photo_id":"1396949937","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396949934":["hashtag1","hashtag2"]},{"1396949937":["hashtag1","hashtag2"]},{"1396949942":["hashtag1","hashtag2"]},{"1396949936":["hashtag1","hashtag2"]},{"1396949939":["hashtag1","hashtag2"]},{"1396949935":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396949934, 1396949937, 1396949942, 1396949936, 1396949939, 1396949935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14694809913635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:13:41.931438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_35_3545.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_37_2612.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_41_3609.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_44_2761.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_46_2727.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_49_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/10/51/image_31102025_10_51_35_3545.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_37_2612.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_41_3609.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_44_2761.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_46_2727.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_49_2773.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0396485328674316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:14:02.737159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/56/image_29112025_20_56_26_9810.jpg', '/home/pi/Desktop/images/29112025/20/56/image_29112025_20_56_35_9609.jpg', '/home/pi/Desktop/images/29112025/20/56/image_29112025_20_56_45_9677.jpg', '/home/pi/Desktop/images/29112025/20/56/image_29112025_20_56_55_10623.jpg', '/home/pi/Desktop/images/29112025/20/56/image_29112025_20_57_05_9811.jpg', '/home/pi/Desktop/images/29112025/20/57/image_29112025_20_57_15_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/56/image_29112025_20_56_26_9810.jpg
/home/pi/Desktop/images/29112025/20/56/image_29112025_20_56_35_9609.jpg
/home/pi/Desktop/images/29112025/20/56/image_29112025_20_56_45_9677.jpg
/home/pi/Desktop/images/29112025/20/56/image_29112025_20_56_55_10623.jpg
/home/pi/Desktop/images/29112025/20/56/image_29112025_20_57_05_9811.jpg
/home/pi/Desktop/images/29112025/20/57/image_29112025_20_57_15_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950016","1396950010","1396950013","1396950007","1396950011","1396950008"],"photo_ids_order":["1396950007","1396950008","1396950010","1396950011","1396950013","1396950016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/750c3a7aefb0368e81124e7559283e6a.jpg","text":"TemporaryFile(/tmp/multipartBody288804490149868735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447303481,"filename":"image_29112025_20_57_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/11/29/089b7a382e43ba7a62f1c3f738c616ca.jpg","text":"TemporaryFile(/tmp/multipartBody8244761320035715055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447303481,"filename":"image_29112025_20_56_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/11/29/50c4b3a40ff33cf316c5de0317bf2261.jpg","text":"TemporaryFile(/tmp/multipartBody14018611994504345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447303481,"filename":"image_29112025_20_57_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/11/29/2a3ccd947d728a9a2686bf54ced14a26.jpg","text":"TemporaryFile(/tmp/multipartBody4168463642338843880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447303481,"filename":"image_29112025_20_56_26_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec02e3c08915b40b8a810c79fa8b17dd.jpg","text":"TemporaryFile(/tmp/multipartBody7310120109591456318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447303481,"filename":"image_29112025_20_56_55_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5de2f9b3ec6629915dc3aee3ebcf754e.jpg","text":"TemporaryFile(/tmp/multipartBody1854696538862815837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447303481,"filename":"image_29112025_20_56_35_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950010","file1":"1396950008","file0":"1396950007","file4":"1396950013","file5":"1396950016","file3":"1396950011"},"map_files_photo_id_array":[{"photo_id":"1396950016","filename":"file5"},{"photo_id":"1396950010","filename":"file2"},{"photo_id":"1396950013","filename":"file4"},{"photo_id":"1396950008","filename":"file1"},{"photo_id":"1396950007","filename":"file0"},{"photo_id":"1396950011","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950016":["hashtag1","hashtag2"]},{"1396950010":["hashtag1","hashtag2"]},{"1396950013":["hashtag1","hashtag2"]},{"1396950007":["hashtag1","hashtag2"]},{"1396950011":["hashtag1","hashtag2"]},{"1396950008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950016, 1396950010, 1396950013, 1396950007, 1396950011, 1396950008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88212537765503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:14:42.065531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_35_3545.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_37_2612.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_41_3609.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_44_2761.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_46_2727.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_49_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/10/51/image_31102025_10_51_35_3545.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_37_2612.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_41_3609.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_44_2761.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_46_2727.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_49_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":["1396950037","1396950025","1396950041","1396950038","1396950026","1396950052"],"photo_ids_order":["1396950025","1396950026","1396950037","1396950038","1396950041","1396950052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c80d9d1c48c4a0694c2a2fe819aae61.jpg","text":"TemporaryFile(/tmp/multipartBody6254665802336381828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447343032,"filename":"image_31102025_10_51_41_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc5a6806a7a652ebbc1ac358cab9dbb7.jpg","text":"TemporaryFile(/tmp/multipartBody5955161592797971205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447343032,"filename":"image_31102025_10_51_35_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0dd5309b95bcf7f4ffed39a705e6c40.jpg","text":"TemporaryFile(/tmp/multipartBody2369324332126564149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447343032,"filename":"image_31102025_10_51_46_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49d5c0978269fd2f5bcb3d1c379633a7.jpg","text":"TemporaryFile(/tmp/multipartBody2577276381700030700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447343032,"filename":"image_31102025_10_51_44_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc3f9c232ca09db12230a6f66d562982.jpg","text":"TemporaryFile(/tmp/multipartBody202401667508466531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447343032,"filename":"image_31102025_10_51_37_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11fa3c0b9e9cf602f8ed24360cc9b857.jpg","text":"TemporaryFile(/tmp/multipartBody7406610964656734588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447343032,"filename":"image_31102025_10_51_49_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950037","file1":"1396950026","file0":"1396950025","file4":"1396950041","file5":"1396950052","file3":"1396950038"},"map_files_photo_id_array":[{"photo_id":"1396950052","filename":"file5"},{"photo_id":"1396950037","filename":"file2"},{"photo_id":"1396950041","filename":"file4"},{"photo_id":"1396950026","filename":"file1"},{"photo_id":"1396950025","filename":"file0"},{"photo_id":"1396950038","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950037":["hashtag1","hashtag2"]},{"1396950025":["hashtag1","hashtag2"]},{"1396950041":["hashtag1","hashtag2"]},{"1396950038":["hashtag1","hashtag2"]},{"1396950026":["hashtag1","hashtag2"]},{"1396950052":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950037, 1396950025, 1396950041, 1396950038, 1396950026, 1396950052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.283830404281616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:15:22.294381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/57/image_29112025_20_57_26_10555.jpg', '/home/pi/Desktop/images/29112025/20/57/image_29112025_20_57_35_9639.jpg', '/home/pi/Desktop/images/29112025/20/57/image_29112025_20_57_45_9819.jpg', '/home/pi/Desktop/images/29112025/20/57/image_29112025_20_57_56_10689.jpg', '/home/pi/Desktop/images/29112025/20/57/image_29112025_20_58_05_9598.jpg', '/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_15_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/57/image_29112025_20_57_26_10555.jpg
/home/pi/Desktop/images/29112025/20/57/image_29112025_20_57_35_9639.jpg
/home/pi/Desktop/images/29112025/20/57/image_29112025_20_57_45_9819.jpg
/home/pi/Desktop/images/29112025/20/57/image_29112025_20_57_56_10689.jpg
/home/pi/Desktop/images/29112025/20/57/image_29112025_20_58_05_9598.jpg
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_15_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":["1396950057","1396950066","1396950060","1396950068","1396950062","1396950064"],"photo_ids_order":["1396950057","1396950060","1396950062","1396950064","1396950066","1396950068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f3f69ac288d58261b1e9f2df22a8c189.jpg","text":"TemporaryFile(/tmp/multipartBody1945339299202306331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447382975,"filename":"image_29112025_20_57_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/11/29/b31c5e24113bca1a581a27620d08ca83.jpg","text":"TemporaryFile(/tmp/multipartBody6242636970543952177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447382975,"filename":"image_29112025_20_58_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/11/29/0d2c24142169980ec297a555b3c0813e.jpg","text":"TemporaryFile(/tmp/multipartBody7680043918271950655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447382975,"filename":"image_29112025_20_57_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/11/29/5d8b7fb62225aeb293c51a557b3c1d08.jpg","text":"TemporaryFile(/tmp/multipartBody6598635716838816952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447382975,"filename":"image_29112025_20_58_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/11/29/bb84c06c60ddceabfc34b0e9bf853afb.jpg","text":"TemporaryFile(/tmp/multipartBody6467758947669485365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447382975,"filename":"image_29112025_20_57_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/11/29/0e7fe3d0d4cb6b73176f0465f5c541a7.jpg","text":"TemporaryFile(/tmp/multipartBody6998225149369465591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447382975,"filename":"image_29112025_20_57_56_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950062","file1":"1396950060","file0":"1396950057","file4":"1396950066","file5":"1396950068","file3":"1396950064"},"map_files_photo_id_array":[{"photo_id":"1396950068","filename":"file5"},{"photo_id":"1396950062","filename":"file2"},{"photo_id":"1396950066","filename":"file4"},{"photo_id":"1396950060","filename":"file1"},{"photo_id":"1396950057","filename":"file0"},{"photo_id":"1396950064","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950057":["hashtag1","hashtag2"]},{"1396950066":["hashtag1","hashtag2"]},{"1396950060":["hashtag1","hashtag2"]},{"1396950068":["hashtag1","hashtag2"]},{"1396950062":["hashtag1","hashtag2"]},{"1396950064":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950057, 1396950066, 1396950060, 1396950068, 1396950062, 1396950064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14326024055481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:16:02.861788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_26_10660.jpg', '/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_35_9722.jpg', '/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_45_9607.jpg', '/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_56_10707.jpg', '/home/pi/Desktop/images/29112025/20/58/image_29112025_20_59_05_9562.jpg', '/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_15_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_26_10660.jpg
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_35_9722.jpg
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_45_9607.jpg
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_56_10707.jpg
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_59_05_9562.jpg
/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_15_9854.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6185083389282227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 21:16:12.457847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_37_1600.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_40_2621.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_42_2615.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_46_3599.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_48_2509.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_51_2782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_37_1600.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_40_2621.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_42_2615.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_46_3599.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_48_2509.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_51_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":["1396950076","1396950086","1396950080","1396950083","1396950088","1396950073"],"photo_ids_order":["1396950073","1396950076","1396950080","1396950083","1396950086","1396950088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8073c79895d23a12b120a573a63c0688.jpg","text":"TemporaryFile(/tmp/multipartBody1267315198386047900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447434510,"filename":"image_25112025_19_09_40_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbb7aac011ce5c0f846843aa017deffd.jpg","text":"TemporaryFile(/tmp/multipartBody1086143551331259281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447434510,"filename":"image_25112025_19_09_48_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65999d91e0b2b0d2bb5ce7bcb2417022.jpg","text":"TemporaryFile(/tmp/multipartBody2975993160763231175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447434510,"filename":"image_25112025_19_09_42_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e22b8ec432e3bc9a095b2874d9bb086c.jpg","text":"TemporaryFile(/tmp/multipartBody1238797197662912776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447434510,"filename":"image_25112025_19_09_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/11/29/d73fc63d461e9ca08b32190f67c83e6f.jpg","text":"TemporaryFile(/tmp/multipartBody2799738773707629121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447434510,"filename":"image_25112025_19_09_51_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a763d1fa92211f1528ee138156044bf2.jpg","text":"TemporaryFile(/tmp/multipartBody2835837650385457642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447434510,"filename":"image_25112025_19_09_37_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950080","file1":"1396950076","file0":"1396950073","file4":"1396950086","file5":"1396950088","file3":"1396950083"},"map_files_photo_id_array":[{"photo_id":"1396950088","filename":"file5"},{"photo_id":"1396950080","filename":"file2"},{"photo_id":"1396950086","filename":"file4"},{"photo_id":"1396950076","filename":"file1"},{"photo_id":"1396950073","filename":"file0"},{"photo_id":"1396950083","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396950076":["hashtag1","hashtag2"]},{"1396950086":["hashtag1","hashtag2"]},{"1396950080":["hashtag1","hashtag2"]},{"1396950083":["hashtag1","hashtag2"]},{"1396950088":["hashtag1","hashtag2"]},{"1396950073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396950076, 1396950086, 1396950080, 1396950083, 1396950088, 1396950073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18846893310547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:17:03.199344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_26_10660.jpg', '/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_35_9722.jpg', '/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_45_9607.jpg', '/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_56_10707.jpg', '/home/pi/Desktop/images/29112025/20/58/image_29112025_20_59_05_9562.jpg', '/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_15_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_26_10660.jpg
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_35_9722.jpg
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_45_9607.jpg
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_58_56_10707.jpg
/home/pi/Desktop/images/29112025/20/58/image_29112025_20_59_05_9562.jpg
/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_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":["1396950100","1396950093","1396950092","1396950095","1396950097","1396950094"],"photo_ids_order":["1396950092","1396950093","1396950094","1396950095","1396950097","1396950100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3451cb03a39bad5152ab6aa4288c72ba.jpg","text":"TemporaryFile(/tmp/multipartBody4685265951965069974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447483958,"filename":"image_29112025_20_59_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/11/29/6bf5930517e8c3ccca6f52376fe7bd8f.jpg","text":"TemporaryFile(/tmp/multipartBody1169735580821344357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447483958,"filename":"image_29112025_20_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/11/29/76809c2b77240273fa1d1bfbe1ee49c0.jpg","text":"TemporaryFile(/tmp/multipartBody7086690031438389942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447483958,"filename":"image_29112025_20_58_26_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20de3f0ef48b37ce96bae0346b0159ed.jpg","text":"TemporaryFile(/tmp/multipartBody6387708191687784183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447483958,"filename":"image_29112025_20_58_56_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7be88eb0793da7bacde83b2c86418009.jpg","text":"TemporaryFile(/tmp/multipartBody7701708408299165218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447483958,"filename":"image_29112025_20_59_05_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2cf147d299c5996999e6e6dc4f442e3.jpg","text":"TemporaryFile(/tmp/multipartBody3653177534108176374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447483958,"filename":"image_29112025_20_58_45_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950094","file1":"1396950093","file0":"1396950092","file4":"1396950097","file5":"1396950100","file3":"1396950095"},"map_files_photo_id_array":[{"photo_id":"1396950100","filename":"file5"},{"photo_id":"1396950094","filename":"file2"},{"photo_id":"1396950097","filename":"file4"},{"photo_id":"1396950093","filename":"file1"},{"photo_id":"1396950092","filename":"file0"},{"photo_id":"1396950095","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950100":["hashtag1","hashtag2"]},{"1396950093":["hashtag1","hashtag2"]},{"1396950092":["hashtag1","hashtag2"]},{"1396950095":["hashtag1","hashtag2"]},{"1396950097":["hashtag1","hashtag2"]},{"1396950094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950100, 1396950093, 1396950092, 1396950095, 1396950097, 1396950094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26624536514282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:17:42.650174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_53_3823.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_56_2685.jpg', '/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_58_2694.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_01_2829.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_05_3645.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_07_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_53_3823.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_56_2685.jpg
/home/pi/Desktop/images/31102025/10/51/image_31102025_10_51_58_2694.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_01_2829.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_05_3645.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_07_2620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950124","1396950114","1396950108","1396950123","1396950122","1396950125"],"photo_ids_order":["1396950108","1396950114","1396950122","1396950123","1396950124","1396950125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ce8227197bbf751d610440a5cba00890.jpg","text":"TemporaryFile(/tmp/multipartBody5732145836773717629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447523772,"filename":"image_31102025_10_52_05_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/523ad334e8f5a8b3bbbba41ff1064ecc.jpg","text":"TemporaryFile(/tmp/multipartBody1046977383872736011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447523772,"filename":"image_31102025_10_51_56_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f800af2b7ce767cd6207034572640e4.jpg","text":"TemporaryFile(/tmp/multipartBody1747161966026038396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447523772,"filename":"image_31102025_10_51_53_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1080984dd409588398cfe31e87581be7.jpg","text":"TemporaryFile(/tmp/multipartBody3668435415355426833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447523772,"filename":"image_31102025_10_52_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/11/29/144f94fe328f2c538153ed157d795da5.jpg","text":"TemporaryFile(/tmp/multipartBody9125131353907387061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447523772,"filename":"image_31102025_10_51_58_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/609a1f7afae3c61bc470e8252f6541a8.jpg","text":"TemporaryFile(/tmp/multipartBody3105602960444519515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447523772,"filename":"image_31102025_10_52_07_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950122","file1":"1396950114","file0":"1396950108","file4":"1396950124","file5":"1396950125","file3":"1396950123"},"map_files_photo_id_array":[{"photo_id":"1396950125","filename":"file5"},{"photo_id":"1396950122","filename":"file2"},{"photo_id":"1396950124","filename":"file4"},{"photo_id":"1396950114","filename":"file1"},{"photo_id":"1396950108","filename":"file0"},{"photo_id":"1396950123","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950124":["hashtag1","hashtag2"]},{"1396950114":["hashtag1","hashtag2"]},{"1396950108":["hashtag1","hashtag2"]},{"1396950123":["hashtag1","hashtag2"]},{"1396950122":["hashtag1","hashtag2"]},{"1396950125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950124, 1396950114, 1396950108, 1396950123, 1396950122, 1396950125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72781014442444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:18:22.821195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_26_10672.jpg', '/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_35_9655.jpg', '/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_45_9629.jpg', '/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_56_10574.jpg', '/home/pi/Desktop/images/29112025/21/01/image_29112025_21_01_13_10037.jpg', '/home/pi/Desktop/images/29112025/21/01/image_29112025_21_01_24_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_26_10672.jpg
/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_35_9655.jpg
/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_45_9629.jpg
/home/pi/Desktop/images/29112025/20/59/image_29112025_20_59_56_10574.jpg
/home/pi/Desktop/images/29112025/21/01/image_29112025_21_01_13_10037.jpg
/home/pi/Desktop/images/29112025/21/01/image_29112025_21_01_24_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950139","1396950138","1396950132","1396950135","1396950129","1396950143"],"photo_ids_order":["1396950129","1396950132","1396950135","1396950138","1396950139","1396950143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75c03ac8ba3a59f90fba815bdd2efbd4.jpg","text":"TemporaryFile(/tmp/multipartBody1196924556182392184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447563514,"filename":"image_29112025_21_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/11/29/da48f2e6459978b78dcd9b69218dba77.jpg","text":"TemporaryFile(/tmp/multipartBody567149627170994926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447563514,"filename":"image_29112025_20_59_56_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/881e7f3514b24a6d8537f3551a971645.jpg","text":"TemporaryFile(/tmp/multipartBody3892103598275042752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447563514,"filename":"image_29112025_20_59_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/11/29/ff69d0912d6d4b3167cfe8afe0145afb.jpg","text":"TemporaryFile(/tmp/multipartBody5698589416770008741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447563514,"filename":"image_29112025_20_59_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08ab5e2b1f1084be6f80da8bb3057548.jpg","text":"TemporaryFile(/tmp/multipartBody5794141233168754393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447563514,"filename":"image_29112025_20_59_26_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2c6e61af7781765bbf6b12a6921402a.jpg","text":"TemporaryFile(/tmp/multipartBody6559056063331462135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447563514,"filename":"image_29112025_21_01_24_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950135","file1":"1396950132","file0":"1396950129","file4":"1396950139","file5":"1396950143","file3":"1396950138"},"map_files_photo_id_array":[{"photo_id":"1396950143","filename":"file5"},{"photo_id":"1396950135","filename":"file2"},{"photo_id":"1396950139","filename":"file4"},{"photo_id":"1396950132","filename":"file1"},{"photo_id":"1396950129","filename":"file0"},{"photo_id":"1396950138","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950139":["hashtag1","hashtag2"]},{"1396950138":["hashtag1","hashtag2"]},{"1396950132":["hashtag1","hashtag2"]},{"1396950135":["hashtag1","hashtag2"]},{"1396950129":["hashtag1","hashtag2"]},{"1396950143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950139, 1396950138, 1396950132, 1396950135, 1396950129, 1396950143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.710261821746826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:19:03.003335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/01/image_29112025_21_01_34_9662.jpg', '/home/pi/Desktop/images/29112025/21/01/image_29112025_21_01_43_9622.jpg', '/home/pi/Desktop/images/29112025/21/01/image_29112025_21_01_54_10802.jpg', '/home/pi/Desktop/images/29112025/21/01/image_29112025_21_02_04_9622.jpg', '/home/pi/Desktop/images/29112025/21/02/image_29112025_21_02_14_9760.jpg', '/home/pi/Desktop/images/29112025/21/02/image_29112025_21_02_24_10584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/01/image_29112025_21_01_34_9662.jpg
/home/pi/Desktop/images/29112025/21/01/image_29112025_21_01_43_9622.jpg
/home/pi/Desktop/images/29112025/21/01/image_29112025_21_01_54_10802.jpg
/home/pi/Desktop/images/29112025/21/01/image_29112025_21_02_04_9622.jpg
/home/pi/Desktop/images/29112025/21/02/image_29112025_21_02_14_9760.jpg
/home/pi/Desktop/images/29112025/21/02/image_29112025_21_02_24_10584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950144","1396950147","1396950152","1396950149","1396950146","1396950145"],"photo_ids_order":["1396950144","1396950145","1396950146","1396950147","1396950149","1396950152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4b8cfd5234849b59560301aed501bd9.jpg","text":"TemporaryFile(/tmp/multipartBody2023765337330054964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447603886,"filename":"image_29112025_21_01_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96688d9b6d5eb9e1c313de2a5e0a561c.jpg","text":"TemporaryFile(/tmp/multipartBody783706192418048404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447603886,"filename":"image_29112025_21_02_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22c3edd6fa722eba59a0ff9085a12b50.jpg","text":"TemporaryFile(/tmp/multipartBody6480697999556999962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447603886,"filename":"image_29112025_21_02_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/11/29/e6b6baf8a632aac0130dd4b94c022058.jpg","text":"TemporaryFile(/tmp/multipartBody2130510882024865562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447603886,"filename":"image_29112025_21_02_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/11/29/f65ff1843a755bc6dc2418107b2b1a25.jpg","text":"TemporaryFile(/tmp/multipartBody1788045147223756519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447603886,"filename":"image_29112025_21_01_54_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e82e7a5e7b8fa25364f69cb5dd46deaa.jpg","text":"TemporaryFile(/tmp/multipartBody3936468899719893544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447603886,"filename":"image_29112025_21_01_43_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950146","file1":"1396950145","file0":"1396950144","file4":"1396950149","file5":"1396950152","file3":"1396950147"},"map_files_photo_id_array":[{"photo_id":"1396950152","filename":"file5"},{"photo_id":"1396950146","filename":"file2"},{"photo_id":"1396950149","filename":"file4"},{"photo_id":"1396950145","filename":"file1"},{"photo_id":"1396950144","filename":"file0"},{"photo_id":"1396950147","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950144":["hashtag1","hashtag2"]},{"1396950147":["hashtag1","hashtag2"]},{"1396950152":["hashtag1","hashtag2"]},{"1396950149":["hashtag1","hashtag2"]},{"1396950146":["hashtag1","hashtag2"]},{"1396950145":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950144, 1396950147, 1396950152, 1396950149, 1396950146, 1396950145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06188464164734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:19:42.001611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_10_2658.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_14_3570.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_16_2669.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_19_2664.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_23_3661.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_25_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/10/52/image_31102025_10_52_10_2658.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_14_3570.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_16_2669.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_19_2664.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_23_3661.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_25_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":["1396950169","1396950168","1396950162","1396950165","1396950167","1396950166"],"photo_ids_order":["1396950162","1396950165","1396950166","1396950167","1396950168","1396950169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e982b01cae24af3e3fff47bb988870cc.jpg","text":"TemporaryFile(/tmp/multipartBody425974181707864609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447643127,"filename":"image_31102025_10_52_25_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/07f5a09ac6d9429e780f4e4d5ff58249.jpg","text":"TemporaryFile(/tmp/multipartBody6224453133629354050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447643127,"filename":"image_31102025_10_52_23_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/387cc37e883f00bddb51e3b695398143.jpg","text":"TemporaryFile(/tmp/multipartBody3412617240400966852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447643127,"filename":"image_31102025_10_52_10_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2597c53f90f128994ccb231203ef72e3.jpg","text":"TemporaryFile(/tmp/multipartBody6265685368354191111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447643127,"filename":"image_31102025_10_52_14_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37b0bbd78ccb9bbc5ade2448acc0dc55.jpg","text":"TemporaryFile(/tmp/multipartBody960419930099043797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447643127,"filename":"image_31102025_10_52_19_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8554207755ff98bd0fd65701ba1ab716.jpg","text":"TemporaryFile(/tmp/multipartBody1171574771944769539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447643127,"filename":"image_31102025_10_52_16_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950166","file1":"1396950165","file0":"1396950162","file4":"1396950168","file5":"1396950169","file3":"1396950167"},"map_files_photo_id_array":[{"photo_id":"1396950169","filename":"file5"},{"photo_id":"1396950166","filename":"file2"},{"photo_id":"1396950168","filename":"file4"},{"photo_id":"1396950165","filename":"file1"},{"photo_id":"1396950162","filename":"file0"},{"photo_id":"1396950167","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950169":["hashtag1","hashtag2"]},{"1396950168":["hashtag1","hashtag2"]},{"1396950162":["hashtag1","hashtag2"]},{"1396950165":["hashtag1","hashtag2"]},{"1396950167":["hashtag1","hashtag2"]},{"1396950166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950169, 1396950168, 1396950162, 1396950165, 1396950167, 1396950166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.787314653396606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:20:22.148235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/02/image_29112025_21_02_34_9640.jpg', '/home/pi/Desktop/images/29112025/21/02/image_29112025_21_02_43_9661.jpg', '/home/pi/Desktop/images/29112025/21/02/image_29112025_21_02_54_10697.jpg', '/home/pi/Desktop/images/29112025/21/02/image_29112025_21_03_04_9622.jpg', '/home/pi/Desktop/images/29112025/21/03/image_29112025_21_03_13_9624.jpg', '/home/pi/Desktop/images/29112025/21/03/image_29112025_21_03_24_10752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/02/image_29112025_21_02_34_9640.jpg
/home/pi/Desktop/images/29112025/21/02/image_29112025_21_02_43_9661.jpg
/home/pi/Desktop/images/29112025/21/02/image_29112025_21_02_54_10697.jpg
/home/pi/Desktop/images/29112025/21/02/image_29112025_21_03_04_9622.jpg
/home/pi/Desktop/images/29112025/21/03/image_29112025_21_03_13_9624.jpg
/home/pi/Desktop/images/29112025/21/03/image_29112025_21_03_24_10752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950175","1396950186","1396950183","1396950181","1396950178","1396950172"],"photo_ids_order":["1396950172","1396950175","1396950178","1396950181","1396950183","1396950186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/525b0ee2ad13e19f69cf08d0ac16e06e.jpg","text":"TemporaryFile(/tmp/multipartBody3710246922993901738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447682836,"filename":"image_29112025_21_02_43_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20e0d218ffb643d4e07d094c63d2d290.jpg","text":"TemporaryFile(/tmp/multipartBody3937827051107866980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447682836,"filename":"image_29112025_21_03_24_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9acd98993f00d7dbbf657987ade362c.jpg","text":"TemporaryFile(/tmp/multipartBody1353991712988685697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447682836,"filename":"image_29112025_21_03_13_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/982138e57d4b93fb2e12070a8c008717.jpg","text":"TemporaryFile(/tmp/multipartBody8406963136254361410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447682836,"filename":"image_29112025_21_03_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49655e134fc0f6035cab46847b75cc3b.jpg","text":"TemporaryFile(/tmp/multipartBody4602382305827001101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447682836,"filename":"image_29112025_21_02_54_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc6302097b6f6ec3049e7e77000912c3.jpg","text":"TemporaryFile(/tmp/multipartBody691241724274223142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447682836,"filename":"image_29112025_21_02_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950178","file1":"1396950175","file0":"1396950172","file4":"1396950183","file5":"1396950186","file3":"1396950181"},"map_files_photo_id_array":[{"photo_id":"1396950186","filename":"file5"},{"photo_id":"1396950178","filename":"file2"},{"photo_id":"1396950183","filename":"file4"},{"photo_id":"1396950175","filename":"file1"},{"photo_id":"1396950172","filename":"file0"},{"photo_id":"1396950181","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950175":["hashtag1","hashtag2"]},{"1396950186":["hashtag1","hashtag2"]},{"1396950183":["hashtag1","hashtag2"]},{"1396950181":["hashtag1","hashtag2"]},{"1396950178":["hashtag1","hashtag2"]},{"1396950172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950175, 1396950186, 1396950183, 1396950181, 1396950178, 1396950172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15657615661621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:21:03.071662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/03/image_29112025_21_03_34_10141.jpg', '/home/pi/Desktop/images/29112025/21/03/image_29112025_21_03_44_9751.jpg', '/home/pi/Desktop/images/29112025/21/03/image_29112025_21_03_54_9579.jpg', '/home/pi/Desktop/images/29112025/21/04/image_29112025_21_04_14_9637.jpg', '/home/pi/Desktop/images/29112025/21/04/image_29112025_21_04_24_9786.jpg', '/home/pi/Desktop/images/29112025/21/04/image_29112025_21_04_34_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/03/image_29112025_21_03_34_10141.jpg
/home/pi/Desktop/images/29112025/21/03/image_29112025_21_03_44_9751.jpg
/home/pi/Desktop/images/29112025/21/03/image_29112025_21_03_54_9579.jpg
/home/pi/Desktop/images/29112025/21/04/image_29112025_21_04_14_9637.jpg
/home/pi/Desktop/images/29112025/21/04/image_29112025_21_04_24_9786.jpg
/home/pi/Desktop/images/29112025/21/04/image_29112025_21_04_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":["1396950198","1396950204","1396950207","1396950201","1396950200","1396950199"],"photo_ids_order":["1396950198","1396950199","1396950200","1396950201","1396950204","1396950207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0fffb41843095f255a89f12f3ea44611.jpg","text":"TemporaryFile(/tmp/multipartBody2603994316491289540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447723841,"filename":"image_29112025_21_03_34_10141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a06a46d599eb076c65ef88357777d71a.jpg","text":"TemporaryFile(/tmp/multipartBody7486016880365728682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447723841,"filename":"image_29112025_21_04_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/11/29/2fb9d58f35a9129840bfa58f85f949ef.jpg","text":"TemporaryFile(/tmp/multipartBody4374944392523131526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447723841,"filename":"image_29112025_21_04_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/11/29/5405c427946c8869acde3dfafbd3182f.jpg","text":"TemporaryFile(/tmp/multipartBody4501987210883704997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447723841,"filename":"image_29112025_21_04_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/11/29/c9afa2471eb87d9b7a455d329adb7c98.jpg","text":"TemporaryFile(/tmp/multipartBody4675505807224352709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447723841,"filename":"image_29112025_21_03_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/11/29/95bbf01124369cee00232e064c11e522.jpg","text":"TemporaryFile(/tmp/multipartBody8574744303135432883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447723841,"filename":"image_29112025_21_03_44_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950200","file1":"1396950199","file0":"1396950198","file4":"1396950204","file5":"1396950207","file3":"1396950201"},"map_files_photo_id_array":[{"photo_id":"1396950207","filename":"file5"},{"photo_id":"1396950200","filename":"file2"},{"photo_id":"1396950204","filename":"file4"},{"photo_id":"1396950199","filename":"file1"},{"photo_id":"1396950198","filename":"file0"},{"photo_id":"1396950201","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950198":["hashtag1","hashtag2"]},{"1396950204":["hashtag1","hashtag2"]},{"1396950207":["hashtag1","hashtag2"]},{"1396950201":["hashtag1","hashtag2"]},{"1396950200":["hashtag1","hashtag2"]},{"1396950199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950198, 1396950204, 1396950207, 1396950201, 1396950200, 1396950199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.437835454940796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:21:42.562426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_31_2684.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_35_3684.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_37_2732.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_40_2598.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_43_3633.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_46_2956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_31_2684.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_35_3684.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_37_2732.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_40_2598.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_43_3633.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_46_2956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950220","1396950217","1396950219","1396950213","1396950216","1396950218"],"photo_ids_order":["1396950213","1396950216","1396950217","1396950218","1396950219","1396950220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/109548e3bf89c60d71be603cbdcd4904.jpg","text":"TemporaryFile(/tmp/multipartBody195729102987922093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447763730,"filename":"image_31102025_10_52_46_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1cca3ab156a82515a3db99b58b3088e7.jpg","text":"TemporaryFile(/tmp/multipartBody1212970338890186343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447763730,"filename":"image_31102025_10_52_37_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9fcd79d51a263cb3773af2cc7df89566.jpg","text":"TemporaryFile(/tmp/multipartBody7904743823699413599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447763730,"filename":"image_31102025_10_52_43_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94223f8a01d929278fa860bbb73b92ee.jpg","text":"TemporaryFile(/tmp/multipartBody6016089172195964017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447763730,"filename":"image_31102025_10_52_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/11/29/8738abc4c49d2b1c494e0b0dc13017f2.jpg","text":"TemporaryFile(/tmp/multipartBody767922097767926758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447763730,"filename":"image_31102025_10_52_35_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0877d19ac7d980fdff097c9db9e6c190.jpg","text":"TemporaryFile(/tmp/multipartBody242006571626432624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447763730,"filename":"image_31102025_10_52_40_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950217","file1":"1396950216","file0":"1396950213","file4":"1396950219","file5":"1396950220","file3":"1396950218"},"map_files_photo_id_array":[{"photo_id":"1396950220","filename":"file5"},{"photo_id":"1396950217","filename":"file2"},{"photo_id":"1396950219","filename":"file4"},{"photo_id":"1396950216","filename":"file1"},{"photo_id":"1396950213","filename":"file0"},{"photo_id":"1396950218","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950220":["hashtag1","hashtag2"]},{"1396950217":["hashtag1","hashtag2"]},{"1396950219":["hashtag1","hashtag2"]},{"1396950213":["hashtag1","hashtag2"]},{"1396950216":["hashtag1","hashtag2"]},{"1396950218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950220, 1396950217, 1396950219, 1396950213, 1396950216, 1396950218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05704951286316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:22:22.702050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/04/image_29112025_21_04_44_9611.jpg', '/home/pi/Desktop/images/29112025/21/04/image_29112025_21_04_54_9666.jpg', '/home/pi/Desktop/images/29112025/21/04/image_29112025_21_05_04_10666.jpg', '/home/pi/Desktop/images/29112025/21/05/image_29112025_21_05_14_9681.jpg', '/home/pi/Desktop/images/29112025/21/05/image_29112025_21_05_24_9644.jpg', '/home/pi/Desktop/images/29112025/21/05/image_29112025_21_05_34_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/04/image_29112025_21_04_44_9611.jpg
/home/pi/Desktop/images/29112025/21/04/image_29112025_21_04_54_9666.jpg
/home/pi/Desktop/images/29112025/21/04/image_29112025_21_05_04_10666.jpg
/home/pi/Desktop/images/29112025/21/05/image_29112025_21_05_14_9681.jpg
/home/pi/Desktop/images/29112025/21/05/image_29112025_21_05_24_9644.jpg
/home/pi/Desktop/images/29112025/21/05/image_29112025_21_05_34_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950226","1396950223","1396950228","1396950233","1396950230","1396950224"],"photo_ids_order":["1396950223","1396950224","1396950226","1396950228","1396950230","1396950233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c452f9eb745375e9f18bf0cf82f33a8.jpg","text":"TemporaryFile(/tmp/multipartBody5476575988652587886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447803414,"filename":"image_29112025_21_05_04_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a47133b3602e26f200cd3174bbc2c777.jpg","text":"TemporaryFile(/tmp/multipartBody5056932495755384842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447803414,"filename":"image_29112025_21_04_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/11/29/4fac2105e7da5b2a80b3e17e7dca140a.jpg","text":"TemporaryFile(/tmp/multipartBody1184676022360453440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447803414,"filename":"image_29112025_21_05_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/11/29/c07f6a1bde692421ea9d8ffef1753c96.jpg","text":"TemporaryFile(/tmp/multipartBody3686472663431574060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447803414,"filename":"image_29112025_21_05_34_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71088b952c7017e66e500074d616f8c7.jpg","text":"TemporaryFile(/tmp/multipartBody8268689517044893199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447803414,"filename":"image_29112025_21_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/11/29/7880861830fd646da2836e5ee1b46dc9.jpg","text":"TemporaryFile(/tmp/multipartBody8389611866706923658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447803414,"filename":"image_29112025_21_04_54_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950226","file1":"1396950224","file0":"1396950223","file4":"1396950230","file5":"1396950233","file3":"1396950228"},"map_files_photo_id_array":[{"photo_id":"1396950233","filename":"file5"},{"photo_id":"1396950226","filename":"file2"},{"photo_id":"1396950230","filename":"file4"},{"photo_id":"1396950224","filename":"file1"},{"photo_id":"1396950223","filename":"file0"},{"photo_id":"1396950228","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950226":["hashtag1","hashtag2"]},{"1396950223":["hashtag1","hashtag2"]},{"1396950228":["hashtag1","hashtag2"]},{"1396950233":["hashtag1","hashtag2"]},{"1396950230":["hashtag1","hashtag2"]},{"1396950224":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950226, 1396950223, 1396950228, 1396950233, 1396950230, 1396950224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18450975418091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:23:02.707036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/05/image_29112025_21_05_44_9587.jpg', '/home/pi/Desktop/images/29112025/21/05/image_29112025_21_05_54_10620.jpg', '/home/pi/Desktop/images/29112025/21/05/image_29112025_21_06_04_9641.jpg', '/home/pi/Desktop/images/29112025/21/06/image_29112025_21_06_14_9694.jpg', '/home/pi/Desktop/images/29112025/21/06/image_29112025_21_06_24_10629.jpg', '/home/pi/Desktop/images/29112025/21/06/image_29112025_21_06_34_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/05/image_29112025_21_05_44_9587.jpg
/home/pi/Desktop/images/29112025/21/05/image_29112025_21_05_54_10620.jpg
/home/pi/Desktop/images/29112025/21/05/image_29112025_21_06_04_9641.jpg
/home/pi/Desktop/images/29112025/21/06/image_29112025_21_06_14_9694.jpg
/home/pi/Desktop/images/29112025/21/06/image_29112025_21_06_24_10629.jpg
/home/pi/Desktop/images/29112025/21/06/image_29112025_21_06_34_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950238","1396950240","1396950237","1396950242","1396950245","1396950239"],"photo_ids_order":["1396950237","1396950238","1396950239","1396950240","1396950242","1396950245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7269a5b3443c8ceb0b35f23e0e3924dc.jpg","text":"TemporaryFile(/tmp/multipartBody6869447770592672735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447843436,"filename":"image_29112025_21_05_54_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e51c0a1719724f71a8a584d9468d250e.jpg","text":"TemporaryFile(/tmp/multipartBody7581311559761527867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447843436,"filename":"image_29112025_21_06_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/11/29/0ea57d40e5a1b8861e16f34bb4f5fac8.jpg","text":"TemporaryFile(/tmp/multipartBody6651189087250506760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447843436,"filename":"image_29112025_21_05_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/11/29/e5a2a2b4c196fa256cdaafdb06e9eb77.jpg","text":"TemporaryFile(/tmp/multipartBody8371350147630064469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447843436,"filename":"image_29112025_21_06_24_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58207c3b51dd99f85a83584399fe407b.jpg","text":"TemporaryFile(/tmp/multipartBody4999601988268173684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447843436,"filename":"image_29112025_21_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/11/29/395234d7730e60161c955c3c9fbb977f.jpg","text":"TemporaryFile(/tmp/multipartBody2550738998236254488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447843436,"filename":"image_29112025_21_06_04_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950239","file1":"1396950238","file0":"1396950237","file4":"1396950242","file5":"1396950245","file3":"1396950240"},"map_files_photo_id_array":[{"photo_id":"1396950245","filename":"file5"},{"photo_id":"1396950239","filename":"file2"},{"photo_id":"1396950242","filename":"file4"},{"photo_id":"1396950238","filename":"file1"},{"photo_id":"1396950237","filename":"file0"},{"photo_id":"1396950240","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950238":["hashtag1","hashtag2"]},{"1396950240":["hashtag1","hashtag2"]},{"1396950237":["hashtag1","hashtag2"]},{"1396950242":["hashtag1","hashtag2"]},{"1396950245":["hashtag1","hashtag2"]},{"1396950239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950238, 1396950240, 1396950237, 1396950242, 1396950245, 1396950239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25563406944275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:23:42.081475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_49_2797.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_52_2840.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_56_3646.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_58_2636.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_01_2793.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_04_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/10/52/image_31102025_10_52_49_2797.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_52_2840.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_56_3646.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_58_2636.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_01_2793.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_04_2683.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.071707010269165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:24:02.877815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/06/image_29112025_21_06_44_9706.jpg', '/home/pi/Desktop/images/29112025/21/06/image_29112025_21_06_53_9753.jpg', '/home/pi/Desktop/images/29112025/21/06/image_29112025_21_07_04_10705.jpg', '/home/pi/Desktop/images/29112025/21/07/image_29112025_21_07_14_9754.jpg', '/home/pi/Desktop/images/29112025/21/07/image_29112025_21_07_24_9646.jpg', '/home/pi/Desktop/images/29112025/21/07/image_29112025_21_07_34_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/06/image_29112025_21_06_44_9706.jpg
/home/pi/Desktop/images/29112025/21/06/image_29112025_21_06_53_9753.jpg
/home/pi/Desktop/images/29112025/21/06/image_29112025_21_07_04_10705.jpg
/home/pi/Desktop/images/29112025/21/07/image_29112025_21_07_14_9754.jpg
/home/pi/Desktop/images/29112025/21/07/image_29112025_21_07_24_9646.jpg
/home/pi/Desktop/images/29112025/21/07/image_29112025_21_07_34_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950268","1396950273","1396950276","1396950270","1396950269","1396950271"],"photo_ids_order":["1396950268","1396950269","1396950270","1396950271","1396950273","1396950276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecb5c678fd3e9cfdd276b507973c1eeb.jpg","text":"TemporaryFile(/tmp/multipartBody8711907337473793067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447903632,"filename":"image_29112025_21_06_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eaff5296f364b8c8308131d0c8035823.jpg","text":"TemporaryFile(/tmp/multipartBody268087362545685846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447903632,"filename":"image_29112025_21_07_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecab19a842c5efa8ee21cce569500d15.jpg","text":"TemporaryFile(/tmp/multipartBody7934469280019144729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447903632,"filename":"image_29112025_21_07_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/11/29/8fe010b5b762e6be4bcc865d5bc187fc.jpg","text":"TemporaryFile(/tmp/multipartBody7982468245015467524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447903632,"filename":"image_29112025_21_07_04_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59f978f2f9ed4389da49e3ebb45991c0.jpg","text":"TemporaryFile(/tmp/multipartBody6155790782868400434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447903632,"filename":"image_29112025_21_06_53_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/307a5cafcc213a04696dc8b09b5570ed.jpg","text":"TemporaryFile(/tmp/multipartBody4390883031724721811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447903632,"filename":"image_29112025_21_07_14_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950270","file1":"1396950269","file0":"1396950268","file4":"1396950273","file5":"1396950276","file3":"1396950271"},"map_files_photo_id_array":[{"photo_id":"1396950276","filename":"file5"},{"photo_id":"1396950270","filename":"file2"},{"photo_id":"1396950273","filename":"file4"},{"photo_id":"1396950269","filename":"file1"},{"photo_id":"1396950268","filename":"file0"},{"photo_id":"1396950271","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950268":["hashtag1","hashtag2"]},{"1396950273":["hashtag1","hashtag2"]},{"1396950276":["hashtag1","hashtag2"]},{"1396950270":["hashtag1","hashtag2"]},{"1396950269":["hashtag1","hashtag2"]},{"1396950271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950268, 1396950273, 1396950276, 1396950270, 1396950269, 1396950271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.049360513687134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:24:42.277999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_49_2797.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_52_2840.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_56_3646.jpg', '/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_58_2636.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_01_2793.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_04_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/10/52/image_31102025_10_52_49_2797.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_52_2840.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_56_3646.jpg
/home/pi/Desktop/images/31102025/10/52/image_31102025_10_52_58_2636.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_01_2793.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_04_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":["1396950285","1396950288","1396950290","1396950287","1396950289","1396950286"],"photo_ids_order":["1396950285","1396950286","1396950287","1396950288","1396950289","1396950290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f18ea8dc8e966f1cc7b8c0a34d8e0357.jpg","text":"TemporaryFile(/tmp/multipartBody9093486294409229398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447943279,"filename":"image_31102025_10_52_49_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36690227048bfe8d437eab63fbac999c.jpg","text":"TemporaryFile(/tmp/multipartBody4985429637246741676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447943279,"filename":"image_31102025_10_52_58_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2254ef7904c77b93c0e66d62bad2ecfd.jpg","text":"TemporaryFile(/tmp/multipartBody205690243208496745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447943279,"filename":"image_31102025_10_53_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/11/29/a4509e982bf6100109985b86a800cde2.jpg","text":"TemporaryFile(/tmp/multipartBody3153143148016426859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447943279,"filename":"image_31102025_10_52_56_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0fbe742b926169d1f63b9710486e81a.jpg","text":"TemporaryFile(/tmp/multipartBody3971154938766909374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447943279,"filename":"image_31102025_10_53_01_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d574856222df0a0a4057542ee70f093.jpg","text":"TemporaryFile(/tmp/multipartBody8428438650803428486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447943279,"filename":"image_31102025_10_52_52_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950287","file1":"1396950286","file0":"1396950285","file4":"1396950289","file5":"1396950290","file3":"1396950288"},"map_files_photo_id_array":[{"photo_id":"1396950290","filename":"file5"},{"photo_id":"1396950287","filename":"file2"},{"photo_id":"1396950289","filename":"file4"},{"photo_id":"1396950286","filename":"file1"},{"photo_id":"1396950285","filename":"file0"},{"photo_id":"1396950288","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950285":["hashtag1","hashtag2"]},{"1396950288":["hashtag1","hashtag2"]},{"1396950290":["hashtag1","hashtag2"]},{"1396950287":["hashtag1","hashtag2"]},{"1396950289":["hashtag1","hashtag2"]},{"1396950286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950285, 1396950288, 1396950290, 1396950287, 1396950289, 1396950286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68363833427429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:25:22.659587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/07/image_29112025_21_07_44_9768.jpg', '/home/pi/Desktop/images/29112025/21/07/image_29112025_21_07_54_9684.jpg', '/home/pi/Desktop/images/29112025/21/07/image_29112025_21_08_04_10648.jpg', '/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_14_9937.jpg', '/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_24_9727.jpg', '/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_34_10082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/07/image_29112025_21_07_44_9768.jpg
/home/pi/Desktop/images/29112025/21/07/image_29112025_21_07_54_9684.jpg
/home/pi/Desktop/images/29112025/21/07/image_29112025_21_08_04_10648.jpg
/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_14_9937.jpg
/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_24_9727.jpg
/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_34_10082.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950304","1396950294","1396950297","1396950306","1396950300","1396950302"],"photo_ids_order":["1396950294","1396950297","1396950300","1396950302","1396950304","1396950306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3178df42ecbaa7a6a3db664092c41de1.jpg","text":"TemporaryFile(/tmp/multipartBody7561902771879571620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447983378,"filename":"image_29112025_21_08_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/352ca9fb047ea0336b37178e88a3906a.jpg","text":"TemporaryFile(/tmp/multipartBody2872856380635465336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447983378,"filename":"image_29112025_21_07_44_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aed1d851f1f284a8c528b6c8c336d237.jpg","text":"TemporaryFile(/tmp/multipartBody5929731587743075219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447983378,"filename":"image_29112025_21_07_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f920dc372012e2eb1f397b6681b900d9.jpg","text":"TemporaryFile(/tmp/multipartBody7156403015687243702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447983378,"filename":"image_29112025_21_08_34_10082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c82c7aca418db5fce94cfdf5c12851e9.jpg","text":"TemporaryFile(/tmp/multipartBody7514543140532244522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447983378,"filename":"image_29112025_21_08_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/11/29/e57137bf411bc9ff5e1b826f9f3d1db3.jpg","text":"TemporaryFile(/tmp/multipartBody8418948405990324956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764447983378,"filename":"image_29112025_21_08_14_9937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950300","file1":"1396950297","file0":"1396950294","file4":"1396950304","file5":"1396950306","file3":"1396950302"},"map_files_photo_id_array":[{"photo_id":"1396950306","filename":"file5"},{"photo_id":"1396950300","filename":"file2"},{"photo_id":"1396950304","filename":"file4"},{"photo_id":"1396950297","filename":"file1"},{"photo_id":"1396950294","filename":"file0"},{"photo_id":"1396950302","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950304":["hashtag1","hashtag2"]},{"1396950294":["hashtag1","hashtag2"]},{"1396950297":["hashtag1","hashtag2"]},{"1396950306":["hashtag1","hashtag2"]},{"1396950300":["hashtag1","hashtag2"]},{"1396950302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950304, 1396950294, 1396950297, 1396950306, 1396950300, 1396950302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92857503890991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:26:02.351231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_44_9640.jpg', '/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_54_10531.jpg', '/home/pi/Desktop/images/29112025/21/08/image_29112025_21_09_04_9590.jpg', '/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_14_9992.jpg', '/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_24_9673.jpg', '/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_34_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_44_9640.jpg
/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_54_10531.jpg
/home/pi/Desktop/images/29112025/21/08/image_29112025_21_09_04_9590.jpg
/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_14_9992.jpg
/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_24_9673.jpg
/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_34_10717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5963332653045654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 21:26:11.795602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_54_2741.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_58_3697.jpg', '/home/pi/Desktop/images/25112025/19/09/image_25112025_19_10_00_2653.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_03_2664.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_06_3614.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_09_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_54_2741.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_09_58_3697.jpg
/home/pi/Desktop/images/25112025/19/09/image_25112025_19_10_00_2653.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_03_2664.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_06_3614.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_09_2545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950321","1396950324","1396950318","1396950312","1396950314","1396950326"],"photo_ids_order":["1396950312","1396950314","1396950318","1396950321","1396950324","1396950326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6dc567409f88d992da4b18ff0fe6c8aa.jpg","text":"TemporaryFile(/tmp/multipartBody3746664941710369330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448033869,"filename":"image_25112025_19_10_03_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60e9c3bb0572969d26ad6260af548990.jpg","text":"TemporaryFile(/tmp/multipartBody9072127880266352995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448033869,"filename":"image_25112025_19_10_06_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/763fb9b47dac39eaea7f014278874053.jpg","text":"TemporaryFile(/tmp/multipartBody5670734390580945008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448033869,"filename":"image_25112025_19_10_00_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2125e10310df4bf5d2ae6c185244dd42.jpg","text":"TemporaryFile(/tmp/multipartBody2655231576274939435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448033869,"filename":"image_25112025_19_09_54_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/422595ea32d99d544d42d34ebedc3c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7832471255701415304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448033869,"filename":"image_25112025_19_09_58_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b67542e8c5536f3f7fc12bbd04bee3fb.jpg","text":"TemporaryFile(/tmp/multipartBody3269485810704293258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448033869,"filename":"image_25112025_19_10_09_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950318","file1":"1396950314","file0":"1396950312","file4":"1396950324","file5":"1396950326","file3":"1396950321"},"map_files_photo_id_array":[{"photo_id":"1396950326","filename":"file5"},{"photo_id":"1396950318","filename":"file2"},{"photo_id":"1396950324","filename":"file4"},{"photo_id":"1396950314","filename":"file1"},{"photo_id":"1396950312","filename":"file0"},{"photo_id":"1396950321","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396950321":["hashtag1","hashtag2"]},{"1396950324":["hashtag1","hashtag2"]},{"1396950318":["hashtag1","hashtag2"]},{"1396950312":["hashtag1","hashtag2"]},{"1396950314":["hashtag1","hashtag2"]},{"1396950326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396950321, 1396950324, 1396950318, 1396950312, 1396950314, 1396950326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5371630191803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:27:02.760039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_44_9640.jpg', '/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_54_10531.jpg', '/home/pi/Desktop/images/29112025/21/08/image_29112025_21_09_04_9590.jpg', '/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_14_9992.jpg', '/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_24_9673.jpg', '/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_34_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_44_9640.jpg
/home/pi/Desktop/images/29112025/21/08/image_29112025_21_08_54_10531.jpg
/home/pi/Desktop/images/29112025/21/08/image_29112025_21_09_04_9590.jpg
/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_14_9992.jpg
/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_24_9673.jpg
/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_34_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":["1396950340","1396950348","1396950342","1396950345","1396950341","1396950343"],"photo_ids_order":["1396950340","1396950341","1396950342","1396950343","1396950345","1396950348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aeca182a7ae75a4a43de050b1098f4cf.jpg","text":"TemporaryFile(/tmp/multipartBody2991838238256061617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448083507,"filename":"image_29112025_21_08_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/11/29/0fe28f0d3f0c9b0a4338df0948c06117.jpg","text":"TemporaryFile(/tmp/multipartBody1758436364330784711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448083507,"filename":"image_29112025_21_09_34_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6e987ad5d742584960cf3e7e7d25491.jpg","text":"TemporaryFile(/tmp/multipartBody666646395880635173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448083507,"filename":"image_29112025_21_09_04_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b3493f6d6181fe29eb338a22bd1ca76.jpg","text":"TemporaryFile(/tmp/multipartBody4576435085934900638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448083507,"filename":"image_29112025_21_09_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/11/29/40234abccac092ba4e85712728b5e66f.jpg","text":"TemporaryFile(/tmp/multipartBody373976172018371297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448083507,"filename":"image_29112025_21_08_54_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f52c9c14f8ecd12fcb4d7f16338d4f1c.jpg","text":"TemporaryFile(/tmp/multipartBody9102077627059648349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448083507,"filename":"image_29112025_21_09_14_9992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950342","file1":"1396950341","file0":"1396950340","file4":"1396950345","file5":"1396950348","file3":"1396950343"},"map_files_photo_id_array":[{"photo_id":"1396950348","filename":"file5"},{"photo_id":"1396950342","filename":"file2"},{"photo_id":"1396950345","filename":"file4"},{"photo_id":"1396950341","filename":"file1"},{"photo_id":"1396950340","filename":"file0"},{"photo_id":"1396950343","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950340":["hashtag1","hashtag2"]},{"1396950348":["hashtag1","hashtag2"]},{"1396950342":["hashtag1","hashtag2"]},{"1396950345":["hashtag1","hashtag2"]},{"1396950341":["hashtag1","hashtag2"]},{"1396950343":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950340, 1396950348, 1396950342, 1396950345, 1396950341, 1396950343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44463086128235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:27:42.076342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_07_3609.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_10_2700.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_13_2791.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_17_3727.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_19_2670.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_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/10/53/image_31102025_10_53_07_3609.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_10_2700.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_13_2791.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_17_3727.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_19_2670.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_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":["1396950360","1396950359","1396950362","1396950361","1396950355","1396950358"],"photo_ids_order":["1396950355","1396950358","1396950359","1396950360","1396950361","1396950362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8535deba5ec4bb3e1ca56cac3c8ce76b.jpg","text":"TemporaryFile(/tmp/multipartBody1167551795502482102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448123189,"filename":"image_31102025_10_53_17_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d38b644d3c746c2860a9726e666ae79.jpg","text":"TemporaryFile(/tmp/multipartBody4320850190594102952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448123189,"filename":"image_31102025_10_53_13_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a0317f700507c7bfd6ff81a1d7b8910.jpg","text":"TemporaryFile(/tmp/multipartBody3531428541997465616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448123189,"filename":"image_31102025_10_53_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/11/29/09e55137dc15c81ca94ec54046d8637e.jpg","text":"TemporaryFile(/tmp/multipartBody330061656343012861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448123189,"filename":"image_31102025_10_53_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/11/29/c99cd1186906cd2052865d5329bedc6c.jpg","text":"TemporaryFile(/tmp/multipartBody7338562134887500259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448123189,"filename":"image_31102025_10_53_07_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ac18d2203dc4de0403bc37be7444a0f.jpg","text":"TemporaryFile(/tmp/multipartBody8877889016761961376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448123189,"filename":"image_31102025_10_53_10_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950359","file1":"1396950358","file0":"1396950355","file4":"1396950361","file5":"1396950362","file3":"1396950360"},"map_files_photo_id_array":[{"photo_id":"1396950362","filename":"file5"},{"photo_id":"1396950359","filename":"file2"},{"photo_id":"1396950361","filename":"file4"},{"photo_id":"1396950358","filename":"file1"},{"photo_id":"1396950355","filename":"file0"},{"photo_id":"1396950360","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950360":["hashtag1","hashtag2"]},{"1396950359":["hashtag1","hashtag2"]},{"1396950362":["hashtag1","hashtag2"]},{"1396950361":["hashtag1","hashtag2"]},{"1396950355":["hashtag1","hashtag2"]},{"1396950358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950360, 1396950359, 1396950362, 1396950361, 1396950355, 1396950358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29471492767334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:28:22.270632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_44_9578.jpg', '/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_54_9665.jpg', '/home/pi/Desktop/images/29112025/21/09/image_29112025_21_10_04_10773.jpg', '/home/pi/Desktop/images/29112025/21/10/image_29112025_21_10_14_9651.jpg', '/home/pi/Desktop/images/29112025/21/10/image_29112025_21_10_24_9616.jpg', '/home/pi/Desktop/images/29112025/21/10/image_29112025_21_10_34_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_44_9578.jpg
/home/pi/Desktop/images/29112025/21/09/image_29112025_21_09_54_9665.jpg
/home/pi/Desktop/images/29112025/21/09/image_29112025_21_10_04_10773.jpg
/home/pi/Desktop/images/29112025/21/10/image_29112025_21_10_14_9651.jpg
/home/pi/Desktop/images/29112025/21/10/image_29112025_21_10_24_9616.jpg
/home/pi/Desktop/images/29112025/21/10/image_29112025_21_10_34_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950372","1396950365","1396950374","1396950368","1396950376","1396950379"],"photo_ids_order":["1396950365","1396950368","1396950372","1396950374","1396950376","1396950379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8d481b8800b402a90f500a1509a04be.jpg","text":"TemporaryFile(/tmp/multipartBody2876489504394652618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448162951,"filename":"image_29112025_21_10_04_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3bac209f0b0d189e66ad4c0919ddfe2.jpg","text":"TemporaryFile(/tmp/multipartBody2100753821517461852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448162951,"filename":"image_29112025_21_09_44_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca7c334fa029d52786d28d98799efc8b.jpg","text":"TemporaryFile(/tmp/multipartBody2572970745289384133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448162951,"filename":"image_29112025_21_10_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/908bf5650878a5309ecf128adcfd0079.jpg","text":"TemporaryFile(/tmp/multipartBody7235167466240266266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448162951,"filename":"image_29112025_21_09_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/11/29/70e0c6449ea368f9c5b294d9a20c94ef.jpg","text":"TemporaryFile(/tmp/multipartBody5529464047326953095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448162951,"filename":"image_29112025_21_10_24_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d23895e980fc942f88ca3e023f5a40b1.jpg","text":"TemporaryFile(/tmp/multipartBody4320058290309307201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448162951,"filename":"image_29112025_21_10_34_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950372","file1":"1396950368","file0":"1396950365","file4":"1396950376","file5":"1396950379","file3":"1396950374"},"map_files_photo_id_array":[{"photo_id":"1396950379","filename":"file5"},{"photo_id":"1396950372","filename":"file2"},{"photo_id":"1396950376","filename":"file4"},{"photo_id":"1396950368","filename":"file1"},{"photo_id":"1396950365","filename":"file0"},{"photo_id":"1396950374","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950372":["hashtag1","hashtag2"]},{"1396950365":["hashtag1","hashtag2"]},{"1396950374":["hashtag1","hashtag2"]},{"1396950368":["hashtag1","hashtag2"]},{"1396950376":["hashtag1","hashtag2"]},{"1396950379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950372, 1396950365, 1396950374, 1396950368, 1396950376, 1396950379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.946410179138184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:29:03.511271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/10/image_29112025_21_10_44_9554.jpg', '/home/pi/Desktop/images/29112025/21/10/image_29112025_21_10_53_9569.jpg', '/home/pi/Desktop/images/29112025/21/10/image_29112025_21_11_04_10563.jpg', '/home/pi/Desktop/images/29112025/21/11/image_29112025_21_11_14_9816.jpg', '/home/pi/Desktop/images/29112025/21/11/image_29112025_21_11_24_10519.jpg', '/home/pi/Desktop/images/29112025/21/11/image_29112025_21_11_34_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/10/image_29112025_21_10_44_9554.jpg
/home/pi/Desktop/images/29112025/21/10/image_29112025_21_10_53_9569.jpg
/home/pi/Desktop/images/29112025/21/10/image_29112025_21_11_04_10563.jpg
/home/pi/Desktop/images/29112025/21/11/image_29112025_21_11_14_9816.jpg
/home/pi/Desktop/images/29112025/21/11/image_29112025_21_11_24_10519.jpg
/home/pi/Desktop/images/29112025/21/11/image_29112025_21_11_34_9552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950390","1396950384","1396950381","1396950386","1396950380","1396950382"],"photo_ids_order":["1396950380","1396950381","1396950382","1396950384","1396950386","1396950390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf755ccbf8fb087227420cda50a7f295.jpg","text":"TemporaryFile(/tmp/multipartBody2426746902507536009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448204346,"filename":"image_29112025_21_11_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/11/29/38a676188d7aa55a80fcf2c220a25fdb.jpg","text":"TemporaryFile(/tmp/multipartBody7076093783299709305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448204346,"filename":"image_29112025_21_11_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/11/29/a9c2ad66ae0dee42c01ae387ae4e4435.jpg","text":"TemporaryFile(/tmp/multipartBody8578063362849065286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448204346,"filename":"image_29112025_21_10_53_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/10442b781671e8240a8381aefaca26b6.jpg","text":"TemporaryFile(/tmp/multipartBody422605066682373030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448204346,"filename":"image_29112025_21_11_24_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0064ae831bd0c9c14abe36d16a8bb899.jpg","text":"TemporaryFile(/tmp/multipartBody2197920782192291769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448204346,"filename":"image_29112025_21_10_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/11/29/838a2b94625c076054a8b7bf2e46f18d.jpg","text":"TemporaryFile(/tmp/multipartBody890494706708027522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448204346,"filename":"image_29112025_21_11_04_10563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950382","file1":"1396950381","file0":"1396950380","file4":"1396950386","file5":"1396950390","file3":"1396950384"},"map_files_photo_id_array":[{"photo_id":"1396950390","filename":"file5"},{"photo_id":"1396950382","filename":"file2"},{"photo_id":"1396950386","filename":"file4"},{"photo_id":"1396950381","filename":"file1"},{"photo_id":"1396950380","filename":"file0"},{"photo_id":"1396950384","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950390":["hashtag1","hashtag2"]},{"1396950384":["hashtag1","hashtag2"]},{"1396950381":["hashtag1","hashtag2"]},{"1396950386":["hashtag1","hashtag2"]},{"1396950380":["hashtag1","hashtag2"]},{"1396950382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950390, 1396950384, 1396950381, 1396950386, 1396950380, 1396950382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.046616554260254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:29:42.550131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_26_3632.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_28_2647.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_31_2673.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_35_3701.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_37_2746.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_40_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/10/53/image_31102025_10_53_26_3632.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_28_2647.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_31_2673.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_35_3701.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_37_2746.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_40_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":["1396950412","1396950411","1396950414","1396950413","1396950410","1396950397"],"photo_ids_order":["1396950397","1396950410","1396950411","1396950412","1396950413","1396950414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43bc5355350f4930a0c9c1b8c11e192e.jpg","text":"TemporaryFile(/tmp/multipartBody2194513658957958441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448243659,"filename":"image_31102025_10_53_35_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d3ce007dcc8e5981de53627938e0522.jpg","text":"TemporaryFile(/tmp/multipartBody2450016859032021568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448243659,"filename":"image_31102025_10_53_31_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14c18a0b94eaf8075f7763d5d812507d.jpg","text":"TemporaryFile(/tmp/multipartBody1685643887209647685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448243659,"filename":"image_31102025_10_53_40_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81e2771f66c320b690e6ba57e51ce208.jpg","text":"TemporaryFile(/tmp/multipartBody625839240162016717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448243659,"filename":"image_31102025_10_53_37_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b2ac20979b9fedfbff0f2cbf5b7c8b15.jpg","text":"TemporaryFile(/tmp/multipartBody7267545420845938230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448243659,"filename":"image_31102025_10_53_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/11/29/26ab5ed3240cc0e81744346632ffa174.jpg","text":"TemporaryFile(/tmp/multipartBody7019087754545260093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448243659,"filename":"image_31102025_10_53_26_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950411","file1":"1396950410","file0":"1396950397","file4":"1396950413","file5":"1396950414","file3":"1396950412"},"map_files_photo_id_array":[{"photo_id":"1396950414","filename":"file5"},{"photo_id":"1396950411","filename":"file2"},{"photo_id":"1396950413","filename":"file4"},{"photo_id":"1396950410","filename":"file1"},{"photo_id":"1396950397","filename":"file0"},{"photo_id":"1396950412","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950412":["hashtag1","hashtag2"]},{"1396950411":["hashtag1","hashtag2"]},{"1396950414":["hashtag1","hashtag2"]},{"1396950413":["hashtag1","hashtag2"]},{"1396950410":["hashtag1","hashtag2"]},{"1396950397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950412, 1396950411, 1396950414, 1396950413, 1396950410, 1396950397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.256102085113525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:30:22.725590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/11/image_29112025_21_11_43_9548.jpg', '/home/pi/Desktop/images/29112025/21/11/image_29112025_21_11_54_10959.jpg', '/home/pi/Desktop/images/29112025/21/11/image_29112025_21_12_04_9555.jpg', '/home/pi/Desktop/images/29112025/21/12/image_29112025_21_12_14_9592.jpg', '/home/pi/Desktop/images/29112025/21/12/image_29112025_21_12_24_10720.jpg', '/home/pi/Desktop/images/29112025/21/12/image_29112025_21_12_34_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/11/image_29112025_21_11_43_9548.jpg
/home/pi/Desktop/images/29112025/21/11/image_29112025_21_11_54_10959.jpg
/home/pi/Desktop/images/29112025/21/11/image_29112025_21_12_04_9555.jpg
/home/pi/Desktop/images/29112025/21/12/image_29112025_21_12_14_9592.jpg
/home/pi/Desktop/images/29112025/21/12/image_29112025_21_12_24_10720.jpg
/home/pi/Desktop/images/29112025/21/12/image_29112025_21_12_34_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950427","1396950420","1396950417","1396950431","1396950422","1396950425"],"photo_ids_order":["1396950417","1396950420","1396950422","1396950425","1396950427","1396950431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82a64e700de3e5fe3c8764d00a313d34.jpg","text":"TemporaryFile(/tmp/multipartBody991575884030932811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448283439,"filename":"image_29112025_21_12_24_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efbb26d7892879ee6aa72e570b05e3fb.jpg","text":"TemporaryFile(/tmp/multipartBody213183606567640756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448283439,"filename":"image_29112025_21_11_54_10959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef490ab68b8a77c0566ed81033874f7a.jpg","text":"TemporaryFile(/tmp/multipartBody7516469257351207354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448283439,"filename":"image_29112025_21_11_43_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b277a517db318eef841d512ff1ee8720.jpg","text":"TemporaryFile(/tmp/multipartBody9189938567556839072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448283439,"filename":"image_29112025_21_12_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e16463f9a225c1343a13aae5b004ec0.jpg","text":"TemporaryFile(/tmp/multipartBody46456500220417736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448283439,"filename":"image_29112025_21_12_04_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/869b9ee2ecb0a2003cdfc946d8c68094.jpg","text":"TemporaryFile(/tmp/multipartBody4766275635527066844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448283439,"filename":"image_29112025_21_12_14_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950422","file1":"1396950420","file0":"1396950417","file4":"1396950427","file5":"1396950431","file3":"1396950425"},"map_files_photo_id_array":[{"photo_id":"1396950431","filename":"file5"},{"photo_id":"1396950422","filename":"file2"},{"photo_id":"1396950427","filename":"file4"},{"photo_id":"1396950420","filename":"file1"},{"photo_id":"1396950417","filename":"file0"},{"photo_id":"1396950425","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950427":["hashtag1","hashtag2"]},{"1396950420":["hashtag1","hashtag2"]},{"1396950417":["hashtag1","hashtag2"]},{"1396950431":["hashtag1","hashtag2"]},{"1396950422":["hashtag1","hashtag2"]},{"1396950425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950427, 1396950420, 1396950417, 1396950431, 1396950422, 1396950425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24433422088623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:31:02.584809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/12/image_29112025_21_12_44_9657.jpg', '/home/pi/Desktop/images/29112025/21/12/image_29112025_21_12_54_10712.jpg', '/home/pi/Desktop/images/29112025/21/12/image_29112025_21_13_04_9728.jpg', '/home/pi/Desktop/images/29112025/21/13/image_29112025_21_13_14_9925.jpg', '/home/pi/Desktop/images/29112025/21/13/image_29112025_21_13_24_9813.jpg', '/home/pi/Desktop/images/29112025/21/13/image_29112025_21_13_34_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/12/image_29112025_21_12_44_9657.jpg
/home/pi/Desktop/images/29112025/21/12/image_29112025_21_12_54_10712.jpg
/home/pi/Desktop/images/29112025/21/12/image_29112025_21_13_04_9728.jpg
/home/pi/Desktop/images/29112025/21/13/image_29112025_21_13_14_9925.jpg
/home/pi/Desktop/images/29112025/21/13/image_29112025_21_13_24_9813.jpg
/home/pi/Desktop/images/29112025/21/13/image_29112025_21_13_34_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":["1396950439","1396950441","1396950446","1396950440","1396950443","1396950437"],"photo_ids_order":["1396950437","1396950439","1396950440","1396950441","1396950443","1396950446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7d3f51e00aeca9c1e7ac0c5f153ac49.jpg","text":"TemporaryFile(/tmp/multipartBody7410393787667266648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448323328,"filename":"image_29112025_21_12_54_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddcba06e502fdc838b2ae4bdd871c3fc.jpg","text":"TemporaryFile(/tmp/multipartBody6456537685526161772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448323328,"filename":"image_29112025_21_13_14_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df73a330dd0af4d14c3790c95de3d7fd.jpg","text":"TemporaryFile(/tmp/multipartBody2222626600615315105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448323328,"filename":"image_29112025_21_13_34_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e8765cef1713c0cbc32d2b39c3796200.jpg","text":"TemporaryFile(/tmp/multipartBody3956377771616938377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448323328,"filename":"image_29112025_21_13_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/11/29/fe3fc30a9c78737da06442c9d24a417d.jpg","text":"TemporaryFile(/tmp/multipartBody1584511435429389411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448323328,"filename":"image_29112025_21_13_24_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d9c11a8c9c111d5a22c5cdb3bafadd3.jpg","text":"TemporaryFile(/tmp/multipartBody3170672557787398157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448323328,"filename":"image_29112025_21_12_44_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950440","file1":"1396950439","file0":"1396950437","file4":"1396950443","file5":"1396950446","file3":"1396950441"},"map_files_photo_id_array":[{"photo_id":"1396950446","filename":"file5"},{"photo_id":"1396950440","filename":"file2"},{"photo_id":"1396950443","filename":"file4"},{"photo_id":"1396950439","filename":"file1"},{"photo_id":"1396950437","filename":"file0"},{"photo_id":"1396950441","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950439":["hashtag1","hashtag2"]},{"1396950441":["hashtag1","hashtag2"]},{"1396950446":["hashtag1","hashtag2"]},{"1396950440":["hashtag1","hashtag2"]},{"1396950443":["hashtag1","hashtag2"]},{"1396950437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950439, 1396950441, 1396950446, 1396950440, 1396950443, 1396950437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07746863365173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:31:41.844809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_43_2759.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_46_3659.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_49_2605.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_52_2663.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_55_3657.jpg', '/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_58_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/10/53/image_31102025_10_53_43_2759.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_46_3659.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_49_2605.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_52_2663.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_55_3657.jpg
/home/pi/Desktop/images/31102025/10/53/image_31102025_10_53_58_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":["1396950456","1396950458","1396950452","1396950455","1396950460","1396950457"],"photo_ids_order":["1396950452","1396950455","1396950456","1396950457","1396950458","1396950460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a49714f033ac522a2b247690da3351c5.jpg","text":"TemporaryFile(/tmp/multipartBody7405877291477082775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448362958,"filename":"image_31102025_10_53_49_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bb126cfc579c5e356e6d85d85d000c0.jpg","text":"TemporaryFile(/tmp/multipartBody1929386127344387458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448362958,"filename":"image_31102025_10_53_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/11/29/9cb497f2161b40cc70224cd1a07ad819.jpg","text":"TemporaryFile(/tmp/multipartBody3539051666191151384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448362958,"filename":"image_31102025_10_53_43_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fcf3b93babf0467aca262f18a3e2883a.jpg","text":"TemporaryFile(/tmp/multipartBody274484592828768922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448362958,"filename":"image_31102025_10_53_46_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b70b5d881adbb142853ce2644419fd5c.jpg","text":"TemporaryFile(/tmp/multipartBody3026524682331751333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448362958,"filename":"image_31102025_10_53_58_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74d072c61ff985de518447c587b36dbf.jpg","text":"TemporaryFile(/tmp/multipartBody7070993904859049974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448362958,"filename":"image_31102025_10_53_52_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950456","file1":"1396950455","file0":"1396950452","file4":"1396950458","file5":"1396950460","file3":"1396950457"},"map_files_photo_id_array":[{"photo_id":"1396950460","filename":"file5"},{"photo_id":"1396950456","filename":"file2"},{"photo_id":"1396950458","filename":"file4"},{"photo_id":"1396950455","filename":"file1"},{"photo_id":"1396950452","filename":"file0"},{"photo_id":"1396950457","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950456":["hashtag1","hashtag2"]},{"1396950458":["hashtag1","hashtag2"]},{"1396950452":["hashtag1","hashtag2"]},{"1396950455":["hashtag1","hashtag2"]},{"1396950460":["hashtag1","hashtag2"]},{"1396950457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950456, 1396950458, 1396950452, 1396950455, 1396950460, 1396950457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77057886123657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:32:22.016919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/13/image_29112025_21_13_44_9738.jpg', '/home/pi/Desktop/images/29112025/21/13/image_29112025_21_13_54_9809.jpg', '/home/pi/Desktop/images/29112025/21/13/image_29112025_21_14_04_9716.jpg', '/home/pi/Desktop/images/29112025/21/14/image_29112025_21_14_14_10535.jpg', '/home/pi/Desktop/images/29112025/21/14/image_29112025_21_14_24_9381.jpg', '/home/pi/Desktop/images/29112025/21/14/image_29112025_21_14_34_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/13/image_29112025_21_13_44_9738.jpg
/home/pi/Desktop/images/29112025/21/13/image_29112025_21_13_54_9809.jpg
/home/pi/Desktop/images/29112025/21/13/image_29112025_21_14_04_9716.jpg
/home/pi/Desktop/images/29112025/21/14/image_29112025_21_14_14_10535.jpg
/home/pi/Desktop/images/29112025/21/14/image_29112025_21_14_24_9381.jpg
/home/pi/Desktop/images/29112025/21/14/image_29112025_21_14_34_10656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950466","1396950477","1396950472","1396950475","1396950469","1396950463"],"photo_ids_order":["1396950463","1396950466","1396950469","1396950472","1396950475","1396950477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc2b52553e945e472bdb4d6ee0ca1094.jpg","text":"TemporaryFile(/tmp/multipartBody7162288518409857228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448402727,"filename":"image_29112025_21_13_54_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/127b7bdcc54f8b4af4da54b6c1a3436d.jpg","text":"TemporaryFile(/tmp/multipartBody6538628425480651310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448402727,"filename":"image_29112025_21_14_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/11/29/dd7e07df85bb502958d3b972b9303b0a.jpg","text":"TemporaryFile(/tmp/multipartBody4500304851231027268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448402727,"filename":"image_29112025_21_14_14_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fab832f77cd72b0037c80285373b24b7.jpg","text":"TemporaryFile(/tmp/multipartBody7741340022202061392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448402727,"filename":"image_29112025_21_14_24_9381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6cd143eea707daf127eb36558d626302.jpg","text":"TemporaryFile(/tmp/multipartBody9067572711943722031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448402727,"filename":"image_29112025_21_14_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/11/29/9db6a9ca7252f9dbcb97f0eb76abfafe.jpg","text":"TemporaryFile(/tmp/multipartBody688231103155080740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448402727,"filename":"image_29112025_21_13_44_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950469","file1":"1396950466","file0":"1396950463","file4":"1396950475","file5":"1396950477","file3":"1396950472"},"map_files_photo_id_array":[{"photo_id":"1396950477","filename":"file5"},{"photo_id":"1396950469","filename":"file2"},{"photo_id":"1396950475","filename":"file4"},{"photo_id":"1396950466","filename":"file1"},{"photo_id":"1396950463","filename":"file0"},{"photo_id":"1396950472","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950466":["hashtag1","hashtag2"]},{"1396950477":["hashtag1","hashtag2"]},{"1396950472":["hashtag1","hashtag2"]},{"1396950475":["hashtag1","hashtag2"]},{"1396950469":["hashtag1","hashtag2"]},{"1396950463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950466, 1396950477, 1396950472, 1396950475, 1396950469, 1396950463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50461935997009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:33:03.026466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/14/image_29112025_21_14_44_9739.jpg', '/home/pi/Desktop/images/29112025/21/14/image_29112025_21_14_54_9714.jpg', '/home/pi/Desktop/images/29112025/21/14/image_29112025_21_15_04_10556.jpg', '/home/pi/Desktop/images/29112025/21/15/image_29112025_21_15_14_9759.jpg', '/home/pi/Desktop/images/29112025/21/15/image_29112025_21_15_24_9547.jpg', '/home/pi/Desktop/images/29112025/21/15/image_29112025_21_15_34_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/14/image_29112025_21_14_44_9739.jpg
/home/pi/Desktop/images/29112025/21/14/image_29112025_21_14_54_9714.jpg
/home/pi/Desktop/images/29112025/21/14/image_29112025_21_15_04_10556.jpg
/home/pi/Desktop/images/29112025/21/15/image_29112025_21_15_14_9759.jpg
/home/pi/Desktop/images/29112025/21/15/image_29112025_21_15_24_9547.jpg
/home/pi/Desktop/images/29112025/21/15/image_29112025_21_15_34_10761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950489","1396950488","1396950491","1396950490","1396950493","1396950496"],"photo_ids_order":["1396950488","1396950489","1396950490","1396950491","1396950493","1396950496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a3d204c7cf74af6d44199a85ebb2bad.jpg","text":"TemporaryFile(/tmp/multipartBody2200664262645398002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448443772,"filename":"image_29112025_21_14_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/11/29/026a9a20bb0347d11ba1c68d6afdabcf.jpg","text":"TemporaryFile(/tmp/multipartBody5862617469530060585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448443772,"filename":"image_29112025_21_14_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/11/29/697838bc96d69982d3280da9099df1e2.jpg","text":"TemporaryFile(/tmp/multipartBody5720370525569502520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448443772,"filename":"image_29112025_21_15_14_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/138352afb91d83cbe97a68e077cf2955.jpg","text":"TemporaryFile(/tmp/multipartBody3100210531801906252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448443772,"filename":"image_29112025_21_15_04_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff777f0191289c02affd48dc3c917bfd.jpg","text":"TemporaryFile(/tmp/multipartBody7131716852131361396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448443772,"filename":"image_29112025_21_15_24_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b5defb8cb050c3a26fe6f3bd2d05cc7.jpg","text":"TemporaryFile(/tmp/multipartBody4907611813475049666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448443772,"filename":"image_29112025_21_15_34_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950490","file1":"1396950489","file0":"1396950488","file4":"1396950493","file5":"1396950496","file3":"1396950491"},"map_files_photo_id_array":[{"photo_id":"1396950496","filename":"file5"},{"photo_id":"1396950490","filename":"file2"},{"photo_id":"1396950493","filename":"file4"},{"photo_id":"1396950489","filename":"file1"},{"photo_id":"1396950488","filename":"file0"},{"photo_id":"1396950491","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950489":["hashtag1","hashtag2"]},{"1396950488":["hashtag1","hashtag2"]},{"1396950491":["hashtag1","hashtag2"]},{"1396950490":["hashtag1","hashtag2"]},{"1396950493":["hashtag1","hashtag2"]},{"1396950496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950489, 1396950488, 1396950491, 1396950490, 1396950493, 1396950496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82154035568237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:33:42.228321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_01_2704.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_05_3785.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_07_2599.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_10_2815.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_13_2748.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_16_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_01_2704.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_05_3785.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_07_2599.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_10_2815.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_13_2748.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_16_3649.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.0186212062835693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:34:03.104700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/15/image_29112025_21_15_44_9549.jpg', '/home/pi/Desktop/images/29112025/21/15/image_29112025_21_15_54_9760.jpg', '/home/pi/Desktop/images/29112025/21/15/image_29112025_21_16_03_9782.jpg', '/home/pi/Desktop/images/29112025/21/16/image_29112025_21_16_14_10685.jpg', '/home/pi/Desktop/images/29112025/21/16/image_29112025_21_16_24_9686.jpg', '/home/pi/Desktop/images/29112025/21/16/image_29112025_21_16_33_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/15/image_29112025_21_15_44_9549.jpg
/home/pi/Desktop/images/29112025/21/15/image_29112025_21_15_54_9760.jpg
/home/pi/Desktop/images/29112025/21/15/image_29112025_21_16_03_9782.jpg
/home/pi/Desktop/images/29112025/21/16/image_29112025_21_16_14_10685.jpg
/home/pi/Desktop/images/29112025/21/16/image_29112025_21_16_24_9686.jpg
/home/pi/Desktop/images/29112025/21/16/image_29112025_21_16_33_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":["1396950517","1396950520","1396950514","1396950513","1396950512","1396950515"],"photo_ids_order":["1396950512","1396950513","1396950514","1396950515","1396950517","1396950520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e04ccee1b4461a4096d99ac010cca74e.jpg","text":"TemporaryFile(/tmp/multipartBody4301477328532567786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448503903,"filename":"image_29112025_21_16_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/11/29/1bd2631433e655d914a19e0c80c9a377.jpg","text":"TemporaryFile(/tmp/multipartBody277201348692826161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448503903,"filename":"image_29112025_21_16_33_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/151fd9a2f72bc212a7f6805e3c64e416.jpg","text":"TemporaryFile(/tmp/multipartBody436758311078371782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448503903,"filename":"image_29112025_21_16_03_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fb7cdb8a0c0ce3e7bc5afa55a6633b3.jpg","text":"TemporaryFile(/tmp/multipartBody8633989373062394608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448503903,"filename":"image_29112025_21_15_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/11/29/1e3bb856f3ce99f957d794877ef21f13.jpg","text":"TemporaryFile(/tmp/multipartBody5443139847985471411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448503903,"filename":"image_29112025_21_15_44_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e5b16a6fa8077a2af7ddc4affcd639f.jpg","text":"TemporaryFile(/tmp/multipartBody4700101201478877937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448503903,"filename":"image_29112025_21_16_14_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950514","file1":"1396950513","file0":"1396950512","file4":"1396950517","file5":"1396950520","file3":"1396950515"},"map_files_photo_id_array":[{"photo_id":"1396950520","filename":"file5"},{"photo_id":"1396950514","filename":"file2"},{"photo_id":"1396950517","filename":"file4"},{"photo_id":"1396950513","filename":"file1"},{"photo_id":"1396950512","filename":"file0"},{"photo_id":"1396950515","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950517":["hashtag1","hashtag2"]},{"1396950520":["hashtag1","hashtag2"]},{"1396950514":["hashtag1","hashtag2"]},{"1396950513":["hashtag1","hashtag2"]},{"1396950512":["hashtag1","hashtag2"]},{"1396950515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950517, 1396950520, 1396950514, 1396950513, 1396950512, 1396950515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.734537839889526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:34:42.380842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_01_2704.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_05_3785.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_07_2599.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_10_2815.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_13_2748.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_16_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_01_2704.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_05_3785.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_07_2599.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_10_2815.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_13_2748.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_16_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950532","1396950529","1396950528","1396950531","1396950530","1396950527"],"photo_ids_order":["1396950527","1396950528","1396950529","1396950530","1396950531","1396950532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ace694c1d3eeecca91c5d625ce120d52.jpg","text":"TemporaryFile(/tmp/multipartBody8147943205688968464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448543393,"filename":"image_31102025_10_54_16_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/051b29ecf01cac50a1cd41592f343146.jpg","text":"TemporaryFile(/tmp/multipartBody5032854636956410160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448543393,"filename":"image_31102025_10_54_07_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc09e4c16551e75a7af09aad4a0f2d2f.jpg","text":"TemporaryFile(/tmp/multipartBody1334533147051677035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448543393,"filename":"image_31102025_10_54_05_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/076a7355b18c8db76e94a075d6390398.jpg","text":"TemporaryFile(/tmp/multipartBody6827182543586618064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448543393,"filename":"image_31102025_10_54_13_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ecc21297ccbb6d8a6eda17e3a2ea23f.jpg","text":"TemporaryFile(/tmp/multipartBody7548918419236879400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448543393,"filename":"image_31102025_10_54_10_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0577fb8d6808bce6c82370815108b499.jpg","text":"TemporaryFile(/tmp/multipartBody6685092934739936759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448543393,"filename":"image_31102025_10_54_01_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950529","file1":"1396950528","file0":"1396950527","file4":"1396950531","file5":"1396950532","file3":"1396950530"},"map_files_photo_id_array":[{"photo_id":"1396950532","filename":"file5"},{"photo_id":"1396950529","filename":"file2"},{"photo_id":"1396950531","filename":"file4"},{"photo_id":"1396950528","filename":"file1"},{"photo_id":"1396950527","filename":"file0"},{"photo_id":"1396950530","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950532":["hashtag1","hashtag2"]},{"1396950529":["hashtag1","hashtag2"]},{"1396950528":["hashtag1","hashtag2"]},{"1396950531":["hashtag1","hashtag2"]},{"1396950530":["hashtag1","hashtag2"]},{"1396950527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950532, 1396950529, 1396950528, 1396950531, 1396950530, 1396950527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17836117744446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:35:22.622509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/16/image_29112025_21_16_44_10711.jpg', '/home/pi/Desktop/images/29112025/21/16/image_29112025_21_16_54_9590.jpg', '/home/pi/Desktop/images/29112025/21/16/image_29112025_21_17_04_10673.jpg', '/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_14_9784.jpg', '/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_24_9613.jpg', '/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_33_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/16/image_29112025_21_16_44_10711.jpg
/home/pi/Desktop/images/29112025/21/16/image_29112025_21_16_54_9590.jpg
/home/pi/Desktop/images/29112025/21/16/image_29112025_21_17_04_10673.jpg
/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_14_9784.jpg
/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_24_9613.jpg
/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_33_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950544","1396950546","1396950543","1396950539","1396950542","1396950536"],"photo_ids_order":["1396950536","1396950539","1396950542","1396950543","1396950544","1396950546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be9787e89e6ea541ee54d6a9eb30a4ab.jpg","text":"TemporaryFile(/tmp/multipartBody148550021287359324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448583305,"filename":"image_29112025_21_17_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/493765db0a4925be4569ed8962cc9f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7921740609674279794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448583305,"filename":"image_29112025_21_17_33_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cae8060f3f46d53929f2104570e0ee49.jpg","text":"TemporaryFile(/tmp/multipartBody7471275290870153589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448583305,"filename":"image_29112025_21_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/11/29/637425dd8c0bfb63df90b16a806aa749.jpg","text":"TemporaryFile(/tmp/multipartBody2263723604255043242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448583305,"filename":"image_29112025_21_16_54_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97841df748b41107685a8a76b3489697.jpg","text":"TemporaryFile(/tmp/multipartBody4605351739272931535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448583305,"filename":"image_29112025_21_17_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/45660a563eb336193f68ccdece4d8dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7008250314052518391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448583305,"filename":"image_29112025_21_16_44_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950542","file1":"1396950539","file0":"1396950536","file4":"1396950544","file5":"1396950546","file3":"1396950543"},"map_files_photo_id_array":[{"photo_id":"1396950546","filename":"file5"},{"photo_id":"1396950542","filename":"file2"},{"photo_id":"1396950544","filename":"file4"},{"photo_id":"1396950539","filename":"file1"},{"photo_id":"1396950536","filename":"file0"},{"photo_id":"1396950543","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950544":["hashtag1","hashtag2"]},{"1396950546":["hashtag1","hashtag2"]},{"1396950543":["hashtag1","hashtag2"]},{"1396950539":["hashtag1","hashtag2"]},{"1396950542":["hashtag1","hashtag2"]},{"1396950536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950544, 1396950546, 1396950543, 1396950539, 1396950542, 1396950536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2636342048645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:36:02.604204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_44_10580.jpg', '/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_54_9608.jpg', '/home/pi/Desktop/images/29112025/21/17/image_29112025_21_18_04_10651.jpg', '/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_14_9618.jpg', '/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_24_9630.jpg', '/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_34_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_44_10580.jpg
/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_54_9608.jpg
/home/pi/Desktop/images/29112025/21/17/image_29112025_21_18_04_10651.jpg
/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_14_9618.jpg
/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_24_9630.jpg
/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_34_10717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6370413303375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 21:36:12.068303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_13_3642.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_15_2634.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_22_3768.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_24_2590.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_27_2638.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_31_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_13_3642.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_15_2634.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_22_3768.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_24_2590.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_27_2638.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_31_3693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950567","1396950561","1396950569","1396950563","1396950574","1396950577"],"photo_ids_order":["1396950561","1396950563","1396950567","1396950569","1396950574","1396950577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1b7b9bc88b8ac5ec082f4d0af374371.jpg","text":"TemporaryFile(/tmp/multipartBody217921845548759881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448634159,"filename":"image_25112025_19_10_22_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/989274f73ff52557fa8b59d0f4d18165.jpg","text":"TemporaryFile(/tmp/multipartBody7079688519052860447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448634159,"filename":"image_25112025_19_10_13_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/798a28f0c01f1fc036fcd19b8a8580c9.jpg","text":"TemporaryFile(/tmp/multipartBody8158668921979902643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448634159,"filename":"image_25112025_19_10_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/11/29/9bd4173aaa43af01a2226ef7805019b6.jpg","text":"TemporaryFile(/tmp/multipartBody6041277600977234887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448634159,"filename":"image_25112025_19_10_15_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f4feb9bd04450a63659c238bdd6141c.jpg","text":"TemporaryFile(/tmp/multipartBody7769761526933996860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448634159,"filename":"image_25112025_19_10_27_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b947ef776cce38931c0cc732f0468168.jpg","text":"TemporaryFile(/tmp/multipartBody1857986285305584477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448634159,"filename":"image_25112025_19_10_31_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950567","file1":"1396950563","file0":"1396950561","file4":"1396950574","file5":"1396950577","file3":"1396950569"},"map_files_photo_id_array":[{"photo_id":"1396950577","filename":"file5"},{"photo_id":"1396950567","filename":"file2"},{"photo_id":"1396950574","filename":"file4"},{"photo_id":"1396950563","filename":"file1"},{"photo_id":"1396950561","filename":"file0"},{"photo_id":"1396950569","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396950567":["hashtag1","hashtag2"]},{"1396950561":["hashtag1","hashtag2"]},{"1396950569":["hashtag1","hashtag2"]},{"1396950563":["hashtag1","hashtag2"]},{"1396950574":["hashtag1","hashtag2"]},{"1396950577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396950567, 1396950561, 1396950569, 1396950563, 1396950574, 1396950577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26043438911438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:37:03.018286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_44_10580.jpg', '/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_54_9608.jpg', '/home/pi/Desktop/images/29112025/21/17/image_29112025_21_18_04_10651.jpg', '/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_14_9618.jpg', '/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_24_9630.jpg', '/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_34_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_44_10580.jpg
/home/pi/Desktop/images/29112025/21/17/image_29112025_21_17_54_9608.jpg
/home/pi/Desktop/images/29112025/21/17/image_29112025_21_18_04_10651.jpg
/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_14_9618.jpg
/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_24_9630.jpg
/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_34_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":["1396950582","1396950585","1396950588","1396950581","1396950580","1396950583"],"photo_ids_order":["1396950580","1396950581","1396950582","1396950583","1396950585","1396950588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5184e15f80469364e5e18982332254ea.jpg","text":"TemporaryFile(/tmp/multipartBody6490869177874768363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448683775,"filename":"image_29112025_21_18_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/11/29/060382548972a28f51bbb010b77aa9c0.jpg","text":"TemporaryFile(/tmp/multipartBody5687172752920700680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448683775,"filename":"image_29112025_21_18_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a987fee23212fb765a909a3f2182197.jpg","text":"TemporaryFile(/tmp/multipartBody5546126056269659368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448683775,"filename":"image_29112025_21_18_34_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b983367491d6774461226f03ddeeaa97.jpg","text":"TemporaryFile(/tmp/multipartBody5948369304795428056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448683775,"filename":"image_29112025_21_17_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff74426212144a8aa161bd70ed91c9fa.jpg","text":"TemporaryFile(/tmp/multipartBody2008573410688034269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448683775,"filename":"image_29112025_21_17_44_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20d0c6a435313cd1b200e228c700d0d3.jpg","text":"TemporaryFile(/tmp/multipartBody4579227406884767372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448683775,"filename":"image_29112025_21_18_14_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950582","file1":"1396950581","file0":"1396950580","file4":"1396950585","file5":"1396950588","file3":"1396950583"},"map_files_photo_id_array":[{"photo_id":"1396950588","filename":"file5"},{"photo_id":"1396950582","filename":"file2"},{"photo_id":"1396950585","filename":"file4"},{"photo_id":"1396950581","filename":"file1"},{"photo_id":"1396950580","filename":"file0"},{"photo_id":"1396950583","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950582":["hashtag1","hashtag2"]},{"1396950585":["hashtag1","hashtag2"]},{"1396950588":["hashtag1","hashtag2"]},{"1396950581":["hashtag1","hashtag2"]},{"1396950580":["hashtag1","hashtag2"]},{"1396950583":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950582, 1396950585, 1396950588, 1396950581, 1396950580, 1396950583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48732542991638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:37:42.245395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_19_2641.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_22_2611.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_25_3607.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_28_2588.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_31_2851.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_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/10/54/image_31102025_10_54_19_2641.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_22_2611.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_25_3607.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_28_2588.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_31_2851.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_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":["1396950597","1396950601","1396950594","1396950600","1396950599","1396950598"],"photo_ids_order":["1396950594","1396950597","1396950598","1396950599","1396950600","1396950601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bc858e6cdce4d8e76e0790ba8b74acf.jpg","text":"TemporaryFile(/tmp/multipartBody1624274844403714770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448723370,"filename":"image_31102025_10_54_22_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/459f4a5b2d3ea47f015707354076dbbd.jpg","text":"TemporaryFile(/tmp/multipartBody2279336070126890800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448723370,"filename":"image_31102025_10_54_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/11/29/59a2b9487e55a5af76f07c4932293215.jpg","text":"TemporaryFile(/tmp/multipartBody3208849329652701204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448723370,"filename":"image_31102025_10_54_19_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e377140f1df6d8135c59396d72690819.jpg","text":"TemporaryFile(/tmp/multipartBody4582551314510917649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448723370,"filename":"image_31102025_10_54_31_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3d24b3adbd70f08fc0e8705c0fb81fe.jpg","text":"TemporaryFile(/tmp/multipartBody7020034013028286896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448723370,"filename":"image_31102025_10_54_28_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4db88022a5270bb4d40e69a1970637d8.jpg","text":"TemporaryFile(/tmp/multipartBody3249368637009920154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448723370,"filename":"image_31102025_10_54_25_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950598","file1":"1396950597","file0":"1396950594","file4":"1396950600","file5":"1396950601","file3":"1396950599"},"map_files_photo_id_array":[{"photo_id":"1396950601","filename":"file5"},{"photo_id":"1396950598","filename":"file2"},{"photo_id":"1396950600","filename":"file4"},{"photo_id":"1396950597","filename":"file1"},{"photo_id":"1396950594","filename":"file0"},{"photo_id":"1396950599","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950597":["hashtag1","hashtag2"]},{"1396950601":["hashtag1","hashtag2"]},{"1396950594":["hashtag1","hashtag2"]},{"1396950600":["hashtag1","hashtag2"]},{"1396950599":["hashtag1","hashtag2"]},{"1396950598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950597, 1396950601, 1396950594, 1396950600, 1396950599, 1396950598)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.03410291671753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 21:38:32.554139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_33_2648.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_36_2822.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_40_3610.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_42_2581.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_46_4216.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_48_1582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_33_2648.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_36_2822.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_40_3610.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_42_2581.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_46_4216.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_48_1582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950627","1396950615","1396950609","1396950626","1396950611","1396950614"],"photo_ids_order":["1396950609","1396950611","1396950614","1396950615","1396950626","1396950627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f5916d4f1203b2f1e74a6c0070c7d86.jpg","text":"TemporaryFile(/tmp/multipartBody2341699912963083954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448774794,"filename":"image_25112025_19_10_48_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dea6cf39db64bdb12d79f5166fa23750.jpg","text":"TemporaryFile(/tmp/multipartBody4134057519316016220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448774794,"filename":"image_25112025_19_10_42_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c986189f6a93f90e7facfb762f2c888b.jpg","text":"TemporaryFile(/tmp/multipartBody481498410547297778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448774794,"filename":"image_25112025_19_10_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/11/29/c5855611cc967c35309cd789522017d9.jpg","text":"TemporaryFile(/tmp/multipartBody5973690932347978414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448774794,"filename":"image_25112025_19_10_46_4216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d39bf3fb29d2e9b5c9ded31cc52b384b.jpg","text":"TemporaryFile(/tmp/multipartBody6176844233135644827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448774794,"filename":"image_25112025_19_10_36_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4e7855d25daad02a5515dc63c3ccba80.jpg","text":"TemporaryFile(/tmp/multipartBody7410252488323010935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448774794,"filename":"image_25112025_19_10_40_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950614","file1":"1396950611","file0":"1396950609","file4":"1396950626","file5":"1396950627","file3":"1396950615"},"map_files_photo_id_array":[{"photo_id":"1396950627","filename":"file5"},{"photo_id":"1396950614","filename":"file2"},{"photo_id":"1396950626","filename":"file4"},{"photo_id":"1396950611","filename":"file1"},{"photo_id":"1396950609","filename":"file0"},{"photo_id":"1396950615","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396950627":["hashtag1","hashtag2"]},{"1396950615":["hashtag1","hashtag2"]},{"1396950609":["hashtag1","hashtag2"]},{"1396950626":["hashtag1","hashtag2"]},{"1396950611":["hashtag1","hashtag2"]},{"1396950614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396950627, 1396950615, 1396950609, 1396950626, 1396950611, 1396950614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.428720474243164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 21:39:12.543079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_52_3601.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_54_2734.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_57_2720.jpg', '/home/pi/Desktop/images/25112025/19/10/image_25112025_19_11_01_3586.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_03_2873.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_06_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_52_3601.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_54_2734.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_10_57_2720.jpg
/home/pi/Desktop/images/25112025/19/10/image_25112025_19_11_01_3586.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_03_2873.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_06_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":["1396950628","1396950639","1396950633","1396950642","1396950636","1396950630"],"photo_ids_order":["1396950628","1396950630","1396950633","1396950636","1396950639","1396950642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85f7c2871f66c38d90b6c4f2bf1314e2.jpg","text":"TemporaryFile(/tmp/multipartBody6177003120102339868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448814621,"filename":"image_25112025_19_10_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/11/29/3129ab0fe78ab8b9e360280a9fb52f87.jpg","text":"TemporaryFile(/tmp/multipartBody4426229838399676954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448814621,"filename":"image_25112025_19_11_03_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4325f6fbaa1a43f16ffd607219ee499e.jpg","text":"TemporaryFile(/tmp/multipartBody614275730676149706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448814621,"filename":"image_25112025_19_10_57_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b16af5e22f74248cebf02c39ad19ea5f.jpg","text":"TemporaryFile(/tmp/multipartBody7554232139222047605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448814621,"filename":"image_25112025_19_11_06_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/250de039e9569732fceb9cae105814c9.jpg","text":"TemporaryFile(/tmp/multipartBody7192639579473267166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448814621,"filename":"image_25112025_19_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/11/29/0dc8ae043bdd5f011f259491fce5a715.jpg","text":"TemporaryFile(/tmp/multipartBody7725829770967327496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448814621,"filename":"image_25112025_19_10_54_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950633","file1":"1396950630","file0":"1396950628","file4":"1396950639","file5":"1396950642","file3":"1396950636"},"map_files_photo_id_array":[{"photo_id":"1396950642","filename":"file5"},{"photo_id":"1396950633","filename":"file2"},{"photo_id":"1396950639","filename":"file4"},{"photo_id":"1396950630","filename":"file1"},{"photo_id":"1396950628","filename":"file0"},{"photo_id":"1396950636","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396950628":["hashtag1","hashtag2"]},{"1396950639":["hashtag1","hashtag2"]},{"1396950633":["hashtag1","hashtag2"]},{"1396950642":["hashtag1","hashtag2"]},{"1396950636":["hashtag1","hashtag2"]},{"1396950630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396950628, 1396950639, 1396950633, 1396950642, 1396950636, 1396950630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.810338497161865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:40:03.293823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_44_9605.jpg', '/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_54_9734.jpg', '/home/pi/Desktop/images/29112025/21/18/image_29112025_21_19_04_10687.jpg', '/home/pi/Desktop/images/29112025/21/19/image_29112025_21_19_14_9676.jpg', '/home/pi/Desktop/images/29112025/21/19/image_29112025_21_19_24_9639.jpg', '/home/pi/Desktop/images/29112025/21/19/image_29112025_21_19_34_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_44_9605.jpg
/home/pi/Desktop/images/29112025/21/18/image_29112025_21_18_54_9734.jpg
/home/pi/Desktop/images/29112025/21/18/image_29112025_21_19_04_10687.jpg
/home/pi/Desktop/images/29112025/21/19/image_29112025_21_19_14_9676.jpg
/home/pi/Desktop/images/29112025/21/19/image_29112025_21_19_24_9639.jpg
/home/pi/Desktop/images/29112025/21/19/image_29112025_21_19_34_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950646","1396950645","1396950648","1396950650","1396950644","1396950652"],"photo_ids_order":["1396950644","1396950645","1396950646","1396950648","1396950650","1396950652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8971cdab7bbc617d9ee8384e2ecc5cd.jpg","text":"TemporaryFile(/tmp/multipartBody5183869090082507989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448863997,"filename":"image_29112025_21_19_04_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c934e6be8e23ebbbabe422fd9e6276e.jpg","text":"TemporaryFile(/tmp/multipartBody4058879274668956573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448863997,"filename":"image_29112025_21_18_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/11/29/680917a7d0c9bcf6bde7180676bc685b.jpg","text":"TemporaryFile(/tmp/multipartBody8201063870773002976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448863997,"filename":"image_29112025_21_19_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/11/29/bb5d8cbea7c6b91d788bd5841cba5e90.jpg","text":"TemporaryFile(/tmp/multipartBody7608826951367310357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448863997,"filename":"image_29112025_21_19_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/11/29/bc1078b638ac0170337f5a39ee6653ea.jpg","text":"TemporaryFile(/tmp/multipartBody7121963839516432468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448863997,"filename":"image_29112025_21_18_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/011e2a91a8c5ffa8c9930985836394b4.jpg","text":"TemporaryFile(/tmp/multipartBody2301838153205238119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448863997,"filename":"image_29112025_21_19_34_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950646","file1":"1396950645","file0":"1396950644","file4":"1396950650","file5":"1396950652","file3":"1396950648"},"map_files_photo_id_array":[{"photo_id":"1396950652","filename":"file5"},{"photo_id":"1396950646","filename":"file2"},{"photo_id":"1396950650","filename":"file4"},{"photo_id":"1396950645","filename":"file1"},{"photo_id":"1396950644","filename":"file0"},{"photo_id":"1396950648","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950646":["hashtag1","hashtag2"]},{"1396950645":["hashtag1","hashtag2"]},{"1396950648":["hashtag1","hashtag2"]},{"1396950650":["hashtag1","hashtag2"]},{"1396950644":["hashtag1","hashtag2"]},{"1396950652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950646, 1396950645, 1396950648, 1396950650, 1396950644, 1396950652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75437307357788 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:40:42.787673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_37_2666.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_40_2693.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_44_3790.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_46_2662.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_49_2699.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_52_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/10/54/image_31102025_10_54_37_2666.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_40_2693.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_44_3790.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_46_2662.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_49_2699.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_52_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":["1396950658","1396950657","1396950660","1396950662","1396950659","1396950661"],"photo_ids_order":["1396950657","1396950658","1396950659","1396950660","1396950661","1396950662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f5cbdf99cb64112cde69935b3f812f5.jpg","text":"TemporaryFile(/tmp/multipartBody4875108100405467137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448903904,"filename":"image_31102025_10_54_40_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3385403791b45d19e7930e3779da07bc.jpg","text":"TemporaryFile(/tmp/multipartBody6033034078904735316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448903904,"filename":"image_31102025_10_54_37_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cdf7a55dc0937318889c8b1a3c43527d.jpg","text":"TemporaryFile(/tmp/multipartBody3188217493084171624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448903904,"filename":"image_31102025_10_54_46_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f05eba7e73db3f521bc26a00d7abf68c.jpg","text":"TemporaryFile(/tmp/multipartBody6214030234409011585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448903904,"filename":"image_31102025_10_54_52_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/856f13beb615fcdf3e8409c0965fe9f9.jpg","text":"TemporaryFile(/tmp/multipartBody6353023315782493098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448903904,"filename":"image_31102025_10_54_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/11/29/42f9fe8532ca33729f29e8ac60ec4201.jpg","text":"TemporaryFile(/tmp/multipartBody6234495924094910312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448903904,"filename":"image_31102025_10_54_49_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950659","file1":"1396950658","file0":"1396950657","file4":"1396950661","file5":"1396950662","file3":"1396950660"},"map_files_photo_id_array":[{"photo_id":"1396950662","filename":"file5"},{"photo_id":"1396950659","filename":"file2"},{"photo_id":"1396950661","filename":"file4"},{"photo_id":"1396950658","filename":"file1"},{"photo_id":"1396950657","filename":"file0"},{"photo_id":"1396950660","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950658":["hashtag1","hashtag2"]},{"1396950657":["hashtag1","hashtag2"]},{"1396950660":["hashtag1","hashtag2"]},{"1396950662":["hashtag1","hashtag2"]},{"1396950659":["hashtag1","hashtag2"]},{"1396950661":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950658, 1396950657, 1396950660, 1396950662, 1396950659, 1396950661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00982308387756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:41:21.954563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/19/image_29112025_21_19_44_9639.jpg', '/home/pi/Desktop/images/29112025/21/19/image_29112025_21_19_54_9718.jpg', '/home/pi/Desktop/images/29112025/21/19/image_29112025_21_20_04_10588.jpg', '/home/pi/Desktop/images/29112025/21/20/image_29112025_21_20_14_9717.jpg', '/home/pi/Desktop/images/29112025/21/20/image_29112025_21_20_24_9610.jpg', '/home/pi/Desktop/images/29112025/21/20/image_29112025_21_20_34_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/19/image_29112025_21_19_44_9639.jpg
/home/pi/Desktop/images/29112025/21/19/image_29112025_21_19_54_9718.jpg
/home/pi/Desktop/images/29112025/21/19/image_29112025_21_20_04_10588.jpg
/home/pi/Desktop/images/29112025/21/20/image_29112025_21_20_14_9717.jpg
/home/pi/Desktop/images/29112025/21/20/image_29112025_21_20_24_9610.jpg
/home/pi/Desktop/images/29112025/21/20/image_29112025_21_20_34_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950678","1396950674","1396950668","1396950671","1396950665","1396950676"],"photo_ids_order":["1396950665","1396950668","1396950671","1396950674","1396950676","1396950678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14056c43bf353edfbb6d108e6e9f27f2.jpg","text":"TemporaryFile(/tmp/multipartBody3597362352065642419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448942741,"filename":"image_29112025_21_20_34_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cfc553be92b56b6d19daa683cf0a4711.jpg","text":"TemporaryFile(/tmp/multipartBody2466540561914043421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448942741,"filename":"image_29112025_21_20_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/11/29/1e63387fc1cd2d4b16c42de9cece16b9.jpg","text":"TemporaryFile(/tmp/multipartBody5924866264965493207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448942741,"filename":"image_29112025_21_19_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/11/29/b17f89e741f3294adaff34a12787979d.jpg","text":"TemporaryFile(/tmp/multipartBody772123267911857518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448942741,"filename":"image_29112025_21_20_04_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec53a6c566979275660fe076a4f9a18d.jpg","text":"TemporaryFile(/tmp/multipartBody5754160509909851919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448942741,"filename":"image_29112025_21_19_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d537c93b53103d388b122abe60861bfe.jpg","text":"TemporaryFile(/tmp/multipartBody6323015167751071400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448942741,"filename":"image_29112025_21_20_24_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950671","file1":"1396950668","file0":"1396950665","file4":"1396950676","file5":"1396950678","file3":"1396950674"},"map_files_photo_id_array":[{"photo_id":"1396950678","filename":"file5"},{"photo_id":"1396950671","filename":"file2"},{"photo_id":"1396950676","filename":"file4"},{"photo_id":"1396950668","filename":"file1"},{"photo_id":"1396950665","filename":"file0"},{"photo_id":"1396950674","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950678":["hashtag1","hashtag2"]},{"1396950674":["hashtag1","hashtag2"]},{"1396950668":["hashtag1","hashtag2"]},{"1396950671":["hashtag1","hashtag2"]},{"1396950665":["hashtag1","hashtag2"]},{"1396950676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950678, 1396950674, 1396950668, 1396950671, 1396950665, 1396950676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97687602043152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:42:02.688751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/20/image_29112025_21_20_44_9586.jpg', '/home/pi/Desktop/images/29112025/21/20/image_29112025_21_20_53_9639.jpg', '/home/pi/Desktop/images/29112025/21/20/image_29112025_21_21_04_10737.jpg', '/home/pi/Desktop/images/29112025/21/21/image_29112025_21_21_14_9696.jpg', '/home/pi/Desktop/images/29112025/21/21/image_29112025_21_21_23_9624.jpg', '/home/pi/Desktop/images/29112025/21/21/image_29112025_21_21_34_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/20/image_29112025_21_20_44_9586.jpg
/home/pi/Desktop/images/29112025/21/20/image_29112025_21_20_53_9639.jpg
/home/pi/Desktop/images/29112025/21/20/image_29112025_21_21_04_10737.jpg
/home/pi/Desktop/images/29112025/21/21/image_29112025_21_21_14_9696.jpg
/home/pi/Desktop/images/29112025/21/21/image_29112025_21_21_23_9624.jpg
/home/pi/Desktop/images/29112025/21/21/image_29112025_21_21_34_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950696","1396950690","1396950692","1396950689","1396950691","1396950694"],"photo_ids_order":["1396950689","1396950690","1396950691","1396950692","1396950694","1396950696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ebe5adfb69c8528dad4d8be9539ec093.jpg","text":"TemporaryFile(/tmp/multipartBody7908259832332384169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448983403,"filename":"image_29112025_21_21_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61d7759d33ed1c8bb9fb89b95ffcfdd4.jpg","text":"TemporaryFile(/tmp/multipartBody5614357791143010614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448983403,"filename":"image_29112025_21_20_53_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a7d35e16996b087b5c6bbddd90a8eb7f.jpg","text":"TemporaryFile(/tmp/multipartBody6102964029485310241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448983403,"filename":"image_29112025_21_21_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/17e49b2ca51e14829e90b7acaa30d050.jpg","text":"TemporaryFile(/tmp/multipartBody1666843401055549526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448983403,"filename":"image_29112025_21_20_44_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2340eeec153af94a15e61c30b39198fc.jpg","text":"TemporaryFile(/tmp/multipartBody6604938270104732236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448983403,"filename":"image_29112025_21_21_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/11/29/29d671521ee755e1ece71f1eb414ea54.jpg","text":"TemporaryFile(/tmp/multipartBody4092740708878165204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764448983403,"filename":"image_29112025_21_21_23_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950691","file1":"1396950690","file0":"1396950689","file4":"1396950694","file5":"1396950696","file3":"1396950692"},"map_files_photo_id_array":[{"photo_id":"1396950696","filename":"file5"},{"photo_id":"1396950691","filename":"file2"},{"photo_id":"1396950694","filename":"file4"},{"photo_id":"1396950690","filename":"file1"},{"photo_id":"1396950689","filename":"file0"},{"photo_id":"1396950692","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950696":["hashtag1","hashtag2"]},{"1396950690":["hashtag1","hashtag2"]},{"1396950692":["hashtag1","hashtag2"]},{"1396950689":["hashtag1","hashtag2"]},{"1396950691":["hashtag1","hashtag2"]},{"1396950694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950696, 1396950690, 1396950692, 1396950689, 1396950691, 1396950694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32059049606323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:42:42.215733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_55_3544.jpg', '/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_58_2765.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_07_3016.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_11_3730.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_14_2598.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_16_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/10/54/image_31102025_10_54_55_3544.jpg
/home/pi/Desktop/images/31102025/10/54/image_31102025_10_54_58_2765.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_07_3016.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_11_3730.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_14_2598.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_16_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950703","1396950712","1396950706","1396950708","1396950710","1396950713"],"photo_ids_order":["1396950703","1396950706","1396950708","1396950710","1396950712","1396950713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3a0cba53f6a8d16e46405375695de845.jpg","text":"TemporaryFile(/tmp/multipartBody7909496447936267149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449023327,"filename":"image_31102025_10_54_55_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ddff292c95eef37ac9cff5d0c49a461.jpg","text":"TemporaryFile(/tmp/multipartBody8195186691421611629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449023327,"filename":"image_31102025_10_56_14_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12fbca130beea6f2293897b2269a7b46.jpg","text":"TemporaryFile(/tmp/multipartBody9087816747182667701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449023327,"filename":"image_31102025_10_54_58_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9697bdc6fb349ac19e554ba7f64ee85.jpg","text":"TemporaryFile(/tmp/multipartBody8401442359212255769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449023327,"filename":"image_31102025_10_56_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b92221e5142fe8951433e8b3a1854ad.jpg","text":"TemporaryFile(/tmp/multipartBody942133963692673033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449023327,"filename":"image_31102025_10_56_11_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2611ed6d1ea8dea821d918659cce662b.jpg","text":"TemporaryFile(/tmp/multipartBody1596156806806285247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449023327,"filename":"image_31102025_10_56_16_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950708","file1":"1396950706","file0":"1396950703","file4":"1396950712","file5":"1396950713","file3":"1396950710"},"map_files_photo_id_array":[{"photo_id":"1396950713","filename":"file5"},{"photo_id":"1396950708","filename":"file2"},{"photo_id":"1396950712","filename":"file4"},{"photo_id":"1396950706","filename":"file1"},{"photo_id":"1396950703","filename":"file0"},{"photo_id":"1396950710","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950703":["hashtag1","hashtag2"]},{"1396950712":["hashtag1","hashtag2"]},{"1396950706":["hashtag1","hashtag2"]},{"1396950708":["hashtag1","hashtag2"]},{"1396950710":["hashtag1","hashtag2"]},{"1396950713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950703, 1396950712, 1396950706, 1396950708, 1396950710, 1396950713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27009296417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:43:22.356205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/21/image_29112025_21_21_44_9664.jpg', '/home/pi/Desktop/images/29112025/21/21/image_29112025_21_21_54_9783.jpg', '/home/pi/Desktop/images/29112025/21/21/image_29112025_21_22_04_10637.jpg', '/home/pi/Desktop/images/29112025/21/22/image_29112025_21_22_14_9679.jpg', '/home/pi/Desktop/images/29112025/21/22/image_29112025_21_22_24_9639.jpg', '/home/pi/Desktop/images/29112025/21/22/image_29112025_21_22_34_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/21/image_29112025_21_21_44_9664.jpg
/home/pi/Desktop/images/29112025/21/21/image_29112025_21_21_54_9783.jpg
/home/pi/Desktop/images/29112025/21/21/image_29112025_21_22_04_10637.jpg
/home/pi/Desktop/images/29112025/21/22/image_29112025_21_22_14_9679.jpg
/home/pi/Desktop/images/29112025/21/22/image_29112025_21_22_24_9639.jpg
/home/pi/Desktop/images/29112025/21/22/image_29112025_21_22_34_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":["1396950724","1396950718","1396950726","1396950720","1396950722","1396950716"],"photo_ids_order":["1396950716","1396950718","1396950720","1396950722","1396950724","1396950726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8460cf38c592dbb28c3ddc83784efc6.jpg","text":"TemporaryFile(/tmp/multipartBody4029923749766572005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449063041,"filename":"image_29112025_21_22_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/11/29/26d55b27cd7035858281557b48c77789.jpg","text":"TemporaryFile(/tmp/multipartBody6138855595613503829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449063041,"filename":"image_29112025_21_21_54_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04d03dd74f80b651b7bf9235f4c130fd.jpg","text":"TemporaryFile(/tmp/multipartBody7904024043396094519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449063041,"filename":"image_29112025_21_22_34_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/787a90d4c697256ffbe7ce92a41b4b0e.jpg","text":"TemporaryFile(/tmp/multipartBody1202273739453681257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449063041,"filename":"image_29112025_21_22_04_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/721c2bca30fbefdcfb34e4fa8537d5b2.jpg","text":"TemporaryFile(/tmp/multipartBody3214710238549661152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449063041,"filename":"image_29112025_21_22_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc83968c8cec86960637efe1fe913e0f.jpg","text":"TemporaryFile(/tmp/multipartBody7109309004750500799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449063041,"filename":"image_29112025_21_21_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950720","file1":"1396950718","file0":"1396950716","file4":"1396950724","file5":"1396950726","file3":"1396950722"},"map_files_photo_id_array":[{"photo_id":"1396950726","filename":"file5"},{"photo_id":"1396950720","filename":"file2"},{"photo_id":"1396950724","filename":"file4"},{"photo_id":"1396950718","filename":"file1"},{"photo_id":"1396950716","filename":"file0"},{"photo_id":"1396950722","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950724":["hashtag1","hashtag2"]},{"1396950718":["hashtag1","hashtag2"]},{"1396950726":["hashtag1","hashtag2"]},{"1396950720":["hashtag1","hashtag2"]},{"1396950722":["hashtag1","hashtag2"]},{"1396950716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950724, 1396950718, 1396950726, 1396950720, 1396950722, 1396950716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.410738945007324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:44:03.219673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/22/image_29112025_21_22_44_9627.jpg', '/home/pi/Desktop/images/29112025/21/22/image_29112025_21_22_54_9744.jpg', '/home/pi/Desktop/images/29112025/21/22/image_29112025_21_23_04_10586.jpg', '/home/pi/Desktop/images/29112025/21/23/image_29112025_21_23_14_9666.jpg', '/home/pi/Desktop/images/29112025/21/23/image_29112025_21_23_24_9715.jpg', '/home/pi/Desktop/images/29112025/21/23/image_29112025_21_23_34_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/22/image_29112025_21_22_44_9627.jpg
/home/pi/Desktop/images/29112025/21/22/image_29112025_21_22_54_9744.jpg
/home/pi/Desktop/images/29112025/21/22/image_29112025_21_23_04_10586.jpg
/home/pi/Desktop/images/29112025/21/23/image_29112025_21_23_14_9666.jpg
/home/pi/Desktop/images/29112025/21/23/image_29112025_21_23_24_9715.jpg
/home/pi/Desktop/images/29112025/21/23/image_29112025_21_23_34_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":["1396950730","1396950732","1396950729","1396950737","1396950731","1396950734"],"photo_ids_order":["1396950729","1396950730","1396950731","1396950732","1396950734","1396950737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/687f2d156e24fe69794d15c2303029f7.jpg","text":"TemporaryFile(/tmp/multipartBody3352272984290159573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449103960,"filename":"image_29112025_21_22_54_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3ae60966b572d3d74912c331518df8e.jpg","text":"TemporaryFile(/tmp/multipartBody8386511478324626366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449103960,"filename":"image_29112025_21_23_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/11/29/ccb6137795e69b9e5e2048065b67f2d3.jpg","text":"TemporaryFile(/tmp/multipartBody1699488187077719490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449103960,"filename":"image_29112025_21_22_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/11/29/728ac777874f59f520592128b3bc6042.jpg","text":"TemporaryFile(/tmp/multipartBody8991222714142885153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449103960,"filename":"image_29112025_21_23_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/11/29/b0e809a2f9d866c9ed5639eddaa05166.jpg","text":"TemporaryFile(/tmp/multipartBody2539962829645307265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449103960,"filename":"image_29112025_21_23_04_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f468f6d08bef994c625e2eac48fb17be.jpg","text":"TemporaryFile(/tmp/multipartBody4924515148029523791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449103960,"filename":"image_29112025_21_23_24_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950731","file1":"1396950730","file0":"1396950729","file4":"1396950734","file5":"1396950737","file3":"1396950732"},"map_files_photo_id_array":[{"photo_id":"1396950737","filename":"file5"},{"photo_id":"1396950731","filename":"file2"},{"photo_id":"1396950734","filename":"file4"},{"photo_id":"1396950730","filename":"file1"},{"photo_id":"1396950729","filename":"file0"},{"photo_id":"1396950732","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950730":["hashtag1","hashtag2"]},{"1396950732":["hashtag1","hashtag2"]},{"1396950729":["hashtag1","hashtag2"]},{"1396950737":["hashtag1","hashtag2"]},{"1396950731":["hashtag1","hashtag2"]},{"1396950734":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950730, 1396950732, 1396950729, 1396950737, 1396950731, 1396950734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23306941986084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:44:42.615023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_20_3846.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_23_2648.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_26_2596.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_29_3836.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_32_2671.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_35_2948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_20_3846.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_23_2648.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_26_2596.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_29_3836.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_32_2671.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_35_2948.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950757","1396950756","1396950755","1396950758","1396950743","1396950754"],"photo_ids_order":["1396950743","1396950754","1396950755","1396950756","1396950757","1396950758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/007069f731af5d49a4863806ef77789c.jpg","text":"TemporaryFile(/tmp/multipartBody1108391869632674970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449143741,"filename":"image_31102025_10_56_32_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf9113fa92875c96e9ce7393affbf065.jpg","text":"TemporaryFile(/tmp/multipartBody6100644849126111368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449143741,"filename":"image_31102025_10_56_29_3836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb9f345ad9b7e2889013d9cc7e7c48fe.jpg","text":"TemporaryFile(/tmp/multipartBody5894968509794625086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449143741,"filename":"image_31102025_10_56_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/11/29/d7e4333e3959e897d4ce0cbfce6791be.jpg","text":"TemporaryFile(/tmp/multipartBody1390946317492492888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449143741,"filename":"image_31102025_10_56_35_2948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a64f4d67bed2cf7c9e29931d95664f0.jpg","text":"TemporaryFile(/tmp/multipartBody3801554674906577543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449143741,"filename":"image_31102025_10_56_20_3846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/278efaf72e952931c6b886b418847d64.jpg","text":"TemporaryFile(/tmp/multipartBody4868898464015539949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449143741,"filename":"image_31102025_10_56_23_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950755","file1":"1396950754","file0":"1396950743","file4":"1396950757","file5":"1396950758","file3":"1396950756"},"map_files_photo_id_array":[{"photo_id":"1396950758","filename":"file5"},{"photo_id":"1396950755","filename":"file2"},{"photo_id":"1396950757","filename":"file4"},{"photo_id":"1396950754","filename":"file1"},{"photo_id":"1396950743","filename":"file0"},{"photo_id":"1396950756","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950757":["hashtag1","hashtag2"]},{"1396950756":["hashtag1","hashtag2"]},{"1396950755":["hashtag1","hashtag2"]},{"1396950758":["hashtag1","hashtag2"]},{"1396950743":["hashtag1","hashtag2"]},{"1396950754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950757, 1396950756, 1396950755, 1396950758, 1396950743, 1396950754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33948826789856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:45:22.785784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/23/image_29112025_21_23_44_9572.jpg', '/home/pi/Desktop/images/29112025/21/23/image_29112025_21_23_53_9666.jpg', '/home/pi/Desktop/images/29112025/21/23/image_29112025_21_24_04_10600.jpg', '/home/pi/Desktop/images/29112025/21/24/image_29112025_21_24_14_9565.jpg', '/home/pi/Desktop/images/29112025/21/24/image_29112025_21_24_24_10579.jpg', '/home/pi/Desktop/images/29112025/21/24/image_29112025_21_24_34_9530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/23/image_29112025_21_23_44_9572.jpg
/home/pi/Desktop/images/29112025/21/23/image_29112025_21_23_53_9666.jpg
/home/pi/Desktop/images/29112025/21/23/image_29112025_21_24_04_10600.jpg
/home/pi/Desktop/images/29112025/21/24/image_29112025_21_24_14_9565.jpg
/home/pi/Desktop/images/29112025/21/24/image_29112025_21_24_24_10579.jpg
/home/pi/Desktop/images/29112025/21/24/image_29112025_21_24_34_9530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950762","1396950771","1396950765","1396950768","1396950767","1396950769"],"photo_ids_order":["1396950762","1396950765","1396950767","1396950768","1396950769","1396950771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49b1292e66177fbc23fbf08606be1274.jpg","text":"TemporaryFile(/tmp/multipartBody8810262582050998396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449183474,"filename":"image_29112025_21_23_44_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90394e0c09d8d3820962f900c6438e91.jpg","text":"TemporaryFile(/tmp/multipartBody8246219260152181958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449183474,"filename":"image_29112025_21_24_34_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a71032610dda02d1a13d41549c99e8b.jpg","text":"TemporaryFile(/tmp/multipartBody5716705584172495097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449183474,"filename":"image_29112025_21_23_53_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1d18fbecde6ccde7a50daab200cf3b1c.jpg","text":"TemporaryFile(/tmp/multipartBody7715410007820031354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449183474,"filename":"image_29112025_21_24_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/11/29/29c2ed23a357d56eb1dcad3a67484821.jpg","text":"TemporaryFile(/tmp/multipartBody6028300704105326554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449183474,"filename":"image_29112025_21_24_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/11/29/ac1418a464d65b5bfd4fd99a9414319f.jpg","text":"TemporaryFile(/tmp/multipartBody8733660005980904542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449183474,"filename":"image_29112025_21_24_24_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950767","file1":"1396950765","file0":"1396950762","file4":"1396950769","file5":"1396950771","file3":"1396950768"},"map_files_photo_id_array":[{"photo_id":"1396950771","filename":"file5"},{"photo_id":"1396950767","filename":"file2"},{"photo_id":"1396950769","filename":"file4"},{"photo_id":"1396950765","filename":"file1"},{"photo_id":"1396950762","filename":"file0"},{"photo_id":"1396950768","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950762":["hashtag1","hashtag2"]},{"1396950771":["hashtag1","hashtag2"]},{"1396950765":["hashtag1","hashtag2"]},{"1396950768":["hashtag1","hashtag2"]},{"1396950767":["hashtag1","hashtag2"]},{"1396950769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950762, 1396950771, 1396950765, 1396950768, 1396950767, 1396950769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92274308204651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:46:02.733158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/24/image_29112025_21_24_44_10656.jpg', '/home/pi/Desktop/images/29112025/21/24/image_29112025_21_24_54_9684.jpg', '/home/pi/Desktop/images/29112025/21/24/image_29112025_21_25_04_9716.jpg', '/home/pi/Desktop/images/29112025/21/25/image_29112025_21_25_14_9744.jpg', '/home/pi/Desktop/images/29112025/21/25/image_29112025_21_25_24_10698.jpg', '/home/pi/Desktop/images/29112025/21/25/image_29112025_21_25_34_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/24/image_29112025_21_24_44_10656.jpg
/home/pi/Desktop/images/29112025/21/24/image_29112025_21_24_54_9684.jpg
/home/pi/Desktop/images/29112025/21/24/image_29112025_21_25_04_9716.jpg
/home/pi/Desktop/images/29112025/21/25/image_29112025_21_25_14_9744.jpg
/home/pi/Desktop/images/29112025/21/25/image_29112025_21_25_24_10698.jpg
/home/pi/Desktop/images/29112025/21/25/image_29112025_21_25_34_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":["1396950774","1396950777","1396950776","1396950784","1396950781","1396950775"],"photo_ids_order":["1396950774","1396950775","1396950776","1396950777","1396950781","1396950784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11a59c8d6613482e11039be9c8b874b0.jpg","text":"TemporaryFile(/tmp/multipartBody225820179063648492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449226023,"filename":"image_29112025_21_24_44_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89cdfbec559367ce1be6613b9860e2db.jpg","text":"TemporaryFile(/tmp/multipartBody3701123151801265413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449226023,"filename":"image_29112025_21_25_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8708f0feb7d8f449faeda2c9cdaaf57c.jpg","text":"TemporaryFile(/tmp/multipartBody6699276875645426024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449226023,"filename":"image_29112025_21_25_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/11/29/53bec88f7c0c5461476cb9236645cf30.jpg","text":"TemporaryFile(/tmp/multipartBody155979201475885809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449226023,"filename":"image_29112025_21_25_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28984cf57f5d376be6fe8c1246eed0b8.jpg","text":"TemporaryFile(/tmp/multipartBody2474052651992516737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449226023,"filename":"image_29112025_21_25_24_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99f079df7c3be79e9f80a42eaf829d06.jpg","text":"TemporaryFile(/tmp/multipartBody1880232192702016455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449226023,"filename":"image_29112025_21_24_54_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950776","file1":"1396950775","file0":"1396950774","file4":"1396950781","file5":"1396950784","file3":"1396950777"},"map_files_photo_id_array":[{"photo_id":"1396950784","filename":"file5"},{"photo_id":"1396950776","filename":"file2"},{"photo_id":"1396950781","filename":"file4"},{"photo_id":"1396950775","filename":"file1"},{"photo_id":"1396950774","filename":"file0"},{"photo_id":"1396950777","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950774":["hashtag1","hashtag2"]},{"1396950777":["hashtag1","hashtag2"]},{"1396950776":["hashtag1","hashtag2"]},{"1396950784":["hashtag1","hashtag2"]},{"1396950781":["hashtag1","hashtag2"]},{"1396950775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950774, 1396950777, 1396950776, 1396950784, 1396950781, 1396950775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53311014175415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:46:42.282452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_38_2697.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_44_3750.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_47_2721.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_50_2641.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_52_2693.jpg', '/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_56_3741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_38_2697.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_44_3750.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_47_2721.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_50_2641.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_52_2693.jpg
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_56_3741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950792","1396950795","1396950789","1396950791","1396950794","1396950793"],"photo_ids_order":["1396950789","1396950791","1396950792","1396950793","1396950794","1396950795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8dfaaaeabda4d7a6cfe5c3c32c6b551f.jpg","text":"TemporaryFile(/tmp/multipartBody1769518727868551083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449263352,"filename":"image_31102025_10_56_47_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e4189765e9c276cc7b1ef954ae9268c.jpg","text":"TemporaryFile(/tmp/multipartBody7795273019668477177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449263352,"filename":"image_31102025_10_56_56_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/35059e203c52362879d4e080d3f493a7.jpg","text":"TemporaryFile(/tmp/multipartBody2166269308842506156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449263352,"filename":"image_31102025_10_56_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/11/29/b4ff2dfafbe28cca770615d8b276a5dc.jpg","text":"TemporaryFile(/tmp/multipartBody8943156074853524341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449263352,"filename":"image_31102025_10_56_44_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5bc54c74f3660c71fca20368b658ddf2.jpg","text":"TemporaryFile(/tmp/multipartBody8499911259750458132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449263352,"filename":"image_31102025_10_56_52_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4b8ccb389aba446f03c59b3695ec318.jpg","text":"TemporaryFile(/tmp/multipartBody1038892218642159108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449263352,"filename":"image_31102025_10_56_50_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950792","file1":"1396950791","file0":"1396950789","file4":"1396950794","file5":"1396950795","file3":"1396950793"},"map_files_photo_id_array":[{"photo_id":"1396950795","filename":"file5"},{"photo_id":"1396950792","filename":"file2"},{"photo_id":"1396950794","filename":"file4"},{"photo_id":"1396950791","filename":"file1"},{"photo_id":"1396950789","filename":"file0"},{"photo_id":"1396950793","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950792":["hashtag1","hashtag2"]},{"1396950795":["hashtag1","hashtag2"]},{"1396950789":["hashtag1","hashtag2"]},{"1396950791":["hashtag1","hashtag2"]},{"1396950794":["hashtag1","hashtag2"]},{"1396950793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950792, 1396950795, 1396950789, 1396950791, 1396950794, 1396950793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34396147727966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:47:22.510908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/25/image_29112025_21_25_44_9672.jpg', '/home/pi/Desktop/images/29112025/21/25/image_29112025_21_25_54_10719.jpg', '/home/pi/Desktop/images/29112025/21/25/image_29112025_21_26_04_9637.jpg', '/home/pi/Desktop/images/29112025/21/26/image_29112025_21_26_14_9812.jpg', '/home/pi/Desktop/images/29112025/21/26/image_29112025_21_26_24_9776.jpg', '/home/pi/Desktop/images/29112025/21/26/image_29112025_21_26_34_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/25/image_29112025_21_25_44_9672.jpg
/home/pi/Desktop/images/29112025/21/25/image_29112025_21_25_54_10719.jpg
/home/pi/Desktop/images/29112025/21/25/image_29112025_21_26_04_9637.jpg
/home/pi/Desktop/images/29112025/21/26/image_29112025_21_26_14_9812.jpg
/home/pi/Desktop/images/29112025/21/26/image_29112025_21_26_24_9776.jpg
/home/pi/Desktop/images/29112025/21/26/image_29112025_21_26_34_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950802","1396950811","1396950808","1396950804","1396950806","1396950799"],"photo_ids_order":["1396950799","1396950802","1396950804","1396950806","1396950808","1396950811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/05e80fa54f51f8bf43394f22369950b1.jpg","text":"TemporaryFile(/tmp/multipartBody4488517923319183840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449303194,"filename":"image_29112025_21_25_54_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f70ec584d977cf435f1b8b97eb7bf83d.jpg","text":"TemporaryFile(/tmp/multipartBody4808560194977645073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449303194,"filename":"image_29112025_21_26_34_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4edc32d9685749a261be81d66d494d2.jpg","text":"TemporaryFile(/tmp/multipartBody460061605119672826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449303194,"filename":"image_29112025_21_26_24_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb15222b0bfc7f1e47a58b2b8c374a78.jpg","text":"TemporaryFile(/tmp/multipartBody1738684342272807680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449303194,"filename":"image_29112025_21_26_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/11/29/0f76e0d2c4e5ba2052be8b4dae01fde7.jpg","text":"TemporaryFile(/tmp/multipartBody4315314099404539983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449303194,"filename":"image_29112025_21_26_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/11/29/86268e571eb378e10d18d34f1601f1a5.jpg","text":"TemporaryFile(/tmp/multipartBody4220877993098394698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449303194,"filename":"image_29112025_21_25_44_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950804","file1":"1396950802","file0":"1396950799","file4":"1396950808","file5":"1396950811","file3":"1396950806"},"map_files_photo_id_array":[{"photo_id":"1396950811","filename":"file5"},{"photo_id":"1396950804","filename":"file2"},{"photo_id":"1396950808","filename":"file4"},{"photo_id":"1396950802","filename":"file1"},{"photo_id":"1396950799","filename":"file0"},{"photo_id":"1396950806","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950802":["hashtag1","hashtag2"]},{"1396950811":["hashtag1","hashtag2"]},{"1396950808":["hashtag1","hashtag2"]},{"1396950804":["hashtag1","hashtag2"]},{"1396950806":["hashtag1","hashtag2"]},{"1396950799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950802, 1396950811, 1396950808, 1396950804, 1396950806, 1396950799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39816212654114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:48:02.309168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/26/image_29112025_21_26_44_9632.jpg', '/home/pi/Desktop/images/29112025/21/26/image_29112025_21_26_54_10536.jpg', '/home/pi/Desktop/images/29112025/21/26/image_29112025_21_27_04_9766.jpg', '/home/pi/Desktop/images/29112025/21/27/image_29112025_21_27_14_9770.jpg', '/home/pi/Desktop/images/29112025/21/27/image_29112025_21_27_24_10545.jpg', '/home/pi/Desktop/images/29112025/21/27/image_29112025_21_27_34_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/26/image_29112025_21_26_44_9632.jpg
/home/pi/Desktop/images/29112025/21/26/image_29112025_21_26_54_10536.jpg
/home/pi/Desktop/images/29112025/21/26/image_29112025_21_27_04_9766.jpg
/home/pi/Desktop/images/29112025/21/27/image_29112025_21_27_14_9770.jpg
/home/pi/Desktop/images/29112025/21/27/image_29112025_21_27_24_10545.jpg
/home/pi/Desktop/images/29112025/21/27/image_29112025_21_27_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":["1396950814","1396950817","1396950819","1396950822","1396950816","1396950815"],"photo_ids_order":["1396950814","1396950815","1396950816","1396950817","1396950819","1396950822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/549dd30c0d65164375dda8ca81e78d0a.jpg","text":"TemporaryFile(/tmp/multipartBody676851447816083091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449343050,"filename":"image_29112025_21_26_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1b1908c535f780d7195bfcb48e91352.jpg","text":"TemporaryFile(/tmp/multipartBody4423507017276701850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449343050,"filename":"image_29112025_21_27_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/11/29/edba05591a5ab471aaf56bb39f0ba7fa.jpg","text":"TemporaryFile(/tmp/multipartBody3681589493012454980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449343050,"filename":"image_29112025_21_27_24_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3466cdba487adccd2d3f8c2105c149d.jpg","text":"TemporaryFile(/tmp/multipartBody5533346944541810892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449343050,"filename":"image_29112025_21_27_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/11/29/08902322d9b821ea479424d9a10e247e.jpg","text":"TemporaryFile(/tmp/multipartBody6717858128344122670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449343050,"filename":"image_29112025_21_27_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/11/29/d6c602e0b504345971832040bbbfbf12.jpg","text":"TemporaryFile(/tmp/multipartBody7061634123058550962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449343050,"filename":"image_29112025_21_26_54_10536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950816","file1":"1396950815","file0":"1396950814","file4":"1396950819","file5":"1396950822","file3":"1396950817"},"map_files_photo_id_array":[{"photo_id":"1396950822","filename":"file5"},{"photo_id":"1396950816","filename":"file2"},{"photo_id":"1396950819","filename":"file4"},{"photo_id":"1396950815","filename":"file1"},{"photo_id":"1396950814","filename":"file0"},{"photo_id":"1396950817","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950814":["hashtag1","hashtag2"]},{"1396950817":["hashtag1","hashtag2"]},{"1396950819":["hashtag1","hashtag2"]},{"1396950822":["hashtag1","hashtag2"]},{"1396950816":["hashtag1","hashtag2"]},{"1396950815":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950814, 1396950817, 1396950819, 1396950822, 1396950816, 1396950815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35552620887756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:48:41.877561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_59_2724.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_02_2649.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_05_3636.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_08_2649.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_11_2732.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_14_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/56/image_31102025_10_56_59_2724.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_02_2649.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_05_3636.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_08_2649.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_11_2732.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_14_3681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950829","1396950831","1396950828","1396950830","1396950833","1396950832"],"photo_ids_order":["1396950828","1396950829","1396950830","1396950831","1396950832","1396950833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bce1f2c7e8d9daad35bdde4e4d668a6e.jpg","text":"TemporaryFile(/tmp/multipartBody115371443039694295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449383595,"filename":"image_31102025_10_57_02_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/183fd420fd8ce56c40f39ccd12387917.jpg","text":"TemporaryFile(/tmp/multipartBody4051922108661717638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449383595,"filename":"image_31102025_10_57_08_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d106a91556027b1452ae0cb2bd250a78.jpg","text":"TemporaryFile(/tmp/multipartBody2482516829039340356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449383595,"filename":"image_31102025_10_56_59_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/191971541c3f91c799c0cc1c5e051e80.jpg","text":"TemporaryFile(/tmp/multipartBody2043212889108396678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449383595,"filename":"image_31102025_10_57_05_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42cf3adbaadeefb5ed579bc338ff303b.jpg","text":"TemporaryFile(/tmp/multipartBody1689400226071197520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449383595,"filename":"image_31102025_10_57_14_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f86c2830990ef3bdcefc5299c4f7c4a.jpg","text":"TemporaryFile(/tmp/multipartBody1324738421022386822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449383595,"filename":"image_31102025_10_57_11_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950830","file1":"1396950829","file0":"1396950828","file4":"1396950832","file5":"1396950833","file3":"1396950831"},"map_files_photo_id_array":[{"photo_id":"1396950833","filename":"file5"},{"photo_id":"1396950830","filename":"file2"},{"photo_id":"1396950832","filename":"file4"},{"photo_id":"1396950829","filename":"file1"},{"photo_id":"1396950828","filename":"file0"},{"photo_id":"1396950831","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950829":["hashtag1","hashtag2"]},{"1396950831":["hashtag1","hashtag2"]},{"1396950828":["hashtag1","hashtag2"]},{"1396950830":["hashtag1","hashtag2"]},{"1396950833":["hashtag1","hashtag2"]},{"1396950832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950829, 1396950831, 1396950828, 1396950830, 1396950833, 1396950832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.304985761642456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:49:22.181173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/27/image_29112025_21_27_44_9578.jpg', '/home/pi/Desktop/images/29112025/21/27/image_29112025_21_27_54_10555.jpg', '/home/pi/Desktop/images/29112025/21/27/image_29112025_21_28_04_9617.jpg', '/home/pi/Desktop/images/29112025/21/28/image_29112025_21_28_14_9745.jpg', '/home/pi/Desktop/images/29112025/21/28/image_29112025_21_28_24_10705.jpg', '/home/pi/Desktop/images/29112025/21/28/image_29112025_21_28_34_9534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/27/image_29112025_21_27_44_9578.jpg
/home/pi/Desktop/images/29112025/21/27/image_29112025_21_27_54_10555.jpg
/home/pi/Desktop/images/29112025/21/27/image_29112025_21_28_04_9617.jpg
/home/pi/Desktop/images/29112025/21/28/image_29112025_21_28_14_9745.jpg
/home/pi/Desktop/images/29112025/21/28/image_29112025_21_28_24_10705.jpg
/home/pi/Desktop/images/29112025/21/28/image_29112025_21_28_34_9534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950841","1396950843","1396950848","1396950836","1396950845","1396950839"],"photo_ids_order":["1396950836","1396950839","1396950841","1396950843","1396950845","1396950848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e391e0fe18db1bd156b8083eee2d187.jpg","text":"TemporaryFile(/tmp/multipartBody466044009750913225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449422898,"filename":"image_29112025_21_28_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4469004dcaafceb7c7b1646bb553fa8b.jpg","text":"TemporaryFile(/tmp/multipartBody746324921383698680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449422898,"filename":"image_29112025_21_28_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/11/29/df9e9b1f1bde97c605aa84ff573f32f4.jpg","text":"TemporaryFile(/tmp/multipartBody6378818760471586725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449422898,"filename":"image_29112025_21_28_34_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86560c379afa8300dbe1223f28eefad1.jpg","text":"TemporaryFile(/tmp/multipartBody994471615677156084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449422898,"filename":"image_29112025_21_27_44_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a08ecab49056bfb745c0a26ea95c6399.jpg","text":"TemporaryFile(/tmp/multipartBody1679437358889100656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449422898,"filename":"image_29112025_21_28_24_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0625d675e4fd8d14f5b43afc6edb3d97.jpg","text":"TemporaryFile(/tmp/multipartBody4250446495296216864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449422898,"filename":"image_29112025_21_27_54_10555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950841","file1":"1396950839","file0":"1396950836","file4":"1396950845","file5":"1396950848","file3":"1396950843"},"map_files_photo_id_array":[{"photo_id":"1396950848","filename":"file5"},{"photo_id":"1396950841","filename":"file2"},{"photo_id":"1396950845","filename":"file4"},{"photo_id":"1396950839","filename":"file1"},{"photo_id":"1396950836","filename":"file0"},{"photo_id":"1396950843","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950841":["hashtag1","hashtag2"]},{"1396950843":["hashtag1","hashtag2"]},{"1396950848":["hashtag1","hashtag2"]},{"1396950836":["hashtag1","hashtag2"]},{"1396950845":["hashtag1","hashtag2"]},{"1396950839":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950841, 1396950843, 1396950848, 1396950836, 1396950845, 1396950839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84759521484375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:50:02.619383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/28/image_29112025_21_28_43_9692.jpg', '/home/pi/Desktop/images/29112025/21/28/image_29112025_21_28_54_10590.jpg', '/home/pi/Desktop/images/29112025/21/28/image_29112025_21_29_04_10031.jpg', '/home/pi/Desktop/images/29112025/21/29/image_29112025_21_29_14_9707.jpg', '/home/pi/Desktop/images/29112025/21/29/image_29112025_21_29_24_9705.jpg', '/home/pi/Desktop/images/29112025/21/29/image_29112025_21_29_34_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/28/image_29112025_21_28_43_9692.jpg
/home/pi/Desktop/images/29112025/21/28/image_29112025_21_28_54_10590.jpg
/home/pi/Desktop/images/29112025/21/28/image_29112025_21_29_04_10031.jpg
/home/pi/Desktop/images/29112025/21/29/image_29112025_21_29_14_9707.jpg
/home/pi/Desktop/images/29112025/21/29/image_29112025_21_29_24_9705.jpg
/home/pi/Desktop/images/29112025/21/29/image_29112025_21_29_34_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950856","1396950852","1396950854","1396950859","1396950850","1396950853"],"photo_ids_order":["1396950850","1396950852","1396950853","1396950854","1396950856","1396950859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6d72802f397fb745b0c9df134e5de33.jpg","text":"TemporaryFile(/tmp/multipartBody2038108192650637251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449463353,"filename":"image_29112025_21_29_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/11/29/c0db2380dec7743d89376b47e443dbbe.jpg","text":"TemporaryFile(/tmp/multipartBody7237674567963472554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449463353,"filename":"image_29112025_21_28_54_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1989010fe61115afb35d24b2e4d47211.jpg","text":"TemporaryFile(/tmp/multipartBody6435719945304952609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449463353,"filename":"image_29112025_21_29_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/11/29/b52446acd9dde3913c41ae189d8a000b.jpg","text":"TemporaryFile(/tmp/multipartBody8512633366456522646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449463353,"filename":"image_29112025_21_29_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f29f2ef3d4829b2adbc7fd443948180a.jpg","text":"TemporaryFile(/tmp/multipartBody2840387199693278894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449463353,"filename":"image_29112025_21_28_43_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dcf6b7e27be7caa19594530d835c8419.jpg","text":"TemporaryFile(/tmp/multipartBody7506398506978960309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449463353,"filename":"image_29112025_21_29_04_10031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950853","file1":"1396950852","file0":"1396950850","file4":"1396950856","file5":"1396950859","file3":"1396950854"},"map_files_photo_id_array":[{"photo_id":"1396950859","filename":"file5"},{"photo_id":"1396950853","filename":"file2"},{"photo_id":"1396950856","filename":"file4"},{"photo_id":"1396950852","filename":"file1"},{"photo_id":"1396950850","filename":"file0"},{"photo_id":"1396950854","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950856":["hashtag1","hashtag2"]},{"1396950852":["hashtag1","hashtag2"]},{"1396950854":["hashtag1","hashtag2"]},{"1396950859":["hashtag1","hashtag2"]},{"1396950850":["hashtag1","hashtag2"]},{"1396950853":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950856, 1396950852, 1396950854, 1396950859, 1396950850, 1396950853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.574580907821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:50:42.038987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_17_2665.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_20_2679.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_23_3550.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_26_2865.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_31_2699.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_35_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/10/57/image_31102025_10_57_17_2665.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_20_2679.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_23_3550.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_26_2865.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_31_2699.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_35_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":["1396950870","1396950872","1396950866","1396950869","1396950871","1396950868"],"photo_ids_order":["1396950866","1396950868","1396950869","1396950870","1396950871","1396950872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5aa920f7de0633ba96ee6349b9915972.jpg","text":"TemporaryFile(/tmp/multipartBody7984663056257830471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449503108,"filename":"image_31102025_10_57_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/11/29/384316a0bca1326a2d1c374ccc826f0b.jpg","text":"TemporaryFile(/tmp/multipartBody8694187995938062766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449503108,"filename":"image_31102025_10_57_35_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3c44aa922dc15db87ddac33d9f89367f.jpg","text":"TemporaryFile(/tmp/multipartBody8282721514115436611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449503108,"filename":"image_31102025_10_57_17_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/384fde6ca04dd959a7e6cb31bad32573.jpg","text":"TemporaryFile(/tmp/multipartBody1024710010250834824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449503108,"filename":"image_31102025_10_57_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/11/29/6becdaf8dae670340cd5b5eb095bf543.jpg","text":"TemporaryFile(/tmp/multipartBody6192629588498355074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449503108,"filename":"image_31102025_10_57_31_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d856a6b704c8373e6a07e446c31c8da.jpg","text":"TemporaryFile(/tmp/multipartBody4042328867516872201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449503108,"filename":"image_31102025_10_57_20_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950869","file1":"1396950868","file0":"1396950866","file4":"1396950871","file5":"1396950872","file3":"1396950870"},"map_files_photo_id_array":[{"photo_id":"1396950872","filename":"file5"},{"photo_id":"1396950869","filename":"file2"},{"photo_id":"1396950871","filename":"file4"},{"photo_id":"1396950868","filename":"file1"},{"photo_id":"1396950866","filename":"file0"},{"photo_id":"1396950870","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950870":["hashtag1","hashtag2"]},{"1396950872":["hashtag1","hashtag2"]},{"1396950866":["hashtag1","hashtag2"]},{"1396950869":["hashtag1","hashtag2"]},{"1396950871":["hashtag1","hashtag2"]},{"1396950868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950870, 1396950872, 1396950866, 1396950869, 1396950871, 1396950868)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.04973840713501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 21:51:35.494407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_09_2704.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_12_3596.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_17_4942.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_19_1788.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_22_2506.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_27_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_09_2704.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_12_3596.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_17_4942.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_19_1788.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_22_2506.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_27_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":["1396950888","1396950885","1396950884","1396950881","1396950883","1396950886"],"photo_ids_order":["1396950881","1396950883","1396950884","1396950885","1396950886","1396950888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90768de807e49ffbff1711ae11688408.jpg","text":"TemporaryFile(/tmp/multipartBody6027087079047537767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449561232,"filename":"image_25112025_19_11_27_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/11cc676c1d6a620969c7822152e7cefe.jpg","text":"TemporaryFile(/tmp/multipartBody4515035086459745130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449561232,"filename":"image_25112025_19_11_19_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/856503b2dc22a6303dc767c6c94f6c1d.jpg","text":"TemporaryFile(/tmp/multipartBody1633691367858639938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449561232,"filename":"image_25112025_19_11_17_4942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/73617bf159f52f9d8ea5e56be79a42b4.jpg","text":"TemporaryFile(/tmp/multipartBody1191670029530991424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449561232,"filename":"image_25112025_19_11_09_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a543ee8e26f956704df4058840b2f9cb.jpg","text":"TemporaryFile(/tmp/multipartBody486197091066273691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449561232,"filename":"image_25112025_19_11_12_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/33fac5740a033fe71082bacb3231a39b.jpg","text":"TemporaryFile(/tmp/multipartBody415017746030953470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449561232,"filename":"image_25112025_19_11_22_2506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950884","file1":"1396950883","file0":"1396950881","file4":"1396950886","file5":"1396950888","file3":"1396950885"},"map_files_photo_id_array":[{"photo_id":"1396950888","filename":"file5"},{"photo_id":"1396950884","filename":"file2"},{"photo_id":"1396950886","filename":"file4"},{"photo_id":"1396950883","filename":"file1"},{"photo_id":"1396950881","filename":"file0"},{"photo_id":"1396950885","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396950888":["hashtag1","hashtag2"]},{"1396950885":["hashtag1","hashtag2"]},{"1396950884":["hashtag1","hashtag2"]},{"1396950881":["hashtag1","hashtag2"]},{"1396950883":["hashtag1","hashtag2"]},{"1396950886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396950888, 1396950885, 1396950884, 1396950881, 1396950883, 1396950886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.79644536972046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 21:52:22.575801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/29/image_29112025_21_29_44_9590.jpg', '/home/pi/Desktop/images/29112025/21/29/image_29112025_21_29_54_10518.jpg', '/home/pi/Desktop/images/29112025/21/30/image_29112025_21_30_15_10052.jpg', '/home/pi/Desktop/images/29112025/21/30/image_29112025_21_30_25_10720.jpg', '/home/pi/Desktop/images/29112025/21/30/image_29112025_21_30_35_9702.jpg', '/home/pi/Desktop/images/29112025/21/30/image_29112025_21_30_45_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/29/image_29112025_21_29_44_9590.jpg
/home/pi/Desktop/images/29112025/21/29/image_29112025_21_29_54_10518.jpg
/home/pi/Desktop/images/29112025/21/30/image_29112025_21_30_15_10052.jpg
/home/pi/Desktop/images/29112025/21/30/image_29112025_21_30_25_10720.jpg
/home/pi/Desktop/images/29112025/21/30/image_29112025_21_30_35_9702.jpg
/home/pi/Desktop/images/29112025/21/30/image_29112025_21_30_45_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950901","1396950891","1396950894","1396950897","1396950899","1396950903"],"photo_ids_order":["1396950891","1396950894","1396950897","1396950899","1396950901","1396950903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a5068e6df3968b1134254c76b237cc7.jpg","text":"TemporaryFile(/tmp/multipartBody4804694110270328446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449603239,"filename":"image_29112025_21_30_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/11/29/0c13a665e07a4c925a7ac0716b86b3e9.jpg","text":"TemporaryFile(/tmp/multipartBody7577214013999611271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449603239,"filename":"image_29112025_21_29_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/11/29/f25d7798c870034345319943f672aa90.jpg","text":"TemporaryFile(/tmp/multipartBody4027653464436699967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449603239,"filename":"image_29112025_21_29_54_10518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/94ca17235fdcd745b14bb7dc5ebeb91a.jpg","text":"TemporaryFile(/tmp/multipartBody78488353714369980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449603239,"filename":"image_29112025_21_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/11/29/7055d6f4fe388522b15d7245a4afacb7.jpg","text":"TemporaryFile(/tmp/multipartBody4556688771985415603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449603239,"filename":"image_29112025_21_30_25_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/352e577890bc447327ff069e7350a542.jpg","text":"TemporaryFile(/tmp/multipartBody60657874473448066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449603239,"filename":"image_29112025_21_30_45_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950897","file1":"1396950894","file0":"1396950891","file4":"1396950901","file5":"1396950903","file3":"1396950899"},"map_files_photo_id_array":[{"photo_id":"1396950903","filename":"file5"},{"photo_id":"1396950897","filename":"file2"},{"photo_id":"1396950901","filename":"file4"},{"photo_id":"1396950894","filename":"file1"},{"photo_id":"1396950891","filename":"file0"},{"photo_id":"1396950899","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950901":["hashtag1","hashtag2"]},{"1396950891":["hashtag1","hashtag2"]},{"1396950894":["hashtag1","hashtag2"]},{"1396950897":["hashtag1","hashtag2"]},{"1396950899":["hashtag1","hashtag2"]},{"1396950903":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950901, 1396950891, 1396950894, 1396950897, 1396950899, 1396950903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94481158256531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:53:03.377931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 21:53:12.773491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_30_2683.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_33_3693.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_36_2692.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_40_3576.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_42_2609.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_45_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_30_2683.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_33_3693.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_36_2692.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_40_3576.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_42_2609.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_45_2539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950919","1396950921","1396950909","1396950917","1396950911","1396950914"],"photo_ids_order":["1396950909","1396950911","1396950914","1396950917","1396950919","1396950921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb93689836d63ea662bdaf4b5facfd39.jpg","text":"TemporaryFile(/tmp/multipartBody4521371369029021383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449657458,"filename":"image_25112025_19_11_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/11/29/7a6737fe236b018b03c8df4fb08edccd.jpg","text":"TemporaryFile(/tmp/multipartBody1157491916967348073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449657458,"filename":"image_25112025_19_11_45_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e1e51deeeafb497c705c7b00cfa0d9d1.jpg","text":"TemporaryFile(/tmp/multipartBody7968089025388894100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449657458,"filename":"image_25112025_19_11_30_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96fb8b5d173d6bfac9eea7fc34c904a2.jpg","text":"TemporaryFile(/tmp/multipartBody6776729087751651819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449657458,"filename":"image_25112025_19_11_40_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ad0b8aab89052248b6c1f9bc9a1c1a2.jpg","text":"TemporaryFile(/tmp/multipartBody5431999055758095416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449657458,"filename":"image_25112025_19_11_33_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a853cdafab709af99acfcbd65c07b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8857697769158903602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449657458,"filename":"image_25112025_19_11_36_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950914","file1":"1396950911","file0":"1396950909","file4":"1396950919","file5":"1396950921","file3":"1396950917"},"map_files_photo_id_array":[{"photo_id":"1396950921","filename":"file5"},{"photo_id":"1396950914","filename":"file2"},{"photo_id":"1396950919","filename":"file4"},{"photo_id":"1396950911","filename":"file1"},{"photo_id":"1396950909","filename":"file0"},{"photo_id":"1396950917","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396950919":["hashtag1","hashtag2"]},{"1396950921":["hashtag1","hashtag2"]},{"1396950909":["hashtag1","hashtag2"]},{"1396950917":["hashtag1","hashtag2"]},{"1396950911":["hashtag1","hashtag2"]},{"1396950914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396950919, 1396950921, 1396950909, 1396950917, 1396950911, 1396950914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.0588698387146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:54:02.560939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 21:54:11.919497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_48_3615.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_51_2686.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_54_2553.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_58_3879.jpg', '/home/pi/Desktop/images/25112025/19/11/image_25112025_19_12_00_2681.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_03_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_48_3615.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_51_2686.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_54_2553.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_11_58_3879.jpg
/home/pi/Desktop/images/25112025/19/11/image_25112025_19_12_00_2681.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_03_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":["1396950934","1396950942","1396950936","1396950945","1396950939","1396950946"],"photo_ids_order":["1396950934","1396950936","1396950939","1396950942","1396950945","1396950946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14be8c880cb35f3b901fcab7d8716e4b.jpg","text":"TemporaryFile(/tmp/multipartBody359340393061302780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449715176,"filename":"image_25112025_19_11_48_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7be36572a80e08d335608f02d7ff06d5.jpg","text":"TemporaryFile(/tmp/multipartBody6364900202499390777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449715176,"filename":"image_25112025_19_11_58_3879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c85e576aa266c293f48c1c13bf2b256.jpg","text":"TemporaryFile(/tmp/multipartBody4405921403096780996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449715176,"filename":"image_25112025_19_11_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/11/29/b32ab663081cca3e075a555080e64bd1.jpg","text":"TemporaryFile(/tmp/multipartBody3329396147623244931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449715176,"filename":"image_25112025_19_12_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/11/29/05d5b802e8a1593508b706a5f3ce90f9.jpg","text":"TemporaryFile(/tmp/multipartBody9050902413677599287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449715176,"filename":"image_25112025_19_11_54_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0991b3c7d694bf65767358af63f7807c.jpg","text":"TemporaryFile(/tmp/multipartBody6157611985114523757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449715176,"filename":"image_25112025_19_12_03_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950939","file1":"1396950936","file0":"1396950934","file4":"1396950945","file5":"1396950946","file3":"1396950942"},"map_files_photo_id_array":[{"photo_id":"1396950946","filename":"file5"},{"photo_id":"1396950939","filename":"file2"},{"photo_id":"1396950945","filename":"file4"},{"photo_id":"1396950936","filename":"file1"},{"photo_id":"1396950934","filename":"file0"},{"photo_id":"1396950942","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396950934":["hashtag1","hashtag2"]},{"1396950942":["hashtag1","hashtag2"]},{"1396950936":["hashtag1","hashtag2"]},{"1396950945":["hashtag1","hashtag2"]},{"1396950939":["hashtag1","hashtag2"]},{"1396950946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396950934, 1396950942, 1396950936, 1396950945, 1396950939, 1396950946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54301691055298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:55:07.873952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 21:55:15.818901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
2025-11-29 21:55:25.685361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/30/image_29112025_21_30_55_9760.jpg', '/home/pi/Desktop/images/29112025/21/30/image_29112025_21_31_05_10552.jpg', '/home/pi/Desktop/images/29112025/21/31/image_29112025_21_31_15_9794.jpg', '/home/pi/Desktop/images/29112025/21/31/image_29112025_21_31_26_10578.jpg', '/home/pi/Desktop/images/29112025/21/31/image_29112025_21_31_36_9795.jpg', '/home/pi/Desktop/images/29112025/21/31/image_29112025_21_31_45_9498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/30/image_29112025_21_30_55_9760.jpg
/home/pi/Desktop/images/29112025/21/30/image_29112025_21_31_05_10552.jpg
/home/pi/Desktop/images/29112025/21/31/image_29112025_21_31_15_9794.jpg
/home/pi/Desktop/images/29112025/21/31/image_29112025_21_31_26_10578.jpg
/home/pi/Desktop/images/29112025/21/31/image_29112025_21_31_36_9795.jpg
/home/pi/Desktop/images/29112025/21/31/image_29112025_21_31_45_9498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950957","1396950953","1396950962","1396950959","1396950961","1396950958"],"photo_ids_order":["1396950953","1396950957","1396950958","1396950959","1396950961","1396950962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af0bc281c38f595163138cbc36872aad.jpg","text":"TemporaryFile(/tmp/multipartBody7434783141107793693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449786371,"filename":"image_29112025_21_31_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/11/29/3d5fcc2375af833302c9644c851ff866.jpg","text":"TemporaryFile(/tmp/multipartBody6723757887469055526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449786371,"filename":"image_29112025_21_30_55_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f28c84a7d1fcf7846b2789c40fb69b9.jpg","text":"TemporaryFile(/tmp/multipartBody8403731186732911612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449786371,"filename":"image_29112025_21_31_45_9498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc0ada71816ba8df4185c82bee539ccd.jpg","text":"TemporaryFile(/tmp/multipartBody4697050355656820006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449786371,"filename":"image_29112025_21_31_26_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f2f0792bfd3289e28be9e9e939f7b9e.jpg","text":"TemporaryFile(/tmp/multipartBody1516156332750080559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449786371,"filename":"image_29112025_21_31_36_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2ef33d1313f5428836075cafb300e56.jpg","text":"TemporaryFile(/tmp/multipartBody8205555041588493622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449786371,"filename":"image_29112025_21_31_15_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950958","file1":"1396950957","file0":"1396950953","file4":"1396950961","file5":"1396950962","file3":"1396950959"},"map_files_photo_id_array":[{"photo_id":"1396950962","filename":"file5"},{"photo_id":"1396950958","filename":"file2"},{"photo_id":"1396950961","filename":"file4"},{"photo_id":"1396950957","filename":"file1"},{"photo_id":"1396950953","filename":"file0"},{"photo_id":"1396950959","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950957":["hashtag1","hashtag2"]},{"1396950953":["hashtag1","hashtag2"]},{"1396950962":["hashtag1","hashtag2"]},{"1396950959":["hashtag1","hashtag2"]},{"1396950961":["hashtag1","hashtag2"]},{"1396950958":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950957, 1396950953, 1396950962, 1396950959, 1396950961, 1396950958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.63584852218628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 21:56:11.906628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_06_3551.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_09_2659.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_12_2542.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_15_3586.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_18_2757.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_21_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_06_3551.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_09_2659.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_12_2542.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_15_3586.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_18_2757.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_21_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":["1396950963","1396950968","1396950976","1396950970","1396950964","1396950973"],"photo_ids_order":["1396950963","1396950964","1396950968","1396950970","1396950973","1396950976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/36520aaf12eb28cdb0f7aefd06ab8e78.jpg","text":"TemporaryFile(/tmp/multipartBody7698926154677190307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449834098,"filename":"image_25112025_19_12_06_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6953d15df5020879cf5ed76ec11cd982.jpg","text":"TemporaryFile(/tmp/multipartBody8281264615922727190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449834098,"filename":"image_25112025_19_12_12_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48ce763ba0711799410e0bcf56d4f034.jpg","text":"TemporaryFile(/tmp/multipartBody5356932661219798522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449834098,"filename":"image_25112025_19_12_21_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/546da6b5db2d5a73c16539534ba75b89.jpg","text":"TemporaryFile(/tmp/multipartBody4819369053235135641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449834098,"filename":"image_25112025_19_12_15_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b1298aabb742ec889314a6476276be69.jpg","text":"TemporaryFile(/tmp/multipartBody1343325258390992809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449834098,"filename":"image_25112025_19_12_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/11/29/e868e9275c90e27a41adf1a385987a1b.jpg","text":"TemporaryFile(/tmp/multipartBody5533444864333629897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449834098,"filename":"image_25112025_19_12_18_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950968","file1":"1396950964","file0":"1396950963","file4":"1396950973","file5":"1396950976","file3":"1396950970"},"map_files_photo_id_array":[{"photo_id":"1396950976","filename":"file5"},{"photo_id":"1396950968","filename":"file2"},{"photo_id":"1396950973","filename":"file4"},{"photo_id":"1396950964","filename":"file1"},{"photo_id":"1396950963","filename":"file0"},{"photo_id":"1396950970","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396950963":["hashtag1","hashtag2"]},{"1396950968":["hashtag1","hashtag2"]},{"1396950976":["hashtag1","hashtag2"]},{"1396950970":["hashtag1","hashtag2"]},{"1396950964":["hashtag1","hashtag2"]},{"1396950973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396950963, 1396950968, 1396950976, 1396950970, 1396950964, 1396950973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17502999305725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:57:05.725846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/31/image_29112025_21_31_56_10671.jpg', '/home/pi/Desktop/images/29112025/21/31/image_29112025_21_32_05_9799.jpg', '/home/pi/Desktop/images/29112025/21/32/image_29112025_21_32_15_9741.jpg', '/home/pi/Desktop/images/29112025/21/32/image_29112025_21_32_25_9669.jpg', '/home/pi/Desktop/images/29112025/21/32/image_29112025_21_32_36_10724.jpg', '/home/pi/Desktop/images/29112025/21/32/image_29112025_21_32_45_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/31/image_29112025_21_31_56_10671.jpg
/home/pi/Desktop/images/29112025/21/31/image_29112025_21_32_05_9799.jpg
/home/pi/Desktop/images/29112025/21/32/image_29112025_21_32_15_9741.jpg
/home/pi/Desktop/images/29112025/21/32/image_29112025_21_32_25_9669.jpg
/home/pi/Desktop/images/29112025/21/32/image_29112025_21_32_36_10724.jpg
/home/pi/Desktop/images/29112025/21/32/image_29112025_21_32_45_9536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950990","1396950981","1396950980","1396950988","1396950982","1396950985"],"photo_ids_order":["1396950980","1396950981","1396950982","1396950985","1396950988","1396950990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1374e5132f1bec1950cd99f7317ca7e8.jpg","text":"TemporaryFile(/tmp/multipartBody3217584359693527111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449888959,"filename":"image_29112025_21_32_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/11/29/1719bd1e7e8256a86bb7ba02f486fae5.jpg","text":"TemporaryFile(/tmp/multipartBody5151666150538425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449888959,"filename":"image_29112025_21_32_05_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5ed3ab401e37d7b2195fce152d78ad8a.jpg","text":"TemporaryFile(/tmp/multipartBody8512459807317438864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449888959,"filename":"image_29112025_21_31_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/11/29/e83071972a53edd4d9604e351af6c73f.jpg","text":"TemporaryFile(/tmp/multipartBody8230944083506714317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449888959,"filename":"image_29112025_21_32_36_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b8bdadf72eb83cac8c3155331387f7e.jpg","text":"TemporaryFile(/tmp/multipartBody1643269368203399887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449888959,"filename":"image_29112025_21_32_15_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2c62d72f80f7e2234dc3356729b34c1a.jpg","text":"TemporaryFile(/tmp/multipartBody1836569445521952224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449888959,"filename":"image_29112025_21_32_25_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950982","file1":"1396950981","file0":"1396950980","file4":"1396950988","file5":"1396950990","file3":"1396950985"},"map_files_photo_id_array":[{"photo_id":"1396950990","filename":"file5"},{"photo_id":"1396950982","filename":"file2"},{"photo_id":"1396950988","filename":"file4"},{"photo_id":"1396950981","filename":"file1"},{"photo_id":"1396950980","filename":"file0"},{"photo_id":"1396950985","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396950990":["hashtag1","hashtag2"]},{"1396950981":["hashtag1","hashtag2"]},{"1396950980":["hashtag1","hashtag2"]},{"1396950988":["hashtag1","hashtag2"]},{"1396950982":["hashtag1","hashtag2"]},{"1396950985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396950990, 1396950981, 1396950980, 1396950988, 1396950982, 1396950985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.350507736206055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 21:57:45.106711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_38_2780.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_41_2818.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_44_3594.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_47_2626.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_50_2674.jpg', '/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_56_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_38_2780.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_41_2818.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_44_3594.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_47_2626.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_50_2674.jpg
/home/pi/Desktop/images/31102025/10/57/image_31102025_10_57_56_2804.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396950999","1396950996","1396950998","1396950995","1396950997","1396951000"],"photo_ids_order":["1396950995","1396950996","1396950997","1396950998","1396950999","1396951000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/257ac8349916f664e2215961e3eafd02.jpg","text":"TemporaryFile(/tmp/multipartBody7903491445577382105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449926230,"filename":"image_31102025_10_57_50_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/084768c7c9e1d1909711813511370d24.jpg","text":"TemporaryFile(/tmp/multipartBody582818669504317528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449926230,"filename":"image_31102025_10_57_41_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ada6bc2607694f270cf42d0b913028e.jpg","text":"TemporaryFile(/tmp/multipartBody6348579855170032406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449926230,"filename":"image_31102025_10_57_47_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbdbdb7793016a4b7491af9841c73549.jpg","text":"TemporaryFile(/tmp/multipartBody717475583817292538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449926230,"filename":"image_31102025_10_57_38_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf6041538a415577a099fc3f19beec0b.jpg","text":"TemporaryFile(/tmp/multipartBody2003732313999060123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449926230,"filename":"image_31102025_10_57_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/11/29/a91daa7f80f3b2c322a5df4999f2882f.jpg","text":"TemporaryFile(/tmp/multipartBody694153526018458635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764449926230,"filename":"image_31102025_10_57_56_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396950997","file1":"1396950996","file0":"1396950995","file4":"1396950999","file5":"1396951000","file3":"1396950998"},"map_files_photo_id_array":[{"photo_id":"1396951000","filename":"file5"},{"photo_id":"1396950997","filename":"file2"},{"photo_id":"1396950999","filename":"file4"},{"photo_id":"1396950996","filename":"file1"},{"photo_id":"1396950995","filename":"file0"},{"photo_id":"1396950998","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396950999":["hashtag1","hashtag2"]},{"1396950996":["hashtag1","hashtag2"]},{"1396950998":["hashtag1","hashtag2"]},{"1396950995":["hashtag1","hashtag2"]},{"1396950997":["hashtag1","hashtag2"]},{"1396951000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396950999, 1396950996, 1396950998, 1396950995, 1396950997, 1396951000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.069709062576294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 21:59:03.247232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
2025-11-29 21:59:24.599963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/32/image_29112025_21_32_55_9738.jpg', '/home/pi/Desktop/images/29112025/21/32/image_29112025_21_33_05_10609.jpg', '/home/pi/Desktop/images/29112025/21/33/image_29112025_21_33_15_9581.jpg', '/home/pi/Desktop/images/29112025/21/33/image_29112025_21_33_25_9769.jpg', '/home/pi/Desktop/images/29112025/21/33/image_29112025_21_33_36_10679.jpg', '/home/pi/Desktop/images/29112025/21/33/image_29112025_21_33_45_9514.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/32/image_29112025_21_32_55_9738.jpg
/home/pi/Desktop/images/29112025/21/32/image_29112025_21_33_05_10609.jpg
/home/pi/Desktop/images/29112025/21/33/image_29112025_21_33_15_9581.jpg
/home/pi/Desktop/images/29112025/21/33/image_29112025_21_33_25_9769.jpg
/home/pi/Desktop/images/29112025/21/33/image_29112025_21_33_36_10679.jpg
/home/pi/Desktop/images/29112025/21/33/image_29112025_21_33_45_9514.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396951287","1396951436","1396951399","1396951474","1396951360","1396951324"],"photo_ids_order":["1396951287","1396951324","1396951360","1396951399","1396951436","1396951474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/343c839eac25050650b872e71f3463b8.jpg","text":"TemporaryFile(/tmp/multipartBody5098063837798697975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450025246,"filename":"image_29112025_21_32_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/11/29/096e89d50f8c07b09f2f51a5b39da01d.jpg","text":"TemporaryFile(/tmp/multipartBody1356015179111596053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450025246,"filename":"image_29112025_21_33_36_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8c99692c60080b094ed950969b97116d.jpg","text":"TemporaryFile(/tmp/multipartBody2959189422886129203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450025246,"filename":"image_29112025_21_33_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/11/29/c3de706c67f2eff560f94c34c4388087.jpg","text":"TemporaryFile(/tmp/multipartBody4583907979400691619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450025246,"filename":"image_29112025_21_33_45_9514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1469b0a3efc4fde02dda00e000adf49f.jpg","text":"TemporaryFile(/tmp/multipartBody7601064217374453837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450025246,"filename":"image_29112025_21_33_15_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ced4d5dd3c1f469b35f6d67a0c66470e.jpg","text":"TemporaryFile(/tmp/multipartBody4910548020945052864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450025246,"filename":"image_29112025_21_33_05_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396951360","file1":"1396951324","file0":"1396951287","file4":"1396951436","file5":"1396951474","file3":"1396951399"},"map_files_photo_id_array":[{"photo_id":"1396951474","filename":"file5"},{"photo_id":"1396951360","filename":"file2"},{"photo_id":"1396951436","filename":"file4"},{"photo_id":"1396951324","filename":"file1"},{"photo_id":"1396951287","filename":"file0"},{"photo_id":"1396951399","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396951287":["hashtag1","hashtag2"]},{"1396951436":["hashtag1","hashtag2"]},{"1396951399":["hashtag1","hashtag2"]},{"1396951474":["hashtag1","hashtag2"]},{"1396951360":["hashtag1","hashtag2"]},{"1396951324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396951287, 1396951436, 1396951399, 1396951474, 1396951360, 1396951324)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.56263613700867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:00:13.117105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_24_3677.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_27_2535.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_30_2819.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_33_3589.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_36_2581.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_39_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_24_3677.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_27_2535.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_30_2819.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_33_3589.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_36_2581.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_39_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396951836","1396951728","1396951772","1396951913","1396951873","1396951690"],"photo_ids_order":["1396951690","1396951728","1396951772","1396951836","1396951873","1396951913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0c6a559e77935f1a8d2f214de30d3674.jpg","text":"TemporaryFile(/tmp/multipartBody1544955963094513927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450075291,"filename":"image_25112025_19_12_33_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54b489dc6f6c9d703775e471ce2c5da4.jpg","text":"TemporaryFile(/tmp/multipartBody1933865995502662451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450075291,"filename":"image_25112025_19_12_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/11/29/73e05bb11c387e324da5704124e4b429.jpg","text":"TemporaryFile(/tmp/multipartBody1322597019860641060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450075291,"filename":"image_25112025_19_12_30_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c8eeb824ebb81ab1fd376c46e1426e8b.jpg","text":"TemporaryFile(/tmp/multipartBody196927563558254738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450075291,"filename":"image_25112025_19_12_39_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8955a3cb90854a17dbb6b9a839604fb9.jpg","text":"TemporaryFile(/tmp/multipartBody8860801760749284171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450075291,"filename":"image_25112025_19_12_36_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/389df2779bd5db36b5f06757f664a3f1.jpg","text":"TemporaryFile(/tmp/multipartBody5951825786720614522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450075291,"filename":"image_25112025_19_12_24_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396951772","file1":"1396951728","file0":"1396951690","file4":"1396951873","file5":"1396951913","file3":"1396951836"},"map_files_photo_id_array":[{"photo_id":"1396951913","filename":"file5"},{"photo_id":"1396951772","filename":"file2"},{"photo_id":"1396951873","filename":"file4"},{"photo_id":"1396951728","filename":"file1"},{"photo_id":"1396951690","filename":"file0"},{"photo_id":"1396951836","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396951836":["hashtag1","hashtag2"]},{"1396951728":["hashtag1","hashtag2"]},{"1396951772":["hashtag1","hashtag2"]},{"1396951913":["hashtag1","hashtag2"]},{"1396951873":["hashtag1","hashtag2"]},{"1396951690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396951836, 1396951728, 1396951772, 1396951913, 1396951873, 1396951690)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.72451996803284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/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-11-29 22:01:18.011148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_42_2793.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_45_2488.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_48_3605.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_51_2877.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_54_2568.jpg', '/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_57_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_42_2793.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_45_2488.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_48_3605.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_51_2877.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_54_2568.jpg
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_12_57_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396952477","1396952684","1396952551","1396952626","1396952401","1396952323"],"photo_ids_order":["1396952323","1396952401","1396952477","1396952551","1396952626","1396952684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e32c895b011cb301642ebb1f23924b78.jpg","text":"TemporaryFile(/tmp/multipartBody906203292608356120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450149660,"filename":"image_25112025_19_12_48_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b8a85e23a56b75efbfd8c89bec94aa4.jpg","text":"TemporaryFile(/tmp/multipartBody7719883833591691854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450149660,"filename":"image_25112025_19_12_57_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/342b71bd4513eb06aa9e86fd8168502e.jpg","text":"TemporaryFile(/tmp/multipartBody6688996085412889347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450149660,"filename":"image_25112025_19_12_51_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2854f026e0c3d448069b307221bf697.jpg","text":"TemporaryFile(/tmp/multipartBody1551775332943272582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450149660,"filename":"image_25112025_19_12_54_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b10dc6d0ba49a9bf73247af1d5a284e1.jpg","text":"TemporaryFile(/tmp/multipartBody2079984329264509021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450149660,"filename":"image_25112025_19_12_45_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4ca1eab0d934ef5f3773d7c658c7b334.jpg","text":"TemporaryFile(/tmp/multipartBody8473008787127245600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450149660,"filename":"image_25112025_19_12_42_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396952477","file1":"1396952401","file0":"1396952323","file4":"1396952626","file5":"1396952684","file3":"1396952551"},"map_files_photo_id_array":[{"photo_id":"1396952684","filename":"file5"},{"photo_id":"1396952477","filename":"file2"},{"photo_id":"1396952626","filename":"file4"},{"photo_id":"1396952401","filename":"file1"},{"photo_id":"1396952323","filename":"file0"},{"photo_id":"1396952551","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396952477":["hashtag1","hashtag2"]},{"1396952684":["hashtag1","hashtag2"]},{"1396952551":["hashtag1","hashtag2"]},{"1396952626":["hashtag1","hashtag2"]},{"1396952401":["hashtag1","hashtag2"]},{"1396952323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396952477, 1396952684, 1396952551, 1396952626, 1396952401, 1396952323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.323944091796875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:02:15.230383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/12/image_25112025_19_13_00_3620.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_03_2612.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_05_2698.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_12_2690.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_15_2653.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_18_3763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/12/image_25112025_19_13_00_3620.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_03_2612.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_05_2698.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_12_2690.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_15_2653.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_18_3763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396952996","1396952864","1396952819","1396952893","1396952821","1396952931"],"photo_ids_order":["1396952819","1396952821","1396952864","1396952893","1396952931","1396952996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f76c6739b6fd6cd93df97c637f487d25.jpg","text":"TemporaryFile(/tmp/multipartBody3722238893815313496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450198296,"filename":"image_25112025_19_13_18_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2f50a24628813055e4300bf557b0aff.jpg","text":"TemporaryFile(/tmp/multipartBody3365552108058732089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450198296,"filename":"image_25112025_19_13_05_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f9315ae3f3002e375b38af1014d6cfa.jpg","text":"TemporaryFile(/tmp/multipartBody1137036285850907361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450198296,"filename":"image_25112025_19_13_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/11/29/dda0f1826a2d2f1f5167d69d40652f75.jpg","text":"TemporaryFile(/tmp/multipartBody2628079259848058220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450198296,"filename":"image_25112025_19_13_12_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a271c4e25b3b3f3d224fc80fc5589035.jpg","text":"TemporaryFile(/tmp/multipartBody7135060111954690745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450198296,"filename":"image_25112025_19_13_03_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddede29b1dafda57786822f999a8e456.jpg","text":"TemporaryFile(/tmp/multipartBody8204597879984769376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450198296,"filename":"image_25112025_19_13_15_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396952864","file1":"1396952821","file0":"1396952819","file4":"1396952931","file5":"1396952996","file3":"1396952893"},"map_files_photo_id_array":[{"photo_id":"1396952996","filename":"file5"},{"photo_id":"1396952864","filename":"file2"},{"photo_id":"1396952931","filename":"file4"},{"photo_id":"1396952821","filename":"file1"},{"photo_id":"1396952819","filename":"file0"},{"photo_id":"1396952893","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396952996":["hashtag1","hashtag2"]},{"1396952864":["hashtag1","hashtag2"]},{"1396952819":["hashtag1","hashtag2"]},{"1396952893":["hashtag1","hashtag2"]},{"1396952821":["hashtag1","hashtag2"]},{"1396952931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396952996, 1396952864, 1396952819, 1396952893, 1396952821, 1396952931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.053208112716675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:03:02.774244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/33/image_29112025_21_33_56_10555.jpg', '/home/pi/Desktop/images/29112025/21/33/image_29112025_21_34_05_9670.jpg', '/home/pi/Desktop/images/29112025/21/34/image_29112025_21_34_15_9696.jpg', '/home/pi/Desktop/images/29112025/21/34/image_29112025_21_34_26_10716.jpg', '/home/pi/Desktop/images/29112025/21/34/image_29112025_21_34_35_9763.jpg', '/home/pi/Desktop/images/29112025/21/34/image_29112025_21_34_45_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/33/image_29112025_21_33_56_10555.jpg
/home/pi/Desktop/images/29112025/21/33/image_29112025_21_34_05_9670.jpg
/home/pi/Desktop/images/29112025/21/34/image_29112025_21_34_15_9696.jpg
/home/pi/Desktop/images/29112025/21/34/image_29112025_21_34_26_10716.jpg
/home/pi/Desktop/images/29112025/21/34/image_29112025_21_34_35_9763.jpg
/home/pi/Desktop/images/29112025/21/34/image_29112025_21_34_45_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":["1396953278","1396953191","1396953242","1396953181","1396953285","1396953249"],"photo_ids_order":["1396953181","1396953191","1396953242","1396953249","1396953278","1396953285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/795437f51569a44c91c7495689a6f2e9.jpg","text":"TemporaryFile(/tmp/multipartBody3171177260449753352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450244222,"filename":"image_29112025_21_34_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/11/29/378c43d4a01f188e306b06cabaff5822.jpg","text":"TemporaryFile(/tmp/multipartBody232984454600394286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450244222,"filename":"image_29112025_21_34_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/11/29/a77fb4768dbbfbe194f76d05e087bd1d.jpg","text":"TemporaryFile(/tmp/multipartBody5819127555749340030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450244222,"filename":"image_29112025_21_34_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/11/29/677426e9c7e649d0aae325b12883b214.jpg","text":"TemporaryFile(/tmp/multipartBody7534472973847123641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450244222,"filename":"image_29112025_21_33_56_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6c35c3fa7eda0cef2f996c7988641bb.jpg","text":"TemporaryFile(/tmp/multipartBody1574181189733628036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450244222,"filename":"image_29112025_21_34_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/11/29/abd0432de6517ce08c6989c5c76877d8.jpg","text":"TemporaryFile(/tmp/multipartBody8520907893254406018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450244222,"filename":"image_29112025_21_34_26_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396953242","file1":"1396953191","file0":"1396953181","file4":"1396953278","file5":"1396953285","file3":"1396953249"},"map_files_photo_id_array":[{"photo_id":"1396953285","filename":"file5"},{"photo_id":"1396953242","filename":"file2"},{"photo_id":"1396953278","filename":"file4"},{"photo_id":"1396953191","filename":"file1"},{"photo_id":"1396953181","filename":"file0"},{"photo_id":"1396953249","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396953278":["hashtag1","hashtag2"]},{"1396953191":["hashtag1","hashtag2"]},{"1396953242":["hashtag1","hashtag2"]},{"1396953181":["hashtag1","hashtag2"]},{"1396953285":["hashtag1","hashtag2"]},{"1396953249":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396953278, 1396953191, 1396953242, 1396953181, 1396953285, 1396953249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.98149228096008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:04:03.084467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/34/image_29112025_21_34_56_10725.jpg', '/home/pi/Desktop/images/29112025/21/34/image_29112025_21_35_06_9809.jpg', '/home/pi/Desktop/images/29112025/21/35/image_29112025_21_35_15_9572.jpg', '/home/pi/Desktop/images/29112025/21/35/image_29112025_21_35_25_9655.jpg', '/home/pi/Desktop/images/29112025/21/35/image_29112025_21_35_35_10683.jpg', '/home/pi/Desktop/images/29112025/21/35/image_29112025_21_35_45_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/34/image_29112025_21_34_56_10725.jpg
/home/pi/Desktop/images/29112025/21/34/image_29112025_21_35_06_9809.jpg
/home/pi/Desktop/images/29112025/21/35/image_29112025_21_35_15_9572.jpg
/home/pi/Desktop/images/29112025/21/35/image_29112025_21_35_25_9655.jpg
/home/pi/Desktop/images/29112025/21/35/image_29112025_21_35_35_10683.jpg
/home/pi/Desktop/images/29112025/21/35/image_29112025_21_35_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":["1396953290","1396953293","1396953292","1396953295","1396953298","1396953291"],"photo_ids_order":["1396953290","1396953291","1396953292","1396953293","1396953295","1396953298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47e969986161576667d014a64214303c.jpg","text":"TemporaryFile(/tmp/multipartBody1690931152781490117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450303805,"filename":"image_29112025_21_34_56_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7d150f0054c67bb21ea0bbe623256a1.jpg","text":"TemporaryFile(/tmp/multipartBody1635289719858464182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450303805,"filename":"image_29112025_21_35_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/11/29/83dac14218e0ee17f1c28f069d1a1a2c.jpg","text":"TemporaryFile(/tmp/multipartBody3163476759219708682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450303805,"filename":"image_29112025_21_35_15_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76e69e4ba467979c80ed713387600425.jpg","text":"TemporaryFile(/tmp/multipartBody5300157885197679352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450303805,"filename":"image_29112025_21_35_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/11/29/f435882524640a2815f4b7d5d1e8562b.jpg","text":"TemporaryFile(/tmp/multipartBody218959526989249039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450303805,"filename":"image_29112025_21_35_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/11/29/9731a8efaaad9053cf906d6463fa9552.jpg","text":"TemporaryFile(/tmp/multipartBody5638255439973383638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450303805,"filename":"image_29112025_21_35_06_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396953292","file1":"1396953291","file0":"1396953290","file4":"1396953295","file5":"1396953298","file3":"1396953293"},"map_files_photo_id_array":[{"photo_id":"1396953298","filename":"file5"},{"photo_id":"1396953292","filename":"file2"},{"photo_id":"1396953295","filename":"file4"},{"photo_id":"1396953291","filename":"file1"},{"photo_id":"1396953290","filename":"file0"},{"photo_id":"1396953293","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396953290":["hashtag1","hashtag2"]},{"1396953293":["hashtag1","hashtag2"]},{"1396953292":["hashtag1","hashtag2"]},{"1396953295":["hashtag1","hashtag2"]},{"1396953298":["hashtag1","hashtag2"]},{"1396953291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396953290, 1396953293, 1396953292, 1396953295, 1396953298, 1396953291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60879135131836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:04:42.324672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_02_2847.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_08_3653.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_11_2723.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_13_2754.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_16_2809.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_23_2733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_02_2847.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_08_3653.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_11_2723.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_13_2754.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_16_2809.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_23_2733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396953309","1396953308","1396953311","1396953305","1396953310","1396953307"],"photo_ids_order":["1396953305","1396953307","1396953308","1396953309","1396953310","1396953311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c7e4d347f1718157f404ec407afeee3.jpg","text":"TemporaryFile(/tmp/multipartBody5297310442590981267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450343449,"filename":"image_31102025_10_58_13_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f498af40fa5c630a04933efcf634524b.jpg","text":"TemporaryFile(/tmp/multipartBody891830087847024583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450343449,"filename":"image_31102025_10_58_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/11/29/670b65e756f89cc371c0e2f7e110b219.jpg","text":"TemporaryFile(/tmp/multipartBody6457161417331535298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450343449,"filename":"image_31102025_10_58_23_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77ac5f60f69f1d6190caead5d694ef25.jpg","text":"TemporaryFile(/tmp/multipartBody1664749948123573807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450343449,"filename":"image_31102025_10_58_02_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2822dadd37cfce81f189f9099e66a8e8.jpg","text":"TemporaryFile(/tmp/multipartBody3503393319670302732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450343449,"filename":"image_31102025_10_58_16_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75d08166fb3e47e1c4fa70349c88ef55.jpg","text":"TemporaryFile(/tmp/multipartBody3654636802429863355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450343449,"filename":"image_31102025_10_58_08_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396953308","file1":"1396953307","file0":"1396953305","file4":"1396953310","file5":"1396953311","file3":"1396953309"},"map_files_photo_id_array":[{"photo_id":"1396953311","filename":"file5"},{"photo_id":"1396953308","filename":"file2"},{"photo_id":"1396953310","filename":"file4"},{"photo_id":"1396953307","filename":"file1"},{"photo_id":"1396953305","filename":"file0"},{"photo_id":"1396953309","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396953309":["hashtag1","hashtag2"]},{"1396953308":["hashtag1","hashtag2"]},{"1396953311":["hashtag1","hashtag2"]},{"1396953305":["hashtag1","hashtag2"]},{"1396953310":["hashtag1","hashtag2"]},{"1396953307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396953309, 1396953308, 1396953311, 1396953305, 1396953310, 1396953307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49143433570862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:05:22.511371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/35/image_29112025_21_35_55_9626.jpg', '/home/pi/Desktop/images/29112025/21/35/image_29112025_21_36_05_10663.jpg', '/home/pi/Desktop/images/29112025/21/36/image_29112025_21_36_15_9654.jpg', '/home/pi/Desktop/images/29112025/21/36/image_29112025_21_36_25_9713.jpg', '/home/pi/Desktop/images/29112025/21/36/image_29112025_21_36_36_10740.jpg', '/home/pi/Desktop/images/29112025/21/36/image_29112025_21_36_45_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/35/image_29112025_21_35_55_9626.jpg
/home/pi/Desktop/images/29112025/21/35/image_29112025_21_36_05_10663.jpg
/home/pi/Desktop/images/29112025/21/36/image_29112025_21_36_15_9654.jpg
/home/pi/Desktop/images/29112025/21/36/image_29112025_21_36_25_9713.jpg
/home/pi/Desktop/images/29112025/21/36/image_29112025_21_36_36_10740.jpg
/home/pi/Desktop/images/29112025/21/36/image_29112025_21_36_45_9733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396953315","1396953326","1396953532","1396953567","1396953447","1396953369"],"photo_ids_order":["1396953315","1396953326","1396953369","1396953447","1396953532","1396953567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6cc2bddfa12c1abe40186bbfe711ce30.jpg","text":"TemporaryFile(/tmp/multipartBody9150679724459931795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450383204,"filename":"image_29112025_21_35_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2fefd995c59f14f6e19ab4fb93887674.jpg","text":"TemporaryFile(/tmp/multipartBody5946753795073350468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450383204,"filename":"image_29112025_21_36_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/11/29/899b66fa7181c80d0fd551df15de6baf.jpg","text":"TemporaryFile(/tmp/multipartBody4319271714880210753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450383204,"filename":"image_29112025_21_36_36_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/affb5e5544e9b7fb585238e1b3225915.jpg","text":"TemporaryFile(/tmp/multipartBody7181034260236114428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450383204,"filename":"image_29112025_21_36_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/11/29/0f32f48ba2008d03b170f71b814d7f2d.jpg","text":"TemporaryFile(/tmp/multipartBody5085611804358420939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450383204,"filename":"image_29112025_21_36_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/11/29/4fb3bc773f7b6100a19414c2a2a66b6c.jpg","text":"TemporaryFile(/tmp/multipartBody7425786596597935777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450383204,"filename":"image_29112025_21_36_15_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396953369","file1":"1396953326","file0":"1396953315","file4":"1396953532","file5":"1396953567","file3":"1396953447"},"map_files_photo_id_array":[{"photo_id":"1396953567","filename":"file5"},{"photo_id":"1396953369","filename":"file2"},{"photo_id":"1396953532","filename":"file4"},{"photo_id":"1396953326","filename":"file1"},{"photo_id":"1396953315","filename":"file0"},{"photo_id":"1396953447","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396953315":["hashtag1","hashtag2"]},{"1396953326":["hashtag1","hashtag2"]},{"1396953532":["hashtag1","hashtag2"]},{"1396953567":["hashtag1","hashtag2"]},{"1396953447":["hashtag1","hashtag2"]},{"1396953369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396953315, 1396953326, 1396953532, 1396953567, 1396953447, 1396953369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.21542429924011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:06:12.624595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_21_2709.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_24_2550.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_27_3530.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_30_2828.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_32_2578.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_36_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_21_2709.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_24_2550.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_27_3530.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_30_2828.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_32_2578.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_36_3607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396953842","1396954522","1396954132","1396954391","1396954259","1396953998"],"photo_ids_order":["1396953842","1396953998","1396954132","1396954259","1396954391","1396954522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1cf766bc68ed2121875f3e8c0949f10.jpg","text":"TemporaryFile(/tmp/multipartBody2131215053442050608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450434697,"filename":"image_25112025_19_13_21_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2dfc01156cf1b6fb9e84143a342a1bc9.jpg","text":"TemporaryFile(/tmp/multipartBody3740768737331183579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450434697,"filename":"image_25112025_19_13_36_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e94f946e078d43ed2024d3c29749cbd3.jpg","text":"TemporaryFile(/tmp/multipartBody2055351499202484481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450434697,"filename":"image_25112025_19_13_27_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/eb4e7fb8101bc5a407bb8d4e48c8e819.jpg","text":"TemporaryFile(/tmp/multipartBody2607334470217294383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450434697,"filename":"image_25112025_19_13_32_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/867e98c9939e14e3e22dd25bd1943ff2.jpg","text":"TemporaryFile(/tmp/multipartBody7967685500239839652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450434697,"filename":"image_25112025_19_13_30_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d4da27c1b807a1dbb8c14b9a91d6861.jpg","text":"TemporaryFile(/tmp/multipartBody7526093908710036090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450434697,"filename":"image_25112025_19_13_24_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396954132","file1":"1396953998","file0":"1396953842","file4":"1396954391","file5":"1396954522","file3":"1396954259"},"map_files_photo_id_array":[{"photo_id":"1396954522","filename":"file5"},{"photo_id":"1396954132","filename":"file2"},{"photo_id":"1396954391","filename":"file4"},{"photo_id":"1396953998","filename":"file1"},{"photo_id":"1396953842","filename":"file0"},{"photo_id":"1396954259","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396953842":["hashtag1","hashtag2"]},{"1396954522":["hashtag1","hashtag2"]},{"1396954132":["hashtag1","hashtag2"]},{"1396954391":["hashtag1","hashtag2"]},{"1396954259":["hashtag1","hashtag2"]},{"1396953998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396953842, 1396954522, 1396954132, 1396954391, 1396954259, 1396953998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75813627243042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:07:04.090370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
2025-11-29 22:07:22.376480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/36/image_29112025_21_36_55_9894.jpg', '/home/pi/Desktop/images/29112025/21/36/image_29112025_21_37_05_9653.jpg', '/home/pi/Desktop/images/29112025/21/37/image_29112025_21_37_15_10696.jpg', '/home/pi/Desktop/images/29112025/21/37/image_29112025_21_37_25_9921.jpg', '/home/pi/Desktop/images/29112025/21/37/image_29112025_21_37_35_9602.jpg', '/home/pi/Desktop/images/29112025/21/37/image_29112025_21_37_46_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/36/image_29112025_21_36_55_9894.jpg
/home/pi/Desktop/images/29112025/21/36/image_29112025_21_37_05_9653.jpg
/home/pi/Desktop/images/29112025/21/37/image_29112025_21_37_15_10696.jpg
/home/pi/Desktop/images/29112025/21/37/image_29112025_21_37_25_9921.jpg
/home/pi/Desktop/images/29112025/21/37/image_29112025_21_37_35_9602.jpg
/home/pi/Desktop/images/29112025/21/37/image_29112025_21_37_46_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396955224","1396955184","1396955430","1396955319","1396955186","1396955393"],"photo_ids_order":["1396955184","1396955186","1396955224","1396955319","1396955393","1396955430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24bfd30f55fccb869dd5d05a2e161825.jpg","text":"TemporaryFile(/tmp/multipartBody7591846640265106559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450508102,"filename":"image_29112025_21_37_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/11/29/36b3ba91de6a59c10d43a3a2c3599169.jpg","text":"TemporaryFile(/tmp/multipartBody11321730078443970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450508102,"filename":"image_29112025_21_36_55_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f6d7c59a2e5004a23b3beeaef8d21c4.jpg","text":"TemporaryFile(/tmp/multipartBody3839466019469162265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450508102,"filename":"image_29112025_21_37_46_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d83689683f4be4a81d42db334c2279e8.jpg","text":"TemporaryFile(/tmp/multipartBody2485169373589692207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450508102,"filename":"image_29112025_21_37_25_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fde17fc27f41c5fc606978ce376d70a.jpg","text":"TemporaryFile(/tmp/multipartBody1287491882032295329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450508102,"filename":"image_29112025_21_37_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/11/29/6b0350eae9d83da2575b08e06cd4823e.jpg","text":"TemporaryFile(/tmp/multipartBody3669061779709934720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450508102,"filename":"image_29112025_21_37_35_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396955224","file1":"1396955186","file0":"1396955184","file4":"1396955393","file5":"1396955430","file3":"1396955319"},"map_files_photo_id_array":[{"photo_id":"1396955430","filename":"file5"},{"photo_id":"1396955224","filename":"file2"},{"photo_id":"1396955393","filename":"file4"},{"photo_id":"1396955186","filename":"file1"},{"photo_id":"1396955184","filename":"file0"},{"photo_id":"1396955319","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396955224":["hashtag1","hashtag2"]},{"1396955184":["hashtag1","hashtag2"]},{"1396955430":["hashtag1","hashtag2"]},{"1396955319":["hashtag1","hashtag2"]},{"1396955186":["hashtag1","hashtag2"]},{"1396955393":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396955224, 1396955184, 1396955430, 1396955319, 1396955186, 1396955393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53044295310974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:08:12.585285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_39_2835.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_42_2782.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_45_3662.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_48_2655.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_52_4411.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_54_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_39_2835.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_42_2782.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_45_3662.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_48_2655.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_52_4411.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_54_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396955713","1396955733","1396955709","1396955777","1396955708","1396955770"],"photo_ids_order":["1396955708","1396955709","1396955713","1396955733","1396955770","1396955777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/498c8b68ba88cfdb86975f422ff63cce.jpg","text":"TemporaryFile(/tmp/multipartBody5349883414340592262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450554647,"filename":"image_25112025_19_13_45_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9a10b3adb8544b4ea047ae17c8511006.jpg","text":"TemporaryFile(/tmp/multipartBody89326619464809515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450554647,"filename":"image_25112025_19_13_48_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be7e1928c1b7b00451c0332aee1eb716.jpg","text":"TemporaryFile(/tmp/multipartBody9085765597402804957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450554647,"filename":"image_25112025_19_13_42_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d53d79f89b63e460072d97e7e1a019d.jpg","text":"TemporaryFile(/tmp/multipartBody5953134630095565884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450554647,"filename":"image_25112025_19_13_54_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37a064a2132315968ac15108c89391d6.jpg","text":"TemporaryFile(/tmp/multipartBody4605972574493951134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450554647,"filename":"image_25112025_19_13_39_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ed0a27286dd20499e11c5b65a3046ff.jpg","text":"TemporaryFile(/tmp/multipartBody8238146241360599762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450554647,"filename":"image_25112025_19_13_52_4411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396955713","file1":"1396955709","file0":"1396955708","file4":"1396955770","file5":"1396955777","file3":"1396955733"},"map_files_photo_id_array":[{"photo_id":"1396955777","filename":"file5"},{"photo_id":"1396955713","filename":"file2"},{"photo_id":"1396955770","filename":"file4"},{"photo_id":"1396955709","filename":"file1"},{"photo_id":"1396955708","filename":"file0"},{"photo_id":"1396955733","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396955713":["hashtag1","hashtag2"]},{"1396955733":["hashtag1","hashtag2"]},{"1396955709":["hashtag1","hashtag2"]},{"1396955777":["hashtag1","hashtag2"]},{"1396955708":["hashtag1","hashtag2"]},{"1396955770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396955713, 1396955733, 1396955709, 1396955777, 1396955708, 1396955770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14402413368225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:09:03.742317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/37/image_29112025_21_37_55_9668.jpg', '/home/pi/Desktop/images/29112025/21/37/image_29112025_21_38_05_9713.jpg', '/home/pi/Desktop/images/29112025/21/38/image_29112025_21_38_15_10333.jpg', '/home/pi/Desktop/images/29112025/21/38/image_29112025_21_38_25_9653.jpg', '/home/pi/Desktop/images/29112025/21/38/image_29112025_21_38_35_9727.jpg', '/home/pi/Desktop/images/29112025/21/38/image_29112025_21_38_45_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/37/image_29112025_21_37_55_9668.jpg
/home/pi/Desktop/images/29112025/21/37/image_29112025_21_38_05_9713.jpg
/home/pi/Desktop/images/29112025/21/38/image_29112025_21_38_15_10333.jpg
/home/pi/Desktop/images/29112025/21/38/image_29112025_21_38_25_9653.jpg
/home/pi/Desktop/images/29112025/21/38/image_29112025_21_38_35_9727.jpg
/home/pi/Desktop/images/29112025/21/38/image_29112025_21_38_45_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396955824","1396955832","1396955826","1396955829","1396955823","1396955834"],"photo_ids_order":["1396955823","1396955824","1396955826","1396955829","1396955832","1396955834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a32e0a617c89714dcf9980c7657fdb8f.jpg","text":"TemporaryFile(/tmp/multipartBody3828778562696132040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450604527,"filename":"image_29112025_21_38_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/11/29/4de5485ffff21878e1edd9a5735acfab.jpg","text":"TemporaryFile(/tmp/multipartBody7337751441385023427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450604527,"filename":"image_29112025_21_38_35_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb28dbaf104c4361146a17ab67b258a4.jpg","text":"TemporaryFile(/tmp/multipartBody1717735616036941178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450604527,"filename":"image_29112025_21_38_15_10333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7a70ee7aaac9df176fbea5f8e4dd88d.jpg","text":"TemporaryFile(/tmp/multipartBody8762542113774872129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450604527,"filename":"image_29112025_21_38_25_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/00f2205decf39a105934505375226cf3.jpg","text":"TemporaryFile(/tmp/multipartBody4454005270911013345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450604527,"filename":"image_29112025_21_37_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/11/29/3c25a3117d5a287a2ae769a1f264a4e5.jpg","text":"TemporaryFile(/tmp/multipartBody5034985000765460630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450604527,"filename":"image_29112025_21_38_45_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396955826","file1":"1396955824","file0":"1396955823","file4":"1396955832","file5":"1396955834","file3":"1396955829"},"map_files_photo_id_array":[{"photo_id":"1396955834","filename":"file5"},{"photo_id":"1396955826","filename":"file2"},{"photo_id":"1396955832","filename":"file4"},{"photo_id":"1396955824","filename":"file1"},{"photo_id":"1396955823","filename":"file0"},{"photo_id":"1396955829","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396955824":["hashtag1","hashtag2"]},{"1396955832":["hashtag1","hashtag2"]},{"1396955826":["hashtag1","hashtag2"]},{"1396955829":["hashtag1","hashtag2"]},{"1396955823":["hashtag1","hashtag2"]},{"1396955834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396955824, 1396955832, 1396955826, 1396955829, 1396955823, 1396955834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.80318546295166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:10:02.591901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/38/image_29112025_21_38_58_12784.jpg', '/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_05_6800.jpg', '/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_16_10700.jpg', '/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_31_14925.jpg', '/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_35_4640.jpg', '/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_45_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/38/image_29112025_21_38_58_12784.jpg
/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_05_6800.jpg
/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_16_10700.jpg
/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_31_14925.jpg
/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_35_4640.jpg
/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_45_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":["1396956786","1396956235","1396956357","1396956636","1396956497","1396956932"],"photo_ids_order":["1396956235","1396956357","1396956497","1396956636","1396956786","1396956932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/adedcfa65904a5b802f270d357971849.jpg","text":"TemporaryFile(/tmp/multipartBody2630472960479177751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450663304,"filename":"image_29112025_21_39_35_4640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec4e2e28f967b140ac322b8e44eeb143.jpg","text":"TemporaryFile(/tmp/multipartBody1607900918810193055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450663304,"filename":"image_29112025_21_38_58_12784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/535d94e1df8c422606b57208344ddaae.jpg","text":"TemporaryFile(/tmp/multipartBody3910896403521510550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450663304,"filename":"image_29112025_21_39_05_6800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b004c55a821ac61b36e4ce3177b6e203.jpg","text":"TemporaryFile(/tmp/multipartBody8238346922206730770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450663304,"filename":"image_29112025_21_39_31_14925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/060a9853e70135633bfc24d0943dbfc7.jpg","text":"TemporaryFile(/tmp/multipartBody9111811294294172404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450663304,"filename":"image_29112025_21_39_16_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4292dff0bdb782d42427971939d35c6.jpg","text":"TemporaryFile(/tmp/multipartBody252998072542395037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450663304,"filename":"image_29112025_21_39_45_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396956497","file1":"1396956357","file0":"1396956235","file4":"1396956786","file5":"1396956932","file3":"1396956636"},"map_files_photo_id_array":[{"photo_id":"1396956932","filename":"file5"},{"photo_id":"1396956497","filename":"file2"},{"photo_id":"1396956786","filename":"file4"},{"photo_id":"1396956357","filename":"file1"},{"photo_id":"1396956235","filename":"file0"},{"photo_id":"1396956636","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396956786":["hashtag1","hashtag2"]},{"1396956235":["hashtag1","hashtag2"]},{"1396956357":["hashtag1","hashtag2"]},{"1396956636":["hashtag1","hashtag2"]},{"1396956497":["hashtag1","hashtag2"]},{"1396956932":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396956786, 1396956235, 1396956357, 1396956636, 1396956497, 1396956932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63844871520996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:10:42.038463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_25_2607.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_28_2965.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_32_3691.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_35_2633.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_37_2545.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_41_3803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_25_2607.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_28_2965.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_32_3691.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_35_2633.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_37_2545.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_41_3803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396957278","1396957404","1396957355","1396957316","1396957237","1396957572"],"photo_ids_order":["1396957237","1396957278","1396957316","1396957355","1396957404","1396957572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf9b4d8195367b01e9f16cf1229c55ae.jpg","text":"TemporaryFile(/tmp/multipartBody3594293813258577072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450703104,"filename":"image_31102025_10_58_28_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06c27a3a55803f82dd9b07115dfa603a.jpg","text":"TemporaryFile(/tmp/multipartBody8739006948742464552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450703104,"filename":"image_31102025_10_58_37_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9efbc9f9127edf62fdc2d74e3b8ba015.jpg","text":"TemporaryFile(/tmp/multipartBody7349363897614632434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450703104,"filename":"image_31102025_10_58_35_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a774be7c9a5b4475b78b0002f51beb90.jpg","text":"TemporaryFile(/tmp/multipartBody7994557923904880750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450703104,"filename":"image_31102025_10_58_32_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/830c5e082388ecc81676d096467ed4c4.jpg","text":"TemporaryFile(/tmp/multipartBody9012885503835292202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450703104,"filename":"image_31102025_10_58_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/11/29/6bee57a7c20d3601d66847a166cff8de.jpg","text":"TemporaryFile(/tmp/multipartBody3300388853505982596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450703104,"filename":"image_31102025_10_58_41_3803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396957316","file1":"1396957278","file0":"1396957237","file4":"1396957404","file5":"1396957572","file3":"1396957355"},"map_files_photo_id_array":[{"photo_id":"1396957572","filename":"file5"},{"photo_id":"1396957316","filename":"file2"},{"photo_id":"1396957404","filename":"file4"},{"photo_id":"1396957278","filename":"file1"},{"photo_id":"1396957237","filename":"file0"},{"photo_id":"1396957355","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396957278":["hashtag1","hashtag2"]},{"1396957404":["hashtag1","hashtag2"]},{"1396957355":["hashtag1","hashtag2"]},{"1396957316":["hashtag1","hashtag2"]},{"1396957237":["hashtag1","hashtag2"]},{"1396957572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396957278, 1396957404, 1396957355, 1396957316, 1396957237, 1396957572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00019383430481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:11:32.265737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_57_2622.jpg', '/home/pi/Desktop/images/25112025/19/13/image_25112025_19_14_00_3627.jpg', '/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_03_2867.jpg', '/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_06_2771.jpg', '/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_09_2605.jpg', '/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_12_3638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_13_57_2622.jpg
/home/pi/Desktop/images/25112025/19/13/image_25112025_19_14_00_3627.jpg
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_03_2867.jpg
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_06_2771.jpg
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_09_2605.jpg
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_12_3638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396958001","1396957892","1396958042","1396958089","1396957963","1396958107"],"photo_ids_order":["1396957892","1396957963","1396958001","1396958042","1396958089","1396958107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bb3ac9b3a3b45f99ba1bf49ccd9bbe6.jpg","text":"TemporaryFile(/tmp/multipartBody5768955370338987237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450754487,"filename":"image_25112025_19_14_03_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/654708b17b84ad4c5478a337771708ef.jpg","text":"TemporaryFile(/tmp/multipartBody2731269903137587943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450754487,"filename":"image_25112025_19_13_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/11/29/7d83d86c6237602abda3d04b0366fe48.jpg","text":"TemporaryFile(/tmp/multipartBody8864983117636867396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450754487,"filename":"image_25112025_19_14_06_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0aefefecba4260d4c27c29ecd446cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7024217216200897975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450754487,"filename":"image_25112025_19_14_09_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c5d3f57a8e49d919e73a6144a99737c9.jpg","text":"TemporaryFile(/tmp/multipartBody9051125064278934877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450754487,"filename":"image_25112025_19_14_00_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fecbb6c9d5588cf473f573ae7b2edfcc.jpg","text":"TemporaryFile(/tmp/multipartBody89956179654988442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450754487,"filename":"image_25112025_19_14_12_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396958001","file1":"1396957963","file0":"1396957892","file4":"1396958089","file5":"1396958107","file3":"1396958042"},"map_files_photo_id_array":[{"photo_id":"1396958107","filename":"file5"},{"photo_id":"1396958001","filename":"file2"},{"photo_id":"1396958089","filename":"file4"},{"photo_id":"1396957963","filename":"file1"},{"photo_id":"1396957892","filename":"file0"},{"photo_id":"1396958042","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396958001":["hashtag1","hashtag2"]},{"1396957892":["hashtag1","hashtag2"]},{"1396958042":["hashtag1","hashtag2"]},{"1396958089":["hashtag1","hashtag2"]},{"1396957963":["hashtag1","hashtag2"]},{"1396958107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396958001, 1396957892, 1396958042, 1396958089, 1396957963, 1396958107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.25096321105957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:12:22.430961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_55_10541.jpg', '/home/pi/Desktop/images/29112025/21/39/image_29112025_21_40_05_9581.jpg', '/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_15_9836.jpg', '/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_25_10549.jpg', '/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_35_9683.jpg', '/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_45_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/39/image_29112025_21_39_55_10541.jpg
/home/pi/Desktop/images/29112025/21/39/image_29112025_21_40_05_9581.jpg
/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_15_9836.jpg
/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_25_10549.jpg
/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_35_9683.jpg
/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_45_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396959257","1396958980","1396958851","1396958470","1396958664","1396959114"],"photo_ids_order":["1396958470","1396958664","1396958851","1396958980","1396959114","1396959257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/54ba18a0e3006cf3c2ece1b369ff3201.jpg","text":"TemporaryFile(/tmp/multipartBody6507469913697763345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450804062,"filename":"image_29112025_21_40_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/11/29/8378b17b275efd00fa8cfeb5f16f43c1.jpg","text":"TemporaryFile(/tmp/multipartBody1518869844499088033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450804062,"filename":"image_29112025_21_40_25_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ec4d65bdd61e27facb77e0167c089c0.jpg","text":"TemporaryFile(/tmp/multipartBody6332754369850970195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450804062,"filename":"image_29112025_21_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/11/29/97540509c13dfaa9b4b50c3a6034ea67.jpg","text":"TemporaryFile(/tmp/multipartBody4852402280718973857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450804062,"filename":"image_29112025_21_39_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/11/29/4ff01a1396451e9c114c308bc4d94c4c.jpg","text":"TemporaryFile(/tmp/multipartBody7683183480288117730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450804062,"filename":"image_29112025_21_40_05_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3683e08b1b4c83c06125b31588c1f3e1.jpg","text":"TemporaryFile(/tmp/multipartBody1451342308152793695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450804062,"filename":"image_29112025_21_40_35_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396958851","file1":"1396958664","file0":"1396958470","file4":"1396959114","file5":"1396959257","file3":"1396958980"},"map_files_photo_id_array":[{"photo_id":"1396959257","filename":"file5"},{"photo_id":"1396958851","filename":"file2"},{"photo_id":"1396959114","filename":"file4"},{"photo_id":"1396958664","filename":"file1"},{"photo_id":"1396958470","filename":"file0"},{"photo_id":"1396958980","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396959257":["hashtag1","hashtag2"]},{"1396958980":["hashtag1","hashtag2"]},{"1396958851":["hashtag1","hashtag2"]},{"1396958470":["hashtag1","hashtag2"]},{"1396958664":["hashtag1","hashtag2"]},{"1396959114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396959257, 1396958980, 1396958851, 1396958470, 1396958664, 1396959114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.08285903930664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:13:22.666204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_55_10673.jpg', '/home/pi/Desktop/images/29112025/21/40/image_29112025_21_41_05_9664.jpg', '/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_15_9605.jpg', '/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_26_10819.jpg', '/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_35_9776.jpg', '/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_45_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_55_10673.jpg
/home/pi/Desktop/images/29112025/21/40/image_29112025_21_41_05_9664.jpg
/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_15_9605.jpg
/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_26_10819.jpg
/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_35_9776.jpg
/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_45_9653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.581730842590332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:13:32.636717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_15_2620.jpg', '/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_24_2599.jpg', '/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_27_2792.jpg', '/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_30_3536.jpg', '/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_36_2668.jpg', '/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_39_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_15_2620.jpg
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_24_2599.jpg
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_27_2792.jpg
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_30_3536.jpg
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_36_2668.jpg
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_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":["1396959971","1396959940","1396959838","1396959904","1396959948","1396959992"],"photo_ids_order":["1396959838","1396959904","1396959940","1396959948","1396959971","1396959992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e565fd8bf07b2ba0f94b07447d160f26.jpg","text":"TemporaryFile(/tmp/multipartBody52767784845311695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450874798,"filename":"image_25112025_19_14_36_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2ff77c68ec055d09241078ae9c3f13db.jpg","text":"TemporaryFile(/tmp/multipartBody2019990797015085732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450874798,"filename":"image_25112025_19_14_27_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d377183b71201b9a655a157c4e77bf4f.jpg","text":"TemporaryFile(/tmp/multipartBody8091808836484441287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450874798,"filename":"image_25112025_19_14_15_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7352c3a3cef0881103611d197d8ac27.jpg","text":"TemporaryFile(/tmp/multipartBody2288986327869491659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450874798,"filename":"image_25112025_19_14_24_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fff6adcf811ffdf78e0c77acbc3bf446.jpg","text":"TemporaryFile(/tmp/multipartBody538774939623802326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450874798,"filename":"image_25112025_19_14_30_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fda043c9468f20299548b600772ddc8a.jpg","text":"TemporaryFile(/tmp/multipartBody7254985395411234333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450874798,"filename":"image_25112025_19_14_39_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396959940","file1":"1396959904","file0":"1396959838","file4":"1396959971","file5":"1396959992","file3":"1396959948"},"map_files_photo_id_array":[{"photo_id":"1396959992","filename":"file5"},{"photo_id":"1396959940","filename":"file2"},{"photo_id":"1396959971","filename":"file4"},{"photo_id":"1396959904","filename":"file1"},{"photo_id":"1396959838","filename":"file0"},{"photo_id":"1396959948","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396959971":["hashtag1","hashtag2"]},{"1396959940":["hashtag1","hashtag2"]},{"1396959838":["hashtag1","hashtag2"]},{"1396959904":["hashtag1","hashtag2"]},{"1396959948":["hashtag1","hashtag2"]},{"1396959992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396959971, 1396959940, 1396959838, 1396959904, 1396959948, 1396959992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.267536878585815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:14:12.769529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_42_2622.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_03_21345.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_05_1706.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_07_1858.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_08_1593.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_10_1805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/14/image_25112025_19_14_42_2622.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_03_21345.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_05_1706.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_07_1858.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_08_1593.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_10_1805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396960181","1396960106","1396960222","1396960144","1396960066","1396960030"],"photo_ids_order":["1396960030","1396960066","1396960106","1396960144","1396960181","1396960222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/67075140834b6e3ff5269e9dcd2bc9e5.jpg","text":"TemporaryFile(/tmp/multipartBody6800295529700537577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450914844,"filename":"image_25112025_19_15_08_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/91a14118f5519f594f2544fe2b41e27a.jpg","text":"TemporaryFile(/tmp/multipartBody7134194736390281960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450914844,"filename":"image_25112025_19_15_05_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ea0f51252ff8b278d847e3ae5d902b38.jpg","text":"TemporaryFile(/tmp/multipartBody4923133505277658176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450914844,"filename":"image_25112025_19_15_10_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2247ca7c376bb122640634420b7e7d3d.jpg","text":"TemporaryFile(/tmp/multipartBody608186979123906240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450914844,"filename":"image_25112025_19_15_07_1858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/756574cbbf1a91fc02cc5c31fae1cffd.jpg","text":"TemporaryFile(/tmp/multipartBody6738586465259106288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450914844,"filename":"image_25112025_19_15_03_21345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77c67feff957ce02ce245e56dd6bf4c4.jpg","text":"TemporaryFile(/tmp/multipartBody107132784628302851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450914844,"filename":"image_25112025_19_14_42_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396960106","file1":"1396960066","file0":"1396960030","file4":"1396960181","file5":"1396960222","file3":"1396960144"},"map_files_photo_id_array":[{"photo_id":"1396960222","filename":"file5"},{"photo_id":"1396960106","filename":"file2"},{"photo_id":"1396960181","filename":"file4"},{"photo_id":"1396960066","filename":"file1"},{"photo_id":"1396960030","filename":"file0"},{"photo_id":"1396960144","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396960181":["hashtag1","hashtag2"]},{"1396960106":["hashtag1","hashtag2"]},{"1396960222":["hashtag1","hashtag2"]},{"1396960144":["hashtag1","hashtag2"]},{"1396960066":["hashtag1","hashtag2"]},{"1396960030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396960181, 1396960106, 1396960222, 1396960144, 1396960066, 1396960030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.837592363357544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:15:02.752456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_55_10673.jpg', '/home/pi/Desktop/images/29112025/21/40/image_29112025_21_41_05_9664.jpg', '/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_15_9605.jpg', '/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_26_10819.jpg', '/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_35_9776.jpg', '/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_45_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/40/image_29112025_21_40_55_10673.jpg
/home/pi/Desktop/images/29112025/21/40/image_29112025_21_41_05_9664.jpg
/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_15_9605.jpg
/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_26_10819.jpg
/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_35_9776.jpg
/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_45_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396960679","1396960538","1396960625","1396960672","1396960677","1396960584"],"photo_ids_order":["1396960538","1396960584","1396960625","1396960672","1396960677","1396960679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d23cbd511aa20718ee3202a499888cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4594577817150436483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450963521,"filename":"image_29112025_21_41_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9c5c5c6078dbd13c129be616fe9e3932.jpg","text":"TemporaryFile(/tmp/multipartBody7414660416949496470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450963521,"filename":"image_29112025_21_40_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f3148dec8466f505a00fbfc3980b8fc.jpg","text":"TemporaryFile(/tmp/multipartBody6610590431246926064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450963521,"filename":"image_29112025_21_41_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/11/29/345f6d093b5453d5c7c2f6856844973a.jpg","text":"TemporaryFile(/tmp/multipartBody7212738482228669453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450963521,"filename":"image_29112025_21_41_26_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0eda6bdac30eef6e6186af12cdb5c196.jpg","text":"TemporaryFile(/tmp/multipartBody3840381135097273434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450963521,"filename":"image_29112025_21_41_35_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a3b0e7deb0bc10ed792c9aae85c463f.jpg","text":"TemporaryFile(/tmp/multipartBody2872587252136538856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764450963521,"filename":"image_29112025_21_41_05_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396960625","file1":"1396960584","file0":"1396960538","file4":"1396960677","file5":"1396960679","file3":"1396960672"},"map_files_photo_id_array":[{"photo_id":"1396960679","filename":"file5"},{"photo_id":"1396960625","filename":"file2"},{"photo_id":"1396960677","filename":"file4"},{"photo_id":"1396960584","filename":"file1"},{"photo_id":"1396960538","filename":"file0"},{"photo_id":"1396960672","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396960679":["hashtag1","hashtag2"]},{"1396960538":["hashtag1","hashtag2"]},{"1396960625":["hashtag1","hashtag2"]},{"1396960672":["hashtag1","hashtag2"]},{"1396960677":["hashtag1","hashtag2"]},{"1396960584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396960679, 1396960538, 1396960625, 1396960672, 1396960677, 1396960584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.697150230407715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:15:42.038814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_44_2747.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_46_2689.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_49_2767.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_53_3670.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_55_2596.jpg', '/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_58_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_44_2747.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_46_2689.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_49_2767.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_53_3670.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_55_2596.jpg
/home/pi/Desktop/images/31102025/10/58/image_31102025_10_58_58_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396960902","1396960839","1396960979","1396960940","1396961037","1396960758"],"photo_ids_order":["1396960758","1396960839","1396960902","1396960940","1396960979","1396961037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39ee0ae67857d36846dc59f6b06cfc41.jpg","text":"TemporaryFile(/tmp/multipartBody1765230878894826597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451003172,"filename":"image_31102025_10_58_49_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc2e8a46ef225ce4fa97b94a80a81340.jpg","text":"TemporaryFile(/tmp/multipartBody5078074674583815831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451003172,"filename":"image_31102025_10_58_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/11/29/13064c0cb9f56a5bafcf65ed728c86b1.jpg","text":"TemporaryFile(/tmp/multipartBody534518710675150459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451003172,"filename":"image_31102025_10_58_55_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f457874bd3b218e7d412ac0778185f5.jpg","text":"TemporaryFile(/tmp/multipartBody4156704881991530866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451003172,"filename":"image_31102025_10_58_53_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5ac55b1a1ccbc8e63554abbe9fcd0ba.jpg","text":"TemporaryFile(/tmp/multipartBody3369138301666895280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451003172,"filename":"image_31102025_10_58_58_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aed801f505f5509518cfa766fc60d475.jpg","text":"TemporaryFile(/tmp/multipartBody6240199916420701728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451003172,"filename":"image_31102025_10_58_44_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396960902","file1":"1396960839","file0":"1396960758","file4":"1396960979","file5":"1396961037","file3":"1396960940"},"map_files_photo_id_array":[{"photo_id":"1396961037","filename":"file5"},{"photo_id":"1396960902","filename":"file2"},{"photo_id":"1396960979","filename":"file4"},{"photo_id":"1396960839","filename":"file1"},{"photo_id":"1396960758","filename":"file0"},{"photo_id":"1396960940","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396960902":["hashtag1","hashtag2"]},{"1396960839":["hashtag1","hashtag2"]},{"1396960979":["hashtag1","hashtag2"]},{"1396960940":["hashtag1","hashtag2"]},{"1396961037":["hashtag1","hashtag2"]},{"1396960758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396960902, 1396960839, 1396960979, 1396960940, 1396961037, 1396960758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.09251141548157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:16:32.169364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_12_1671.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_13_1597.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_15_1629.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_17_1602.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_18_1655.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_20_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_12_1671.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_13_1597.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_15_1629.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_17_1602.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_18_1655.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_20_1692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396961606","1396962157","1396962013","1396961880","1396961460","1396961742"],"photo_ids_order":["1396961460","1396961606","1396961742","1396961880","1396962013","1396962157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d02ba5da7d61c5a84c5b12ddeb742fb3.jpg","text":"TemporaryFile(/tmp/multipartBody7377076809152899580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451054362,"filename":"image_25112025_19_15_13_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5af6095ad40abc227500e6acdc2ce98.jpg","text":"TemporaryFile(/tmp/multipartBody4946611302299249272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451054362,"filename":"image_25112025_19_15_20_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6811d2ffde8dba1ffd164a8f286a9556.jpg","text":"TemporaryFile(/tmp/multipartBody3024212096846830723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451054362,"filename":"image_25112025_19_15_18_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7b3de2972a999c5adafb9a50d4076026.jpg","text":"TemporaryFile(/tmp/multipartBody9081767120301752911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451054362,"filename":"image_25112025_19_15_17_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be7e71f5fff7e3089f41dc013875eeb3.jpg","text":"TemporaryFile(/tmp/multipartBody8771655510961366353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451054362,"filename":"image_25112025_19_15_12_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c7b9dea6c4669ac31e0219f31e21da7.jpg","text":"TemporaryFile(/tmp/multipartBody3362135896685295925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451054362,"filename":"image_25112025_19_15_15_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396961742","file1":"1396961606","file0":"1396961460","file4":"1396962013","file5":"1396962157","file3":"1396961880"},"map_files_photo_id_array":[{"photo_id":"1396962157","filename":"file5"},{"photo_id":"1396961742","filename":"file2"},{"photo_id":"1396962013","filename":"file4"},{"photo_id":"1396961606","filename":"file1"},{"photo_id":"1396961460","filename":"file0"},{"photo_id":"1396961880","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396961606":["hashtag1","hashtag2"]},{"1396962157":["hashtag1","hashtag2"]},{"1396962013":["hashtag1","hashtag2"]},{"1396961880":["hashtag1","hashtag2"]},{"1396961460":["hashtag1","hashtag2"]},{"1396961742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396961606, 1396962157, 1396962013, 1396961880, 1396961460, 1396961742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10471820831299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:17:12.340599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_22_1679.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_23_1692.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_25_1508.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_27_1606.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_30_3667.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_33_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_22_1679.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_23_1692.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_25_1508.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_27_1606.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_30_3667.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_33_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396962632","1396962703","1396962594","1396962741","1396962668","1396962749"],"photo_ids_order":["1396962594","1396962632","1396962668","1396962703","1396962741","1396962749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd8b4604280e9a64cc335f3487d3face.jpg","text":"TemporaryFile(/tmp/multipartBody7418078189111147896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451094446,"filename":"image_25112025_19_15_23_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d5e7090cb2dcf614309ebe88c56865f.jpg","text":"TemporaryFile(/tmp/multipartBody6865874092530276030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451094446,"filename":"image_25112025_19_15_27_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06bcd8af0e81a31a4d11b27fbeb7bf95.jpg","text":"TemporaryFile(/tmp/multipartBody6857090549778743731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451094446,"filename":"image_25112025_19_15_22_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a70cbb5fa683799dea8fe55c800e46b1.jpg","text":"TemporaryFile(/tmp/multipartBody4965934584309817215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451094446,"filename":"image_25112025_19_15_30_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7de2deeb93b5781a89f41b6821cfea4.jpg","text":"TemporaryFile(/tmp/multipartBody4812802416236954482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451094446,"filename":"image_25112025_19_15_25_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/74aa1bf7c4e02a5af260410695b9f710.jpg","text":"TemporaryFile(/tmp/multipartBody1577521292949064080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451094446,"filename":"image_25112025_19_15_33_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396962668","file1":"1396962632","file0":"1396962594","file4":"1396962741","file5":"1396962749","file3":"1396962703"},"map_files_photo_id_array":[{"photo_id":"1396962749","filename":"file5"},{"photo_id":"1396962668","filename":"file2"},{"photo_id":"1396962741","filename":"file4"},{"photo_id":"1396962632","filename":"file1"},{"photo_id":"1396962594","filename":"file0"},{"photo_id":"1396962703","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396962632":["hashtag1","hashtag2"]},{"1396962703":["hashtag1","hashtag2"]},{"1396962594":["hashtag1","hashtag2"]},{"1396962741":["hashtag1","hashtag2"]},{"1396962668":["hashtag1","hashtag2"]},{"1396962749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396962632, 1396962703, 1396962594, 1396962741, 1396962668, 1396962749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57818102836609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:18:02.979509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_56_10600.jpg', '/home/pi/Desktop/images/29112025/21/41/image_29112025_21_42_05_9577.jpg', '/home/pi/Desktop/images/29112025/21/42/image_29112025_21_42_15_9806.jpg', '/home/pi/Desktop/images/29112025/21/42/image_29112025_21_42_35_9794.jpg', '/home/pi/Desktop/images/29112025/21/42/image_29112025_21_42_45_9556.jpg', '/home/pi/Desktop/images/29112025/21/42/image_29112025_21_42_55_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/41/image_29112025_21_41_56_10600.jpg
/home/pi/Desktop/images/29112025/21/41/image_29112025_21_42_05_9577.jpg
/home/pi/Desktop/images/29112025/21/42/image_29112025_21_42_15_9806.jpg
/home/pi/Desktop/images/29112025/21/42/image_29112025_21_42_35_9794.jpg
/home/pi/Desktop/images/29112025/21/42/image_29112025_21_42_45_9556.jpg
/home/pi/Desktop/images/29112025/21/42/image_29112025_21_42_55_10609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396963048","1396963006","1396963071","1396963053","1396963113","1396963007"],"photo_ids_order":["1396963006","1396963007","1396963048","1396963053","1396963071","1396963113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/729e5f130acefac9f0757f378d4d9108.jpg","text":"TemporaryFile(/tmp/multipartBody2096412568165889370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451143724,"filename":"image_29112025_21_42_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/11/29/c035c5232bdd00173b85698de5be182a.jpg","text":"TemporaryFile(/tmp/multipartBody7282463539525323918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451143724,"filename":"image_29112025_21_41_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/11/29/d88de5319cae68a41f911e036a77edbe.jpg","text":"TemporaryFile(/tmp/multipartBody1915070146005990496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451143724,"filename":"image_29112025_21_42_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/11/29/1266ae2c1a86665da7015291dd2c9e01.jpg","text":"TemporaryFile(/tmp/multipartBody1516642328371483329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451143724,"filename":"image_29112025_21_42_35_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffa4568d3a618634d5dc0672cd457f18.jpg","text":"TemporaryFile(/tmp/multipartBody7042294448077479237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451143724,"filename":"image_29112025_21_42_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/11/29/db3cd00649671b31f3ccb15d83d897d4.jpg","text":"TemporaryFile(/tmp/multipartBody8731405077799684838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451143724,"filename":"image_29112025_21_42_05_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396963048","file1":"1396963007","file0":"1396963006","file4":"1396963071","file5":"1396963113","file3":"1396963053"},"map_files_photo_id_array":[{"photo_id":"1396963113","filename":"file5"},{"photo_id":"1396963048","filename":"file2"},{"photo_id":"1396963071","filename":"file4"},{"photo_id":"1396963007","filename":"file1"},{"photo_id":"1396963006","filename":"file0"},{"photo_id":"1396963053","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396963048":["hashtag1","hashtag2"]},{"1396963006":["hashtag1","hashtag2"]},{"1396963071":["hashtag1","hashtag2"]},{"1396963053":["hashtag1","hashtag2"]},{"1396963113":["hashtag1","hashtag2"]},{"1396963007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396963048, 1396963006, 1396963071, 1396963053, 1396963113, 1396963007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11622881889343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:18:42.638200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_02_3588.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_04_2645.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_14_2593.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_16_2594.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_20_3701.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_32_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_02_3588.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_04_2645.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_14_2593.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_16_2594.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_20_3701.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_32_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396963321","1396963347","1396963260","1396963320","1396963298","1396963319"],"photo_ids_order":["1396963260","1396963298","1396963319","1396963320","1396963321","1396963347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5f1b812f651f7c7b9da9a352a7d09816.jpg","text":"TemporaryFile(/tmp/multipartBody5757446954733231337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451183830,"filename":"image_31102025_10_59_20_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fe907f3816fa7309ebe19c08c0f3cc6d.jpg","text":"TemporaryFile(/tmp/multipartBody1096901594292177853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451183830,"filename":"image_31102025_10_59_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/11/29/b64576f35ffd86ff1c5f23b5e048ac09.jpg","text":"TemporaryFile(/tmp/multipartBody8578840201880981857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451183830,"filename":"image_31102025_10_59_02_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca3cee49e97633f8ccd7131af0c6fe21.jpg","text":"TemporaryFile(/tmp/multipartBody3908165879731505756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451183830,"filename":"image_31102025_10_59_16_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d4c4ae37d223fed6e57620b8f200fda0.jpg","text":"TemporaryFile(/tmp/multipartBody6114134392459338234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451183830,"filename":"image_31102025_10_59_04_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d527540f2fca4c9e6d6eea9d90435ed4.jpg","text":"TemporaryFile(/tmp/multipartBody6776254468402935132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451183830,"filename":"image_31102025_10_59_14_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396963319","file1":"1396963298","file0":"1396963260","file4":"1396963321","file5":"1396963347","file3":"1396963320"},"map_files_photo_id_array":[{"photo_id":"1396963347","filename":"file5"},{"photo_id":"1396963319","filename":"file2"},{"photo_id":"1396963321","filename":"file4"},{"photo_id":"1396963298","filename":"file1"},{"photo_id":"1396963260","filename":"file0"},{"photo_id":"1396963320","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396963321":["hashtag1","hashtag2"]},{"1396963347":["hashtag1","hashtag2"]},{"1396963260":["hashtag1","hashtag2"]},{"1396963320":["hashtag1","hashtag2"]},{"1396963298":["hashtag1","hashtag2"]},{"1396963319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396963321, 1396963347, 1396963260, 1396963320, 1396963298, 1396963319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.821187257766724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:19:22.787588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/42/image_29112025_21_43_05_9762.jpg', '/home/pi/Desktop/images/29112025/21/43/image_29112025_21_43_15_9890.jpg', '/home/pi/Desktop/images/29112025/21/43/image_29112025_21_43_25_9681.jpg', '/home/pi/Desktop/images/29112025/21/43/image_29112025_21_43_36_10722.jpg', '/home/pi/Desktop/images/29112025/21/43/image_29112025_21_43_45_9568.jpg', '/home/pi/Desktop/images/29112025/21/43/image_29112025_21_43_55_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/42/image_29112025_21_43_05_9762.jpg
/home/pi/Desktop/images/29112025/21/43/image_29112025_21_43_15_9890.jpg
/home/pi/Desktop/images/29112025/21/43/image_29112025_21_43_25_9681.jpg
/home/pi/Desktop/images/29112025/21/43/image_29112025_21_43_36_10722.jpg
/home/pi/Desktop/images/29112025/21/43/image_29112025_21_43_45_9568.jpg
/home/pi/Desktop/images/29112025/21/43/image_29112025_21_43_55_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":["1396964200","1396964069","1396963682","1396964339","1396963823","1396963952"],"photo_ids_order":["1396963682","1396963823","1396963952","1396964069","1396964200","1396964339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1f57291a235a1a2068b38080cd009fe.jpg","text":"TemporaryFile(/tmp/multipartBody508978133890254247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451223470,"filename":"image_29112025_21_43_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/11/29/30a7bbb9c4a030fdede70014a3d41a19.jpg","text":"TemporaryFile(/tmp/multipartBody3370424901788059392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451223470,"filename":"image_29112025_21_43_36_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5c8dae44c0d24b7088e9abf07a9c11c5.jpg","text":"TemporaryFile(/tmp/multipartBody6466224362380560523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451223470,"filename":"image_29112025_21_43_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/11/29/c2d3c51186b0a4ea07cb9586b1008a7a.jpg","text":"TemporaryFile(/tmp/multipartBody1626119114810233224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451223470,"filename":"image_29112025_21_43_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/11/29/ff699130fdf6d9494dece6b4e7ffade5.jpg","text":"TemporaryFile(/tmp/multipartBody8847862010145933071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451223470,"filename":"image_29112025_21_43_15_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/42dc75c41513fa1b5de3c347a61c8e3e.jpg","text":"TemporaryFile(/tmp/multipartBody3447395193647284466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451223470,"filename":"image_29112025_21_43_25_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396963952","file1":"1396963823","file0":"1396963682","file4":"1396964200","file5":"1396964339","file3":"1396964069"},"map_files_photo_id_array":[{"photo_id":"1396964339","filename":"file5"},{"photo_id":"1396963952","filename":"file2"},{"photo_id":"1396964200","filename":"file4"},{"photo_id":"1396963823","filename":"file1"},{"photo_id":"1396963682","filename":"file0"},{"photo_id":"1396964069","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396964200":["hashtag1","hashtag2"]},{"1396964069":["hashtag1","hashtag2"]},{"1396963682":["hashtag1","hashtag2"]},{"1396964339":["hashtag1","hashtag2"]},{"1396963823":["hashtag1","hashtag2"]},{"1396963952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396964200, 1396964069, 1396963682, 1396964339, 1396963823, 1396963952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73730731010437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:20:11.979120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_51_18548.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_53_1632.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_55_1602.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_56_1593.jpg', '/home/pi/Desktop/images/25112025/19/15/image_25112025_19_16_00_1905.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_01_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_51_18548.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_53_1632.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_55_1602.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_15_56_1593.jpg
/home/pi/Desktop/images/25112025/19/15/image_25112025_19_16_00_1905.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_01_1721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396964512","1396964401","1396964628","1396964675","1396964399","1396964728"],"photo_ids_order":["1396964399","1396964401","1396964512","1396964628","1396964675","1396964728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20d95672ce76466446c1e65e14f7643f.jpg","text":"TemporaryFile(/tmp/multipartBody3139635494535788841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451274168,"filename":"image_25112025_19_15_55_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a6b8c7ab28213840c8ffc83512229d57.jpg","text":"TemporaryFile(/tmp/multipartBody4541804226590616190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451274168,"filename":"image_25112025_19_15_53_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75c3ca3521236b4b310e33aa1907a04d.jpg","text":"TemporaryFile(/tmp/multipartBody7943695926189344392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451274168,"filename":"image_25112025_19_15_56_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9dce74a51e0bb160e61152e8161d0090.jpg","text":"TemporaryFile(/tmp/multipartBody6756578675190640823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451274168,"filename":"image_25112025_19_16_00_1905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/787c7e2ee016d48d02e597d791b84bab.jpg","text":"TemporaryFile(/tmp/multipartBody6579004928321843543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451274168,"filename":"image_25112025_19_15_51_18548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/20b72997fa63c4081daefa8149ab7d4d.jpg","text":"TemporaryFile(/tmp/multipartBody2172627781804441896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451274168,"filename":"image_25112025_19_16_01_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396964512","file1":"1396964401","file0":"1396964399","file4":"1396964675","file5":"1396964728","file3":"1396964628"},"map_files_photo_id_array":[{"photo_id":"1396964728","filename":"file5"},{"photo_id":"1396964512","filename":"file2"},{"photo_id":"1396964675","filename":"file4"},{"photo_id":"1396964401","filename":"file1"},{"photo_id":"1396964399","filename":"file0"},{"photo_id":"1396964628","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396964512":["hashtag1","hashtag2"]},{"1396964401":["hashtag1","hashtag2"]},{"1396964628":["hashtag1","hashtag2"]},{"1396964675":["hashtag1","hashtag2"]},{"1396964399":["hashtag1","hashtag2"]},{"1396964728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396964512, 1396964401, 1396964628, 1396964675, 1396964399, 1396964728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78230023384094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:21:02.841632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/43/image_29112025_21_44_05_10671.jpg', '/home/pi/Desktop/images/29112025/21/44/image_29112025_21_44_15_9620.jpg', '/home/pi/Desktop/images/29112025/21/44/image_29112025_21_44_25_9804.jpg', '/home/pi/Desktop/images/29112025/21/44/image_29112025_21_44_36_10823.jpg', '/home/pi/Desktop/images/29112025/21/44/image_29112025_21_44_45_9584.jpg', '/home/pi/Desktop/images/29112025/21/44/image_29112025_21_44_55_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/43/image_29112025_21_44_05_10671.jpg
/home/pi/Desktop/images/29112025/21/44/image_29112025_21_44_15_9620.jpg
/home/pi/Desktop/images/29112025/21/44/image_29112025_21_44_25_9804.jpg
/home/pi/Desktop/images/29112025/21/44/image_29112025_21_44_36_10823.jpg
/home/pi/Desktop/images/29112025/21/44/image_29112025_21_44_45_9584.jpg
/home/pi/Desktop/images/29112025/21/44/image_29112025_21_44_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":["1396965081","1396965117","1396965176","1396965173","1396965154","1396965046"],"photo_ids_order":["1396965046","1396965081","1396965117","1396965154","1396965173","1396965176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03913391932fcbce345a24d03fdad160.jpg","text":"TemporaryFile(/tmp/multipartBody2037431409231915050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451323598,"filename":"image_29112025_21_44_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2f1714a2a4a139568dea617b958bf688.jpg","text":"TemporaryFile(/tmp/multipartBody6969065921523486915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451323598,"filename":"image_29112025_21_44_25_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d0a4025de1db7db8bbe3c8adb32673c.jpg","text":"TemporaryFile(/tmp/multipartBody8575228469729302223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451323598,"filename":"image_29112025_21_44_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/11/29/683dbf5f7006cbe0d14c2cba6ceda211.jpg","text":"TemporaryFile(/tmp/multipartBody7266322628415450629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451323598,"filename":"image_29112025_21_44_45_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f52158a89832af09688821a82e8bc0e3.jpg","text":"TemporaryFile(/tmp/multipartBody8759705115201766851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451323598,"filename":"image_29112025_21_44_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/11/29/1a597296df98e3ecac13789046ac5572.jpg","text":"TemporaryFile(/tmp/multipartBody5860051988340170051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451323598,"filename":"image_29112025_21_44_05_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396965117","file1":"1396965081","file0":"1396965046","file4":"1396965173","file5":"1396965176","file3":"1396965154"},"map_files_photo_id_array":[{"photo_id":"1396965176","filename":"file5"},{"photo_id":"1396965117","filename":"file2"},{"photo_id":"1396965173","filename":"file4"},{"photo_id":"1396965081","filename":"file1"},{"photo_id":"1396965046","filename":"file0"},{"photo_id":"1396965154","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396965081":["hashtag1","hashtag2"]},{"1396965117":["hashtag1","hashtag2"]},{"1396965176":["hashtag1","hashtag2"]},{"1396965173":["hashtag1","hashtag2"]},{"1396965154":["hashtag1","hashtag2"]},{"1396965046":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396965081, 1396965117, 1396965176, 1396965173, 1396965154, 1396965046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77840709686279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:21:42.197981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_34_2610.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_38_3860.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_41_2658.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_43_2726.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_47_3696.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_50_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_34_2610.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_38_3860.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_41_2658.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_43_2726.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_47_3696.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_50_2753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396965267","1396965191","1396965230","1396965314","1396965302","1396965358"],"photo_ids_order":["1396965191","1396965230","1396965267","1396965302","1396965314","1396965358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a49fc068720c095fab5a7ab5f98886af.jpg","text":"TemporaryFile(/tmp/multipartBody1877885677505890862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451363324,"filename":"image_31102025_10_59_41_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/86af07b3d75d373c7de4a051e682655e.jpg","text":"TemporaryFile(/tmp/multipartBody2383367981831014499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451363324,"filename":"image_31102025_10_59_34_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cac5937e10c76b9362b41e2ef4533166.jpg","text":"TemporaryFile(/tmp/multipartBody2091795662875247551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451363324,"filename":"image_31102025_10_59_38_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/432d827a931da00d22793f2f2da6047e.jpg","text":"TemporaryFile(/tmp/multipartBody1049275970284791003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451363324,"filename":"image_31102025_10_59_47_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da948ed4adeda3075c05d3d1e3c28a1c.jpg","text":"TemporaryFile(/tmp/multipartBody6228279981309073922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451363324,"filename":"image_31102025_10_59_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/11/29/398b76bb6867c6f6337378c9d7993f8c.jpg","text":"TemporaryFile(/tmp/multipartBody5752023115776949976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451363324,"filename":"image_31102025_10_59_50_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396965267","file1":"1396965230","file0":"1396965191","file4":"1396965314","file5":"1396965358","file3":"1396965302"},"map_files_photo_id_array":[{"photo_id":"1396965358","filename":"file5"},{"photo_id":"1396965267","filename":"file2"},{"photo_id":"1396965314","filename":"file4"},{"photo_id":"1396965230","filename":"file1"},{"photo_id":"1396965191","filename":"file0"},{"photo_id":"1396965302","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396965267":["hashtag1","hashtag2"]},{"1396965191":["hashtag1","hashtag2"]},{"1396965230":["hashtag1","hashtag2"]},{"1396965314":["hashtag1","hashtag2"]},{"1396965302":["hashtag1","hashtag2"]},{"1396965358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396965267, 1396965191, 1396965230, 1396965314, 1396965302, 1396965358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.942469120025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:22:42.412384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_52_2586.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_56_3585.jpg', '/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_59_2667.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_07_3011.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_11_3660.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_14_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/10/59/image_31102025_10_59_52_2586.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_56_3585.jpg
/home/pi/Desktop/images/31102025/10/59/image_31102025_10_59_59_2667.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_07_3011.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_11_3660.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_14_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":["1396965578","1396965473","1396965806","1396965697","1396965370","1396965916"],"photo_ids_order":["1396965370","1396965473","1396965578","1396965697","1396965806","1396965916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d67ef5229f80e3cf6121cc9aec78d66.jpg","text":"TemporaryFile(/tmp/multipartBody3998842412956691081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451423573,"filename":"image_31102025_10_59_59_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7384d15833bf0527d22b3641955b2f7e.jpg","text":"TemporaryFile(/tmp/multipartBody3171080891564801654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451423573,"filename":"image_31102025_10_59_56_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9a219317ed7d454fa93fc3223a9fa05.jpg","text":"TemporaryFile(/tmp/multipartBody6302573606083705547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451423573,"filename":"image_31102025_11_00_11_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cccb7325397856d9d7cceb12bc6f3c83.jpg","text":"TemporaryFile(/tmp/multipartBody6350905087395539299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451423573,"filename":"image_31102025_11_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/11/29/43a645b1533421a8f391a88d40487a68.jpg","text":"TemporaryFile(/tmp/multipartBody4513715302600284051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451423573,"filename":"image_31102025_10_59_52_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6ef185dfc6b36a1da303dd3935d8b9b1.jpg","text":"TemporaryFile(/tmp/multipartBody7956499352754543870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451423573,"filename":"image_31102025_11_00_14_2861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396965578","file1":"1396965473","file0":"1396965370","file4":"1396965806","file5":"1396965916","file3":"1396965697"},"map_files_photo_id_array":[{"photo_id":"1396965916","filename":"file5"},{"photo_id":"1396965578","filename":"file2"},{"photo_id":"1396965806","filename":"file4"},{"photo_id":"1396965473","filename":"file1"},{"photo_id":"1396965370","filename":"file0"},{"photo_id":"1396965697","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396965578":["hashtag1","hashtag2"]},{"1396965473":["hashtag1","hashtag2"]},{"1396965806":["hashtag1","hashtag2"]},{"1396965697":["hashtag1","hashtag2"]},{"1396965370":["hashtag1","hashtag2"]},{"1396965916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396965578, 1396965473, 1396965806, 1396965697, 1396965370, 1396965916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.183703660964966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:23:22.575711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/44/image_29112025_21_45_05_10590.jpg', '/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_15_9647.jpg', '/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_25_9772.jpg', '/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_35_9923.jpg', '/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_45_10547.jpg', '/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_55_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/44/image_29112025_21_45_05_10590.jpg
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_15_9647.jpg
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_25_9772.jpg
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_35_9923.jpg
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_45_10547.jpg
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_55_9606.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6210134029388428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:23:32.576650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_03_1522.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_05_1657.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_06_1730.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_08_1654.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_10_1565.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_12_2578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_03_1522.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_05_1657.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_06_1730.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_08_1654.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_10_1565.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_12_2578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396966104","1396966175","1396966133","1396966156","1396966176","1396966161"],"photo_ids_order":["1396966104","1396966133","1396966156","1396966161","1396966175","1396966176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1edd33cbe2bd0954e3c22c7cee8763ba.jpg","text":"TemporaryFile(/tmp/multipartBody7582685204679396672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451474827,"filename":"image_25112025_19_16_03_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e9a7ce23ecd748728511684d0028fcda.jpg","text":"TemporaryFile(/tmp/multipartBody5625503946735047376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451474827,"filename":"image_25112025_19_16_10_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f07c14d7a115a057372aff7b005edac.jpg","text":"TemporaryFile(/tmp/multipartBody4861043411924217107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451474827,"filename":"image_25112025_19_16_05_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e49a1660bbc917e614e9c06647cf8515.jpg","text":"TemporaryFile(/tmp/multipartBody7318567493827222969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451474827,"filename":"image_25112025_19_16_06_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c2507649063adab1963688fbb016d5d0.jpg","text":"TemporaryFile(/tmp/multipartBody3731345466637645438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451474827,"filename":"image_25112025_19_16_12_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f0930a6e584feb01a059400d34c8cde1.jpg","text":"TemporaryFile(/tmp/multipartBody8158890062532823225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451474827,"filename":"image_25112025_19_16_08_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396966156","file1":"1396966133","file0":"1396966104","file4":"1396966175","file5":"1396966176","file3":"1396966161"},"map_files_photo_id_array":[{"photo_id":"1396966176","filename":"file5"},{"photo_id":"1396966156","filename":"file2"},{"photo_id":"1396966175","filename":"file4"},{"photo_id":"1396966133","filename":"file1"},{"photo_id":"1396966104","filename":"file0"},{"photo_id":"1396966161","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396966104":["hashtag1","hashtag2"]},{"1396966175":["hashtag1","hashtag2"]},{"1396966133":["hashtag1","hashtag2"]},{"1396966156":["hashtag1","hashtag2"]},{"1396966176":["hashtag1","hashtag2"]},{"1396966161":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396966104, 1396966175, 1396966133, 1396966156, 1396966176, 1396966161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93702268600464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:24:12.805538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_15_2746.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_18_2751.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_21_3527.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_24_2774.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_27_2622.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_29_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_15_2746.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_18_2751.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_21_3527.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_24_2774.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_27_2622.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_29_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":["1396966177","1396966188","1396966182","1396966191","1396966185","1396966179"],"photo_ids_order":["1396966177","1396966179","1396966182","1396966185","1396966188","1396966191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c7000ee4d0f5135c5d83c7f953bc7959.jpg","text":"TemporaryFile(/tmp/multipartBody8370685562469314997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451514872,"filename":"image_25112025_19_16_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/11/29/88311e2e75169dbb2a38146c40e27f0c.jpg","text":"TemporaryFile(/tmp/multipartBody2409971636318459909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451514872,"filename":"image_25112025_19_16_27_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2af99f9a58a8d86afcaa7b9c4e1eeb92.jpg","text":"TemporaryFile(/tmp/multipartBody565036533053481911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451514872,"filename":"image_25112025_19_16_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/11/29/5bfd64f447f85a145e6894f2e1402dbe.jpg","text":"TemporaryFile(/tmp/multipartBody5361846236623179428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451514872,"filename":"image_25112025_19_16_29_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e84e6a83146e6af432790a1810110aaf.jpg","text":"TemporaryFile(/tmp/multipartBody5280106615729556057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451514872,"filename":"image_25112025_19_16_24_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ab1137a9c833fc60d56b601aa42eef0.jpg","text":"TemporaryFile(/tmp/multipartBody8020846179993292013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451514872,"filename":"image_25112025_19_16_18_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396966182","file1":"1396966179","file0":"1396966177","file4":"1396966188","file5":"1396966191","file3":"1396966185"},"map_files_photo_id_array":[{"photo_id":"1396966191","filename":"file5"},{"photo_id":"1396966182","filename":"file2"},{"photo_id":"1396966188","filename":"file4"},{"photo_id":"1396966179","filename":"file1"},{"photo_id":"1396966177","filename":"file0"},{"photo_id":"1396966185","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396966177":["hashtag1","hashtag2"]},{"1396966188":["hashtag1","hashtag2"]},{"1396966182":["hashtag1","hashtag2"]},{"1396966191":["hashtag1","hashtag2"]},{"1396966185":["hashtag1","hashtag2"]},{"1396966179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396966177, 1396966188, 1396966182, 1396966191, 1396966185, 1396966179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92515563964844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:25:02.690579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/44/image_29112025_21_45_05_10590.jpg', '/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_15_9647.jpg', '/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_25_9772.jpg', '/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_35_9923.jpg', '/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_45_10547.jpg', '/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_55_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/44/image_29112025_21_45_05_10590.jpg
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_15_9647.jpg
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_25_9772.jpg
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_35_9923.jpg
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_45_10547.jpg
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_45_55_9606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396966401","1396966514","1396966594","1396966474","1396966438","1396966551"],"photo_ids_order":["1396966401","1396966438","1396966474","1396966514","1396966551","1396966594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f502ec809b7169e323dc724ba1585a41.jpg","text":"TemporaryFile(/tmp/multipartBody9222406997368430888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451563483,"filename":"image_29112025_21_45_05_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be702f0566dd26e67531469e30dd69b5.jpg","text":"TemporaryFile(/tmp/multipartBody7380192396167078503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451563483,"filename":"image_29112025_21_45_35_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28c6b5b1a8a226b264277df40bc34cbe.jpg","text":"TemporaryFile(/tmp/multipartBody290845463770328409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451563483,"filename":"image_29112025_21_45_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/11/29/53f5d6a103b34b50a1b56666d203390f.jpg","text":"TemporaryFile(/tmp/multipartBody6955653910301896580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451563483,"filename":"image_29112025_21_45_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/11/29/343a8162d60bdefc3b73779362f7b0c0.jpg","text":"TemporaryFile(/tmp/multipartBody6336434387762574727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451563483,"filename":"image_29112025_21_45_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/11/29/73fd50dc849174152316386ea406e6c0.jpg","text":"TemporaryFile(/tmp/multipartBody5092713645021197302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451563483,"filename":"image_29112025_21_45_45_10547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396966474","file1":"1396966438","file0":"1396966401","file4":"1396966551","file5":"1396966594","file3":"1396966514"},"map_files_photo_id_array":[{"photo_id":"1396966594","filename":"file5"},{"photo_id":"1396966474","filename":"file2"},{"photo_id":"1396966551","filename":"file4"},{"photo_id":"1396966438","filename":"file1"},{"photo_id":"1396966401","filename":"file0"},{"photo_id":"1396966514","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396966401":["hashtag1","hashtag2"]},{"1396966514":["hashtag1","hashtag2"]},{"1396966594":["hashtag1","hashtag2"]},{"1396966474":["hashtag1","hashtag2"]},{"1396966438":["hashtag1","hashtag2"]},{"1396966551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396966401, 1396966514, 1396966594, 1396966474, 1396966438, 1396966551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66434621810913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:25:41.945913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_17_2764.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_20_3645.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_23_2679.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_26_2703.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_32_3702.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_35_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/11/00/image_31102025_11_00_17_2764.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_20_3645.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_23_2679.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_26_2703.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_32_3702.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_35_2725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396966719","1396966718","1396966720","1396966764","1396966728","1396966800"],"photo_ids_order":["1396966718","1396966719","1396966720","1396966728","1396966764","1396966800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da58ac7af105976b5967098c1225b666.jpg","text":"TemporaryFile(/tmp/multipartBody6105324025545749826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451603091,"filename":"image_31102025_11_00_20_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfccb928f071cea0735bd73ede080c3f.jpg","text":"TemporaryFile(/tmp/multipartBody4977786058715675262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451603091,"filename":"image_31102025_11_00_17_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/087e268c835d8714a0a5415270d51761.jpg","text":"TemporaryFile(/tmp/multipartBody5311905067421155308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451603091,"filename":"image_31102025_11_00_23_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/78e95a5a9fbc6c85dd394dba391693ff.jpg","text":"TemporaryFile(/tmp/multipartBody6916496162859293503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451603091,"filename":"image_31102025_11_00_32_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75a7a1d0c03561aedfee66b934f81f30.jpg","text":"TemporaryFile(/tmp/multipartBody7251537064306988280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451603091,"filename":"image_31102025_11_00_26_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/608dac48ec16ce58a24b8cd876f1b57d.jpg","text":"TemporaryFile(/tmp/multipartBody4347893400116240243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451603091,"filename":"image_31102025_11_00_35_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396966720","file1":"1396966719","file0":"1396966718","file4":"1396966764","file5":"1396966800","file3":"1396966728"},"map_files_photo_id_array":[{"photo_id":"1396966800","filename":"file5"},{"photo_id":"1396966720","filename":"file2"},{"photo_id":"1396966764","filename":"file4"},{"photo_id":"1396966719","filename":"file1"},{"photo_id":"1396966718","filename":"file0"},{"photo_id":"1396966728","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396966719":["hashtag1","hashtag2"]},{"1396966718":["hashtag1","hashtag2"]},{"1396966720":["hashtag1","hashtag2"]},{"1396966764":["hashtag1","hashtag2"]},{"1396966728":["hashtag1","hashtag2"]},{"1396966800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396966719, 1396966718, 1396966720, 1396966764, 1396966728, 1396966800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.196261167526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:26:32.077386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_33_3674.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_35_2579.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_39_3674.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_42_2679.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_44_2719.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_47_2886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_33_3674.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_35_2579.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_39_3674.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_42_2679.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_44_2719.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_47_2886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396966917","1396966967","1396966880","1396966964","1396966937","1396966919"],"photo_ids_order":["1396966880","1396966917","1396966919","1396966937","1396966964","1396966967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0d9a6d5c274b8cbc92273d9e51c7e397.jpg","text":"TemporaryFile(/tmp/multipartBody8265812720086898348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451654264,"filename":"image_25112025_19_16_35_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a8329d9502f18a5492841b1eb6e98bde.jpg","text":"TemporaryFile(/tmp/multipartBody542687070617009233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451654264,"filename":"image_25112025_19_16_47_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1d3f675eb0847191cc5ba80afaa21d3.jpg","text":"TemporaryFile(/tmp/multipartBody3858961173338122127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451654264,"filename":"image_25112025_19_16_33_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb9f092828a6295c6dda93e9056eade8.jpg","text":"TemporaryFile(/tmp/multipartBody3221154187021811753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451654264,"filename":"image_25112025_19_16_44_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1064c62c114d6628026c7d647428ae46.jpg","text":"TemporaryFile(/tmp/multipartBody177598445730902036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451654264,"filename":"image_25112025_19_16_42_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd981fb238cfcbee8f0395c8816f53db.jpg","text":"TemporaryFile(/tmp/multipartBody5286555990940567955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451654264,"filename":"image_25112025_19_16_39_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396966919","file1":"1396966917","file0":"1396966880","file4":"1396966964","file5":"1396966967","file3":"1396966937"},"map_files_photo_id_array":[{"photo_id":"1396966967","filename":"file5"},{"photo_id":"1396966919","filename":"file2"},{"photo_id":"1396966964","filename":"file4"},{"photo_id":"1396966917","filename":"file1"},{"photo_id":"1396966880","filename":"file0"},{"photo_id":"1396966937","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396966917":["hashtag1","hashtag2"]},{"1396966967":["hashtag1","hashtag2"]},{"1396966880":["hashtag1","hashtag2"]},{"1396966964":["hashtag1","hashtag2"]},{"1396966937":["hashtag1","hashtag2"]},{"1396966919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396966917, 1396966967, 1396966880, 1396966964, 1396966937, 1396966919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45474910736084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:27:12.252922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_51_3634.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_54_2643.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_56_2594.jpg', '/home/pi/Desktop/images/25112025/19/16/image_25112025_19_17_00_3572.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_02_2616.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_06_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_51_3634.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_54_2643.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_16_56_2594.jpg
/home/pi/Desktop/images/25112025/19/16/image_25112025_19_17_00_3572.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_02_2616.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_06_3606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396966979","1396966970","1396966973","1396966975","1396966977","1396966968"],"photo_ids_order":["1396966968","1396966970","1396966973","1396966975","1396966977","1396966979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8266726a414acb5f94e2c3722e965cfc.jpg","text":"TemporaryFile(/tmp/multipartBody759759640406084586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451694408,"filename":"image_25112025_19_17_06_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/852584fc20e11d6d93f86f5a9a2decd0.jpg","text":"TemporaryFile(/tmp/multipartBody6960537520936387778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451694408,"filename":"image_25112025_19_16_54_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30ad0993f7dbf78047d710a30834ca48.jpg","text":"TemporaryFile(/tmp/multipartBody6240698305791448583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451694408,"filename":"image_25112025_19_16_56_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f2bd7922900768018c0b0dc64d474732.jpg","text":"TemporaryFile(/tmp/multipartBody7751406090160726201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451694408,"filename":"image_25112025_19_17_00_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/03967d4824165c681b17e1fe016af3eb.jpg","text":"TemporaryFile(/tmp/multipartBody6993368510976893053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451694408,"filename":"image_25112025_19_17_02_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32c325d2d3c93d55e55b1e9f9ddde1b6.jpg","text":"TemporaryFile(/tmp/multipartBody6927399202392281209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451694408,"filename":"image_25112025_19_16_51_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396966973","file1":"1396966970","file0":"1396966968","file4":"1396966977","file5":"1396966979","file3":"1396966975"},"map_files_photo_id_array":[{"photo_id":"1396966979","filename":"file5"},{"photo_id":"1396966973","filename":"file2"},{"photo_id":"1396966977","filename":"file4"},{"photo_id":"1396966970","filename":"file1"},{"photo_id":"1396966968","filename":"file0"},{"photo_id":"1396966975","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396966979":["hashtag1","hashtag2"]},{"1396966970":["hashtag1","hashtag2"]},{"1396966973":["hashtag1","hashtag2"]},{"1396966975":["hashtag1","hashtag2"]},{"1396966977":["hashtag1","hashtag2"]},{"1396966968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396966979, 1396966970, 1396966973, 1396966975, 1396966977, 1396966968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48707604408264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:28:03.073417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/45/image_29112025_21_46_06_10724.jpg', '/home/pi/Desktop/images/29112025/21/46/image_29112025_21_46_15_9622.jpg', '/home/pi/Desktop/images/29112025/21/46/image_29112025_21_46_25_9970.jpg', '/home/pi/Desktop/images/29112025/21/46/image_29112025_21_46_35_9762.jpg', '/home/pi/Desktop/images/29112025/21/46/image_29112025_21_46_50_14986.jpg', '/home/pi/Desktop/images/29112025/21/46/image_29112025_21_46_55_4710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/45/image_29112025_21_46_06_10724.jpg
/home/pi/Desktop/images/29112025/21/46/image_29112025_21_46_15_9622.jpg
/home/pi/Desktop/images/29112025/21/46/image_29112025_21_46_25_9970.jpg
/home/pi/Desktop/images/29112025/21/46/image_29112025_21_46_35_9762.jpg
/home/pi/Desktop/images/29112025/21/46/image_29112025_21_46_50_14986.jpg
/home/pi/Desktop/images/29112025/21/46/image_29112025_21_46_55_4710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396967188","1396967080","1396967044","1396967226","1396967115","1396967150"],"photo_ids_order":["1396967044","1396967080","1396967115","1396967150","1396967188","1396967226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82afdba7a65d67177e15516edf4e3d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7352812490517536198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451743805,"filename":"image_29112025_21_46_50_14986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8a9cfa0b7060d99c64e7d51972e90358.jpg","text":"TemporaryFile(/tmp/multipartBody2917122934097392797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451743805,"filename":"image_29112025_21_46_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/11/29/472ec6700991e2a858415bcf4008c00b.jpg","text":"TemporaryFile(/tmp/multipartBody476969244552830546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451743805,"filename":"image_29112025_21_46_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/11/29/dcec673e90578559f7fba29069408d73.jpg","text":"TemporaryFile(/tmp/multipartBody7372692987297067546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451743805,"filename":"image_29112025_21_46_55_4710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff376bfa0575cd7a60d8dc119c70593f.jpg","text":"TemporaryFile(/tmp/multipartBody8392469973519680995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451743805,"filename":"image_29112025_21_46_25_9970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df2c7de632d2e44af48256ff6e6eef6d.jpg","text":"TemporaryFile(/tmp/multipartBody6119193341199591914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451743805,"filename":"image_29112025_21_46_35_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396967115","file1":"1396967080","file0":"1396967044","file4":"1396967188","file5":"1396967226","file3":"1396967150"},"map_files_photo_id_array":[{"photo_id":"1396967226","filename":"file5"},{"photo_id":"1396967115","filename":"file2"},{"photo_id":"1396967188","filename":"file4"},{"photo_id":"1396967080","filename":"file1"},{"photo_id":"1396967044","filename":"file0"},{"photo_id":"1396967150","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396967188":["hashtag1","hashtag2"]},{"1396967080":["hashtag1","hashtag2"]},{"1396967044":["hashtag1","hashtag2"]},{"1396967226":["hashtag1","hashtag2"]},{"1396967115":["hashtag1","hashtag2"]},{"1396967150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396967188, 1396967080, 1396967044, 1396967226, 1396967115, 1396967150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88741612434387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:28:42.631755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_38_2653.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_41_3743.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_44_2781.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_47_2659.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_50_3617.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_53_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/11/00/image_31102025_11_00_38_2653.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_41_3743.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_44_2781.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_47_2659.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_50_3617.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_53_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396967612","1396967878","1396968299","1396967736","1396967367","1396967483"],"photo_ids_order":["1396967367","1396967483","1396967612","1396967736","1396967878","1396968299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc17e2cc7498f67d209e8c74ac7bf55c.jpg","text":"TemporaryFile(/tmp/multipartBody7187907367170315871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451783722,"filename":"image_31102025_11_00_44_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/daa1a4342b56290e92c5bc27ba0bbfd5.jpg","text":"TemporaryFile(/tmp/multipartBody3981698746430794407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451783722,"filename":"image_31102025_11_00_50_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9d565b4c5cdafac8481ba491824afeb8.jpg","text":"TemporaryFile(/tmp/multipartBody6214377604369994691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451783722,"filename":"image_31102025_11_00_53_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2c90a1d75ff61f61b575b4a4d6851e9.jpg","text":"TemporaryFile(/tmp/multipartBody3477934205825915292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451783722,"filename":"image_31102025_11_00_47_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9aa60c8e3a2827b998ca48fe2c3ea510.jpg","text":"TemporaryFile(/tmp/multipartBody2563155552282651409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451783722,"filename":"image_31102025_11_00_38_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9bfcb09fb8e42e00652eee826779fc1.jpg","text":"TemporaryFile(/tmp/multipartBody933034429946227339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451783722,"filename":"image_31102025_11_00_41_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396967612","file1":"1396967483","file0":"1396967367","file4":"1396967878","file5":"1396968299","file3":"1396967736"},"map_files_photo_id_array":[{"photo_id":"1396968299","filename":"file5"},{"photo_id":"1396967612","filename":"file2"},{"photo_id":"1396967878","filename":"file4"},{"photo_id":"1396967483","filename":"file1"},{"photo_id":"1396967367","filename":"file0"},{"photo_id":"1396967736","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396967612":["hashtag1","hashtag2"]},{"1396967878":["hashtag1","hashtag2"]},{"1396968299":["hashtag1","hashtag2"]},{"1396967736":["hashtag1","hashtag2"]},{"1396967367":["hashtag1","hashtag2"]},{"1396967483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396967612, 1396967878, 1396968299, 1396967736, 1396967367, 1396967483)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.230889320373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:29:42.922499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_56_2602.jpg', '/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_59_3629.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_02_2867.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_05_2782.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_08_2714.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_10_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/11/00/image_31102025_11_00_56_2602.jpg
/home/pi/Desktop/images/31102025/11/00/image_31102025_11_00_59_3629.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_02_2867.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_05_2782.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_08_2714.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_10_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":["1396969098","1396968975","1396969247","1396969136","1396969205","1396968911"],"photo_ids_order":["1396968911","1396968975","1396969098","1396969136","1396969205","1396969247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7e8b89013f0c7836b481578f4d3d5dc8.jpg","text":"TemporaryFile(/tmp/multipartBody6818800976558609215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451844097,"filename":"image_31102025_11_01_02_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b26de9b35e14e83f301741f91145f13.jpg","text":"TemporaryFile(/tmp/multipartBody951354768599834006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451844097,"filename":"image_31102025_11_00_59_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae0d38be565b6113d1d418af19532b35.jpg","text":"TemporaryFile(/tmp/multipartBody5220728769539161290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451844097,"filename":"image_31102025_11_01_10_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd9975256f8c22297f190af71c4f9e82.jpg","text":"TemporaryFile(/tmp/multipartBody132351086510388534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451844097,"filename":"image_31102025_11_01_05_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/731ae967a2f7cb4cd5dc512686f628f5.jpg","text":"TemporaryFile(/tmp/multipartBody2150994522761128524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451844097,"filename":"image_31102025_11_01_08_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7c3cbdb8eee36e9d7208eb34a1c0c702.jpg","text":"TemporaryFile(/tmp/multipartBody7774034705498895408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451844097,"filename":"image_31102025_11_00_56_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396969098","file1":"1396968975","file0":"1396968911","file4":"1396969205","file5":"1396969247","file3":"1396969136"},"map_files_photo_id_array":[{"photo_id":"1396969247","filename":"file5"},{"photo_id":"1396969098","filename":"file2"},{"photo_id":"1396969205","filename":"file4"},{"photo_id":"1396968975","filename":"file1"},{"photo_id":"1396968911","filename":"file0"},{"photo_id":"1396969136","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396969098":["hashtag1","hashtag2"]},{"1396968975":["hashtag1","hashtag2"]},{"1396969247":["hashtag1","hashtag2"]},{"1396969136":["hashtag1","hashtag2"]},{"1396969205":["hashtag1","hashtag2"]},{"1396968911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396969098, 1396968975, 1396969247, 1396969136, 1396969205, 1396968911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21464562416077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:30:22.098954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/46/image_29112025_21_47_05_10672.jpg', '/home/pi/Desktop/images/29112025/21/47/image_29112025_21_47_15_9653.jpg', '/home/pi/Desktop/images/29112025/21/47/image_29112025_21_47_26_10565.jpg', '/home/pi/Desktop/images/29112025/21/47/image_29112025_21_47_35_9662.jpg', '/home/pi/Desktop/images/29112025/21/47/image_29112025_21_47_45_9749.jpg', '/home/pi/Desktop/images/29112025/21/47/image_29112025_21_47_56_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/46/image_29112025_21_47_05_10672.jpg
/home/pi/Desktop/images/29112025/21/47/image_29112025_21_47_15_9653.jpg
/home/pi/Desktop/images/29112025/21/47/image_29112025_21_47_26_10565.jpg
/home/pi/Desktop/images/29112025/21/47/image_29112025_21_47_35_9662.jpg
/home/pi/Desktop/images/29112025/21/47/image_29112025_21_47_45_9749.jpg
/home/pi/Desktop/images/29112025/21/47/image_29112025_21_47_56_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396969618","1396969507","1396969553","1396969748","1396969712","1396969675"],"photo_ids_order":["1396969507","1396969553","1396969618","1396969675","1396969712","1396969748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3dac7c8e67a57b3e79b22d39623e9f8.jpg","text":"TemporaryFile(/tmp/multipartBody8037892318002929787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451882787,"filename":"image_29112025_21_47_26_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edd31ecbde49178ba8a5c0069562945a.jpg","text":"TemporaryFile(/tmp/multipartBody6012652729850611235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451882787,"filename":"image_29112025_21_47_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/11/29/39765e00d0eaa75da9ebc68030288379.jpg","text":"TemporaryFile(/tmp/multipartBody1559101461924644374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451882787,"filename":"image_29112025_21_47_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/11/29/732f5ea6a901784b8c4fd6efab6bdddb.jpg","text":"TemporaryFile(/tmp/multipartBody6469462688204119829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451882787,"filename":"image_29112025_21_47_56_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e3a5a169ea1eb4cc07f8f39613f8da7c.jpg","text":"TemporaryFile(/tmp/multipartBody6483049270669120453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451882787,"filename":"image_29112025_21_47_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/11/29/96f073fb3eb8c332040b32ffd4668587.jpg","text":"TemporaryFile(/tmp/multipartBody7406447757634035083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451882787,"filename":"image_29112025_21_47_35_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396969618","file1":"1396969553","file0":"1396969507","file4":"1396969712","file5":"1396969748","file3":"1396969675"},"map_files_photo_id_array":[{"photo_id":"1396969748","filename":"file5"},{"photo_id":"1396969618","filename":"file2"},{"photo_id":"1396969712","filename":"file4"},{"photo_id":"1396969553","filename":"file1"},{"photo_id":"1396969507","filename":"file0"},{"photo_id":"1396969675","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396969618":["hashtag1","hashtag2"]},{"1396969507":["hashtag1","hashtag2"]},{"1396969553":["hashtag1","hashtag2"]},{"1396969748":["hashtag1","hashtag2"]},{"1396969712":["hashtag1","hashtag2"]},{"1396969675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396969618, 1396969507, 1396969553, 1396969748, 1396969712, 1396969675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76679730415344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:31:02.828449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/47/image_29112025_21_48_05_9687.jpg', '/home/pi/Desktop/images/29112025/21/48/image_29112025_21_48_15_9751.jpg', '/home/pi/Desktop/images/29112025/21/48/image_29112025_21_48_25_9815.jpg', '/home/pi/Desktop/images/29112025/21/48/image_29112025_21_48_36_10740.jpg', '/home/pi/Desktop/images/29112025/21/48/image_29112025_21_48_45_9644.jpg', '/home/pi/Desktop/images/29112025/21/48/image_29112025_21_48_55_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/47/image_29112025_21_48_05_9687.jpg
/home/pi/Desktop/images/29112025/21/48/image_29112025_21_48_15_9751.jpg
/home/pi/Desktop/images/29112025/21/48/image_29112025_21_48_25_9815.jpg
/home/pi/Desktop/images/29112025/21/48/image_29112025_21_48_36_10740.jpg
/home/pi/Desktop/images/29112025/21/48/image_29112025_21_48_45_9644.jpg
/home/pi/Desktop/images/29112025/21/48/image_29112025_21_48_55_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396970142","1396970357","1396969996","1396970360","1396970312","1396970228"],"photo_ids_order":["1396969996","1396970142","1396970228","1396970312","1396970357","1396970360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af5822063c9814b3454494f77bd631eb.jpg","text":"TemporaryFile(/tmp/multipartBody4469191978173581159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451923620,"filename":"image_29112025_21_48_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/11/29/c768aa12061c44c908adaaa2ff9f09ab.jpg","text":"TemporaryFile(/tmp/multipartBody2383430975431505291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451923620,"filename":"image_29112025_21_48_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/11/29/f5dad812c1bce7d40c5544ebaa370af0.jpg","text":"TemporaryFile(/tmp/multipartBody964561495632482140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451923620,"filename":"image_29112025_21_48_05_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bb1d4c8dc6dfeafeead4a44411b9a402.jpg","text":"TemporaryFile(/tmp/multipartBody6257668507226566654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451923620,"filename":"image_29112025_21_48_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d069317dcd7d5ad0774406068a019281.jpg","text":"TemporaryFile(/tmp/multipartBody1864475539275026712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451923620,"filename":"image_29112025_21_48_36_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02b3a62ba9ec6fd2f60025b017bc4f18.jpg","text":"TemporaryFile(/tmp/multipartBody9177727143244359816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451923620,"filename":"image_29112025_21_48_25_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396970228","file1":"1396970142","file0":"1396969996","file4":"1396970357","file5":"1396970360","file3":"1396970312"},"map_files_photo_id_array":[{"photo_id":"1396970360","filename":"file5"},{"photo_id":"1396970228","filename":"file2"},{"photo_id":"1396970357","filename":"file4"},{"photo_id":"1396970142","filename":"file1"},{"photo_id":"1396969996","filename":"file0"},{"photo_id":"1396970312","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396970142":["hashtag1","hashtag2"]},{"1396970357":["hashtag1","hashtag2"]},{"1396969996":["hashtag1","hashtag2"]},{"1396970360":["hashtag1","hashtag2"]},{"1396970312":["hashtag1","hashtag2"]},{"1396970228":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396970142, 1396970357, 1396969996, 1396970360, 1396970312, 1396970228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.221132040023804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:32:02.831480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/48/image_29112025_21_49_06_10671.jpg', '/home/pi/Desktop/images/29112025/21/49/image_29112025_21_49_15_9670.jpg', '/home/pi/Desktop/images/29112025/21/49/image_29112025_21_49_26_10326.jpg', '/home/pi/Desktop/images/29112025/21/49/image_29112025_21_49_35_9695.jpg', '/home/pi/Desktop/images/29112025/21/49/image_29112025_21_49_45_9779.jpg', '/home/pi/Desktop/images/29112025/21/49/image_29112025_21_49_55_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/48/image_29112025_21_49_06_10671.jpg
/home/pi/Desktop/images/29112025/21/49/image_29112025_21_49_15_9670.jpg
/home/pi/Desktop/images/29112025/21/49/image_29112025_21_49_26_10326.jpg
/home/pi/Desktop/images/29112025/21/49/image_29112025_21_49_35_9695.jpg
/home/pi/Desktop/images/29112025/21/49/image_29112025_21_49_45_9779.jpg
/home/pi/Desktop/images/29112025/21/49/image_29112025_21_49_55_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":["1396970560","1396970608","1396970607","1396970594","1396970642","1396970645"],"photo_ids_order":["1396970560","1396970594","1396970607","1396970608","1396970642","1396970645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/72f42f0477e5bb5843969cb16eae910a.jpg","text":"TemporaryFile(/tmp/multipartBody28437352140526862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451983574,"filename":"image_29112025_21_49_06_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7cab02617e7857cddf45b9ee19afaac2.jpg","text":"TemporaryFile(/tmp/multipartBody74204399006316862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451983574,"filename":"image_29112025_21_49_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8bdd1041258de27187a5bb62b5142ccd.jpg","text":"TemporaryFile(/tmp/multipartBody7260846129907215036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451983574,"filename":"image_29112025_21_49_26_10326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3cea857ef0f1f072fc5ce0b656fbd103.jpg","text":"TemporaryFile(/tmp/multipartBody7437716461892969176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451983574,"filename":"image_29112025_21_49_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc08918cb1602e1f8bcebde84a6592c6.jpg","text":"TemporaryFile(/tmp/multipartBody8636635783992212869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451983574,"filename":"image_29112025_21_49_45_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43774bfe5783744a10d07b52a7bccb85.jpg","text":"TemporaryFile(/tmp/multipartBody3302732280108087410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764451983574,"filename":"image_29112025_21_49_55_9952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396970607","file1":"1396970594","file0":"1396970560","file4":"1396970642","file5":"1396970645","file3":"1396970608"},"map_files_photo_id_array":[{"photo_id":"1396970645","filename":"file5"},{"photo_id":"1396970607","filename":"file2"},{"photo_id":"1396970642","filename":"file4"},{"photo_id":"1396970594","filename":"file1"},{"photo_id":"1396970560","filename":"file0"},{"photo_id":"1396970608","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396970560":["hashtag1","hashtag2"]},{"1396970608":["hashtag1","hashtag2"]},{"1396970607":["hashtag1","hashtag2"]},{"1396970594":["hashtag1","hashtag2"]},{"1396970642":["hashtag1","hashtag2"]},{"1396970645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396970560, 1396970608, 1396970607, 1396970594, 1396970642, 1396970645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63395833969116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:32:42.440494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_14_3601.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_17_2578.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_20_3704.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_26_2721.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_28_2655.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_40_2987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_14_3601.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_17_2578.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_20_3704.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_26_2721.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_28_2655.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_40_2987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396970677","1396970680","1396970682","1396970679","1396970681","1396970678"],"photo_ids_order":["1396970677","1396970678","1396970679","1396970680","1396970681","1396970682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/450f3d54925f93df906d3adac66a2689.jpg","text":"TemporaryFile(/tmp/multipartBody4124380925194177337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452023635,"filename":"image_31102025_11_01_14_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65e9d5697ade92936374d807d4cb41da.jpg","text":"TemporaryFile(/tmp/multipartBody3664754620345726209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452023635,"filename":"image_31102025_11_01_26_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75ece9cd08a12b982e85fc5b2b023760.jpg","text":"TemporaryFile(/tmp/multipartBody3192958875179745972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452023635,"filename":"image_31102025_11_01_40_2987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5858456702570795ad06ae38913ee1b6.jpg","text":"TemporaryFile(/tmp/multipartBody3134140029454108911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452023635,"filename":"image_31102025_11_01_20_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37d7ac80c9c28442be09e04eafdf93a6.jpg","text":"TemporaryFile(/tmp/multipartBody6546139297315833398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452023635,"filename":"image_31102025_11_01_28_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60dcdc7ee52a38c7ed78aa638e473b29.jpg","text":"TemporaryFile(/tmp/multipartBody8638785449341883124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452023635,"filename":"image_31102025_11_01_17_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396970679","file1":"1396970678","file0":"1396970677","file4":"1396970681","file5":"1396970682","file3":"1396970680"},"map_files_photo_id_array":[{"photo_id":"1396970682","filename":"file5"},{"photo_id":"1396970679","filename":"file2"},{"photo_id":"1396970681","filename":"file4"},{"photo_id":"1396970678","filename":"file1"},{"photo_id":"1396970677","filename":"file0"},{"photo_id":"1396970680","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396970677":["hashtag1","hashtag2"]},{"1396970680":["hashtag1","hashtag2"]},{"1396970682":["hashtag1","hashtag2"]},{"1396970679":["hashtag1","hashtag2"]},{"1396970681":["hashtag1","hashtag2"]},{"1396970678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396970677, 1396970680, 1396970682, 1396970679, 1396970681, 1396970678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10802674293518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:33:22.582515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/49/image_29112025_21_50_05_9795.jpg', '/home/pi/Desktop/images/29112025/21/50/image_29112025_21_50_16_10689.jpg', '/home/pi/Desktop/images/29112025/21/50/image_29112025_21_50_25_9714.jpg', '/home/pi/Desktop/images/29112025/21/50/image_29112025_21_50_35_9692.jpg', '/home/pi/Desktop/images/29112025/21/50/image_29112025_21_50_54_18964.jpg', '/home/pi/Desktop/images/29112025/21/50/image_29112025_21_50_55_1583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/49/image_29112025_21_50_05_9795.jpg
/home/pi/Desktop/images/29112025/21/50/image_29112025_21_50_16_10689.jpg
/home/pi/Desktop/images/29112025/21/50/image_29112025_21_50_25_9714.jpg
/home/pi/Desktop/images/29112025/21/50/image_29112025_21_50_35_9692.jpg
/home/pi/Desktop/images/29112025/21/50/image_29112025_21_50_54_18964.jpg
/home/pi/Desktop/images/29112025/21/50/image_29112025_21_50_55_1583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396970686","1396971087","1396970898","1396970803","1396970697","1396970993"],"photo_ids_order":["1396970686","1396970697","1396970803","1396970898","1396970993","1396971087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a71d7e329e242914b6a62737360fca8f.jpg","text":"TemporaryFile(/tmp/multipartBody8766262651611916996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452063296,"filename":"image_29112025_21_50_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/11/29/451f688717edaf082f2fce859c35c12a.jpg","text":"TemporaryFile(/tmp/multipartBody1612467683871835899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452063296,"filename":"image_29112025_21_50_55_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de717a49ab7341a2fb57cbbfc632e81b.jpg","text":"TemporaryFile(/tmp/multipartBody5419340951743076703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452063296,"filename":"image_29112025_21_50_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/11/29/5c49cfa633119190e74508dfda4e7e8a.jpg","text":"TemporaryFile(/tmp/multipartBody8379158342064020824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452063296,"filename":"image_29112025_21_50_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b04f540ed91a00e7204c8a6a8f43885a.jpg","text":"TemporaryFile(/tmp/multipartBody5585632083987064373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452063296,"filename":"image_29112025_21_50_16_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/694ff67c07cbc8447975ad9285f8ed6f.jpg","text":"TemporaryFile(/tmp/multipartBody5131559328663980882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452063296,"filename":"image_29112025_21_50_54_18964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396970803","file1":"1396970697","file0":"1396970686","file4":"1396970993","file5":"1396971087","file3":"1396970898"},"map_files_photo_id_array":[{"photo_id":"1396971087","filename":"file5"},{"photo_id":"1396970803","filename":"file2"},{"photo_id":"1396970993","filename":"file4"},{"photo_id":"1396970697","filename":"file1"},{"photo_id":"1396970686","filename":"file0"},{"photo_id":"1396970898","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396970686":["hashtag1","hashtag2"]},{"1396971087":["hashtag1","hashtag2"]},{"1396970898":["hashtag1","hashtag2"]},{"1396970803":["hashtag1","hashtag2"]},{"1396970697":["hashtag1","hashtag2"]},{"1396970993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396970686, 1396971087, 1396970898, 1396970803, 1396970697, 1396970993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.889134645462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:34:03.287951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/50/image_29112025_21_51_05_9890.jpg', '/home/pi/Desktop/images/29112025/21/51/image_29112025_21_51_15_9650.jpg', '/home/pi/Desktop/images/29112025/21/51/image_29112025_21_51_26_10649.jpg', '/home/pi/Desktop/images/29112025/21/51/image_29112025_21_51_35_9644.jpg', '/home/pi/Desktop/images/29112025/21/51/image_29112025_21_51_45_9643.jpg', '/home/pi/Desktop/images/29112025/21/51/image_29112025_21_51_56_10791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/50/image_29112025_21_51_05_9890.jpg
/home/pi/Desktop/images/29112025/21/51/image_29112025_21_51_15_9650.jpg
/home/pi/Desktop/images/29112025/21/51/image_29112025_21_51_26_10649.jpg
/home/pi/Desktop/images/29112025/21/51/image_29112025_21_51_35_9644.jpg
/home/pi/Desktop/images/29112025/21/51/image_29112025_21_51_45_9643.jpg
/home/pi/Desktop/images/29112025/21/51/image_29112025_21_51_56_10791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396971454","1396971457","1396971549","1396971453","1396971452","1396971455"],"photo_ids_order":["1396971452","1396971453","1396971454","1396971455","1396971457","1396971549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ab39ca89dbc9edf6ca4076fdb194374.jpg","text":"TemporaryFile(/tmp/multipartBody3776916050088214382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452104032,"filename":"image_29112025_21_51_26_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ad6a1038b40dbddbbdb12e0e09a915d.jpg","text":"TemporaryFile(/tmp/multipartBody5621072074245530466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452104032,"filename":"image_29112025_21_51_45_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a21fd1d49432ed616e85bb69d303d286.jpg","text":"TemporaryFile(/tmp/multipartBody827295299507151381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452104032,"filename":"image_29112025_21_51_56_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61e139d9e8a0fbf78c34ba2a4c86b25d.jpg","text":"TemporaryFile(/tmp/multipartBody5325023949764508121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452104032,"filename":"image_29112025_21_51_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/11/29/fd0e18ac779457984b1445c07315642e.jpg","text":"TemporaryFile(/tmp/multipartBody1364381183348613885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452104032,"filename":"image_29112025_21_51_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/11/29/243c485d94e96a81519c3ca4c80efdbc.jpg","text":"TemporaryFile(/tmp/multipartBody902279490308274432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452104032,"filename":"image_29112025_21_51_35_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396971454","file1":"1396971453","file0":"1396971452","file4":"1396971457","file5":"1396971549","file3":"1396971455"},"map_files_photo_id_array":[{"photo_id":"1396971549","filename":"file5"},{"photo_id":"1396971454","filename":"file2"},{"photo_id":"1396971457","filename":"file4"},{"photo_id":"1396971453","filename":"file1"},{"photo_id":"1396971452","filename":"file0"},{"photo_id":"1396971455","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396971454":["hashtag1","hashtag2"]},{"1396971457":["hashtag1","hashtag2"]},{"1396971549":["hashtag1","hashtag2"]},{"1396971453":["hashtag1","hashtag2"]},{"1396971452":["hashtag1","hashtag2"]},{"1396971455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396971454, 1396971457, 1396971549, 1396971453, 1396971452, 1396971455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.740851640701294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:34:42.591725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_44_3764.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_47_2754.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_50_2668.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_52_2766.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_56_3801.jpg', '/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_59_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/11/01/image_31102025_11_01_44_3764.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_47_2754.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_50_2668.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_52_2766.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_56_3801.jpg
/home/pi/Desktop/images/31102025/11/01/image_31102025_11_01_59_2623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396971637","1396971642","1396971645","1396971639","1396971633","1396971644"],"photo_ids_order":["1396971633","1396971637","1396971639","1396971642","1396971644","1396971645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3c18cb2c99e65627493d7ed3fc8d43a.jpg","text":"TemporaryFile(/tmp/multipartBody7918872120423561279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452143830,"filename":"image_31102025_11_01_47_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7619fee6c9144ed29dc98af307a6b93.jpg","text":"TemporaryFile(/tmp/multipartBody6949022997309348144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452143830,"filename":"image_31102025_11_01_52_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0918c317f01c38bfd9120842c52a2913.jpg","text":"TemporaryFile(/tmp/multipartBody4442835506246536770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452143830,"filename":"image_31102025_11_01_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/11/29/2cf397a0460d2feb567dc1190670a47f.jpg","text":"TemporaryFile(/tmp/multipartBody8616850561996942194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452143830,"filename":"image_31102025_11_01_50_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca0ca2d7e49e5bd626aecf181a0bc0cd.jpg","text":"TemporaryFile(/tmp/multipartBody5313544648575962587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452143830,"filename":"image_31102025_11_01_44_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62020b36e0649df59940a7099702d585.jpg","text":"TemporaryFile(/tmp/multipartBody491476758938722715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452143830,"filename":"image_31102025_11_01_56_3801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396971639","file1":"1396971637","file0":"1396971633","file4":"1396971644","file5":"1396971645","file3":"1396971642"},"map_files_photo_id_array":[{"photo_id":"1396971645","filename":"file5"},{"photo_id":"1396971639","filename":"file2"},{"photo_id":"1396971644","filename":"file4"},{"photo_id":"1396971637","filename":"file1"},{"photo_id":"1396971633","filename":"file0"},{"photo_id":"1396971642","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396971637":["hashtag1","hashtag2"]},{"1396971642":["hashtag1","hashtag2"]},{"1396971645":["hashtag1","hashtag2"]},{"1396971639":["hashtag1","hashtag2"]},{"1396971633":["hashtag1","hashtag2"]},{"1396971644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396971637, 1396971642, 1396971645, 1396971639, 1396971633, 1396971644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.68376064300537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:35:42.819382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_02_2897.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_04_2621.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_08_3614.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_11_2667.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_13_2686.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_17_3799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_02_2897.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_04_2621.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_08_3614.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_11_2667.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_13_2686.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_17_3799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396971652","1396971654","1396971648","1396971659","1396971650","1396971656"],"photo_ids_order":["1396971648","1396971650","1396971652","1396971654","1396971656","1396971659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7025f5291d6848f5e2bb843c9ad0207c.jpg","text":"TemporaryFile(/tmp/multipartBody4258919214442126382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452203954,"filename":"image_31102025_11_02_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/11/29/328ff5140b68f48ebb8e97f30ececa39.jpg","text":"TemporaryFile(/tmp/multipartBody3804271763601648237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452203954,"filename":"image_31102025_11_02_11_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4af0a1ccbd2a482db31da57301634aa.jpg","text":"TemporaryFile(/tmp/multipartBody7423058515691103976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452203954,"filename":"image_31102025_11_02_02_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/87684bca3718aa4b013b3e8c722358f2.jpg","text":"TemporaryFile(/tmp/multipartBody8655944651990621045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452203954,"filename":"image_31102025_11_02_17_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1ea6df37f56bcdbe22231dea29fd046.jpg","text":"TemporaryFile(/tmp/multipartBody6134741707443126040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452203954,"filename":"image_31102025_11_02_04_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dfa70ef82961331da2c18bc8faaa2efd.jpg","text":"TemporaryFile(/tmp/multipartBody6186218684878434138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452203954,"filename":"image_31102025_11_02_13_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396971652","file1":"1396971650","file0":"1396971648","file4":"1396971656","file5":"1396971659","file3":"1396971654"},"map_files_photo_id_array":[{"photo_id":"1396971659","filename":"file5"},{"photo_id":"1396971652","filename":"file2"},{"photo_id":"1396971656","filename":"file4"},{"photo_id":"1396971650","filename":"file1"},{"photo_id":"1396971648","filename":"file0"},{"photo_id":"1396971654","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396971652":["hashtag1","hashtag2"]},{"1396971654":["hashtag1","hashtag2"]},{"1396971648":["hashtag1","hashtag2"]},{"1396971659":["hashtag1","hashtag2"]},{"1396971650":["hashtag1","hashtag2"]},{"1396971656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396971652, 1396971654, 1396971648, 1396971659, 1396971650, 1396971656)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.53387498855591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:36:32.048410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_09_2547.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_11_2701.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_15_3519.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_18_2742.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_20_2592.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_24_3649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_09_2547.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_11_2701.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_15_3519.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_18_2742.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_20_2592.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_24_3649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396971673","1396971667","1396971675","1396971671","1396971668","1396971670"],"photo_ids_order":["1396971667","1396971668","1396971670","1396971671","1396971673","1396971675"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3995ce46319917b219ce2ac87fcc8f33.jpg","text":"TemporaryFile(/tmp/multipartBody7376157414471518517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452254233,"filename":"image_25112025_19_17_20_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68eb06305c9398f6202ad4aa73d4fb8a.jpg","text":"TemporaryFile(/tmp/multipartBody6547864564057944347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452254233,"filename":"image_25112025_19_17_09_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/955bda71ec68cbcbb90e06ad8878638a.jpg","text":"TemporaryFile(/tmp/multipartBody3399454014685403477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452254233,"filename":"image_25112025_19_17_24_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/484e303d265da85bf69c3e9eb5956020.jpg","text":"TemporaryFile(/tmp/multipartBody1147552986749344177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452254233,"filename":"image_25112025_19_17_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/11/29/d84c05ad266adb390690b3976e18e646.jpg","text":"TemporaryFile(/tmp/multipartBody7609797720059845416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452254233,"filename":"image_25112025_19_17_11_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9348640acee11791ef5fb3a112d3080d.jpg","text":"TemporaryFile(/tmp/multipartBody2093692592340226630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452254233,"filename":"image_25112025_19_17_15_3519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396971670","file1":"1396971668","file0":"1396971667","file4":"1396971673","file5":"1396971675","file3":"1396971671"},"map_files_photo_id_array":[{"photo_id":"1396971675","filename":"file5"},{"photo_id":"1396971670","filename":"file2"},{"photo_id":"1396971673","filename":"file4"},{"photo_id":"1396971668","filename":"file1"},{"photo_id":"1396971667","filename":"file0"},{"photo_id":"1396971671","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396971673":["hashtag1","hashtag2"]},{"1396971667":["hashtag1","hashtag2"]},{"1396971675":["hashtag1","hashtag2"]},{"1396971671":["hashtag1","hashtag2"]},{"1396971668":["hashtag1","hashtag2"]},{"1396971670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396971673, 1396971667, 1396971675, 1396971671, 1396971668, 1396971670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24229145050049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:37:12.291149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_26_2647.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_30_3607.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_33_2873.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_36_2686.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_39_3321.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_42_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_26_2647.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_30_3607.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_33_2873.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_36_2686.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_39_3321.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_42_2579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396971693","1396971695","1396971688","1396971682","1396971691","1396971685"],"photo_ids_order":["1396971682","1396971685","1396971688","1396971691","1396971693","1396971695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a579622055ae49af75a391ea12d2af6.jpg","text":"TemporaryFile(/tmp/multipartBody4563316870738881205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452294356,"filename":"image_25112025_19_17_39_3321.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75d768ccf6cbf062334ae5c080b41ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5410528928644260507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452294356,"filename":"image_25112025_19_17_42_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4d0e39b5a06c3657bd19f9625319b70.jpg","text":"TemporaryFile(/tmp/multipartBody3629158067487810774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452294356,"filename":"image_25112025_19_17_33_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64b2aa84df388eee981b6d1b8c8165ef.jpg","text":"TemporaryFile(/tmp/multipartBody7599354500182442744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452294356,"filename":"image_25112025_19_17_26_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2e997295d936fe6313e9487899e8294f.jpg","text":"TemporaryFile(/tmp/multipartBody7102550312621280139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452294356,"filename":"image_25112025_19_17_36_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9beac11cf1417c7f76a760af0f2e1c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3423793228443751823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452294356,"filename":"image_25112025_19_17_30_3607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396971688","file1":"1396971685","file0":"1396971682","file4":"1396971693","file5":"1396971695","file3":"1396971691"},"map_files_photo_id_array":[{"photo_id":"1396971695","filename":"file5"},{"photo_id":"1396971688","filename":"file2"},{"photo_id":"1396971693","filename":"file4"},{"photo_id":"1396971685","filename":"file1"},{"photo_id":"1396971682","filename":"file0"},{"photo_id":"1396971691","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396971693":["hashtag1","hashtag2"]},{"1396971695":["hashtag1","hashtag2"]},{"1396971688":["hashtag1","hashtag2"]},{"1396971682":["hashtag1","hashtag2"]},{"1396971691":["hashtag1","hashtag2"]},{"1396971685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396971693, 1396971695, 1396971688, 1396971682, 1396971691, 1396971685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.839322566986084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:38:02.920722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/51/image_29112025_21_52_06_9814.jpg', '/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_15_9336.jpg', '/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_26_10668.jpg', '/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_41_15664.jpg', '/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_45_3810.jpg', '/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_56_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/51/image_29112025_21_52_06_9814.jpg
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_15_9336.jpg
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_26_10668.jpg
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_41_15664.jpg
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_45_3810.jpg
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_56_10642.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6380174160003662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:38:12.427154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_45_3277.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_47_2637.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_50_2597.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_54_3702.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_56_2506.jpg', '/home/pi/Desktop/images/25112025/19/17/image_25112025_19_18_00_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_45_3277.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_47_2637.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_50_2597.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_54_3702.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_17_56_2506.jpg
/home/pi/Desktop/images/25112025/19/17/image_25112025_19_18_00_3677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396971706","1396971715","1396971709","1396971717","1396971713","1396971719"],"photo_ids_order":["1396971706","1396971709","1396971713","1396971715","1396971717","1396971719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f8267eae75b7a47eecc913b795e18e1.jpg","text":"TemporaryFile(/tmp/multipartBody1015090861945746031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452354494,"filename":"image_25112025_19_17_45_3277.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2855e1fe396cb94962dae096c9c44ad4.jpg","text":"TemporaryFile(/tmp/multipartBody8469745847242423352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452354494,"filename":"image_25112025_19_17_54_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b24c718ea1c43c7a0f23fd05e017fb9c.jpg","text":"TemporaryFile(/tmp/multipartBody21680890646681660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452354494,"filename":"image_25112025_19_17_47_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cd63bf905a3c8454d9369f289bb63ca2.jpg","text":"TemporaryFile(/tmp/multipartBody2357565099920523590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452354494,"filename":"image_25112025_19_17_56_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddc6c3cac5dbf25145f5b03cb3a3d3b0.jpg","text":"TemporaryFile(/tmp/multipartBody739656143992211506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452354494,"filename":"image_25112025_19_17_50_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2977338231082d899f10ba54c0a5d444.jpg","text":"TemporaryFile(/tmp/multipartBody6274576871106851837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452354494,"filename":"image_25112025_19_18_00_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396971713","file1":"1396971709","file0":"1396971706","file4":"1396971717","file5":"1396971719","file3":"1396971715"},"map_files_photo_id_array":[{"photo_id":"1396971719","filename":"file5"},{"photo_id":"1396971713","filename":"file2"},{"photo_id":"1396971717","filename":"file4"},{"photo_id":"1396971709","filename":"file1"},{"photo_id":"1396971706","filename":"file0"},{"photo_id":"1396971715","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396971706":["hashtag1","hashtag2"]},{"1396971715":["hashtag1","hashtag2"]},{"1396971709":["hashtag1","hashtag2"]},{"1396971717":["hashtag1","hashtag2"]},{"1396971713":["hashtag1","hashtag2"]},{"1396971719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396971706, 1396971715, 1396971709, 1396971717, 1396971713, 1396971719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.77183198928833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:39:03.260991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/51/image_29112025_21_52_06_9814.jpg', '/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_15_9336.jpg', '/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_26_10668.jpg', '/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_41_15664.jpg', '/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_45_3810.jpg', '/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_56_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/51/image_29112025_21_52_06_9814.jpg
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_15_9336.jpg
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_26_10668.jpg
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_41_15664.jpg
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_45_3810.jpg
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_52_56_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396972562","1396972409","1396972700","1396972264","1396972762","1396972804"],"photo_ids_order":["1396972264","1396972409","1396972562","1396972700","1396972762","1396972804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bbf3e2de6d83ba405dfa07ae22ff2ace.jpg","text":"TemporaryFile(/tmp/multipartBody6238901238255881780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452404059,"filename":"image_29112025_21_52_26_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ac53dce653e23db8295bdd9677e85954.jpg","text":"TemporaryFile(/tmp/multipartBody3661465187438488491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452404059,"filename":"image_29112025_21_52_15_9336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d624ebe1170bf52dc14351d2d746479.jpg","text":"TemporaryFile(/tmp/multipartBody3196903281155661987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452404059,"filename":"image_29112025_21_52_41_15664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3179e335cdccb00d30e4dd2b11b7849.jpg","text":"TemporaryFile(/tmp/multipartBody1406737442569792468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452404059,"filename":"image_29112025_21_52_06_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa81c97bd1050277da8fead94e748e22.jpg","text":"TemporaryFile(/tmp/multipartBody3211719272333339536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452404059,"filename":"image_29112025_21_52_45_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e2cdb1e27f68be14379d6ec4ee3e61f1.jpg","text":"TemporaryFile(/tmp/multipartBody861744295761296573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452404059,"filename":"image_29112025_21_52_56_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396972562","file1":"1396972409","file0":"1396972264","file4":"1396972762","file5":"1396972804","file3":"1396972700"},"map_files_photo_id_array":[{"photo_id":"1396972804","filename":"file5"},{"photo_id":"1396972562","filename":"file2"},{"photo_id":"1396972762","filename":"file4"},{"photo_id":"1396972409","filename":"file1"},{"photo_id":"1396972264","filename":"file0"},{"photo_id":"1396972700","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396972562":["hashtag1","hashtag2"]},{"1396972409":["hashtag1","hashtag2"]},{"1396972700":["hashtag1","hashtag2"]},{"1396972264":["hashtag1","hashtag2"]},{"1396972762":["hashtag1","hashtag2"]},{"1396972804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396972562, 1396972409, 1396972700, 1396972264, 1396972762, 1396972804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57743191719055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:39:42.638582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_20_2564.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_22_2603.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_26_3570.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_29_2640.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_32_3665.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_35_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_20_2564.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_22_2603.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_26_3570.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_29_2640.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_32_3665.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_35_2700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396973330","1396973141","1396973042","1396973216","1396973104","1396973268"],"photo_ids_order":["1396973042","1396973104","1396973141","1396973216","1396973268","1396973330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ec23feb433882a8af266cee30e8d60ac.jpg","text":"TemporaryFile(/tmp/multipartBody214391186754533422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452443836,"filename":"image_31102025_11_02_35_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f3dc516ff55a16f8618568099d9c955.jpg","text":"TemporaryFile(/tmp/multipartBody6477072411971543879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452443836,"filename":"image_31102025_11_02_26_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ab1cc3f09bf08208b8dddcfcfe5c071.jpg","text":"TemporaryFile(/tmp/multipartBody157496864809615533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452443836,"filename":"image_31102025_11_02_20_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64915455a8c3e1df4884a29d9e06d3e4.jpg","text":"TemporaryFile(/tmp/multipartBody8475211409326817660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452443836,"filename":"image_31102025_11_02_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/11/29/285195fb25ba0515f2b6565b39c2330b.jpg","text":"TemporaryFile(/tmp/multipartBody7277664917133149814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452443836,"filename":"image_31102025_11_02_22_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3eb7ca9cc885902bcd20b03565eff61e.jpg","text":"TemporaryFile(/tmp/multipartBody2233429483749798458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452443836,"filename":"image_31102025_11_02_32_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396973141","file1":"1396973104","file0":"1396973042","file4":"1396973268","file5":"1396973330","file3":"1396973216"},"map_files_photo_id_array":[{"photo_id":"1396973330","filename":"file5"},{"photo_id":"1396973141","filename":"file2"},{"photo_id":"1396973268","filename":"file4"},{"photo_id":"1396973104","filename":"file1"},{"photo_id":"1396973042","filename":"file0"},{"photo_id":"1396973216","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396973330":["hashtag1","hashtag2"]},{"1396973141":["hashtag1","hashtag2"]},{"1396973042":["hashtag1","hashtag2"]},{"1396973216":["hashtag1","hashtag2"]},{"1396973104":["hashtag1","hashtag2"]},{"1396973268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396973330, 1396973141, 1396973042, 1396973216, 1396973104, 1396973268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54522681236267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:40:22.832758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/52/image_29112025_21_53_05_9599.jpg', '/home/pi/Desktop/images/29112025/21/53/image_29112025_21_53_15_9827.jpg', '/home/pi/Desktop/images/29112025/21/53/image_29112025_21_53_25_9695.jpg', '/home/pi/Desktop/images/29112025/21/53/image_29112025_21_53_36_10716.jpg', '/home/pi/Desktop/images/29112025/21/53/image_29112025_21_53_45_9748.jpg', '/home/pi/Desktop/images/29112025/21/53/image_29112025_21_53_55_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/52/image_29112025_21_53_05_9599.jpg
/home/pi/Desktop/images/29112025/21/53/image_29112025_21_53_15_9827.jpg
/home/pi/Desktop/images/29112025/21/53/image_29112025_21_53_25_9695.jpg
/home/pi/Desktop/images/29112025/21/53/image_29112025_21_53_36_10716.jpg
/home/pi/Desktop/images/29112025/21/53/image_29112025_21_53_45_9748.jpg
/home/pi/Desktop/images/29112025/21/53/image_29112025_21_53_55_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396973663","1396973624","1396973546","1396973584","1396973464","1396973506"],"photo_ids_order":["1396973464","1396973506","1396973546","1396973584","1396973624","1396973663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc6d821be0e65ffffb48b251a7ca9303.jpg","text":"TemporaryFile(/tmp/multipartBody7732508068955306156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452483521,"filename":"image_29112025_21_53_55_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9919cbb942625e3a95718f2da9ab58f2.jpg","text":"TemporaryFile(/tmp/multipartBody484811651414059982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452483521,"filename":"image_29112025_21_53_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/11/29/078e282ef6201a0f9514a17bacbc94c3.jpg","text":"TemporaryFile(/tmp/multipartBody1289298417244890307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452483521,"filename":"image_29112025_21_53_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/11/29/7d501c6541b5a9a13ba9544478fda619.jpg","text":"TemporaryFile(/tmp/multipartBody1478928012755405614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452483521,"filename":"image_29112025_21_53_36_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ace658b74eef37bb4a41a65e12fb518.jpg","text":"TemporaryFile(/tmp/multipartBody2376253334112068473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452483521,"filename":"image_29112025_21_53_05_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4d0ba90fb64ac16a3d62a3f1ab47073a.jpg","text":"TemporaryFile(/tmp/multipartBody2378996408886315665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452483521,"filename":"image_29112025_21_53_15_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396973546","file1":"1396973506","file0":"1396973464","file4":"1396973624","file5":"1396973663","file3":"1396973584"},"map_files_photo_id_array":[{"photo_id":"1396973663","filename":"file5"},{"photo_id":"1396973546","filename":"file2"},{"photo_id":"1396973624","filename":"file4"},{"photo_id":"1396973506","filename":"file1"},{"photo_id":"1396973464","filename":"file0"},{"photo_id":"1396973584","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396973663":["hashtag1","hashtag2"]},{"1396973624":["hashtag1","hashtag2"]},{"1396973546":["hashtag1","hashtag2"]},{"1396973584":["hashtag1","hashtag2"]},{"1396973464":["hashtag1","hashtag2"]},{"1396973506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396973663, 1396973624, 1396973546, 1396973584, 1396973464, 1396973506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65467572212219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:41:02.793298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/53/image_29112025_21_54_06_10562.jpg', '/home/pi/Desktop/images/29112025/21/54/image_29112025_21_54_15_9421.jpg', '/home/pi/Desktop/images/29112025/21/54/image_29112025_21_54_26_10597.jpg', '/home/pi/Desktop/images/29112025/21/54/image_29112025_21_54_36_9944.jpg', '/home/pi/Desktop/images/29112025/21/54/image_29112025_21_54_45_9615.jpg', '/home/pi/Desktop/images/29112025/21/54/image_29112025_21_54_55_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/53/image_29112025_21_54_06_10562.jpg
/home/pi/Desktop/images/29112025/21/54/image_29112025_21_54_15_9421.jpg
/home/pi/Desktop/images/29112025/21/54/image_29112025_21_54_26_10597.jpg
/home/pi/Desktop/images/29112025/21/54/image_29112025_21_54_36_9944.jpg
/home/pi/Desktop/images/29112025/21/54/image_29112025_21_54_45_9615.jpg
/home/pi/Desktop/images/29112025/21/54/image_29112025_21_54_55_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396973859","1396974050","1396973933","1396973797","1396974213","1396974138"],"photo_ids_order":["1396973797","1396973859","1396973933","1396974050","1396974138","1396974213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4338213e49ab77cfa74bc34928b01523.jpg","text":"TemporaryFile(/tmp/multipartBody1397506771686121936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452523547,"filename":"image_29112025_21_54_15_9421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f262e058e21ea65ec02b12bad67c96b.jpg","text":"TemporaryFile(/tmp/multipartBody4107669033410565388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452523547,"filename":"image_29112025_21_54_36_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5611f3e8ea18c2f5b7606569a3feb4b9.jpg","text":"TemporaryFile(/tmp/multipartBody1764559511969987129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452523547,"filename":"image_29112025_21_54_26_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f75cf28b3d4fd9521735c9db42e1ed16.jpg","text":"TemporaryFile(/tmp/multipartBody5838269920801817714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452523547,"filename":"image_29112025_21_54_06_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db6b8dd5cf9102166c2eed976b846912.jpg","text":"TemporaryFile(/tmp/multipartBody2521216002427847628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452523547,"filename":"image_29112025_21_54_55_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b7c484f80a721d1e5442f97b839685f.jpg","text":"TemporaryFile(/tmp/multipartBody8457621711656304459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452523547,"filename":"image_29112025_21_54_45_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396973933","file1":"1396973859","file0":"1396973797","file4":"1396974138","file5":"1396974213","file3":"1396974050"},"map_files_photo_id_array":[{"photo_id":"1396974213","filename":"file5"},{"photo_id":"1396973933","filename":"file2"},{"photo_id":"1396974138","filename":"file4"},{"photo_id":"1396973859","filename":"file1"},{"photo_id":"1396973797","filename":"file0"},{"photo_id":"1396974050","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396973859":["hashtag1","hashtag2"]},{"1396974050":["hashtag1","hashtag2"]},{"1396973933":["hashtag1","hashtag2"]},{"1396973797":["hashtag1","hashtag2"]},{"1396974213":["hashtag1","hashtag2"]},{"1396974138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396973859, 1396974050, 1396973933, 1396973797, 1396974213, 1396974138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38712430000305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:42:02.915578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/54/image_29112025_21_55_05_10515.jpg', '/home/pi/Desktop/images/29112025/21/55/image_29112025_21_55_15_10071.jpg', '/home/pi/Desktop/images/29112025/21/55/image_29112025_21_55_25_9855.jpg', '/home/pi/Desktop/images/29112025/21/55/image_29112025_21_55_35_9958.jpg', '/home/pi/Desktop/images/29112025/21/55/image_29112025_21_55_45_9789.jpg', '/home/pi/Desktop/images/29112025/21/55/image_29112025_21_55_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/54/image_29112025_21_55_05_10515.jpg
/home/pi/Desktop/images/29112025/21/55/image_29112025_21_55_15_10071.jpg
/home/pi/Desktop/images/29112025/21/55/image_29112025_21_55_25_9855.jpg
/home/pi/Desktop/images/29112025/21/55/image_29112025_21_55_35_9958.jpg
/home/pi/Desktop/images/29112025/21/55/image_29112025_21_55_45_9789.jpg
/home/pi/Desktop/images/29112025/21/55/image_29112025_21_55_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396975022","1396975090","1396974946","1396974766","1396975164","1396974879"],"photo_ids_order":["1396974766","1396974879","1396974946","1396975022","1396975090","1396975164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1640436919ea628d371b78e95a675bb.jpg","text":"TemporaryFile(/tmp/multipartBody6814770814215933268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452583613,"filename":"image_29112025_21_55_35_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ccf1dd26bad15d11e46c9d87b6b5547e.jpg","text":"TemporaryFile(/tmp/multipartBody7226391582636341363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452583613,"filename":"image_29112025_21_55_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/11/29/29b6a4df87a24317da48fb90c72868c2.jpg","text":"TemporaryFile(/tmp/multipartBody5097975286892677041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452583613,"filename":"image_29112025_21_55_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/11/29/91329be9d05fbe26dc7976301df7dea7.jpg","text":"TemporaryFile(/tmp/multipartBody45356747705064851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452583613,"filename":"image_29112025_21_55_05_10515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d856fb17790e5f9b30cdf600261bd860.jpg","text":"TemporaryFile(/tmp/multipartBody6299448455461183450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452583613,"filename":"image_29112025_21_55_55_10362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b5bae3b1cd70b8f67a795109ac79ce8.jpg","text":"TemporaryFile(/tmp/multipartBody2429253052511850379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452583613,"filename":"image_29112025_21_55_15_10071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396974946","file1":"1396974879","file0":"1396974766","file4":"1396975090","file5":"1396975164","file3":"1396975022"},"map_files_photo_id_array":[{"photo_id":"1396975164","filename":"file5"},{"photo_id":"1396974946","filename":"file2"},{"photo_id":"1396975090","filename":"file4"},{"photo_id":"1396974879","filename":"file1"},{"photo_id":"1396974766","filename":"file0"},{"photo_id":"1396975022","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396975022":["hashtag1","hashtag2"]},{"1396975090":["hashtag1","hashtag2"]},{"1396974946":["hashtag1","hashtag2"]},{"1396974766":["hashtag1","hashtag2"]},{"1396975164":["hashtag1","hashtag2"]},{"1396974879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396975022, 1396975090, 1396974946, 1396974766, 1396975164, 1396974879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09937524795532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:42:42.443938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_38_2796.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_40_2695.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_44_3688.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_47_2610.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_49_2641.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_53_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/11/02/image_31102025_11_02_38_2796.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_40_2695.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_44_3688.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_47_2610.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_49_2641.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_53_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":["1396975771","1396975555","1396975702","1396975627","1396975847","1396975484"],"photo_ids_order":["1396975484","1396975555","1396975627","1396975702","1396975771","1396975847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e6a46f3b82627ee601075c6e9a9fe6cc.jpg","text":"TemporaryFile(/tmp/multipartBody1934705944016582175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452623638,"filename":"image_31102025_11_02_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/11/29/6d1f60af6ff63042567df23c1cc57656.jpg","text":"TemporaryFile(/tmp/multipartBody5781439353611129709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452623638,"filename":"image_31102025_11_02_40_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/678bf5b6f537720f10a59cfa4ed65568.jpg","text":"TemporaryFile(/tmp/multipartBody4664722117481862231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452623638,"filename":"image_31102025_11_02_47_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ed8a47af5834ee9256a23742a94fde1b.jpg","text":"TemporaryFile(/tmp/multipartBody6907914647425285966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452623638,"filename":"image_31102025_11_02_44_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecef4df7f3567d88f16c96e63c36c127.jpg","text":"TemporaryFile(/tmp/multipartBody6826970925717938591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452623638,"filename":"image_31102025_11_02_53_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04bd5fb116e1d328c64110936f8eb132.jpg","text":"TemporaryFile(/tmp/multipartBody8519544961922179797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452623638,"filename":"image_31102025_11_02_38_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396975627","file1":"1396975555","file0":"1396975484","file4":"1396975771","file5":"1396975847","file3":"1396975702"},"map_files_photo_id_array":[{"photo_id":"1396975847","filename":"file5"},{"photo_id":"1396975627","filename":"file2"},{"photo_id":"1396975771","filename":"file4"},{"photo_id":"1396975555","filename":"file1"},{"photo_id":"1396975484","filename":"file0"},{"photo_id":"1396975702","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396975771":["hashtag1","hashtag2"]},{"1396975555":["hashtag1","hashtag2"]},{"1396975702":["hashtag1","hashtag2"]},{"1396975627":["hashtag1","hashtag2"]},{"1396975847":["hashtag1","hashtag2"]},{"1396975484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396975771, 1396975555, 1396975702, 1396975627, 1396975847, 1396975484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.575191259384155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:43:22.583569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/55/image_29112025_21_56_05_9611.jpg', '/home/pi/Desktop/images/29112025/21/56/image_29112025_21_56_15_10445.jpg', '/home/pi/Desktop/images/29112025/21/56/image_29112025_21_56_25_9882.jpg', '/home/pi/Desktop/images/29112025/21/56/image_29112025_21_56_35_9588.jpg', '/home/pi/Desktop/images/29112025/21/56/image_29112025_21_56_46_10746.jpg', '/home/pi/Desktop/images/29112025/21/56/image_29112025_21_56_56_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/55/image_29112025_21_56_05_9611.jpg
/home/pi/Desktop/images/29112025/21/56/image_29112025_21_56_15_10445.jpg
/home/pi/Desktop/images/29112025/21/56/image_29112025_21_56_25_9882.jpg
/home/pi/Desktop/images/29112025/21/56/image_29112025_21_56_35_9588.jpg
/home/pi/Desktop/images/29112025/21/56/image_29112025_21_56_46_10746.jpg
/home/pi/Desktop/images/29112025/21/56/image_29112025_21_56_56_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396976644","1396976344","1396976239","1396976094","1396976489","1396976165"],"photo_ids_order":["1396976094","1396976165","1396976239","1396976344","1396976489","1396976644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ee12f618d6c5e1b32429fdd8f1cb406.jpg","text":"TemporaryFile(/tmp/multipartBody5736120684470166246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452663292,"filename":"image_29112025_21_56_56_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/146410fdba6337f6f5339f0e0fc9c9d4.jpg","text":"TemporaryFile(/tmp/multipartBody6098834263204103826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452663292,"filename":"image_29112025_21_56_35_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/394fc1211d74217e70d4c93a803d2d30.jpg","text":"TemporaryFile(/tmp/multipartBody5262464558474144385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452663292,"filename":"image_29112025_21_56_25_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99a871fccdada6e0eb48de65917caa22.jpg","text":"TemporaryFile(/tmp/multipartBody3114965226096055998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452663292,"filename":"image_29112025_21_56_05_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e866fe87cda664e41c429aabef9ccb80.jpg","text":"TemporaryFile(/tmp/multipartBody6682501465647412862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452663292,"filename":"image_29112025_21_56_46_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82db744c7b574bed25b221dff00f27ff.jpg","text":"TemporaryFile(/tmp/multipartBody3671156987921409731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452663292,"filename":"image_29112025_21_56_15_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396976239","file1":"1396976165","file0":"1396976094","file4":"1396976489","file5":"1396976644","file3":"1396976344"},"map_files_photo_id_array":[{"photo_id":"1396976644","filename":"file5"},{"photo_id":"1396976239","filename":"file2"},{"photo_id":"1396976489","filename":"file4"},{"photo_id":"1396976165","filename":"file1"},{"photo_id":"1396976094","filename":"file0"},{"photo_id":"1396976344","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396976644":["hashtag1","hashtag2"]},{"1396976344":["hashtag1","hashtag2"]},{"1396976239":["hashtag1","hashtag2"]},{"1396976094":["hashtag1","hashtag2"]},{"1396976489":["hashtag1","hashtag2"]},{"1396976165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396976644, 1396976344, 1396976239, 1396976094, 1396976489, 1396976165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20220947265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:44:02.647979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_06_10105.jpg', '/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_15_9730.jpg', '/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_25_9829.jpg', '/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_35_9705.jpg', '/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_45_10217.jpg', '/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_55_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_06_10105.jpg
/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_15_9730.jpg
/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_25_9829.jpg
/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_35_9705.jpg
/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_45_10217.jpg
/home/pi/Desktop/images/29112025/21/57/image_29112025_21_57_55_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":["1396977526","1396977448","1396977214","1396977601","1396977347","1396977302"],"photo_ids_order":["1396977214","1396977302","1396977347","1396977448","1396977526","1396977601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6546e45a4a9bf961fa737043c4a556bc.jpg","text":"TemporaryFile(/tmp/multipartBody2380755937680815729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452703405,"filename":"image_29112025_21_57_45_10217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca72c37a84ced7469a2df4005695a9cd.jpg","text":"TemporaryFile(/tmp/multipartBody4599751275391975064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452703405,"filename":"image_29112025_21_57_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/11/29/b7a5c9cd7afaed9cfcba7c19f2c0213d.jpg","text":"TemporaryFile(/tmp/multipartBody3240715217186087717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452703405,"filename":"image_29112025_21_57_06_10105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/26b04da08f1868de66cb45dd0cf194f2.jpg","text":"TemporaryFile(/tmp/multipartBody8073730794168334985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452703405,"filename":"image_29112025_21_57_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/11/29/30a6410228f72d079c6f20a6350b0123.jpg","text":"TemporaryFile(/tmp/multipartBody6496147599600233675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452703405,"filename":"image_29112025_21_57_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/11/29/97a13f2b57022c68a353234287089568.jpg","text":"TemporaryFile(/tmp/multipartBody6387376318375008413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452703405,"filename":"image_29112025_21_57_15_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396977347","file1":"1396977302","file0":"1396977214","file4":"1396977526","file5":"1396977601","file3":"1396977448"},"map_files_photo_id_array":[{"photo_id":"1396977601","filename":"file5"},{"photo_id":"1396977347","filename":"file2"},{"photo_id":"1396977526","filename":"file4"},{"photo_id":"1396977302","filename":"file1"},{"photo_id":"1396977214","filename":"file0"},{"photo_id":"1396977448","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396977526":["hashtag1","hashtag2"]},{"1396977448":["hashtag1","hashtag2"]},{"1396977214":["hashtag1","hashtag2"]},{"1396977601":["hashtag1","hashtag2"]},{"1396977347":["hashtag1","hashtag2"]},{"1396977302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396977526, 1396977448, 1396977214, 1396977601, 1396977347, 1396977302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.592793226242065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:44:41.917836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_56_2674.jpg', '/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_58_2697.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_02_3623.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_05_2640.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_07_2651.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_10_2873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_56_2674.jpg
/home/pi/Desktop/images/31102025/11/02/image_31102025_11_02_58_2697.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_02_3623.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_05_2640.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_07_2651.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_10_2873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396978479","1396978583","1396978262","1396978189","1396978663","1396978339"],"photo_ids_order":["1396978189","1396978262","1396978339","1396978479","1396978583","1396978663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/75da06f7c90df30fd8045e26b2a0fe0c.jpg","text":"TemporaryFile(/tmp/multipartBody8088258887940347269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452748143,"filename":"image_31102025_11_03_05_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/16528fe8aec9d6372df1b20b7ed6d94c.jpg","text":"TemporaryFile(/tmp/multipartBody8460915680849140299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452748143,"filename":"image_31102025_11_03_07_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f7dd5f499cc7062cb9d357099090c48.jpg","text":"TemporaryFile(/tmp/multipartBody2052094562002106044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452748143,"filename":"image_31102025_11_02_58_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f69cc759d2333bec48c19d219ced5d58.jpg","text":"TemporaryFile(/tmp/multipartBody2085224308772044516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452748143,"filename":"image_31102025_11_02_56_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9bea272abdb88a64d434b70598193555.jpg","text":"TemporaryFile(/tmp/multipartBody2163001030698888431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452748143,"filename":"image_31102025_11_03_10_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2984feea2f0d07409f57d84c05cbdd8e.jpg","text":"TemporaryFile(/tmp/multipartBody5667457385498359755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452748143,"filename":"image_31102025_11_03_02_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396978339","file1":"1396978262","file0":"1396978189","file4":"1396978583","file5":"1396978663","file3":"1396978479"},"map_files_photo_id_array":[{"photo_id":"1396978663","filename":"file5"},{"photo_id":"1396978339","filename":"file2"},{"photo_id":"1396978583","filename":"file4"},{"photo_id":"1396978262","filename":"file1"},{"photo_id":"1396978189","filename":"file0"},{"photo_id":"1396978479","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396978479":["hashtag1","hashtag2"]},{"1396978583":["hashtag1","hashtag2"]},{"1396978262":["hashtag1","hashtag2"]},{"1396978189":["hashtag1","hashtag2"]},{"1396978663":["hashtag1","hashtag2"]},{"1396978339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396978479, 1396978583, 1396978262, 1396978189, 1396978663, 1396978339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.27089524269104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:45:32.142185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_02_2526.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_05_2691.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_09_3720.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_11_2598.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_14_2629.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_18_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_02_2526.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_05_2691.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_09_3720.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_11_2598.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_14_2629.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_18_3644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396979372","1396979474","1396979162","1396979306","1396979234","1396979089"],"photo_ids_order":["1396979089","1396979162","1396979234","1396979306","1396979372","1396979474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a8ac7954ef7004bf0215ecb054a4e39.jpg","text":"TemporaryFile(/tmp/multipartBody5981400163933717113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452794335,"filename":"image_25112025_19_18_14_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8145de57d69eca7b8c5fff9396073637.jpg","text":"TemporaryFile(/tmp/multipartBody1180098430948525814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452794335,"filename":"image_25112025_19_18_18_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fdde4a71c8b6491f26a1ed54b166d1b6.jpg","text":"TemporaryFile(/tmp/multipartBody7523499059494231698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452794335,"filename":"image_25112025_19_18_05_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8b0412dd287b71d070a9dad11cc8c35d.jpg","text":"TemporaryFile(/tmp/multipartBody1289136209894617273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452794335,"filename":"image_25112025_19_18_11_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bde067d562e4b714c591e14e3d50ed5e.jpg","text":"TemporaryFile(/tmp/multipartBody5527127224237871482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452794335,"filename":"image_25112025_19_18_09_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c3f8578c1248b5b25c6868f4afa6f31.jpg","text":"TemporaryFile(/tmp/multipartBody7647171656346591820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452794335,"filename":"image_25112025_19_18_02_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396979234","file1":"1396979162","file0":"1396979089","file4":"1396979372","file5":"1396979474","file3":"1396979306"},"map_files_photo_id_array":[{"photo_id":"1396979474","filename":"file5"},{"photo_id":"1396979234","filename":"file2"},{"photo_id":"1396979372","filename":"file4"},{"photo_id":"1396979162","filename":"file1"},{"photo_id":"1396979089","filename":"file0"},{"photo_id":"1396979306","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396979372":["hashtag1","hashtag2"]},{"1396979474":["hashtag1","hashtag2"]},{"1396979162":["hashtag1","hashtag2"]},{"1396979306":["hashtag1","hashtag2"]},{"1396979234":["hashtag1","hashtag2"]},{"1396979089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396979372, 1396979474, 1396979162, 1396979306, 1396979234, 1396979089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.304144620895386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:46:22.292471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/57/image_29112025_21_58_05_10014.jpg', '/home/pi/Desktop/images/29112025/21/58/image_29112025_21_58_15_10734.jpg', '/home/pi/Desktop/images/29112025/21/58/image_29112025_21_58_26_10600.jpg', '/home/pi/Desktop/images/29112025/21/58/image_29112025_21_58_35_8668.jpg', '/home/pi/Desktop/images/29112025/21/58/image_29112025_21_58_45_10663.jpg', '/home/pi/Desktop/images/29112025/21/58/image_29112025_21_58_55_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/57/image_29112025_21_58_05_10014.jpg
/home/pi/Desktop/images/29112025/21/58/image_29112025_21_58_15_10734.jpg
/home/pi/Desktop/images/29112025/21/58/image_29112025_21_58_26_10600.jpg
/home/pi/Desktop/images/29112025/21/58/image_29112025_21_58_35_8668.jpg
/home/pi/Desktop/images/29112025/21/58/image_29112025_21_58_45_10663.jpg
/home/pi/Desktop/images/29112025/21/58/image_29112025_21_58_55_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":["1396980171","1396979957","1396979869","1396980029","1396980101","1396980223"],"photo_ids_order":["1396979869","1396979957","1396980029","1396980101","1396980171","1396980223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a51b793ec381f3ee6661ee4fabff0115.jpg","text":"TemporaryFile(/tmp/multipartBody3334260720928480275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452843291,"filename":"image_29112025_21_58_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/11/29/259dc868d01c1d96e9d1198a07fe2e4d.jpg","text":"TemporaryFile(/tmp/multipartBody1009117327107098646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452843291,"filename":"image_29112025_21_58_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/11/29/c6eb5b69fda8c512fadaa64b875bb0b2.jpg","text":"TemporaryFile(/tmp/multipartBody5829594790462629758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452843291,"filename":"image_29112025_21_58_05_10014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/533aa038d3929ee08d5f5a3a4b213698.jpg","text":"TemporaryFile(/tmp/multipartBody5786948613764406534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452843291,"filename":"image_29112025_21_58_26_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/661b1ac90b9f8c89107c7b70896b50bd.jpg","text":"TemporaryFile(/tmp/multipartBody699325608625676041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452843291,"filename":"image_29112025_21_58_35_8668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/125c856dc6ba6249a8ac4326213667dd.jpg","text":"TemporaryFile(/tmp/multipartBody7470629897456327584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452843291,"filename":"image_29112025_21_58_55_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396980029","file1":"1396979957","file0":"1396979869","file4":"1396980171","file5":"1396980223","file3":"1396980101"},"map_files_photo_id_array":[{"photo_id":"1396980223","filename":"file5"},{"photo_id":"1396980029","filename":"file2"},{"photo_id":"1396980171","filename":"file4"},{"photo_id":"1396979957","filename":"file1"},{"photo_id":"1396979869","filename":"file0"},{"photo_id":"1396980101","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396980171":["hashtag1","hashtag2"]},{"1396979957":["hashtag1","hashtag2"]},{"1396979869":["hashtag1","hashtag2"]},{"1396980029":["hashtag1","hashtag2"]},{"1396980101":["hashtag1","hashtag2"]},{"1396980223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396980171, 1396979957, 1396979869, 1396980029, 1396980101, 1396980223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.215938568115234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:47:03.202211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/21/58/image_29112025_21_59_05_9686.jpg', '/home/pi/Desktop/images/29112025/21/59/image_29112025_21_59_16_10855.jpg', '/home/pi/Desktop/images/29112025/21/59/image_29112025_21_59_25_9746.jpg', '/home/pi/Desktop/images/29112025/21/59/image_29112025_21_59_35_9582.jpg', '/home/pi/Desktop/images/29112025/21/59/image_29112025_21_59_45_10454.jpg', '/home/pi/Desktop/images/29112025/21/59/image_29112025_21_59_55_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/21/58/image_29112025_21_59_05_9686.jpg
/home/pi/Desktop/images/29112025/21/59/image_29112025_21_59_16_10855.jpg
/home/pi/Desktop/images/29112025/21/59/image_29112025_21_59_25_9746.jpg
/home/pi/Desktop/images/29112025/21/59/image_29112025_21_59_35_9582.jpg
/home/pi/Desktop/images/29112025/21/59/image_29112025_21_59_45_10454.jpg
/home/pi/Desktop/images/29112025/21/59/image_29112025_21_59_55_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":["1396980276","1396980270","1396980273","1396980272","1396980278","1396980271"],"photo_ids_order":["1396980270","1396980271","1396980272","1396980273","1396980276","1396980278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9472d179d6cbbb72a5eaa9312a41fa94.jpg","text":"TemporaryFile(/tmp/multipartBody87114026176798889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452884149,"filename":"image_29112025_21_59_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/11/29/efa1841b74a23d9334e306bafadc81be.jpg","text":"TemporaryFile(/tmp/multipartBody5901835155844521686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452884149,"filename":"image_29112025_21_59_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/219a28bf7c6b7fa5d924314163220a8d.jpg","text":"TemporaryFile(/tmp/multipartBody635822056095908688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452884149,"filename":"image_29112025_21_59_35_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6770bff6db79a1ce46fadba68f0be582.jpg","text":"TemporaryFile(/tmp/multipartBody6347832839414557502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452884149,"filename":"image_29112025_21_59_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/11/29/cc73cd442b8902139e1ca51a9334a92e.jpg","text":"TemporaryFile(/tmp/multipartBody313392156605269537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452884149,"filename":"image_29112025_21_59_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/11/29/91712bb4e046ff073f082c976c24f3a9.jpg","text":"TemporaryFile(/tmp/multipartBody561097791709457468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452884149,"filename":"image_29112025_21_59_16_10855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396980272","file1":"1396980271","file0":"1396980270","file4":"1396980276","file5":"1396980278","file3":"1396980273"},"map_files_photo_id_array":[{"photo_id":"1396980278","filename":"file5"},{"photo_id":"1396980272","filename":"file2"},{"photo_id":"1396980276","filename":"file4"},{"photo_id":"1396980271","filename":"file1"},{"photo_id":"1396980270","filename":"file0"},{"photo_id":"1396980273","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396980276":["hashtag1","hashtag2"]},{"1396980270":["hashtag1","hashtag2"]},{"1396980273":["hashtag1","hashtag2"]},{"1396980272":["hashtag1","hashtag2"]},{"1396980278":["hashtag1","hashtag2"]},{"1396980271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396980276, 1396980270, 1396980273, 1396980272, 1396980278, 1396980271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.617488622665405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:47:42.468039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_14_3593.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_16_2606.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_20_3698.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_23_2662.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_25_2615.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_29_3784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_14_3593.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_16_2606.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_20_3698.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_23_2662.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_25_2615.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_29_3784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396980432","1396980368","1396980731","1396980632","1396980769","1396980328"],"photo_ids_order":["1396980328","1396980368","1396980432","1396980632","1396980731","1396980769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/817ab52cfcfc310185cf110fa6c73814.jpg","text":"TemporaryFile(/tmp/multipartBody5131025809157208163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452923614,"filename":"image_31102025_11_03_20_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9931490ac5b7d1fdd18788c56e0f9ab7.jpg","text":"TemporaryFile(/tmp/multipartBody5000373358609196095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452923614,"filename":"image_31102025_11_03_16_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/832dbd1381af0873e13a4cca0c299991.jpg","text":"TemporaryFile(/tmp/multipartBody537302013083463535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452923614,"filename":"image_31102025_11_03_25_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1f674d0c17cd142afad4608833513ab.jpg","text":"TemporaryFile(/tmp/multipartBody7096836599764342821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452923614,"filename":"image_31102025_11_03_23_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9100327c5ea1b30c5872d0b17ce2b623.jpg","text":"TemporaryFile(/tmp/multipartBody6703080994642164285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452923614,"filename":"image_31102025_11_03_29_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7658db774fa4a1d7f4baa4a8e0cd58b.jpg","text":"TemporaryFile(/tmp/multipartBody2920472878242048319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452923614,"filename":"image_31102025_11_03_14_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396980432","file1":"1396980368","file0":"1396980328","file4":"1396980731","file5":"1396980769","file3":"1396980632"},"map_files_photo_id_array":[{"photo_id":"1396980769","filename":"file5"},{"photo_id":"1396980432","filename":"file2"},{"photo_id":"1396980731","filename":"file4"},{"photo_id":"1396980368","filename":"file1"},{"photo_id":"1396980328","filename":"file0"},{"photo_id":"1396980632","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396980432":["hashtag1","hashtag2"]},{"1396980368":["hashtag1","hashtag2"]},{"1396980731":["hashtag1","hashtag2"]},{"1396980632":["hashtag1","hashtag2"]},{"1396980769":["hashtag1","hashtag2"]},{"1396980328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396980432, 1396980368, 1396980731, 1396980632, 1396980769, 1396980328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.849679946899414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:48:32.678092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_24_3542.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_27_2545.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_29_2572.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_33_3617.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_36_2802.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_38_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_24_3542.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_27_2545.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_29_2572.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_33_3617.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_36_2802.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_38_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396980992","1396980995","1396981126","1396981086","1396981018","1396980960"],"photo_ids_order":["1396980960","1396980992","1396980995","1396981018","1396981086","1396981126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e082dc66cded96e610dd48768a9ffa6.jpg","text":"TemporaryFile(/tmp/multipartBody8107911480848954110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452974892,"filename":"image_25112025_19_18_27_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6bd40b554a3588457f5f7c9222f920d5.jpg","text":"TemporaryFile(/tmp/multipartBody7006230822796944038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452974892,"filename":"image_25112025_19_18_29_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a30d7dca42bdab2b1f727a855132f991.jpg","text":"TemporaryFile(/tmp/multipartBody6877395115267829853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452974892,"filename":"image_25112025_19_18_38_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c8270037fc2317dd8bf0d711e5a8a7f.jpg","text":"TemporaryFile(/tmp/multipartBody3482758727851260731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452974892,"filename":"image_25112025_19_18_36_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c234a933955024c05deb2bd4b694f19e.jpg","text":"TemporaryFile(/tmp/multipartBody1571882290151179072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452974892,"filename":"image_25112025_19_18_33_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e270c44e86f3181b434805d6a1dfa7e4.jpg","text":"TemporaryFile(/tmp/multipartBody6879598271684581269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764452974892,"filename":"image_25112025_19_18_24_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396980995","file1":"1396980992","file0":"1396980960","file4":"1396981086","file5":"1396981126","file3":"1396981018"},"map_files_photo_id_array":[{"photo_id":"1396981126","filename":"file5"},{"photo_id":"1396980995","filename":"file2"},{"photo_id":"1396981086","filename":"file4"},{"photo_id":"1396980992","filename":"file1"},{"photo_id":"1396980960","filename":"file0"},{"photo_id":"1396981018","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396980992":["hashtag1","hashtag2"]},{"1396980995":["hashtag1","hashtag2"]},{"1396981126":["hashtag1","hashtag2"]},{"1396981086":["hashtag1","hashtag2"]},{"1396981018":["hashtag1","hashtag2"]},{"1396980960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396980992, 1396980995, 1396981126, 1396981086, 1396981018, 1396980960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85919165611267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:49:21.792719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/00/image_29112025_22_00_14_10058.jpg', '/home/pi/Desktop/images/29112025/22/00/image_29112025_22_00_25_10514.jpg', '/home/pi/Desktop/images/29112025/22/00/image_29112025_22_00_34_9641.jpg', '/home/pi/Desktop/images/29112025/22/00/image_29112025_22_00_45_10673.jpg', '/home/pi/Desktop/images/29112025/22/00/image_29112025_22_00_55_9814.jpg', '/home/pi/Desktop/images/29112025/22/00/image_29112025_22_01_04_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/00/image_29112025_22_00_14_10058.jpg
/home/pi/Desktop/images/29112025/22/00/image_29112025_22_00_25_10514.jpg
/home/pi/Desktop/images/29112025/22/00/image_29112025_22_00_34_9641.jpg
/home/pi/Desktop/images/29112025/22/00/image_29112025_22_00_45_10673.jpg
/home/pi/Desktop/images/29112025/22/00/image_29112025_22_00_55_9814.jpg
/home/pi/Desktop/images/29112025/22/00/image_29112025_22_01_04_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396981316","1396981211","1396981225","1396981222","1396981281","1396981242"],"photo_ids_order":["1396981211","1396981222","1396981225","1396981242","1396981281","1396981316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4007a09fc47a3f1cc9e8ec82524dbfd5.jpg","text":"TemporaryFile(/tmp/multipartBody4838318354346114242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453022502,"filename":"image_29112025_22_01_04_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90f3ad18103a26ddd77b4c0f08294914.jpg","text":"TemporaryFile(/tmp/multipartBody7687888757097915599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453022502,"filename":"image_29112025_22_00_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/11/29/8ca1c0e666e96365087a565a499e5692.jpg","text":"TemporaryFile(/tmp/multipartBody439085369912645774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453022502,"filename":"image_29112025_22_00_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/11/29/ac2f8df3a889f4adf5b80c282adabedf.jpg","text":"TemporaryFile(/tmp/multipartBody4704005467252383862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453022502,"filename":"image_29112025_22_00_25_10514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/82a1f37d623e6cdfa0aea43cab48bc79.jpg","text":"TemporaryFile(/tmp/multipartBody7781763222212753785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453022502,"filename":"image_29112025_22_00_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/11/29/21b8b9ccab0e292cc678d0cfb620b342.jpg","text":"TemporaryFile(/tmp/multipartBody1872515844215411070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453022502,"filename":"image_29112025_22_00_45_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396981225","file1":"1396981222","file0":"1396981211","file4":"1396981281","file5":"1396981316","file3":"1396981242"},"map_files_photo_id_array":[{"photo_id":"1396981316","filename":"file5"},{"photo_id":"1396981225","filename":"file2"},{"photo_id":"1396981281","filename":"file4"},{"photo_id":"1396981222","filename":"file1"},{"photo_id":"1396981211","filename":"file0"},{"photo_id":"1396981242","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396981316":["hashtag1","hashtag2"]},{"1396981211":["hashtag1","hashtag2"]},{"1396981225":["hashtag1","hashtag2"]},{"1396981222":["hashtag1","hashtag2"]},{"1396981281":["hashtag1","hashtag2"]},{"1396981242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396981316, 1396981211, 1396981225, 1396981222, 1396981281, 1396981242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4840886592865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:50:02.389370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/01/image_29112025_22_01_15_10264.jpg', '/home/pi/Desktop/images/29112025/22/01/image_29112025_22_01_24_9624.jpg', '/home/pi/Desktop/images/29112025/22/01/image_29112025_22_01_35_10527.jpg', '/home/pi/Desktop/images/29112025/22/01/image_29112025_22_01_44_9545.jpg', '/home/pi/Desktop/images/29112025/22/01/image_29112025_22_01_54_9824.jpg', '/home/pi/Desktop/images/29112025/22/01/image_29112025_22_02_05_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/01/image_29112025_22_01_15_10264.jpg
/home/pi/Desktop/images/29112025/22/01/image_29112025_22_01_24_9624.jpg
/home/pi/Desktop/images/29112025/22/01/image_29112025_22_01_35_10527.jpg
/home/pi/Desktop/images/29112025/22/01/image_29112025_22_01_44_9545.jpg
/home/pi/Desktop/images/29112025/22/01/image_29112025_22_01_54_9824.jpg
/home/pi/Desktop/images/29112025/22/01/image_29112025_22_02_05_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396981661","1396981811","1396981951","1396982085","1396982232","1396981528"],"photo_ids_order":["1396981528","1396981661","1396981811","1396981951","1396982085","1396982232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9e19db4e23830a202acac093d73028a7.jpg","text":"TemporaryFile(/tmp/multipartBody8965688456440313618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453063095,"filename":"image_29112025_22_01_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5567a9df08a520089cd5091a66b5ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8968278084240009442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453063095,"filename":"image_29112025_22_01_35_10527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca2cba4c79bfec43443f9446f5566cb7.jpg","text":"TemporaryFile(/tmp/multipartBody6317124885943396302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453063095,"filename":"image_29112025_22_01_44_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ddc9ba25b0651b1a0f569471e4a403c.jpg","text":"TemporaryFile(/tmp/multipartBody7896861833359249408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453063095,"filename":"image_29112025_22_01_54_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6a2a69f4f36a6663b81cb95aa9f8c03.jpg","text":"TemporaryFile(/tmp/multipartBody7739944214964574186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453063095,"filename":"image_29112025_22_02_05_10433.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ebe2d19a243de413d003fce862c4c24.jpg","text":"TemporaryFile(/tmp/multipartBody7555326071480777106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453063095,"filename":"image_29112025_22_01_15_10264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396981811","file1":"1396981661","file0":"1396981528","file4":"1396982085","file5":"1396982232","file3":"1396981951"},"map_files_photo_id_array":[{"photo_id":"1396982232","filename":"file5"},{"photo_id":"1396981811","filename":"file2"},{"photo_id":"1396982085","filename":"file4"},{"photo_id":"1396981661","filename":"file1"},{"photo_id":"1396981528","filename":"file0"},{"photo_id":"1396981951","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396981661":["hashtag1","hashtag2"]},{"1396981811":["hashtag1","hashtag2"]},{"1396981951":["hashtag1","hashtag2"]},{"1396982085":["hashtag1","hashtag2"]},{"1396982232":["hashtag1","hashtag2"]},{"1396981528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396981661, 1396981811, 1396981951, 1396982085, 1396982232, 1396981528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70436072349548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:50:41.948557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_32_2599.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_34_2737.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_37_2802.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_41_3684.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_44_2571.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_46_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/11/03/image_31102025_11_03_32_2599.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_34_2737.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_37_2802.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_41_3684.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_44_2571.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_46_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":["1396983142","1396982995","1396983223","1396982839","1396982940","1396983068"],"photo_ids_order":["1396982839","1396982940","1396982995","1396983068","1396983142","1396983223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cbf7c80584c5627d808c9305abb6560e.jpg","text":"TemporaryFile(/tmp/multipartBody5613622188871992023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453103224,"filename":"image_31102025_11_03_44_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b8afb568b19d976efab0094fb0fb2a45.jpg","text":"TemporaryFile(/tmp/multipartBody9004936164740937488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453103224,"filename":"image_31102025_11_03_37_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df9527aa3605fd25743eee45559df6ad.jpg","text":"TemporaryFile(/tmp/multipartBody1253360812641350003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453103224,"filename":"image_31102025_11_03_46_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/acdf7f856f532d6de24e390023df0bf8.jpg","text":"TemporaryFile(/tmp/multipartBody9043458490765285105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453103224,"filename":"image_31102025_11_03_32_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/846c968b44cc9264c9e3f13816ea32cf.jpg","text":"TemporaryFile(/tmp/multipartBody1980275904716706930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453103224,"filename":"image_31102025_11_03_34_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cdf7fbbb8024d3dbb5cb48d39ef538d3.jpg","text":"TemporaryFile(/tmp/multipartBody256555797956014975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453103224,"filename":"image_31102025_11_03_41_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396982995","file1":"1396982940","file0":"1396982839","file4":"1396983142","file5":"1396983223","file3":"1396983068"},"map_files_photo_id_array":[{"photo_id":"1396983223","filename":"file5"},{"photo_id":"1396982995","filename":"file2"},{"photo_id":"1396983142","filename":"file4"},{"photo_id":"1396982940","filename":"file1"},{"photo_id":"1396982839","filename":"file0"},{"photo_id":"1396983068","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396983142":["hashtag1","hashtag2"]},{"1396982995":["hashtag1","hashtag2"]},{"1396983223":["hashtag1","hashtag2"]},{"1396982839":["hashtag1","hashtag2"]},{"1396982940":["hashtag1","hashtag2"]},{"1396983068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396983142, 1396982995, 1396983223, 1396982839, 1396982940, 1396983068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.438552379608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:51:22.206266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/02/image_29112025_22_02_14_9545.jpg', '/home/pi/Desktop/images/29112025/22/02/image_29112025_22_02_30_15413.jpg', '/home/pi/Desktop/images/29112025/22/02/image_29112025_22_02_34_4666.jpg', '/home/pi/Desktop/images/29112025/22/02/image_29112025_22_02_45_10807.jpg', '/home/pi/Desktop/images/29112025/22/02/image_29112025_22_02_55_9381.jpg', '/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_05_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/02/image_29112025_22_02_14_9545.jpg
/home/pi/Desktop/images/29112025/22/02/image_29112025_22_02_30_15413.jpg
/home/pi/Desktop/images/29112025/22/02/image_29112025_22_02_34_4666.jpg
/home/pi/Desktop/images/29112025/22/02/image_29112025_22_02_45_10807.jpg
/home/pi/Desktop/images/29112025/22/02/image_29112025_22_02_55_9381.jpg
/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_05_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396983505","1396984146","1396983957","1396983867","1396984244","1396984073"],"photo_ids_order":["1396983505","1396983867","1396983957","1396984073","1396984146","1396984244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f95c123d86c1f9eccaddfe3c919a3e5e.jpg","text":"TemporaryFile(/tmp/multipartBody836575128129290528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453142919,"filename":"image_29112025_22_02_14_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/739efdcfdf40f392c2891009aeab7d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2530020313259015344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453142919,"filename":"image_29112025_22_02_55_9381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/df00075eea2a86e91c59a45aaa7d8cde.jpg","text":"TemporaryFile(/tmp/multipartBody4551086855303693722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453142919,"filename":"image_29112025_22_02_34_4666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f827be3b736b80daa46356bf8a6db87c.jpg","text":"TemporaryFile(/tmp/multipartBody1298416583517229683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453142919,"filename":"image_29112025_22_02_30_15413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53c069dd3329f2687abbbc605cd04e34.jpg","text":"TemporaryFile(/tmp/multipartBody2908577690618753174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453142919,"filename":"image_29112025_22_03_05_10411.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e269da2cf63d3b4923cc6c0348333b02.jpg","text":"TemporaryFile(/tmp/multipartBody4643899833539927317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453142919,"filename":"image_29112025_22_02_45_10807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396983957","file1":"1396983867","file0":"1396983505","file4":"1396984146","file5":"1396984244","file3":"1396984073"},"map_files_photo_id_array":[{"photo_id":"1396984244","filename":"file5"},{"photo_id":"1396983957","filename":"file2"},{"photo_id":"1396984146","filename":"file4"},{"photo_id":"1396983867","filename":"file1"},{"photo_id":"1396983505","filename":"file0"},{"photo_id":"1396984073","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396983505":["hashtag1","hashtag2"]},{"1396984146":["hashtag1","hashtag2"]},{"1396983957":["hashtag1","hashtag2"]},{"1396983867":["hashtag1","hashtag2"]},{"1396984244":["hashtag1","hashtag2"]},{"1396984073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396983505, 1396984146, 1396983957, 1396983867, 1396984244, 1396984073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.88974738121033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 22:52:12.266988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_42_3569.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_44_2644.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_47_2730.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_51_3573.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_53_2724.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_56_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_42_3569.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_44_2644.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_47_2730.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_51_3573.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_53_2724.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_56_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.940330982208252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:52:22.969491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_15_9650.jpg', '/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_24_9738.jpg', '/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_35_10642.jpg', '/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_45_9719.jpg', '/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_55_10215.jpg', '/home/pi/Desktop/images/29112025/22/03/image_29112025_22_04_04_9532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_15_9650.jpg
/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_24_9738.jpg
/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_35_10642.jpg
/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_45_9719.jpg
/home/pi/Desktop/images/29112025/22/03/image_29112025_22_03_55_10215.jpg
/home/pi/Desktop/images/29112025/22/03/image_29112025_22_04_04_9532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396984810","1396984770","1396984845","1396984649","1396984730","1396984690"],"photo_ids_order":["1396984649","1396984690","1396984730","1396984770","1396984810","1396984845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4ffc0778fa5e7a4ba775755591b2148.jpg","text":"TemporaryFile(/tmp/multipartBody369939237449208307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453206050,"filename":"image_29112025_22_03_55_10215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6cc9c87374a766113ea3d64d16ce2e52.jpg","text":"TemporaryFile(/tmp/multipartBody8702277913864696454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453206050,"filename":"image_29112025_22_03_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad48a03086bfeba981545dc1cd086511.jpg","text":"TemporaryFile(/tmp/multipartBody4568719103088477216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453206050,"filename":"image_29112025_22_04_04_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad0cbf059283d104f9d0a760c81a73e9.jpg","text":"TemporaryFile(/tmp/multipartBody645784001625294449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453206050,"filename":"image_29112025_22_03_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/11/29/0f751a1283d3c24907010cf0421d7a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2915345269174872645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453206050,"filename":"image_29112025_22_03_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/102334e8589feea07597b30ba1556ec6.jpg","text":"TemporaryFile(/tmp/multipartBody8811165582528296095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453206050,"filename":"image_29112025_22_03_24_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396984730","file1":"1396984690","file0":"1396984649","file4":"1396984810","file5":"1396984845","file3":"1396984770"},"map_files_photo_id_array":[{"photo_id":"1396984845","filename":"file5"},{"photo_id":"1396984730","filename":"file2"},{"photo_id":"1396984810","filename":"file4"},{"photo_id":"1396984690","filename":"file1"},{"photo_id":"1396984649","filename":"file0"},{"photo_id":"1396984770","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396984810":["hashtag1","hashtag2"]},{"1396984770":["hashtag1","hashtag2"]},{"1396984845":["hashtag1","hashtag2"]},{"1396984649":["hashtag1","hashtag2"]},{"1396984730":["hashtag1","hashtag2"]},{"1396984690":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396984810, 1396984770, 1396984845, 1396984649, 1396984730, 1396984690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45975351333618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:53:03.130096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/04/image_29112025_22_04_15_10666.jpg', '/home/pi/Desktop/images/29112025/22/04/image_29112025_22_04_25_9690.jpg', '/home/pi/Desktop/images/29112025/22/04/image_29112025_22_04_35_10231.jpg', '/home/pi/Desktop/images/29112025/22/04/image_29112025_22_04_45_9712.jpg', '/home/pi/Desktop/images/29112025/22/04/image_29112025_22_04_54_9687.jpg', '/home/pi/Desktop/images/29112025/22/05/image_29112025_22_05_14_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/04/image_29112025_22_04_15_10666.jpg
/home/pi/Desktop/images/29112025/22/04/image_29112025_22_04_25_9690.jpg
/home/pi/Desktop/images/29112025/22/04/image_29112025_22_04_35_10231.jpg
/home/pi/Desktop/images/29112025/22/04/image_29112025_22_04_45_9712.jpg
/home/pi/Desktop/images/29112025/22/04/image_29112025_22_04_54_9687.jpg
/home/pi/Desktop/images/29112025/22/05/image_29112025_22_05_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":["1396985073","1396984887","1396984962","1396984926","1396984997","1396985035"],"photo_ids_order":["1396984887","1396984926","1396984962","1396984997","1396985035","1396985073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/139f6a911f670f96849e202a0530205e.jpg","text":"TemporaryFile(/tmp/multipartBody9052968723057966534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453243877,"filename":"image_29112025_22_05_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a881076a3d20781ce518ac9eb8e36ba.jpg","text":"TemporaryFile(/tmp/multipartBody5767804473153117048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453243877,"filename":"image_29112025_22_04_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3379742e662496cc334b13f4b41e3b32.jpg","text":"TemporaryFile(/tmp/multipartBody678392527798871943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453243877,"filename":"image_29112025_22_04_35_10231.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1698e07fe0a0e1baca8421e863a41dfc.jpg","text":"TemporaryFile(/tmp/multipartBody5510921004656519047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453243877,"filename":"image_29112025_22_04_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/11/29/b6340feccc9ffe4973f33d79ce3b1700.jpg","text":"TemporaryFile(/tmp/multipartBody2743266049669647134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453243877,"filename":"image_29112025_22_04_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/11/29/7ad754da2aa72ce117322123ae6641e2.jpg","text":"TemporaryFile(/tmp/multipartBody343956326524469072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453243877,"filename":"image_29112025_22_04_54_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396984962","file1":"1396984926","file0":"1396984887","file4":"1396985035","file5":"1396985073","file3":"1396984997"},"map_files_photo_id_array":[{"photo_id":"1396985073","filename":"file5"},{"photo_id":"1396984962","filename":"file2"},{"photo_id":"1396985035","filename":"file4"},{"photo_id":"1396984926","filename":"file1"},{"photo_id":"1396984887","filename":"file0"},{"photo_id":"1396984997","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396985073":["hashtag1","hashtag2"]},{"1396984887":["hashtag1","hashtag2"]},{"1396984962":["hashtag1","hashtag2"]},{"1396984926":["hashtag1","hashtag2"]},{"1396984997":["hashtag1","hashtag2"]},{"1396985035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396985073, 1396984887, 1396984962, 1396984926, 1396984997, 1396985035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56849765777588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:53:42.485168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_50_3650.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_52_2721.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_55_2812.jpg', '/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_59_3671.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_02_2684.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_04_2780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_50_3650.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_52_2721.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_55_2812.jpg
/home/pi/Desktop/images/31102025/11/03/image_31102025_11_03_59_3671.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_02_2684.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_04_2780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396985163","1396985220","1396985246","1396985201","1396985287","1396985161"],"photo_ids_order":["1396985161","1396985163","1396985201","1396985220","1396985246","1396985287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59b0a723b584ba266225d086dbf903ce.jpg","text":"TemporaryFile(/tmp/multipartBody4099503482251456843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453283623,"filename":"image_31102025_11_03_52_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7d3e71e10d6f74a24cc0ed159663528f.jpg","text":"TemporaryFile(/tmp/multipartBody7485730490579176146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453283623,"filename":"image_31102025_11_03_59_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa93df7d04fa4f6c45e6663db624c678.jpg","text":"TemporaryFile(/tmp/multipartBody8158311384162785488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453283623,"filename":"image_31102025_11_04_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/11/29/916640d5d6c994da4eb568dd24537360.jpg","text":"TemporaryFile(/tmp/multipartBody7885814321760026570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453283623,"filename":"image_31102025_11_03_55_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4b11321ea054b4d7a0cb5a1c3f1783b.jpg","text":"TemporaryFile(/tmp/multipartBody4547733507620113154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453283623,"filename":"image_31102025_11_04_04_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7304a9685b1c70efed394b7a7c70faca.jpg","text":"TemporaryFile(/tmp/multipartBody80183124123438626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453283623,"filename":"image_31102025_11_03_50_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396985201","file1":"1396985163","file0":"1396985161","file4":"1396985246","file5":"1396985287","file3":"1396985220"},"map_files_photo_id_array":[{"photo_id":"1396985287","filename":"file5"},{"photo_id":"1396985201","filename":"file2"},{"photo_id":"1396985246","filename":"file4"},{"photo_id":"1396985163","filename":"file1"},{"photo_id":"1396985161","filename":"file0"},{"photo_id":"1396985220","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396985163":["hashtag1","hashtag2"]},{"1396985220":["hashtag1","hashtag2"]},{"1396985246":["hashtag1","hashtag2"]},{"1396985201":["hashtag1","hashtag2"]},{"1396985287":["hashtag1","hashtag2"]},{"1396985161":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396985163, 1396985220, 1396985246, 1396985201, 1396985287, 1396985161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.836769580841064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:54:22.665009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/05/image_29112025_22_05_25_10826.jpg', '/home/pi/Desktop/images/29112025/22/05/image_29112025_22_05_35_9616.jpg', '/home/pi/Desktop/images/29112025/22/05/image_29112025_22_05_44_9597.jpg', '/home/pi/Desktop/images/29112025/22/05/image_29112025_22_05_55_10618.jpg', '/home/pi/Desktop/images/29112025/22/05/image_29112025_22_06_05_9773.jpg', '/home/pi/Desktop/images/29112025/22/06/image_29112025_22_06_14_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/05/image_29112025_22_05_25_10826.jpg
/home/pi/Desktop/images/29112025/22/05/image_29112025_22_05_35_9616.jpg
/home/pi/Desktop/images/29112025/22/05/image_29112025_22_05_44_9597.jpg
/home/pi/Desktop/images/29112025/22/05/image_29112025_22_05_55_10618.jpg
/home/pi/Desktop/images/29112025/22/05/image_29112025_22_06_05_9773.jpg
/home/pi/Desktop/images/29112025/22/06/image_29112025_22_06_14_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396985500","1396985622","1396985585","1396985543","1396985698","1396985659"],"photo_ids_order":["1396985500","1396985543","1396985585","1396985622","1396985659","1396985698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4815bc6ddbf4f24c436cedd1bb4a4c28.jpg","text":"TemporaryFile(/tmp/multipartBody4358116200580685442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453323381,"filename":"image_29112025_22_05_25_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cb0dc3516e956bf9333ad6a13280a981.jpg","text":"TemporaryFile(/tmp/multipartBody1701977821540040917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453323381,"filename":"image_29112025_22_05_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b9dd8c2add70516160e3080cc5a0f479.jpg","text":"TemporaryFile(/tmp/multipartBody1234294992949790200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453323381,"filename":"image_29112025_22_05_44_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dae6b97037c3fa126c89f26a014b0d49.jpg","text":"TemporaryFile(/tmp/multipartBody6549904693780576922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453323381,"filename":"image_29112025_22_05_35_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a61e986cc50893b5af4b2fa2a2d7445.jpg","text":"TemporaryFile(/tmp/multipartBody7596967487856555135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453323381,"filename":"image_29112025_22_06_14_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ffb9a12b105d2101549efdc83d85243f.jpg","text":"TemporaryFile(/tmp/multipartBody4198545827074529369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453323381,"filename":"image_29112025_22_06_05_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396985585","file1":"1396985543","file0":"1396985500","file4":"1396985659","file5":"1396985698","file3":"1396985622"},"map_files_photo_id_array":[{"photo_id":"1396985698","filename":"file5"},{"photo_id":"1396985585","filename":"file2"},{"photo_id":"1396985659","filename":"file4"},{"photo_id":"1396985543","filename":"file1"},{"photo_id":"1396985500","filename":"file0"},{"photo_id":"1396985622","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396985500":["hashtag1","hashtag2"]},{"1396985622":["hashtag1","hashtag2"]},{"1396985585":["hashtag1","hashtag2"]},{"1396985543":["hashtag1","hashtag2"]},{"1396985698":["hashtag1","hashtag2"]},{"1396985659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396985500, 1396985622, 1396985585, 1396985543, 1396985698, 1396985659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40972423553467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:55:02.619721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/06/image_29112025_22_06_25_10581.jpg', '/home/pi/Desktop/images/29112025/22/06/image_29112025_22_06_34_9567.jpg', '/home/pi/Desktop/images/29112025/22/06/image_29112025_22_06_45_10543.jpg', '/home/pi/Desktop/images/29112025/22/06/image_29112025_22_06_55_9835.jpg', '/home/pi/Desktop/images/29112025/22/06/image_29112025_22_07_04_9684.jpg', '/home/pi/Desktop/images/29112025/22/07/image_29112025_22_07_15_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/06/image_29112025_22_06_25_10581.jpg
/home/pi/Desktop/images/29112025/22/06/image_29112025_22_06_34_9567.jpg
/home/pi/Desktop/images/29112025/22/06/image_29112025_22_06_45_10543.jpg
/home/pi/Desktop/images/29112025/22/06/image_29112025_22_06_55_9835.jpg
/home/pi/Desktop/images/29112025/22/06/image_29112025_22_07_04_9684.jpg
/home/pi/Desktop/images/29112025/22/07/image_29112025_22_07_15_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396985805","1396985828","1396985791","1396985776","1396985740","1396985842"],"photo_ids_order":["1396985740","1396985776","1396985791","1396985805","1396985828","1396985842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/14de4ef68fb7b7e90fd8ac6c9870337b.jpg","text":"TemporaryFile(/tmp/multipartBody9143387386897799132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453363405,"filename":"image_29112025_22_06_55_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fbce8e6b49d642a9991f83d9121a645d.jpg","text":"TemporaryFile(/tmp/multipartBody5028211570578682692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453363405,"filename":"image_29112025_22_07_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/11/29/92901adb7a8c15f5c5ee16020073d80d.jpg","text":"TemporaryFile(/tmp/multipartBody3999566551138268516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453363405,"filename":"image_29112025_22_06_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/11/29/8b783a11a65756356f03a561701240f2.jpg","text":"TemporaryFile(/tmp/multipartBody3786382615583667615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453363405,"filename":"image_29112025_22_06_34_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/600a156c0e896cd78d2e65658b44ff25.jpg","text":"TemporaryFile(/tmp/multipartBody8854913935630258815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453363405,"filename":"image_29112025_22_06_25_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38d1fdbc59cea636d59d659c762f600b.jpg","text":"TemporaryFile(/tmp/multipartBody8662203202371956200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453363405,"filename":"image_29112025_22_07_15_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396985791","file1":"1396985776","file0":"1396985740","file4":"1396985828","file5":"1396985842","file3":"1396985805"},"map_files_photo_id_array":[{"photo_id":"1396985842","filename":"file5"},{"photo_id":"1396985791","filename":"file2"},{"photo_id":"1396985828","filename":"file4"},{"photo_id":"1396985776","filename":"file1"},{"photo_id":"1396985740","filename":"file0"},{"photo_id":"1396985805","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396985805":["hashtag1","hashtag2"]},{"1396985828":["hashtag1","hashtag2"]},{"1396985791":["hashtag1","hashtag2"]},{"1396985776":["hashtag1","hashtag2"]},{"1396985740":["hashtag1","hashtag2"]},{"1396985842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396985805, 1396985828, 1396985791, 1396985776, 1396985740, 1396985842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.454115867614746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:55:41.941935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_07_2708.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_11_3762.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_14_2760.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_16_2578.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_20_3677.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_23_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/11/04/image_31102025_11_04_07_2708.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_11_3762.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_14_2760.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_16_2578.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_20_3677.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_23_2601.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 1.051027774810791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:56:02.577798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/07/image_29112025_22_07_25_9836.jpg', '/home/pi/Desktop/images/29112025/22/07/image_29112025_22_07_35_9840.jpg', '/home/pi/Desktop/images/29112025/22/07/image_29112025_22_07_44_9658.jpg', '/home/pi/Desktop/images/29112025/22/07/image_29112025_22_07_55_10527.jpg', '/home/pi/Desktop/images/29112025/22/07/image_29112025_22_08_04_9591.jpg', '/home/pi/Desktop/images/29112025/22/08/image_29112025_22_08_28_23336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/07/image_29112025_22_07_25_9836.jpg
/home/pi/Desktop/images/29112025/22/07/image_29112025_22_07_35_9840.jpg
/home/pi/Desktop/images/29112025/22/07/image_29112025_22_07_44_9658.jpg
/home/pi/Desktop/images/29112025/22/07/image_29112025_22_07_55_10527.jpg
/home/pi/Desktop/images/29112025/22/07/image_29112025_22_08_04_9591.jpg
/home/pi/Desktop/images/29112025/22/08/image_29112025_22_08_28_23336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396985856","1396985855","1396985858","1396985860","1396985863","1396985857"],"photo_ids_order":["1396985855","1396985856","1396985857","1396985858","1396985860","1396985863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bae1ef1d14bc7630482f50caa420cfcf.jpg","text":"TemporaryFile(/tmp/multipartBody4251275300170744727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453423325,"filename":"image_29112025_22_07_35_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ecde6ab6b366f30f1ecc2d0950a40d13.jpg","text":"TemporaryFile(/tmp/multipartBody3949683063405802474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453423325,"filename":"image_29112025_22_07_25_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6ec07fffeb3e19c16c54b8e2ef84cb1.jpg","text":"TemporaryFile(/tmp/multipartBody4728633245745728085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453423325,"filename":"image_29112025_22_07_55_10527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76a47651c36f9348a71a2eed7c627b08.jpg","text":"TemporaryFile(/tmp/multipartBody2276588652014092422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453423325,"filename":"image_29112025_22_08_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2063c243da19e66b868ef36195fc57c.jpg","text":"TemporaryFile(/tmp/multipartBody4042414603118693944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453423325,"filename":"image_29112025_22_08_28_23336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e32fd5cca69caeb3172a979df85d5403.jpg","text":"TemporaryFile(/tmp/multipartBody7983387483576530057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453423325,"filename":"image_29112025_22_07_44_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396985857","file1":"1396985856","file0":"1396985855","file4":"1396985860","file5":"1396985863","file3":"1396985858"},"map_files_photo_id_array":[{"photo_id":"1396985863","filename":"file5"},{"photo_id":"1396985857","filename":"file2"},{"photo_id":"1396985860","filename":"file4"},{"photo_id":"1396985856","filename":"file1"},{"photo_id":"1396985855","filename":"file0"},{"photo_id":"1396985858","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396985856":["hashtag1","hashtag2"]},{"1396985855":["hashtag1","hashtag2"]},{"1396985858":["hashtag1","hashtag2"]},{"1396985860":["hashtag1","hashtag2"]},{"1396985863":["hashtag1","hashtag2"]},{"1396985857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396985856, 1396985855, 1396985858, 1396985860, 1396985863, 1396985857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69265055656433 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 22:56:42.184173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_07_2708.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_11_3762.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_14_2760.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_16_2578.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_20_3677.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_23_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/11/04/image_31102025_11_04_07_2708.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_11_3762.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_14_2760.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_16_2578.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_20_3677.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_23_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":["1396985871","1396985874","1396985873","1396985876","1396985872","1396985869"],"photo_ids_order":["1396985869","1396985871","1396985872","1396985873","1396985874","1396985876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e03643449ada86d61af8f2141b10bbb.jpg","text":"TemporaryFile(/tmp/multipartBody4164649072550486705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453463142,"filename":"image_31102025_11_04_11_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1be9790fef15eaf319db5d6ff67d4673.jpg","text":"TemporaryFile(/tmp/multipartBody5278526718335510097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453463142,"filename":"image_31102025_11_04_20_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52a8f000df659eb46772a5d76e1def95.jpg","text":"TemporaryFile(/tmp/multipartBody266389054946854932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453463142,"filename":"image_31102025_11_04_16_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f5c636e5c44288a91c36745757366c55.jpg","text":"TemporaryFile(/tmp/multipartBody5948195416942622926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453463142,"filename":"image_31102025_11_04_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/11/29/ecbc47c2d1dc52375811417ba61b687a.jpg","text":"TemporaryFile(/tmp/multipartBody8902143725976532159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453463142,"filename":"image_31102025_11_04_14_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef564ca86883cbdff1a1a833094b1134.jpg","text":"TemporaryFile(/tmp/multipartBody1353661880860935272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453463142,"filename":"image_31102025_11_04_07_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396985872","file1":"1396985871","file0":"1396985869","file4":"1396985874","file5":"1396985876","file3":"1396985873"},"map_files_photo_id_array":[{"photo_id":"1396985876","filename":"file5"},{"photo_id":"1396985872","filename":"file2"},{"photo_id":"1396985874","filename":"file4"},{"photo_id":"1396985871","filename":"file1"},{"photo_id":"1396985869","filename":"file0"},{"photo_id":"1396985873","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396985871":["hashtag1","hashtag2"]},{"1396985874":["hashtag1","hashtag2"]},{"1396985873":["hashtag1","hashtag2"]},{"1396985876":["hashtag1","hashtag2"]},{"1396985872":["hashtag1","hashtag2"]},{"1396985869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396985871, 1396985874, 1396985873, 1396985876, 1396985872, 1396985869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22176241874695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 22:57:22.394504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/08/image_29112025_22_08_29_1645.jpg', '/home/pi/Desktop/images/29112025/22/08/image_29112025_22_08_34_4660.jpg', '/home/pi/Desktop/images/29112025/22/08/image_29112025_22_08_45_10906.jpg', '/home/pi/Desktop/images/29112025/22/08/image_29112025_22_08_55_9674.jpg', '/home/pi/Desktop/images/29112025/22/08/image_29112025_22_09_04_9693.jpg', '/home/pi/Desktop/images/29112025/22/09/image_29112025_22_09_14_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/08/image_29112025_22_08_29_1645.jpg
/home/pi/Desktop/images/29112025/22/08/image_29112025_22_08_34_4660.jpg
/home/pi/Desktop/images/29112025/22/08/image_29112025_22_08_45_10906.jpg
/home/pi/Desktop/images/29112025/22/08/image_29112025_22_08_55_9674.jpg
/home/pi/Desktop/images/29112025/22/08/image_29112025_22_09_04_9693.jpg
/home/pi/Desktop/images/29112025/22/09/image_29112025_22_09_14_9809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396985889","1396985886","1396985891","1396985894","1396985882","1396985879"],"photo_ids_order":["1396985879","1396985882","1396985886","1396985889","1396985891","1396985894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8d37fcc824ace633485b54520cb90073.jpg","text":"TemporaryFile(/tmp/multipartBody8920254828562374199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453503092,"filename":"image_29112025_22_08_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/11/29/c2a4001f7b556a94f56657989db90fd4.jpg","text":"TemporaryFile(/tmp/multipartBody5334440597270590406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453503092,"filename":"image_29112025_22_08_45_10906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62e19a371cd5f619f1020ae9272dba3b.jpg","text":"TemporaryFile(/tmp/multipartBody4041564268678147216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453503092,"filename":"image_29112025_22_09_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bdc8896e8e2da78a9613d6392648c086.jpg","text":"TemporaryFile(/tmp/multipartBody4262891194331087571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453503092,"filename":"image_29112025_22_09_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/11/29/ce7815076644ed9d618d16bcd2c44fa8.jpg","text":"TemporaryFile(/tmp/multipartBody2214217093429607835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453503092,"filename":"image_29112025_22_08_34_4660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a4446248ceb6920e519c8f08ece5f0e.jpg","text":"TemporaryFile(/tmp/multipartBody745261256167633523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453503092,"filename":"image_29112025_22_08_29_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396985886","file1":"1396985882","file0":"1396985879","file4":"1396985891","file5":"1396985894","file3":"1396985889"},"map_files_photo_id_array":[{"photo_id":"1396985894","filename":"file5"},{"photo_id":"1396985886","filename":"file2"},{"photo_id":"1396985891","filename":"file4"},{"photo_id":"1396985882","filename":"file1"},{"photo_id":"1396985879","filename":"file0"},{"photo_id":"1396985889","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396985889":["hashtag1","hashtag2"]},{"1396985886":["hashtag1","hashtag2"]},{"1396985891":["hashtag1","hashtag2"]},{"1396985894":["hashtag1","hashtag2"]},{"1396985882":["hashtag1","hashtag2"]},{"1396985879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396985889, 1396985886, 1396985891, 1396985894, 1396985882, 1396985879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.273494720458984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 22:59:03.889167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/09/image_29112025_22_09_25_10670.jpg', '/home/pi/Desktop/images/29112025/22/09/image_29112025_22_09_34_9619.jpg', '/home/pi/Desktop/images/29112025/22/09/image_29112025_22_09_45_10518.jpg', '/home/pi/Desktop/images/29112025/22/09/image_29112025_22_09_55_9708.jpg', '/home/pi/Desktop/images/29112025/22/10/image_29112025_22_10_15_10054.jpg', '/home/pi/Desktop/images/29112025/22/10/image_29112025_22_10_25_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/09/image_29112025_22_09_25_10670.jpg
/home/pi/Desktop/images/29112025/22/09/image_29112025_22_09_34_9619.jpg
/home/pi/Desktop/images/29112025/22/09/image_29112025_22_09_45_10518.jpg
/home/pi/Desktop/images/29112025/22/09/image_29112025_22_09_55_9708.jpg
/home/pi/Desktop/images/29112025/22/10/image_29112025_22_10_15_10054.jpg
/home/pi/Desktop/images/29112025/22/10/image_29112025_22_10_25_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1396986072","1396985908","1396986147","1396986006","1396985897","1396985945"],"photo_ids_order":["1396985897","1396985908","1396985945","1396986006","1396986072","1396986147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3a01cd3eee8cf6801a8142c4eaccbe1.jpg","text":"TemporaryFile(/tmp/multipartBody5268731940853538257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453604791,"filename":"image_29112025_22_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/11/29/b50eb1b3f4d09652453798af733a2f54.jpg","text":"TemporaryFile(/tmp/multipartBody581155097736653442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453604791,"filename":"image_29112025_22_09_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1ff9a867fbd56e4bd972fdc0c63a4757.jpg","text":"TemporaryFile(/tmp/multipartBody5106555842284034948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453604791,"filename":"image_29112025_22_10_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd82fb75e08085657fe760b60978bcdf.jpg","text":"TemporaryFile(/tmp/multipartBody2464124992388540604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453604791,"filename":"image_29112025_22_09_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a1d910573e858c1207ed3a66bcd1ff6b.jpg","text":"TemporaryFile(/tmp/multipartBody9090391352455585198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453604791,"filename":"image_29112025_22_09_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/11/29/e62b80a32d694b8c941df6d6b6454707.jpg","text":"TemporaryFile(/tmp/multipartBody8869342268094008954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453604791,"filename":"image_29112025_22_09_45_10518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396985945","file1":"1396985908","file0":"1396985897","file4":"1396986072","file5":"1396986147","file3":"1396986006"},"map_files_photo_id_array":[{"photo_id":"1396986147","filename":"file5"},{"photo_id":"1396985945","filename":"file2"},{"photo_id":"1396986072","filename":"file4"},{"photo_id":"1396985908","filename":"file1"},{"photo_id":"1396985897","filename":"file0"},{"photo_id":"1396986006","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396986072":["hashtag1","hashtag2"]},{"1396985908":["hashtag1","hashtag2"]},{"1396986147":["hashtag1","hashtag2"]},{"1396986006":["hashtag1","hashtag2"]},{"1396985897":["hashtag1","hashtag2"]},{"1396985945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396986072, 1396985908, 1396986147, 1396986006, 1396985897, 1396985945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.84951114654541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:00:02.815585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 23:00:12.517388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_42_3569.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_44_2644.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_47_2730.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_51_3573.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_53_2724.jpg', '/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_56_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_42_3569.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_44_2644.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_47_2730.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_51_3573.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_53_2724.jpg
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_18_56_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396987317","1396986948","1396987121","1396986877","1396987231","1396987017"],"photo_ids_order":["1396986877","1396986948","1396987017","1396987121","1396987231","1396987317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ed5fbb09939847772693be41c026a73.jpg","text":"TemporaryFile(/tmp/multipartBody1490413016405399120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453674607,"filename":"image_25112025_19_18_56_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3ff14644816ab0307c06e66220346c3.jpg","text":"TemporaryFile(/tmp/multipartBody4588921045894228434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453674607,"filename":"image_25112025_19_18_44_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ad0731bfe88d346dd782c023a5a81beb.jpg","text":"TemporaryFile(/tmp/multipartBody5988264458842078700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453674607,"filename":"image_25112025_19_18_51_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/472cd17478fd0857cdb3a40bd4e01014.jpg","text":"TemporaryFile(/tmp/multipartBody419560830474317537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453674607,"filename":"image_25112025_19_18_42_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/861fddef3dae2df7a2d96e2727b869fd.jpg","text":"TemporaryFile(/tmp/multipartBody951328885653518379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453674607,"filename":"image_25112025_19_18_53_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a4be86faec60abd8e3aeac6e1a266446.jpg","text":"TemporaryFile(/tmp/multipartBody269160520172957648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453674607,"filename":"image_25112025_19_18_47_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396987017","file1":"1396986948","file0":"1396986877","file4":"1396987231","file5":"1396987317","file3":"1396987121"},"map_files_photo_id_array":[{"photo_id":"1396987317","filename":"file5"},{"photo_id":"1396987017","filename":"file2"},{"photo_id":"1396987231","filename":"file4"},{"photo_id":"1396986948","filename":"file1"},{"photo_id":"1396986877","filename":"file0"},{"photo_id":"1396987121","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396987317":["hashtag1","hashtag2"]},{"1396986948":["hashtag1","hashtag2"]},{"1396987121":["hashtag1","hashtag2"]},{"1396986877":["hashtag1","hashtag2"]},{"1396987231":["hashtag1","hashtag2"]},{"1396987017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396987317, 1396986948, 1396987121, 1396986877, 1396987231, 1396987017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.42777180671692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:01:03.324086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/10/image_29112025_22_10_43_17528.jpg', '/home/pi/Desktop/images/29112025/22/10/image_29112025_22_10_45_2520.jpg', '/home/pi/Desktop/images/29112025/22/10/image_29112025_22_10_55_9588.jpg', '/home/pi/Desktop/images/29112025/22/10/image_29112025_22_11_05_9720.jpg', '/home/pi/Desktop/images/29112025/22/11/image_29112025_22_11_15_10649.jpg', '/home/pi/Desktop/images/29112025/22/11/image_29112025_22_11_25_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/10/image_29112025_22_10_43_17528.jpg
/home/pi/Desktop/images/29112025/22/10/image_29112025_22_10_45_2520.jpg
/home/pi/Desktop/images/29112025/22/10/image_29112025_22_10_55_9588.jpg
/home/pi/Desktop/images/29112025/22/10/image_29112025_22_11_05_9720.jpg
/home/pi/Desktop/images/29112025/22/11/image_29112025_22_11_15_10649.jpg
/home/pi/Desktop/images/29112025/22/11/image_29112025_22_11_25_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396987850","1396987787","1396987721","1396987643","1396987678","1396987912"],"photo_ids_order":["1396987643","1396987678","1396987721","1396987787","1396987850","1396987912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5867f33a0617418c8b647dfbadd66cc5.jpg","text":"TemporaryFile(/tmp/multipartBody3204794503495091792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453728707,"filename":"image_29112025_22_11_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/11/29/5376396f5b7af941db737ae02c355a43.jpg","text":"TemporaryFile(/tmp/multipartBody3079386078261176532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453728707,"filename":"image_29112025_22_11_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/11/29/c2ebb6fb934a22f03fed920b0e8d2707.jpg","text":"TemporaryFile(/tmp/multipartBody513633278907520105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453728707,"filename":"image_29112025_22_10_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/11/29/86333894a17920b7e35f0039de5fee25.jpg","text":"TemporaryFile(/tmp/multipartBody8116655672005064335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453728707,"filename":"image_29112025_22_10_43_17528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1fc2907a3b40d7db1c54eb11ce282ae.jpg","text":"TemporaryFile(/tmp/multipartBody2687192070229519581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453728707,"filename":"image_29112025_22_10_45_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59973f4e04a035bc64b25cde3cc0e51f.jpg","text":"TemporaryFile(/tmp/multipartBody598614574550628151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453728707,"filename":"image_29112025_22_11_25_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396987721","file1":"1396987678","file0":"1396987643","file4":"1396987850","file5":"1396987912","file3":"1396987787"},"map_files_photo_id_array":[{"photo_id":"1396987912","filename":"file5"},{"photo_id":"1396987721","filename":"file2"},{"photo_id":"1396987850","filename":"file4"},{"photo_id":"1396987678","filename":"file1"},{"photo_id":"1396987643","filename":"file0"},{"photo_id":"1396987787","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396987850":["hashtag1","hashtag2"]},{"1396987787":["hashtag1","hashtag2"]},{"1396987721":["hashtag1","hashtag2"]},{"1396987643":["hashtag1","hashtag2"]},{"1396987678":["hashtag1","hashtag2"]},{"1396987912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396987850, 1396987787, 1396987721, 1396987643, 1396987678, 1396987912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.47442603111267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:02:02.737186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/11/image_29112025_22_11_35_9728.jpg', '/home/pi/Desktop/images/29112025/22/11/image_29112025_22_11_45_10337.jpg', '/home/pi/Desktop/images/29112025/22/11/image_29112025_22_11_55_9609.jpg', '/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_05_10348.jpg', '/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_15_9852.jpg', '/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_25_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/11/image_29112025_22_11_35_9728.jpg
/home/pi/Desktop/images/29112025/22/11/image_29112025_22_11_45_10337.jpg
/home/pi/Desktop/images/29112025/22/11/image_29112025_22_11_55_9609.jpg
/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_05_10348.jpg
/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_15_9852.jpg
/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_25_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":["1396988317","1396988454","1396988364","1396988418","1396988483","1396988486"],"photo_ids_order":["1396988317","1396988364","1396988418","1396988454","1396988483","1396988486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4be5c7d3368cc26347c98e7dbc1078bb.jpg","text":"TemporaryFile(/tmp/multipartBody1953386584825783081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453786145,"filename":"image_29112025_22_11_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/11/29/7f3e0f9171832fbefc49863b2087b964.jpg","text":"TemporaryFile(/tmp/multipartBody3916309961404898365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453786145,"filename":"image_29112025_22_12_05_10348.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ca4b3706f20131833d1c8da7a0c79bd.jpg","text":"TemporaryFile(/tmp/multipartBody7218590235208545032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453786145,"filename":"image_29112025_22_11_45_10337.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93e160ad43ac0b45fc5c5c7a01e5ff74.jpg","text":"TemporaryFile(/tmp/multipartBody9097885764884165842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453786145,"filename":"image_29112025_22_11_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/60372936379e35c8b29a8cab717353c2.jpg","text":"TemporaryFile(/tmp/multipartBody6220743104568037236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453786145,"filename":"image_29112025_22_12_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/11/29/7e7b1075ef158ed9aa987f65994e587c.jpg","text":"TemporaryFile(/tmp/multipartBody4382240546662230917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453786145,"filename":"image_29112025_22_12_25_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396988418","file1":"1396988364","file0":"1396988317","file4":"1396988483","file5":"1396988486","file3":"1396988454"},"map_files_photo_id_array":[{"photo_id":"1396988486","filename":"file5"},{"photo_id":"1396988418","filename":"file2"},{"photo_id":"1396988483","filename":"file4"},{"photo_id":"1396988364","filename":"file1"},{"photo_id":"1396988317","filename":"file0"},{"photo_id":"1396988454","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396988317":["hashtag1","hashtag2"]},{"1396988454":["hashtag1","hashtag2"]},{"1396988364":["hashtag1","hashtag2"]},{"1396988418":["hashtag1","hashtag2"]},{"1396988483":["hashtag1","hashtag2"]},{"1396988486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396988317, 1396988454, 1396988364, 1396988418, 1396988483, 1396988486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.329752922058105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:02:41.989736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_25_2514.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_29_3593.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_31_2621.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_35_3727.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_38_2632.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_40_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/11/04/image_31102025_11_04_25_2514.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_29_3593.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_31_2621.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_35_3727.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_38_2632.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_40_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":["1396988501","1396988500","1396988499","1396988493","1396988496","1396988498"],"photo_ids_order":["1396988493","1396988496","1396988498","1396988499","1396988500","1396988501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b384748db9598910eb54cd4c6ad21a0b.jpg","text":"TemporaryFile(/tmp/multipartBody7505437496167268181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453823039,"filename":"image_31102025_11_04_40_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ba5b31dd819c771fd7c731ff7e42eaef.jpg","text":"TemporaryFile(/tmp/multipartBody5494769339318919260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453823039,"filename":"image_31102025_11_04_38_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1690763728aac073833defd8359f7c2.jpg","text":"TemporaryFile(/tmp/multipartBody9138651045510318553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453823039,"filename":"image_31102025_11_04_35_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee1082cf713b5070085bebcaa24d78e9.jpg","text":"TemporaryFile(/tmp/multipartBody7147482266531048679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453823039,"filename":"image_31102025_11_04_25_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edfebc9f01dc0cf04820e9d7fd705806.jpg","text":"TemporaryFile(/tmp/multipartBody6503954351799684084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453823039,"filename":"image_31102025_11_04_29_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1bbe86446e00b27a770cd6b93a02a1bd.jpg","text":"TemporaryFile(/tmp/multipartBody6042882963234136529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453823039,"filename":"image_31102025_11_04_31_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396988498","file1":"1396988496","file0":"1396988493","file4":"1396988500","file5":"1396988501","file3":"1396988499"},"map_files_photo_id_array":[{"photo_id":"1396988501","filename":"file5"},{"photo_id":"1396988498","filename":"file2"},{"photo_id":"1396988500","filename":"file4"},{"photo_id":"1396988496","filename":"file1"},{"photo_id":"1396988493","filename":"file0"},{"photo_id":"1396988499","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396988501":["hashtag1","hashtag2"]},{"1396988500":["hashtag1","hashtag2"]},{"1396988499":["hashtag1","hashtag2"]},{"1396988493":["hashtag1","hashtag2"]},{"1396988496":["hashtag1","hashtag2"]},{"1396988498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396988501, 1396988500, 1396988499, 1396988493, 1396988496, 1396988498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.462263107299805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:03:22.250883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_35_10673.jpg', '/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_45_9755.jpg', '/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_55_9683.jpg', '/home/pi/Desktop/images/29112025/22/12/image_29112025_22_13_05_10665.jpg', '/home/pi/Desktop/images/29112025/22/13/image_29112025_22_13_15_9704.jpg', '/home/pi/Desktop/images/29112025/22/13/image_29112025_22_13_25_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_35_10673.jpg
/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_45_9755.jpg
/home/pi/Desktop/images/29112025/22/12/image_29112025_22_12_55_9683.jpg
/home/pi/Desktop/images/29112025/22/12/image_29112025_22_13_05_10665.jpg
/home/pi/Desktop/images/29112025/22/13/image_29112025_22_13_15_9704.jpg
/home/pi/Desktop/images/29112025/22/13/image_29112025_22_13_25_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396988516","1396988512","1396988506","1396988509","1396988518","1396988514"],"photo_ids_order":["1396988506","1396988509","1396988512","1396988514","1396988516","1396988518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8198c2200e8dfb09257ea06e3bdfb474.jpg","text":"TemporaryFile(/tmp/multipartBody1856566154296369392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453862939,"filename":"image_29112025_22_13_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/11/29/edd00dd8a019f9d78b115f3022171eaa.jpg","text":"TemporaryFile(/tmp/multipartBody4642526198033508275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453862939,"filename":"image_29112025_22_12_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/11/29/47b7622cf4041b939bd2625d14e0dcbc.jpg","text":"TemporaryFile(/tmp/multipartBody3821225833926608842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453862939,"filename":"image_29112025_22_12_35_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28db28420e25159fb5885bf61aef5645.jpg","text":"TemporaryFile(/tmp/multipartBody5957789146549226504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453862939,"filename":"image_29112025_22_12_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c957cd6aed12f7c7150f357339549afd.jpg","text":"TemporaryFile(/tmp/multipartBody6133692096747285746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453862939,"filename":"image_29112025_22_13_25_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b22482741ad62741535bcf6e3863a86.jpg","text":"TemporaryFile(/tmp/multipartBody5176866701933570240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453862939,"filename":"image_29112025_22_13_05_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396988512","file1":"1396988509","file0":"1396988506","file4":"1396988516","file5":"1396988518","file3":"1396988514"},"map_files_photo_id_array":[{"photo_id":"1396988518","filename":"file5"},{"photo_id":"1396988512","filename":"file2"},{"photo_id":"1396988516","filename":"file4"},{"photo_id":"1396988509","filename":"file1"},{"photo_id":"1396988506","filename":"file0"},{"photo_id":"1396988514","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396988516":["hashtag1","hashtag2"]},{"1396988512":["hashtag1","hashtag2"]},{"1396988506":["hashtag1","hashtag2"]},{"1396988509":["hashtag1","hashtag2"]},{"1396988518":["hashtag1","hashtag2"]},{"1396988514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396988516, 1396988512, 1396988506, 1396988509, 1396988518, 1396988514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90945291519165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:04:02.933335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/13/image_29112025_22_13_35_10607.jpg', '/home/pi/Desktop/images/29112025/22/13/image_29112025_22_13_45_9662.jpg', '/home/pi/Desktop/images/29112025/22/13/image_29112025_22_13_55_9712.jpg', '/home/pi/Desktop/images/29112025/22/13/image_29112025_22_14_05_9760.jpg', '/home/pi/Desktop/images/29112025/22/14/image_29112025_22_14_15_10616.jpg', '/home/pi/Desktop/images/29112025/22/14/image_29112025_22_14_25_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/13/image_29112025_22_13_35_10607.jpg
/home/pi/Desktop/images/29112025/22/13/image_29112025_22_13_45_9662.jpg
/home/pi/Desktop/images/29112025/22/13/image_29112025_22_13_55_9712.jpg
/home/pi/Desktop/images/29112025/22/13/image_29112025_22_14_05_9760.jpg
/home/pi/Desktop/images/29112025/22/14/image_29112025_22_14_15_10616.jpg
/home/pi/Desktop/images/29112025/22/14/image_29112025_22_14_25_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396988654","1396988720","1396988686","1396988827","1396988754","1396988789"],"photo_ids_order":["1396988654","1396988686","1396988720","1396988754","1396988789","1396988827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9f5572c7d85b3e2cdc643707b479d42a.jpg","text":"TemporaryFile(/tmp/multipartBody7934777479944154670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453903713,"filename":"image_29112025_22_13_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/11/29/b1d28d926366ac6ec19a8d66a9b56c77.jpg","text":"TemporaryFile(/tmp/multipartBody3398282561844092038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453903713,"filename":"image_29112025_22_13_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/11/29/4739a3cfb3617c345e7bd393bb28571c.jpg","text":"TemporaryFile(/tmp/multipartBody1223898619787157945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453903713,"filename":"image_29112025_22_13_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/11/29/8668e49dada55f6457e5f390ad8142c1.jpg","text":"TemporaryFile(/tmp/multipartBody4625830123639020899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453903713,"filename":"image_29112025_22_14_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/11/29/d262e79cf950769c05d24b2306835222.jpg","text":"TemporaryFile(/tmp/multipartBody5662948420757057451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453903713,"filename":"image_29112025_22_14_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da0c1358b956a34209b28f766b297255.jpg","text":"TemporaryFile(/tmp/multipartBody382532434258842691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453903713,"filename":"image_29112025_22_14_15_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396988720","file1":"1396988686","file0":"1396988654","file4":"1396988789","file5":"1396988827","file3":"1396988754"},"map_files_photo_id_array":[{"photo_id":"1396988827","filename":"file5"},{"photo_id":"1396988720","filename":"file2"},{"photo_id":"1396988789","filename":"file4"},{"photo_id":"1396988686","filename":"file1"},{"photo_id":"1396988654","filename":"file0"},{"photo_id":"1396988754","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396988654":["hashtag1","hashtag2"]},{"1396988720":["hashtag1","hashtag2"]},{"1396988686":["hashtag1","hashtag2"]},{"1396988827":["hashtag1","hashtag2"]},{"1396988754":["hashtag1","hashtag2"]},{"1396988789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396988654, 1396988720, 1396988686, 1396988827, 1396988754, 1396988789)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.97118878364563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:05:04.267344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/14/image_29112025_22_14_34_9683.jpg', '/home/pi/Desktop/images/29112025/22/14/image_29112025_22_14_45_10533.jpg', '/home/pi/Desktop/images/29112025/22/14/image_29112025_22_14_55_9591.jpg', '/home/pi/Desktop/images/29112025/22/15/image_29112025_22_15_14_10070.jpg', '/home/pi/Desktop/images/29112025/22/15/image_29112025_22_15_25_10620.jpg', '/home/pi/Desktop/images/29112025/22/15/image_29112025_22_15_34_9518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/14/image_29112025_22_14_34_9683.jpg
/home/pi/Desktop/images/29112025/22/14/image_29112025_22_14_45_10533.jpg
/home/pi/Desktop/images/29112025/22/14/image_29112025_22_14_55_9591.jpg
/home/pi/Desktop/images/29112025/22/15/image_29112025_22_15_14_10070.jpg
/home/pi/Desktop/images/29112025/22/15/image_29112025_22_15_25_10620.jpg
/home/pi/Desktop/images/29112025/22/15/image_29112025_22_15_34_9518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989020","1396989127","1396989066","1396989083","1396989056","1396989116"],"photo_ids_order":["1396989020","1396989056","1396989066","1396989083","1396989116","1396989127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/77f665e805c24096ece726a626f4b31b.jpg","text":"TemporaryFile(/tmp/multipartBody7621066320741599116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453965131,"filename":"image_29112025_22_14_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/11/29/818434d732923bfe7556df81db184756.jpg","text":"TemporaryFile(/tmp/multipartBody5547935624027693075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453965131,"filename":"image_29112025_22_15_34_9518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f6d0f53a006f409fe9e8c88bf37f0e0.jpg","text":"TemporaryFile(/tmp/multipartBody1871145706242462629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453965131,"filename":"image_29112025_22_14_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/11/29/2695dc263448a79140222e726273c493.jpg","text":"TemporaryFile(/tmp/multipartBody6541953440138912821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453965131,"filename":"image_29112025_22_15_14_10070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b2a81e5137c977db3655f4c619e1bd1.jpg","text":"TemporaryFile(/tmp/multipartBody5930075421776830861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453965131,"filename":"image_29112025_22_14_45_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/193ce890479aad4438005db2f5fee777.jpg","text":"TemporaryFile(/tmp/multipartBody9093361247466074503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764453965131,"filename":"image_29112025_22_15_25_10620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989066","file1":"1396989056","file0":"1396989020","file4":"1396989116","file5":"1396989127","file3":"1396989083"},"map_files_photo_id_array":[{"photo_id":"1396989127","filename":"file5"},{"photo_id":"1396989066","filename":"file2"},{"photo_id":"1396989116","filename":"file4"},{"photo_id":"1396989056","filename":"file1"},{"photo_id":"1396989020","filename":"file0"},{"photo_id":"1396989083","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989020":["hashtag1","hashtag2"]},{"1396989127":["hashtag1","hashtag2"]},{"1396989066":["hashtag1","hashtag2"]},{"1396989083":["hashtag1","hashtag2"]},{"1396989056":["hashtag1","hashtag2"]},{"1396989116":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989020, 1396989127, 1396989066, 1396989083, 1396989056, 1396989116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3750376701355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:05:43.601571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_43_2778.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_47_3716.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_50_2728.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_52_2664.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_56_3703.jpg', '/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_59_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_43_2778.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_47_3716.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_50_2728.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_52_2664.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_56_3703.jpg
/home/pi/Desktop/images/31102025/11/04/image_31102025_11_04_59_2717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989199","1396989253","1396989165","1396989252","1396989234","1396989140"],"photo_ids_order":["1396989140","1396989165","1396989199","1396989234","1396989252","1396989253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f08844cb4ccc229b7a36b5d0193a52a9.jpg","text":"TemporaryFile(/tmp/multipartBody8820896089717742448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454004727,"filename":"image_31102025_11_04_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/11/29/87a2a3e00e187bd18082276eb70891e6.jpg","text":"TemporaryFile(/tmp/multipartBody6224653140176898118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454004727,"filename":"image_31102025_11_04_59_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0a865f611f28ee110f1519a6740b7d5d.jpg","text":"TemporaryFile(/tmp/multipartBody8985268916491077798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454004727,"filename":"image_31102025_11_04_47_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/148f654f0522e581e574b015deb13924.jpg","text":"TemporaryFile(/tmp/multipartBody8340808256763381375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454004727,"filename":"image_31102025_11_04_56_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de79c7f5ea2c3a665621d65bb9adc83f.jpg","text":"TemporaryFile(/tmp/multipartBody6281976648399939713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454004727,"filename":"image_31102025_11_04_52_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/12180c32753ba9e257569f7e8c520ee8.jpg","text":"TemporaryFile(/tmp/multipartBody4859120632496452666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454004727,"filename":"image_31102025_11_04_43_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989199","file1":"1396989165","file0":"1396989140","file4":"1396989252","file5":"1396989253","file3":"1396989234"},"map_files_photo_id_array":[{"photo_id":"1396989253","filename":"file5"},{"photo_id":"1396989199","filename":"file2"},{"photo_id":"1396989252","filename":"file4"},{"photo_id":"1396989165","filename":"file1"},{"photo_id":"1396989140","filename":"file0"},{"photo_id":"1396989234","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989199":["hashtag1","hashtag2"]},{"1396989253":["hashtag1","hashtag2"]},{"1396989165":["hashtag1","hashtag2"]},{"1396989252":["hashtag1","hashtag2"]},{"1396989234":["hashtag1","hashtag2"]},{"1396989140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989199, 1396989253, 1396989165, 1396989252, 1396989234, 1396989140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.020991563797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:06:22.896467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/15/image_29112025_22_15_45_10700.jpg', '/home/pi/Desktop/images/29112025/22/15/image_29112025_22_15_55_9822.jpg', '/home/pi/Desktop/images/29112025/22/15/image_29112025_22_16_05_9696.jpg', '/home/pi/Desktop/images/29112025/22/16/image_29112025_22_16_14_9659.jpg', '/home/pi/Desktop/images/29112025/22/16/image_29112025_22_16_25_10738.jpg', '/home/pi/Desktop/images/29112025/22/16/image_29112025_22_16_35_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/15/image_29112025_22_15_45_10700.jpg
/home/pi/Desktop/images/29112025/22/15/image_29112025_22_15_55_9822.jpg
/home/pi/Desktop/images/29112025/22/15/image_29112025_22_16_05_9696.jpg
/home/pi/Desktop/images/29112025/22/16/image_29112025_22_16_14_9659.jpg
/home/pi/Desktop/images/29112025/22/16/image_29112025_22_16_25_10738.jpg
/home/pi/Desktop/images/29112025/22/16/image_29112025_22_16_35_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989262","1396989256","1396989364","1396989259","1396989333","1396989299"],"photo_ids_order":["1396989256","1396989259","1396989262","1396989299","1396989333","1396989364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a067d6f16a138ccb2bdb840cd2964d8.jpg","text":"TemporaryFile(/tmp/multipartBody1523022244629405882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454043585,"filename":"image_29112025_22_16_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/11/29/177b27fdce44865acd6a30a6322dbc76.jpg","text":"TemporaryFile(/tmp/multipartBody5436391901861058313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454043585,"filename":"image_29112025_22_15_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/11/29/ba2ab9bc38318a3b8360f44bfff265a0.jpg","text":"TemporaryFile(/tmp/multipartBody5308032144810808119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454043585,"filename":"image_29112025_22_16_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/11/29/961c9412fa483fd084fe45711ec45a3e.jpg","text":"TemporaryFile(/tmp/multipartBody7426973157185826105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454043585,"filename":"image_29112025_22_15_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/11/29/8bc7ac24825f735b9eec5e99f32b6ce4.jpg","text":"TemporaryFile(/tmp/multipartBody1263136990739590984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454043585,"filename":"image_29112025_22_16_25_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c887fd3fd8fbb01f05476dba6e6115d7.jpg","text":"TemporaryFile(/tmp/multipartBody5968106506524208213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454043585,"filename":"image_29112025_22_16_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989262","file1":"1396989259","file0":"1396989256","file4":"1396989333","file5":"1396989364","file3":"1396989299"},"map_files_photo_id_array":[{"photo_id":"1396989364","filename":"file5"},{"photo_id":"1396989262","filename":"file2"},{"photo_id":"1396989333","filename":"file4"},{"photo_id":"1396989259","filename":"file1"},{"photo_id":"1396989256","filename":"file0"},{"photo_id":"1396989299","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989262":["hashtag1","hashtag2"]},{"1396989256":["hashtag1","hashtag2"]},{"1396989364":["hashtag1","hashtag2"]},{"1396989259":["hashtag1","hashtag2"]},{"1396989333":["hashtag1","hashtag2"]},{"1396989299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989262, 1396989256, 1396989364, 1396989259, 1396989333, 1396989299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.814605712890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:07:02.580108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/16/image_29112025_22_16_44_9541.jpg', '/home/pi/Desktop/images/29112025/22/16/image_29112025_22_16_55_10624.jpg', '/home/pi/Desktop/images/29112025/22/16/image_29112025_22_17_05_9777.jpg', '/home/pi/Desktop/images/29112025/22/17/image_29112025_22_17_14_9659.jpg', '/home/pi/Desktop/images/29112025/22/17/image_29112025_22_17_24_9886.jpg', '/home/pi/Desktop/images/29112025/22/17/image_29112025_22_17_35_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/16/image_29112025_22_16_44_9541.jpg
/home/pi/Desktop/images/29112025/22/16/image_29112025_22_16_55_10624.jpg
/home/pi/Desktop/images/29112025/22/16/image_29112025_22_17_05_9777.jpg
/home/pi/Desktop/images/29112025/22/17/image_29112025_22_17_14_9659.jpg
/home/pi/Desktop/images/29112025/22/17/image_29112025_22_17_24_9886.jpg
/home/pi/Desktop/images/29112025/22/17/image_29112025_22_17_35_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989416","1396989418","1396989412","1396989381","1396989411","1396989413"],"photo_ids_order":["1396989381","1396989411","1396989412","1396989413","1396989416","1396989418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be4ecfd8004f5711dfeedec3654ebc3d.jpg","text":"TemporaryFile(/tmp/multipartBody4286888453834519272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454083389,"filename":"image_29112025_22_17_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/11/29/b31d260384f3a6e2a90a695ac86faa24.jpg","text":"TemporaryFile(/tmp/multipartBody2978842103486386642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454083389,"filename":"image_29112025_22_17_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/11/29/2095ea60456b31fd7d946d074087b00f.jpg","text":"TemporaryFile(/tmp/multipartBody392786510140897976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454083389,"filename":"image_29112025_22_17_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/11/29/e3133cd739afff6614c0beb27e9254ae.jpg","text":"TemporaryFile(/tmp/multipartBody5342316041689248925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454083389,"filename":"image_29112025_22_16_44_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4dd81c119d9ad16568f1c208ddb84cdd.jpg","text":"TemporaryFile(/tmp/multipartBody5055606813926601550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454083389,"filename":"image_29112025_22_16_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/11/29/b14fe7b3b15306eb789cbc240c855933.jpg","text":"TemporaryFile(/tmp/multipartBody4250710640842222232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454083389,"filename":"image_29112025_22_17_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989412","file1":"1396989411","file0":"1396989381","file4":"1396989416","file5":"1396989418","file3":"1396989413"},"map_files_photo_id_array":[{"photo_id":"1396989418","filename":"file5"},{"photo_id":"1396989412","filename":"file2"},{"photo_id":"1396989416","filename":"file4"},{"photo_id":"1396989411","filename":"file1"},{"photo_id":"1396989381","filename":"file0"},{"photo_id":"1396989413","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989416":["hashtag1","hashtag2"]},{"1396989418":["hashtag1","hashtag2"]},{"1396989412":["hashtag1","hashtag2"]},{"1396989381":["hashtag1","hashtag2"]},{"1396989411":["hashtag1","hashtag2"]},{"1396989413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989416, 1396989418, 1396989412, 1396989381, 1396989411, 1396989413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 71.15633201599121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:08:22.104960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/17/image_29112025_22_17_45_9669.jpg', '/home/pi/Desktop/images/29112025/22/17/image_29112025_22_17_54_9733.jpg', '/home/pi/Desktop/images/29112025/22/17/image_29112025_22_18_05_10808.jpg', '/home/pi/Desktop/images/29112025/22/18/image_29112025_22_18_15_9751.jpg', '/home/pi/Desktop/images/29112025/22/18/image_29112025_22_18_24_9560.jpg', '/home/pi/Desktop/images/29112025/22/18/image_29112025_22_18_35_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/17/image_29112025_22_17_45_9669.jpg
/home/pi/Desktop/images/29112025/22/17/image_29112025_22_17_54_9733.jpg
/home/pi/Desktop/images/29112025/22/17/image_29112025_22_18_05_10808.jpg
/home/pi/Desktop/images/29112025/22/18/image_29112025_22_18_15_9751.jpg
/home/pi/Desktop/images/29112025/22/18/image_29112025_22_18_24_9560.jpg
/home/pi/Desktop/images/29112025/22/18/image_29112025_22_18_35_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":["1396989436","1396989439","1396989430","1396989432","1396989431","1396989434"],"photo_ids_order":["1396989430","1396989431","1396989432","1396989434","1396989436","1396989439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51882ce4d6067d1e43a9064644449d8e.jpg","text":"TemporaryFile(/tmp/multipartBody1164808354712945414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454162762,"filename":"image_29112025_22_18_24_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f4be9536d3b5feab95f7d4862feea85a.jpg","text":"TemporaryFile(/tmp/multipartBody8042851168310672526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454162762,"filename":"image_29112025_22_18_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a9cfbc34be6e9730e1df5c7d3d2846dc.jpg","text":"TemporaryFile(/tmp/multipartBody6436604829046113396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454162762,"filename":"image_29112025_22_17_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8e339456c2aad2ab5d481e5e9fee463.jpg","text":"TemporaryFile(/tmp/multipartBody8304598617854862126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454162762,"filename":"image_29112025_22_18_05_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/beb6f7d01618403b7d337e30e1225c88.jpg","text":"TemporaryFile(/tmp/multipartBody4402481604454053780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454162762,"filename":"image_29112025_22_17_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/11/29/a4e10388c110ea1811fe0272ab6f3a59.jpg","text":"TemporaryFile(/tmp/multipartBody1795252594315883480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454162762,"filename":"image_29112025_22_18_15_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989432","file1":"1396989431","file0":"1396989430","file4":"1396989436","file5":"1396989439","file3":"1396989434"},"map_files_photo_id_array":[{"photo_id":"1396989439","filename":"file5"},{"photo_id":"1396989432","filename":"file2"},{"photo_id":"1396989436","filename":"file4"},{"photo_id":"1396989431","filename":"file1"},{"photo_id":"1396989430","filename":"file0"},{"photo_id":"1396989434","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989436":["hashtag1","hashtag2"]},{"1396989439":["hashtag1","hashtag2"]},{"1396989430":["hashtag1","hashtag2"]},{"1396989432":["hashtag1","hashtag2"]},{"1396989431":["hashtag1","hashtag2"]},{"1396989434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989436, 1396989439, 1396989430, 1396989432, 1396989431, 1396989434)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.66826272010803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:09:14.726019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/18/image_25112025_19_19_00_3669.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_02_2543.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_06_3642.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_09_2630.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_11_2633.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_15_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/18/image_25112025_19_19_00_3669.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_02_2543.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_06_3642.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_09_2630.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_11_2633.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_15_3690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989447","1396989461","1396989458","1396989452","1396989455","1396989449"],"photo_ids_order":["1396989447","1396989449","1396989452","1396989455","1396989458","1396989461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b5ce2750e0a6bdbcb3746ec181991bd1.jpg","text":"TemporaryFile(/tmp/multipartBody4608950845510127365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454218122,"filename":"image_25112025_19_19_00_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b3e4dc09edd3cb2ff821e1d6fa0170fb.jpg","text":"TemporaryFile(/tmp/multipartBody2334003443211602958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454218122,"filename":"image_25112025_19_19_15_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6d635da8b949ed93ad866577ff7cf74.jpg","text":"TemporaryFile(/tmp/multipartBody8231200898644819213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454218122,"filename":"image_25112025_19_19_11_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa38a4dbb41eaef0c85423f458514fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7656155932816040677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454218122,"filename":"image_25112025_19_19_06_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62c6cd67226250075c665b70eb7211da.jpg","text":"TemporaryFile(/tmp/multipartBody4972218500072080983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454218122,"filename":"image_25112025_19_19_09_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/48125f026517212041ea30a35670100d.jpg","text":"TemporaryFile(/tmp/multipartBody3675678837953824976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454218122,"filename":"image_25112025_19_19_02_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989452","file1":"1396989449","file0":"1396989447","file4":"1396989458","file5":"1396989461","file3":"1396989455"},"map_files_photo_id_array":[{"photo_id":"1396989461","filename":"file5"},{"photo_id":"1396989452","filename":"file2"},{"photo_id":"1396989458","filename":"file4"},{"photo_id":"1396989449","filename":"file1"},{"photo_id":"1396989447","filename":"file0"},{"photo_id":"1396989455","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396989447":["hashtag1","hashtag2"]},{"1396989461":["hashtag1","hashtag2"]},{"1396989458":["hashtag1","hashtag2"]},{"1396989452":["hashtag1","hashtag2"]},{"1396989455":["hashtag1","hashtag2"]},{"1396989449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396989447, 1396989461, 1396989458, 1396989452, 1396989455, 1396989449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.683618783950806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:10:02.205963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 23:10:11.898650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
2025-11-29 23:10:21.843356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/18/image_29112025_22_18_45_9697.jpg', '/home/pi/Desktop/images/29112025/22/18/image_29112025_22_18_54_9653.jpg', '/home/pi/Desktop/images/29112025/22/18/image_29112025_22_19_05_10667.jpg', '/home/pi/Desktop/images/29112025/22/19/image_29112025_22_19_25_9705.jpg', '/home/pi/Desktop/images/29112025/22/19/image_29112025_22_19_34_9641.jpg', '/home/pi/Desktop/images/29112025/22/19/image_29112025_22_19_45_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/18/image_29112025_22_18_45_9697.jpg
/home/pi/Desktop/images/29112025/22/18/image_29112025_22_18_54_9653.jpg
/home/pi/Desktop/images/29112025/22/18/image_29112025_22_19_05_10667.jpg
/home/pi/Desktop/images/29112025/22/19/image_29112025_22_19_25_9705.jpg
/home/pi/Desktop/images/29112025/22/19/image_29112025_22_19_34_9641.jpg
/home/pi/Desktop/images/29112025/22/19/image_29112025_22_19_45_10557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989483","1396989477","1396989471","1396989480","1396989474","1396989468"],"photo_ids_order":["1396989468","1396989471","1396989474","1396989477","1396989480","1396989483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27e3e2d0dbb03780909e32dec91178d0.jpg","text":"TemporaryFile(/tmp/multipartBody1327364342846837036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454282501,"filename":"image_29112025_22_19_45_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/755163e781179e944a99c1a4ba86af64.jpg","text":"TemporaryFile(/tmp/multipartBody2729708889382271838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454282501,"filename":"image_29112025_22_19_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/11/29/f690c160b1c6a3907b431a1428d6a867.jpg","text":"TemporaryFile(/tmp/multipartBody6234940790871614382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454282501,"filename":"image_29112025_22_18_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/11/29/1e3272a16d2cfa921c9f7e7e7492a398.jpg","text":"TemporaryFile(/tmp/multipartBody2760885918816911777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454282501,"filename":"image_29112025_22_19_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/646db816100abb23f8af50f14f06cc42.jpg","text":"TemporaryFile(/tmp/multipartBody1687633961831468202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454282501,"filename":"image_29112025_22_19_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c4f2992222b36da10a97af9510a73d02.jpg","text":"TemporaryFile(/tmp/multipartBody5801954759310684161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454282501,"filename":"image_29112025_22_18_45_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989474","file1":"1396989471","file0":"1396989468","file4":"1396989480","file5":"1396989483","file3":"1396989477"},"map_files_photo_id_array":[{"photo_id":"1396989483","filename":"file5"},{"photo_id":"1396989474","filename":"file2"},{"photo_id":"1396989480","filename":"file4"},{"photo_id":"1396989471","filename":"file1"},{"photo_id":"1396989468","filename":"file0"},{"photo_id":"1396989477","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989483":["hashtag1","hashtag2"]},{"1396989477":["hashtag1","hashtag2"]},{"1396989471":["hashtag1","hashtag2"]},{"1396989480":["hashtag1","hashtag2"]},{"1396989474":["hashtag1","hashtag2"]},{"1396989468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989483, 1396989477, 1396989471, 1396989480, 1396989474, 1396989468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11457419395447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:11:02.745364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 23:11:12.017374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_17_2661.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_20_2704.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_24_3625.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_27_2686.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_29_2627.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_33_3527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_17_2661.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_20_2704.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_24_3625.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_27_2686.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_29_2627.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_33_3527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989502","1396989492","1396989489","1396989501","1396989494","1396989497"],"photo_ids_order":["1396989489","1396989492","1396989494","1396989497","1396989501","1396989502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/37278fc3c2a8975c4a7640ca38ff6b4e.jpg","text":"TemporaryFile(/tmp/multipartBody7935124399935648507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454342121,"filename":"image_25112025_19_19_33_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6d87efa18a3a0e57bbc1b33ce5338077.jpg","text":"TemporaryFile(/tmp/multipartBody6897429660370734907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454342121,"filename":"image_25112025_19_19_20_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e73a6c8cf434ed19cc0a9a5b1c75fc8d.jpg","text":"TemporaryFile(/tmp/multipartBody552980806413113053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454342121,"filename":"image_25112025_19_19_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/11/29/522da154d7ada6f05a184eed67ce763d.jpg","text":"TemporaryFile(/tmp/multipartBody683849550749223046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454342121,"filename":"image_25112025_19_19_29_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ff0b4018e3a1fe58b188614ec0b3fb93.jpg","text":"TemporaryFile(/tmp/multipartBody7277191182009878344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454342121,"filename":"image_25112025_19_19_24_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e5cf9bf4562027f5f488fc313ffc5a0.jpg","text":"TemporaryFile(/tmp/multipartBody4003634193016815157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454342121,"filename":"image_25112025_19_19_27_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989494","file1":"1396989492","file0":"1396989489","file4":"1396989501","file5":"1396989502","file3":"1396989497"},"map_files_photo_id_array":[{"photo_id":"1396989502","filename":"file5"},{"photo_id":"1396989494","filename":"file2"},{"photo_id":"1396989501","filename":"file4"},{"photo_id":"1396989492","filename":"file1"},{"photo_id":"1396989489","filename":"file0"},{"photo_id":"1396989497","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396989502":["hashtag1","hashtag2"]},{"1396989492":["hashtag1","hashtag2"]},{"1396989489":["hashtag1","hashtag2"]},{"1396989501":["hashtag1","hashtag2"]},{"1396989494":["hashtag1","hashtag2"]},{"1396989497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396989502, 1396989492, 1396989489, 1396989501, 1396989494, 1396989497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.09943699836731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:12:02.668544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/19/image_29112025_22_19_54_9578.jpg', '/home/pi/Desktop/images/29112025/22/21/image_29112025_22_21_13_10038.jpg', '/home/pi/Desktop/images/29112025/22/21/image_29112025_22_21_24_10653.jpg', '/home/pi/Desktop/images/29112025/22/21/image_29112025_22_21_33_9534.jpg', '/home/pi/Desktop/images/29112025/22/21/image_29112025_22_21_44_10622.jpg', '/home/pi/Desktop/images/29112025/22/21/image_29112025_22_21_54_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/19/image_29112025_22_19_54_9578.jpg
/home/pi/Desktop/images/29112025/22/21/image_29112025_22_21_13_10038.jpg
/home/pi/Desktop/images/29112025/22/21/image_29112025_22_21_24_10653.jpg
/home/pi/Desktop/images/29112025/22/21/image_29112025_22_21_33_9534.jpg
/home/pi/Desktop/images/29112025/22/21/image_29112025_22_21_44_10622.jpg
/home/pi/Desktop/images/29112025/22/21/image_29112025_22_21_54_9781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989503","1396989505","1396989513","1396989510","1396989504","1396989507"],"photo_ids_order":["1396989503","1396989504","1396989505","1396989507","1396989510","1396989513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af8e1e58271fcdbc407a73c5227d81fd.jpg","text":"TemporaryFile(/tmp/multipartBody1958370991732181728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454386796,"filename":"image_29112025_22_19_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/11/29/b2d7cbcaa49eff24994f79eb36d76fa3.jpg","text":"TemporaryFile(/tmp/multipartBody3738277698232848885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454386796,"filename":"image_29112025_22_21_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4b4269fd30778fb1581d422d0b855482.jpg","text":"TemporaryFile(/tmp/multipartBody2981560980276794349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454386796,"filename":"image_29112025_22_21_54_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4233504793e65ff40063aa7d4b7a5d89.jpg","text":"TemporaryFile(/tmp/multipartBody4597155880300468417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454386796,"filename":"image_29112025_22_21_44_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1b780596254b8b59d63a4c2eec3ec8ee.jpg","text":"TemporaryFile(/tmp/multipartBody3225468323291685322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454386796,"filename":"image_29112025_22_21_13_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/647fd068326a42fe0168f70b179d3265.jpg","text":"TemporaryFile(/tmp/multipartBody6544410374865963940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454386796,"filename":"image_29112025_22_21_33_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989505","file1":"1396989504","file0":"1396989503","file4":"1396989510","file5":"1396989513","file3":"1396989507"},"map_files_photo_id_array":[{"photo_id":"1396989513","filename":"file5"},{"photo_id":"1396989505","filename":"file2"},{"photo_id":"1396989510","filename":"file4"},{"photo_id":"1396989504","filename":"file1"},{"photo_id":"1396989503","filename":"file0"},{"photo_id":"1396989507","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989503":["hashtag1","hashtag2"]},{"1396989505":["hashtag1","hashtag2"]},{"1396989513":["hashtag1","hashtag2"]},{"1396989510":["hashtag1","hashtag2"]},{"1396989504":["hashtag1","hashtag2"]},{"1396989507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989503, 1396989505, 1396989513, 1396989510, 1396989504, 1396989507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07515048980713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:12:42.342310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_08_3016.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_12_3878.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_14_2578.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_17_2699.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_21_3676.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_23_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/11/06/image_31102025_11_06_08_3016.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_12_3878.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_14_2578.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_17_2699.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_21_3676.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_23_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":["1396989521","1396989520","1396989517","1396989522","1396989519","1396989524"],"photo_ids_order":["1396989517","1396989519","1396989520","1396989521","1396989522","1396989524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6a94066629beb0bdc138816b7be5527.jpg","text":"TemporaryFile(/tmp/multipartBody7155316793170818075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454423491,"filename":"image_31102025_11_06_17_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09b4931404eea6bb60cb0231dfa527f7.jpg","text":"TemporaryFile(/tmp/multipartBody822865091078651069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454423491,"filename":"image_31102025_11_06_14_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2d99adb7e1645794caad087259a2cd13.jpg","text":"TemporaryFile(/tmp/multipartBody3536405768876505522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454423491,"filename":"image_31102025_11_06_08_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e49d8c1cd161db85a6900b681b3e124d.jpg","text":"TemporaryFile(/tmp/multipartBody538550617959761856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454423491,"filename":"image_31102025_11_06_21_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fb1c10c0fd388174385c79b91479124a.jpg","text":"TemporaryFile(/tmp/multipartBody614573609735939704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454423491,"filename":"image_31102025_11_06_12_3878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/623cd64725bedb29f4a64b601111e8b4.jpg","text":"TemporaryFile(/tmp/multipartBody4936042972986449671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454423491,"filename":"image_31102025_11_06_23_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989520","file1":"1396989519","file0":"1396989517","file4":"1396989522","file5":"1396989524","file3":"1396989521"},"map_files_photo_id_array":[{"photo_id":"1396989524","filename":"file5"},{"photo_id":"1396989520","filename":"file2"},{"photo_id":"1396989522","filename":"file4"},{"photo_id":"1396989519","filename":"file1"},{"photo_id":"1396989517","filename":"file0"},{"photo_id":"1396989521","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989521":["hashtag1","hashtag2"]},{"1396989520":["hashtag1","hashtag2"]},{"1396989517":["hashtag1","hashtag2"]},{"1396989522":["hashtag1","hashtag2"]},{"1396989519":["hashtag1","hashtag2"]},{"1396989524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989521, 1396989520, 1396989517, 1396989522, 1396989519, 1396989524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91023516654968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:13:22.621976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/21/image_29112025_22_22_04_9810.jpg', '/home/pi/Desktop/images/29112025/22/22/image_29112025_22_22_13_9613.jpg', '/home/pi/Desktop/images/29112025/22/22/image_29112025_22_22_24_10576.jpg', '/home/pi/Desktop/images/29112025/22/22/image_29112025_22_22_33_9618.jpg', '/home/pi/Desktop/images/29112025/22/22/image_29112025_22_22_44_10573.jpg', '/home/pi/Desktop/images/29112025/22/22/image_29112025_22_22_54_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/21/image_29112025_22_22_04_9810.jpg
/home/pi/Desktop/images/29112025/22/22/image_29112025_22_22_13_9613.jpg
/home/pi/Desktop/images/29112025/22/22/image_29112025_22_22_24_10576.jpg
/home/pi/Desktop/images/29112025/22/22/image_29112025_22_22_33_9618.jpg
/home/pi/Desktop/images/29112025/22/22/image_29112025_22_22_44_10573.jpg
/home/pi/Desktop/images/29112025/22/22/image_29112025_22_22_54_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989541","1396989531","1396989534","1396989528","1396989537","1396989539"],"photo_ids_order":["1396989528","1396989531","1396989534","1396989537","1396989539","1396989541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0859f28954d894edb90a307750a3f4b3.jpg","text":"TemporaryFile(/tmp/multipartBody3459717645703090161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454463337,"filename":"image_29112025_22_22_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b87d1563fc249b843315d864e6d32241.jpg","text":"TemporaryFile(/tmp/multipartBody5367365382454165659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454463337,"filename":"image_29112025_22_22_13_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43424b035ed97209c3feb225c5b73b0d.jpg","text":"TemporaryFile(/tmp/multipartBody4879835598530856720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454463337,"filename":"image_29112025_22_22_24_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9652715c6fce1ab4cbf448bbbb1627cb.jpg","text":"TemporaryFile(/tmp/multipartBody2674737791074698870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454463337,"filename":"image_29112025_22_22_04_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/27fd6c0c2e411b212d44037ade7c543e.jpg","text":"TemporaryFile(/tmp/multipartBody1708569613739843713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454463337,"filename":"image_29112025_22_22_33_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8bee97008628ad3ffde9e855d1c46fd8.jpg","text":"TemporaryFile(/tmp/multipartBody6178059474120432085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454463337,"filename":"image_29112025_22_22_44_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989534","file1":"1396989531","file0":"1396989528","file4":"1396989539","file5":"1396989541","file3":"1396989537"},"map_files_photo_id_array":[{"photo_id":"1396989541","filename":"file5"},{"photo_id":"1396989534","filename":"file2"},{"photo_id":"1396989539","filename":"file4"},{"photo_id":"1396989531","filename":"file1"},{"photo_id":"1396989528","filename":"file0"},{"photo_id":"1396989537","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989541":["hashtag1","hashtag2"]},{"1396989531":["hashtag1","hashtag2"]},{"1396989534":["hashtag1","hashtag2"]},{"1396989528":["hashtag1","hashtag2"]},{"1396989537":["hashtag1","hashtag2"]},{"1396989539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989541, 1396989531, 1396989534, 1396989528, 1396989537, 1396989539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81229496002197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:14:03.155597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/22/image_29112025_22_23_03_9619.jpg', '/home/pi/Desktop/images/29112025/22/23/image_29112025_22_23_14_10592.jpg', '/home/pi/Desktop/images/29112025/22/23/image_29112025_22_23_24_9768.jpg', '/home/pi/Desktop/images/29112025/22/23/image_29112025_22_23_33_9688.jpg', '/home/pi/Desktop/images/29112025/22/23/image_29112025_22_23_44_10581.jpg', '/home/pi/Desktop/images/29112025/22/23/image_29112025_22_23_54_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/22/image_29112025_22_23_03_9619.jpg
/home/pi/Desktop/images/29112025/22/23/image_29112025_22_23_14_10592.jpg
/home/pi/Desktop/images/29112025/22/23/image_29112025_22_23_24_9768.jpg
/home/pi/Desktop/images/29112025/22/23/image_29112025_22_23_33_9688.jpg
/home/pi/Desktop/images/29112025/22/23/image_29112025_22_23_44_10581.jpg
/home/pi/Desktop/images/29112025/22/23/image_29112025_22_23_54_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":["1396989547","1396989544","1396989543","1396989542","1396989551","1396989545"],"photo_ids_order":["1396989542","1396989543","1396989544","1396989545","1396989547","1396989551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/99a92797202235c18d3f5c2f1cf1afe1.jpg","text":"TemporaryFile(/tmp/multipartBody575893228288114260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454503947,"filename":"image_29112025_22_23_44_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6f69134040789c8454d67d433b21e199.jpg","text":"TemporaryFile(/tmp/multipartBody5533397980070747933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454503947,"filename":"image_29112025_22_23_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/11/29/1eeed1b8b1fb8af3b78db233450b7c9d.jpg","text":"TemporaryFile(/tmp/multipartBody8744273989596801279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454503947,"filename":"image_29112025_22_23_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/11/29/325747ceb0c0dd3f23b51b2e432dff0f.jpg","text":"TemporaryFile(/tmp/multipartBody6969237534103714948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454503947,"filename":"image_29112025_22_23_03_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ab5896b88da14bf1795414cce43e6b2.jpg","text":"TemporaryFile(/tmp/multipartBody7879774726860542760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454503947,"filename":"image_29112025_22_23_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/11/29/61c3e860f27ae5f2bea59cebd324a54e.jpg","text":"TemporaryFile(/tmp/multipartBody5510394483421406991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454503947,"filename":"image_29112025_22_23_33_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989544","file1":"1396989543","file0":"1396989542","file4":"1396989547","file5":"1396989551","file3":"1396989545"},"map_files_photo_id_array":[{"photo_id":"1396989551","filename":"file5"},{"photo_id":"1396989544","filename":"file2"},{"photo_id":"1396989547","filename":"file4"},{"photo_id":"1396989543","filename":"file1"},{"photo_id":"1396989542","filename":"file0"},{"photo_id":"1396989545","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989547":["hashtag1","hashtag2"]},{"1396989544":["hashtag1","hashtag2"]},{"1396989543":["hashtag1","hashtag2"]},{"1396989542":["hashtag1","hashtag2"]},{"1396989551":["hashtag1","hashtag2"]},{"1396989545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989547, 1396989544, 1396989543, 1396989542, 1396989551, 1396989545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.187060594558716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:14:42.405993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_26_2854.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_29_2784.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_33_3682.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_38_2809.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_42_3613.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_44_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/11/06/image_31102025_11_06_26_2854.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_29_2784.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_33_3682.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_38_2809.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_42_3613.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_44_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":["1396989562","1396989564","1396989558","1396989561","1396989560","1396989563"],"photo_ids_order":["1396989558","1396989560","1396989561","1396989562","1396989563","1396989564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5697869e8fb3bb86530165f311f46cd6.jpg","text":"TemporaryFile(/tmp/multipartBody1424194964898413475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454543568,"filename":"image_31102025_11_06_38_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db74cac2b0e4a257378c0df74d58fad8.jpg","text":"TemporaryFile(/tmp/multipartBody5348193780728721900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454543568,"filename":"image_31102025_11_06_44_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8ae6a777432480b244060413436c4816.jpg","text":"TemporaryFile(/tmp/multipartBody1162074964910931449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454543568,"filename":"image_31102025_11_06_26_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e86ad063973a84ad695a68ca5e6b8451.jpg","text":"TemporaryFile(/tmp/multipartBody4827170596804053502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454543568,"filename":"image_31102025_11_06_33_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a6bb85e47eaefabe9acec4006f1600e.jpg","text":"TemporaryFile(/tmp/multipartBody1996945749034664056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454543568,"filename":"image_31102025_11_06_29_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcde933dbe0a0347c8a7430716c7409b.jpg","text":"TemporaryFile(/tmp/multipartBody2133164080669199170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454543568,"filename":"image_31102025_11_06_42_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989561","file1":"1396989560","file0":"1396989558","file4":"1396989563","file5":"1396989564","file3":"1396989562"},"map_files_photo_id_array":[{"photo_id":"1396989564","filename":"file5"},{"photo_id":"1396989561","filename":"file2"},{"photo_id":"1396989563","filename":"file4"},{"photo_id":"1396989560","filename":"file1"},{"photo_id":"1396989558","filename":"file0"},{"photo_id":"1396989562","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989562":["hashtag1","hashtag2"]},{"1396989564":["hashtag1","hashtag2"]},{"1396989558":["hashtag1","hashtag2"]},{"1396989561":["hashtag1","hashtag2"]},{"1396989560":["hashtag1","hashtag2"]},{"1396989563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989562, 1396989564, 1396989558, 1396989561, 1396989560, 1396989563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61564755439758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:15:22.556618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/23/image_29112025_22_24_03_9675.jpg', '/home/pi/Desktop/images/29112025/22/24/image_29112025_22_24_14_10731.jpg', '/home/pi/Desktop/images/29112025/22/24/image_29112025_22_24_24_9730.jpg', '/home/pi/Desktop/images/29112025/22/24/image_29112025_22_24_34_9716.jpg', '/home/pi/Desktop/images/29112025/22/24/image_29112025_22_24_43_9726.jpg', '/home/pi/Desktop/images/29112025/22/24/image_29112025_22_24_54_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/23/image_29112025_22_24_03_9675.jpg
/home/pi/Desktop/images/29112025/22/24/image_29112025_22_24_14_10731.jpg
/home/pi/Desktop/images/29112025/22/24/image_29112025_22_24_24_9730.jpg
/home/pi/Desktop/images/29112025/22/24/image_29112025_22_24_34_9716.jpg
/home/pi/Desktop/images/29112025/22/24/image_29112025_22_24_43_9726.jpg
/home/pi/Desktop/images/29112025/22/24/image_29112025_22_24_54_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":["1396989571","1396989568","1396989576","1396989573","1396989575","1396989578"],"photo_ids_order":["1396989568","1396989571","1396989573","1396989575","1396989576","1396989578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/879fce34234dd507f0e54f00772d63bb.jpg","text":"TemporaryFile(/tmp/multipartBody2186812159841364428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454583244,"filename":"image_29112025_22_24_14_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/da125f76ee62a61986cff4fdfce1be94.jpg","text":"TemporaryFile(/tmp/multipartBody3775823400912927743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454583244,"filename":"image_29112025_22_24_03_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/449819ad2eecea3dda40b7e272cba05d.jpg","text":"TemporaryFile(/tmp/multipartBody4584344526326422661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454583244,"filename":"image_29112025_22_24_43_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/307b290ce333625f5198684065bfae92.jpg","text":"TemporaryFile(/tmp/multipartBody1447496748952597075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454583244,"filename":"image_29112025_22_24_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db16239c7725690fe1fb1577d0f0089e.jpg","text":"TemporaryFile(/tmp/multipartBody3392586581584003799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454583244,"filename":"image_29112025_22_24_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/11/29/43ccb2080d1e0cf1e4b864cafa9344ee.jpg","text":"TemporaryFile(/tmp/multipartBody2306959417144939884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454583244,"filename":"image_29112025_22_24_54_10617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989573","file1":"1396989571","file0":"1396989568","file4":"1396989576","file5":"1396989578","file3":"1396989575"},"map_files_photo_id_array":[{"photo_id":"1396989578","filename":"file5"},{"photo_id":"1396989573","filename":"file2"},{"photo_id":"1396989576","filename":"file4"},{"photo_id":"1396989571","filename":"file1"},{"photo_id":"1396989568","filename":"file0"},{"photo_id":"1396989575","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989571":["hashtag1","hashtag2"]},{"1396989568":["hashtag1","hashtag2"]},{"1396989576":["hashtag1","hashtag2"]},{"1396989573":["hashtag1","hashtag2"]},{"1396989575":["hashtag1","hashtag2"]},{"1396989578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989571, 1396989568, 1396989576, 1396989573, 1396989575, 1396989578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15670347213745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:16:03.176449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/25/image_29112025_22_25_14_10051.jpg', '/home/pi/Desktop/images/29112025/22/25/image_29112025_22_25_25_10695.jpg', '/home/pi/Desktop/images/29112025/22/25/image_29112025_22_25_35_9599.jpg', '/home/pi/Desktop/images/29112025/22/25/image_29112025_22_25_44_9827.jpg', '/home/pi/Desktop/images/29112025/22/25/image_29112025_22_25_55_10575.jpg', '/home/pi/Desktop/images/29112025/22/25/image_29112025_22_26_05_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/25/image_29112025_22_25_14_10051.jpg
/home/pi/Desktop/images/29112025/22/25/image_29112025_22_25_25_10695.jpg
/home/pi/Desktop/images/29112025/22/25/image_29112025_22_25_35_9599.jpg
/home/pi/Desktop/images/29112025/22/25/image_29112025_22_25_44_9827.jpg
/home/pi/Desktop/images/29112025/22/25/image_29112025_22_25_55_10575.jpg
/home/pi/Desktop/images/29112025/22/25/image_29112025_22_26_05_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989583","1396989586","1396989589","1396989579","1396989581","1396989584"],"photo_ids_order":["1396989579","1396989581","1396989583","1396989584","1396989586","1396989589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d1a1bf831ad4ac84d3006716ccbd33e.jpg","text":"TemporaryFile(/tmp/multipartBody2982673780857882154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454623916,"filename":"image_29112025_22_25_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/11/29/482fa5d514b6b8453ae5dd949fc8d4ba.jpg","text":"TemporaryFile(/tmp/multipartBody1431043759054596508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454623916,"filename":"image_29112025_22_25_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/11/29/da341dd5204531e2c8b80d646e274705.jpg","text":"TemporaryFile(/tmp/multipartBody7583309625988228289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454623916,"filename":"image_29112025_22_26_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2bd42df28d65189f1263293486a138ce.jpg","text":"TemporaryFile(/tmp/multipartBody2433272570256025634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454623916,"filename":"image_29112025_22_25_14_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0046895a36fa2193c273574ea1ea7cf.jpg","text":"TemporaryFile(/tmp/multipartBody735580662039625164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454623916,"filename":"image_29112025_22_25_25_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bf3ae570c9ef0dfaa80648958c16f97c.jpg","text":"TemporaryFile(/tmp/multipartBody7712463378938564550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454623916,"filename":"image_29112025_22_25_44_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989583","file1":"1396989581","file0":"1396989579","file4":"1396989586","file5":"1396989589","file3":"1396989584"},"map_files_photo_id_array":[{"photo_id":"1396989589","filename":"file5"},{"photo_id":"1396989583","filename":"file2"},{"photo_id":"1396989586","filename":"file4"},{"photo_id":"1396989581","filename":"file1"},{"photo_id":"1396989579","filename":"file0"},{"photo_id":"1396989584","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989583":["hashtag1","hashtag2"]},{"1396989586":["hashtag1","hashtag2"]},{"1396989589":["hashtag1","hashtag2"]},{"1396989579":["hashtag1","hashtag2"]},{"1396989581":["hashtag1","hashtag2"]},{"1396989584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989583, 1396989586, 1396989589, 1396989579, 1396989581, 1396989584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33637046813965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:16:42.740604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_51_3663.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_53_2826.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_56_2640.jpg', '/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_59_2645.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_02_3759.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_05_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/11/06/image_31102025_11_06_51_3663.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_53_2826.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_56_2640.jpg
/home/pi/Desktop/images/31102025/11/06/image_31102025_11_06_59_2645.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_02_3759.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_05_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":["1396989601","1396989604","1396989599","1396989603","1396989606","1396989605"],"photo_ids_order":["1396989599","1396989601","1396989603","1396989604","1396989605","1396989606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6b501c5b07441470b936d278781ff33b.jpg","text":"TemporaryFile(/tmp/multipartBody5755295551979967000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454663939,"filename":"image_31102025_11_06_53_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/62bfac34f294211425b1411909aedaa8.jpg","text":"TemporaryFile(/tmp/multipartBody7925442141933842852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454663939,"filename":"image_31102025_11_06_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/11/29/082134eba7899cad2eb2c95ed6e8c040.jpg","text":"TemporaryFile(/tmp/multipartBody3562049768686830491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454663939,"filename":"image_31102025_11_06_51_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/64a838325ce4095df9e1b29792073e3f.jpg","text":"TemporaryFile(/tmp/multipartBody478486513122706708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454663939,"filename":"image_31102025_11_06_56_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/08ba7639b156f50051aa6a054a1644f6.jpg","text":"TemporaryFile(/tmp/multipartBody2604367594934457252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454663939,"filename":"image_31102025_11_07_05_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/030d9209f16ca5150d8a1c1718bc46ef.jpg","text":"TemporaryFile(/tmp/multipartBody5661664504557286030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454663939,"filename":"image_31102025_11_07_02_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989603","file1":"1396989601","file0":"1396989599","file4":"1396989605","file5":"1396989606","file3":"1396989604"},"map_files_photo_id_array":[{"photo_id":"1396989606","filename":"file5"},{"photo_id":"1396989603","filename":"file2"},{"photo_id":"1396989605","filename":"file4"},{"photo_id":"1396989601","filename":"file1"},{"photo_id":"1396989599","filename":"file0"},{"photo_id":"1396989604","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989601":["hashtag1","hashtag2"]},{"1396989604":["hashtag1","hashtag2"]},{"1396989599":["hashtag1","hashtag2"]},{"1396989603":["hashtag1","hashtag2"]},{"1396989606":["hashtag1","hashtag2"]},{"1396989605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989601, 1396989604, 1396989599, 1396989603, 1396989606, 1396989605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.021034240722656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:17:21.840513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_14_9748.jpg', '/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_25_10678.jpg', '/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_35_9609.jpg', '/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_44_9584.jpg', '/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_55_10598.jpg', '/home/pi/Desktop/images/29112025/22/26/image_29112025_22_27_05_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_14_9748.jpg
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_25_10678.jpg
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_35_9609.jpg
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_44_9584.jpg
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_55_10598.jpg
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_27_05_9849.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5817139148712158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:17:31.907529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_35_2714.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_38_2786.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_41_2724.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_44_3576.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_47_2739.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_50_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_35_2714.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_38_2786.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_41_2724.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_44_3576.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_47_2739.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_50_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":["1396989620","1396989625","1396989627","1396989624","1396989617","1396989626"],"photo_ids_order":["1396989617","1396989620","1396989624","1396989625","1396989626","1396989627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/645ecdcb332cfa8a809a58f596c7a41b.jpg","text":"TemporaryFile(/tmp/multipartBody5596498593476919880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454714077,"filename":"image_25112025_19_19_38_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/23ac530fb6ef8f5cda2026793b1592a2.jpg","text":"TemporaryFile(/tmp/multipartBody546171266289433591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454714077,"filename":"image_25112025_19_19_44_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6216c7f1699262d1520e6b120363369d.jpg","text":"TemporaryFile(/tmp/multipartBody134653622406623200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454714077,"filename":"image_25112025_19_19_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/11/29/5e705849ac36db251f1c398dd5e0665d.jpg","text":"TemporaryFile(/tmp/multipartBody3668657197348003449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454714077,"filename":"image_25112025_19_19_41_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e52ecf015a4cc23ff39478430ea7b7bf.jpg","text":"TemporaryFile(/tmp/multipartBody1537230162688430612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454714077,"filename":"image_25112025_19_19_35_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/589ab1f65b5a6174215c7bb00c6cd866.jpg","text":"TemporaryFile(/tmp/multipartBody4623681516283054736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454714077,"filename":"image_25112025_19_19_47_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989624","file1":"1396989620","file0":"1396989617","file4":"1396989626","file5":"1396989627","file3":"1396989625"},"map_files_photo_id_array":[{"photo_id":"1396989627","filename":"file5"},{"photo_id":"1396989624","filename":"file2"},{"photo_id":"1396989626","filename":"file4"},{"photo_id":"1396989620","filename":"file1"},{"photo_id":"1396989617","filename":"file0"},{"photo_id":"1396989625","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396989620":["hashtag1","hashtag2"]},{"1396989625":["hashtag1","hashtag2"]},{"1396989627":["hashtag1","hashtag2"]},{"1396989624":["hashtag1","hashtag2"]},{"1396989617":["hashtag1","hashtag2"]},{"1396989626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396989620, 1396989625, 1396989627, 1396989624, 1396989617, 1396989626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98796200752258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:18:12.101764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_53_3589.jpg', '/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_56_2561.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_02_3583.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_05_2643.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_08_2793.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_12_3718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_53_3589.jpg
/home/pi/Desktop/images/25112025/19/19/image_25112025_19_19_56_2561.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_02_3583.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_05_2643.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_08_2793.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_12_3718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989629","1396989628","1396989631","1396989641","1396989635","1396989638"],"photo_ids_order":["1396989628","1396989629","1396989631","1396989635","1396989638","1396989641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ee445ab0f304e5eb00f8a6d014476cd.jpg","text":"TemporaryFile(/tmp/multipartBody5019251925930641682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454754220,"filename":"image_25112025_19_19_56_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/30a2ffce35716967610197ea37b09247.jpg","text":"TemporaryFile(/tmp/multipartBody574215930622290204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454754220,"filename":"image_25112025_19_19_53_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1a3d922e0e26e25b96d8e5b22563dc5a.jpg","text":"TemporaryFile(/tmp/multipartBody5931815021403162960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454754220,"filename":"image_25112025_19_20_02_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3d373ed46f2cbd2e1d6db549347d4b6b.jpg","text":"TemporaryFile(/tmp/multipartBody7284823078243317763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454754220,"filename":"image_25112025_19_20_12_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/115ffcc291504cee9eca14019754c11d.jpg","text":"TemporaryFile(/tmp/multipartBody3233345152111211024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454754220,"filename":"image_25112025_19_20_05_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c0e65c2899d1302d1cc90a66fb6be5bf.jpg","text":"TemporaryFile(/tmp/multipartBody5723888881942822939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454754220,"filename":"image_25112025_19_20_08_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989631","file1":"1396989629","file0":"1396989628","file4":"1396989638","file5":"1396989641","file3":"1396989635"},"map_files_photo_id_array":[{"photo_id":"1396989641","filename":"file5"},{"photo_id":"1396989631","filename":"file2"},{"photo_id":"1396989638","filename":"file4"},{"photo_id":"1396989629","filename":"file1"},{"photo_id":"1396989628","filename":"file0"},{"photo_id":"1396989635","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396989629":["hashtag1","hashtag2"]},{"1396989628":["hashtag1","hashtag2"]},{"1396989631":["hashtag1","hashtag2"]},{"1396989641":["hashtag1","hashtag2"]},{"1396989635":["hashtag1","hashtag2"]},{"1396989638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396989629, 1396989628, 1396989631, 1396989641, 1396989635, 1396989638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08597445487976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:19:03.207752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_14_9748.jpg', '/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_25_10678.jpg', '/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_35_9609.jpg', '/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_44_9584.jpg', '/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_55_10598.jpg', '/home/pi/Desktop/images/29112025/22/26/image_29112025_22_27_05_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_14_9748.jpg
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_25_10678.jpg
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_35_9609.jpg
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_44_9584.jpg
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_26_55_10598.jpg
/home/pi/Desktop/images/29112025/22/26/image_29112025_22_27_05_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":["1396989652","1396989646","1396989655","1396989658","1396989648","1396989650"],"photo_ids_order":["1396989646","1396989648","1396989650","1396989652","1396989655","1396989658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5be8bceadfcea33984c6a580cfd85621.jpg","text":"TemporaryFile(/tmp/multipartBody2007960797401686146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454804128,"filename":"image_29112025_22_26_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8f76d2d5627c8628f002cf0d21d366d3.jpg","text":"TemporaryFile(/tmp/multipartBody1082406173274342347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454804128,"filename":"image_29112025_22_26_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/11/29/a0b14cc8637aa0adbd8e1bf214b404d1.jpg","text":"TemporaryFile(/tmp/multipartBody6347353668380324816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454804128,"filename":"image_29112025_22_26_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/11/29/eb7e3b08c6b230eeac4d665b12f0f62e.jpg","text":"TemporaryFile(/tmp/multipartBody6782487002024930427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454804128,"filename":"image_29112025_22_27_05_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9689ae5ecdde02dacec1e060d345d370.jpg","text":"TemporaryFile(/tmp/multipartBody183726691936658828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454804128,"filename":"image_29112025_22_26_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/360bb53703b4e150efb0312bb9f687b7.jpg","text":"TemporaryFile(/tmp/multipartBody4809925597432384127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454804128,"filename":"image_29112025_22_26_35_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989650","file1":"1396989648","file0":"1396989646","file4":"1396989655","file5":"1396989658","file3":"1396989652"},"map_files_photo_id_array":[{"photo_id":"1396989658","filename":"file5"},{"photo_id":"1396989650","filename":"file2"},{"photo_id":"1396989655","filename":"file4"},{"photo_id":"1396989648","filename":"file1"},{"photo_id":"1396989646","filename":"file0"},{"photo_id":"1396989652","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989652":["hashtag1","hashtag2"]},{"1396989646":["hashtag1","hashtag2"]},{"1396989655":["hashtag1","hashtag2"]},{"1396989658":["hashtag1","hashtag2"]},{"1396989648":["hashtag1","hashtag2"]},{"1396989650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989652, 1396989646, 1396989655, 1396989658, 1396989648, 1396989650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95199203491211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:19:42.310597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_08_2650.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_12_3776.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_14_2601.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_17_2821.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_21_3552.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_23_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/11/07/image_31102025_11_07_08_2650.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_12_3776.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_14_2601.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_17_2821.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_21_3552.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_23_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":["1396989670","1396989667","1396989666","1396989669","1396989668","1396989665"],"photo_ids_order":["1396989665","1396989666","1396989667","1396989668","1396989669","1396989670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3ad17ae244f680f8d02cab1c78f84b2a.jpg","text":"TemporaryFile(/tmp/multipartBody3389081973977989511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454843412,"filename":"image_31102025_11_07_23_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6c46659e29414e3098292b7746e374d9.jpg","text":"TemporaryFile(/tmp/multipartBody4069029966308600633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454843412,"filename":"image_31102025_11_07_14_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dce5e88fb17b3dc66fa16f7e2e8315d4.jpg","text":"TemporaryFile(/tmp/multipartBody5256362486518116902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454843412,"filename":"image_31102025_11_07_12_3776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2b49eed9c78cd4760148c0359cbba7cf.jpg","text":"TemporaryFile(/tmp/multipartBody6733859351754299653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454843412,"filename":"image_31102025_11_07_21_3552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6c5066e6bbb985d7707a2120ff4eacb.jpg","text":"TemporaryFile(/tmp/multipartBody914095231761900597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454843412,"filename":"image_31102025_11_07_17_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71b8b08ddb45ac8de81731fba18c20e3.jpg","text":"TemporaryFile(/tmp/multipartBody6295437751292354505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454843412,"filename":"image_31102025_11_07_08_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989667","file1":"1396989666","file0":"1396989665","file4":"1396989669","file5":"1396989670","file3":"1396989668"},"map_files_photo_id_array":[{"photo_id":"1396989670","filename":"file5"},{"photo_id":"1396989667","filename":"file2"},{"photo_id":"1396989669","filename":"file4"},{"photo_id":"1396989666","filename":"file1"},{"photo_id":"1396989665","filename":"file0"},{"photo_id":"1396989668","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989670":["hashtag1","hashtag2"]},{"1396989667":["hashtag1","hashtag2"]},{"1396989666":["hashtag1","hashtag2"]},{"1396989669":["hashtag1","hashtag2"]},{"1396989668":["hashtag1","hashtag2"]},{"1396989665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989670, 1396989667, 1396989666, 1396989669, 1396989668, 1396989665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16643309593201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:20:22.468580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/27/image_29112025_22_27_15_9809.jpg', '/home/pi/Desktop/images/29112025/22/27/image_29112025_22_27_25_10634.jpg', '/home/pi/Desktop/images/29112025/22/27/image_29112025_22_27_35_9820.jpg', '/home/pi/Desktop/images/29112025/22/27/image_29112025_22_27_45_9613.jpg', '/home/pi/Desktop/images/29112025/22/27/image_29112025_22_27_54_9701.jpg', '/home/pi/Desktop/images/29112025/22/27/image_29112025_22_28_05_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/27/image_29112025_22_27_15_9809.jpg
/home/pi/Desktop/images/29112025/22/27/image_29112025_22_27_25_10634.jpg
/home/pi/Desktop/images/29112025/22/27/image_29112025_22_27_35_9820.jpg
/home/pi/Desktop/images/29112025/22/27/image_29112025_22_27_45_9613.jpg
/home/pi/Desktop/images/29112025/22/27/image_29112025_22_27_54_9701.jpg
/home/pi/Desktop/images/29112025/22/27/image_29112025_22_28_05_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989682","1396989673","1396989676","1396989678","1396989686","1396989680"],"photo_ids_order":["1396989673","1396989676","1396989678","1396989680","1396989682","1396989686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/547167c788739ee12635609cf210d3d1.jpg","text":"TemporaryFile(/tmp/multipartBody6401378139761348508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454883142,"filename":"image_29112025_22_27_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/11/29/0b50ae6e88e98eeb75a673388319bebc.jpg","text":"TemporaryFile(/tmp/multipartBody4344581028570690425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454883142,"filename":"image_29112025_22_27_15_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ca2e0b6f5f139fe3e1bb6727299fa96.jpg","text":"TemporaryFile(/tmp/multipartBody3388253615205085246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454883142,"filename":"image_29112025_22_27_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/afb7b63611d0adba32d156168ac5ea64.jpg","text":"TemporaryFile(/tmp/multipartBody2865501556496579846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454883142,"filename":"image_29112025_22_27_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/11/29/4a42e65a20a214e73568e3e081c09b5e.jpg","text":"TemporaryFile(/tmp/multipartBody6921463727133081218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454883142,"filename":"image_29112025_22_28_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/11/29/21b88fc532fcd458f2c8baff482ebd4e.jpg","text":"TemporaryFile(/tmp/multipartBody7962722553016657593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454883142,"filename":"image_29112025_22_27_45_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989678","file1":"1396989676","file0":"1396989673","file4":"1396989682","file5":"1396989686","file3":"1396989680"},"map_files_photo_id_array":[{"photo_id":"1396989686","filename":"file5"},{"photo_id":"1396989678","filename":"file2"},{"photo_id":"1396989682","filename":"file4"},{"photo_id":"1396989676","filename":"file1"},{"photo_id":"1396989673","filename":"file0"},{"photo_id":"1396989680","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989682":["hashtag1","hashtag2"]},{"1396989673":["hashtag1","hashtag2"]},{"1396989676":["hashtag1","hashtag2"]},{"1396989678":["hashtag1","hashtag2"]},{"1396989686":["hashtag1","hashtag2"]},{"1396989680":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989682, 1396989673, 1396989676, 1396989678, 1396989686, 1396989680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56579828262329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:21:03.413436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/28/image_29112025_22_28_15_9736.jpg', '/home/pi/Desktop/images/29112025/22/28/image_29112025_22_28_24_9671.jpg', '/home/pi/Desktop/images/29112025/22/28/image_29112025_22_28_35_10546.jpg', '/home/pi/Desktop/images/29112025/22/28/image_29112025_22_28_45_9650.jpg', '/home/pi/Desktop/images/29112025/22/28/image_29112025_22_28_54_9742.jpg', '/home/pi/Desktop/images/29112025/22/28/image_29112025_22_29_05_10734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/28/image_29112025_22_28_15_9736.jpg
/home/pi/Desktop/images/29112025/22/28/image_29112025_22_28_24_9671.jpg
/home/pi/Desktop/images/29112025/22/28/image_29112025_22_28_35_10546.jpg
/home/pi/Desktop/images/29112025/22/28/image_29112025_22_28_45_9650.jpg
/home/pi/Desktop/images/29112025/22/28/image_29112025_22_28_54_9742.jpg
/home/pi/Desktop/images/29112025/22/28/image_29112025_22_29_05_10734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989691","1396989688","1396989693","1396989696","1396989690","1396989689"],"photo_ids_order":["1396989688","1396989689","1396989690","1396989691","1396989693","1396989696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cdf157d6bec04f0fc4540a1820f81740.jpg","text":"TemporaryFile(/tmp/multipartBody4167502084927680508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454924135,"filename":"image_29112025_22_28_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/11/29/cfeb9ddae3fff783e51a0de5d3ddc840.jpg","text":"TemporaryFile(/tmp/multipartBody7172090732761101271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454924135,"filename":"image_29112025_22_28_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa7bec20a667c86e92f6fbccdff362c4.jpg","text":"TemporaryFile(/tmp/multipartBody8047705131057706089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454924135,"filename":"image_29112025_22_28_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/11/29/54592209c97e7e0978584ee4f73850bf.jpg","text":"TemporaryFile(/tmp/multipartBody7587878853675319026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454924135,"filename":"image_29112025_22_29_05_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d3f0e0a04ffcfb9a11637146ce5117c3.jpg","text":"TemporaryFile(/tmp/multipartBody859538533010017728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454924135,"filename":"image_29112025_22_28_35_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f3a1bf7277bdc20a0549a0cd4e600bc.jpg","text":"TemporaryFile(/tmp/multipartBody1772322924753532265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454924135,"filename":"image_29112025_22_28_24_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989690","file1":"1396989689","file0":"1396989688","file4":"1396989693","file5":"1396989696","file3":"1396989691"},"map_files_photo_id_array":[{"photo_id":"1396989696","filename":"file5"},{"photo_id":"1396989690","filename":"file2"},{"photo_id":"1396989693","filename":"file4"},{"photo_id":"1396989689","filename":"file1"},{"photo_id":"1396989688","filename":"file0"},{"photo_id":"1396989691","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989691":["hashtag1","hashtag2"]},{"1396989688":["hashtag1","hashtag2"]},{"1396989693":["hashtag1","hashtag2"]},{"1396989696":["hashtag1","hashtag2"]},{"1396989690":["hashtag1","hashtag2"]},{"1396989689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989691, 1396989688, 1396989693, 1396989696, 1396989690, 1396989689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88493013381958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:21:42.700855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_30_3850.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_32_2645.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_35_2532.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_38_3677.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_41_2647.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_44_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/11/07/image_31102025_11_07_30_3850.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_32_2645.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_35_2532.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_38_3677.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_41_2647.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_44_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":["1396989707","1396989706","1396989708","1396989705","1396989710","1396989704"],"photo_ids_order":["1396989704","1396989705","1396989706","1396989707","1396989708","1396989710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/666f764b1c94c68a634551f00768fca1.jpg","text":"TemporaryFile(/tmp/multipartBody4621431798411236292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454965210,"filename":"image_31102025_11_07_38_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/71e97a362b3645758cf6745e0c7b4208.jpg","text":"TemporaryFile(/tmp/multipartBody3325206172417050953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454965210,"filename":"image_31102025_11_07_35_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fa33f5c4cf094e0113bc54087943427d.jpg","text":"TemporaryFile(/tmp/multipartBody6119239827041463444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454965210,"filename":"image_31102025_11_07_41_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b0d233fca7673f8024b55ed3b03620a8.jpg","text":"TemporaryFile(/tmp/multipartBody8988738179927516808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454965210,"filename":"image_31102025_11_07_32_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3792e4ab1180ae6fe1bc2869b8f58a3d.jpg","text":"TemporaryFile(/tmp/multipartBody8861368991682974923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454965210,"filename":"image_31102025_11_07_44_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4368ea3cfc66bd927c4e9daf8d815d62.jpg","text":"TemporaryFile(/tmp/multipartBody4577708169571022952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764454965210,"filename":"image_31102025_11_07_30_3850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989706","file1":"1396989705","file0":"1396989704","file4":"1396989708","file5":"1396989710","file3":"1396989707"},"map_files_photo_id_array":[{"photo_id":"1396989710","filename":"file5"},{"photo_id":"1396989706","filename":"file2"},{"photo_id":"1396989708","filename":"file4"},{"photo_id":"1396989705","filename":"file1"},{"photo_id":"1396989704","filename":"file0"},{"photo_id":"1396989707","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989707":["hashtag1","hashtag2"]},{"1396989706":["hashtag1","hashtag2"]},{"1396989708":["hashtag1","hashtag2"]},{"1396989705":["hashtag1","hashtag2"]},{"1396989710":["hashtag1","hashtag2"]},{"1396989704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989707, 1396989706, 1396989708, 1396989705, 1396989710, 1396989704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.126625299453735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:22:21.848155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/29/image_29112025_22_29_15_9589.jpg', '/home/pi/Desktop/images/29112025/22/29/image_29112025_22_29_24_9623.jpg', '/home/pi/Desktop/images/29112025/22/29/image_29112025_22_29_35_10776.jpg', '/home/pi/Desktop/images/29112025/22/29/image_29112025_22_29_45_9649.jpg', '/home/pi/Desktop/images/29112025/22/29/image_29112025_22_29_55_9868.jpg', '/home/pi/Desktop/images/29112025/22/30/image_29112025_22_30_15_10059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/29/image_29112025_22_29_15_9589.jpg
/home/pi/Desktop/images/29112025/22/29/image_29112025_22_29_24_9623.jpg
/home/pi/Desktop/images/29112025/22/29/image_29112025_22_29_35_10776.jpg
/home/pi/Desktop/images/29112025/22/29/image_29112025_22_29_45_9649.jpg
/home/pi/Desktop/images/29112025/22/29/image_29112025_22_29_55_9868.jpg
/home/pi/Desktop/images/29112025/22/30/image_29112025_22_30_15_10059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989713","1396989721","1396989726","1396989723","1396989716","1396989719"],"photo_ids_order":["1396989713","1396989716","1396989719","1396989721","1396989723","1396989726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e772eb1b25eec647e1a52237a5ea7115.jpg","text":"TemporaryFile(/tmp/multipartBody1742487003059363218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455002553,"filename":"image_29112025_22_29_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/11/29/de4059118ab3d1d95a74a9b08840f26e.jpg","text":"TemporaryFile(/tmp/multipartBody4779268040678129759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455002553,"filename":"image_29112025_22_29_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/11/29/52cfd6c38b798d1623f8163d20419004.jpg","text":"TemporaryFile(/tmp/multipartBody5650993418460664309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455002553,"filename":"image_29112025_22_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/11/29/c79682d8fb6d65b3de9d0d01b85f3533.jpg","text":"TemporaryFile(/tmp/multipartBody3309104895581086677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455002553,"filename":"image_29112025_22_29_55_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e013d2f597e5dab721040ed026a6c4cb.jpg","text":"TemporaryFile(/tmp/multipartBody1897727686170221978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455002553,"filename":"image_29112025_22_29_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/11/29/74b86a06bd9ec7f5deaff74732929d34.jpg","text":"TemporaryFile(/tmp/multipartBody3028982223744319358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455002553,"filename":"image_29112025_22_29_35_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989719","file1":"1396989716","file0":"1396989713","file4":"1396989723","file5":"1396989726","file3":"1396989721"},"map_files_photo_id_array":[{"photo_id":"1396989726","filename":"file5"},{"photo_id":"1396989719","filename":"file2"},{"photo_id":"1396989723","filename":"file4"},{"photo_id":"1396989716","filename":"file1"},{"photo_id":"1396989713","filename":"file0"},{"photo_id":"1396989721","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989713":["hashtag1","hashtag2"]},{"1396989721":["hashtag1","hashtag2"]},{"1396989726":["hashtag1","hashtag2"]},{"1396989723":["hashtag1","hashtag2"]},{"1396989716":["hashtag1","hashtag2"]},{"1396989719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989713, 1396989721, 1396989726, 1396989723, 1396989716, 1396989719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77144813537598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:23:02.736801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/30/image_29112025_22_30_25_10671.jpg', '/home/pi/Desktop/images/29112025/22/30/image_29112025_22_30_35_9725.jpg', '/home/pi/Desktop/images/29112025/22/30/image_29112025_22_30_45_9707.jpg', '/home/pi/Desktop/images/29112025/22/30/image_29112025_22_30_55_10652.jpg', '/home/pi/Desktop/images/29112025/22/30/image_29112025_22_31_05_9567.jpg', '/home/pi/Desktop/images/29112025/22/31/image_29112025_22_31_15_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/30/image_29112025_22_30_25_10671.jpg
/home/pi/Desktop/images/29112025/22/30/image_29112025_22_30_35_9725.jpg
/home/pi/Desktop/images/29112025/22/30/image_29112025_22_30_45_9707.jpg
/home/pi/Desktop/images/29112025/22/30/image_29112025_22_30_55_10652.jpg
/home/pi/Desktop/images/29112025/22/30/image_29112025_22_31_05_9567.jpg
/home/pi/Desktop/images/29112025/22/31/image_29112025_22_31_15_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989728","1396989733","1396989736","1396989730","1396989729","1396989731"],"photo_ids_order":["1396989728","1396989729","1396989730","1396989731","1396989733","1396989736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dead9b5da1bbea24eee5bb65a2caa4c8.jpg","text":"TemporaryFile(/tmp/multipartBody4943441505137731489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455043488,"filename":"image_29112025_22_30_25_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1f8afc439c822aedb3dd63d555191fe5.jpg","text":"TemporaryFile(/tmp/multipartBody3329801110265747017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455043488,"filename":"image_29112025_22_31_05_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ae079cc6cf82fc9711baf0b21a7dd755.jpg","text":"TemporaryFile(/tmp/multipartBody8007041299930543478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455043488,"filename":"image_29112025_22_31_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/11/29/f79a96455770c1aafb63e687c01905c1.jpg","text":"TemporaryFile(/tmp/multipartBody966090415430797938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455043488,"filename":"image_29112025_22_30_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/11/29/17e706dfa4a3a7dd241322166dff7b39.jpg","text":"TemporaryFile(/tmp/multipartBody4451836853306842339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455043488,"filename":"image_29112025_22_30_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/11/29/1bb10e020542c1f2b9bb3fa4ff0b4fae.jpg","text":"TemporaryFile(/tmp/multipartBody2862387799686026323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455043488,"filename":"image_29112025_22_30_55_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989730","file1":"1396989729","file0":"1396989728","file4":"1396989733","file5":"1396989736","file3":"1396989731"},"map_files_photo_id_array":[{"photo_id":"1396989736","filename":"file5"},{"photo_id":"1396989730","filename":"file2"},{"photo_id":"1396989733","filename":"file4"},{"photo_id":"1396989729","filename":"file1"},{"photo_id":"1396989728","filename":"file0"},{"photo_id":"1396989731","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989728":["hashtag1","hashtag2"]},{"1396989733":["hashtag1","hashtag2"]},{"1396989736":["hashtag1","hashtag2"]},{"1396989730":["hashtag1","hashtag2"]},{"1396989729":["hashtag1","hashtag2"]},{"1396989731":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989728, 1396989733, 1396989736, 1396989730, 1396989729, 1396989731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.025787115097046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:23:42.186492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_47_2812.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_50_3639.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_53_2532.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_56_3638.jpg', '/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_59_2791.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_02_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/11/07/image_31102025_11_07_47_2812.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_50_3639.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_53_2532.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_56_3638.jpg
/home/pi/Desktop/images/31102025/11/07/image_31102025_11_07_59_2791.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_02_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":["1396989745","1396989748","1396989744","1396989747","1396989749","1396989746"],"photo_ids_order":["1396989744","1396989745","1396989746","1396989747","1396989748","1396989749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a2047bc187fe2eba90d7f3fa38f165cb.jpg","text":"TemporaryFile(/tmp/multipartBody8873473603243964124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455083236,"filename":"image_31102025_11_07_50_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f9677056fe9329259f41ffc81baf413a.jpg","text":"TemporaryFile(/tmp/multipartBody4740986125465626450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455083236,"filename":"image_31102025_11_07_59_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ace6f85e00efdd1cc5b5bcd1bb2f648a.jpg","text":"TemporaryFile(/tmp/multipartBody4512440754226003262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455083236,"filename":"image_31102025_11_07_47_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bcac3a990ab08a488a8fa9a0a559c173.jpg","text":"TemporaryFile(/tmp/multipartBody4847486906553486150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455083236,"filename":"image_31102025_11_07_56_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e869a5722d0b8049f9b1de07ca14d820.jpg","text":"TemporaryFile(/tmp/multipartBody4154124553851659632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455083236,"filename":"image_31102025_11_08_02_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/02c163612f7ea5b0d784633675ba1e3e.jpg","text":"TemporaryFile(/tmp/multipartBody8287474782032255469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455083236,"filename":"image_31102025_11_07_53_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989746","file1":"1396989745","file0":"1396989744","file4":"1396989748","file5":"1396989749","file3":"1396989747"},"map_files_photo_id_array":[{"photo_id":"1396989749","filename":"file5"},{"photo_id":"1396989746","filename":"file2"},{"photo_id":"1396989748","filename":"file4"},{"photo_id":"1396989745","filename":"file1"},{"photo_id":"1396989744","filename":"file0"},{"photo_id":"1396989747","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989745":["hashtag1","hashtag2"]},{"1396989748":["hashtag1","hashtag2"]},{"1396989744":["hashtag1","hashtag2"]},{"1396989747":["hashtag1","hashtag2"]},{"1396989749":["hashtag1","hashtag2"]},{"1396989746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989745, 1396989748, 1396989744, 1396989747, 1396989749, 1396989746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17691230773926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:24:22.374231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/31/image_29112025_22_31_25_10660.jpg', '/home/pi/Desktop/images/29112025/22/31/image_29112025_22_31_35_9709.jpg', '/home/pi/Desktop/images/29112025/22/31/image_29112025_22_31_45_9586.jpg', '/home/pi/Desktop/images/29112025/22/31/image_29112025_22_31_55_10781.jpg', '/home/pi/Desktop/images/29112025/22/31/image_29112025_22_32_05_9700.jpg', '/home/pi/Desktop/images/29112025/22/32/image_29112025_22_32_15_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/31/image_29112025_22_31_25_10660.jpg
/home/pi/Desktop/images/29112025/22/31/image_29112025_22_31_35_9709.jpg
/home/pi/Desktop/images/29112025/22/31/image_29112025_22_31_45_9586.jpg
/home/pi/Desktop/images/29112025/22/31/image_29112025_22_31_55_10781.jpg
/home/pi/Desktop/images/29112025/22/31/image_29112025_22_32_05_9700.jpg
/home/pi/Desktop/images/29112025/22/32/image_29112025_22_32_15_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":["1396989763","1396989765","1396989753","1396989761","1396989755","1396989758"],"photo_ids_order":["1396989753","1396989755","1396989758","1396989761","1396989763","1396989765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fafe2ec6f8182c707c75351ceffd3a96.jpg","text":"TemporaryFile(/tmp/multipartBody8507323531831216837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455123021,"filename":"image_29112025_22_32_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/11/29/ec71ba5154acdffaecc02f4c23a4475a.jpg","text":"TemporaryFile(/tmp/multipartBody4608961349859906896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455123021,"filename":"image_29112025_22_32_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/11/29/638fc2c9b2cd05f0739a2f8807a23b88.jpg","text":"TemporaryFile(/tmp/multipartBody791690866494376797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455123021,"filename":"image_29112025_22_31_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/13caf22476c619d37003c8903e7913d8.jpg","text":"TemporaryFile(/tmp/multipartBody8857013744928876294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455123021,"filename":"image_29112025_22_31_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/11/29/bc6feae42d4c510d54db66ef38fdda3f.jpg","text":"TemporaryFile(/tmp/multipartBody3082527109060897224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455123021,"filename":"image_29112025_22_31_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/11/29/45202a9538da0389bd008559fd501bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8257655635502777379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455123021,"filename":"image_29112025_22_31_45_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989758","file1":"1396989755","file0":"1396989753","file4":"1396989763","file5":"1396989765","file3":"1396989761"},"map_files_photo_id_array":[{"photo_id":"1396989765","filename":"file5"},{"photo_id":"1396989758","filename":"file2"},{"photo_id":"1396989763","filename":"file4"},{"photo_id":"1396989755","filename":"file1"},{"photo_id":"1396989753","filename":"file0"},{"photo_id":"1396989761","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989763":["hashtag1","hashtag2"]},{"1396989765":["hashtag1","hashtag2"]},{"1396989753":["hashtag1","hashtag2"]},{"1396989761":["hashtag1","hashtag2"]},{"1396989755":["hashtag1","hashtag2"]},{"1396989758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989763, 1396989765, 1396989753, 1396989761, 1396989755, 1396989758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71177291870117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:25:03.204861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/32/image_29112025_22_32_26_10831.jpg', '/home/pi/Desktop/images/29112025/22/32/image_29112025_22_32_35_9761.jpg', '/home/pi/Desktop/images/29112025/22/32/image_29112025_22_32_45_9619.jpg', '/home/pi/Desktop/images/29112025/22/32/image_29112025_22_32_55_9718.jpg', '/home/pi/Desktop/images/29112025/22/32/image_29112025_22_33_06_10852.jpg', '/home/pi/Desktop/images/29112025/22/33/image_29112025_22_33_15_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/32/image_29112025_22_32_26_10831.jpg
/home/pi/Desktop/images/29112025/22/32/image_29112025_22_32_35_9761.jpg
/home/pi/Desktop/images/29112025/22/32/image_29112025_22_32_45_9619.jpg
/home/pi/Desktop/images/29112025/22/32/image_29112025_22_32_55_9718.jpg
/home/pi/Desktop/images/29112025/22/32/image_29112025_22_33_06_10852.jpg
/home/pi/Desktop/images/29112025/22/33/image_29112025_22_33_15_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989766","1396989769","1396989774","1396989768","1396989771","1396989767"],"photo_ids_order":["1396989766","1396989767","1396989768","1396989769","1396989771","1396989774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c897eebfc6d11620bd7237fc3ecac94b.jpg","text":"TemporaryFile(/tmp/multipartBody3222420381372357908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455163948,"filename":"image_29112025_22_32_26_10831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1dddb06d670e770df884cb1bc7672bee.jpg","text":"TemporaryFile(/tmp/multipartBody2467554649202690989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455163948,"filename":"image_29112025_22_32_55_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38c2677febf16fb98feb450f5064bbc2.jpg","text":"TemporaryFile(/tmp/multipartBody3061361589705954328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455163948,"filename":"image_29112025_22_33_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/11/29/abc0bbc073b392c90ff08e791498a945.jpg","text":"TemporaryFile(/tmp/multipartBody1682795196181066503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455163948,"filename":"image_29112025_22_32_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ea5373492f554a8e9278d1f1fb1424e.jpg","text":"TemporaryFile(/tmp/multipartBody3760074436098515091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455163948,"filename":"image_29112025_22_33_06_10852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/400792898c8937d682d50447bcbca111.jpg","text":"TemporaryFile(/tmp/multipartBody4868744852927223368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455163948,"filename":"image_29112025_22_32_35_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989768","file1":"1396989767","file0":"1396989766","file4":"1396989771","file5":"1396989774","file3":"1396989769"},"map_files_photo_id_array":[{"photo_id":"1396989774","filename":"file5"},{"photo_id":"1396989768","filename":"file2"},{"photo_id":"1396989771","filename":"file4"},{"photo_id":"1396989767","filename":"file1"},{"photo_id":"1396989766","filename":"file0"},{"photo_id":"1396989769","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989766":["hashtag1","hashtag2"]},{"1396989769":["hashtag1","hashtag2"]},{"1396989774":["hashtag1","hashtag2"]},{"1396989768":["hashtag1","hashtag2"]},{"1396989771":["hashtag1","hashtag2"]},{"1396989767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989766, 1396989769, 1396989774, 1396989768, 1396989771, 1396989767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17348313331604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:25:42.629462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_05_2816.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_08_3604.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_11_2774.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_14_2766.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_17_3641.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_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/11/08/image_31102025_11_08_05_2816.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_08_3604.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_11_2774.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_14_2766.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_17_3641.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_20_2793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989784","1396989787","1396989786","1396989783","1396989785","1396989782"],"photo_ids_order":["1396989782","1396989783","1396989784","1396989785","1396989786","1396989787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a880a2387cf6f5280352826be64847ee.jpg","text":"TemporaryFile(/tmp/multipartBody2001132568147746086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455208148,"filename":"image_31102025_11_08_11_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/63143cc36facb1fba17de19b686c4b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7603383611927191821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455208148,"filename":"image_31102025_11_08_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/11/29/1ab8cf68795a90d2211e9f04c4617f17.jpg","text":"TemporaryFile(/tmp/multipartBody1513300860982866705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455208148,"filename":"image_31102025_11_08_17_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/736a86ff23248e8fe47adba9e2af2de5.jpg","text":"TemporaryFile(/tmp/multipartBody3531028082318868799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455208148,"filename":"image_31102025_11_08_08_3604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7724c4dac92f03fdf9c81fe81da63e5.jpg","text":"TemporaryFile(/tmp/multipartBody1764854360238056226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455208148,"filename":"image_31102025_11_08_14_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/85a9f0f969c91025cdb536ee9979b608.jpg","text":"TemporaryFile(/tmp/multipartBody4676401412427836171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455208148,"filename":"image_31102025_11_08_05_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989784","file1":"1396989783","file0":"1396989782","file4":"1396989786","file5":"1396989787","file3":"1396989785"},"map_files_photo_id_array":[{"photo_id":"1396989787","filename":"file5"},{"photo_id":"1396989784","filename":"file2"},{"photo_id":"1396989786","filename":"file4"},{"photo_id":"1396989783","filename":"file1"},{"photo_id":"1396989782","filename":"file0"},{"photo_id":"1396989785","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989784":["hashtag1","hashtag2"]},{"1396989787":["hashtag1","hashtag2"]},{"1396989786":["hashtag1","hashtag2"]},{"1396989783":["hashtag1","hashtag2"]},{"1396989785":["hashtag1","hashtag2"]},{"1396989782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989784, 1396989787, 1396989786, 1396989783, 1396989785, 1396989782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.950817584991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:26:32.326765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_14_2653.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_17_2654.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_25_1694.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_27_1575.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_30_2677.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_32_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_14_2653.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_17_2654.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_25_1694.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_27_1575.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_30_2677.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_32_2575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989809","1396989805","1396989795","1396989807","1396989797","1396989801"],"photo_ids_order":["1396989795","1396989797","1396989801","1396989805","1396989807","1396989809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c7f5c470e517e49d8b4f512cbf3b72b.jpg","text":"TemporaryFile(/tmp/multipartBody5480041279101157810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455255494,"filename":"image_25112025_19_20_32_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/831a67770c4455513d7e025d445ee6c5.jpg","text":"TemporaryFile(/tmp/multipartBody6907445732607122483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455255494,"filename":"image_25112025_19_20_27_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9cce4b260f388f124c65fa998d4acc9e.jpg","text":"TemporaryFile(/tmp/multipartBody7182028995772957504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455255494,"filename":"image_25112025_19_20_14_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/099fe58f1a6a78e5496cf92c4384c633.jpg","text":"TemporaryFile(/tmp/multipartBody1200178402083809591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455255494,"filename":"image_25112025_19_20_30_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/68f30da9998e22451b0e55edebee7792.jpg","text":"TemporaryFile(/tmp/multipartBody2144513835860683673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455255494,"filename":"image_25112025_19_20_17_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a69a0b62da82ef8e59936e6c0f907e82.jpg","text":"TemporaryFile(/tmp/multipartBody461805291209754604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455255494,"filename":"image_25112025_19_20_25_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989801","file1":"1396989797","file0":"1396989795","file4":"1396989807","file5":"1396989809","file3":"1396989805"},"map_files_photo_id_array":[{"photo_id":"1396989809","filename":"file5"},{"photo_id":"1396989801","filename":"file2"},{"photo_id":"1396989807","filename":"file4"},{"photo_id":"1396989797","filename":"file1"},{"photo_id":"1396989795","filename":"file0"},{"photo_id":"1396989805","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396989809":["hashtag1","hashtag2"]},{"1396989805":["hashtag1","hashtag2"]},{"1396989795":["hashtag1","hashtag2"]},{"1396989807":["hashtag1","hashtag2"]},{"1396989797":["hashtag1","hashtag2"]},{"1396989801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396989809, 1396989805, 1396989795, 1396989807, 1396989797, 1396989801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.289573431015015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:27:12.510376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_35_2769.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_39_3628.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_41_2592.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_44_2640.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_47_3626.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_50_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_35_2769.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_39_3628.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_41_2592.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_44_2640.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_47_3626.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_50_2602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989812","1396989820","1396989814","1396989823","1396989817","1396989818"],"photo_ids_order":["1396989812","1396989814","1396989817","1396989818","1396989820","1396989823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/58098eb69b4c512de6a89275049bd5a4.jpg","text":"TemporaryFile(/tmp/multipartBody4620892454270852221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455294590,"filename":"image_25112025_19_20_35_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a3690cc57e953293a13367e1ae887a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2162026615940735115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455294590,"filename":"image_25112025_19_20_47_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/49660a5f16481eaaf58fa2e8cbc3a54b.jpg","text":"TemporaryFile(/tmp/multipartBody7674472283844076649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455294590,"filename":"image_25112025_19_20_39_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92a1ccb785512347eee1e344d7ab7711.jpg","text":"TemporaryFile(/tmp/multipartBody603666464356624891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455294590,"filename":"image_25112025_19_20_50_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/431b76c16ea1a1f6f37d5cd10a2f43dc.jpg","text":"TemporaryFile(/tmp/multipartBody4411496969733104059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455294590,"filename":"image_25112025_19_20_41_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fbda889fb48bbc2d01a57e6f1a0ca3d.jpg","text":"TemporaryFile(/tmp/multipartBody6666062164613031967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455294590,"filename":"image_25112025_19_20_44_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989817","file1":"1396989814","file0":"1396989812","file4":"1396989820","file5":"1396989823","file3":"1396989818"},"map_files_photo_id_array":[{"photo_id":"1396989823","filename":"file5"},{"photo_id":"1396989817","filename":"file2"},{"photo_id":"1396989820","filename":"file4"},{"photo_id":"1396989814","filename":"file1"},{"photo_id":"1396989812","filename":"file0"},{"photo_id":"1396989818","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396989812":["hashtag1","hashtag2"]},{"1396989820":["hashtag1","hashtag2"]},{"1396989814":["hashtag1","hashtag2"]},{"1396989823":["hashtag1","hashtag2"]},{"1396989817":["hashtag1","hashtag2"]},{"1396989818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396989812, 1396989820, 1396989814, 1396989823, 1396989817, 1396989818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.597952365875244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:28:03.207837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/33/image_29112025_22_33_25_9698.jpg', '/home/pi/Desktop/images/29112025/22/33/image_29112025_22_33_36_10711.jpg', '/home/pi/Desktop/images/29112025/22/33/image_29112025_22_33_45_9732.jpg', '/home/pi/Desktop/images/29112025/22/33/image_29112025_22_33_55_9615.jpg', '/home/pi/Desktop/images/29112025/22/33/image_29112025_22_34_06_10628.jpg', '/home/pi/Desktop/images/29112025/22/34/image_29112025_22_34_15_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/33/image_29112025_22_33_25_9698.jpg
/home/pi/Desktop/images/29112025/22/33/image_29112025_22_33_36_10711.jpg
/home/pi/Desktop/images/29112025/22/33/image_29112025_22_33_45_9732.jpg
/home/pi/Desktop/images/29112025/22/33/image_29112025_22_33_55_9615.jpg
/home/pi/Desktop/images/29112025/22/33/image_29112025_22_34_06_10628.jpg
/home/pi/Desktop/images/29112025/22/34/image_29112025_22_34_15_9616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989827","1396989826","1396989829","1396989831","1396989834","1396989828"],"photo_ids_order":["1396989826","1396989827","1396989828","1396989829","1396989831","1396989834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/be5c9ea1d92289d5f6eb6852e92ae98b.jpg","text":"TemporaryFile(/tmp/multipartBody679936118821647807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455343908,"filename":"image_29112025_22_33_36_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5d58cf10417feff006cb78ab0c40a9ad.jpg","text":"TemporaryFile(/tmp/multipartBody1525257508592186436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455343908,"filename":"image_29112025_22_33_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/11/29/803114ba09450707f6208d212efb4867.jpg","text":"TemporaryFile(/tmp/multipartBody4745022966616264596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455343908,"filename":"image_29112025_22_33_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/11/29/6fc4832d7e5af5d3efd2b77052b0dadd.jpg","text":"TemporaryFile(/tmp/multipartBody6298476250540654959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455343908,"filename":"image_29112025_22_34_06_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3145fe5eee08dd222c5473bd2d7c0087.jpg","text":"TemporaryFile(/tmp/multipartBody6636421822110131720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455343908,"filename":"image_29112025_22_34_15_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/89b8df3662d4ab2f479cbd8b248ce887.jpg","text":"TemporaryFile(/tmp/multipartBody5771005781287944040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455343908,"filename":"image_29112025_22_33_45_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989828","file1":"1396989827","file0":"1396989826","file4":"1396989831","file5":"1396989834","file3":"1396989829"},"map_files_photo_id_array":[{"photo_id":"1396989834","filename":"file5"},{"photo_id":"1396989828","filename":"file2"},{"photo_id":"1396989831","filename":"file4"},{"photo_id":"1396989827","filename":"file1"},{"photo_id":"1396989826","filename":"file0"},{"photo_id":"1396989829","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989827":["hashtag1","hashtag2"]},{"1396989826":["hashtag1","hashtag2"]},{"1396989829":["hashtag1","hashtag2"]},{"1396989831":["hashtag1","hashtag2"]},{"1396989834":["hashtag1","hashtag2"]},{"1396989828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989827, 1396989826, 1396989829, 1396989831, 1396989834, 1396989828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45149850845337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:28:42.891214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_23_2835.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_26_2573.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_29_3664.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_32_2850.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_35_2869.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_41_3703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980708&datou=0
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_23_2835.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_26_2573.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_29_3664.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_32_2850.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_35_2869.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_41_3703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989844","1396989847","1396989843","1396989846","1396989842","1396989845"],"photo_ids_order":["1396989842","1396989843","1396989844","1396989845","1396989846","1396989847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/24235b29b070c3f092e59ee8fb28db5f.jpg","text":"TemporaryFile(/tmp/multipartBody2400121380044520524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455384010,"filename":"image_31102025_11_08_29_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a84ac1e184867a24786b713adaa98928.jpg","text":"TemporaryFile(/tmp/multipartBody1538519409370201915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455384010,"filename":"image_31102025_11_08_41_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/826a25e11e00e99945aac822b84c3402.jpg","text":"TemporaryFile(/tmp/multipartBody2094806915782222762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455384010,"filename":"image_31102025_11_08_26_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0ba35a4c8e700acad26b49f59b684a9.jpg","text":"TemporaryFile(/tmp/multipartBody4573770147517377412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455384010,"filename":"image_31102025_11_08_35_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/876008cbd3bfee1884e40ac903d67005.jpg","text":"TemporaryFile(/tmp/multipartBody7926982754427860945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455384010,"filename":"image_31102025_11_08_23_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0481bbe6c4598cf2a758da10d73ed4a7.jpg","text":"TemporaryFile(/tmp/multipartBody6177980985278416080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455384010,"filename":"image_31102025_11_08_32_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989844","file1":"1396989843","file0":"1396989842","file4":"1396989846","file5":"1396989847","file3":"1396989845"},"map_files_photo_id_array":[{"photo_id":"1396989847","filename":"file5"},{"photo_id":"1396989844","filename":"file2"},{"photo_id":"1396989846","filename":"file4"},{"photo_id":"1396989843","filename":"file1"},{"photo_id":"1396989842","filename":"file0"},{"photo_id":"1396989845","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989844":["hashtag1","hashtag2"]},{"1396989847":["hashtag1","hashtag2"]},{"1396989843":["hashtag1","hashtag2"]},{"1396989846":["hashtag1","hashtag2"]},{"1396989842":["hashtag1","hashtag2"]},{"1396989845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989844, 1396989847, 1396989843, 1396989846, 1396989842, 1396989845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86385488510132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:29:22.101605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/34/image_29112025_22_34_25_9742.jpg', '/home/pi/Desktop/images/29112025/22/34/image_29112025_22_34_36_10569.jpg', '/home/pi/Desktop/images/29112025/22/34/image_29112025_22_34_45_9568.jpg', '/home/pi/Desktop/images/29112025/22/34/image_29112025_22_34_55_9789.jpg', '/home/pi/Desktop/images/29112025/22/35/image_29112025_22_35_14_10057.jpg', '/home/pi/Desktop/images/29112025/22/35/image_29112025_22_35_25_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/34/image_29112025_22_34_25_9742.jpg
/home/pi/Desktop/images/29112025/22/34/image_29112025_22_34_36_10569.jpg
/home/pi/Desktop/images/29112025/22/34/image_29112025_22_34_45_9568.jpg
/home/pi/Desktop/images/29112025/22/34/image_29112025_22_34_55_9789.jpg
/home/pi/Desktop/images/29112025/22/35/image_29112025_22_35_14_10057.jpg
/home/pi/Desktop/images/29112025/22/35/image_29112025_22_35_25_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989861","1396989858","1396989866","1396989851","1396989854","1396989863"],"photo_ids_order":["1396989851","1396989854","1396989858","1396989861","1396989863","1396989866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ee251f4c4fe2903facd13c1090335959.jpg","text":"TemporaryFile(/tmp/multipartBody1836473657134865268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455422778,"filename":"image_29112025_22_34_55_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7912054151b2fa1299accdd9a2e4249e.jpg","text":"TemporaryFile(/tmp/multipartBody358361522119894693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455422778,"filename":"image_29112025_22_34_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/11/29/492828eb3799f3b2365a5ba6260f94fc.jpg","text":"TemporaryFile(/tmp/multipartBody6472145440022375865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455422778,"filename":"image_29112025_22_35_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/11/29/bdbe82a5e07fd08bb0b57820e51a6f58.jpg","text":"TemporaryFile(/tmp/multipartBody6994940009449490891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455422778,"filename":"image_29112025_22_34_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/11/29/e85fe9710c069b7a7c61347810d95f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6159182541620983741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455422778,"filename":"image_29112025_22_34_36_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b908e80a877f94094813814bd66512e3.jpg","text":"TemporaryFile(/tmp/multipartBody2553324858368844564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455422778,"filename":"image_29112025_22_35_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989858","file1":"1396989854","file0":"1396989851","file4":"1396989863","file5":"1396989866","file3":"1396989861"},"map_files_photo_id_array":[{"photo_id":"1396989866","filename":"file5"},{"photo_id":"1396989858","filename":"file2"},{"photo_id":"1396989863","filename":"file4"},{"photo_id":"1396989854","filename":"file1"},{"photo_id":"1396989851","filename":"file0"},{"photo_id":"1396989861","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989861":["hashtag1","hashtag2"]},{"1396989858":["hashtag1","hashtag2"]},{"1396989866":["hashtag1","hashtag2"]},{"1396989851":["hashtag1","hashtag2"]},{"1396989854":["hashtag1","hashtag2"]},{"1396989863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989861, 1396989858, 1396989866, 1396989851, 1396989854, 1396989863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.259296894073486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:30:02.697518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/35/image_29112025_22_35_35_9793.jpg', '/home/pi/Desktop/images/29112025/22/35/image_29112025_22_35_45_9667.jpg', '/home/pi/Desktop/images/29112025/22/35/image_29112025_22_35_55_10667.jpg', '/home/pi/Desktop/images/29112025/22/35/image_29112025_22_36_05_9632.jpg', '/home/pi/Desktop/images/29112025/22/36/image_29112025_22_36_14_9561.jpg', '/home/pi/Desktop/images/29112025/22/36/image_29112025_22_36_25_10853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/35/image_29112025_22_35_35_9793.jpg
/home/pi/Desktop/images/29112025/22/35/image_29112025_22_35_45_9667.jpg
/home/pi/Desktop/images/29112025/22/35/image_29112025_22_35_55_10667.jpg
/home/pi/Desktop/images/29112025/22/35/image_29112025_22_36_05_9632.jpg
/home/pi/Desktop/images/29112025/22/36/image_29112025_22_36_14_9561.jpg
/home/pi/Desktop/images/29112025/22/36/image_29112025_22_36_25_10853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989868","1396989867","1396989870","1396989872","1396989875","1396989869"],"photo_ids_order":["1396989867","1396989868","1396989869","1396989870","1396989872","1396989875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5de7b24dd0dac443f5295aca1a13e19b.jpg","text":"TemporaryFile(/tmp/multipartBody6093651183260498306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455463470,"filename":"image_29112025_22_35_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cc4fe8b7d437fa89a6d6048227176c34.jpg","text":"TemporaryFile(/tmp/multipartBody3483832166281389994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455463470,"filename":"image_29112025_22_35_35_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a8474d920fb427ff1ec55ca425aba3b.jpg","text":"TemporaryFile(/tmp/multipartBody3363701735730865055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455463470,"filename":"image_29112025_22_36_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/de44117a476da1c3a0b1c8912ed204bb.jpg","text":"TemporaryFile(/tmp/multipartBody87430124933103869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455463470,"filename":"image_29112025_22_36_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/11/29/c67d74c8eb9ace8b0b85d2131752d270.jpg","text":"TemporaryFile(/tmp/multipartBody7056200623202748300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455463470,"filename":"image_29112025_22_36_25_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e7a3e345537bb8a0e6d7520048ee6bdf.jpg","text":"TemporaryFile(/tmp/multipartBody226616050924137558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455463470,"filename":"image_29112025_22_35_55_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989869","file1":"1396989868","file0":"1396989867","file4":"1396989872","file5":"1396989875","file3":"1396989870"},"map_files_photo_id_array":[{"photo_id":"1396989875","filename":"file5"},{"photo_id":"1396989869","filename":"file2"},{"photo_id":"1396989872","filename":"file4"},{"photo_id":"1396989868","filename":"file1"},{"photo_id":"1396989867","filename":"file0"},{"photo_id":"1396989870","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989868":["hashtag1","hashtag2"]},{"1396989867":["hashtag1","hashtag2"]},{"1396989870":["hashtag1","hashtag2"]},{"1396989872":["hashtag1","hashtag2"]},{"1396989875":["hashtag1","hashtag2"]},{"1396989869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989868, 1396989867, 1396989870, 1396989872, 1396989875, 1396989869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71310210227966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:30:42.230617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_44_2736.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_47_2778.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_50_2713.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_53_3732.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_56_2984.jpg', '/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_59_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/11/08/image_31102025_11_08_44_2736.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_47_2778.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_50_2713.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_53_3732.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_56_2984.jpg
/home/pi/Desktop/images/31102025/11/08/image_31102025_11_08_59_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":["1396989889","1396989886","1396989885","1396989882","1396989884","1396989887"],"photo_ids_order":["1396989882","1396989884","1396989885","1396989886","1396989887","1396989889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/866e8e918fe83be17d6dd95df96c3333.jpg","text":"TemporaryFile(/tmp/multipartBody8449707831336870693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455503408,"filename":"image_31102025_11_08_59_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/50ff1ca9da46ba035212f8b133e2cc5b.jpg","text":"TemporaryFile(/tmp/multipartBody1185128158202183221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455503408,"filename":"image_31102025_11_08_53_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aa5a8c7852999bf4645f5fe55dde505c.jpg","text":"TemporaryFile(/tmp/multipartBody3060137834131239518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455503408,"filename":"image_31102025_11_08_50_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4f4c92d058fb8dfe0f8b12caf0741e2f.jpg","text":"TemporaryFile(/tmp/multipartBody6296555918677743478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455503408,"filename":"image_31102025_11_08_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/11/29/42d2afb411015f57fc091897e3015faf.jpg","text":"TemporaryFile(/tmp/multipartBody9184094600326485182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455503408,"filename":"image_31102025_11_08_47_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22dfc4c188ee163b0addcafb3db3be30.jpg","text":"TemporaryFile(/tmp/multipartBody2793634620273580682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455503408,"filename":"image_31102025_11_08_56_2984.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989885","file1":"1396989884","file0":"1396989882","file4":"1396989887","file5":"1396989889","file3":"1396989886"},"map_files_photo_id_array":[{"photo_id":"1396989889","filename":"file5"},{"photo_id":"1396989885","filename":"file2"},{"photo_id":"1396989887","filename":"file4"},{"photo_id":"1396989884","filename":"file1"},{"photo_id":"1396989882","filename":"file0"},{"photo_id":"1396989886","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989889":["hashtag1","hashtag2"]},{"1396989886":["hashtag1","hashtag2"]},{"1396989885":["hashtag1","hashtag2"]},{"1396989882":["hashtag1","hashtag2"]},{"1396989884":["hashtag1","hashtag2"]},{"1396989887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989889, 1396989886, 1396989885, 1396989882, 1396989884, 1396989887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97363543510437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:31:22.512237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/36/image_29112025_22_36_35_9616.jpg', '/home/pi/Desktop/images/29112025/22/36/image_29112025_22_36_45_9698.jpg', '/home/pi/Desktop/images/29112025/22/36/image_29112025_22_36_55_10580.jpg', '/home/pi/Desktop/images/29112025/22/36/image_29112025_22_37_05_9634.jpg', '/home/pi/Desktop/images/29112025/22/37/image_29112025_22_37_15_9788.jpg', '/home/pi/Desktop/images/29112025/22/37/image_29112025_22_37_24_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/36/image_29112025_22_36_35_9616.jpg
/home/pi/Desktop/images/29112025/22/36/image_29112025_22_36_45_9698.jpg
/home/pi/Desktop/images/29112025/22/36/image_29112025_22_36_55_10580.jpg
/home/pi/Desktop/images/29112025/22/36/image_29112025_22_37_05_9634.jpg
/home/pi/Desktop/images/29112025/22/37/image_29112025_22_37_15_9788.jpg
/home/pi/Desktop/images/29112025/22/37/image_29112025_22_37_24_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989895","1396989901","1396989891","1396989897","1396989899","1396989893"],"photo_ids_order":["1396989891","1396989893","1396989895","1396989897","1396989899","1396989901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3aecdde3ff1f4f4aab8303fecead8740.jpg","text":"TemporaryFile(/tmp/multipartBody6142053632639177346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455543252,"filename":"image_29112025_22_36_55_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/47d95f704da46dffd77d75edd7786f75.jpg","text":"TemporaryFile(/tmp/multipartBody6853038506381973044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455543252,"filename":"image_29112025_22_37_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/04e2878590a57fd3220249a058aac4ad.jpg","text":"TemporaryFile(/tmp/multipartBody4796033804211283969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455543252,"filename":"image_29112025_22_36_35_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/266d7b36d9be52db1d0694e2f76a0d91.jpg","text":"TemporaryFile(/tmp/multipartBody2703931516088516113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455543252,"filename":"image_29112025_22_37_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/11/29/5322bbe6f3eb7fbc243b6436fad13eff.jpg","text":"TemporaryFile(/tmp/multipartBody7932317003879514625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455543252,"filename":"image_29112025_22_37_15_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/95a1d5be33c3383ddcb7ca5e31f1b74f.jpg","text":"TemporaryFile(/tmp/multipartBody1503122185896170687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455543252,"filename":"image_29112025_22_36_45_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989895","file1":"1396989893","file0":"1396989891","file4":"1396989899","file5":"1396989901","file3":"1396989897"},"map_files_photo_id_array":[{"photo_id":"1396989901","filename":"file5"},{"photo_id":"1396989895","filename":"file2"},{"photo_id":"1396989899","filename":"file4"},{"photo_id":"1396989893","filename":"file1"},{"photo_id":"1396989891","filename":"file0"},{"photo_id":"1396989897","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989895":["hashtag1","hashtag2"]},{"1396989901":["hashtag1","hashtag2"]},{"1396989891":["hashtag1","hashtag2"]},{"1396989897":["hashtag1","hashtag2"]},{"1396989899":["hashtag1","hashtag2"]},{"1396989893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989895, 1396989901, 1396989891, 1396989897, 1396989899, 1396989893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64980435371399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:32:03.010533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/37/image_29112025_22_37_35_10593.jpg', '/home/pi/Desktop/images/29112025/22/37/image_29112025_22_37_45_9590.jpg', '/home/pi/Desktop/images/29112025/22/37/image_29112025_22_37_54_9779.jpg', '/home/pi/Desktop/images/29112025/22/37/image_29112025_22_38_05_10688.jpg', '/home/pi/Desktop/images/29112025/22/38/image_29112025_22_38_15_9675.jpg', '/home/pi/Desktop/images/29112025/22/38/image_29112025_22_38_24_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/37/image_29112025_22_37_35_10593.jpg
/home/pi/Desktop/images/29112025/22/37/image_29112025_22_37_45_9590.jpg
/home/pi/Desktop/images/29112025/22/37/image_29112025_22_37_54_9779.jpg
/home/pi/Desktop/images/29112025/22/37/image_29112025_22_38_05_10688.jpg
/home/pi/Desktop/images/29112025/22/38/image_29112025_22_38_15_9675.jpg
/home/pi/Desktop/images/29112025/22/38/image_29112025_22_38_24_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989911","1396989905","1396989908","1396989904","1396989903","1396989906"],"photo_ids_order":["1396989903","1396989904","1396989905","1396989906","1396989908","1396989911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5e21dd358c2b39ef548438ebb183e10c.jpg","text":"TemporaryFile(/tmp/multipartBody799196319058893901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455583727,"filename":"image_29112025_22_38_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/11/29/4e6afc9d41e6c9ee06721784768a28a1.jpg","text":"TemporaryFile(/tmp/multipartBody6101146983771859326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455583727,"filename":"image_29112025_22_37_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/11/29/08d88d8de943ede8a0b0a4943d3d8ac3.jpg","text":"TemporaryFile(/tmp/multipartBody7445841274242474797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455583727,"filename":"image_29112025_22_38_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/11/29/603f0c90431ded38dafc7afc47b8eda6.jpg","text":"TemporaryFile(/tmp/multipartBody1663028543407522498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455583727,"filename":"image_29112025_22_37_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/11/29/36c4b58c8c2aebf759165e0cd98dcd46.jpg","text":"TemporaryFile(/tmp/multipartBody3764632110292134397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455583727,"filename":"image_29112025_22_37_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/11/29/c112259b10dc0eaf43f596293993310c.jpg","text":"TemporaryFile(/tmp/multipartBody4622883887077584439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455583727,"filename":"image_29112025_22_38_05_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989905","file1":"1396989904","file0":"1396989903","file4":"1396989908","file5":"1396989911","file3":"1396989906"},"map_files_photo_id_array":[{"photo_id":"1396989911","filename":"file5"},{"photo_id":"1396989905","filename":"file2"},{"photo_id":"1396989908","filename":"file4"},{"photo_id":"1396989904","filename":"file1"},{"photo_id":"1396989903","filename":"file0"},{"photo_id":"1396989906","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989911":["hashtag1","hashtag2"]},{"1396989905":["hashtag1","hashtag2"]},{"1396989908":["hashtag1","hashtag2"]},{"1396989904":["hashtag1","hashtag2"]},{"1396989903":["hashtag1","hashtag2"]},{"1396989906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989911, 1396989905, 1396989908, 1396989904, 1396989903, 1396989906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20785617828369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:32:42.760046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_02_2642.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_05_3603.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_08_2685.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_11_2616.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_14_3858.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_17_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/11/09/image_31102025_11_09_02_2642.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_05_3603.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_08_2685.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_11_2616.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_14_3858.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_17_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":["1396989926","1396989925","1396989922","1396989924","1396989920","1396989923"],"photo_ids_order":["1396989920","1396989922","1396989923","1396989924","1396989925","1396989926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/af76e0f4b65ab4e861e68afb29f46f09.jpg","text":"TemporaryFile(/tmp/multipartBody2643005488436438554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455623882,"filename":"image_31102025_11_09_17_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1e197a46489649a293e4eeb78beb0204.jpg","text":"TemporaryFile(/tmp/multipartBody8274815542298412979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455623882,"filename":"image_31102025_11_09_14_3858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/1c726d66bc3d3b573f063e4eb68024a6.jpg","text":"TemporaryFile(/tmp/multipartBody8386776184254973365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455623882,"filename":"image_31102025_11_09_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/11/29/ece3f32946c2b1837f6db9f4d259ccb5.jpg","text":"TemporaryFile(/tmp/multipartBody4950679184365071445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455623882,"filename":"image_31102025_11_09_11_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4fce1929878c1344dc96f49a57939964.jpg","text":"TemporaryFile(/tmp/multipartBody4824581626120151349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455623882,"filename":"image_31102025_11_09_02_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9dc7a21fa9b1bf93ff7620467689695d.jpg","text":"TemporaryFile(/tmp/multipartBody5797833679621832330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455623882,"filename":"image_31102025_11_09_08_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989923","file1":"1396989922","file0":"1396989920","file4":"1396989925","file5":"1396989926","file3":"1396989924"},"map_files_photo_id_array":[{"photo_id":"1396989926","filename":"file5"},{"photo_id":"1396989923","filename":"file2"},{"photo_id":"1396989925","filename":"file4"},{"photo_id":"1396989922","filename":"file1"},{"photo_id":"1396989920","filename":"file0"},{"photo_id":"1396989924","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989926":["hashtag1","hashtag2"]},{"1396989925":["hashtag1","hashtag2"]},{"1396989922":["hashtag1","hashtag2"]},{"1396989924":["hashtag1","hashtag2"]},{"1396989920":["hashtag1","hashtag2"]},{"1396989923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989926, 1396989925, 1396989922, 1396989924, 1396989920, 1396989923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20864415168762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:33:22.062229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/38/image_29112025_22_38_35_10757.jpg', '/home/pi/Desktop/images/29112025/22/38/image_29112025_22_38_45_9732.jpg', '/home/pi/Desktop/images/29112025/22/38/image_29112025_22_38_55_9788.jpg', '/home/pi/Desktop/images/29112025/22/38/image_29112025_22_39_04_9673.jpg', '/home/pi/Desktop/images/29112025/22/39/image_29112025_22_39_15_10556.jpg', '/home/pi/Desktop/images/29112025/22/39/image_29112025_22_39_25_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/38/image_29112025_22_38_35_10757.jpg
/home/pi/Desktop/images/29112025/22/38/image_29112025_22_38_45_9732.jpg
/home/pi/Desktop/images/29112025/22/38/image_29112025_22_38_55_9788.jpg
/home/pi/Desktop/images/29112025/22/38/image_29112025_22_39_04_9673.jpg
/home/pi/Desktop/images/29112025/22/39/image_29112025_22_39_15_10556.jpg
/home/pi/Desktop/images/29112025/22/39/image_29112025_22_39_25_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":["1396989943","1396989931","1396989940","1396989934","1396989937","1396989941"],"photo_ids_order":["1396989931","1396989934","1396989937","1396989940","1396989941","1396989943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/65eac0e820a227d9cff239df62f018dd.jpg","text":"TemporaryFile(/tmp/multipartBody7959238532214316421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455662742,"filename":"image_29112025_22_39_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/11/29/0947bbf9abd2a0caa46ec72fe4063a27.jpg","text":"TemporaryFile(/tmp/multipartBody425572474856678263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455662742,"filename":"image_29112025_22_38_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/11/29/a35a6fffd935d808a97521f34efd8fab.jpg","text":"TemporaryFile(/tmp/multipartBody7761081412608432765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455662742,"filename":"image_29112025_22_39_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5eb550b818cc5f5e40facd3ce8846bda.jpg","text":"TemporaryFile(/tmp/multipartBody3543012919246144348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455662742,"filename":"image_29112025_22_38_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/11/29/02d44482eeb6ddcdef9d3ab315ee6324.jpg","text":"TemporaryFile(/tmp/multipartBody3324147190473858563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455662742,"filename":"image_29112025_22_38_55_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/19ee9aed9223f0cdc0ffe32fb16ba2ff.jpg","text":"TemporaryFile(/tmp/multipartBody2265809537418964565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455662742,"filename":"image_29112025_22_39_15_10556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989937","file1":"1396989934","file0":"1396989931","file4":"1396989941","file5":"1396989943","file3":"1396989940"},"map_files_photo_id_array":[{"photo_id":"1396989943","filename":"file5"},{"photo_id":"1396989937","filename":"file2"},{"photo_id":"1396989941","filename":"file4"},{"photo_id":"1396989934","filename":"file1"},{"photo_id":"1396989931","filename":"file0"},{"photo_id":"1396989940","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989943":["hashtag1","hashtag2"]},{"1396989931":["hashtag1","hashtag2"]},{"1396989940":["hashtag1","hashtag2"]},{"1396989934":["hashtag1","hashtag2"]},{"1396989937":["hashtag1","hashtag2"]},{"1396989941":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989943, 1396989931, 1396989940, 1396989934, 1396989937, 1396989941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66880798339844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:34:02.768718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/39/image_29112025_22_39_35_10597.jpg', '/home/pi/Desktop/images/29112025/22/39/image_29112025_22_39_45_9641.jpg', '/home/pi/Desktop/images/29112025/22/39/image_29112025_22_39_55_9650.jpg', '/home/pi/Desktop/images/29112025/22/41/image_29112025_22_41_14_10037.jpg', '/home/pi/Desktop/images/29112025/22/41/image_29112025_22_41_25_10636.jpg', '/home/pi/Desktop/images/29112025/22/41/image_29112025_22_41_34_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/39/image_29112025_22_39_35_10597.jpg
/home/pi/Desktop/images/29112025/22/39/image_29112025_22_39_45_9641.jpg
/home/pi/Desktop/images/29112025/22/39/image_29112025_22_39_55_9650.jpg
/home/pi/Desktop/images/29112025/22/41/image_29112025_22_41_14_10037.jpg
/home/pi/Desktop/images/29112025/22/41/image_29112025_22_41_25_10636.jpg
/home/pi/Desktop/images/29112025/22/41/image_29112025_22_41_34_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989952","1396989946","1396989949","1396989945","1396989947","1396989944"],"photo_ids_order":["1396989944","1396989945","1396989946","1396989947","1396989949","1396989952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9b382dc07d543df89143f71213c102c0.jpg","text":"TemporaryFile(/tmp/multipartBody4600552134792117044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455703512,"filename":"image_29112025_22_41_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/11/29/41b7cc24e1b05a54a034d9f1652afb24.jpg","text":"TemporaryFile(/tmp/multipartBody8764547108678155183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455703512,"filename":"image_29112025_22_39_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/11/29/c0ecdec7cf8738aa3094057c51097ab4.jpg","text":"TemporaryFile(/tmp/multipartBody1267310809811993327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455703512,"filename":"image_29112025_22_41_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/11/29/f6ca712b3499f82bfe44c99ae79d1e15.jpg","text":"TemporaryFile(/tmp/multipartBody2685327369156647934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455703512,"filename":"image_29112025_22_39_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c30428a350ddf1a4c1962cf0d1d8075a.jpg","text":"TemporaryFile(/tmp/multipartBody8663195558916161830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455703512,"filename":"image_29112025_22_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/11/29/7c49dffeac7a568e510b381b309c0675.jpg","text":"TemporaryFile(/tmp/multipartBody8721570307442496097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455703512,"filename":"image_29112025_22_39_35_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989946","file1":"1396989945","file0":"1396989944","file4":"1396989949","file5":"1396989952","file3":"1396989947"},"map_files_photo_id_array":[{"photo_id":"1396989952","filename":"file5"},{"photo_id":"1396989946","filename":"file2"},{"photo_id":"1396989949","filename":"file4"},{"photo_id":"1396989945","filename":"file1"},{"photo_id":"1396989944","filename":"file0"},{"photo_id":"1396989947","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989952":["hashtag1","hashtag2"]},{"1396989946":["hashtag1","hashtag2"]},{"1396989949":["hashtag1","hashtag2"]},{"1396989945":["hashtag1","hashtag2"]},{"1396989947":["hashtag1","hashtag2"]},{"1396989944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989952, 1396989946, 1396989949, 1396989945, 1396989947, 1396989944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92262625694275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:34:42.121114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_20_2938.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_23_2703.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_25_2625.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_29_3797.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_32_2807.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_35_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/11/09/image_31102025_11_09_20_2938.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_23_2703.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_25_2625.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_29_3797.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_32_2807.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_35_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":["1396989961","1396989964","1396989967","1396989966","1396989963","1396989965"],"photo_ids_order":["1396989961","1396989963","1396989964","1396989965","1396989966","1396989967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bc9732cfa1c84e116a4f3652e24fc529.jpg","text":"TemporaryFile(/tmp/multipartBody3035391092061267057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455743325,"filename":"image_31102025_11_09_20_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fca9c44e0a55cba139d55dcc0050987f.jpg","text":"TemporaryFile(/tmp/multipartBody703611530439350316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455743325,"filename":"image_31102025_11_09_25_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/06030cd61d0f2beef6c26d9af95486a8.jpg","text":"TemporaryFile(/tmp/multipartBody1202140196242858049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455743325,"filename":"image_31102025_11_09_35_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c3712182ca4e2a5da1b095eb8d2295bf.jpg","text":"TemporaryFile(/tmp/multipartBody2347294090867958467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455743325,"filename":"image_31102025_11_09_32_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6a0996a9af99b9bb517d9b84c843de37.jpg","text":"TemporaryFile(/tmp/multipartBody8295061274599267797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455743325,"filename":"image_31102025_11_09_23_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b4562885a36b278427c9787dbb67310c.jpg","text":"TemporaryFile(/tmp/multipartBody6014020811943986026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455743325,"filename":"image_31102025_11_09_29_3797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989964","file1":"1396989963","file0":"1396989961","file4":"1396989966","file5":"1396989967","file3":"1396989965"},"map_files_photo_id_array":[{"photo_id":"1396989967","filename":"file5"},{"photo_id":"1396989964","filename":"file2"},{"photo_id":"1396989966","filename":"file4"},{"photo_id":"1396989963","filename":"file1"},{"photo_id":"1396989961","filename":"file0"},{"photo_id":"1396989965","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396989961":["hashtag1","hashtag2"]},{"1396989964":["hashtag1","hashtag2"]},{"1396989967":["hashtag1","hashtag2"]},{"1396989966":["hashtag1","hashtag2"]},{"1396989963":["hashtag1","hashtag2"]},{"1396989965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396989961, 1396989964, 1396989967, 1396989966, 1396989963, 1396989965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21045112609863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:35:22.323345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/41/image_29112025_22_41_46_11548.jpg', '/home/pi/Desktop/images/29112025/22/41/image_29112025_22_41_54_8703.jpg', '/home/pi/Desktop/images/29112025/22/42/image_29112025_22_42_15_10653.jpg', '/home/pi/Desktop/images/29112025/22/42/image_29112025_22_42_25_9620.jpg', '/home/pi/Desktop/images/29112025/22/42/image_29112025_22_42_34_9672.jpg', '/home/pi/Desktop/images/29112025/22/42/image_29112025_22_42_45_10615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/41/image_29112025_22_41_46_11548.jpg
/home/pi/Desktop/images/29112025/22/41/image_29112025_22_41_54_8703.jpg
/home/pi/Desktop/images/29112025/22/42/image_29112025_22_42_15_10653.jpg
/home/pi/Desktop/images/29112025/22/42/image_29112025_22_42_25_9620.jpg
/home/pi/Desktop/images/29112025/22/42/image_29112025_22_42_34_9672.jpg
/home/pi/Desktop/images/29112025/22/42/image_29112025_22_42_45_10615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989976","1396989984","1396989978","1396989971","1396989980","1396989974"],"photo_ids_order":["1396989971","1396989974","1396989976","1396989978","1396989980","1396989984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/753976dc4119d55cf5430567d9917f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3778757409871350668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455782998,"filename":"image_29112025_22_42_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0ff5559ce5a9a64f003653de7e2027f0.jpg","text":"TemporaryFile(/tmp/multipartBody3869767306048956932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455782998,"filename":"image_29112025_22_42_45_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a887ce2d9cded9a07dea37d0ef6bfb37.jpg","text":"TemporaryFile(/tmp/multipartBody5589065553060281089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455782998,"filename":"image_29112025_22_42_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a069bfc24579da7fcc3cdd8b18499e63.jpg","text":"TemporaryFile(/tmp/multipartBody8645469053892246470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455782998,"filename":"image_29112025_22_41_46_11548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2a722a30eb9d32e3b55f39c095ef9ba6.jpg","text":"TemporaryFile(/tmp/multipartBody8044860221772538663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455782998,"filename":"image_29112025_22_42_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/11/29/feb07b545eb6d2dc084fa00ce69e4f5e.jpg","text":"TemporaryFile(/tmp/multipartBody5624879697591263285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455782998,"filename":"image_29112025_22_41_54_8703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989976","file1":"1396989974","file0":"1396989971","file4":"1396989980","file5":"1396989984","file3":"1396989978"},"map_files_photo_id_array":[{"photo_id":"1396989984","filename":"file5"},{"photo_id":"1396989976","filename":"file2"},{"photo_id":"1396989980","filename":"file4"},{"photo_id":"1396989974","filename":"file1"},{"photo_id":"1396989971","filename":"file0"},{"photo_id":"1396989978","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989976":["hashtag1","hashtag2"]},{"1396989984":["hashtag1","hashtag2"]},{"1396989978":["hashtag1","hashtag2"]},{"1396989971":["hashtag1","hashtag2"]},{"1396989980":["hashtag1","hashtag2"]},{"1396989974":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989976, 1396989984, 1396989978, 1396989971, 1396989980, 1396989974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50439381599426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:36:02.922691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/42/image_29112025_22_42_54_9582.jpg', '/home/pi/Desktop/images/29112025/22/42/image_29112025_22_43_04_9715.jpg', '/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_15_10730.jpg', '/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_25_9774.jpg', '/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_34_9698.jpg', '/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_44_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/42/image_29112025_22_42_54_9582.jpg
/home/pi/Desktop/images/29112025/22/42/image_29112025_22_43_04_9715.jpg
/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_15_10730.jpg
/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_25_9774.jpg
/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_34_9698.jpg
/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_44_9839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396989988","1396989985","1396989990","1396989993","1396989987","1396989986"],"photo_ids_order":["1396989985","1396989986","1396989987","1396989988","1396989990","1396989993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/016ac27e8830f04214ad8df14750ee85.jpg","text":"TemporaryFile(/tmp/multipartBody442509678650154152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455823644,"filename":"image_29112025_22_43_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/11/29/5c43c77206f0341b0ac21986bba41fed.jpg","text":"TemporaryFile(/tmp/multipartBody7984636306414723511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455823644,"filename":"image_29112025_22_42_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/422b7ca75433e44067752c15c8354e4f.jpg","text":"TemporaryFile(/tmp/multipartBody7819447495416770267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455823644,"filename":"image_29112025_22_43_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/11/29/d11ed2756c497b731542cb1f11839cf1.jpg","text":"TemporaryFile(/tmp/multipartBody6596861310666212582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455823644,"filename":"image_29112025_22_43_44_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edcbdafd7e55f1d02db4ed7e82e76b25.jpg","text":"TemporaryFile(/tmp/multipartBody8763614191937067406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455823644,"filename":"image_29112025_22_43_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/11/29/5fb1d0d599da4769195ad2552d0eb2c6.jpg","text":"TemporaryFile(/tmp/multipartBody7132587012535258510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455823644,"filename":"image_29112025_22_43_04_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396989987","file1":"1396989986","file0":"1396989985","file4":"1396989990","file5":"1396989993","file3":"1396989988"},"map_files_photo_id_array":[{"photo_id":"1396989993","filename":"file5"},{"photo_id":"1396989987","filename":"file2"},{"photo_id":"1396989990","filename":"file4"},{"photo_id":"1396989986","filename":"file1"},{"photo_id":"1396989985","filename":"file0"},{"photo_id":"1396989988","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396989988":["hashtag1","hashtag2"]},{"1396989985":["hashtag1","hashtag2"]},{"1396989990":["hashtag1","hashtag2"]},{"1396989993":["hashtag1","hashtag2"]},{"1396989987":["hashtag1","hashtag2"]},{"1396989986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396989988, 1396989985, 1396989990, 1396989993, 1396989987, 1396989986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.461575984954834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:36:42.519964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_37_2638.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_41_3710.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_44_2664.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_46_2617.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_50_3728.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_53_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/11/09/image_31102025_11_09_37_2638.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_41_3710.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_44_2664.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_46_2617.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_50_3728.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_53_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":["1396990010","1396990012","1396990003","1396990006","1396990011","1396990008"],"photo_ids_order":["1396990003","1396990006","1396990008","1396990010","1396990011","1396990012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/83e7c3b3ecb831c97388bbb66423562b.jpg","text":"TemporaryFile(/tmp/multipartBody3336696835044256759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455863639,"filename":"image_31102025_11_09_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/11/29/4dcba6567cba6768f98076b3559f1549.jpg","text":"TemporaryFile(/tmp/multipartBody1617689611776143812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455863639,"filename":"image_31102025_11_09_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/11/29/5257c7f00cce16ee4e98ba8bf629f183.jpg","text":"TemporaryFile(/tmp/multipartBody3567895355746193877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455863639,"filename":"image_31102025_11_09_37_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/feaa7977e6bfc69a1442b29e123db318.jpg","text":"TemporaryFile(/tmp/multipartBody7356447664176794287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455863639,"filename":"image_31102025_11_09_41_3710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/51abf9c11fe1ec492b7577580aa74f9c.jpg","text":"TemporaryFile(/tmp/multipartBody9013297405469101096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455863639,"filename":"image_31102025_11_09_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/11/29/00818495e642a86fc9d2b5fd5713abbd.jpg","text":"TemporaryFile(/tmp/multipartBody1582273911151791263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455863639,"filename":"image_31102025_11_09_44_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990008","file1":"1396990006","file0":"1396990003","file4":"1396990011","file5":"1396990012","file3":"1396990010"},"map_files_photo_id_array":[{"photo_id":"1396990012","filename":"file5"},{"photo_id":"1396990008","filename":"file2"},{"photo_id":"1396990011","filename":"file4"},{"photo_id":"1396990006","filename":"file1"},{"photo_id":"1396990003","filename":"file0"},{"photo_id":"1396990010","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396990010":["hashtag1","hashtag2"]},{"1396990012":["hashtag1","hashtag2"]},{"1396990003":["hashtag1","hashtag2"]},{"1396990006":["hashtag1","hashtag2"]},{"1396990011":["hashtag1","hashtag2"]},{"1396990008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396990010, 1396990012, 1396990003, 1396990006, 1396990011, 1396990008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.323736906051636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:37:22.695900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_55_10683.jpg', '/home/pi/Desktop/images/29112025/22/43/image_29112025_22_44_05_9858.jpg', '/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_14_9770.jpg', '/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_24_9896.jpg', '/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_35_10601.jpg', '/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_45_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_55_10683.jpg
/home/pi/Desktop/images/29112025/22/43/image_29112025_22_44_05_9858.jpg
/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_14_9770.jpg
/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_24_9896.jpg
/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_35_10601.jpg
/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_45_9617.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5498905181884766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:37:32.635815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_53_2795.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_56_3574.jpg', '/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_59_2736.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_02_2609.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_06_4098.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_09_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_53_2795.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_56_3574.jpg
/home/pi/Desktop/images/25112025/19/20/image_25112025_19_20_59_2736.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_02_2609.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_06_4098.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_09_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990028","1396990031","1396990030","1396990021","1396990024","1396990032"],"photo_ids_order":["1396990021","1396990024","1396990028","1396990030","1396990031","1396990032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3b269d06f2e75bb9d3c9f0a3d27129af.jpg","text":"TemporaryFile(/tmp/multipartBody34511664760281026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455914700,"filename":"image_25112025_19_20_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/11/29/f5fe1521b6174d5a1272bd3488bf858d.jpg","text":"TemporaryFile(/tmp/multipartBody7325457137565256931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455914700,"filename":"image_25112025_19_21_06_4098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d9369fe2ae85502148026c8107d4b92e.jpg","text":"TemporaryFile(/tmp/multipartBody3248521954418691289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455914700,"filename":"image_25112025_19_21_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/11/29/884e1a52599efddd9c894282a54ea411.jpg","text":"TemporaryFile(/tmp/multipartBody5797020798801278208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455914700,"filename":"image_25112025_19_20_53_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/61bdbd3dd7c166d7f0b002911fa3ceab.jpg","text":"TemporaryFile(/tmp/multipartBody5829255055242921139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455914700,"filename":"image_25112025_19_20_56_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/887b110c46a28f131f675a20f52c2852.jpg","text":"TemporaryFile(/tmp/multipartBody987021276407495440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455914700,"filename":"image_25112025_19_21_09_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990028","file1":"1396990024","file0":"1396990021","file4":"1396990031","file5":"1396990032","file3":"1396990030"},"map_files_photo_id_array":[{"photo_id":"1396990032","filename":"file5"},{"photo_id":"1396990028","filename":"file2"},{"photo_id":"1396990031","filename":"file4"},{"photo_id":"1396990024","filename":"file1"},{"photo_id":"1396990021","filename":"file0"},{"photo_id":"1396990030","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396990028":["hashtag1","hashtag2"]},{"1396990031":["hashtag1","hashtag2"]},{"1396990030":["hashtag1","hashtag2"]},{"1396990021":["hashtag1","hashtag2"]},{"1396990024":["hashtag1","hashtag2"]},{"1396990032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396990028, 1396990031, 1396990030, 1396990021, 1396990024, 1396990032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07525157928467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:38:11.840119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_11_2580.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_14_2621.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_17_3535.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_20_2796.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_23_2701.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_27_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_11_2580.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_14_2621.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_17_3535.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_20_2796.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_23_2701.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_27_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":["1396990046","1396990033","1396990041","1396990035","1396990044","1396990038"],"photo_ids_order":["1396990033","1396990035","1396990038","1396990041","1396990044","1396990046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/efaeaeab74b36d8dc2044277d75fb8b4.jpg","text":"TemporaryFile(/tmp/multipartBody1639439213337506028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455953897,"filename":"image_25112025_19_21_27_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db9410bcc8c2041f7e2232db2dac40a9.jpg","text":"TemporaryFile(/tmp/multipartBody3270731025274271555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455953897,"filename":"image_25112025_19_21_11_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/226ea431cbc0924aa51f16e210d7f7e3.jpg","text":"TemporaryFile(/tmp/multipartBody5381388333905362849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455953897,"filename":"image_25112025_19_21_20_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ef33022294bc6454e4621bbdc91b6704.jpg","text":"TemporaryFile(/tmp/multipartBody5178396435685711815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455953897,"filename":"image_25112025_19_21_14_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cf1cfe6f49f0cdd53daa206a590bc550.jpg","text":"TemporaryFile(/tmp/multipartBody8922076452213493597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455953897,"filename":"image_25112025_19_21_23_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fac421fb41cdb1f9983c26c1f04ca0fb.jpg","text":"TemporaryFile(/tmp/multipartBody8436149459208077352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764455953897,"filename":"image_25112025_19_21_17_3535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990038","file1":"1396990035","file0":"1396990033","file4":"1396990044","file5":"1396990046","file3":"1396990041"},"map_files_photo_id_array":[{"photo_id":"1396990046","filename":"file5"},{"photo_id":"1396990038","filename":"file2"},{"photo_id":"1396990044","filename":"file4"},{"photo_id":"1396990035","filename":"file1"},{"photo_id":"1396990033","filename":"file0"},{"photo_id":"1396990041","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396990046":["hashtag1","hashtag2"]},{"1396990033":["hashtag1","hashtag2"]},{"1396990041":["hashtag1","hashtag2"]},{"1396990035":["hashtag1","hashtag2"]},{"1396990044":["hashtag1","hashtag2"]},{"1396990038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396990046, 1396990033, 1396990041, 1396990035, 1396990044, 1396990038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52404284477234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:39:03.064340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_55_10683.jpg', '/home/pi/Desktop/images/29112025/22/43/image_29112025_22_44_05_9858.jpg', '/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_14_9770.jpg', '/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_24_9896.jpg', '/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_35_10601.jpg', '/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_45_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/43/image_29112025_22_43_55_10683.jpg
/home/pi/Desktop/images/29112025/22/43/image_29112025_22_44_05_9858.jpg
/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_14_9770.jpg
/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_24_9896.jpg
/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_35_10601.jpg
/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_45_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":["1396990052","1396990049","1396990051","1396990054","1396990050","1396990047"],"photo_ids_order":["1396990047","1396990049","1396990050","1396990051","1396990052","1396990054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/09cc2bbb5fb2cf8d1ba04a09e680227d.jpg","text":"TemporaryFile(/tmp/multipartBody288966366412868510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456003944,"filename":"image_29112025_22_44_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3e022b9a88f0575daa0e5c54bf313d51.jpg","text":"TemporaryFile(/tmp/multipartBody6950346602475836690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456003944,"filename":"image_29112025_22_44_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/11/29/eaac9f6fc58d27ac7e64cd5dc3e98dac.jpg","text":"TemporaryFile(/tmp/multipartBody2446890729330689194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456003944,"filename":"image_29112025_22_44_24_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/661c502388e4e890cc254b7b8009f9da.jpg","text":"TemporaryFile(/tmp/multipartBody7145647555047779182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456003944,"filename":"image_29112025_22_44_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/11/29/8ddd1b99409c8c0416af6476c8909239.jpg","text":"TemporaryFile(/tmp/multipartBody8815965178109090190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456003944,"filename":"image_29112025_22_44_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/11/29/0b6f38206b3cc7f391e0b17f64e8b8fa.jpg","text":"TemporaryFile(/tmp/multipartBody2818643101660209310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456003944,"filename":"image_29112025_22_43_55_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990050","file1":"1396990049","file0":"1396990047","file4":"1396990052","file5":"1396990054","file3":"1396990051"},"map_files_photo_id_array":[{"photo_id":"1396990054","filename":"file5"},{"photo_id":"1396990050","filename":"file2"},{"photo_id":"1396990052","filename":"file4"},{"photo_id":"1396990049","filename":"file1"},{"photo_id":"1396990047","filename":"file0"},{"photo_id":"1396990051","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990052":["hashtag1","hashtag2"]},{"1396990049":["hashtag1","hashtag2"]},{"1396990051":["hashtag1","hashtag2"]},{"1396990054":["hashtag1","hashtag2"]},{"1396990050":["hashtag1","hashtag2"]},{"1396990047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990052, 1396990049, 1396990051, 1396990054, 1396990050, 1396990047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78207468986511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:39:42.096334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_55_2670.jpg', '/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_59_3698.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_08_3012.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_12_3829.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_14_2587.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_17_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/11/09/image_31102025_11_09_55_2670.jpg
/home/pi/Desktop/images/31102025/11/09/image_31102025_11_09_59_3698.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_08_3012.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_12_3829.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_14_2587.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_17_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":["1396990061","1396990063","1396990066","1396990062","1396990065","1396990064"],"photo_ids_order":["1396990061","1396990062","1396990063","1396990064","1396990065","1396990066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32d5361ba921aaf53bdf09c4f4d01700.jpg","text":"TemporaryFile(/tmp/multipartBody2314290826191997897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456043223,"filename":"image_31102025_11_09_55_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/18ce36764b19946aabacf4f5d720e79b.jpg","text":"TemporaryFile(/tmp/multipartBody7413175304088033362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456043223,"filename":"image_31102025_11_10_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/59642b0ac31564ce7b3b330bbfb853b7.jpg","text":"TemporaryFile(/tmp/multipartBody1338208508381365427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456043223,"filename":"image_31102025_11_10_17_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f14becc270c2700657bf781275051cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3775708954496843463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456043223,"filename":"image_31102025_11_09_59_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7081a97771c6ff2cba28b632187c7c6d.jpg","text":"TemporaryFile(/tmp/multipartBody2781737002601637035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456043223,"filename":"image_31102025_11_10_14_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/696ca9b930ebb73928cf206463071277.jpg","text":"TemporaryFile(/tmp/multipartBody8076340849641744465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456043223,"filename":"image_31102025_11_10_12_3829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990063","file1":"1396990062","file0":"1396990061","file4":"1396990065","file5":"1396990066","file3":"1396990064"},"map_files_photo_id_array":[{"photo_id":"1396990066","filename":"file5"},{"photo_id":"1396990063","filename":"file2"},{"photo_id":"1396990065","filename":"file4"},{"photo_id":"1396990062","filename":"file1"},{"photo_id":"1396990061","filename":"file0"},{"photo_id":"1396990064","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396990061":["hashtag1","hashtag2"]},{"1396990063":["hashtag1","hashtag2"]},{"1396990066":["hashtag1","hashtag2"]},{"1396990062":["hashtag1","hashtag2"]},{"1396990065":["hashtag1","hashtag2"]},{"1396990064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396990061, 1396990063, 1396990066, 1396990062, 1396990065, 1396990064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59761834144592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:40:22.414736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_54_9615.jpg', '/home/pi/Desktop/images/29112025/22/45/image_29112025_22_45_14_10059.jpg', '/home/pi/Desktop/images/29112025/22/45/image_29112025_22_45_24_10622.jpg', '/home/pi/Desktop/images/29112025/22/45/image_29112025_22_45_34_9717.jpg', '/home/pi/Desktop/images/29112025/22/45/image_29112025_22_45_44_9783.jpg', '/home/pi/Desktop/images/29112025/22/45/image_29112025_22_45_54_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/44/image_29112025_22_44_54_9615.jpg
/home/pi/Desktop/images/29112025/22/45/image_29112025_22_45_14_10059.jpg
/home/pi/Desktop/images/29112025/22/45/image_29112025_22_45_24_10622.jpg
/home/pi/Desktop/images/29112025/22/45/image_29112025_22_45_34_9717.jpg
/home/pi/Desktop/images/29112025/22/45/image_29112025_22_45_44_9783.jpg
/home/pi/Desktop/images/29112025/22/45/image_29112025_22_45_54_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990081","1396990075","1396990069","1396990084","1396990078","1396990072"],"photo_ids_order":["1396990069","1396990072","1396990075","1396990078","1396990081","1396990084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd56a1c853bc5fd52d7d1539d48fda10.jpg","text":"TemporaryFile(/tmp/multipartBody6515365895298340751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456083096,"filename":"image_29112025_22_45_44_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0aaad830004441de400c254821048258.jpg","text":"TemporaryFile(/tmp/multipartBody8019785232506488344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456083096,"filename":"image_29112025_22_45_24_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/726358a551f1ca80fedb5e411c0a4c13.jpg","text":"TemporaryFile(/tmp/multipartBody3551915415045348766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456083096,"filename":"image_29112025_22_44_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/11/29/446ea4fd8294fd8a1f22ef759e4c2512.jpg","text":"TemporaryFile(/tmp/multipartBody4804938226824803352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456083096,"filename":"image_29112025_22_45_54_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ddecad23b4584f13a588992f796cec7c.jpg","text":"TemporaryFile(/tmp/multipartBody4983382606568861899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456083096,"filename":"image_29112025_22_45_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/11/29/77d6cb31b0b5e6a46b75ba97f7461161.jpg","text":"TemporaryFile(/tmp/multipartBody4858546971625614544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456083096,"filename":"image_29112025_22_45_14_10059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990075","file1":"1396990072","file0":"1396990069","file4":"1396990081","file5":"1396990084","file3":"1396990078"},"map_files_photo_id_array":[{"photo_id":"1396990084","filename":"file5"},{"photo_id":"1396990075","filename":"file2"},{"photo_id":"1396990081","filename":"file4"},{"photo_id":"1396990072","filename":"file1"},{"photo_id":"1396990069","filename":"file0"},{"photo_id":"1396990078","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990081":["hashtag1","hashtag2"]},{"1396990075":["hashtag1","hashtag2"]},{"1396990069":["hashtag1","hashtag2"]},{"1396990084":["hashtag1","hashtag2"]},{"1396990078":["hashtag1","hashtag2"]},{"1396990072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990081, 1396990075, 1396990069, 1396990084, 1396990078, 1396990072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13935303688049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:41:03.190819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/45/image_29112025_22_46_04_9615.jpg', '/home/pi/Desktop/images/29112025/22/46/image_29112025_22_46_14_9597.jpg', '/home/pi/Desktop/images/29112025/22/46/image_29112025_22_46_24_10763.jpg', '/home/pi/Desktop/images/29112025/22/46/image_29112025_22_46_34_9653.jpg', '/home/pi/Desktop/images/29112025/22/46/image_29112025_22_46_44_9605.jpg', '/home/pi/Desktop/images/29112025/22/46/image_29112025_22_46_54_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/45/image_29112025_22_46_04_9615.jpg
/home/pi/Desktop/images/29112025/22/46/image_29112025_22_46_14_9597.jpg
/home/pi/Desktop/images/29112025/22/46/image_29112025_22_46_24_10763.jpg
/home/pi/Desktop/images/29112025/22/46/image_29112025_22_46_34_9653.jpg
/home/pi/Desktop/images/29112025/22/46/image_29112025_22_46_44_9605.jpg
/home/pi/Desktop/images/29112025/22/46/image_29112025_22_46_54_10684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990088","1396990093","1396990087","1396990090","1396990086","1396990085"],"photo_ids_order":["1396990085","1396990086","1396990087","1396990088","1396990090","1396990093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/aac757b4f8ad2eaceb6710f21dc00388.jpg","text":"TemporaryFile(/tmp/multipartBody4544399974941155747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456123938,"filename":"image_29112025_22_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/11/29/a5572c1d0261f9e8c469b4868729ef37.jpg","text":"TemporaryFile(/tmp/multipartBody274031627776622984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456123938,"filename":"image_29112025_22_46_54_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca1c34c4db0167d11477895cc45631fe.jpg","text":"TemporaryFile(/tmp/multipartBody5093045212560228842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456123938,"filename":"image_29112025_22_46_24_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/41d82d52dd1463678de5be2cfe6ba564.jpg","text":"TemporaryFile(/tmp/multipartBody587317584526938876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456123938,"filename":"image_29112025_22_46_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/750d99ed992e2e807558104a18a44d6c.jpg","text":"TemporaryFile(/tmp/multipartBody3186303994444610580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456123938,"filename":"image_29112025_22_46_14_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dc89856320aec56a193c20f0e8c5ba17.jpg","text":"TemporaryFile(/tmp/multipartBody7581483356033116273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456123938,"filename":"image_29112025_22_46_04_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990087","file1":"1396990086","file0":"1396990085","file4":"1396990090","file5":"1396990093","file3":"1396990088"},"map_files_photo_id_array":[{"photo_id":"1396990093","filename":"file5"},{"photo_id":"1396990087","filename":"file2"},{"photo_id":"1396990090","filename":"file4"},{"photo_id":"1396990086","filename":"file1"},{"photo_id":"1396990085","filename":"file0"},{"photo_id":"1396990088","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990088":["hashtag1","hashtag2"]},{"1396990093":["hashtag1","hashtag2"]},{"1396990087":["hashtag1","hashtag2"]},{"1396990090":["hashtag1","hashtag2"]},{"1396990086":["hashtag1","hashtag2"]},{"1396990085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990088, 1396990093, 1396990087, 1396990090, 1396990086, 1396990085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37236285209656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:41:42.465589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_20_2847.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_24_3723.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_26_2745.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_29_2667.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_33_3675.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_36_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/11/10/image_31102025_11_10_20_2847.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_24_3723.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_26_2745.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_29_2667.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_33_3675.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_36_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":["1396990103","1396990106","1396990105","1396990108","1396990104","1396990107"],"photo_ids_order":["1396990103","1396990104","1396990105","1396990106","1396990107","1396990108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/4c0776b9df6d25da7b283c189ea5ed9b.jpg","text":"TemporaryFile(/tmp/multipartBody5171490945215457228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456163593,"filename":"image_31102025_11_10_20_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9ff227e3ce228184e6b4d9dbf83f162c.jpg","text":"TemporaryFile(/tmp/multipartBody249674603188966338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456163593,"filename":"image_31102025_11_10_29_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd08ce99cb4ff0361ddb2367403a3f59.jpg","text":"TemporaryFile(/tmp/multipartBody6649631188442309805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456163593,"filename":"image_31102025_11_10_26_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2316ba6d97e1f540c20b30d40c2a1687.jpg","text":"TemporaryFile(/tmp/multipartBody3885587046728234328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456163593,"filename":"image_31102025_11_10_36_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/496cbd1a99452fca5c2f792ef1d55a48.jpg","text":"TemporaryFile(/tmp/multipartBody5137527733312143018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456163593,"filename":"image_31102025_11_10_24_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6377f7da45b0a85d6ddde6403f45cd87.jpg","text":"TemporaryFile(/tmp/multipartBody1286659223379306968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456163593,"filename":"image_31102025_11_10_33_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990105","file1":"1396990104","file0":"1396990103","file4":"1396990107","file5":"1396990108","file3":"1396990106"},"map_files_photo_id_array":[{"photo_id":"1396990108","filename":"file5"},{"photo_id":"1396990105","filename":"file2"},{"photo_id":"1396990107","filename":"file4"},{"photo_id":"1396990104","filename":"file1"},{"photo_id":"1396990103","filename":"file0"},{"photo_id":"1396990106","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396990103":["hashtag1","hashtag2"]},{"1396990106":["hashtag1","hashtag2"]},{"1396990105":["hashtag1","hashtag2"]},{"1396990108":["hashtag1","hashtag2"]},{"1396990104":["hashtag1","hashtag2"]},{"1396990107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396990103, 1396990106, 1396990105, 1396990108, 1396990104, 1396990107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62532567977905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:42:22.625375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/46/image_29112025_22_47_04_9562.jpg', '/home/pi/Desktop/images/29112025/22/47/image_29112025_22_47_14_9807.jpg', '/home/pi/Desktop/images/29112025/22/47/image_29112025_22_47_24_10569.jpg', '/home/pi/Desktop/images/29112025/22/47/image_29112025_22_47_34_9593.jpg', '/home/pi/Desktop/images/29112025/22/47/image_29112025_22_47_45_10650.jpg', '/home/pi/Desktop/images/29112025/22/47/image_29112025_22_47_54_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/46/image_29112025_22_47_04_9562.jpg
/home/pi/Desktop/images/29112025/22/47/image_29112025_22_47_14_9807.jpg
/home/pi/Desktop/images/29112025/22/47/image_29112025_22_47_24_10569.jpg
/home/pi/Desktop/images/29112025/22/47/image_29112025_22_47_34_9593.jpg
/home/pi/Desktop/images/29112025/22/47/image_29112025_22_47_45_10650.jpg
/home/pi/Desktop/images/29112025/22/47/image_29112025_22_47_54_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990121","1396990115","1396990124","1396990112","1396990126","1396990117"],"photo_ids_order":["1396990112","1396990115","1396990117","1396990121","1396990124","1396990126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7f5eeff8164c7410cfeb472dc9b06d04.jpg","text":"TemporaryFile(/tmp/multipartBody6159547030013379419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456203301,"filename":"image_29112025_22_47_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/11/29/881d27e8b4bf36eb21e02c82b1d61bd2.jpg","text":"TemporaryFile(/tmp/multipartBody8809386311639093062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456203301,"filename":"image_29112025_22_47_14_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7443a5d3028a8234b6bbe40648370f9.jpg","text":"TemporaryFile(/tmp/multipartBody7905389546904422859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456203301,"filename":"image_29112025_22_47_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/11/29/f64d408a0409613c60f78da4bce302b2.jpg","text":"TemporaryFile(/tmp/multipartBody374340520915406159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456203301,"filename":"image_29112025_22_47_04_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/93d21db5911f6668d69c2d8522ab100d.jpg","text":"TemporaryFile(/tmp/multipartBody6842945968503826054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456203301,"filename":"image_29112025_22_47_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/11/29/9e4b40a98b3ba5507dc627097579e226.jpg","text":"TemporaryFile(/tmp/multipartBody6525329027086733866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456203301,"filename":"image_29112025_22_47_24_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990117","file1":"1396990115","file0":"1396990112","file4":"1396990124","file5":"1396990126","file3":"1396990121"},"map_files_photo_id_array":[{"photo_id":"1396990126","filename":"file5"},{"photo_id":"1396990117","filename":"file2"},{"photo_id":"1396990124","filename":"file4"},{"photo_id":"1396990115","filename":"file1"},{"photo_id":"1396990112","filename":"file0"},{"photo_id":"1396990121","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990121":["hashtag1","hashtag2"]},{"1396990115":["hashtag1","hashtag2"]},{"1396990124":["hashtag1","hashtag2"]},{"1396990112":["hashtag1","hashtag2"]},{"1396990126":["hashtag1","hashtag2"]},{"1396990117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990121, 1396990115, 1396990124, 1396990112, 1396990126, 1396990117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.949467182159424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:43:03.570282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/47/image_29112025_22_48_04_9679.jpg', '/home/pi/Desktop/images/29112025/22/48/image_29112025_22_48_14_10587.jpg', '/home/pi/Desktop/images/29112025/22/48/image_29112025_22_48_24_9784.jpg', '/home/pi/Desktop/images/29112025/22/48/image_29112025_22_48_34_9767.jpg', '/home/pi/Desktop/images/29112025/22/48/image_29112025_22_48_44_9612.jpg', '/home/pi/Desktop/images/29112025/22/48/image_29112025_22_48_54_10746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/47/image_29112025_22_48_04_9679.jpg
/home/pi/Desktop/images/29112025/22/48/image_29112025_22_48_14_10587.jpg
/home/pi/Desktop/images/29112025/22/48/image_29112025_22_48_24_9784.jpg
/home/pi/Desktop/images/29112025/22/48/image_29112025_22_48_34_9767.jpg
/home/pi/Desktop/images/29112025/22/48/image_29112025_22_48_44_9612.jpg
/home/pi/Desktop/images/29112025/22/48/image_29112025_22_48_54_10746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990130","1396990138","1396990132","1396990135","1396990129","1396990128"],"photo_ids_order":["1396990128","1396990129","1396990130","1396990132","1396990135","1396990138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/96ad58aa28b4b20fb755cbc56937bb47.jpg","text":"TemporaryFile(/tmp/multipartBody1790798505030592615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456246816,"filename":"image_29112025_22_48_24_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d2203b78dea52ca0e0d76b4a27085894.jpg","text":"TemporaryFile(/tmp/multipartBody2391455449527768199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456246816,"filename":"image_29112025_22_48_54_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/295bca7d739fbd54cd6c09546777edee.jpg","text":"TemporaryFile(/tmp/multipartBody2224183996766548363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456246816,"filename":"image_29112025_22_48_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/11/29/de250ec80f3cc662855b8bd7dd9c52b8.jpg","text":"TemporaryFile(/tmp/multipartBody8049257921564536746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456246816,"filename":"image_29112025_22_48_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dd8feaf83049653f0454e423f77f3c96.jpg","text":"TemporaryFile(/tmp/multipartBody8341600248221184844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456246816,"filename":"image_29112025_22_48_14_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32599b9ff6e1e40a48968563ec57a9f0.jpg","text":"TemporaryFile(/tmp/multipartBody8451661106739653753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456246816,"filename":"image_29112025_22_48_04_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990130","file1":"1396990129","file0":"1396990128","file4":"1396990135","file5":"1396990138","file3":"1396990132"},"map_files_photo_id_array":[{"photo_id":"1396990138","filename":"file5"},{"photo_id":"1396990130","filename":"file2"},{"photo_id":"1396990135","filename":"file4"},{"photo_id":"1396990129","filename":"file1"},{"photo_id":"1396990128","filename":"file0"},{"photo_id":"1396990132","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990130":["hashtag1","hashtag2"]},{"1396990138":["hashtag1","hashtag2"]},{"1396990132":["hashtag1","hashtag2"]},{"1396990135":["hashtag1","hashtag2"]},{"1396990129":["hashtag1","hashtag2"]},{"1396990128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990130, 1396990138, 1396990132, 1396990135, 1396990129, 1396990128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.90286302566528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:44:02.675420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/48/image_29112025_22_49_04_9603.jpg', '/home/pi/Desktop/images/29112025/22/49/image_29112025_22_49_14_9791.jpg', '/home/pi/Desktop/images/29112025/22/49/image_29112025_22_49_24_10654.jpg', '/home/pi/Desktop/images/29112025/22/49/image_29112025_22_49_34_9724.jpg', '/home/pi/Desktop/images/29112025/22/49/image_29112025_22_49_44_9821.jpg', '/home/pi/Desktop/images/29112025/22/49/image_29112025_22_49_54_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/48/image_29112025_22_49_04_9603.jpg
/home/pi/Desktop/images/29112025/22/49/image_29112025_22_49_14_9791.jpg
/home/pi/Desktop/images/29112025/22/49/image_29112025_22_49_24_10654.jpg
/home/pi/Desktop/images/29112025/22/49/image_29112025_22_49_34_9724.jpg
/home/pi/Desktop/images/29112025/22/49/image_29112025_22_49_44_9821.jpg
/home/pi/Desktop/images/29112025/22/49/image_29112025_22_49_54_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":["1396990145","1396990147","1396990152","1396990149","1396990143","1396990146"],"photo_ids_order":["1396990143","1396990145","1396990146","1396990147","1396990149","1396990152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/39a4c4ce359c87137c725ec681203fdd.jpg","text":"TemporaryFile(/tmp/multipartBody6652757255626284927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456303424,"filename":"image_29112025_22_49_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/11/29/2b77c0f3cccf1bac5fb8ff74e40ddd45.jpg","text":"TemporaryFile(/tmp/multipartBody9071657032748276318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456303424,"filename":"image_29112025_22_49_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/11/29/95278489af1acd684c636f8d1eb1482e.jpg","text":"TemporaryFile(/tmp/multipartBody7612448816470557545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456303424,"filename":"image_29112025_22_49_54_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/cccd69b85daf487c06ff7ce98f8e3521.jpg","text":"TemporaryFile(/tmp/multipartBody4438623335426946479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456303424,"filename":"image_29112025_22_49_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/11/29/dbafb9ad081b7f572c9817e3bac8e42d.jpg","text":"TemporaryFile(/tmp/multipartBody5136404219953393323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456303424,"filename":"image_29112025_22_49_04_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fcf9a8960d5121b3b1282255b3e4b229.jpg","text":"TemporaryFile(/tmp/multipartBody7401624692874390528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456303424,"filename":"image_29112025_22_49_24_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990146","file1":"1396990145","file0":"1396990143","file4":"1396990149","file5":"1396990152","file3":"1396990147"},"map_files_photo_id_array":[{"photo_id":"1396990152","filename":"file5"},{"photo_id":"1396990146","filename":"file2"},{"photo_id":"1396990149","filename":"file4"},{"photo_id":"1396990145","filename":"file1"},{"photo_id":"1396990143","filename":"file0"},{"photo_id":"1396990147","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990145":["hashtag1","hashtag2"]},{"1396990147":["hashtag1","hashtag2"]},{"1396990152":["hashtag1","hashtag2"]},{"1396990149":["hashtag1","hashtag2"]},{"1396990143":["hashtag1","hashtag2"]},{"1396990146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990145, 1396990147, 1396990152, 1396990149, 1396990143, 1396990146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26289224624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:44:41.921164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_38_2702.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_42_3620.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_45_2731.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_47_2679.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_50_2669.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_54_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/11/10/image_31102025_11_10_38_2702.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_42_3620.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_45_2731.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_47_2679.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_50_2669.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_54_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":["1396990172","1396990168","1396990165","1396990170","1396990173","1396990175"],"photo_ids_order":["1396990165","1396990168","1396990170","1396990172","1396990173","1396990175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/edd4d0bd8cad495ee50cdc965b0c47d4.jpg","text":"TemporaryFile(/tmp/multipartBody1154465585472293753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456343089,"filename":"image_31102025_11_10_47_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d7189a34e2aeeb39c0714d925fe2ede2.jpg","text":"TemporaryFile(/tmp/multipartBody7848110710828943323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456343089,"filename":"image_31102025_11_10_42_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6e656cf2b6143b2adfbd9a3e50f709f8.jpg","text":"TemporaryFile(/tmp/multipartBody7221012557565748654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456343089,"filename":"image_31102025_11_10_38_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9202007eb9415dc481798046ba9f836d.jpg","text":"TemporaryFile(/tmp/multipartBody8116282916301479667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456343089,"filename":"image_31102025_11_10_45_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/90268eba576b04757791189912d25a8b.jpg","text":"TemporaryFile(/tmp/multipartBody3885442425646639278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456343089,"filename":"image_31102025_11_10_50_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/754e27fb9a10b7fcc5390656ba61f4f6.jpg","text":"TemporaryFile(/tmp/multipartBody8970171411037637325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456343089,"filename":"image_31102025_11_10_54_3765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990170","file1":"1396990168","file0":"1396990165","file4":"1396990173","file5":"1396990175","file3":"1396990172"},"map_files_photo_id_array":[{"photo_id":"1396990175","filename":"file5"},{"photo_id":"1396990170","filename":"file2"},{"photo_id":"1396990173","filename":"file4"},{"photo_id":"1396990168","filename":"file1"},{"photo_id":"1396990165","filename":"file0"},{"photo_id":"1396990172","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396990172":["hashtag1","hashtag2"]},{"1396990168":["hashtag1","hashtag2"]},{"1396990165":["hashtag1","hashtag2"]},{"1396990170":["hashtag1","hashtag2"]},{"1396990173":["hashtag1","hashtag2"]},{"1396990175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396990172, 1396990168, 1396990165, 1396990170, 1396990173, 1396990175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65266799926758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:45:22.183972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_14_10053.jpg', '/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_24_10608.jpg', '/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_34_9737.jpg', '/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_44_9830.jpg', '/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_54_9774.jpg', '/home/pi/Desktop/images/29112025/22/50/image_29112025_22_51_04_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_14_10053.jpg
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_24_10608.jpg
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_34_9737.jpg
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_44_9830.jpg
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_54_9774.jpg
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_51_04_10649.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6136834621429443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:45:32.241931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_32_2603.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_38_2553.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_44_2552.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_47_2593.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_50_3580.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_53_2836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_32_2603.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_38_2553.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_44_2552.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_47_2593.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_50_3580.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_53_2836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990189","1396990191","1396990185","1396990188","1396990182","1396990190"],"photo_ids_order":["1396990182","1396990185","1396990188","1396990189","1396990190","1396990191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c406e7d304c84757f8afb7f18a14d75d.jpg","text":"TemporaryFile(/tmp/multipartBody4267744020315767548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456394427,"filename":"image_25112025_19_21_47_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f96dfb772612a23e4a1406a9bc58ae2.jpg","text":"TemporaryFile(/tmp/multipartBody3778172963608537547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456394427,"filename":"image_25112025_19_21_53_2836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/405c4cbf212910a838febef3737c59c1.jpg","text":"TemporaryFile(/tmp/multipartBody4461188170514860802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456394427,"filename":"image_25112025_19_21_38_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/918ab4e90a779dcd38d23b7366235a29.jpg","text":"TemporaryFile(/tmp/multipartBody1899794285947160824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456394427,"filename":"image_25112025_19_21_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/11/29/6aa1630b30992f43130058dd5517efb4.jpg","text":"TemporaryFile(/tmp/multipartBody7444569862619644967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456394427,"filename":"image_25112025_19_21_32_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/501d06b1657e2cc9d37a946aa724523a.jpg","text":"TemporaryFile(/tmp/multipartBody5996566809999036521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456394427,"filename":"image_25112025_19_21_50_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990188","file1":"1396990185","file0":"1396990182","file4":"1396990190","file5":"1396990191","file3":"1396990189"},"map_files_photo_id_array":[{"photo_id":"1396990191","filename":"file5"},{"photo_id":"1396990188","filename":"file2"},{"photo_id":"1396990190","filename":"file4"},{"photo_id":"1396990185","filename":"file1"},{"photo_id":"1396990182","filename":"file0"},{"photo_id":"1396990189","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396990189":["hashtag1","hashtag2"]},{"1396990191":["hashtag1","hashtag2"]},{"1396990185":["hashtag1","hashtag2"]},{"1396990188":["hashtag1","hashtag2"]},{"1396990182":["hashtag1","hashtag2"]},{"1396990190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396990189, 1396990191, 1396990185, 1396990188, 1396990182, 1396990190)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.95561146736145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:46:22.158241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_14_10053.jpg', '/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_24_10608.jpg', '/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_34_9737.jpg', '/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_44_9830.jpg', '/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_54_9774.jpg', '/home/pi/Desktop/images/29112025/22/50/image_29112025_22_51_04_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_14_10053.jpg
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_24_10608.jpg
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_34_9737.jpg
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_44_9830.jpg
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_50_54_9774.jpg
/home/pi/Desktop/images/29112025/22/50/image_29112025_22_51_04_10649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990205","1396990198","1396990204","1396990203","1396990193","1396990200"],"photo_ids_order":["1396990193","1396990198","1396990200","1396990203","1396990204","1396990205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/53a6e5201e7d2e4d18fa75e481bfc5ad.jpg","text":"TemporaryFile(/tmp/multipartBody299267206854570548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456442801,"filename":"image_29112025_22_51_04_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fd22b9710ec27747f7b586fbda1a476a.jpg","text":"TemporaryFile(/tmp/multipartBody3079039880430133525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456442801,"filename":"image_29112025_22_50_24_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/22058360fafe98f9ae8470c909130162.jpg","text":"TemporaryFile(/tmp/multipartBody2570085546018491130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456442801,"filename":"image_29112025_22_50_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/11/29/41fbfe34d9b95338b4fdf4f077192d3a.jpg","text":"TemporaryFile(/tmp/multipartBody5910076620041318400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456442801,"filename":"image_29112025_22_50_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/11/29/1cba752a8c29ea6614d3c2c22ae7e02c.jpg","text":"TemporaryFile(/tmp/multipartBody8732741773375375265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456442801,"filename":"image_29112025_22_50_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/11/29/47b57d2d50099140fc54ea8df6ca381a.jpg","text":"TemporaryFile(/tmp/multipartBody4990891423636437761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456442801,"filename":"image_29112025_22_50_34_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990200","file1":"1396990198","file0":"1396990193","file4":"1396990204","file5":"1396990205","file3":"1396990203"},"map_files_photo_id_array":[{"photo_id":"1396990205","filename":"file5"},{"photo_id":"1396990200","filename":"file2"},{"photo_id":"1396990204","filename":"file4"},{"photo_id":"1396990198","filename":"file1"},{"photo_id":"1396990193","filename":"file0"},{"photo_id":"1396990203","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990205":["hashtag1","hashtag2"]},{"1396990198":["hashtag1","hashtag2"]},{"1396990204":["hashtag1","hashtag2"]},{"1396990203":["hashtag1","hashtag2"]},{"1396990193":["hashtag1","hashtag2"]},{"1396990200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990205, 1396990198, 1396990204, 1396990203, 1396990193, 1396990200)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.793391704559326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:47:13.209204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_56_2592.jpg', '/home/pi/Desktop/images/25112025/19/21/image_25112025_19_22_00_3772.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_02_2951.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_05_2636.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_08_2912.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_16_7826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_21_56_2592.jpg
/home/pi/Desktop/images/25112025/19/21/image_25112025_19_22_00_3772.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_02_2951.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_05_2636.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_08_2912.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_16_7826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990220","1396990214","1396990208","1396990217","1396990211","1396990206"],"photo_ids_order":["1396990206","1396990208","1396990211","1396990214","1396990217","1396990220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f5553808501d1aecd8dd65ab161ecd3.jpg","text":"TemporaryFile(/tmp/multipartBody2081530617196074213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456495260,"filename":"image_25112025_19_22_16_7826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b6178c713796131506437bc728424313.jpg","text":"TemporaryFile(/tmp/multipartBody1978359222656656963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456495260,"filename":"image_25112025_19_22_05_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f6ae4d14ae4ca6b4f396dac00466a849.jpg","text":"TemporaryFile(/tmp/multipartBody5698618481931306663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456495260,"filename":"image_25112025_19_22_00_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0b5eaf0bac70f518558409f7c4abc8c8.jpg","text":"TemporaryFile(/tmp/multipartBody5675783986963023109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456495260,"filename":"image_25112025_19_22_08_2912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/db455d2a43e016ec24a6199ddb62ec06.jpg","text":"TemporaryFile(/tmp/multipartBody4648272963912771904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456495260,"filename":"image_25112025_19_22_02_2951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2eefa6a307ed49ef66fead91d978c78f.jpg","text":"TemporaryFile(/tmp/multipartBody6715303546478371618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456495260,"filename":"image_25112025_19_21_56_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990211","file1":"1396990208","file0":"1396990206","file4":"1396990217","file5":"1396990220","file3":"1396990214"},"map_files_photo_id_array":[{"photo_id":"1396990220","filename":"file5"},{"photo_id":"1396990211","filename":"file2"},{"photo_id":"1396990217","filename":"file4"},{"photo_id":"1396990208","filename":"file1"},{"photo_id":"1396990206","filename":"file0"},{"photo_id":"1396990214","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396990220":["hashtag1","hashtag2"]},{"1396990214":["hashtag1","hashtag2"]},{"1396990208":["hashtag1","hashtag2"]},{"1396990217":["hashtag1","hashtag2"]},{"1396990211":["hashtag1","hashtag2"]},{"1396990206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396990220, 1396990214, 1396990208, 1396990217, 1396990211, 1396990206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39303803443909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:48:06.652715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/51/image_29112025_22_51_14_9765.jpg', '/home/pi/Desktop/images/29112025/22/51/image_29112025_22_51_24_9728.jpg', '/home/pi/Desktop/images/29112025/22/51/image_29112025_22_51_34_10735.jpg', '/home/pi/Desktop/images/29112025/22/51/image_29112025_22_51_44_9701.jpg', '/home/pi/Desktop/images/29112025/22/51/image_29112025_22_51_54_9650.jpg', '/home/pi/Desktop/images/29112025/22/51/image_29112025_22_52_05_10741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/51/image_29112025_22_51_14_9765.jpg
/home/pi/Desktop/images/29112025/22/51/image_29112025_22_51_24_9728.jpg
/home/pi/Desktop/images/29112025/22/51/image_29112025_22_51_34_10735.jpg
/home/pi/Desktop/images/29112025/22/51/image_29112025_22_51_44_9701.jpg
/home/pi/Desktop/images/29112025/22/51/image_29112025_22_51_54_9650.jpg
/home/pi/Desktop/images/29112025/22/51/image_29112025_22_52_05_10741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990225","1396990233","1396990236","1396990230","1396990224","1396990227"],"photo_ids_order":["1396990224","1396990225","1396990227","1396990230","1396990233","1396990236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8e6bf2df368767f25c769e42a6aa868d.jpg","text":"TemporaryFile(/tmp/multipartBody2159791226589416530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456550116,"filename":"image_29112025_22_51_24_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/5a943cfe21e4c72122b628b3e75ae349.jpg","text":"TemporaryFile(/tmp/multipartBody400236218912685875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456550116,"filename":"image_29112025_22_51_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/11/29/64e57f38a43b932649d1d08db2599fb1.jpg","text":"TemporaryFile(/tmp/multipartBody4633598748754938009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456550116,"filename":"image_29112025_22_52_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/11/29/e6c8abc0f2df7a38d790ae24247337d8.jpg","text":"TemporaryFile(/tmp/multipartBody46400339186551075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456550116,"filename":"image_29112025_22_51_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/11/29/fb5a428465fec08129e8121de77d048d.jpg","text":"TemporaryFile(/tmp/multipartBody7835551002895991229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456550116,"filename":"image_29112025_22_51_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/11/29/0ccc5d22db46ffdc993e9927b36a73d4.jpg","text":"TemporaryFile(/tmp/multipartBody4466275565172848373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456550116,"filename":"image_29112025_22_51_34_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990227","file1":"1396990225","file0":"1396990224","file4":"1396990233","file5":"1396990236","file3":"1396990230"},"map_files_photo_id_array":[{"photo_id":"1396990236","filename":"file5"},{"photo_id":"1396990227","filename":"file2"},{"photo_id":"1396990233","filename":"file4"},{"photo_id":"1396990225","filename":"file1"},{"photo_id":"1396990224","filename":"file0"},{"photo_id":"1396990230","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990225":["hashtag1","hashtag2"]},{"1396990233":["hashtag1","hashtag2"]},{"1396990236":["hashtag1","hashtag2"]},{"1396990230":["hashtag1","hashtag2"]},{"1396990224":["hashtag1","hashtag2"]},{"1396990227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990225, 1396990233, 1396990236, 1396990230, 1396990224, 1396990227)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.34600567817688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:49:03.599223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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
 val : 1 : upload photos already in processing! 
2025-11-29 23:49:12.734499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_18_1646.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_19_1573.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_21_1758.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_26_2579.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_29_2713.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_32_3793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_18_1646.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_19_1573.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_21_1758.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_26_2579.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_29_2713.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_32_3793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990249","1396990258","1396990252","1396990246","1396990254","1396990256"],"photo_ids_order":["1396990246","1396990249","1396990252","1396990254","1396990256","1396990258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7761b1071ffaaa7ef061d93ad23dbef1.jpg","text":"TemporaryFile(/tmp/multipartBody4706555002216561640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456622729,"filename":"image_25112025_19_22_19_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/28c3009cea8cb59386269ee66f71912a.jpg","text":"TemporaryFile(/tmp/multipartBody7020599005398593675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456622729,"filename":"image_25112025_19_22_32_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7ff36761c9ac30838fb3fbae876a317f.jpg","text":"TemporaryFile(/tmp/multipartBody3709341728805258834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456622729,"filename":"image_25112025_19_22_21_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/52702ab7598fbf2fbde7a2b9bdc8c880.jpg","text":"TemporaryFile(/tmp/multipartBody5022424102886457348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456622729,"filename":"image_25112025_19_22_18_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3fdca83c9a56f47bbe740307b57ad372.jpg","text":"TemporaryFile(/tmp/multipartBody3722343613316701919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456622729,"filename":"image_25112025_19_22_26_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/550d141bb74acca63a8adc4f1e9311e4.jpg","text":"TemporaryFile(/tmp/multipartBody7694091005693498267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456622729,"filename":"image_25112025_19_22_29_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990252","file1":"1396990249","file0":"1396990246","file4":"1396990256","file5":"1396990258","file3":"1396990254"},"map_files_photo_id_array":[{"photo_id":"1396990258","filename":"file5"},{"photo_id":"1396990252","filename":"file2"},{"photo_id":"1396990256","filename":"file4"},{"photo_id":"1396990249","filename":"file1"},{"photo_id":"1396990246","filename":"file0"},{"photo_id":"1396990254","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396990249":["hashtag1","hashtag2"]},{"1396990258":["hashtag1","hashtag2"]},{"1396990252":["hashtag1","hashtag2"]},{"1396990246":["hashtag1","hashtag2"]},{"1396990254":["hashtag1","hashtag2"]},{"1396990256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396990249, 1396990258, 1396990252, 1396990246, 1396990254, 1396990256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.69550013542175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:50:05.425004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 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-11-29 23:50:12.678686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_35_2720.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_38_2814.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_41_2638.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_46_5063.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_47_1645.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_50_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_35_2720.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_38_2814.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_41_2638.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_46_5063.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_47_1645.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_50_2548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990265","1396990259","1396990268","1396990261","1396990270","1396990263"],"photo_ids_order":["1396990259","1396990261","1396990263","1396990265","1396990268","1396990270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d0116228bf2d19ad6e0ed86553aa46e6.jpg","text":"TemporaryFile(/tmp/multipartBody4859470468097170036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456679236,"filename":"image_25112025_19_22_46_5063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f7c216c4eaa47684002f11a711ab8d53.jpg","text":"TemporaryFile(/tmp/multipartBody1898076931153587030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456679236,"filename":"image_25112025_19_22_35_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/480b74d3b36d05748b8a8cf10639f11c.jpg","text":"TemporaryFile(/tmp/multipartBody8191079450235469630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456679236,"filename":"image_25112025_19_22_47_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0962f4ee322787c2f326db27fb95e4f8.jpg","text":"TemporaryFile(/tmp/multipartBody2943377017991409697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456679236,"filename":"image_25112025_19_22_38_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/dee1f372cfd2ba21f92ad1127af4a0ae.jpg","text":"TemporaryFile(/tmp/multipartBody7718944981932228824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456679236,"filename":"image_25112025_19_22_50_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b50057e7bfc4dcd90929c87d482cb018.jpg","text":"TemporaryFile(/tmp/multipartBody7342880852498338771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456679236,"filename":"image_25112025_19_22_41_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990263","file1":"1396990261","file0":"1396990259","file4":"1396990268","file5":"1396990270","file3":"1396990265"},"map_files_photo_id_array":[{"photo_id":"1396990270","filename":"file5"},{"photo_id":"1396990263","filename":"file2"},{"photo_id":"1396990268","filename":"file4"},{"photo_id":"1396990261","filename":"file1"},{"photo_id":"1396990259","filename":"file0"},{"photo_id":"1396990265","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396990265":["hashtag1","hashtag2"]},{"1396990259":["hashtag1","hashtag2"]},{"1396990268":["hashtag1","hashtag2"]},{"1396990261":["hashtag1","hashtag2"]},{"1396990270":["hashtag1","hashtag2"]},{"1396990263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396990265, 1396990259, 1396990268, 1396990261, 1396990270, 1396990263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.357497453689575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:51:02.746637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/52/image_29112025_22_52_14_9745.jpg', '/home/pi/Desktop/images/29112025/22/52/image_29112025_22_52_24_9660.jpg', '/home/pi/Desktop/images/29112025/22/52/image_29112025_22_52_34_9653.jpg', '/home/pi/Desktop/images/29112025/22/52/image_29112025_22_52_44_10599.jpg', '/home/pi/Desktop/images/29112025/22/52/image_29112025_22_52_54_9514.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_04_10221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/52/image_29112025_22_52_14_9745.jpg
/home/pi/Desktop/images/29112025/22/52/image_29112025_22_52_24_9660.jpg
/home/pi/Desktop/images/29112025/22/52/image_29112025_22_52_34_9653.jpg
/home/pi/Desktop/images/29112025/22/52/image_29112025_22_52_44_10599.jpg
/home/pi/Desktop/images/29112025/22/52/image_29112025_22_52_54_9514.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_04_10221.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990273","1396990276","1396990278","1396990275","1396990280","1396990274"],"photo_ids_order":["1396990273","1396990274","1396990275","1396990276","1396990278","1396990280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/81a3824558f718e804606947597f5f2b.jpg","text":"TemporaryFile(/tmp/multipartBody2684439889123730958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456723488,"filename":"image_29112025_22_52_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/11/29/5323a43f896e2f168e12bf5662471f19.jpg","text":"TemporaryFile(/tmp/multipartBody1548547579268959438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456723488,"filename":"image_29112025_22_52_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/11/29/d569f7a35cd661ae5c04887e48a64875.jpg","text":"TemporaryFile(/tmp/multipartBody2792377580366183029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456723488,"filename":"image_29112025_22_52_54_9514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7921bb278bb6f99ccb12f287cb412236.jpg","text":"TemporaryFile(/tmp/multipartBody5330164860030843065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456723488,"filename":"image_29112025_22_52_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/11/29/0d74e45ac2499abe62dd4c5078b14d3f.jpg","text":"TemporaryFile(/tmp/multipartBody5969760517002857545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456723488,"filename":"image_29112025_22_53_04_10221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2915cfde147b413ce20caa1449bc8e49.jpg","text":"TemporaryFile(/tmp/multipartBody3252567981170046682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456723488,"filename":"image_29112025_22_52_24_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990275","file1":"1396990274","file0":"1396990273","file4":"1396990278","file5":"1396990280","file3":"1396990276"},"map_files_photo_id_array":[{"photo_id":"1396990280","filename":"file5"},{"photo_id":"1396990275","filename":"file2"},{"photo_id":"1396990278","filename":"file4"},{"photo_id":"1396990274","filename":"file1"},{"photo_id":"1396990273","filename":"file0"},{"photo_id":"1396990276","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990273":["hashtag1","hashtag2"]},{"1396990276":["hashtag1","hashtag2"]},{"1396990278":["hashtag1","hashtag2"]},{"1396990275":["hashtag1","hashtag2"]},{"1396990280":["hashtag1","hashtag2"]},{"1396990274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990273, 1396990276, 1396990278, 1396990275, 1396990280, 1396990274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07784152030945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:51:41.985578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_56_2717.jpg', '/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_59_2827.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_02_2732.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_06_3868.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_09_2692.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_11_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/11/10/image_31102025_11_10_56_2717.jpg
/home/pi/Desktop/images/31102025/11/10/image_31102025_11_10_59_2827.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_02_2732.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_06_3868.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_09_2692.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_11_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":["1396990297","1396990300","1396990299","1396990290","1396990293","1396990295"],"photo_ids_order":["1396990290","1396990293","1396990295","1396990297","1396990299","1396990300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/fc7b26c1f8377055c9e10e73f7f2ac6a.jpg","text":"TemporaryFile(/tmp/multipartBody8186054400518982635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456763162,"filename":"image_31102025_11_11_06_3868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/3f537243db743a3ef03a6a50932d6171.jpg","text":"TemporaryFile(/tmp/multipartBody7454475697214362937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456763162,"filename":"image_31102025_11_11_11_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/123842f53c91de8ee4efb616005b504d.jpg","text":"TemporaryFile(/tmp/multipartBody2399787083421695882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456763162,"filename":"image_31102025_11_11_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/11/29/9888496588f545991bb79fdd1fb77bdd.jpg","text":"TemporaryFile(/tmp/multipartBody3313890838302700424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456763162,"filename":"image_31102025_11_10_56_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/722565dbf68ef7da8179e25e8e3173e2.jpg","text":"TemporaryFile(/tmp/multipartBody5285616880373533176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456763162,"filename":"image_31102025_11_10_59_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b60064354946375e29f3321f79620da7.jpg","text":"TemporaryFile(/tmp/multipartBody2937086809595995160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456763162,"filename":"image_31102025_11_11_02_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990295","file1":"1396990293","file0":"1396990290","file4":"1396990299","file5":"1396990300","file3":"1396990297"},"map_files_photo_id_array":[{"photo_id":"1396990300","filename":"file5"},{"photo_id":"1396990295","filename":"file2"},{"photo_id":"1396990299","filename":"file4"},{"photo_id":"1396990293","filename":"file1"},{"photo_id":"1396990290","filename":"file0"},{"photo_id":"1396990297","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396990297":["hashtag1","hashtag2"]},{"1396990300":["hashtag1","hashtag2"]},{"1396990299":["hashtag1","hashtag2"]},{"1396990290":["hashtag1","hashtag2"]},{"1396990293":["hashtag1","hashtag2"]},{"1396990295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396990297, 1396990300, 1396990299, 1396990290, 1396990293, 1396990295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3037211894989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:52:22.221206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_14_9785.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_24_10577.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_34_9729.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_44_9628.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_54_10611.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_54_04_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_14_9785.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_24_10577.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_34_9729.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_44_9628.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_54_10611.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_54_04_9690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5800235271453857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:52:32.197607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_53_2677.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_56_3656.jpg', '/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_59_2638.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_05_2557.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_08_2600.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_11_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_53_2677.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_56_3656.jpg
/home/pi/Desktop/images/25112025/19/22/image_25112025_19_22_59_2638.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_05_2557.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_08_2600.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_11_3583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990316","1396990321","1396990318","1396990320","1396990314","1396990311"],"photo_ids_order":["1396990311","1396990314","1396990316","1396990318","1396990320","1396990321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/e0d4f6e2568a97dcd2fcc664b298b88c.jpg","text":"TemporaryFile(/tmp/multipartBody4377059921660067382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456814399,"filename":"image_25112025_19_22_59_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/9141ec935e3bd5ab75449d7d9259b71b.jpg","text":"TemporaryFile(/tmp/multipartBody7536731368223389641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456814399,"filename":"image_25112025_19_23_11_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/398dca28b08b62fa8dcbd7d6b5ececb8.jpg","text":"TemporaryFile(/tmp/multipartBody2659394536004742488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456814399,"filename":"image_25112025_19_23_05_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/d1de4d0fef31200db58481747629a2ad.jpg","text":"TemporaryFile(/tmp/multipartBody274522128099750751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456814399,"filename":"image_25112025_19_23_08_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/32fea1b3001142bf38dfcef1bd83f26b.jpg","text":"TemporaryFile(/tmp/multipartBody4872337427391436516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456814399,"filename":"image_25112025_19_22_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/11/29/51f8eb270870c76361bbd73bc6540117.jpg","text":"TemporaryFile(/tmp/multipartBody2293748980130094078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456814399,"filename":"image_25112025_19_22_53_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990316","file1":"1396990314","file0":"1396990311","file4":"1396990320","file5":"1396990321","file3":"1396990318"},"map_files_photo_id_array":[{"photo_id":"1396990321","filename":"file5"},{"photo_id":"1396990316","filename":"file2"},{"photo_id":"1396990320","filename":"file4"},{"photo_id":"1396990314","filename":"file1"},{"photo_id":"1396990311","filename":"file0"},{"photo_id":"1396990318","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396990316":["hashtag1","hashtag2"]},{"1396990321":["hashtag1","hashtag2"]},{"1396990318":["hashtag1","hashtag2"]},{"1396990320":["hashtag1","hashtag2"]},{"1396990314":["hashtag1","hashtag2"]},{"1396990311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396990316, 1396990321, 1396990318, 1396990320, 1396990314, 1396990311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35643792152405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:53:12.427407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_14_2580.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_17_3582.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_26_3705.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_35_8389.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_38_1568.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_41_1817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_14_2580.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_17_3582.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_26_3705.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_35_8389.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_38_1568.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_41_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":["1396990322","1396990330","1396990324","1396990333","1396990327","1396990335"],"photo_ids_order":["1396990322","1396990324","1396990327","1396990330","1396990333","1396990335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f8d1a52336abd927c45351147cdae5cb.jpg","text":"TemporaryFile(/tmp/multipartBody5700925761955430422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456854502,"filename":"image_25112025_19_23_14_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/7a060d7b67ddb3b0656953840f1dd603.jpg","text":"TemporaryFile(/tmp/multipartBody6617708557755346261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456854502,"filename":"image_25112025_19_23_35_8389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/779cd65b2f7b82ec6c129cb767701712.jpg","text":"TemporaryFile(/tmp/multipartBody901441252852802780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456854502,"filename":"image_25112025_19_23_17_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c163a0d8109e9e903aba23c01bf1b383.jpg","text":"TemporaryFile(/tmp/multipartBody1322439272101427851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456854502,"filename":"image_25112025_19_23_38_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/25d2a003e88de8969b349687ff9023e8.jpg","text":"TemporaryFile(/tmp/multipartBody138197030025459008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456854502,"filename":"image_25112025_19_23_26_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/76f6c8dcf01f6a3ddf23f13908c46bf1.jpg","text":"TemporaryFile(/tmp/multipartBody2213663944697681410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456854502,"filename":"image_25112025_19_23_41_1817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990327","file1":"1396990324","file0":"1396990322","file4":"1396990333","file5":"1396990335","file3":"1396990330"},"map_files_photo_id_array":[{"photo_id":"1396990335","filename":"file5"},{"photo_id":"1396990327","filename":"file2"},{"photo_id":"1396990333","filename":"file4"},{"photo_id":"1396990324","filename":"file1"},{"photo_id":"1396990322","filename":"file0"},{"photo_id":"1396990330","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396990322":["hashtag1","hashtag2"]},{"1396990330":["hashtag1","hashtag2"]},{"1396990324":["hashtag1","hashtag2"]},{"1396990333":["hashtag1","hashtag2"]},{"1396990327":["hashtag1","hashtag2"]},{"1396990335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396990322, 1396990330, 1396990324, 1396990333, 1396990327, 1396990335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.598517656326294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:54:03.404681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_14_9785.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_24_10577.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_34_9729.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_44_9628.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_54_10611.jpg', '/home/pi/Desktop/images/29112025/22/53/image_29112025_22_54_04_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_14_9785.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_24_10577.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_34_9729.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_44_9628.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_53_54_10611.jpg
/home/pi/Desktop/images/29112025/22/53/image_29112025_22_54_04_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":["1396990352","1396990349","1396990348","1396990350","1396990347","1396990355"],"photo_ids_order":["1396990347","1396990348","1396990349","1396990350","1396990352","1396990355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/92ba50bcd459fdea7521688874c3ad2a.jpg","text":"TemporaryFile(/tmp/multipartBody4748230793102628756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456904201,"filename":"image_29112025_22_53_54_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/a5a8197e0ded24ed93d0ef2db57825a9.jpg","text":"TemporaryFile(/tmp/multipartBody4400525219107469699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456904201,"filename":"image_29112025_22_53_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/11/29/b554cb6d699f34a4ddb9ac12fd5fef63.jpg","text":"TemporaryFile(/tmp/multipartBody4525896796684310065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456904201,"filename":"image_29112025_22_53_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/11/29/79db4441990fb4ff12711dc0e1ba89d8.jpg","text":"TemporaryFile(/tmp/multipartBody8618441129045323608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456904201,"filename":"image_29112025_22_53_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/11/29/8fe4eedda5338a98064f35ea8045afef.jpg","text":"TemporaryFile(/tmp/multipartBody2575132708644263322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456904201,"filename":"image_29112025_22_53_14_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/244ef104678a6f5a5c7fe87a091881a5.jpg","text":"TemporaryFile(/tmp/multipartBody6311755594775279447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456904201,"filename":"image_29112025_22_54_04_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990349","file1":"1396990348","file0":"1396990347","file4":"1396990352","file5":"1396990355","file3":"1396990350"},"map_files_photo_id_array":[{"photo_id":"1396990355","filename":"file5"},{"photo_id":"1396990349","filename":"file2"},{"photo_id":"1396990352","filename":"file4"},{"photo_id":"1396990348","filename":"file1"},{"photo_id":"1396990347","filename":"file0"},{"photo_id":"1396990350","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990352":["hashtag1","hashtag2"]},{"1396990349":["hashtag1","hashtag2"]},{"1396990348":["hashtag1","hashtag2"]},{"1396990350":["hashtag1","hashtag2"]},{"1396990347":["hashtag1","hashtag2"]},{"1396990355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990352, 1396990349, 1396990348, 1396990350, 1396990347, 1396990355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33203339576721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 30 --only_old 1
2025-11-29 23:54:42.751796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
  port_id : 28077004
  datou_current_id : 3980708
in upload_from_sqlite, uploading in 28077004
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_14_2729.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_18_3606.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_20_2668.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_23_2812.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_27_3534.jpg', '/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_29_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/11/11/image_31102025_11_11_14_2729.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_18_3606.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_20_2668.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_23_2812.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_27_3534.jpg
/home/pi/Desktop/images/31102025/11/11/image_31102025_11_11_29_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":["1396990364","1396990367","1396990366","1396990363","1396990365","1396990361"],"photo_ids_order":["1396990361","1396990363","1396990364","1396990365","1396990366","1396990367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/caeb04260d7398cb5453c65ba8a70655.jpg","text":"TemporaryFile(/tmp/multipartBody505929321349089471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456943920,"filename":"image_31102025_11_11_20_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/97a37a7dcecfb05875fcaa70e8b1dc88.jpg","text":"TemporaryFile(/tmp/multipartBody4419326698810832586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456943920,"filename":"image_31102025_11_11_29_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/472e34ec48b5605db7e5a0dbb8724a4d.jpg","text":"TemporaryFile(/tmp/multipartBody1493190736633713340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456943920,"filename":"image_31102025_11_11_27_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/0f44726eae48eea9f3be30cd9b4ae34d.jpg","text":"TemporaryFile(/tmp/multipartBody5864762694241393504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456943920,"filename":"image_31102025_11_11_18_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/982b6932fd2bd3d024dd064a0f915bdd.jpg","text":"TemporaryFile(/tmp/multipartBody116866537139834665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456943920,"filename":"image_31102025_11_11_23_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/8cd5f317e10260484223379f5203933a.jpg","text":"TemporaryFile(/tmp/multipartBody186971510665631149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456943920,"filename":"image_31102025_11_11_14_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990364","file1":"1396990363","file0":"1396990361","file4":"1396990366","file5":"1396990367","file3":"1396990365"},"map_files_photo_id_array":[{"photo_id":"1396990367","filename":"file5"},{"photo_id":"1396990364","filename":"file2"},{"photo_id":"1396990366","filename":"file4"},{"photo_id":"1396990363","filename":"file1"},{"photo_id":"1396990361","filename":"file0"},{"photo_id":"1396990365","filename":"file3"}],"portfolio_id":28077004,"hashtag_by_photo_ids":[{"1396990364":["hashtag1","hashtag2"]},{"1396990367":["hashtag1","hashtag2"]},{"1396990366":["hashtag1","hashtag2"]},{"1396990363":["hashtag1","hashtag2"]},{"1396990365":["hashtag1","hashtag2"]},{"1396990361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28077004 used, photo_id : ArrayBuffer(1396990364, 1396990367, 1396990366, 1396990363, 1396990365, 1396990361)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.83991575241089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-11-29 23:55:31.872954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251119 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251120 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251121 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251122 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251123 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251124 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251125 ORDER BY id_local ASC LIMIT 6;
  port_id : 28852101
  datou_current_id : 4107300
in upload_from_sqlite, uploading in 28852101
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_44_2695.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_47_2736.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_50_3542.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_53_2406.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_56_3666.jpg', '/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_59_2164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4107300&datou=0
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_44_2695.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_47_2736.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_50_3542.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_53_2406.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_56_3666.jpg
/home/pi/Desktop/images/25112025/19/23/image_25112025_19_23_59_2164.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1396990379","1396990384","1396990383","1396990380","1396990382","1396990376"],"photo_ids_order":["1396990376","1396990379","1396990380","1396990382","1396990383","1396990384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/f1d12ec59544c7445cb66ef816def0bf.jpg","text":"TemporaryFile(/tmp/multipartBody2981294398692314871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456993950,"filename":"image_25112025_19_23_47_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/43c73a50fd103f7f7eeaa70df2abf37c.jpg","text":"TemporaryFile(/tmp/multipartBody6387605349222332947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456993950,"filename":"image_25112025_19_23_59_2164.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29bb4461325683769582c65f8fc1db72.jpg","text":"TemporaryFile(/tmp/multipartBody9096568571935519355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456993950,"filename":"image_25112025_19_23_56_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/44660f90be2129a1f15cf33a63773960.jpg","text":"TemporaryFile(/tmp/multipartBody5238533887026061952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456993950,"filename":"image_25112025_19_23_50_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c1851bed7733f5d1b8aed30db2bde473.jpg","text":"TemporaryFile(/tmp/multipartBody6756888101468917824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456993950,"filename":"image_25112025_19_23_53_2406.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/2750e4b7c54f2a33d2360c45d384bc54.jpg","text":"TemporaryFile(/tmp/multipartBody1060505814751641193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764456993950,"filename":"image_25112025_19_23_44_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990380","file1":"1396990379","file0":"1396990376","file4":"1396990383","file5":"1396990384","file3":"1396990382"},"map_files_photo_id_array":[{"photo_id":"1396990384","filename":"file5"},{"photo_id":"1396990380","filename":"file2"},{"photo_id":"1396990383","filename":"file4"},{"photo_id":"1396990379","filename":"file1"},{"photo_id":"1396990376","filename":"file0"},{"photo_id":"1396990382","filename":"file3"}],"portfolio_id":28852101,"hashtag_by_photo_ids":[{"1396990379":["hashtag1","hashtag2"]},{"1396990384":["hashtag1","hashtag2"]},{"1396990383":["hashtag1","hashtag2"]},{"1396990380":["hashtag1","hashtag2"]},{"1396990382":["hashtag1","hashtag2"]},{"1396990376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28852101 used, photo_id : ArrayBuffer(1396990379, 1396990384, 1396990383, 1396990380, 1396990382, 1396990376)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.67989730834961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-29 23:56:22.231725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/54/image_29112025_22_54_14_9713.jpg', '/home/pi/Desktop/images/29112025/22/54/image_29112025_22_54_24_10467.jpg', '/home/pi/Desktop/images/29112025/22/54/image_29112025_22_54_34_9680.jpg', '/home/pi/Desktop/images/29112025/22/54/image_29112025_22_54_44_9912.jpg', '/home/pi/Desktop/images/29112025/22/54/image_29112025_22_54_54_10695.jpg', '/home/pi/Desktop/images/29112025/22/55/image_29112025_22_55_14_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/54/image_29112025_22_54_14_9713.jpg
/home/pi/Desktop/images/29112025/22/54/image_29112025_22_54_24_10467.jpg
/home/pi/Desktop/images/29112025/22/54/image_29112025_22_54_34_9680.jpg
/home/pi/Desktop/images/29112025/22/54/image_29112025_22_54_44_9912.jpg
/home/pi/Desktop/images/29112025/22/54/image_29112025_22_54_54_10695.jpg
/home/pi/Desktop/images/29112025/22/55/image_29112025_22_55_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":["1396990400","1396990393","1396990387","1396990396","1396990389","1396990398"],"photo_ids_order":["1396990387","1396990389","1396990393","1396990396","1396990398","1396990400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/38e627dc31c3d55908cd83d3caef26e2.jpg","text":"TemporaryFile(/tmp/multipartBody2018594323923978314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457042879,"filename":"image_29112025_22_55_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/c6c3a83a556e1246649adb19d95a8021.jpg","text":"TemporaryFile(/tmp/multipartBody6460382762650991144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457042879,"filename":"image_29112025_22_54_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/ca88ab545fbfd5ef76f857939faa89ff.jpg","text":"TemporaryFile(/tmp/multipartBody8058840301290936937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457042879,"filename":"image_29112025_22_54_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/11/29/ff1885efe919f67c4edb1986c251aca4.jpg","text":"TemporaryFile(/tmp/multipartBody8138196212082434961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457042879,"filename":"image_29112025_22_54_44_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/29654e3b8a701c9b021c169c67cd5907.jpg","text":"TemporaryFile(/tmp/multipartBody8942458413972059797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457042879,"filename":"image_29112025_22_54_24_10467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/bdb5c0b805e2c2c8acb047bc304d198c.jpg","text":"TemporaryFile(/tmp/multipartBody353510807469228138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457042879,"filename":"image_29112025_22_54_54_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990393","file1":"1396990389","file0":"1396990387","file4":"1396990398","file5":"1396990400","file3":"1396990396"},"map_files_photo_id_array":[{"photo_id":"1396990400","filename":"file5"},{"photo_id":"1396990393","filename":"file2"},{"photo_id":"1396990398","filename":"file4"},{"photo_id":"1396990389","filename":"file1"},{"photo_id":"1396990387","filename":"file0"},{"photo_id":"1396990396","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990400":["hashtag1","hashtag2"]},{"1396990393":["hashtag1","hashtag2"]},{"1396990387":["hashtag1","hashtag2"]},{"1396990396":["hashtag1","hashtag2"]},{"1396990389":["hashtag1","hashtag2"]},{"1396990398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990400, 1396990393, 1396990387, 1396990396, 1396990389, 1396990398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39869475364685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-29 23:57:03.048586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251129 ORDER BY id_local ASC LIMIT 6;
  port_id : 29016624
  datou_current_id : 4139382
in upload_from_sqlite, uploading in 29016624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/29112025/22/55/image_29112025_22_55_25_10716.jpg', '/home/pi/Desktop/images/29112025/22/55/image_29112025_22_55_34_9597.jpg', '/home/pi/Desktop/images/29112025/22/55/image_29112025_22_55_44_9676.jpg', '/home/pi/Desktop/images/29112025/22/55/image_29112025_22_55_55_10716.jpg', '/home/pi/Desktop/images/29112025/22/55/image_29112025_22_56_05_9760.jpg', '/home/pi/Desktop/images/29112025/22/56/image_29112025_22_56_14_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4139382&datou=0
/home/pi/Desktop/images/29112025/22/55/image_29112025_22_55_25_10716.jpg
/home/pi/Desktop/images/29112025/22/55/image_29112025_22_55_34_9597.jpg
/home/pi/Desktop/images/29112025/22/55/image_29112025_22_55_44_9676.jpg
/home/pi/Desktop/images/29112025/22/55/image_29112025_22_55_55_10716.jpg
/home/pi/Desktop/images/29112025/22/55/image_29112025_22_56_05_9760.jpg
/home/pi/Desktop/images/29112025/22/56/image_29112025_22_56_14_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":["1396990412","1396990403","1396990405","1396990407","1396990410","1396990404"],"photo_ids_order":["1396990403","1396990404","1396990405","1396990407","1396990410","1396990412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/b7a151d04950044a4fd1977018acc731.jpg","text":"TemporaryFile(/tmp/multipartBody2563500320255229670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457086538,"filename":"image_29112025_22_56_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/11/29/0b983d66a44dbb17706812b59a44c717.jpg","text":"TemporaryFile(/tmp/multipartBody9054456501473797241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457086538,"filename":"image_29112025_22_55_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/6283c82e4d9a9702f416ace206e770f9.jpg","text":"TemporaryFile(/tmp/multipartBody2934424656990847356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457086538,"filename":"image_29112025_22_55_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/090bee92ec253040c74a1dcbfbbfb111.jpg","text":"TemporaryFile(/tmp/multipartBody1663040330946088734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457086538,"filename":"image_29112025_22_55_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/11/29/36c6748d760e4048aa595a83dd3c60f2.jpg","text":"TemporaryFile(/tmp/multipartBody4461813841913729130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457086538,"filename":"image_29112025_22_56_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/29/504f1b16a7ae1df2d95abee09d338a28.jpg","text":"TemporaryFile(/tmp/multipartBody7524218419971570097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1764457086538,"filename":"image_29112025_22_55_34_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1396990405","file1":"1396990404","file0":"1396990403","file4":"1396990410","file5":"1396990412","file3":"1396990407"},"map_files_photo_id_array":[{"photo_id":"1396990412","filename":"file5"},{"photo_id":"1396990405","filename":"file2"},{"photo_id":"1396990410","filename":"file4"},{"photo_id":"1396990404","filename":"file1"},{"photo_id":"1396990403","filename":"file0"},{"photo_id":"1396990407","filename":"file3"}],"portfolio_id":29016624,"hashtag_by_photo_ids":[{"1396990412":["hashtag1","hashtag2"]},{"1396990403":["hashtag1","hashtag2"]},{"1396990405":["hashtag1","hashtag2"]},{"1396990407":["hashtag1","hashtag2"]},{"1396990410":["hashtag1","hashtag2"]},{"1396990404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29016624 used, photo_id : ArrayBuffer(1396990412, 1396990403, 1396990405, 1396990407, 1396990410, 1396990404)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.49665069580078 secondes ---
